IGelatoRelay

Git Source

Functions

automate

Returns the automate contract of the gelato network

function automate() external view returns (IAutomate _automate);

Returns

NameTypeDescription
_automateIAutomateThe address of the automate contract

gelato

Returns the gelato contract of the gelato network

function gelato() external view returns (IGelato _gelato);

Returns

NameTypeDescription
_gelatoIGelatoThe address of the gelato contract

feeCollector

Returns the fee collector of the gelato network

function feeCollector() external view returns (address _feeCollector);

Returns

NameTypeDescription
_feeCollectoraddressThe 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

NameTypeDescription
_automationVaultIAutomationVaultThe automation vault that will be executed
_execDataIAutomationVault.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

NameTypeDescription
_automationVaultaddressThe address of the automation vault
_relayCalleraddressThe address of the relay caller
_execDataIAutomationVault.ExecData[]The array of exec data
_feeDataIAutomationVault.FeeData[]The array of fee data