Created
January 9, 2020 14:50
-
-
Save gitpusha/78db5dc5c92b79d7a22dfa4f826d1347 to your computer and use it in GitHub Desktop.
ABI for GelatoCore at 0x653F3612e5A649EB93D60a55A0f0A2C8e0cF6A73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "executor", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "uint256", | |
"name": "executionClaimId", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "contract IGelatoTrigger", | |
"name": "trigger", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "contract IGelatoAction", | |
"name": "action", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "enum GelatoCoreEnums.CanExecuteResult", | |
"name": "canExecuteResult", | |
"type": "uint8" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint8", | |
"name": "reason", | |
"type": "uint8" | |
} | |
], | |
"name": "LogCanExecuteFailed", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "contract IGelatoUserProxy", | |
"name": "userProxy", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "LogCreateUserProxy", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address payable", | |
"name": "executor", | |
"type": "address" | |
} | |
], | |
"name": "LogDeregisterExecutor", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "uint256", | |
"name": "executionClaimId", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "contract IGelatoUserProxy", | |
"name": "userProxy", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "cancelor", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bool", | |
"name": "executionClaimExpired", | |
"type": "bool" | |
} | |
], | |
"name": "LogExecutionClaimCancelled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "selectedExecutor", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "uint256", | |
"name": "executionClaimId", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "contract IGelatoUserProxy", | |
"name": "userProxy", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "contract IGelatoTrigger", | |
"name": "trigger", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bytes", | |
"name": "triggerPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "contract IGelatoAction", | |
"name": "action", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bytes", | |
"name": "actionPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256[3]", | |
"name": "triggerGasActionTotalGasMinExecutionGas", | |
"type": "uint256[3]" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "executionClaimExpiryDate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "mintingDeposit", | |
"type": "uint256" | |
} | |
], | |
"name": "LogExecutionClaimMinted", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "executor", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "uint256", | |
"name": "executionClaimId", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "contract IGelatoTrigger", | |
"name": "trigger", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "contract IGelatoAction", | |
"name": "action", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "enum GelatoCoreEnums.ExecutionResult", | |
"name": "executionResult", | |
"type": "uint8" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint8", | |
"name": "reason", | |
"type": "uint8" | |
} | |
], | |
"name": "LogExecutionFailure", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address payable", | |
"name": "executor", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "executorPrice", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "executorClaimLifespan", | |
"type": "uint256" | |
} | |
], | |
"name": "LogRegisterExecutor", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "executorClaimLifespan", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "newExecutorClaimLifespan", | |
"type": "uint256" | |
} | |
], | |
"name": "LogSetExecutorClaimLifespan", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "executorPrice", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "newExecutorPrice", | |
"type": "uint256" | |
} | |
], | |
"name": "LogSetExecutorPrice", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "gelatoCoreExecGasOverhead", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_newGasOverhead", | |
"type": "uint256" | |
} | |
], | |
"name": "LogSetGelatoCoreExecGasOverhead", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "minExecutionClaimLifespan", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "newMinExecutionClaimLifespan", | |
"type": "uint256" | |
} | |
], | |
"name": "LogSetMinExecutionClaimLifespan", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "userProxyExecGasOverhead", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_newGasOverhead", | |
"type": "uint256" | |
} | |
], | |
"name": "LogSetUserProxyExecGasOverhead", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "executor", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "uint256", | |
"name": "executionClaimId", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "contract IGelatoTrigger", | |
"name": "trigger", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "contract IGelatoAction", | |
"name": "action", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "gasPriceUsed", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "executionCostEstimate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "executorReward", | |
"type": "uint256" | |
} | |
], | |
"name": "LogSuccessfulExecution", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "executor", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "withdrawAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "LogWithdrawExecutorBalance", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_executionClaimId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "contract IGelatoUserProxy", | |
"name": "_userProxy", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract IGelatoTrigger", | |
"name": "_trigger", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_triggerPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "contract IGelatoAction", | |
"name": "_action", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_actionPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint256[3]", | |
"name": "_triggerGasActionTotalGasMinExecutionGas", | |
"type": "uint256[3]" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_actionConditionsCheckGas", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_executionClaimExpiryDate", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_mintingDeposit", | |
"type": "uint256" | |
} | |
], | |
"name": "canExecute", | |
"outputs": [ | |
{ | |
"internalType": "enum GelatoCoreEnums.CanExecuteResult", | |
"name": "", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "errorCode", | |
"type": "uint8" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_selectedExecutor", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_executionClaimId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "contract IGelatoUserProxy", | |
"name": "_userProxy", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract IGelatoTrigger", | |
"name": "_trigger", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_triggerPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "contract IGelatoAction", | |
"name": "_action", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_actionPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint256[3]", | |
"name": "_triggerGasActionTotalGasMinExecutionGas", | |
"type": "uint256[3]" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_executionClaimExpiryDate", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_mintingDeposit", | |
"type": "uint256" | |
} | |
], | |
"name": "cancelExecutionClaim", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "createGasTestUserProxy", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "gasTestUserProxy", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "createUserProxy", | |
"outputs": [ | |
{ | |
"internalType": "contract IGelatoUserProxy", | |
"name": "userProxy", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "deregisterExecutor", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_executionClaimId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "contract IGelatoUserProxy", | |
"name": "_userProxy", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract IGelatoTrigger", | |
"name": "_trigger", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_triggerPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "contract IGelatoAction", | |
"name": "_action", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_actionPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint256[3]", | |
"name": "_triggerGasActionTotalGasMinExecutionGas", | |
"type": "uint256[3]" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_executionClaimExpiryDate", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_mintingDeposit", | |
"type": "uint256" | |
} | |
], | |
"name": "execute", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "executionClaimHash", | |
"outputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "", | |
"type": "bytes32" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "executorBalance", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "executorClaimLifespan", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "executorPrice", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract IGelatoAction", | |
"name": "_action", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_actionPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_actionConditionsCheckGas", | |
"type": "uint256" | |
} | |
], | |
"name": "gasTestActionConditionsCheck", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "executable", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "reason", | |
"type": "uint8" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract IGelatoUserProxy", | |
"name": "_gasTestUserProxy", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract IGelatoAction", | |
"name": "_action", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_actionPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_actionGas", | |
"type": "uint256" | |
} | |
], | |
"name": "gasTestActionViaGasTestUserProxy", | |
"outputs": [ | |
{ | |
"internalType": "enum GelatoCoreEnums.ExecutionResult", | |
"name": "executionResult", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "reason", | |
"type": "uint8" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_executionClaimId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "contract IGelatoUserProxy", | |
"name": "_userProxy", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract IGelatoTrigger", | |
"name": "_trigger", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_triggerPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "contract IGelatoAction", | |
"name": "_action", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_actionPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint256[3]", | |
"name": "_triggerGasActionTotalGasMinExecutionGas", | |
"type": "uint256[3]" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_actionConditionsCheckGas", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_executionClaimExpiryDate", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_mintingDeposit", | |
"type": "uint256" | |
} | |
], | |
"name": "gasTestCanExecute", | |
"outputs": [ | |
{ | |
"internalType": "enum GelatoCoreEnums.CanExecuteResult", | |
"name": "canExecuteResult", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "reason", | |
"type": "uint8" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_executionClaimId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "contract IGelatoUserProxy", | |
"name": "_userProxy", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract IGelatoTrigger", | |
"name": "_trigger", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_triggerPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "contract IGelatoAction", | |
"name": "_action", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_actionPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint256[3]", | |
"name": "_triggerGasActionTotalGasMinExecutionGas", | |
"type": "uint256[3]" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_executionClaimExpiryDate", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_mintingDeposit", | |
"type": "uint256" | |
} | |
], | |
"name": "gasTestExecute", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract IGelatoUserProxy", | |
"name": "_userProxy", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract IGelatoAction", | |
"name": "_action", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_actionPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_actionGas", | |
"type": "uint256" | |
} | |
], | |
"name": "gasTestTestUserProxyExecute", | |
"outputs": [ | |
{ | |
"internalType": "enum GelatoCoreEnums.ExecutionResult", | |
"name": "executionResult", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "reason", | |
"type": "uint8" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract IGelatoTrigger", | |
"name": "_trigger", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_triggerPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_triggerGas", | |
"type": "uint256" | |
} | |
], | |
"name": "gasTestTriggerCheck", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "executable", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "reason", | |
"type": "uint8" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "gelatoCoreExecGasOverhead", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getCurrentExecutionClaimId", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "currentId", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
} | |
], | |
"name": "getGasTestProxyOfUser", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_triggerGas", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_actionTotalGas", | |
"type": "uint256" | |
} | |
], | |
"name": "getMinExecutionGas", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_selectedExecutor", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract IGelatoTrigger", | |
"name": "_trigger", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract IGelatoAction", | |
"name": "_action", | |
"type": "address" | |
} | |
], | |
"name": "getMintingDepositPayable", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "mintingDepositPayable", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
} | |
], | |
"name": "getProxyOfUser", | |
"outputs": [ | |
{ | |
"internalType": "contract IGelatoUserProxy", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getUserCount", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_gasTestProxy", | |
"type": "address" | |
} | |
], | |
"name": "getUserOfGasTestProxy", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract IGelatoUserProxy", | |
"name": "_proxy", | |
"type": "address" | |
} | |
], | |
"name": "getUserOfProxy", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getUserProxies", | |
"outputs": [ | |
{ | |
"internalType": "contract IGelatoUserProxy[]", | |
"name": "", | |
"type": "address[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_executionClaimId", | |
"type": "uint256" | |
} | |
], | |
"name": "getUserWithExecutionClaimId", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getUsers", | |
"outputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "", | |
"type": "address[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
} | |
], | |
"name": "isUser", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract IGelatoUserProxy", | |
"name": "_userProxy", | |
"type": "address" | |
} | |
], | |
"name": "isUserProxy", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "minExecutionClaimLifespan", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_selectedExecutor", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract IGelatoTrigger", | |
"name": "_trigger", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_triggerPayloadWithSelector", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "contract IGelatoAction", | |
"name": "_action", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_actionPayloadWithSelector", | |
"type": "bytes" | |
} | |
], | |
"name": "mintExecutionClaim", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_executorPrice", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_executorClaimLifespan", | |
"type": "uint256" | |
} | |
], | |
"name": "registerExecutor", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_newExecutorClaimLifespan", | |
"type": "uint256" | |
} | |
], | |
"name": "setExecutorClaimLifespan", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_newExecutorGasPrice", | |
"type": "uint256" | |
} | |
], | |
"name": "setExecutorPrice", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "totalExecutionGasOverhead", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "userProxyExecGasOverhead", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "userProxyWithExecutionClaimId", | |
"outputs": [ | |
{ | |
"internalType": "contract IGelatoUserProxy", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "withdrawExecutorBalance", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment