Skip to main content

IMate2AutomationRegistry1_1.sol

ExtraData

struct ExtraData {
enum ExtraModule extraModule;
bytes extraParam;
}

IMate2AutomationRegistry1_1

registerUpkeep

function registerUpkeep(address target, uint32 gasLimit, address admin, bool useTreasury, bool singleExec, bytes checkData, enum ExtraModule extraModule, bytes extraParam) external returns (uint256 id)

cancelUpkeep

function cancelUpkeep(uint256 id) external

pauseUpkeep

function pauseUpkeep(uint256 id) external

unpauseUpkeep

function unpauseUpkeep(uint256 id) external

transferUpkeepAdmin

function transferUpkeepAdmin(uint256 id, address proposed) external

updateCheckData

function updateCheckData(uint256 id, bytes newCheckData) external

getUpkeep

function getUpkeep(uint256 id) external view returns (address target, uint32 executeGas, bytes checkData, struct ExtraData extraData, address lastKeeper, address admin, uint64 maxValidBlocknumber, uint256 amountSpent, bool[3] flags)

getUpkeepTreasury

function getUpkeepTreasury() external view returns (address)

checkUpkeep

function checkUpkeep(uint256 upkeepId, address from, bytes extraData) external view returns (bytes performData, uint256 maxPayment, uint256 gasLimit)

getPerformUpkeepFee

function getPerformUpkeepFee() external view returns (uint256 fee)

addWhitelistedRegistrar

function addWhitelistedRegistrar(address registrar) external

removeWhitelistedRegistrar

function removeWhitelistedRegistrar(address registrar) external