Skip to main content

AutomateTaskCreator.sol

AutomateTaskCreator

Inherit this contract to allow your smart contract to be a task creator and create tasks.

gelato1Balance

contract IGelato1Balance gelato1Balance

constructor

constructor(address _automate) internal

_depositFunds1Balance

function _depositFunds1Balance(uint256 _amount, address _token, address _sponsor) internal

_createTask

function _createTask(address _execAddress, bytes _execDataOrSelector, struct ModuleData _moduleData, address _feeToken) internal returns (bytes32)

_cancelTask

function _cancelTask(bytes32 _taskId) internal

_resolverModuleArg

function _resolverModuleArg(address _resolverAddress, bytes _resolverData) internal pure returns (bytes)

_proxyModuleArg

function _proxyModuleArg() internal pure returns (bytes)

_singleExecModuleArg

function _singleExecModuleArg() internal pure returns (bytes)

_web3FunctionModuleArg

function _web3FunctionModuleArg(string _web3FunctionHash, bytes _web3FunctionArgsHex) internal pure returns (bytes)

_timeTriggerModuleArg

function _timeTriggerModuleArg(uint128 _start, uint128 _interval) internal pure returns (bytes)

_cronTriggerModuleArg

function _cronTriggerModuleArg(string _expression) internal pure returns (bytes)

_eventTriggerModuleArg

function _eventTriggerModuleArg(address _address, bytes32[][] _topics, uint256 _blockConfirmations) internal pure returns (bytes)

_blockTriggerModuleArg

function _blockTriggerModuleArg() internal pure returns (bytes)