2020-09-23 10:27:33 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"internalType": "contract IndexInterface",
|
|
|
|
"name": "_index",
|
|
|
|
"type": "address"
|
|
|
|
},
|
2020-10-15 18:04:08 +00:00
|
|
|
{"internalType": "address", "name": "_gelatoCore", "type": "address"}
|
2020-09-23 10:27:33 +00:00
|
|
|
],
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "constructor"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [
|
2020-10-15 18:04:08 +00:00
|
|
|
{"internalType": "uint256", "name": "", "type": "uint256"},
|
|
|
|
{"internalType": "address", "name": "", "type": "address"},
|
|
|
|
{"internalType": "address", "name": "", "type": "address"},
|
2020-09-23 10:27:33 +00:00
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "contract IGelatoCondition",
|
|
|
|
"name": "inst",
|
|
|
|
"type": "address"
|
|
|
|
},
|
2020-10-15 18:04:08 +00:00
|
|
|
{"internalType": "bytes", "name": "data", "type": "bytes"}
|
2020-09-23 10:27:33 +00:00
|
|
|
],
|
|
|
|
"internalType": "struct Condition[]",
|
|
|
|
"name": "conditions",
|
|
|
|
"type": "tuple[]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"components": [
|
2020-10-15 18:04:08 +00:00
|
|
|
{"internalType": "address", "name": "addr", "type": "address"},
|
|
|
|
{"internalType": "bytes", "name": "data", "type": "bytes"},
|
2020-09-23 10:27:33 +00:00
|
|
|
{
|
|
|
|
"internalType": "enum Operation",
|
|
|
|
"name": "operation",
|
|
|
|
"type": "uint8"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "enum DataFlow",
|
|
|
|
"name": "dataFlow",
|
|
|
|
"type": "uint8"
|
|
|
|
},
|
2020-10-15 18:04:08 +00:00
|
|
|
{"internalType": "uint256", "name": "value", "type": "uint256"},
|
|
|
|
{"internalType": "bool", "name": "termsOkCheck", "type": "bool"}
|
2020-09-23 10:27:33 +00:00
|
|
|
],
|
|
|
|
"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"
|
|
|
|
},
|
2020-10-15 18:04:08 +00:00
|
|
|
{"internalType": "uint256", "name": "", "type": "uint256"}
|
2020-09-23 10:27:33 +00:00
|
|
|
],
|
|
|
|
"name": "execPayload",
|
|
|
|
"outputs": [
|
2020-10-15 18:04:08 +00:00
|
|
|
{"internalType": "bytes", "name": "payload", "type": "bytes"},
|
|
|
|
{"internalType": "bool", "name": "", "type": "bool"}
|
2020-09-23 10:27:33 +00:00
|
|
|
],
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
2020-10-15 18:04:08 +00:00
|
|
|
"inputs": [{"internalType": "bytes", "name": "", "type": "bytes"}],
|
2020-09-23 10:27:33 +00:00
|
|
|
"name": "execRevertCheck",
|
|
|
|
"outputs": [],
|
|
|
|
"stateMutability": "pure",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [],
|
|
|
|
"name": "gelatoCore",
|
2020-10-15 18:04:08 +00:00
|
|
|
"outputs": [{"internalType": "address", "name": "", "type": "address"}],
|
2020-09-23 10:27:33 +00:00
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [],
|
|
|
|
"name": "index",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"internalType": "contract IndexInterface",
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [
|
2020-10-15 18:04:08 +00:00
|
|
|
{"internalType": "address", "name": "_userProxy", "type": "address"},
|
|
|
|
{"internalType": "address", "name": "", "type": "address"},
|
2020-09-23 10:27:33 +00:00
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"internalType": "contract IGelatoCondition",
|
|
|
|
"name": "inst",
|
|
|
|
"type": "address"
|
|
|
|
},
|
2020-10-15 18:04:08 +00:00
|
|
|
{"internalType": "bytes", "name": "data", "type": "bytes"}
|
2020-09-23 10:27:33 +00:00
|
|
|
],
|
|
|
|
"internalType": "struct Condition[]",
|
|
|
|
"name": "conditions",
|
|
|
|
"type": "tuple[]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"components": [
|
2020-10-15 18:04:08 +00:00
|
|
|
{"internalType": "address", "name": "addr", "type": "address"},
|
|
|
|
{"internalType": "bytes", "name": "data", "type": "bytes"},
|
2020-09-23 10:27:33 +00:00
|
|
|
{
|
|
|
|
"internalType": "enum Operation",
|
|
|
|
"name": "operation",
|
|
|
|
"type": "uint8"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "enum DataFlow",
|
|
|
|
"name": "dataFlow",
|
|
|
|
"type": "uint8"
|
|
|
|
},
|
2020-10-15 18:04:08 +00:00
|
|
|
{"internalType": "uint256", "name": "value", "type": "uint256"},
|
|
|
|
{"internalType": "bool", "name": "termsOkCheck", "type": "bool"}
|
2020-09-23 10:27:33 +00:00
|
|
|
],
|
|
|
|
"internalType": "struct Action[]",
|
|
|
|
"name": "actions",
|
|
|
|
"type": "tuple[]"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "selfProviderGasLimit",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "selfProviderGasPriceCeil",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"internalType": "struct Task",
|
|
|
|
"name": "",
|
|
|
|
"type": "tuple"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "isProvided",
|
2020-10-15 18:04:08 +00:00
|
|
|
"outputs": [{"internalType": "string", "name": "", "type": "string"}],
|
2020-09-23 10:27:33 +00:00
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
}
|
|
|
|
]
|