Core Strategy
Maple Specific strategy that allocates pool funds into an another Maple ERC‑4626 vault. Supports funding, withdrawal requests and cancellations, pushing residual assets back to the pool, and strategy reactivation after impairment.
Functions
fundStrategy
fundStrategyDeploys assets from the Maple pool into the strategy (only when active).
function fundStrategy(
uint256 assetsIn
)
external;Parameters:
0
assetsIn
uint256
uint256
Amount of assets to deploy
requestWithdrawFromStrategy
requestWithdrawFromStrategyRequests withdrawal of assets back to the Maple pool.
function requestWithdrawFromStrategy(
uint256 assetsOut
)
external;Parameters:
0
assetsOut
uint256
uint256
Amount of assets requested to redeem
removeShares
removeSharesCancels or reduces a pending withdrawal by removing shares.
Parameters:
0
shares
uint256
uint256
Amount of shares to remove from the queue
removeSharesById
removeSharesByIdCancels or reduces a pending withdrawal by id.
Parameters:
0
requestId
uint256
uint256
Identifier of the withdrawal request
1
shares
uint256
uint256
Amount of shares to remove from that request
pushAssetsToPool
pushAssetsToPoolPushes any held funds asset back to the pool.
reactivateStrategy
reactivateStrategyReactivates a previously impaired or deactivated strategy.
mapleWithdrawalManager
mapleWithdrawalManagerReturns the strategy’s configured withdrawal manager.
Return Values:
0
withdrawalManagerAddress
address
address
Address of the withdrawal manager
Events
AssetsTransferredToPool
AssetsTransferredToPoolStrategyWithdrawalRequested
StrategyWithdrawalRequestedStrategyWithdrawalDecreased
StrategyWithdrawalDecreasedStrategyWithdrawalDecreased
StrategyWithdrawalDecreasedStrategyWithdrawalUpdated
StrategyWithdrawalUpdatedStrategyReactivated
StrategyReactivatedLast updated