IBeefyVeloVaultRelayerFactory
Inherits: IAuthorizable
Functions
deployBeefyVeloVaultRelayer
Deploys a new BeefyVeloVaultRelayer contract
function deployBeefyVeloVaultRelayer(
IBaseOracle _token0priceSource,
IBaseOracle _token1priceSource,
IBeefyVaultV7 _beefyVault,
IVeloPool _veloPool
) external returns (IBaseOracle _beefyVeloVaultRelayer);
Parameters
Name | Type | Description |
---|---|---|
_token0priceSource | IBaseOracle | Address of the price source for the first token in the velo pool |
_token1priceSource | IBaseOracle | Address of the price source for the second token in the velo pool |
_beefyVault | IBeefyVaultV7 | The address of the beefy vault contract |
_veloPool | IVeloPool | The address of the velo pool underlying the beefy vault |
Returns
Name | Type | Description |
---|---|---|
_beefyVeloVaultRelayer | IBaseOracle | Address of the deployed BeefyVeloVaultRelayer contract |
beefyVeloVaultRelayersList
Getter for the list of BeefyVeloVaultRelayer contracts
function beefyVeloVaultRelayersList() external view returns (address[] memory _beefyVeloVaultRelayersList);
Returns
Name | Type | Description |
---|---|---|
_beefyVeloVaultRelayersList | address[] | List of BeefyVeloVaultRelayer contracts |
Events
NewBeefyVeloVaultRelayer
Emitted when a new BeefyVeloVaultRelayer contract is deployed
event NewBeefyVeloVaultRelayer(
address indexed _beefyVeloVaultRelayer,
address _token0priceSource,
address _token1priceSource,
address _beefyVault,
address _veloPool
);
Parameters
Name | Type | Description |
---|---|---|
_beefyVeloVaultRelayer | address | Address of the deployed DenominatedOracle contract |
_token0priceSource | address | Address of the price source for the first token in the velo pool |
_token1priceSource | address | Address of the price source for the second token in the velo pool |
_beefyVault | address | The address of the beefy vault contract |
_veloPool | address | The address of the velo pool underlying the beefy vault |