RioLRTWithdrawalQueue
Inherits: IRioLRTWithdrawalQueue, OwnableUpgradeable, UUPSUpgradeable, RioLRTCore
State Variables
currentEpochsByAsset
Current asset withdrawal epochs. Incoming withdrawals are included in the current epoch.
epochWithdrawalsByAsset
The amount of assets owed to users in a given epoch, as well as the state of the epoch's withdrawals.
sharesOwedByAsset
The total amount of shares owed to withdrawers across all epochs for asset
, excluding the current epoch.
Functions
constructor
Parameters
initialize
Initializes the contract.
Parameters
getCurrentEpoch
Retrieve the current withdrawal epoch for a given asset.
Parameters
getRestakingTokensInCurrentEpoch
Get the amount of restaking tokens requested for withdrawal in the current epoch
for asset
.
Parameters
getTotalSharesOwed
Get the total amount of shares owed to withdrawers across all epochs for asset
.
Parameters
getEpochWithdrawalSummary
Retrieve withdrawal epoch information for a given asset and epoch.
Parameters
getUserWithdrawalSummary
Retrieve a user's withdrawal information for a given asset and epoch.
Parameters
claimWithdrawalsForEpoch
Withdraws all asset
owed to the caller in a given epoch.
Parameters
claimWithdrawalsForManyEpochs
Withdraws owed assets owed to the caller from many withdrawal requests.
Parameters
queueWithdrawal
Queue withdrawal of asset
to withdrawer
in the current epoch. The withdrawal can be claimed as the underlying asset by the withdrawer once the current epoch is settled.
Parameters
settleCurrentEpochFromDepositPool
Settle the current epoch for asset
using assetsReceived
from the deposit pool.
Parameters
queueCurrentEpochSettlementFromEigenLayer
Queues the current epoch for asset
settlement via EigenLayer and record the amount of assets received from the deposit pool.
Parameters
completeEpochSettlementFromEigenLayer
Settle epoch
for asset
using queuedWithdrawals
from EigenLayer.
Parameters
receive
Receives ETH for withdrawals.
_getEpochWithdrawals
_authorizeUpgrade
Allows the owner to upgrade the withdrawal queue implementation.
Parameters
Last updated