For the complete documentation index, see llms.txt. This page is also available as Markdown.

Security Admin

The Security Admin is the address stored as securityAdmin in Maple Globals, appointed by the Governor with setSecurityAdmin. It has three jobs: pausing, upgrading instances, and containing incidents on the Allocation Strategy. It has no say over fees or impairments. On caps and capital movement, it acts only through the Allocation Strategy incident controls below.

Globals

Shared with the Governor:

  • setProtocolPause

  • setContractPause

  • setFunctionUnpause

See Emergency Protocol Pause for how the three switches combine.

Upgrades

The Security Admin calls upgrade(version, arguments) directly on an instance. The factory then checks that the Governor has enabled the upgrade path to that version. None of these calls needs a scheduled call in Globals.

Contract
Other callers

Pool Manager

none

Strategy Manager

none

Aave V3 Strategy

none

Sky Strategy

none

Allocation Strategy

none

Open Term Loan

none

Open Term Loan Manager

Pool Delegate, with a scheduled call

Withdrawal Manager

Pool Delegate, with a scheduled call

See Timelocked Functions for the Pool Delegate path.

Allocation Strategy incident controls

Shared with the Strategy Delegate, on each Allocation Strategy:

  • cancelYield(assets, recipient) claws back yield a Managed Wallet reported but has not yet streamed to the Pool. Passing type(uint256).max cancels all unrealized yield. The recipient must be a registered MAPLE_MANAGED_WALLET.

  • setPermissions(accounts, canDeployAssets, canReturnAssets, canRealizeYield) can revoke every flag on any address. Granting any flag requires the address to be a registered MAPLE_MANAGED_WALLET.

  • setDeploymentCaps(accounts, amounts) can set a cap of zero on any address. A non-zero cap requires a registered MAPLE_MANAGED_WALLET.

Apart from these three functions and upgrade(), the Security Admin cannot call any strategy function, including impair and recognizeLoss. See Managed Wallets.

Last updated

Was this helpful?