@zjbtest/contracts
Version:
AcalaNetwork Smart Contract library for Solidity
1,343 lines • 56.1 kB
JSON
{
"contractName": "ISchedule",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes",
"name": "task_id",
"type": "bytes"
}
],
"name": "CanceledCall",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes",
"name": "task_id",
"type": "bytes"
}
],
"name": "RescheduledCall",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "contract_address",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes",
"name": "task_id",
"type": "bytes"
}
],
"name": "ScheduledCall",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "contract_address",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "gas_limit",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "storage_limit",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "min_delay",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "input_data",
"type": "bytes"
}
],
"name": "scheduleCall",
"outputs": [
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "task_id",
"type": "bytes"
}
],
"name": "cancelCall",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "min_delay",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "task_id",
"type": "bytes"
}
],
"name": "rescheduleCall",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.8.0+commit.c7dfd78e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"task_id\",\"type\":\"bytes\"}],\"name\":\"CanceledCall\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"task_id\",\"type\":\"bytes\"}],\"name\":\"RescheduledCall\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contract_address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"task_id\",\"type\":\"bytes\"}],\"name\":\"ScheduledCall\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"task_id\",\"type\":\"bytes\"}],\"name\":\"cancelCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"min_delay\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"task_id\",\"type\":\"bytes\"}],\"name\":\"rescheduleCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contract_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas_limit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"storage_limit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"min_delay\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"input_data\",\"type\":\"bytes\"}],\"name\":\"scheduleCall\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/schedule/ISchedule.sol\":\"ISchedule\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/schedule/ISchedule.sol\":{\"keccak256\":\"0x871eb05dac41eb5b73a56b6bd6664bf72ba5b958c1716c95af8dd30ddd002925\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://176d17b237a55e8e6a44e2894f50ab93238d85adae3df61ae7316dc14c4d7a47\",\"dweb:/ipfs/QmdgHaL5AJYoi5EMfRPuNPBMiKEvMdHCw9wsDkwKfDfXre\"]}},\"version\":1}",
"bytecode": "0x",
"deployedBytecode": "0x",
"immutableReferences": {},
"generatedSources": [],
"deployedGeneratedSources": [],
"sourceMap": "",
"deployedSourceMap": "",
"source": "// SPDX-License-Identifier: GPL-3.0-or-later\n\npragma solidity ^0.8.0;\n\ninterface ISchedule {\n event ScheduledCall(address indexed sender, address indexed contract_address, bytes task_id);\n event CanceledCall(address indexed sender, bytes task_id);\n event RescheduledCall(address indexed sender, bytes task_id);\n\n // Schedule call the contract.\n // Returns a boolean value indicating whether the operation succeeded.\n function scheduleCall(\n address contract_address, // The contract address to be called in future.\n uint256 value, // How much native token to send alone with the call.\n uint256 gas_limit, // The gas limit for the call. Corresponding fee will be reserved upfront and refunded after call.\n uint256 storage_limit, // The storage limit for the call. Corresponding fee will be reserved upfront and refunded after call.\n uint256 min_delay, // Minimum number of blocks before the scheduled call will be called.\n bytes calldata input_data // The input data to the call.\n )\n external\n returns (bytes memory); // Returns a bytes value equal to the task_id of the task created.\n\n // Cancel schedule call the contract.\n // Returns a boolean value indicating whether the operation succeeded.\n function cancelCall(\n bytes calldata task_id // The task id of the scheduler. Get it from the `ScheduledCall` event.\n )\n external\n returns (bool); // Returns a boolean value indicating whether the operation succeeded.\n\n // Reschedule call the contract.\n // Returns a boolean value indicating whether the operation succeeded.\n function rescheduleCall(\n uint256 min_delay, // Minimum number of blocks before the scheduled call will be called.\n bytes calldata task_id // The task id of the scheduler. Get it from the `ScheduledCall` event.\n )\n external\n returns (bool); // Returns a boolean value indicating whether the operation succeeded.\n}\n",
"sourcePath": "/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/schedule/ISchedule.sol",
"ast": {
"absolutePath": "/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/schedule/ISchedule.sol",
"exportedSymbols": {
"ISchedule": [
932
]
},
"id": 933,
"license": "GPL-3.0-or-later",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 878,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "46:23:5"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 932,
"linearizedBaseContracts": [
932
],
"name": "ISchedule",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"id": 886,
"name": "ScheduledCall",
"nodeType": "EventDefinition",
"parameters": {
"id": 885,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 880,
"indexed": true,
"mutability": "mutable",
"name": "sender",
"nodeType": "VariableDeclaration",
"scope": 886,
"src": "117:22:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 879,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "117:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 882,
"indexed": true,
"mutability": "mutable",
"name": "contract_address",
"nodeType": "VariableDeclaration",
"scope": 886,
"src": "141:32:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 881,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "141:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 884,
"indexed": false,
"mutability": "mutable",
"name": "task_id",
"nodeType": "VariableDeclaration",
"scope": 886,
"src": "175:13:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 883,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "175:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "116:73:5"
},
"src": "97:93:5"
},
{
"anonymous": false,
"id": 892,
"name": "CanceledCall",
"nodeType": "EventDefinition",
"parameters": {
"id": 891,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 888,
"indexed": true,
"mutability": "mutable",
"name": "sender",
"nodeType": "VariableDeclaration",
"scope": 892,
"src": "214:22:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 887,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "214:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 890,
"indexed": false,
"mutability": "mutable",
"name": "task_id",
"nodeType": "VariableDeclaration",
"scope": 892,
"src": "238:13:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 889,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "238:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "213:39:5"
},
"src": "195:58:5"
},
{
"anonymous": false,
"id": 898,
"name": "RescheduledCall",
"nodeType": "EventDefinition",
"parameters": {
"id": 897,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 894,
"indexed": true,
"mutability": "mutable",
"name": "sender",
"nodeType": "VariableDeclaration",
"scope": 898,
"src": "280:22:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 893,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "280:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 896,
"indexed": false,
"mutability": "mutable",
"name": "task_id",
"nodeType": "VariableDeclaration",
"scope": 898,
"src": "304:13:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 895,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "304:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "279:39:5"
},
"src": "258:61:5"
},
{
"functionSelector": "168d560d",
"id": 915,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "scheduleCall",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 911,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 900,
"mutability": "mutable",
"name": "contract_address",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "466:24:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 899,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "466:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 902,
"mutability": "mutable",
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "548:13:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 901,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "548:7:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 904,
"mutability": "mutable",
"name": "gas_limit",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "625:17:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 903,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "625:7:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 906,
"mutability": "mutable",
"name": "storage_limit",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "751:21:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 905,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "751:7:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 908,
"mutability": "mutable",
"name": "min_delay",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "885:17:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 907,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "885:7:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 910,
"mutability": "mutable",
"name": "input_data",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "982:25:5",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 909,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "982:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "456:588:5"
},
"returnParameters": {
"id": 914,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 913,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "1071:12:5",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 912,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1071:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "1070:14:5"
},
"scope": 932,
"src": "435:650:5",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "ed67982b",
"id": 922,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "cancelCall",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 918,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 917,
"mutability": "mutable",
"name": "task_id",
"nodeType": "VariableDeclaration",
"scope": 922,
"src": "1304:22:5",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 916,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1304:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "1294:110:5"
},
"returnParameters": {
"id": 921,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 920,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 922,
"src": "1431:4:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 919,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1431:4:5",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "1430:6:5"
},
"scope": 932,
"src": "1275:162:5",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "80770aa2",
"id": 931,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "rescheduleCall",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 927,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 924,
"mutability": "mutable",
"name": "min_delay",
"nodeType": "VariableDeclaration",
"scope": 931,
"src": "1659:17:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 923,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1659:7:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 926,
"mutability": "mutable",
"name": "task_id",
"nodeType": "VariableDeclaration",
"scope": 931,
"src": "1756:22:5",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 925,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1756:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "1649:207:5"
},
"returnParameters": {
"id": 930,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 929,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 931,
"src": "1883:4:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 928,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1883:4:5",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "1882:6:5"
},
"scope": 932,
"src": "1626:263:5",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 933,
"src": "71:1891:5"
}
],
"src": "46:1917:5"
},
"legacyAST": {
"absolutePath": "/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/schedule/ISchedule.sol",
"exportedSymbols": {
"ISchedule": [
932
]
},
"id": 933,
"license": "GPL-3.0-or-later",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 878,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "46:23:5"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 932,
"linearizedBaseContracts": [
932
],
"name": "ISchedule",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"id": 886,
"name": "ScheduledCall",
"nodeType": "EventDefinition",
"parameters": {
"id": 885,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 880,
"indexed": true,
"mutability": "mutable",
"name": "sender",
"nodeType": "VariableDeclaration",
"scope": 886,
"src": "117:22:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 879,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "117:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 882,
"indexed": true,
"mutability": "mutable",
"name": "contract_address",
"nodeType": "VariableDeclaration",
"scope": 886,
"src": "141:32:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 881,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "141:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 884,
"indexed": false,
"mutability": "mutable",
"name": "task_id",
"nodeType": "VariableDeclaration",
"scope": 886,
"src": "175:13:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 883,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "175:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "116:73:5"
},
"src": "97:93:5"
},
{
"anonymous": false,
"id": 892,
"name": "CanceledCall",
"nodeType": "EventDefinition",
"parameters": {
"id": 891,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 888,
"indexed": true,
"mutability": "mutable",
"name": "sender",
"nodeType": "VariableDeclaration",
"scope": 892,
"src": "214:22:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 887,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "214:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 890,
"indexed": false,
"mutability": "mutable",
"name": "task_id",
"nodeType": "VariableDeclaration",
"scope": 892,
"src": "238:13:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 889,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "238:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "213:39:5"
},
"src": "195:58:5"
},
{
"anonymous": false,
"id": 898,
"name": "RescheduledCall",
"nodeType": "EventDefinition",
"parameters": {
"id": 897,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 894,
"indexed": true,
"mutability": "mutable",
"name": "sender",
"nodeType": "VariableDeclaration",
"scope": 898,
"src": "280:22:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 893,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "280:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 896,
"indexed": false,
"mutability": "mutable",
"name": "task_id",
"nodeType": "VariableDeclaration",
"scope": 898,
"src": "304:13:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 895,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "304:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "279:39:5"
},
"src": "258:61:5"
},
{
"functionSelector": "168d560d",
"id": 915,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "scheduleCall",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 911,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 900,
"mutability": "mutable",
"name": "contract_address",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "466:24:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 899,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "466:7:5",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 902,
"mutability": "mutable",
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "548:13:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 901,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "548:7:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 904,
"mutability": "mutable",
"name": "gas_limit",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "625:17:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 903,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "625:7:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 906,
"mutability": "mutable",
"name": "storage_limit",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "751:21:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 905,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "751:7:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 908,
"mutability": "mutable",
"name": "min_delay",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "885:17:5",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 907,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "885:7:5",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 910,
"mutability": "mutable",
"name": "input_data",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "982:25:5",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 909,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "982:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "456:588:5"
},
"returnParameters": {
"id": 914,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 913,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"scope": 915,
"src": "1071:12:5",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 912,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1071:5:5",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "1070:14:5"
},
"scope": 932,
"src": "435:650:5",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "ed67982b",
"id": 922,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "cancelCall",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 918,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 917,
"mutability": "mutable",
"name": "task_id",
"nodeType": "VariableDeclaration",
"scope": 922,
"src": "1304:22:5",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier":