Skip to content

Instantly share code, notes, and snippets.

@gitpusha
Created October 19, 2019 23:54
Show Gist options
  • Save gitpusha/9aefd54d03a7c695fcd02cbb581e4541 to your computer and use it in GitHub Desktop.
Save gitpusha/9aefd54d03a7c695fcd02cbb581e4541 to your computer and use it in GitHub Desktop.
GelatoCore_3
[
{
"constant": false,
"inputs": [
{
"name": "_trigger",
"type": "address"
},
{
"name": "_triggerPayload",
"type": "bytes"
},
{
"name": "_userProxy",
"type": "address"
},
{
"name": "_executePayload",
"type": "bytes"
},
{
"name": "_executionClaimId",
"type": "uint256"
},
{
"name": "_selectedExecutor",
"type": "address"
},
{
"name": "_executeGas",
"type": "uint256"
},
{
"name": "_executionClaimExpiryDate",
"type": "uint256"
},
{
"name": "_executorFee",
"type": "uint256"
}
],
"name": "cancelExecutionClaim",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "devirginize",
"outputs": [
{
"name": "userProxy",
"type": "address"
},
{
"name": "userProxyGuardAddress",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_trigger",
"type": "address"
},
{
"name": "_triggerPayload",
"type": "bytes"
},
{
"name": "_userProxy",
"type": "address"
},
{
"name": "_executePayload",
"type": "bytes"
},
{
"name": "_executeGas",
"type": "uint256"
},
{
"name": "_executionClaimId",
"type": "uint256"
},
{
"name": "_executionClaimExpiryDate",
"type": "uint256"
},
{
"name": "_executorFee",
"type": "uint256"
}
],
"name": "execute",
"outputs": [
{
"name": "executionResult",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "guard",
"outputs": [
{
"name": "userProxyGuardAddress",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_trigger",
"type": "address"
},
{
"name": "_specificTriggerParams",
"type": "bytes"
},
{
"name": "_action",
"type": "address"
},
{
"name": "_specificActionParams",
"type": "bytes"
},
{
"name": "_selectedExecutor",
"type": "address"
}
],
"name": "mintExecutionClaim",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_newExecutorClaimLifespan",
"type": "uint256"
}
],
"name": "setExecutorClaimLifespan",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_newExecutorGasPrice",
"type": "uint256"
}
],
"name": "setExecutorPrice",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "withdrawExecutorBalance",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "selectedExecutor",
"type": "address"
},
{
"indexed": true,
"name": "executionClaimId",
"type": "uint256"
},
{
"indexed": true,
"name": "userProxy",
"type": "address"
},
{
"indexed": false,
"name": "executePayload",
"type": "bytes"
},
{
"indexed": false,
"name": "executeGas",
"type": "uint256"
},
{
"indexed": false,
"name": "executionClaimExpiryDate",
"type": "uint256"
},
{
"indexed": false,
"name": "executorFee",
"type": "uint256"
}
],
"name": "LogNewExecutionClaimMinted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "executionClaimId",
"type": "uint256"
},
{
"indexed": true,
"name": "trigger",
"type": "address"
},
{
"indexed": false,
"name": "triggerPayload",
"type": "bytes"
},
{
"indexed": true,
"name": "action",
"type": "address"
}
],
"name": "LogTriggerActionMinted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "executionClaimId",
"type": "uint256"
},
{
"indexed": true,
"name": "executor",
"type": "address"
},
{
"indexed": true,
"name": "canExecuteResult",
"type": "uint256"
}
],
"name": "LogCanExecuteFailed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "executionClaimId",
"type": "uint256"
},
{
"indexed": true,
"name": "success",
"type": "bool"
},
{
"indexed": true,
"name": "executor",
"type": "address"
}
],
"name": "LogExecutionResult",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "executionClaimId",
"type": "uint256"
},
{
"indexed": true,
"name": "userProxy",
"type": "address"
},
{
"indexed": true,
"name": "executor",
"type": "address"
},
{
"indexed": false,
"name": "gasUsedEstimate",
"type": "uint256"
},
{
"indexed": false,
"name": "gasPriceUsed",
"type": "uint256"
},
{
"indexed": false,
"name": "executionCostEstimate",
"type": "uint256"
},
{
"indexed": false,
"name": "executorPayout",
"type": "uint256"
}
],
"name": "LogClaimExecutedBurnedAndDeleted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "executionClaimId",
"type": "uint256"
},
{
"indexed": true,
"name": "userProxy",
"type": "address"
},
{
"indexed": true,
"name": "cancelor",
"type": "address"
}
],
"name": "LogExecutionClaimCancelled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "executorPrice",
"type": "uint256"
},
{
"indexed": false,
"name": "newExecutorPrice",
"type": "uint256"
}
],
"name": "LogSetExecutorPrice",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "executorClaimLifespan",
"type": "uint256"
},
{
"indexed": false,
"name": "newExecutorClaimLifespan",
"type": "uint256"
}
],
"name": "LogSetExecutorClaim",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "executor",
"type": "address"
},
{
"indexed": false,
"name": "withdrawAmount",
"type": "uint256"
}
],
"name": "LogSetExecutorBalanceWithdrawal",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "userProxy",
"type": "address"
},
{
"indexed": false,
"name": "userProxyGuard",
"type": "address"
}
],
"name": "LogDevirginize",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "userProxyGuard",
"type": "address"
}
],
"name": "LogGuard",
"type": "event"
},
{
"constant": true,
"inputs": [
{
"name": "_trigger",
"type": "address"
},
{
"name": "_triggerPayload",
"type": "bytes"
},
{
"name": "_userProxy",
"type": "address"
},
{
"name": "_executePayload",
"type": "bytes"
},
{
"name": "_executeGas",
"type": "uint256"
},
{
"name": "_executionClaimId",
"type": "uint256"
},
{
"name": "_executionClaimExpiryDate",
"type": "uint256"
},
{
"name": "_executorFee",
"type": "uint256"
}
],
"name": "canExecute",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "constCanExecMaxGas",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "constExecSelector",
"outputs": [
{
"name": "",
"type": "bytes4"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "constExecuteGas",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "constGasInsideGasleftChecks",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "constGasOutsideGasleftChecks",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "constGuardFactory",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "constProxyRegistry",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getCanExecMaxGas",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getCurrentExecutionClaimId",
"outputs": [
{
"name": "currentId",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_executor",
"type": "address"
}
],
"name": "getExecutorBalance",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_executor",
"type": "address"
}
],
"name": "getExecutorPrice",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getGasInsideGasleftChecks",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getGasOutsideGasleftChecks",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_executionClaimId",
"type": "uint256"
}
],
"name": "getHashedExecutionClaim",
"outputs": [
{
"name": "",
"type": "bytes32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_actionGasStipend",
"type": "uint256"
}
],
"name": "getMinExecutionGasRequirement",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_action",
"type": "address"
},
{
"name": "_selectedExecutor",
"type": "address"
}
],
"name": "getMintingDepositPayable",
"outputs": [
{
"name": "mintingDepositPayable",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_executionClaimId",
"type": "uint256"
}
],
"name": "getProxyWithExecutionClaimId",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_userProxy",
"type": "address"
}
],
"name": "getuserProxyDeposit",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "guardFactory",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "isOwner",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "proxyRegistry",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment