Skip to content

Question: How to complete withdraw from queued withdrawal #963

@bitcoinbrisbane

Description

@bitcoinbrisbane

Sorry if this is not the right place, but trying to find an answer to this.

The IDelegationManager contract defines queueWithdrawals as below, with bytes32[] array as return value.

    function queueWithdrawals(QueuedWithdrawalParams[] calldata queuedWithdrawalParams)
        external
        returns (bytes32[] memory);

To complete the withdrawal, I "Complete Withdrawal as Tokens: invoke DelegationManager.completeQueuedWithdrawal() to complete the withdrawal and return assets to the withdrawer's wallet."

How do I create the params need for the completeQueuedWithdrawal function?

    function completeQueuedWithdrawal(
        Withdrawal calldata withdrawal,
        IERC20[] calldata tokens,
        uint256 middlewareTimesIndex,
        bool receiveAsTokens
    ) external;

https://github.com/Layr-Labs/eigenlayer-contracts/blob/master/docs/core/DelegationManager.md#undelegating-and-withdrawing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions