Risk Policy Change
Change collateral policy, caps, ceilings, fees, safe mode, or signed quote controls.
Scope
Use for RiskConfig changes that affect mint/redeem availability, collateral caps,
deviation policy, fees, or signed quote mode. For registered-issuer markets,
the shared RollingCapManager stores the stablecoin-wide mint and redeem caps.
Inputs
- target
RiskConfig. - target collateral.
- current
CollateralConfig. - current
GlobalConfigif changing global posture. - for a registered-issuer global cap change, the shared
RollingCapManager, stablecoin address, direction key, and current storedCapConfig. - expected effect on mint, redeem, and signed quote settlement.
Procedure
- Read current config from chain.
- Compare against deployment manifest and operator notes.
- Prepare the smallest config diff.
- Simulate where tooling allows.
- Submit from the authorized admin.
- Read the config back from chain.
- Run the narrowest quote or swap canary that exercises the changed policy.
For registered-issuer global caps, edit RollingCapManager.setCapConfig on the
stablecoin-scoped mint or redeem key. Read the existing config first and preserve
its transaction and block caps when changing the daily cap. A zero daily cap
disables only the daily limit; nonzero transaction and block caps remain active.
Changes to RiskConfig.globalMintCapDay or globalRedeemCapDay do not change
the registered-issuer global limit. An existing shared manager keeps its stored
caps when another market is deployed for the same stablecoin.
Verification
Watch for:
SignedQuotePolicyViolation.- cap reverts.
- oracle mode changes.
- unexpected mint/redeem disablement.
Rollback
Restore previous numeric values while retaining the current on-chain safeMode.
setGlobalConfig rejects a supplied mode that differs from storage. To change
mode deliberately, an admin calls setSafeMode(expectedMode, nextMode) separately
and verifies the confirmed mode. Refresh and review any mode mismatch before retrying.
If user safety is uncertain, disable
signed quote mode for the affected collateral before tuning risk upward.