PermissiveWithdrawalValidator
API documentation for `PermissiveWithdrawalValidator.sol` contract.
PermissiveWithdrawalValidator
A withdrawal validator that validates withdrawals of an arbitrary size.
Methods
ANY_AMOUNT
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
allowance
Determine how much of each token could be withdrawn under current conditions.
Token quantity value should be interpreted with the same decimals as the token ERC20 balance.
Returns
Name | Type | Description |
---|---|---|
amounts | uint256[] | token0Amount, token1Amount The quantity of each token that can be withdrawn from the vault. |
count
Returns
Name | Type | Description |
---|---|---|
_0 | uint8 | undefined |
supportsInterface
Returns true if this contract implements the interface defined by interfaceId
. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.
Parameters
Name | Type | Description |
---|---|---|
interfaceId | bytes4 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
Last updated