For the complete documentation index, see llms.txt. This page is also available as Markdown.

IWithdrawalManagerStorage

Git Source

Functions

latestConfigId

Gets the id of the latest config.

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

Returns

Name
Type
Description

configId_

uint256

The id of the latest config.

exitCycleId

Gets the exit cycle id of an account.

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

Parameters

Name
Type
Description

account_

address

The address of the account.

Returns

Name
Type
Description

cycleId_

uint256

The id of the exit cycle.

lockedShares

Gets the locked shares of an account.

Parameters

Name
Type
Description

account_

address

The address of the account.

Returns

Name
Type
Description

lockedShares_

uint256

The amount of locked shares under the account.

totalCycleShares

Gets the total locked shares of a cycle.

Parameters

Name
Type
Description

cycleId_

uint256

The id of the cycle.

Returns

Name
Type
Description

totalCycleShares_

uint256

The total amount of locked shares under the cycle.

Last updated

Was this helpful?