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

FEE_COLLECTOR

Returns the fee collector of the gelato network

function FEE_COLLECTOR() 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(
  IAutomationVault indexed _automationVault,
  address indexed _relayCaller,
  IAutomationVault.ExecData[] _execData,
  IAutomationVault.FeeData[] _feeData
);

Parameters

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