IWithdrawalManagerStorage

Git Source

Functions

latestConfigId

Gets the id of the latest config

function latestConfigId() external view returns (uint256 configId_);

exitCycleId

Gets the exit cycle id of an account

function exitCycleId(address account_) external view returns (uint256 cycleId_);

Parameters

NameTypeDescription

account_

address

The address of the account

Returns

NameTypeDescription

cycleId_

uint256

The id of the exit cycle

lockedShares

Gets the locked shares of an account

function lockedShares(address account_) external view returns (uint256 lockedShares_);

Parameters

NameTypeDescription

account_

address

The address of the account

Returns

NameTypeDescription

lockedShares_

uint256

The amount of locked shares under the account

totalCycleShares

Gets the total locked shares of a cycle

function totalCycleShares(uint256 cycleId_) external view returns (uint256 totalCycleShares_);

Parameters

NameTypeDescription

cycleId_

uint256

The id of the cycle

Returns

NameTypeDescription

totalCycleShares_

uint256

The total amount of locked shares under the cycle

Last updated