{
  "contractName": "ERC20ViewOnly",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "totalSupply",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_who",
          "type": "address"
        }
      ],
      "name": "balanceOf",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "from",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "to",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "value",
          "type": "uint256"
        }
      ],
      "name": "Transfer",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "owner",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "spender",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "value",
          "type": "uint256"
        }
      ],
      "name": "Approval",
      "type": "event"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "approve",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "transfer",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "transferFrom",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "address"
        }
      ],
      "name": "allowance",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "/*\n * SPDX-License-Identitifer:    GPL-3.0-or-later\n */\n\npragma solidity ^0.4.24;\n\nimport \"@aragon/os/contracts/lib/token/ERC20.sol\";\n\n\n/**\n * @title ERC20ViewOnly\n * @notice Abstract ERC20 interface that is \"view-only\" by disallowing transfers and allowances. Implementations must track account balances via another mechanism.\n * @dev Implemented functions at this level **NEVER** revert\n */\ncontract ERC20ViewOnly is ERC20 {\n    string private constant ERROR_ERC20_VIEW_ONLY = \"ERC20_VIEW_ONLY\";\n\n    function approve(address, uint256) public returns (bool) {\n        revert(ERROR_ERC20_VIEW_ONLY);\n    }\n\n    function transfer(address, uint256) public returns (bool) {\n        revert(ERROR_ERC20_VIEW_ONLY);\n    }\n\n    function transferFrom(address, address, uint256) public returns (bool) {\n        revert(ERROR_ERC20_VIEW_ONLY);\n    }\n\n    function allowance(address, address) public view returns (uint256) {\n        return 0;\n    }\n}\n",
  "sourcePath": "@aragonone/voting-connectors-contract-utils/contracts/ERC20ViewOnly.sol",
  "ast": {
    "absolutePath": "@aragonone/voting-connectors-contract-utils/contracts/ERC20ViewOnly.sol",
    "exportedSymbols": {
      "ERC20ViewOnly": [
        10356
      ]
    },
    "id": 10357,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 10293,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "57:24:63"
      },
      {
        "absolutePath": "@aragon/os/contracts/lib/token/ERC20.sol",
        "file": "@aragon/os/contracts/lib/token/ERC20.sol",
        "id": 10294,
        "nodeType": "ImportDirective",
        "scope": 10357,
        "sourceUnit": 9926,
        "src": "83:50:63",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10295,
              "name": "ERC20",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 9925,
              "src": "419:5:63",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_ERC20_$9925",
                "typeString": "contract ERC20"
              }
            },
            "id": 10296,
            "nodeType": "InheritanceSpecifier",
            "src": "419:5:63"
          }
        ],
        "contractDependencies": [
          9925
        ],
        "contractKind": "contract",
        "documentation": "@title ERC20ViewOnly\n@notice Abstract ERC20 interface that is \"view-only\" by disallowing transfers and allowances. Implementations must track account balances via another mechanism.\n@dev Implemented functions at this level **NEVER** revert",
        "fullyImplemented": false,
        "id": 10356,
        "linearizedBaseContracts": [
          10356,
          9925
        ],
        "name": "ERC20ViewOnly",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": true,
            "id": 10299,
            "name": "ERROR_ERC20_VIEW_ONLY",
            "nodeType": "VariableDeclaration",
            "scope": 10356,
            "src": "431:65:63",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_memory",
              "typeString": "string"
            },
            "typeName": {
              "id": 10297,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "431:6:63",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "45524332305f564945575f4f4e4c59",
              "id": 10298,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "string",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "479:17:63",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_stringliteral_77074cdcde2cba57f94cd3c43316ab63ba995b4d0e92008e97163948ece4a6ab",
                "typeString": "literal_string \"ERC20_VIEW_ONLY\""
              },
              "value": "ERC20_VIEW_ONLY"
            },
            "visibility": "private"
          },
          {
            "body": {
              "id": 10312,
              "nodeType": "Block",
              "src": "560:46:63",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10309,
                        "name": "ERROR_ERC20_VIEW_ONLY",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10299,
                        "src": "577:21:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 10308,
                      "name": "revert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        10409,
                        10410
                      ],
                      "referencedDeclaration": 10410,
                      "src": "570:6:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (string memory) pure"
                      }
                    },
                    "id": 10310,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "570:29:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10311,
                  "nodeType": "ExpressionStatement",
                  "src": "570:29:63"
                }
              ]
            },
            "documentation": null,
            "id": 10313,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "approve",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10304,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10301,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10313,
                  "src": "520:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10300,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "520:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10303,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10313,
                  "src": "529:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10302,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "529:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "519:18:63"
            },
            "payable": false,
            "returnParameters": {
              "id": 10307,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10306,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10313,
                  "src": "554:4:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10305,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "554:4:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "553:6:63"
            },
            "scope": 10356,
            "src": "503:103:63",
            "stateMutability": "nonpayable",
            "superFunction": 9897,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10326,
              "nodeType": "Block",
              "src": "670:46:63",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10323,
                        "name": "ERROR_ERC20_VIEW_ONLY",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10299,
                        "src": "687:21:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 10322,
                      "name": "revert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        10409,
                        10410
                      ],
                      "referencedDeclaration": 10410,
                      "src": "680:6:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (string memory) pure"
                      }
                    },
                    "id": 10324,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "680:29:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10325,
                  "nodeType": "ExpressionStatement",
                  "src": "680:29:63"
                }
              ]
            },
            "documentation": null,
            "id": 10327,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "transfer",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10318,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10315,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10327,
                  "src": "630:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10314,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "630:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10317,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10327,
                  "src": "639:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10316,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "639:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "629:18:63"
            },
            "payable": false,
            "returnParameters": {
              "id": 10321,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10320,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10327,
                  "src": "664:4:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10319,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "664:4:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "663:6:63"
            },
            "scope": 10356,
            "src": "612:104:63",
            "stateMutability": "nonpayable",
            "superFunction": 9888,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10342,
              "nodeType": "Block",
              "src": "793:46:63",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10339,
                        "name": "ERROR_ERC20_VIEW_ONLY",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10299,
                        "src": "810:21:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 10338,
                      "name": "revert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        10409,
                        10410
                      ],
                      "referencedDeclaration": 10410,
                      "src": "803:6:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (string memory) pure"
                      }
                    },
                    "id": 10340,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "803:29:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10341,
                  "nodeType": "ExpressionStatement",
                  "src": "803:29:63"
                }
              ]
            },
            "documentation": null,
            "id": 10343,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "transferFrom",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10334,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10329,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10343,
                  "src": "744:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10328,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "744:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10331,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10343,
                  "src": "753:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10330,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "753:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10333,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10343,
                  "src": "762:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10332,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "762:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "743:27:63"
            },
            "payable": false,
            "returnParameters": {
              "id": 10337,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10336,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10343,
                  "src": "787:4:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10335,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "787:4:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "786:6:63"
            },
            "scope": 10356,
            "src": "722:117:63",
            "stateMutability": "nonpayable",
            "superFunction": 9908,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10354,
              "nodeType": "Block",
              "src": "912:25:63",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "30",
                    "id": 10352,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "929:1:63",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_rational_0_by_1",
                      "typeString": "int_const 0"
                    },
                    "value": "0"
                  },
                  "functionReturnParameters": 10351,
                  "id": 10353,
                  "nodeType": "Return",
                  "src": "922:8:63"
                }
              ]
            },
            "documentation": null,
            "id": 10355,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "allowance",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10348,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10345,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10355,
                  "src": "864:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10344,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "864:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10347,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10355,
                  "src": "873:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10346,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "873:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "863:18:63"
            },
            "payable": false,
            "returnParameters": {
              "id": 10351,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10350,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10355,
                  "src": "903:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10349,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "903:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "902:9:63"
            },
            "scope": 10356,
            "src": "845:92:63",
            "stateMutability": "view",
            "superFunction": 9879,
            "visibility": "public"
          }
        ],
        "scope": 10357,
        "src": "393:546:63"
      }
    ],
    "src": "57:883:63"
  },
  "legacyAST": {
    "absolutePath": "@aragonone/voting-connectors-contract-utils/contracts/ERC20ViewOnly.sol",
    "exportedSymbols": {
      "ERC20ViewOnly": [
        10356
      ]
    },
    "id": 10357,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 10293,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "57:24:63"
      },
      {
        "absolutePath": "@aragon/os/contracts/lib/token/ERC20.sol",
        "file": "@aragon/os/contracts/lib/token/ERC20.sol",
        "id": 10294,
        "nodeType": "ImportDirective",
        "scope": 10357,
        "sourceUnit": 9926,
        "src": "83:50:63",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10295,
              "name": "ERC20",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 9925,
              "src": "419:5:63",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_ERC20_$9925",
                "typeString": "contract ERC20"
              }
            },
            "id": 10296,
            "nodeType": "InheritanceSpecifier",
            "src": "419:5:63"
          }
        ],
        "contractDependencies": [
          9925
        ],
        "contractKind": "contract",
        "documentation": "@title ERC20ViewOnly\n@notice Abstract ERC20 interface that is \"view-only\" by disallowing transfers and allowances. Implementations must track account balances via another mechanism.\n@dev Implemented functions at this level **NEVER** revert",
        "fullyImplemented": false,
        "id": 10356,
        "linearizedBaseContracts": [
          10356,
          9925
        ],
        "name": "ERC20ViewOnly",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": true,
            "id": 10299,
            "name": "ERROR_ERC20_VIEW_ONLY",
            "nodeType": "VariableDeclaration",
            "scope": 10356,
            "src": "431:65:63",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_string_memory",
              "typeString": "string"
            },
            "typeName": {
              "id": 10297,
              "name": "string",
              "nodeType": "ElementaryTypeName",
              "src": "431:6:63",
              "typeDescriptions": {
                "typeIdentifier": "t_string_storage_ptr",
                "typeString": "string"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "45524332305f564945575f4f4e4c59",
              "id": 10298,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "string",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "479:17:63",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_stringliteral_77074cdcde2cba57f94cd3c43316ab63ba995b4d0e92008e97163948ece4a6ab",
                "typeString": "literal_string \"ERC20_VIEW_ONLY\""
              },
              "value": "ERC20_VIEW_ONLY"
            },
            "visibility": "private"
          },
          {
            "body": {
              "id": 10312,
              "nodeType": "Block",
              "src": "560:46:63",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10309,
                        "name": "ERROR_ERC20_VIEW_ONLY",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10299,
                        "src": "577:21:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 10308,
                      "name": "revert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        10409,
                        10410
                      ],
                      "referencedDeclaration": 10410,
                      "src": "570:6:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (string memory) pure"
                      }
                    },
                    "id": 10310,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "570:29:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10311,
                  "nodeType": "ExpressionStatement",
                  "src": "570:29:63"
                }
              ]
            },
            "documentation": null,
            "id": 10313,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "approve",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10304,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10301,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10313,
                  "src": "520:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10300,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "520:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10303,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10313,
                  "src": "529:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10302,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "529:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "519:18:63"
            },
            "payable": false,
            "returnParameters": {
              "id": 10307,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10306,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10313,
                  "src": "554:4:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10305,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "554:4:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "553:6:63"
            },
            "scope": 10356,
            "src": "503:103:63",
            "stateMutability": "nonpayable",
            "superFunction": 9897,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10326,
              "nodeType": "Block",
              "src": "670:46:63",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10323,
                        "name": "ERROR_ERC20_VIEW_ONLY",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10299,
                        "src": "687:21:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 10322,
                      "name": "revert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        10409,
                        10410
                      ],
                      "referencedDeclaration": 10410,
                      "src": "680:6:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (string memory) pure"
                      }
                    },
                    "id": 10324,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "680:29:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10325,
                  "nodeType": "ExpressionStatement",
                  "src": "680:29:63"
                }
              ]
            },
            "documentation": null,
            "id": 10327,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "transfer",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10318,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10315,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10327,
                  "src": "630:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10314,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "630:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10317,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10327,
                  "src": "639:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10316,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "639:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "629:18:63"
            },
            "payable": false,
            "returnParameters": {
              "id": 10321,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10320,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10327,
                  "src": "664:4:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10319,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "664:4:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "663:6:63"
            },
            "scope": 10356,
            "src": "612:104:63",
            "stateMutability": "nonpayable",
            "superFunction": 9888,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10342,
              "nodeType": "Block",
              "src": "793:46:63",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10339,
                        "name": "ERROR_ERC20_VIEW_ONLY",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10299,
                        "src": "810:21:63",
                        "typeDescriptions": {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_string_memory",
                          "typeString": "string memory"
                        }
                      ],
                      "id": 10338,
                      "name": "revert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        10409,
                        10410
                      ],
                      "referencedDeclaration": 10410,
                      "src": "803:6:63",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (string memory) pure"
                      }
                    },
                    "id": 10340,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "803:29:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10341,
                  "nodeType": "ExpressionStatement",
                  "src": "803:29:63"
                }
              ]
            },
            "documentation": null,
            "id": 10343,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "transferFrom",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10334,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10329,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10343,
                  "src": "744:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10328,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "744:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10331,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10343,
                  "src": "753:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10330,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "753:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10333,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10343,
                  "src": "762:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10332,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "762:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "743:27:63"
            },
            "payable": false,
            "returnParameters": {
              "id": 10337,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10336,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10343,
                  "src": "787:4:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10335,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "787:4:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "786:6:63"
            },
            "scope": 10356,
            "src": "722:117:63",
            "stateMutability": "nonpayable",
            "superFunction": 9908,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10354,
              "nodeType": "Block",
              "src": "912:25:63",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "hexValue": "30",
                    "id": 10352,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "929:1:63",
                    "subdenomination": null,
                    "typeDescriptions": {
                      "typeIdentifier": "t_rational_0_by_1",
                      "typeString": "int_const 0"
                    },
                    "value": "0"
                  },
                  "functionReturnParameters": 10351,
                  "id": 10353,
                  "nodeType": "Return",
                  "src": "922:8:63"
                }
              ]
            },
            "documentation": null,
            "id": 10355,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "allowance",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10348,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10345,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10355,
                  "src": "864:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10344,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "864:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10347,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10355,
                  "src": "873:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10346,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "873:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "863:18:63"
            },
            "payable": false,
            "returnParameters": {
              "id": 10351,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10350,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10355,
                  "src": "903:7:63",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10349,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "903:7:63",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "902:9:63"
            },
            "scope": 10356,
            "src": "845:92:63",
            "stateMutability": "view",
            "superFunction": 9879,
            "visibility": "public"
          }
        ],
        "scope": 10357,
        "src": "393:546:63"
      }
    ],
    "src": "57:883:63"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.2.0",
  "updatedAt": "2020-06-07T23:27:00.625Z",
  "devdoc": {
    "methods": {},
    "title": "ERC20ViewOnly"
  },
  "userdoc": {
    "methods": {}
  }
}