PermissiveWithdrawalValidator

API documentation for `PermissiveWithdrawalValidator.sol` contract.

PermissiveWithdrawalValidator

A withdrawal validator that validates withdrawals of an arbitrary size.

Methods

ANY_AMOUNT

function ANY_AMOUNT() external view returns (uint256)

Returns

NameTypeDescription

_0

uint256

undefined

allowance

function allowance() external view returns (uint256[] amounts)

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

NameTypeDescription

amounts

uint256[]

token0Amount, token1Amount The quantity of each token that can be withdrawn from the vault.

count

function count() external view returns (uint8)

Returns

NameTypeDescription

_0

uint8

undefined

supportsInterface

function supportsInterface(bytes4 interfaceId) external view returns (bool)

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

NameTypeDescription

interfaceId

bytes4

undefined

Returns

NameTypeDescription

_0

bool

undefined

Last updated