mirror of
https://github.com/Instadapp/Gelato-automations.git
synced 2024-07-29 22:28:07 +00:00
169 lines
4.9 KiB
JSON
169 lines
4.9 KiB
JSON
[
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "contract IndexInterface",
|
|
"name": "_index",
|
|
"type": "address"
|
|
},
|
|
{ "internalType": "address", "name": "_gelatoCore", "type": "address" }
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "constructor"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "uint256", "name": "", "type": "uint256" },
|
|
{ "internalType": "address", "name": "", "type": "address" },
|
|
{ "internalType": "address", "name": "", "type": "address" },
|
|
{
|
|
"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": "", "type": "uint256" }
|
|
],
|
|
"name": "execPayload",
|
|
"outputs": [
|
|
{ "internalType": "bytes", "name": "payload", "type": "bytes" },
|
|
{ "internalType": "bool", "name": "", "type": "bool" }
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
|
|
"name": "execRevertCheck",
|
|
"outputs": [],
|
|
"stateMutability": "pure",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "gelatoCore",
|
|
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "index",
|
|
"outputs": [
|
|
{
|
|
"internalType": "contract IndexInterface",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "address", "name": "_userProxy", "type": "address" },
|
|
{ "internalType": "address", "name": "", "type": "address" },
|
|
{
|
|
"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": "",
|
|
"type": "tuple"
|
|
}
|
|
],
|
|
"name": "isProvided",
|
|
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}
|
|
]
|