IBeefyVeloVaultRelayer

Git Source

Inherits: IBaseOracle

Functions

token0priceSource

Address of the token0 price source that is used to calculate the price

Assumes that the price source is a valid IBaseOracle

function token0priceSource() external view returns (IBaseOracle _token0priceSource);

token1priceSource

Address of the token1 price source that is used to calculate the price

Assumes that the price source is a valid IBaseOracle

function token1priceSource() external view returns (IBaseOracle _token1priceSource);

beefyVault

Address of the beefy vault

Assumes that the beefy vault is a valid IBeefyVaultV7

function beefyVault() external view returns (IBeefyVaultV7 _beefyVault);

veloPool

Address of the velo pool underlying the beefy vault

Assumes that the price source is a valid IVeloPool

function veloPool() external view returns (IVeloPool _veloPool);

Errors

BeefyVeloVaultRelayer_NullPriceSource

Throws if either the provided token0 price source or the token1 price source are null

error BeefyVeloVaultRelayer_NullPriceSource();

BeefyVeloVaultRelayer_NullBeefyVault

Throws if the provided beefy vault address is null

error BeefyVeloVaultRelayer_NullBeefyVault();

BeefyVeloVaultRelayer_NullVeloPool

Throws if the provided velo pool address is null

error BeefyVeloVaultRelayer_NullVeloPool();

BeefyVeloVaultRelayer_InvalidPriceSource

Throws if either of the provided price sources are invalid

error BeefyVeloVaultRelayer_InvalidPriceSource();