2018-08-20 07:59:16 +00:00
|
|
|
{
|
|
|
|
"contractName": "Executor",
|
|
|
|
"abi": [
|
|
|
|
{
|
|
|
|
"payable": true,
|
|
|
|
"stateMutability": "payable",
|
|
|
|
"type": "fallback"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"anonymous": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"indexed": false,
|
|
|
|
"name": "newContract",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "ContractCreation",
|
|
|
|
"type": "event"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"bytecode": "0x6080604052348015600f57600080fd5b50603280601d6000396000f30060806040520000a165627a7a723058204f5ad88ba445e0f0319a85784ddeaeef53872efa9db1711743380c1ef494d78f0029",
|
|
|
|
"deployedBytecode": "0x60806040520000a165627a7a723058204f5ad88ba445e0f0319a85784ddeaeef53872efa9db1711743380c1ef494d78f0029",
|
|
|
|
"sourceMap": "214:1540:3:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;214:1540:3;;;;;;;",
|
|
|
|
"deployedSourceMap": "214:1540:3:-;;;",
|
|
|
|
"source": "pragma solidity 0.4.24;\nimport \"../common/Enum.sol\";\nimport \"../common/EtherPaymentFallback.sol\";\n\n\n/// @title Executor - A contract that can execute transactions\n/// @author Richard Meissner - <richard@gnosis.pm>\ncontract Executor is EtherPaymentFallback {\n\n event ContractCreation(address newContract);\n\n function execute(address to, uint256 value, bytes data, Enum.Operation operation, uint256 txGas)\n internal\n returns (bool success)\n {\n if (operation == Enum.Operation.Call)\n success = executeCall(to, value, data, txGas);\n else if (operation == Enum.Operation.DelegateCall)\n success = executeDelegateCall(to, data, txGas);\n else {\n address newContract = executeCreate(data);\n success = newContract != 0;\n emit ContractCreation(newContract);\n }\n }\n\n function executeCall(address to, uint256 value, bytes data, uint256 txGas)\n internal\n returns (bool success)\n {\n // solium-disable-next-line security/no-inline-assembly\n assembly {\n success := call(txGas, to, value, add(data, 0x20), mload(data), 0, 0)\n }\n }\n\n function executeDelegateCall(address to, bytes data, uint256 txGas)\n internal\n returns (bool success)\n {\n // solium-disable-next-line security/no-inline-assembly\n assembly {\n success := delegatecall(txGas, to, add(data, 0x20), mload(data), 0, 0)\n }\n }\n\n function executeCreate(bytes data)\n internal\n returns (address newContract)\n {\n // solium-disable-next-line security/no-inline-assembly\n assembly {\n newContract := create(0, add(data, 0x20), mload(data))\n }\n }\n}\n",
|
|
|
|
"sourcePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/base/Executor.sol",
|
2018-08-20 07:59:16 +00:00
|
|
|
"ast": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/base/Executor.sol",
|
2018-08-20 07:59:16 +00:00
|
|
|
"exportedSymbols": {
|
|
|
|
"Executor": [
|
2018-09-26 09:19:53 +00:00
|
|
|
892
|
2018-08-20 07:59:16 +00:00
|
|
|
]
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 893,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "SourceUnit",
|
|
|
|
"nodes": [
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 784,
|
2018-08-20 07:59:16 +00:00
|
|
|
"literals": [
|
|
|
|
"solidity",
|
|
|
|
"0.4",
|
|
|
|
".24"
|
|
|
|
],
|
|
|
|
"nodeType": "PragmaDirective",
|
|
|
|
"src": "0:23:3"
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/Enum.sol",
|
|
|
|
"file": "../common/Enum.sol",
|
|
|
|
"id": 785,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ImportDirective",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 893,
|
|
|
|
"sourceUnit": 1660,
|
|
|
|
"src": "24:28:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"symbolAliases": [],
|
|
|
|
"unitAlias": ""
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/EtherPaymentFallback.sol",
|
|
|
|
"file": "../common/EtherPaymentFallback.sol",
|
|
|
|
"id": 786,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ImportDirective",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 893,
|
|
|
|
"sourceUnit": 1667,
|
|
|
|
"src": "53:44:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"symbolAliases": [],
|
|
|
|
"unitAlias": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"baseContracts": [
|
|
|
|
{
|
|
|
|
"arguments": null,
|
|
|
|
"baseName": {
|
|
|
|
"contractScope": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 787,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "EtherPaymentFallback",
|
|
|
|
"nodeType": "UserDefinedTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 1666,
|
|
|
|
"src": "235:20:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_contract$_EtherPaymentFallback_$1666",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "contract EtherPaymentFallback"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 788,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "InheritanceSpecifier",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "235:20:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"contractDependencies": [
|
2018-09-26 09:19:53 +00:00
|
|
|
1666
|
2018-08-20 07:59:16 +00:00
|
|
|
],
|
|
|
|
"contractKind": "contract",
|
|
|
|
"documentation": "@title Executor - A contract that can execute transactions\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
|
|
"fullyImplemented": true,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 892,
|
2018-08-20 07:59:16 +00:00
|
|
|
"linearizedBaseContracts": [
|
2018-09-26 09:19:53 +00:00
|
|
|
892,
|
|
|
|
1666
|
2018-08-20 07:59:16 +00:00
|
|
|
],
|
|
|
|
"name": "Executor",
|
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes": [
|
|
|
|
{
|
|
|
|
"anonymous": false,
|
|
|
|
"documentation": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 792,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "ContractCreation",
|
|
|
|
"nodeType": "EventDefinition",
|
|
|
|
"parameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 791,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 790,
|
2018-08-20 07:59:16 +00:00
|
|
|
"indexed": false,
|
|
|
|
"name": "newContract",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 792,
|
|
|
|
"src": "286:19:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 789,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "286:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "285:21:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "263:44:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"body": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 853,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "Block",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "462:399:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"statements": [
|
|
|
|
{
|
|
|
|
"condition": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"commonType": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 811,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"leftExpression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 807,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "operation",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 800,
|
|
|
|
"src": "476:9:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "BinaryOperation",
|
|
|
|
"operator": "==",
|
|
|
|
"rightExpression": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 808,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "Enum",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 1659,
|
|
|
|
"src": "489:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_type$_t_contract$_Enum_$1659_$",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "type(contract Enum)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 809,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"memberName": "Operation",
|
|
|
|
"nodeType": "MemberAccess",
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 1658,
|
|
|
|
"src": "489:14:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_type$_t_enum$_Operation_$1658_$",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "type(enum Enum.Operation)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 810,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": true,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"memberName": "Call",
|
|
|
|
"nodeType": "MemberAccess",
|
|
|
|
"referencedDeclaration": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "489:19:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "476:32:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"falseBody": {
|
|
|
|
"condition": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"commonType": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 825,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"leftExpression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 821,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "operation",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 800,
|
|
|
|
"src": "586:9:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "BinaryOperation",
|
|
|
|
"operator": "==",
|
|
|
|
"rightExpression": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 822,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "Enum",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 1659,
|
|
|
|
"src": "599:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_type$_t_contract$_Enum_$1659_$",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "type(contract Enum)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 823,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"memberName": "Operation",
|
|
|
|
"nodeType": "MemberAccess",
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 1658,
|
|
|
|
"src": "599:14:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_type$_t_enum$_Operation_$1658_$",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "type(enum Enum.Operation)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 824,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": true,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"memberName": "DelegateCall",
|
|
|
|
"nodeType": "MemberAccess",
|
|
|
|
"referencedDeclaration": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "599:27:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "586:40:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"falseBody": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 850,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "Block",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "701:154:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"statements": [
|
|
|
|
{
|
|
|
|
"assignments": [
|
2018-09-26 09:19:53 +00:00
|
|
|
835
|
2018-08-20 07:59:16 +00:00
|
|
|
],
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 835,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "newContract",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "715:19:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 834,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "715:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 839,
|
2018-08-20 07:59:16 +00:00
|
|
|
"initialValue": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 837,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 798,
|
|
|
|
"src": "751:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes memory"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": [
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes memory"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 836,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "executeCreate",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 891,
|
|
|
|
"src": "737:13:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$returns$_t_address_$",
|
|
|
|
"typeString": "function (bytes memory) returns (address)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 838,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"kind": "functionCall",
|
|
|
|
"lValueRequested": false,
|
|
|
|
"names": [],
|
|
|
|
"nodeType": "FunctionCall",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "737:19:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "VariableDeclarationStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "715:41:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 844,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"leftHandSide": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 840,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "success",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 805,
|
|
|
|
"src": "770:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "Assignment",
|
|
|
|
"operator": "=",
|
|
|
|
"rightHandSide": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"commonType": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 843,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"leftExpression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 841,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "newContract",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 835,
|
|
|
|
"src": "780:11:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "BinaryOperation",
|
|
|
|
"operator": "!=",
|
|
|
|
"rightExpression": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"hexValue": "30",
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 842,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": true,
|
|
|
|
"kind": "number",
|
|
|
|
"lValueRequested": false,
|
|
|
|
"nodeType": "Literal",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "795:1:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"subdenomination": null,
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_rational_0_by_1",
|
|
|
|
"typeString": "int_const 0"
|
|
|
|
},
|
|
|
|
"value": "0"
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "780:16:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "770:26:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 845,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ExpressionStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "770:26:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"eventCall": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 847,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "newContract",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 835,
|
|
|
|
"src": "832:11:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": [
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 846,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "ContractCreation",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 792,
|
|
|
|
"src": "815:16:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$",
|
|
|
|
"typeString": "function (address)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 848,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"kind": "functionCall",
|
|
|
|
"lValueRequested": false,
|
|
|
|
"names": [],
|
|
|
|
"nodeType": "FunctionCall",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "815:29:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_tuple$__$",
|
|
|
|
"typeString": "tuple()"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 849,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "EmitStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "810:34:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 851,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "IfStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "582:273:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"trueBody": {
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 832,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"leftHandSide": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 826,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "success",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 805,
|
|
|
|
"src": "640:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "Assignment",
|
|
|
|
"operator": "=",
|
|
|
|
"rightHandSide": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 828,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "to",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 794,
|
|
|
|
"src": "670:2:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 829,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 798,
|
|
|
|
"src": "674:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes memory"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 830,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "txGas",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 802,
|
|
|
|
"src": "680:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": [
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes memory"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 827,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "executeDelegateCall",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 882,
|
|
|
|
"src": "650:19:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bool_$",
|
|
|
|
"typeString": "function (address,bytes memory,uint256) returns (bool)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 831,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"kind": "functionCall",
|
|
|
|
"lValueRequested": false,
|
|
|
|
"names": [],
|
|
|
|
"nodeType": "FunctionCall",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "650:36:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "640:46:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 833,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ExpressionStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "640:46:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 852,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "IfStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "472:383:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"trueBody": {
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 819,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"leftHandSide": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 812,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "success",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 805,
|
|
|
|
"src": "522:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "Assignment",
|
|
|
|
"operator": "=",
|
|
|
|
"rightHandSide": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 814,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "to",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 794,
|
|
|
|
"src": "544:2:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 815,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "value",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 796,
|
|
|
|
"src": "548:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 816,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 798,
|
|
|
|
"src": "555:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes memory"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 817,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "txGas",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 802,
|
|
|
|
"src": "561:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": [
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes memory"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 813,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "executeCall",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 869,
|
|
|
|
"src": "532:11:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bool_$",
|
|
|
|
"typeString": "function (address,uint256,bytes memory,uint256) returns (bool)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 818,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"kind": "functionCall",
|
|
|
|
"lValueRequested": false,
|
|
|
|
"names": [],
|
|
|
|
"nodeType": "FunctionCall",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "532:35:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "522:45:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 820,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ExpressionStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "522:45:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"documentation": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 854,
|
2018-08-20 07:59:16 +00:00
|
|
|
"implemented": true,
|
|
|
|
"isConstructor": false,
|
|
|
|
"isDeclaredConst": false,
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "execute",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"parameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 803,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 794,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "to",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "330:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 793,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "330:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 796,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "value",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "342:13:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 795,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "uint256",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "342:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 798,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "357:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 797,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bytes",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "357:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 800,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "operation",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "369:24:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"contractScope": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 799,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "Enum.Operation",
|
|
|
|
"nodeType": "UserDefinedTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 1658,
|
|
|
|
"src": "369:14:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 802,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "txGas",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "395:13:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 801,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "uint256",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "395:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "329:80:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
"payable": false,
|
|
|
|
"returnParameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 806,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 805,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "success",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "444:12:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 804,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bool",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "444:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "443:14:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 892,
|
|
|
|
"src": "313:548:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"superFunction": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"body": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 868,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "Block",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "994:182:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"statements": [
|
|
|
|
{
|
|
|
|
"externalReferences": [
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"data": {
|
|
|
|
"declaration": 860,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1148:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"data": {
|
|
|
|
"declaration": 860,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1129:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"success": {
|
|
|
|
"declaration": 865,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1091:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"txGas": {
|
|
|
|
"declaration": 862,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1107:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"to": {
|
|
|
|
"declaration": 856,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1114:2:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"value": {
|
|
|
|
"declaration": 858,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1118:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 867,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "InlineAssembly",
|
|
|
|
"operations": "{\n success := call(txGas, to, value, add(data, 0x20), mload(data), 0, 0)\n}",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1068:108:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"documentation": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 869,
|
2018-08-20 07:59:16 +00:00
|
|
|
"implemented": true,
|
|
|
|
"isConstructor": false,
|
|
|
|
"isDeclaredConst": false,
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "executeCall",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"parameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 863,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 856,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "to",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 869,
|
|
|
|
"src": "888:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 855,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "888:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 858,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "value",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 869,
|
|
|
|
"src": "900:13:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 857,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "uint256",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "900:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 860,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 869,
|
|
|
|
"src": "915:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 859,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bytes",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "915:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 862,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "txGas",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 869,
|
|
|
|
"src": "927:13:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 861,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "uint256",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "927:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "887:54:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
"payable": false,
|
|
|
|
"returnParameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 866,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 865,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "success",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 869,
|
|
|
|
"src": "976:12:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 864,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bool",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "976:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "975:14:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 892,
|
|
|
|
"src": "867:309:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"superFunction": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"body": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 881,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "Block",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1302:183:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"statements": [
|
|
|
|
{
|
|
|
|
"externalReferences": [
|
|
|
|
{
|
|
|
|
"data": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"declaration": 873,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1457:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"data": {
|
|
|
|
"declaration": 873,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1438:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"success": {
|
|
|
|
"declaration": 878,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1399:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"txGas": {
|
|
|
|
"declaration": 875,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1423:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"to": {
|
|
|
|
"declaration": 871,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1430:2:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 880,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "InlineAssembly",
|
|
|
|
"operations": "{\n success := delegatecall(txGas, to, add(data, 0x20), mload(data), 0, 0)\n}",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1376:109:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"documentation": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 882,
|
2018-08-20 07:59:16 +00:00
|
|
|
"implemented": true,
|
|
|
|
"isConstructor": false,
|
|
|
|
"isDeclaredConst": false,
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "executeDelegateCall",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"parameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 876,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 871,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "to",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 882,
|
|
|
|
"src": "1211:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 870,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1211:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 873,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 882,
|
|
|
|
"src": "1223:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 872,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bytes",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1223:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 875,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "txGas",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 882,
|
|
|
|
"src": "1235:13:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 874,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "uint256",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1235:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1210:39:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
"payable": false,
|
|
|
|
"returnParameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 879,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 878,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "success",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 882,
|
|
|
|
"src": "1284:12:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 877,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bool",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1284:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1283:14:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 892,
|
|
|
|
"src": "1182:303:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"superFunction": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"body": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 890,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "Block",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1585:167:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"statements": [
|
|
|
|
{
|
|
|
|
"externalReferences": [
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"newContract": {
|
|
|
|
"declaration": 887,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1682:11:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"declaration": 884,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1711:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"data": {
|
|
|
|
"declaration": 884,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1730:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 889,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "InlineAssembly",
|
|
|
|
"operations": "{\n newContract := create(0, add(data, 0x20), mload(data))\n}",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1659:93:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"documentation": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 891,
|
2018-08-20 07:59:16 +00:00
|
|
|
"implemented": true,
|
|
|
|
"isConstructor": false,
|
|
|
|
"isDeclaredConst": false,
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "executeCreate",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"parameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 885,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 884,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 891,
|
|
|
|
"src": "1514:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 883,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bytes",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1514:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1513:12:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
"payable": false,
|
|
|
|
"returnParameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 888,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 887,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "newContract",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 891,
|
|
|
|
"src": "1560:19:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 886,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1560:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1559:21:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 892,
|
|
|
|
"src": "1491:261:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"superFunction": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 893,
|
|
|
|
"src": "214:1540:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "0:1755:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
"legacyAST": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/base/Executor.sol",
|
2018-08-20 07:59:16 +00:00
|
|
|
"exportedSymbols": {
|
|
|
|
"Executor": [
|
2018-09-26 09:19:53 +00:00
|
|
|
892
|
2018-08-20 07:59:16 +00:00
|
|
|
]
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 893,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "SourceUnit",
|
|
|
|
"nodes": [
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 784,
|
2018-08-20 07:59:16 +00:00
|
|
|
"literals": [
|
|
|
|
"solidity",
|
|
|
|
"0.4",
|
|
|
|
".24"
|
|
|
|
],
|
|
|
|
"nodeType": "PragmaDirective",
|
|
|
|
"src": "0:23:3"
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/Enum.sol",
|
|
|
|
"file": "../common/Enum.sol",
|
|
|
|
"id": 785,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ImportDirective",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 893,
|
|
|
|
"sourceUnit": 1660,
|
|
|
|
"src": "24:28:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"symbolAliases": [],
|
|
|
|
"unitAlias": ""
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/EtherPaymentFallback.sol",
|
|
|
|
"file": "../common/EtherPaymentFallback.sol",
|
|
|
|
"id": 786,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ImportDirective",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 893,
|
|
|
|
"sourceUnit": 1667,
|
|
|
|
"src": "53:44:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"symbolAliases": [],
|
|
|
|
"unitAlias": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"baseContracts": [
|
|
|
|
{
|
|
|
|
"arguments": null,
|
|
|
|
"baseName": {
|
|
|
|
"contractScope": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 787,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "EtherPaymentFallback",
|
|
|
|
"nodeType": "UserDefinedTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 1666,
|
|
|
|
"src": "235:20:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_contract$_EtherPaymentFallback_$1666",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "contract EtherPaymentFallback"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 788,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "InheritanceSpecifier",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "235:20:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"contractDependencies": [
|
2018-09-26 09:19:53 +00:00
|
|
|
1666
|
2018-08-20 07:59:16 +00:00
|
|
|
],
|
|
|
|
"contractKind": "contract",
|
|
|
|
"documentation": "@title Executor - A contract that can execute transactions\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
|
|
"fullyImplemented": true,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 892,
|
2018-08-20 07:59:16 +00:00
|
|
|
"linearizedBaseContracts": [
|
2018-09-26 09:19:53 +00:00
|
|
|
892,
|
|
|
|
1666
|
2018-08-20 07:59:16 +00:00
|
|
|
],
|
|
|
|
"name": "Executor",
|
|
|
|
"nodeType": "ContractDefinition",
|
|
|
|
"nodes": [
|
|
|
|
{
|
|
|
|
"anonymous": false,
|
|
|
|
"documentation": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 792,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "ContractCreation",
|
|
|
|
"nodeType": "EventDefinition",
|
|
|
|
"parameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 791,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 790,
|
2018-08-20 07:59:16 +00:00
|
|
|
"indexed": false,
|
|
|
|
"name": "newContract",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 792,
|
|
|
|
"src": "286:19:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 789,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "286:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "285:21:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "263:44:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"body": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 853,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "Block",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "462:399:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"statements": [
|
|
|
|
{
|
|
|
|
"condition": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"commonType": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 811,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"leftExpression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 807,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "operation",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 800,
|
|
|
|
"src": "476:9:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "BinaryOperation",
|
|
|
|
"operator": "==",
|
|
|
|
"rightExpression": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 808,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "Enum",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 1659,
|
|
|
|
"src": "489:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_type$_t_contract$_Enum_$1659_$",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "type(contract Enum)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 809,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"memberName": "Operation",
|
|
|
|
"nodeType": "MemberAccess",
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 1658,
|
|
|
|
"src": "489:14:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_type$_t_enum$_Operation_$1658_$",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "type(enum Enum.Operation)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 810,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": true,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"memberName": "Call",
|
|
|
|
"nodeType": "MemberAccess",
|
|
|
|
"referencedDeclaration": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "489:19:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "476:32:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"falseBody": {
|
|
|
|
"condition": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"commonType": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 825,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"leftExpression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 821,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "operation",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 800,
|
|
|
|
"src": "586:9:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "BinaryOperation",
|
|
|
|
"operator": "==",
|
|
|
|
"rightExpression": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 822,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "Enum",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 1659,
|
|
|
|
"src": "599:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_type$_t_contract$_Enum_$1659_$",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "type(contract Enum)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 823,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"memberName": "Operation",
|
|
|
|
"nodeType": "MemberAccess",
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 1658,
|
|
|
|
"src": "599:14:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_type$_t_enum$_Operation_$1658_$",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "type(enum Enum.Operation)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 824,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": true,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"memberName": "DelegateCall",
|
|
|
|
"nodeType": "MemberAccess",
|
|
|
|
"referencedDeclaration": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "599:27:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "586:40:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"falseBody": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 850,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "Block",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "701:154:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"statements": [
|
|
|
|
{
|
|
|
|
"assignments": [
|
2018-09-26 09:19:53 +00:00
|
|
|
835
|
2018-08-20 07:59:16 +00:00
|
|
|
],
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 835,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "newContract",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "715:19:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 834,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "715:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 839,
|
2018-08-20 07:59:16 +00:00
|
|
|
"initialValue": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 837,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 798,
|
|
|
|
"src": "751:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes memory"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": [
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes memory"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 836,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "executeCreate",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 891,
|
|
|
|
"src": "737:13:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$returns$_t_address_$",
|
|
|
|
"typeString": "function (bytes memory) returns (address)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 838,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"kind": "functionCall",
|
|
|
|
"lValueRequested": false,
|
|
|
|
"names": [],
|
|
|
|
"nodeType": "FunctionCall",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "737:19:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "VariableDeclarationStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "715:41:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 844,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"leftHandSide": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 840,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "success",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 805,
|
|
|
|
"src": "770:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "Assignment",
|
|
|
|
"operator": "=",
|
|
|
|
"rightHandSide": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"commonType": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 843,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"leftExpression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 841,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "newContract",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 835,
|
|
|
|
"src": "780:11:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "BinaryOperation",
|
|
|
|
"operator": "!=",
|
|
|
|
"rightExpression": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"hexValue": "30",
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 842,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": true,
|
|
|
|
"kind": "number",
|
|
|
|
"lValueRequested": false,
|
|
|
|
"nodeType": "Literal",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "795:1:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"subdenomination": null,
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_rational_0_by_1",
|
|
|
|
"typeString": "int_const 0"
|
|
|
|
},
|
|
|
|
"value": "0"
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "780:16:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "770:26:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 845,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ExpressionStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "770:26:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"eventCall": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 847,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "newContract",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 835,
|
|
|
|
"src": "832:11:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": [
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 846,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "ContractCreation",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 792,
|
|
|
|
"src": "815:16:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$",
|
|
|
|
"typeString": "function (address)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 848,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"kind": "functionCall",
|
|
|
|
"lValueRequested": false,
|
|
|
|
"names": [],
|
|
|
|
"nodeType": "FunctionCall",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "815:29:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_tuple$__$",
|
|
|
|
"typeString": "tuple()"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 849,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "EmitStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "810:34:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 851,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "IfStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "582:273:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"trueBody": {
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 832,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"leftHandSide": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 826,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "success",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 805,
|
|
|
|
"src": "640:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "Assignment",
|
|
|
|
"operator": "=",
|
|
|
|
"rightHandSide": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 828,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "to",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 794,
|
|
|
|
"src": "670:2:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 829,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 798,
|
|
|
|
"src": "674:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes memory"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 830,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "txGas",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 802,
|
|
|
|
"src": "680:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": [
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes memory"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 827,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "executeDelegateCall",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 882,
|
|
|
|
"src": "650:19:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bool_$",
|
|
|
|
"typeString": "function (address,bytes memory,uint256) returns (bool)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 831,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"kind": "functionCall",
|
|
|
|
"lValueRequested": false,
|
|
|
|
"names": [],
|
|
|
|
"nodeType": "FunctionCall",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "650:36:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "640:46:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 833,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ExpressionStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "640:46:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 852,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "IfStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "472:383:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"trueBody": {
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 819,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"lValueRequested": false,
|
|
|
|
"leftHandSide": {
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 812,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "success",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 805,
|
|
|
|
"src": "522:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nodeType": "Assignment",
|
|
|
|
"operator": "=",
|
|
|
|
"rightHandSide": {
|
|
|
|
"argumentTypes": null,
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 814,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "to",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 794,
|
|
|
|
"src": "544:2:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 815,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "value",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 796,
|
|
|
|
"src": "548:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 816,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 798,
|
|
|
|
"src": "555:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes memory"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"argumentTypes": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 817,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "txGas",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 802,
|
|
|
|
"src": "561:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"expression": {
|
|
|
|
"argumentTypes": [
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes memory"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 813,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "executeCall",
|
|
|
|
"nodeType": "Identifier",
|
|
|
|
"overloadedDeclarations": [],
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 869,
|
|
|
|
"src": "532:11:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bool_$",
|
|
|
|
"typeString": "function (address,uint256,bytes memory,uint256) returns (bool)"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 818,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isConstant": false,
|
|
|
|
"isLValue": false,
|
|
|
|
"isPure": false,
|
|
|
|
"kind": "functionCall",
|
|
|
|
"lValueRequested": false,
|
|
|
|
"names": [],
|
|
|
|
"nodeType": "FunctionCall",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "532:35:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "522:45:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 820,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ExpressionStatement",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "522:45:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"documentation": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 854,
|
2018-08-20 07:59:16 +00:00
|
|
|
"implemented": true,
|
|
|
|
"isConstructor": false,
|
|
|
|
"isDeclaredConst": false,
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "execute",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"parameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 803,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 794,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "to",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "330:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 793,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "330:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 796,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "value",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "342:13:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 795,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "uint256",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "342:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 798,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "357:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 797,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bytes",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "357:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 800,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "operation",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "369:24:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"contractScope": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 799,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "Enum.Operation",
|
|
|
|
"nodeType": "UserDefinedTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"referencedDeclaration": 1658,
|
|
|
|
"src": "369:14:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"typeIdentifier": "t_enum$_Operation_$1658",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeString": "enum Enum.Operation"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 802,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "txGas",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "395:13:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 801,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "uint256",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "395:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "329:80:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
"payable": false,
|
|
|
|
"returnParameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 806,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 805,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "success",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 854,
|
|
|
|
"src": "444:12:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 804,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bool",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "444:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "443:14:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 892,
|
|
|
|
"src": "313:548:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"superFunction": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"body": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 868,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "Block",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "994:182:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"statements": [
|
|
|
|
{
|
|
|
|
"externalReferences": [
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"data": {
|
|
|
|
"declaration": 860,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1148:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"data": {
|
|
|
|
"declaration": 860,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1129:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"success": {
|
|
|
|
"declaration": 865,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1091:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"txGas": {
|
|
|
|
"declaration": 862,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1107:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"to": {
|
|
|
|
"declaration": 856,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1114:2:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"value": {
|
|
|
|
"declaration": 858,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1118:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 867,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "InlineAssembly",
|
|
|
|
"operations": "{\n success := call(txGas, to, value, add(data, 0x20), mload(data), 0, 0)\n}",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1068:108:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"documentation": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 869,
|
2018-08-20 07:59:16 +00:00
|
|
|
"implemented": true,
|
|
|
|
"isConstructor": false,
|
|
|
|
"isDeclaredConst": false,
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "executeCall",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"parameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 863,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 856,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "to",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 869,
|
|
|
|
"src": "888:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 855,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "888:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 858,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "value",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 869,
|
|
|
|
"src": "900:13:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 857,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "uint256",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "900:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 860,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 869,
|
|
|
|
"src": "915:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 859,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bytes",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "915:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 862,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "txGas",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 869,
|
|
|
|
"src": "927:13:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 861,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "uint256",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "927:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "887:54:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
"payable": false,
|
|
|
|
"returnParameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 866,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 865,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "success",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 869,
|
|
|
|
"src": "976:12:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 864,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bool",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "976:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "975:14:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 892,
|
|
|
|
"src": "867:309:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"superFunction": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"body": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 881,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "Block",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1302:183:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"statements": [
|
|
|
|
{
|
|
|
|
"externalReferences": [
|
|
|
|
{
|
|
|
|
"data": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"declaration": 873,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1457:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"data": {
|
|
|
|
"declaration": 873,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1438:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"success": {
|
|
|
|
"declaration": 878,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1399:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"txGas": {
|
|
|
|
"declaration": 875,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1423:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"to": {
|
|
|
|
"declaration": 871,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1430:2:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 880,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "InlineAssembly",
|
|
|
|
"operations": "{\n success := delegatecall(txGas, to, add(data, 0x20), mload(data), 0, 0)\n}",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1376:109:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"documentation": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 882,
|
2018-08-20 07:59:16 +00:00
|
|
|
"implemented": true,
|
|
|
|
"isConstructor": false,
|
|
|
|
"isDeclaredConst": false,
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "executeDelegateCall",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"parameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 876,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 871,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "to",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 882,
|
|
|
|
"src": "1211:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 870,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1211:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 873,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 882,
|
|
|
|
"src": "1223:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 872,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bytes",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1223:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 875,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "txGas",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 882,
|
|
|
|
"src": "1235:13:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 874,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "uint256",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1235:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_uint256",
|
|
|
|
"typeString": "uint256"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1210:39:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
"payable": false,
|
|
|
|
"returnParameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 879,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 878,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "success",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 882,
|
|
|
|
"src": "1284:12:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 877,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bool",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1284:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bool",
|
|
|
|
"typeString": "bool"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1283:14:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 892,
|
|
|
|
"src": "1182:303:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"superFunction": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"body": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 890,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "Block",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1585:167:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"statements": [
|
|
|
|
{
|
|
|
|
"externalReferences": [
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"newContract": {
|
|
|
|
"declaration": 887,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1682:11:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"declaration": 884,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1711:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-09-26 09:19:53 +00:00
|
|
|
"data": {
|
|
|
|
"declaration": 884,
|
2018-08-20 07:59:16 +00:00
|
|
|
"isOffset": false,
|
|
|
|
"isSlot": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1730:4:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"valueSize": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 889,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "InlineAssembly",
|
|
|
|
"operations": "{\n newContract := create(0, add(data, 0x20), mload(data))\n}",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1659:93:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"documentation": null,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 891,
|
2018-08-20 07:59:16 +00:00
|
|
|
"implemented": true,
|
|
|
|
"isConstructor": false,
|
|
|
|
"isDeclaredConst": false,
|
|
|
|
"modifiers": [],
|
|
|
|
"name": "executeCreate",
|
|
|
|
"nodeType": "FunctionDefinition",
|
|
|
|
"parameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 885,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 884,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "data",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 891,
|
|
|
|
"src": "1514:10:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 883,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "bytes",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1514:5:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
|
|
"typeString": "bytes"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1513:12:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
"payable": false,
|
|
|
|
"returnParameters": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 888,
|
2018-08-20 07:59:16 +00:00
|
|
|
"nodeType": "ParameterList",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"constant": false,
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 887,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "newContract",
|
|
|
|
"nodeType": "VariableDeclaration",
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 891,
|
|
|
|
"src": "1560:19:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateVariable": false,
|
|
|
|
"storageLocation": "default",
|
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
},
|
|
|
|
"typeName": {
|
2018-09-26 09:19:53 +00:00
|
|
|
"id": 886,
|
2018-08-20 07:59:16 +00:00
|
|
|
"name": "address",
|
|
|
|
"nodeType": "ElementaryTypeName",
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1560:7:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"typeDescriptions": {
|
|
|
|
"typeIdentifier": "t_address",
|
|
|
|
"typeString": "address"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "1559:21:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 892,
|
|
|
|
"src": "1491:261:3",
|
2018-08-20 07:59:16 +00:00
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"superFunction": null,
|
|
|
|
"visibility": "internal"
|
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"scope": 893,
|
|
|
|
"src": "214:1540:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|
|
|
|
],
|
2018-09-26 09:19:53 +00:00
|
|
|
"src": "0:1755:3"
|
2018-08-20 07:59:16 +00:00
|
|
|
},
|
|
|
|
"compiler": {
|
|
|
|
"name": "solc",
|
|
|
|
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
|
|
|
|
},
|
|
|
|
"networks": {},
|
|
|
|
"schemaVersion": "2.0.0",
|
2018-10-05 15:26:48 +00:00
|
|
|
"updatedAt": "2018-10-05T14:25:58.887Z"
|
2018-08-20 07:59:16 +00:00
|
|
|
}
|