IGelatoRelay
Functions
automate
Returns the automate contract of the gelato network
function automate() external view returns (IAutomate _automate);
Returns
Name | Type | Description |
---|---|---|
_automate | IAutomate | The address of the automate contract |
gelato
Returns the gelato contract of the gelato network
function gelato() external view returns (IGelato _gelato);
Returns
Name | Type | Description |
---|---|---|
_gelato | IGelato | The address of the gelato contract |
feeCollector
Returns the fee collector of the gelato network
function feeCollector() external view returns (address _feeCollector);
Returns
Name | Type | Description |
---|---|---|
_feeCollector | address | The address of the fee collector |
exec
Execute an automation vault which will execute the jobs and will manage the payment to the fee data receivers
function exec(IAutomationVault _automationVault, IAutomationVault.ExecData[] calldata _execData) external;
Parameters
Name | Type | Description |
---|---|---|
_automationVault | IAutomationVault | The automation vault that will be executed |
_execData | IAutomationVault.ExecData[] | The array of exec data |
Events
AutomationVaultExecuted
Emitted when an automation vault is executed
event AutomationVaultExecuted(
address indexed _automationVault,
address indexed _relayCaller,
IAutomationVault.ExecData[] _execData,
IAutomationVault.FeeData[] _feeData
);
Parameters
Name | Type | Description |
---|---|---|
_automationVault | address | The address of the automation vault |
_relayCaller | address | The address of the relay caller |
_execData | IAutomationVault.ExecData[] | The array of exec data |
_feeData | IAutomationVault.FeeData[] | The array of fee data |