IUserWithdrawManager

Git Source

Functions

requestWithdraw

function requestWithdraw(uint256 _ethXAmount, address _owner) external returns (uint256);

claim

function claim(uint256 _requestId) external;

userWithdrawRequests

function userWithdrawRequests(uint256) external view returns (WithdrawRequest memory);

finalizeUserWithdrawalRequest

function finalizeUserWithdrawalRequest() external;

Structs

WithdrawRequest

struct WithdrawRequest {
    address owner;
    uint256 ethXAmount;
    uint256 ethExpected;
    uint256 ethFinalized;
    uint256 requestTime;
}