IWithdrawalManager
Inherits: IWithdrawalManagerStorage
Functions
initialize
Initializes the Withdrawal Manager.
Function is invoked by the proxy contract when the Withdrawal Manager Contract is added to the PoolAddressesProvider of the market.
Parameters
setExitConfig
Pool admin sets a new configuration for the withdrawal manager.
Parameters
addShares
Add more shares for withdrawal.
Parameters
removeShares
Remove shares from withdrawal.
Parameters
processExit
Process the exit of requested shares of a owner.
Parameters
Returns
isInExitWindow
Checks if the owner has a withdrawal request in the exit window.
Parameters
Returns
lockedLiquidity
Gets the total amount of liquidity locked in the current cycle.
Returns
previewRedeem
Previews the amount of shares and assets that can be redeemed.
Parameters
Returns
getCycleConfig
Gets the configuration of a config id.
Parameters
Returns
getConfigAtId
Gets the configuration of a given cycle id.
Parameters
Returns
getCurrentConfig
Gets the configuration of the current cycle id.
Returns
getCurrentCycleId
Gets the current cycle id.
Returns
getWindowStart
Gets the starting time of a window for a given cycle id.
Parameters
Returns
getWindowAtId
Gets the start and end time of a window for a given cycle id.
Parameters
Returns
getRedeemableAmounts
Gets the redeemable amount of an owner based in the current cycle.
Parameters
Returns
Events
Initialized
Emitted when a withdrawal manager is initialized.
Parameters
ConfigurationUpdated
Emitted when the configuration of the withdrawal manager is updated.
Parameters
WithdrawalCancelled
Emitted when a withdrawal is cancelled.
Parameters
WithdrawalProcessed
Emitted when a withdrawal is processed.
Parameters
WithdrawalUpdated
Emitted when a withdrawal is updated.
Parameters
Last updated