Interfaces
Summarising the vault's functions that can be called by anyone
Last updated
Summarising the vault's functions that can be called by anyone
Last updated
These interfaces allow an external contract or address to trigger the vault to perform essential functions, or to provide important information to the caller.
Interface | Implementation | Summary |
---|---|---|
The following interfaces are implemented by each of the getter functions for the Pool Variables:
Interface |
---|
The following interfaces are implemented by each of the getter functions for the Vault Variables:
The following interfaces are implemented by each of the getter functions for Protocol Variables:
The following interfaces are implemented by each of the getter functions for Strategy Variables:
The following interfaces are implemented by each of the getter functions for the Security Variables:
The following interfaces are implemented by each of the getter functions for Gas Optimization Variables:
he following interfaces are implemented by each of the getter functions for the Vault Manager Variables:
Interface |
---|
Interface |
---|
Interface |
---|
Interface |
---|
Interface |
---|
Interface |
---|
deposit();
Depositing into the vault
withdraw();
Withdrawing from the vault
rebalance();
Rebalance the vault
checkCanRebalance();
Check if vault can rebalance
getTotalAmounts();
Get the total amount of tokens held by the vault
getBalance0();
Amount of token0 not used
getBalance1();
Amount of token1 not used
totalsupply();
IERC20Upgradeable.sol
Get the total number of vault shares that's been minted
name();
IERC20Upgradeable.sol
Name of the vault share
symbol();
IERC20Upgradeable.sol
Symbol of the vault share
pool();
token0();
token1();
tickSpacing();
name();
symbol();
maxTotalSupply();
factory();
protocolFee();
accruedProtocolFees0();
accruedProtocolFees1();
fullRangeWeight();
baseThreshold();
limitThreshold();
period();
lastTimestamp();
lastTick();
fullLower();
fullUpper();
baseLower();
baseUpper();
limitLower();
limitUpper();
maxTwapDeviation();
twapDuration();
minTickMove();
manager();
pendingManager();
rebalanceDelegate();
period();
managerFee();
pendingManagerFee();
accruedManagerFees0();
accruedManagerFees1();
baseUpper();