initWithdrawal()
Functions on the PendingWithdrawals contract
Last updated
Functions on the PendingWithdrawals contract
Last updated
The traditional function initWithdrawal()
takes only a pool and an amount as arguments, this means that the address calling the function must be the depositor of the pool tokens or have approval from the depositor to access their pool tokens.
Name | Type | Description |
---|---|---|
In order to identify the poolToken address needed for this function, follow the steps in the poolToken Mapping section
poolToken
IPoolToken
The address of the token deposited into the pool
poolTokenAmount
uint256
Amount to withdraw