Gelato-automations/pre-compiles/ProviderModuleDsa_ABI.json

169 lines
4.9 KiB
JSON
Raw Normal View History

[
{
"inputs": [
{
"internalType": "contract IndexInterface",
"name": "_index",
"type": "address"
},
2020-11-16 16:55:04 +00:00
{ "internalType": "address", "name": "_gelatoCore", "type": "address" }
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
2020-11-16 16:55:04 +00:00
{ "internalType": "uint256", "name": "", "type": "uint256" },
{ "internalType": "address", "name": "", "type": "address" },
{ "internalType": "address", "name": "", "type": "address" },
{
"components": [
{
"components": [
{
"internalType": "contract IGelatoCondition",
"name": "inst",
"type": "address"
},
2020-11-16 16:55:04 +00:00
{ "internalType": "bytes", "name": "data", "type": "bytes" }
],
"internalType": "struct Condition[]",
"name": "conditions",
"type": "tuple[]"
},
{
"components": [
2020-11-16 16:55:04 +00:00
{ "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"
},
2020-11-16 16:55:04 +00:00
{ "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"
},
2020-11-16 16:55:04 +00:00
{ "internalType": "uint256", "name": "", "type": "uint256" }
],
"name": "execPayload",
"outputs": [
2020-11-16 16:55:04 +00:00
{ "internalType": "bytes", "name": "payload", "type": "bytes" },
{ "internalType": "bool", "name": "", "type": "bool" }
],
"stateMutability": "view",
"type": "function"
},
{
2020-11-16 16:55:04 +00:00
"inputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
"name": "execRevertCheck",
"outputs": [],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "gelatoCore",
2020-11-16 16:55:04 +00:00
"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": [
2020-11-16 16:55:04 +00:00
{ "internalType": "address", "name": "_userProxy", "type": "address" },
{ "internalType": "address", "name": "", "type": "address" },
{
"components": [
{
"components": [
{
"internalType": "contract IGelatoCondition",
"name": "inst",
"type": "address"
},
2020-11-16 16:55:04 +00:00
{ "internalType": "bytes", "name": "data", "type": "bytes" }
],
"internalType": "struct Condition[]",
"name": "conditions",
"type": "tuple[]"
},
{
"components": [
2020-11-16 16:55:04 +00:00
{ "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"
},
2020-11-16 16:55:04 +00:00
{ "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",
2020-11-16 16:55:04 +00:00
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
"stateMutability": "view",
"type": "function"
}
]