BeefyVeloVaultRelayerFactory
Inherits: Authorizable, IBeefyVeloVaultRelayerFactory
This contract is used to deploy BeefyVeloVaultRelayer contracts
The deployed contracts are BeefyVeloVaultRelayerChild instances
State Variables
_beefyVeloVaultRelayers
The enumerable set of deployed BeefyVeloVaultRelayer contracts
EnumerableSet.AddressSet internal _beefyVeloVaultRelayers;
Functions
constructor
constructor() Authorizable(msg.sender);
deployBeefyVeloVaultRelayer
Deploys a new BeefyVeloVaultRelayer contract
function deployBeefyVeloVaultRelayer(
IBaseOracle _token0priceSource,
IBaseOracle _token1priceSource,
IBeefyVaultV7 _beefyVault,
IVeloPool _veloPool
) external isAuthorized 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 |