Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to complete withdraw from queued withdrawal #963

Open
bitcoinbrisbane opened this issue Dec 17, 2024 · 1 comment
Open

Question: How to complete withdraw from queued withdrawal #963

bitcoinbrisbane opened this issue Dec 17, 2024 · 1 comment

Comments

@bitcoinbrisbane
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@bitcoinbrisbane and others