mirror of
https://github.com/Instadapp/Gelato-automations.git
synced 2024-07-29 22:28:07 +00:00
3857 lines
346 KiB
JSON
3857 lines
346 KiB
JSON
|
{
|
||
|
"address": "0x025030bdaa159f281cae63873e68313a703725a5",
|
||
|
"abi": [
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "gelatoGasPriceOracle",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "oracleRequestData",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "gelatoMaxGas",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "internalGasRequirement",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "minExecutorStake",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "executorSuccessShare",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "sysAdminSuccessShare",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "totalSuccessShare",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct IGelatoSysAdmin.GelatoSysAdminInitialState",
|
||
|
"name": "_",
|
||
|
"type": "tuple"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "constructor"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "executor",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "uint256",
|
||
|
"name": "taskReceiptId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "string",
|
||
|
"name": "reason",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogCanExecFailed",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "executor",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "uint256",
|
||
|
"name": "taskReceiptId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "executorRefund",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "string",
|
||
|
"name": "reason",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogExecReverted",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "executor",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "uint256",
|
||
|
"name": "taskReceiptId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "executorSuccessFee",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "sysAdminSuccessFee",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogExecSuccess",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "oldExecutor",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "newExecutor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogExecutorAssignedExecutor",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "executor",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "withdrawAmount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogExecutorBalanceWithdrawn",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "executor",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "oldStake",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "newStake",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogExecutorStaked",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "oldShare",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "newShare",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "total",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogExecutorSuccessShareSet",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "executor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogExecutorUnstaked",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "newProviderFunds",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogFundsProvided",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "realWithdrawAmount",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "newProviderFunds",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogFundsUnprovided",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "oldOracle",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "newOracle",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogGelatoGasPriceOracleSet",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "oldMaxGas",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "newMaxGas",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogGelatoMaxGasSet",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "oldRequirment",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "newRequirment",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogInternalGasRequirementSet",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "oldMin",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "newMin",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogMinExecutorStakeSet",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "bytes",
|
||
|
"name": "oldData",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "bytes",
|
||
|
"name": "newData",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogOracleRequestDataSet",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "oldExecutor",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "newExecutor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogProviderAssignedExecutor",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogProviderModuleAdded",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogProviderModuleRemoved",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "oldBalance",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "newBalance",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogSysAdminFundsWithdrawn",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "oldShare",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "newShare",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "total",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogSysAdminSuccessShareSet",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "uint256",
|
||
|
"name": "taskReceiptId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "cancellor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogTaskCancelled",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "bytes32",
|
||
|
"name": "taskSpecHash",
|
||
|
"type": "bytes32"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "oldTaskSpecGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "newTaskSpecGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogTaskSpecGasPriceCeilSet",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "bytes32",
|
||
|
"name": "taskSpecHash",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogTaskSpecProvided",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "bytes32",
|
||
|
"name": "taskSpecHash",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogTaskSpecUnprovided",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "uint256",
|
||
|
"name": "taskReceiptId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "bytes32",
|
||
|
"name": "taskReceiptHash",
|
||
|
"type": "bytes32"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "id",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "userProxy",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "index",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task[]",
|
||
|
"name": "tasks",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "expiryDate",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "cycleId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "submissionsLeft",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"indexed": false,
|
||
|
"internalType": "struct TaskReceipt",
|
||
|
"name": "taskReceipt",
|
||
|
"type": "tuple"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogTaskSubmitted",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "previousOwner",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "newOwner",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "OwnershipTransferred",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "EXEC_TX_OVERHEAD",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "NO_CEIL",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule[]",
|
||
|
"name": "_modules",
|
||
|
"type": "address[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "addProviderModules",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "id",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "userProxy",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "index",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task[]",
|
||
|
"name": "tasks",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "expiryDate",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "cycleId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "submissionsLeft",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct TaskReceipt",
|
||
|
"name": "_TR",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gelatoGasPrice",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "canExec",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "string",
|
||
|
"name": "",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_userProxy",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "_provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task",
|
||
|
"name": "_task",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_expiryDate",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "canSubmitTask",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "string",
|
||
|
"name": "",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "id",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "userProxy",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "index",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task[]",
|
||
|
"name": "tasks",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "expiryDate",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "cycleId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "submissionsLeft",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct TaskReceipt",
|
||
|
"name": "_TR",
|
||
|
"type": "tuple"
|
||
|
}
|
||
|
],
|
||
|
"name": "cancelTask",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "currentTaskReceiptId",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "id",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "userProxy",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "index",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task[]",
|
||
|
"name": "tasks",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "expiryDate",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "cycleId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "submissionsLeft",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct TaskReceipt",
|
||
|
"name": "_TR",
|
||
|
"type": "tuple"
|
||
|
}
|
||
|
],
|
||
|
"name": "exec",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "id",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "userProxy",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "index",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task[]",
|
||
|
"name": "tasks",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "expiryDate",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "cycleId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "submissionsLeft",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct TaskReceipt",
|
||
|
"name": "taskReceipt",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gelatoGasPrice",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "executionWrapper",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "enum GelatoCore.ExecutionResult",
|
||
|
"name": "",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "string",
|
||
|
"name": "",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_newExecutor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "executorAssignsExecutor",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "executorByProvider",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "executorProvidersCount",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "executorStake",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gas",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gasPrice",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "executorSuccessFee",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "executorSuccessShare",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "gelatoGasPriceOracle",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "gelatoMaxGas",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "id",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "userProxy",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "index",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task[]",
|
||
|
"name": "tasks",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "expiryDate",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "cycleId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "submissionsLeft",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct TaskReceipt",
|
||
|
"name": "_TR",
|
||
|
"type": "tuple"
|
||
|
}
|
||
|
],
|
||
|
"name": "hashTaskReceipt",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "pure",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "address[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "gasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct TaskSpec",
|
||
|
"name": "_taskSpec",
|
||
|
"type": "tuple"
|
||
|
}
|
||
|
],
|
||
|
"name": "hashTaskSpec",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "internalGasRequirement",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_executor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "isExecutorAssigned",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_executor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "isExecutorMinStaked",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "_module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "isModuleProvided",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "isOwner",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gelatoMaxGas",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gelatoGasPrice",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "isProviderLiquid",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_userProxy",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "_provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task",
|
||
|
"name": "_task",
|
||
|
"type": "tuple"
|
||
|
}
|
||
|
],
|
||
|
"name": "isTaskProvided",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "string",
|
||
|
"name": "res",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_provider",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "address[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "gasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct TaskSpec",
|
||
|
"name": "_taskSpec",
|
||
|
"type": "tuple"
|
||
|
}
|
||
|
],
|
||
|
"name": "isTaskSpecProvided",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "string",
|
||
|
"name": "",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gelatoMaxGas",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gelatoGasPrice",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "minExecProviderFunds",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "minExecutorStake",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "id",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "userProxy",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "index",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task[]",
|
||
|
"name": "tasks",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "expiryDate",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "cycleId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "submissionsLeft",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct TaskReceipt[]",
|
||
|
"name": "_taskReceipts",
|
||
|
"type": "tuple[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "multiCancelTasks",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_executor",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "address[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "gasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct TaskSpec[]",
|
||
|
"name": "_taskSpecs",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule[]",
|
||
|
"name": "_modules",
|
||
|
"type": "address[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "multiProvide",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "payable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address[]",
|
||
|
"name": "_providers",
|
||
|
"type": "address[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_newExecutor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "multiReassignProviders",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_withdrawAmount",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "address[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "gasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct TaskSpec[]",
|
||
|
"name": "_taskSpecs",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule[]",
|
||
|
"name": "_modules",
|
||
|
"type": "address[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "multiUnprovide",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "oracleRequestData",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "owner",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_provider",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "provideFunds",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "payable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "address[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "gasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct TaskSpec[]",
|
||
|
"name": "_taskSpecs",
|
||
|
"type": "tuple[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "provideTaskSpecs",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_newExecutor",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "providerAssignsExecutor",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_userProxy",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "_provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task",
|
||
|
"name": "_task",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gelatoGasPrice",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "providerCanExec",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "string",
|
||
|
"name": "",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "providerFunds",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_userProxy",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "_provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task",
|
||
|
"name": "_task",
|
||
|
"type": "tuple"
|
||
|
}
|
||
|
],
|
||
|
"name": "providerModuleChecks",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "string",
|
||
|
"name": "",
|
||
|
"type": "string"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_provider",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "providerModules",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule[]",
|
||
|
"name": "",
|
||
|
"type": "address[]"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule[]",
|
||
|
"name": "_modules",
|
||
|
"type": "address[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "removeProviderModules",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "renounceOwnership",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_percentage",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "setExecutorSuccessShare",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "_newOracle",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "setGelatoGasPriceOracle",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_newMaxGas",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "setGelatoMaxGas",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_newRequirement",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "setInternalGasRequirement",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_newMin",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "setMinExecutorStake",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "_requestData",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"name": "setOracleRequestData",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_percentage",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "setSysAdminSuccessShare",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "_taskSpecHash",
|
||
|
"type": "bytes32"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "setTaskSpecGasPriceCeil",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "stakeExecutor",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "payable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "_provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task",
|
||
|
"name": "_task",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_expiryDate",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "submitTask",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "_provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task[]",
|
||
|
"name": "_tasks",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_expiryDate",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_sumOfRequestedTaskSubmits",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "submitTaskChain",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract IGelatoProviderModule",
|
||
|
"name": "module",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Provider",
|
||
|
"name": "_provider",
|
||
|
"type": "tuple"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition",
|
||
|
"name": "inst",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Condition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasLimit",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "selfProviderGasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Task[]",
|
||
|
"name": "_tasks",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_expiryDate",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_cycles",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "submitTaskCycle",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "sysAdminFunds",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gas",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_gasPrice",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "sysAdminSuccessFee",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "sysAdminSuccessShare",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "taskReceiptHash",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"name": "taskSpecGasPriceCeil",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "totalSuccessShare",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "newOwner",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "transferOwnership",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_withdrawAmount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "unprovideFunds",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "realWithdrawAmount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "contract IGelatoCondition[]",
|
||
|
"name": "conditions",
|
||
|
"type": "address[]"
|
||
|
},
|
||
|
{
|
||
|
"components": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "addr",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum Operation",
|
||
|
"name": "operation",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "enum DataFlow",
|
||
|
"name": "dataFlow",
|
||
|
"type": "uint8"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "value",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "termsOkCheck",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct Action[]",
|
||
|
"name": "actions",
|
||
|
"type": "tuple[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "gasPriceCeil",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"internalType": "struct TaskSpec[]",
|
||
|
"name": "_taskSpecs",
|
||
|
"type": "tuple[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "unprovideTaskSpecs",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "unstakeExecutor",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_withdrawAmount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "withdrawExcessExecutorStake",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "realWithdrawAmount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "_amount",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address payable",
|
||
|
"name": "_to",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "withdrawSysAdminFunds",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "realWithdrawAmount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
}
|
||
|
],
|
||
|
"transactionHash": "0xe1525de7b17464c90d5dfaa71098745058c42ef36c1d7854139115a48b5bf1e6",
|
||
|
"receipt": {
|
||
|
"to": null,
|
||
|
"from": "0x5b753bf02a42bc73b5846dfd16a8f2e082b99a6a",
|
||
|
"contractAddress": "0x025030bdaa159f281cae63873e68313a703725a5",
|
||
|
"transactionIndex": "0x39",
|
||
|
"gasUsed": "0x533987",
|
||
|
"logsBloom": "0x00000000000000000400000000000000000000000000000000800000000000000000000000040000000000000000000000000000000000000000000000000000000000400000000000000000000000000001000000000000000000000000000000000000020000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000004000000000001000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
|
||
|
"blockHash": "0x5b1944d37d02d405bbb798661730a787c0be6fc1e99274ea495933d25167eb2a",
|
||
|
"transactionHash": "0xe1525de7b17464c90d5dfaa71098745058c42ef36c1d7854139115a48b5bf1e6",
|
||
|
"logs": [
|
||
|
{
|
||
|
"address": "0x025030bdaa159f281cae63873e68313a703725a5",
|
||
|
"blockHash": "0x5b1944d37d02d405bbb798661730a787c0be6fc1e99274ea495933d25167eb2a",
|
||
|
"blockNumber": "0xad5ec3",
|
||
|
"data": "0x",
|
||
|
"logIndex": "0xa3",
|
||
|
"removed": false,
|
||
|
"topics": [
|
||
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
||
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
||
|
"0x0000000000000000000000005b753bf02a42bc73b5846dfd16a8f2e082b99a6a"
|
||
|
],
|
||
|
"transactionHash": "0xe1525de7b17464c90d5dfaa71098745058c42ef36c1d7854139115a48b5bf1e6",
|
||
|
"transactionIndex": "0x39"
|
||
|
}
|
||
|
],
|
||
|
"blockNumber": "0xad5ec3",
|
||
|
"cumulativeGasUsed": "0xb2b0aa",
|
||
|
"status": "0x1"
|
||
|
},
|
||
|
"args": [
|
||
|
{
|
||
|
"gelatoGasPriceOracle": "0x169e633a2d1e6c10dd91238ba11c4a708dfef37c",
|
||
|
"oracleRequestData": "0x50d25bcd",
|
||
|
"gelatoMaxGas": 5000000,
|
||
|
"internalGasRequirement": 100000,
|
||
|
"minExecutorStake": 0,
|
||
|
"executorSuccessShare": 0,
|
||
|
"sysAdminSuccessShare": 0,
|
||
|
"totalSuccessShare": 0
|
||
|
}
|
||
|
],
|
||
|
"solcInputHash": "d9397bda7e9d5c90e2ef9a83ef888759",
|
||
|
"metadata": "{\"compiler\":{\"version\":\"0.6.10+commit.00c0fcaf\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"gelatoGasPriceOracle\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"oracleRequestData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"gelatoMaxGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"internalGasRequirement\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minExecutorStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"executorSuccessShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"sysAdminSuccessShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalSuccessShare\",\"type\":\"uint256\"}],\"internalType\":\"struct IGelatoSysAdmin.GelatoSysAdminInitialState\",\"name\":\"_\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"taskReceiptId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"LogCanExecFailed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"taskReceiptId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"executorRefund\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"LogExecReverted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"taskReceiptId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"executorSuccessFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sysAdminSuccessFee\",\"type\":\"uint256\"}],\"name\":\"LogExecSuccess\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldExecutor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newExecutor\",\"type\":\"address\"}],\"name\":\"LogExecutorAssignedExecutor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawAmount\",\"type\":\"uint256\"}],\"name\":\"LogExecutorBalanceWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldStake\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newStake\",\"type\":\"uint256\"}],\"name\":\"LogExecutorStaked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldShare\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newShare\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"total\",\"type\":\"uint256\"}],\"name\":\"LogExecutorSuccessShareSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"LogExecutorUnstaked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\
|
||
|
"bytecode": "0x60806040523480156200001157600080fd5b50604051620062b0380380620062b083398101604081905262000034916200023e565b600080546001600160a01b03191633178082556040516001600160a01b039190911691907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38051600180546001600160a01b0319166001600160a01b039092169190911790556020808201518051620000b6926002920190620000ec565b5060408101516003556060810151600455608081015160055560a081015160065560c081015160075560e001516008556200032c565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200012f57805160ff19168380011785556200015f565b828001600101855582156200015f579182015b828111156200015f57825182559160200191906001019062000142565b506200016d92915062000171565b5090565b6200018e91905b808211156200016d576000815560010162000178565b90565b80516001600160a01b0381168114620001a957600080fd5b92915050565b600082601f830112620001c0578081fd5b81516001600160401b03811115620001d6578182fd5b6020620001ec601f8301601f1916820162000305565b925081835284818386010111156200020357600080fd5b60005b828110156200022357848101820151848201830152810162000206565b82811115620002355760008284860101525b50505092915050565b60006020828403121562000250578081fd5b81516001600160401b038082111562000267578283fd5b6101009184018086038313156200027c578384fd5b620002878362000305565b62000293878362000191565b81526020820151935082841115620002a9578485fd5b620002b787858401620001af565b602082015260408201516040820152606082015160608201526080820151608082015260a082015160a082015260c082015160c082015260e082015160e08201528094505050505092915050565b6040518181016001600160401b03811182821017156200032457600080fd5b604052919050565b615f74806200033c6000396000f3fe6080604052600436106103ef5760003560e01c80639075180f11610208578063bf2a458a11610118578063d58b172c116100ab578063e9d1a8a91161007a578063e9d1a8a914610b4c578063f2fde38b14610b6c578063f323609914610b8c578063f8559c0814610bac578063ff92b1a814610bcc576103ef565b8063d58b172c14610acc578063d922de9914610aec578063e138d05014610b0c578063e61235b714610b2c576103ef565b8063ca1efcdb116100e7578063ca1efcdb14610a4c578063cf37b49514610a6c578063d378597414610a8c578063d3ab1f7a14610aac576103ef565b8063bf2a458a146109bf578063c234feb6146109ec578063c6638a8b14610a0c578063ca05abe114610a2c576103ef565b8063a4ceb6a31161019b578063b348e2681161016a578063b348e2681461092a578063bac3bf131461094a578063bb07c5031461096a578063bedf04a71461097f578063beecd4931461099f576103ef565b8063a4ceb6a3146108d8578063a4fffd2c146108ed578063b300f75214610902578063b30f457214610922576103ef565b80639a53cb79116101d75780639a53cb79146108705780639aad3798146108905780639d703cdf146108a3578063a4c12256146108b8576103ef565b80639075180f146107fb578063949d87901461081057806394caca6f1461083057806399b2261714610850576103ef565b8063613f2b7d1161030357806385f75f70116102965780638e2e925f116102655780638e2e925f146107875780638e68595d1461079c5780638f01bf77146107bc5780638f32d59b146107d1578063905bc3e3146107e6576103ef565b806385f75f7014610705578063888a4a7a1461072557806388a5e330146107455780638da5cb5b14610765576103ef565b8063715018a6116102d2578063715018a61461069057806372d55083146106a55780637c3ceda4146106c55780637f9fe1a2146106e5576103ef565b8063613f2b7d146106105780636264f6981461063057806363905be8146106505780636d00e9a014610670576103ef565b80631f3bb9bc116103865780633e75a9a8116103555780633e75a9a814610560578063413a0ed31461058057806348f3c009146105a05780634a088019146105ce57806352ee5bc7146105fb576103ef565b80631f3bb9bc146104eb5780632325b1801461051857806323eaa5df1461053857806328d0cad71461054d576103ef565b8063172e7bc9116103c2578063172e7bc9146104765780631746a2b41461048b578063193d4922146104ab5780631a69e173146104cb576103ef565b806302526490146103f45780630b379b1814610416578063114c3bcd1461044c57806311c7662414610461575b600080fd5b34801561040057600080fd5b5061041461040f366004614787565b610bec565b005b34801561042257600080fd5b506104366104313660046148e7565b610c50565b604051610443919061506b565b60405180910390f35b34801561045857600080fd5b50610414610d08565b34801561046d57600080fd5b50610436610da9565b34801561048257600080fd5b50610436610daf565b34801561049757600080fd5b506104146104a63660046144b9565b610db5565b3480156104b757600080fd5b506104
|
||
|
"deployedBytecode": "0x6080604052600436106103ef5760003560e01c80639075180f11610208578063bf2a458a11610118578063d58b172c116100ab578063e9d1a8a91161007a578063e9d1a8a914610b4c578063f2fde38b14610b6c578063f323609914610b8c578063f8559c0814610bac578063ff92b1a814610bcc576103ef565b8063d58b172c14610acc578063d922de9914610aec578063e138d05014610b0c578063e61235b714610b2c576103ef565b8063ca1efcdb116100e7578063ca1efcdb14610a4c578063cf37b49514610a6c578063d378597414610a8c578063d3ab1f7a14610aac576103ef565b8063bf2a458a146109bf578063c234feb6146109ec578063c6638a8b14610a0c578063ca05abe114610a2c576103ef565b8063a4ceb6a31161019b578063b348e2681161016a578063b348e2681461092a578063bac3bf131461094a578063bb07c5031461096a578063bedf04a71461097f578063beecd4931461099f576103ef565b8063a4ceb6a3146108d8578063a4fffd2c146108ed578063b300f75214610902578063b30f457214610922576103ef565b80639a53cb79116101d75780639a53cb79146108705780639aad3798146108905780639d703cdf146108a3578063a4c12256146108b8576103ef565b80639075180f146107fb578063949d87901461081057806394caca6f1461083057806399b2261714610850576103ef565b8063613f2b7d1161030357806385f75f70116102965780638e2e925f116102655780638e2e925f146107875780638e68595d1461079c5780638f01bf77146107bc5780638f32d59b146107d1578063905bc3e3146107e6576103ef565b806385f75f7014610705578063888a4a7a1461072557806388a5e330146107455780638da5cb5b14610765576103ef565b8063715018a6116102d2578063715018a61461069057806372d55083146106a55780637c3ceda4146106c55780637f9fe1a2146106e5576103ef565b8063613f2b7d146106105780636264f6981461063057806363905be8146106505780636d00e9a014610670576103ef565b80631f3bb9bc116103865780633e75a9a8116103555780633e75a9a814610560578063413a0ed31461058057806348f3c009146105a05780634a088019146105ce57806352ee5bc7146105fb576103ef565b80631f3bb9bc146104eb5780632325b1801461051857806323eaa5df1461053857806328d0cad71461054d576103ef565b8063172e7bc9116103c2578063172e7bc9146104765780631746a2b41461048b578063193d4922146104ab5780631a69e173146104cb576103ef565b806302526490146103f45780630b379b1814610416578063114c3bcd1461044c57806311c7662414610461575b600080fd5b34801561040057600080fd5b5061041461040f366004614787565b610bec565b005b34801561042257600080fd5b506104366104313660046148e7565b610c50565b604051610443919061506b565b60405180910390f35b34801561045857600080fd5b50610414610d08565b34801561046d57600080fd5b50610436610da9565b34801561048257600080fd5b50610436610daf565b34801561049757600080fd5b506104146104a63660046144b9565b610db5565b3480156104b757600080fd5b506104146104c63660046148e7565b610df2565b3480156104d757600080fd5b506104146104e6366004614628565b610e56565b3480156104f757600080fd5b5061050b61050636600461486a565b610eef565b604051610443919061508a565b34801561052457600080fd5b50610436610533366004614628565b6114ad565b34801561054457600080fd5b5061043661150b565b61041461055b36600461427b565b611511565b34801561056c57600080fd5b5061041461057b36600461456b565b6115bb565b34801561058c57600080fd5b5061041461059b3660046145f6565b6115ef565b3480156105ac57600080fd5b506105c06105bb36600461486a565b6116b2565b604051610443929190615142565b3480156105da57600080fd5b506105ee6105e936600461436c565b611722565b6040516104439190615060565b34801561060757600080fd5b5061043661174a565b34801561061c57600080fd5b5061043661062b366004614341565b611750565b34801561063c57600080fd5b5061043661064b36600461427b565b61176d565b34801561065c57600080fd5b5061041461066b3660046148e7565b61177f565b34801561067c57600080fd5b5061043661068b36600461427b565b6117e3565b34801561069c57600080fd5b506104146117f5565b3480156106b157600080fd5b506104146106c0366004614539565b611863565b3480156106d157600080fd5b506104146106e0366004614539565b61193b565b3480156106f157600080fd5b506104146107003660046145f6565b611a07565b34801561071157600080fd5b506105ee61072036600461427b565b611aac565b34801561073157600080fd5b50610436610740366004614628565b611ad0565b34801561075157600080fd5b5061041461076036600461427b565b611b1f565b34801561077157600080fd5b5061077a611c4f565b6040516104439190614f47565b34801561079357600080fd5b50610436611c5f565b3480156107a857600080fd5b5061050b6107b73660046143d2565b611c65565b3480156107c857600080fd5b50610436611d44565b3480156107dd57600080fd5b506105ee611d4a565b3480156107f257600080fd5b
|
||
|
"devdoc": {
|
||
|
"author": "Luis Schliesske & Hilmar Orth",
|
||
|
"details": "Find all NatSpecs inside IGelatoCore",
|
||
|
"methods": {
|
||
|
"isOwner()": {
|
||
|
"details": "Returns true if the caller is the current owner."
|
||
|
},
|
||
|
"owner()": {
|
||
|
"details": "Returns the address of the current owner."
|
||
|
},
|
||
|
"renounceOwnership()": {
|
||
|
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."
|
||
|
},
|
||
|
"transferOwnership(address)": {
|
||
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
||
|
}
|
||
|
},
|
||
|
"title": "GelatoCore"
|
||
|
},
|
||
|
"userdoc": {
|
||
|
"methods": {},
|
||
|
"notice": "Task: submission, validation, execution, and cancellation"
|
||
|
},
|
||
|
"storageLayout": {
|
||
|
"storage": [
|
||
|
{
|
||
|
"astId": 510,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "_owner",
|
||
|
"offset": 0,
|
||
|
"slot": "0",
|
||
|
"type": "t_address"
|
||
|
},
|
||
|
{
|
||
|
"astId": 10223,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "gelatoGasPriceOracle",
|
||
|
"offset": 0,
|
||
|
"slot": "1",
|
||
|
"type": "t_address"
|
||
|
},
|
||
|
{
|
||
|
"astId": 10226,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "oracleRequestData",
|
||
|
"offset": 0,
|
||
|
"slot": "2",
|
||
|
"type": "t_bytes_storage"
|
||
|
},
|
||
|
{
|
||
|
"astId": 10229,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "gelatoMaxGas",
|
||
|
"offset": 0,
|
||
|
"slot": "3",
|
||
|
"type": "t_uint256"
|
||
|
},
|
||
|
{
|
||
|
"astId": 10232,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "internalGasRequirement",
|
||
|
"offset": 0,
|
||
|
"slot": "4",
|
||
|
"type": "t_uint256"
|
||
|
},
|
||
|
{
|
||
|
"astId": 10235,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "minExecutorStake",
|
||
|
"offset": 0,
|
||
|
"slot": "5",
|
||
|
"type": "t_uint256"
|
||
|
},
|
||
|
{
|
||
|
"astId": 10238,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "executorSuccessShare",
|
||
|
"offset": 0,
|
||
|
"slot": "6",
|
||
|
"type": "t_uint256"
|
||
|
},
|
||
|
{
|
||
|
"astId": 10241,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "sysAdminSuccessShare",
|
||
|
"offset": 0,
|
||
|
"slot": "7",
|
||
|
"type": "t_uint256"
|
||
|
},
|
||
|
{
|
||
|
"astId": 10244,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "totalSuccessShare",
|
||
|
"offset": 0,
|
||
|
"slot": "8",
|
||
|
"type": "t_uint256"
|
||
|
},
|
||
|
{
|
||
|
"astId": 10247,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "sysAdminFunds",
|
||
|
"offset": 0,
|
||
|
"slot": "9",
|
||
|
"type": "t_uint256"
|
||
|
},
|
||
|
{
|
||
|
"astId": 9182,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "providerFunds",
|
||
|
"offset": 0,
|
||
|
"slot": "10",
|
||
|
"type": "t_mapping(t_address,t_uint256)"
|
||
|
},
|
||
|
{
|
||
|
"astId": 9187,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "executorStake",
|
||
|
"offset": 0,
|
||
|
"slot": "11",
|
||
|
"type": "t_mapping(t_address,t_uint256)"
|
||
|
},
|
||
|
{
|
||
|
"astId": 9192,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "executorByProvider",
|
||
|
"offset": 0,
|
||
|
"slot": "12",
|
||
|
"type": "t_mapping(t_address,t_address)"
|
||
|
},
|
||
|
{
|
||
|
"astId": 9197,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "executorProvidersCount",
|
||
|
"offset": 0,
|
||
|
"slot": "13",
|
||
|
"type": "t_mapping(t_address,t_uint256)"
|
||
|
},
|
||
|
{
|
||
|
"astId": 9204,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "taskSpecGasPriceCeil",
|
||
|
"offset": 0,
|
||
|
"slot": "14",
|
||
|
"type": "t_mapping(t_address,t_mapping(t_bytes32,t_uint256))"
|
||
|
},
|
||
|
{
|
||
|
"astId": 9208,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "_providerModules",
|
||
|
"offset": 0,
|
||
|
"slot": "15",
|
||
|
"type": "t_mapping(t_address,t_struct(Set)12992_storage)"
|
||
|
},
|
||
|
{
|
||
|
"astId": 7554,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "currentTaskReceiptId",
|
||
|
"offset": 0,
|
||
|
"slot": "16",
|
||
|
"type": "t_uint256"
|
||
|
},
|
||
|
{
|
||
|
"astId": 7559,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "taskReceiptHash",
|
||
|
"offset": 0,
|
||
|
"slot": "17",
|
||
|
"type": "t_mapping(t_uint256,t_bytes32)"
|
||
|
}
|
||
|
],
|
||
|
"types": {
|
||
|
"t_address": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "address",
|
||
|
"numberOfBytes": "20"
|
||
|
},
|
||
|
"t_array(t_contract(IGelatoProviderModule)11609)dyn_storage": {
|
||
|
"base": "t_contract(IGelatoProviderModule)11609",
|
||
|
"encoding": "dynamic_array",
|
||
|
"label": "contract IGelatoProviderModule[]",
|
||
|
"numberOfBytes": "32"
|
||
|
},
|
||
|
"t_bytes32": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "bytes32",
|
||
|
"numberOfBytes": "32"
|
||
|
},
|
||
|
"t_bytes_storage": {
|
||
|
"encoding": "bytes",
|
||
|
"label": "bytes",
|
||
|
"numberOfBytes": "32"
|
||
|
},
|
||
|
"t_contract(IGelatoProviderModule)11609": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "contract IGelatoProviderModule",
|
||
|
"numberOfBytes": "20"
|
||
|
},
|
||
|
"t_mapping(t_address,t_address)": {
|
||
|
"encoding": "mapping",
|
||
|
"key": "t_address",
|
||
|
"label": "mapping(address => address)",
|
||
|
"numberOfBytes": "32",
|
||
|
"value": "t_address"
|
||
|
},
|
||
|
"t_mapping(t_address,t_mapping(t_bytes32,t_uint256))": {
|
||
|
"encoding": "mapping",
|
||
|
"key": "t_address",
|
||
|
"label": "mapping(address => mapping(bytes32 => uint256))",
|
||
|
"numberOfBytes": "32",
|
||
|
"value": "t_mapping(t_bytes32,t_uint256)"
|
||
|
},
|
||
|
"t_mapping(t_address,t_struct(Set)12992_storage)": {
|
||
|
"encoding": "mapping",
|
||
|
"key": "t_address",
|
||
|
"label": "mapping(address => struct ProviderModuleSet.Set)",
|
||
|
"numberOfBytes": "32",
|
||
|
"value": "t_struct(Set)12992_storage"
|
||
|
},
|
||
|
"t_mapping(t_address,t_uint256)": {
|
||
|
"encoding": "mapping",
|
||
|
"key": "t_address",
|
||
|
"label": "mapping(address => uint256)",
|
||
|
"numberOfBytes": "32",
|
||
|
"value": "t_uint256"
|
||
|
},
|
||
|
"t_mapping(t_bytes32,t_uint256)": {
|
||
|
"encoding": "mapping",
|
||
|
"key": "t_bytes32",
|
||
|
"label": "mapping(bytes32 => uint256)",
|
||
|
"numberOfBytes": "32",
|
||
|
"value": "t_uint256"
|
||
|
},
|
||
|
"t_mapping(t_contract(IGelatoProviderModule)11609,t_uint256)": {
|
||
|
"encoding": "mapping",
|
||
|
"key": "t_contract(IGelatoProviderModule)11609",
|
||
|
"label": "mapping(contract IGelatoProviderModule => uint256)",
|
||
|
"numberOfBytes": "32",
|
||
|
"value": "t_uint256"
|
||
|
},
|
||
|
"t_mapping(t_uint256,t_bytes32)": {
|
||
|
"encoding": "mapping",
|
||
|
"key": "t_uint256",
|
||
|
"label": "mapping(uint256 => bytes32)",
|
||
|
"numberOfBytes": "32",
|
||
|
"value": "t_bytes32"
|
||
|
},
|
||
|
"t_struct(Set)12992_storage": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "struct ProviderModuleSet.Set",
|
||
|
"members": [
|
||
|
{
|
||
|
"astId": 12988,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "index",
|
||
|
"offset": 0,
|
||
|
"slot": "0",
|
||
|
"type": "t_mapping(t_contract(IGelatoProviderModule)11609,t_uint256)"
|
||
|
},
|
||
|
{
|
||
|
"astId": 12991,
|
||
|
"contract": "contracts/gelato_core/GelatoCore.sol:GelatoCore",
|
||
|
"label": "modules",
|
||
|
"offset": 0,
|
||
|
"slot": "1",
|
||
|
"type": "t_array(t_contract(IGelatoProviderModule)11609)dyn_storage"
|
||
|
}
|
||
|
],
|
||
|
"numberOfBytes": "64"
|
||
|
},
|
||
|
"t_uint256": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "uint256",
|
||
|
"numberOfBytes": "32"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|