Interfaces

Summarising the vault's functions that can be called by anyone

Essential Interfaces

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

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 Interfaces

The following interfaces are implemented by each of the getter functions for the Pool Variables:

Interface

pool();

token0();

token1();

tickSpacing();

Vault Interfaces

The following interfaces are implemented by each of the getter functions for the Vault Variables:

Interface

name();

symbol();

maxTotalSupply();

Protocol Interfaces

The following interfaces are implemented by each of the getter functions for Protocol Variables:

Interface

factory();

protocolFee();

accruedProtocolFees0();

accruedProtocolFees1();

Strategy Interfaces

The following interfaces are implemented by each of the getter functions for Strategy Variables:

Interface

fullRangeWeight();

baseThreshold();

limitThreshold();

period();

lastTimestamp();

lastTick();

fullLower();

fullUpper();

baseLower();

baseUpper();

limitLower();

limitUpper();

Security Interfaces

The following interfaces are implemented by each of the getter functions for the Security Variables:

Interface

maxTwapDeviation();

twapDuration();

Gas Optimization Interfaces

The following interfaces are implemented by each of the getter functions for Gas Optimization Variables:

Interface

minTickMove();

Vault Manager Interfaces

he following interfaces are implemented by each of the getter functions for the Vault Manager Variables:

Interface

manager();

pendingManager();

rebalanceDelegate();

period();

managerFee();

pendingManagerFee();

accruedManagerFees0();

accruedManagerFees1();

baseUpper();

Last updated