Strategy Delegate
A Strategy Delegate owns exactly one Strategy Manager and the Underlying Strategy behind it. Globals records the binding in strategyDelegates, the Strategy Manager stores the address as strategyDelegate, and the strategy reads it live through strategyManager.strategyDelegate(). The role is trusted in the same way a Pool Delegate is. See Strategy Manager.
Lifecycle
The Governor or Operational Admin approves the address with
setValidStrategyDelegate.The Strategy Delegate calls
MapleStrategyDeployer.deploy(), which requiresisStrategyDelegate(msg.sender)and pulls the bootstrap deposit from the caller.The Governor or Operational Admin calls
activateStrategyManager. Funding is rejected until then.To hand over, the Operational Admin calls
setPendingStrategyDelegateand the new delegate callsacceptStrategyDelegate. The outgoing delegate does not sign anything.
A Strategy Delegate cannot be revoked while it still owns a Strategy Manager.
Strategy Manager
The Strategy Delegate is always an Operator, even while the Underlying Strategy reports impaired assets. See The impairment block.
fundStrategyManager(Operator)requestRedeem,cancelRedemption(Operator, or the Pool Delegate of the named Pool Manager)processRedemption(Operator or Operational Admin)setPoolManagerCap,setStrategyLiquidityCap(shared with the Operational Admin)acceptStrategyDelegate(pending Strategy Delegate only)multicall(anyone, each inner call runs its own checks against the original caller)
The Strategy Delegate cannot call upgrade, setPendingStrategyDelegate or setActive, and cannot set strategyCapOf on a Pool Manager. That cap belongs to the Pool Delegate.
Underlying Strategies
Alone:
setStrategyDelegateFeeRate(the sum withstrategyProtocolFeeRatemust not exceedHUNDRED_PERCENT)
Shared with the Operational Admin, on all three strategies:
impairremoveImpairmentrecognizeLosssetMetadata
Aave V3 Strategy, shared with the Operational Admin:
recoverPosition(only after a loss is recognized)claimRewardssetReferralCode
Sky Strategy, shared with the Operational Admin:
recoverPosition(only after a loss is recognized)setFallbackToutsetReferralCode
On the Aave V3 and Sky strategies every function above except claimRewards and recoverPosition reverts once recognizeLoss has been called.
Allocation Strategy, shared with the Operational Admin:
recognizeLossAndRemoveImpairmentsetYieldCapskim
Allocation Strategy, shared with the Security Admin:
setPermissionssetDeploymentCapscancelYield
The Strategy Delegate cannot set strategyProtocolFeeRate or useVirtualUnderlyingBalance. Those belong to the Governor and Operational Admin.
Last updated
Was this helpful?