Vault
State Variables
OWNER_ROLE
bytes32 public constant OWNER_ROLE = keccak256("OWNER_ROLE");ALLOCATOR_ROLE
bytes32 public constant ALLOCATOR_ROLE = keccak256("ALLOCATOR_ROLE");IDLE
IIonPool public constant IDLE = IIonPool(address(uint160(uint256(keccak256("IDLE_ASSET_HOLDINGS")))));DECIMALS_OFFSET
uint8 public immutable DECIMALS_OFFSET;ION_POOL_SUPPLY_CAP_SLOT
bytes32 public immutable ION_POOL_SUPPLY_CAP_SLOT = 0xceba3d526b4d5afd91d1b752bf1fd37917c20a6daf576bcb41dd1c57c1f67e09;ION_POOL_LIQUIDITY_SLOT
BASE_ASSET
MAX_SUPPORTED_MARKETS
supportedMarkets
supplyQueue
withdrawQueue
feeRecipient
feePercentage
lastTotalAssets
caps
Functions
constructor
updateFeePercentage
Name
Type
Description
updateFeeRecipient
Name
Type
Description
addSupportedMarkets
Name
Type
Description
_addSupportedMarkets
removeSupportedMarkets
Name
Type
Description
updateSupplyQueue
Name
Type
Description
_updateSupplyQueue
updateWithdrawQueue
Name
Type
Description
_updateWithdrawQueue
_validateQueueInput
Name
Type
Description
updateAllocationCaps
Name
Type
Description
reallocate
Name
Type
Description
accrueFee
_supplyToIonPool
Name
Type
Description
_withdrawFromIonPool
Name
Type
Description
deposit
Name
Type
Description
mint
Name
Type
Description
withdraw
Name
Type
Description
redeem
Name
Type
Description
decimals
maxDeposit
Name
Type
Description
maxMint
Name
Type
Description
maxWithdraw
Name
Type
Description
Name
Type
Description
maxRedeem
Name
Type
Description
Name
Type
Description
totalAssets
Name
Type
Description
previewDeposit
previewMint
previewWithdraw
previewRedeem
_decimalsOffset
_deposit
_withdraw
_maxDeposit
_maxWithdraw
_accrueFee
_accruedFeeShares
_convertToSharesWithFees
_convertToAssetsWithFees
_convertToSharesWithTotals
_convertToAssetsWithTotals
_updateLastTotalAssets
_zeroFloorSub
_simulateWithdrawIon
Name
Type
Description
_withdrawable
Name
Type
Description
_depositable
Name
Type
Description
getSupportedMarkets
Name
Type
Description
containsSupportedMarket
Name
Type
Description
Name
Type
Description
supportedMarketsAt
Name
Type
Description
Name
Type
Description
supportedMarketsIndexOf
Name
Type
Description
Name
Type
Description
supportedMarketsLength
Name
Type
Description