{
  "contractName": "DepositableDelegateProxy",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "proxyType",
      "outputs": [
        {
          "name": "proxyTypeId",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "isDepositable",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "implementation",
      "outputs": [
        {
          "name": "codeAddr",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "payable": true,
      "stateMutability": "payable",
      "type": "fallback"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "name": "sender",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "value",
          "type": "uint256"
        }
      ],
      "name": "ProxyDeposit",
      "type": "event"
    }
  ],
  "metadata": "",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "pragma solidity 0.4.24;\n\nimport \"./DelegateProxy.sol\";\nimport \"./DepositableStorage.sol\";\n\n\ncontract DepositableDelegateProxy is DepositableStorage, DelegateProxy {\n    event ProxyDeposit(address sender, uint256 value);\n\n    function () external payable {\n        uint256 forwardGasThreshold = FWD_GAS_LIMIT;\n        bytes32 isDepositablePosition = DEPOSITABLE_POSITION;\n\n        // Optimized assembly implementation to prevent EIP-1884 from breaking deposits, reference code in Solidity:\n        // https://github.com/aragon/aragonOS/blob/v4.2.1/contracts/common/DepositableDelegateProxy.sol#L10-L20\n        assembly {\n            // Continue only if the gas left is lower than the threshold for forwarding to the implementation code,\n            // otherwise continue outside of the assembly block.\n            if lt(gas, forwardGasThreshold) {\n                // Only accept the deposit and emit an event if all of the following are true:\n                // the proxy accepts deposits (isDepositable), msg.data.length == 0, and msg.value > 0\n                if and(and(sload(isDepositablePosition), iszero(calldatasize)), gt(callvalue, 0)) {\n                    // Equivalent Solidity code for emitting the event:\n                    // emit ProxyDeposit(msg.sender, msg.value);\n\n                    let logData := mload(0x40) // free memory pointer\n                    mstore(logData, caller) // add 'msg.sender' to the log data (first event param)\n                    mstore(add(logData, 0x20), callvalue) // add 'msg.value' to the log data (second event param)\n\n                    // Emit an event with one topic to identify the event: keccak256('ProxyDeposit(address,uint256)') = 0x15ee...dee1\n                    log1(logData, 0x40, 0x15eeaa57c7bd188c1388020bcadc2c436ec60d647d36ef5b9eb3c742217ddee1)\n\n                    stop() // Stop. Exits execution context\n                }\n\n                // If any of above checks failed, revert the execution (if ETH was sent, it is returned to the sender)\n                revert(0, 0)\n            }\n        }\n\n        address target = implementation();\n        delegatedFwd(target, msg.data);\n    }\n}\n",
  "sourcePath": "@aragon/os/contracts/common/DepositableDelegateProxy.sol",
  "ast": {
    "absolutePath": "@aragon/os/contracts/common/DepositableDelegateProxy.sol",
    "exportedSymbols": {
      "DepositableDelegateProxy": [
        6253
      ]
    },
    "id": 6254,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 6216,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:25"
      },
      {
        "absolutePath": "@aragon/os/contracts/common/DelegateProxy.sol",
        "file": "./DelegateProxy.sol",
        "id": 6217,
        "nodeType": "ImportDirective",
        "scope": 6254,
        "sourceUnit": 6215,
        "src": "25:29:25",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@aragon/os/contracts/common/DepositableStorage.sol",
        "file": "./DepositableStorage.sol",
        "id": 6218,
        "nodeType": "ImportDirective",
        "scope": 6254,
        "sourceUnit": 6286,
        "src": "55:34:25",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 6219,
              "name": "DepositableStorage",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 6285,
              "src": "129:18:25",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_DepositableStorage_$6285",
                "typeString": "contract DepositableStorage"
              }
            },
            "id": 6220,
            "nodeType": "InheritanceSpecifier",
            "src": "129:18:25"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 6221,
              "name": "DelegateProxy",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 6214,
              "src": "149:13:25",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_DelegateProxy_$6214",
                "typeString": "contract DelegateProxy"
              }
            },
            "id": 6222,
            "nodeType": "InheritanceSpecifier",
            "src": "149:13:25"
          }
        ],
        "contractDependencies": [
          6214,
          6285,
          6469,
          9856
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 6253,
        "linearizedBaseContracts": [
          6253,
          6214,
          6469,
          9856,
          6285
        ],
        "name": "DepositableDelegateProxy",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 6228,
            "name": "ProxyDeposit",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 6227,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6224,
                  "indexed": false,
                  "name": "sender",
                  "nodeType": "VariableDeclaration",
                  "scope": 6228,
                  "src": "188:14:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6223,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "188:7:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6226,
                  "indexed": false,
                  "name": "value",
                  "nodeType": "VariableDeclaration",
                  "scope": 6228,
                  "src": "204:13:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6225,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "204:7:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "187:31:25"
            },
            "src": "169:50:25"
          },
          {
            "body": {
              "id": 6251,
              "nodeType": "Block",
              "src": "254:1897:25",
              "statements": [
                {
                  "assignments": [
                    6232
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6232,
                      "name": "forwardGasThreshold",
                      "nodeType": "VariableDeclaration",
                      "scope": 6252,
                      "src": "264:27:25",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6231,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "264:7:25",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6234,
                  "initialValue": {
                    "argumentTypes": null,
                    "id": 6233,
                    "name": "FWD_GAS_LIMIT",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 6194,
                    "src": "294:13:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "264:43:25"
                },
                {
                  "assignments": [
                    6236
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6236,
                      "name": "isDepositablePosition",
                      "nodeType": "VariableDeclaration",
                      "scope": 6252,
                      "src": "317:29:25",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 6235,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "317:7:25",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6238,
                  "initialValue": {
                    "argumentTypes": null,
                    "id": 6237,
                    "name": "DEPOSITABLE_POSITION",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 6262,
                    "src": "349:20:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "317:52:25"
                },
                {
                  "externalReferences": [
                    {
                      "forwardGasThreshold": {
                        "declaration": 6232,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "824:19:25",
                        "valueSize": 1
                      }
                    },
                    {
                      "isDepositablePosition": {
                        "declaration": 6236,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "1078:21:25",
                        "valueSize": 1
                      }
                    }
                  ],
                  "id": 6239,
                  "nodeType": "InlineAssembly",
                  "operations": "{\n    if lt(gas(), forwardGasThreshold)\n    {\n        if and(and(sload(isDepositablePosition), iszero(calldatasize())), gt(callvalue(), 0))\n        {\n            let logData := mload(0x40)\n            mstore(logData, caller())\n            mstore(add(logData, 0x20), callvalue())\n            log1(logData, 0x40, 0x15eeaa57c7bd188c1388020bcadc2c436ec60d647d36ef5b9eb3c742217ddee1)\n            stop()\n        }\n        revert(0, 0)\n    }\n}",
                  "src": "609:1469:25"
                },
                {
                  "assignments": [
                    6241
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6241,
                      "name": "target",
                      "nodeType": "VariableDeclaration",
                      "scope": 6252,
                      "src": "2071:14:25",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "typeName": {
                        "id": 6240,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "2071:7:25",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6244,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 6242,
                      "name": "implementation",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9855,
                      "src": "2088:14:25",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                        "typeString": "function () view returns (address)"
                      }
                    },
                    "id": 6243,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2088:16:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2071:33:25"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 6246,
                        "name": "target",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6241,
                        "src": "2127:6:25",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 6247,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10404,
                          "src": "2135:3:25",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 6248,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "data",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "2135:8:25",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_calldata_ptr",
                          "typeString": "bytes calldata"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bytes_calldata_ptr",
                          "typeString": "bytes calldata"
                        }
                      ],
                      "id": 6245,
                      "name": "delegatedFwd",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6213,
                      "src": "2114:12:25",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$__$",
                        "typeString": "function (address,bytes memory)"
                      }
                    },
                    "id": 6249,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2114:30:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6250,
                  "nodeType": "ExpressionStatement",
                  "src": "2114:30:25"
                }
              ]
            },
            "documentation": null,
            "id": 6252,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6229,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "234:2:25"
            },
            "payable": true,
            "returnParameters": {
              "id": 6230,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "254:0:25"
            },
            "scope": 6253,
            "src": "225:1926:25",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "external"
          }
        ],
        "scope": 6254,
        "src": "92:2061:25"
      }
    ],
    "src": "0:2154:25"
  },
  "legacyAST": {
    "absolutePath": "@aragon/os/contracts/common/DepositableDelegateProxy.sol",
    "exportedSymbols": {
      "DepositableDelegateProxy": [
        6253
      ]
    },
    "id": 6254,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 6216,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:25"
      },
      {
        "absolutePath": "@aragon/os/contracts/common/DelegateProxy.sol",
        "file": "./DelegateProxy.sol",
        "id": 6217,
        "nodeType": "ImportDirective",
        "scope": 6254,
        "sourceUnit": 6215,
        "src": "25:29:25",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@aragon/os/contracts/common/DepositableStorage.sol",
        "file": "./DepositableStorage.sol",
        "id": 6218,
        "nodeType": "ImportDirective",
        "scope": 6254,
        "sourceUnit": 6286,
        "src": "55:34:25",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 6219,
              "name": "DepositableStorage",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 6285,
              "src": "129:18:25",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_DepositableStorage_$6285",
                "typeString": "contract DepositableStorage"
              }
            },
            "id": 6220,
            "nodeType": "InheritanceSpecifier",
            "src": "129:18:25"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 6221,
              "name": "DelegateProxy",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 6214,
              "src": "149:13:25",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_DelegateProxy_$6214",
                "typeString": "contract DelegateProxy"
              }
            },
            "id": 6222,
            "nodeType": "InheritanceSpecifier",
            "src": "149:13:25"
          }
        ],
        "contractDependencies": [
          6214,
          6285,
          6469,
          9856
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 6253,
        "linearizedBaseContracts": [
          6253,
          6214,
          6469,
          9856,
          6285
        ],
        "name": "DepositableDelegateProxy",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 6228,
            "name": "ProxyDeposit",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 6227,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6224,
                  "indexed": false,
                  "name": "sender",
                  "nodeType": "VariableDeclaration",
                  "scope": 6228,
                  "src": "188:14:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 6223,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "188:7:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 6226,
                  "indexed": false,
                  "name": "value",
                  "nodeType": "VariableDeclaration",
                  "scope": 6228,
                  "src": "204:13:25",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 6225,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "204:7:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "187:31:25"
            },
            "src": "169:50:25"
          },
          {
            "body": {
              "id": 6251,
              "nodeType": "Block",
              "src": "254:1897:25",
              "statements": [
                {
                  "assignments": [
                    6232
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6232,
                      "name": "forwardGasThreshold",
                      "nodeType": "VariableDeclaration",
                      "scope": 6252,
                      "src": "264:27:25",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 6231,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "264:7:25",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6234,
                  "initialValue": {
                    "argumentTypes": null,
                    "id": 6233,
                    "name": "FWD_GAS_LIMIT",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 6194,
                    "src": "294:13:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "264:43:25"
                },
                {
                  "assignments": [
                    6236
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6236,
                      "name": "isDepositablePosition",
                      "nodeType": "VariableDeclaration",
                      "scope": 6252,
                      "src": "317:29:25",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 6235,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "317:7:25",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6238,
                  "initialValue": {
                    "argumentTypes": null,
                    "id": 6237,
                    "name": "DEPOSITABLE_POSITION",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 6262,
                    "src": "349:20:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "317:52:25"
                },
                {
                  "externalReferences": [
                    {
                      "forwardGasThreshold": {
                        "declaration": 6232,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "824:19:25",
                        "valueSize": 1
                      }
                    },
                    {
                      "isDepositablePosition": {
                        "declaration": 6236,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "1078:21:25",
                        "valueSize": 1
                      }
                    }
                  ],
                  "id": 6239,
                  "nodeType": "InlineAssembly",
                  "operations": "{\n    if lt(gas(), forwardGasThreshold)\n    {\n        if and(and(sload(isDepositablePosition), iszero(calldatasize())), gt(callvalue(), 0))\n        {\n            let logData := mload(0x40)\n            mstore(logData, caller())\n            mstore(add(logData, 0x20), callvalue())\n            log1(logData, 0x40, 0x15eeaa57c7bd188c1388020bcadc2c436ec60d647d36ef5b9eb3c742217ddee1)\n            stop()\n        }\n        revert(0, 0)\n    }\n}",
                  "src": "609:1469:25"
                },
                {
                  "assignments": [
                    6241
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 6241,
                      "name": "target",
                      "nodeType": "VariableDeclaration",
                      "scope": 6252,
                      "src": "2071:14:25",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "typeName": {
                        "id": 6240,
                        "name": "address",
                        "nodeType": "ElementaryTypeName",
                        "src": "2071:7:25",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 6244,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 6242,
                      "name": "implementation",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 9855,
                      "src": "2088:14:25",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                        "typeString": "function () view returns (address)"
                      }
                    },
                    "id": 6243,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2088:16:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2071:33:25"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 6246,
                        "name": "target",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6241,
                        "src": "2127:6:25",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 6247,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10404,
                          "src": "2135:3:25",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 6248,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "data",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "2135:8:25",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes_calldata_ptr",
                          "typeString": "bytes calldata"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_bytes_calldata_ptr",
                          "typeString": "bytes calldata"
                        }
                      ],
                      "id": 6245,
                      "name": "delegatedFwd",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6213,
                      "src": "2114:12:25",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$__$",
                        "typeString": "function (address,bytes memory)"
                      }
                    },
                    "id": 6249,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2114:30:25",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6250,
                  "nodeType": "ExpressionStatement",
                  "src": "2114:30:25"
                }
              ]
            },
            "documentation": null,
            "id": 6252,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6229,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "234:2:25"
            },
            "payable": true,
            "returnParameters": {
              "id": 6230,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "254:0:25"
            },
            "scope": 6253,
            "src": "225:1926:25",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "external"
          }
        ],
        "scope": 6254,
        "src": "92:2061:25"
      }
    ],
    "src": "0:2154:25"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.2.0",
  "updatedAt": "2020-06-07T23:27:00.570Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}