{
  "contractName": "ERCProxy",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "proxyType",
      "outputs": [
        {
          "name": "proxyTypeId",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "implementation",
      "outputs": [
        {
          "name": "codeAddr",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "/*\n * SPDX-License-Identitifer:    MIT\n */\n\npragma solidity ^0.4.24;\n\n\ncontract ERCProxy {\n    uint256 internal constant FORWARDING = 1;\n    uint256 internal constant UPGRADEABLE = 2;\n\n    function proxyType() public pure returns (uint256 proxyTypeId);\n    function implementation() public view returns (address codeAddr);\n}\n",
  "sourcePath": "@aragon/os/contracts/lib/misc/ERCProxy.sol",
  "ast": {
    "absolutePath": "@aragon/os/contracts/lib/misc/ERCProxy.sol",
    "exportedSymbols": {
      "ERCProxy": [
        9856
      ]
    },
    "id": 9857,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 9839,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "44:24:59"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 9856,
        "linearizedBaseContracts": [
          9856
        ],
        "name": "ERCProxy",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": true,
            "id": 9842,
            "name": "FORWARDING",
            "nodeType": "VariableDeclaration",
            "scope": 9856,
            "src": "95:40:59",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 9840,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "95:7:59",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "31",
              "id": 9841,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "134:1:59",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_1_by_1",
                "typeString": "int_const 1"
              },
              "value": "1"
            },
            "visibility": "internal"
          },
          {
            "constant": true,
            "id": 9845,
            "name": "UPGRADEABLE",
            "nodeType": "VariableDeclaration",
            "scope": 9856,
            "src": "141:41:59",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 9843,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "141:7:59",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "32",
              "id": 9844,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "181:1:59",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_2_by_1",
                "typeString": "int_const 2"
              },
              "value": "2"
            },
            "visibility": "internal"
          },
          {
            "body": null,
            "documentation": null,
            "id": 9850,
            "implemented": false,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "proxyType",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9846,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "207:2:59"
            },
            "payable": false,
            "returnParameters": {
              "id": 9849,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9848,
                  "name": "proxyTypeId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9850,
                  "src": "231:19:59",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9847,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "231:7:59",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "230:21:59"
            },
            "scope": 9856,
            "src": "189:63:59",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 9855,
            "implemented": false,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "implementation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9851,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "280:2:59"
            },
            "payable": false,
            "returnParameters": {
              "id": 9854,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9853,
                  "name": "codeAddr",
                  "nodeType": "VariableDeclaration",
                  "scope": 9855,
                  "src": "304:16:59",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9852,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "304:7:59",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "303:18:59"
            },
            "scope": 9856,
            "src": "257:65:59",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 9857,
        "src": "71:253:59"
      }
    ],
    "src": "44:281:59"
  },
  "legacyAST": {
    "absolutePath": "@aragon/os/contracts/lib/misc/ERCProxy.sol",
    "exportedSymbols": {
      "ERCProxy": [
        9856
      ]
    },
    "id": 9857,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 9839,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "44:24:59"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 9856,
        "linearizedBaseContracts": [
          9856
        ],
        "name": "ERCProxy",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": true,
            "id": 9842,
            "name": "FORWARDING",
            "nodeType": "VariableDeclaration",
            "scope": 9856,
            "src": "95:40:59",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 9840,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "95:7:59",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "31",
              "id": 9841,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "134:1:59",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_1_by_1",
                "typeString": "int_const 1"
              },
              "value": "1"
            },
            "visibility": "internal"
          },
          {
            "constant": true,
            "id": 9845,
            "name": "UPGRADEABLE",
            "nodeType": "VariableDeclaration",
            "scope": 9856,
            "src": "141:41:59",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 9843,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "141:7:59",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "32",
              "id": 9844,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "181:1:59",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_2_by_1",
                "typeString": "int_const 2"
              },
              "value": "2"
            },
            "visibility": "internal"
          },
          {
            "body": null,
            "documentation": null,
            "id": 9850,
            "implemented": false,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "proxyType",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9846,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "207:2:59"
            },
            "payable": false,
            "returnParameters": {
              "id": 9849,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9848,
                  "name": "proxyTypeId",
                  "nodeType": "VariableDeclaration",
                  "scope": 9850,
                  "src": "231:19:59",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 9847,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "231:7:59",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "230:21:59"
            },
            "scope": 9856,
            "src": "189:63:59",
            "stateMutability": "pure",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": null,
            "documentation": null,
            "id": 9855,
            "implemented": false,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "implementation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 9851,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "280:2:59"
            },
            "payable": false,
            "returnParameters": {
              "id": 9854,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 9853,
                  "name": "codeAddr",
                  "nodeType": "VariableDeclaration",
                  "scope": 9855,
                  "src": "304:16:59",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 9852,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "304:7:59",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "303:18:59"
            },
            "scope": 9856,
            "src": "257:65:59",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 9857,
        "src": "71:253:59"
      }
    ],
    "src": "44:281:59"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.2.0",
  "updatedAt": "2020-06-07T23:27:00.619Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}