WithdrawalManagerInitializer (Queue)

Functions

isManualWithdrawal

Checks if an account is set to perform withdrawals manually.

    function isManualWithdrawal(
        address
    )
        view
        returns (
            bool
        );

Parameters:

IndexNameTypeInternal TypeDescription

0

``

address

address

Return Values:

IndexNameTypeInternal TypeDescription

0

bool

bool

manualSharesAvailable

Returns the amount of shares available for manual withdrawal.

    function manualSharesAvailable(
        address
    )
        view
        returns (
            uint256
        );

Parameters:

IndexNameTypeInternal TypeDescription

0

``

address

address

Return Values:

IndexNameTypeInternal TypeDescription

0

uint256

uint256

pool

Returns the address of the pool contract.

    function pool()
        view
        returns (
            address
        );

Return Values:

IndexNameTypeInternal TypeDescription

0

address

address

poolManager

Returns the address of the pool manager contract.

    function poolManager()
        view
        returns (
            address
        );

Return Values:

IndexNameTypeInternal TypeDescription

0

address

address

queue

Returns the first and last withdrawal requests pending redemption.

    function queue()
        view
        returns (
            uint128 nextRequestId,
            uint128 lastRequestId
        );

Return Values:

IndexNameTypeInternal TypeDescription

0

nextRequestId

uint128

uint128

Identifier of the next withdrawal request that will be processed.

1

lastRequestId

uint128

uint128

Identifier of the last created withdrawal request.

requestIds

Returns the request identifier of an account. Returns zero if the account does not have a withdrawal request.

    function requestIds(
        address
    )
        view
        returns (
            uint128
        );

Parameters:

IndexNameTypeInternal TypeDescription

0

``

address

address

Return Values:

IndexNameTypeInternal TypeDescription

0

uint128

uint128

totalShares

Returns the total amount of shares pending redemption.

    function totalShares()
        view
        returns (
            uint256
        );

Return Values:

IndexNameTypeInternal TypeDescription

0

uint256

uint256

Events

Initialized

Emitted when the withdrawal manager proxy contract is initialized.

    event Initialized(
        address pool,
        address poolManager
    );

Parameters:

IndexNameTypeInternal TypeDescription

0

pool

address

address

Address of the pool contract.

1

poolManager

address

address

Address of the pool manager contract.

Last updated