LogoLogo
  • Introduction
  • The Aera Approach
  • How Aera V2 Works
  • Contact Us
  • Guides
    • 🏦Treasury
      • Using the Factory
      • Operating your Vault
        • Vault operation via Gnosis Safe
      • Managing the asset registry
      • Managing hooks
    • 🤖Vault Guardians
    • 💹Fee Recipient
    • 💻Developers
  • Concepts
    • Vault Assets
    • Objective Function
    • Vault Guardian
    • Vault Operation
  • Use Cases
    • For Treasuries
    • FAQ
  • Contracts
    • Security
    • AeraV2Factory
    • AeraVaultModulesFactory
    • AeraVaultV2
    • AeraVaultAssetRegistry
    • AeraVaultHooks
    • GitHub
  • V1 (Archive)
    • Aera Introduction
    • Guides
      • 🏦Treasuries
        • Operating the Vault
      • 💹Arbitrageurs
      • 🤖Vault Guardians
      • 💻Developers
    • Concepts
      • Vault Assets
      • Lifecycle Model
      • Objective Function
      • Withdrawal Validator
      • Aera Vault
        • Balancer Managed Pool
      • Vault Guardian
        • Weight Update
      • Balancer Weights
    • Contracts
      • Contracts Overview
      • Security
      • AeraVaultV1
      • PermissiveWithdrawalValidator
  • Website
  • UI
  • GitHub
  • Whitepaper (2022)
Powered by GitBook
On this page
  • PermissiveWithdrawalValidator
  • Methods
  1. V1 (Archive)
  2. Contracts

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

Name
Type
Description

_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

Name
Type
Description

amounts

uint256[]

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

count

function count() external view returns (uint8)

Returns

Name
Type
Description

_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

Name
Type
Description

interfaceId

bytes4

undefined

Returns

Name
Type
Description

_0

bool

undefined

PreviousAeraVaultV1

Last updated 1 year ago