{ "contractName": "Token", "abi": [ { "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": "to", "type": "address" }, { "name": "value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "from", "type": "address" }, { "name": "to", "type": "address" }, { "name": "value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "spender", "type": "address" }, { "name": "value", "type": "uint256" } ], "name": "approve", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "owner", "type": "address" }, { "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.5.8+commit.23d335f2\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"name\":\"spender\",\"type\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"from\",\"type\":\"address\"},{\"name\":\"to\",\"type\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"to\",\"type\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"owner\",\"type\":\"address\"},{\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"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\"}],\"devdoc\":{\"methods\":{},\"title\":\"Abstract token contract - Functions to be implemented by token contracts\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@gnosis.pm/util-contracts/contracts/Token.sol\":\"Token\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":500},\"remappings\":[]},\"sources\":{\"@gnosis.pm/util-contracts/contracts/Token.sol\":{\"keccak256\":\"0x364778f634c900ed83553e17ef1284bd33fa68a738e668f664b4a0fa675bb586\",\"urls\":[\"bzzr://cb31caaf3364dbf5d688adb10de074284845b142c26d23a47b09ee510dd4a432\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", "source": "/// Implements ERC 20 Token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md\npragma solidity ^0.5.2;\n\n/// @title Abstract token contract - Functions to be implemented by token contracts\ncontract Token {\n /*\n * Events\n */\n event Transfer(address indexed from, address indexed to, uint value);\n event Approval(address indexed owner, address indexed spender, uint value);\n\n /*\n * Public functions\n */\n function transfer(address to, uint value) public returns (bool);\n function transferFrom(address from, address to, uint value) public returns (bool);\n function approve(address spender, uint value) public returns (bool);\n function balanceOf(address owner) public view returns (uint);\n function allowance(address owner, address spender) public view returns (uint);\n function totalSupply() public view returns (uint);\n}\n", "sourcePath": "@gnosis.pm/util-contracts/contracts/Token.sol", "ast": { "absolutePath": "@gnosis.pm/util-contracts/contracts/Token.sol", "exportedSymbols": { "Token": [ 1563 ] }, "id": 1564, "nodeType": "SourceUnit", "nodes": [ { "id": 1496, "literals": [ "solidity", "^", "0.5", ".2" ], "nodeType": "PragmaDirective", "src": "113:23:7" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": "@title Abstract token contract - Functions to be implemented by token contracts", "fullyImplemented": false, "id": 1563, "linearizedBaseContracts": [ 1563 ], "name": "Token", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "documentation": null, "id": 1504, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { "id": 1503, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1498, "indexed": true, "name": "from", "nodeType": "VariableDeclaration", "scope": 1504, "src": "288:20:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1497, "name": "address", "nodeType": "ElementaryTypeName", "src": "288:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1500, "indexed": true, "name": "to", "nodeType": "VariableDeclaration", "scope": 1504, "src": "310:18:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1499, "name": "address", "nodeType": "ElementaryTypeName", "src": "310:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1502, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 1504, "src": "330:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1501, "name": "uint", "nodeType": "ElementaryTypeName", "src": "330:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "287:54:7" }, "src": "273:69:7" }, { "anonymous": false, "documentation": null, "id": 1512, "name": "Approval", "nodeType": "EventDefinition", "parameters": { "id": 1511, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1506, "indexed": true, "name": "owner", "nodeType": "VariableDeclaration", "scope": 1512, "src": "362:21:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1505, "name": "address", "nodeType": "ElementaryTypeName", "src": "362:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1508, "indexed": true, "name": "spender", "nodeType": "VariableDeclaration", "scope": 1512, "src": "385:23:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1507, "name": "address", "nodeType": "ElementaryTypeName", "src": "385:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1510, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 1512, "src": "410:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1509, "name": "uint", "nodeType": "ElementaryTypeName", "src": "410:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "361:60:7" }, "src": "347:75:7" }, { "body": null, "documentation": null, "id": 1521, "implemented": false, "kind": "function", "modifiers": [], "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { "id": 1517, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1514, "name": "to", "nodeType": "VariableDeclaration", "scope": 1521, "src": "486:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1513, "name": "address", "nodeType": "ElementaryTypeName", "src": "486:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1516, "name": "value", "nodeType": "VariableDeclaration", "scope": 1521, "src": "498:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1515, "name": "uint", "nodeType": "ElementaryTypeName", "src": "498:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "485:24:7" }, "returnParameters": { "id": 1520, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1519, "name": "", "nodeType": "VariableDeclaration", "scope": 1521, "src": "526:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1518, "name": "bool", "nodeType": "ElementaryTypeName", "src": "526:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "525:6:7" }, "scope": 1563, "src": "468:64:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 1532, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { "id": 1528, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1523, "name": "from", "nodeType": "VariableDeclaration", "scope": 1532, "src": "559:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1522, "name": "address", "nodeType": "ElementaryTypeName", "src": "559:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1525, "name": "to", "nodeType": "VariableDeclaration", "scope": 1532, "src": "573:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1524, "name": "address", "nodeType": "ElementaryTypeName", "src": "573:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1527, "name": "value", "nodeType": "VariableDeclaration", "scope": 1532, "src": "585:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1526, "name": "uint", "nodeType": "ElementaryTypeName", "src": "585:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "558:38:7" }, "returnParameters": { "id": 1531, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1530, "name": "", "nodeType": "VariableDeclaration", "scope": 1532, "src": "613:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1529, "name": "bool", "nodeType": "ElementaryTypeName", "src": "613:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "612:6:7" }, "scope": 1563, "src": "537:82:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 1541, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { "id": 1537, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1534, "name": "spender", "nodeType": "VariableDeclaration", "scope": 1541, "src": "641:15:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1533, "name": "address", "nodeType": "ElementaryTypeName", "src": "641:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1536, "name": "value", "nodeType": "VariableDeclaration", "scope": 1541, "src": "658:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1535, "name": "uint", "nodeType": "ElementaryTypeName", "src": "658:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "640:29:7" }, "returnParameters": { "id": 1540, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1539, "name": "", "nodeType": "VariableDeclaration", "scope": 1541, "src": "686:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1538, "name": "bool", "nodeType": "ElementaryTypeName", "src": "686:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "685:6:7" }, "scope": 1563, "src": "624:68:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 1548, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { "id": 1544, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1543, "name": "owner", "nodeType": "VariableDeclaration", "scope": 1548, "src": "716:13:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1542, "name": "address", "nodeType": "ElementaryTypeName", "src": "716:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "715:15:7" }, "returnParameters": { "id": 1547, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1546, "name": "", "nodeType": "VariableDeclaration", "scope": 1548, "src": "752:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1545, "name": "uint", "nodeType": "ElementaryTypeName", "src": "752:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "751:6:7" }, "scope": 1563, "src": "697:61:7", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 1557, "implemented": false, "kind": "function", "modifiers": [], "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { "id": 1553, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1550, "name": "owner", "nodeType": "VariableDeclaration", "scope": 1557, "src": "782:13:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1549, "name": "address", "nodeType": "ElementaryTypeName", "src": "782:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1552, "name": "spender", "nodeType": "VariableDeclaration", "scope": 1557, "src": "797:15:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1551, "name": "address", "nodeType": "ElementaryTypeName", "src": "797:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "781:32:7" }, "returnParameters": { "id": 1556, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1555, "name": "", "nodeType": "VariableDeclaration", "scope": 1557, "src": "835:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1554, "name": "uint", "nodeType": "ElementaryTypeName", "src": "835:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "834:6:7" }, "scope": 1563, "src": "763:78:7", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 1562, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { "id": 1558, "nodeType": "ParameterList", "parameters": [], "src": "866:2:7" }, "returnParameters": { "id": 1561, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1560, "name": "", "nodeType": "VariableDeclaration", "scope": 1562, "src": "890:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1559, "name": "uint", "nodeType": "ElementaryTypeName", "src": "890:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "889:6:7" }, "scope": 1563, "src": "846:50:7", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], "scope": 1564, "src": "222:676:7" } ], "src": "113:786:7" }, "legacyAST": { "absolutePath": "@gnosis.pm/util-contracts/contracts/Token.sol", "exportedSymbols": { "Token": [ 1563 ] }, "id": 1564, "nodeType": "SourceUnit", "nodes": [ { "id": 1496, "literals": [ "solidity", "^", "0.5", ".2" ], "nodeType": "PragmaDirective", "src": "113:23:7" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": "@title Abstract token contract - Functions to be implemented by token contracts", "fullyImplemented": false, "id": 1563, "linearizedBaseContracts": [ 1563 ], "name": "Token", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "documentation": null, "id": 1504, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { "id": 1503, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1498, "indexed": true, "name": "from", "nodeType": "VariableDeclaration", "scope": 1504, "src": "288:20:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1497, "name": "address", "nodeType": "ElementaryTypeName", "src": "288:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1500, "indexed": true, "name": "to", "nodeType": "VariableDeclaration", "scope": 1504, "src": "310:18:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1499, "name": "address", "nodeType": "ElementaryTypeName", "src": "310:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1502, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 1504, "src": "330:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1501, "name": "uint", "nodeType": "ElementaryTypeName", "src": "330:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "287:54:7" }, "src": "273:69:7" }, { "anonymous": false, "documentation": null, "id": 1512, "name": "Approval", "nodeType": "EventDefinition", "parameters": { "id": 1511, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1506, "indexed": true, "name": "owner", "nodeType": "VariableDeclaration", "scope": 1512, "src": "362:21:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1505, "name": "address", "nodeType": "ElementaryTypeName", "src": "362:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1508, "indexed": true, "name": "spender", "nodeType": "VariableDeclaration", "scope": 1512, "src": "385:23:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1507, "name": "address", "nodeType": "ElementaryTypeName", "src": "385:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1510, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 1512, "src": "410:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1509, "name": "uint", "nodeType": "ElementaryTypeName", "src": "410:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "361:60:7" }, "src": "347:75:7" }, { "body": null, "documentation": null, "id": 1521, "implemented": false, "kind": "function", "modifiers": [], "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { "id": 1517, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1514, "name": "to", "nodeType": "VariableDeclaration", "scope": 1521, "src": "486:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1513, "name": "address", "nodeType": "ElementaryTypeName", "src": "486:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1516, "name": "value", "nodeType": "VariableDeclaration", "scope": 1521, "src": "498:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1515, "name": "uint", "nodeType": "ElementaryTypeName", "src": "498:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "485:24:7" }, "returnParameters": { "id": 1520, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1519, "name": "", "nodeType": "VariableDeclaration", "scope": 1521, "src": "526:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1518, "name": "bool", "nodeType": "ElementaryTypeName", "src": "526:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "525:6:7" }, "scope": 1563, "src": "468:64:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 1532, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { "id": 1528, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1523, "name": "from", "nodeType": "VariableDeclaration", "scope": 1532, "src": "559:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1522, "name": "address", "nodeType": "ElementaryTypeName", "src": "559:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1525, "name": "to", "nodeType": "VariableDeclaration", "scope": 1532, "src": "573:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1524, "name": "address", "nodeType": "ElementaryTypeName", "src": "573:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1527, "name": "value", "nodeType": "VariableDeclaration", "scope": 1532, "src": "585:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1526, "name": "uint", "nodeType": "ElementaryTypeName", "src": "585:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "558:38:7" }, "returnParameters": { "id": 1531, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1530, "name": "", "nodeType": "VariableDeclaration", "scope": 1532, "src": "613:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1529, "name": "bool", "nodeType": "ElementaryTypeName", "src": "613:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "612:6:7" }, "scope": 1563, "src": "537:82:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 1541, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { "id": 1537, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1534, "name": "spender", "nodeType": "VariableDeclaration", "scope": 1541, "src": "641:15:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1533, "name": "address", "nodeType": "ElementaryTypeName", "src": "641:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1536, "name": "value", "nodeType": "VariableDeclaration", "scope": 1541, "src": "658:10:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1535, "name": "uint", "nodeType": "ElementaryTypeName", "src": "658:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "640:29:7" }, "returnParameters": { "id": 1540, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1539, "name": "", "nodeType": "VariableDeclaration", "scope": 1541, "src": "686:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1538, "name": "bool", "nodeType": "ElementaryTypeName", "src": "686:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "685:6:7" }, "scope": 1563, "src": "624:68:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 1548, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { "id": 1544, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1543, "name": "owner", "nodeType": "VariableDeclaration", "scope": 1548, "src": "716:13:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1542, "name": "address", "nodeType": "ElementaryTypeName", "src": "716:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "715:15:7" }, "returnParameters": { "id": 1547, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1546, "name": "", "nodeType": "VariableDeclaration", "scope": 1548, "src": "752:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1545, "name": "uint", "nodeType": "ElementaryTypeName", "src": "752:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "751:6:7" }, "scope": 1563, "src": "697:61:7", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 1557, "implemented": false, "kind": "function", "modifiers": [], "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { "id": 1553, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1550, "name": "owner", "nodeType": "VariableDeclaration", "scope": 1557, "src": "782:13:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1549, "name": "address", "nodeType": "ElementaryTypeName", "src": "782:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1552, "name": "spender", "nodeType": "VariableDeclaration", "scope": 1557, "src": "797:15:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1551, "name": "address", "nodeType": "ElementaryTypeName", "src": "797:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "781:32:7" }, "returnParameters": { "id": 1556, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1555, "name": "", "nodeType": "VariableDeclaration", "scope": 1557, "src": "835:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1554, "name": "uint", "nodeType": "ElementaryTypeName", "src": "835:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "834:6:7" }, "scope": 1563, "src": "763:78:7", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 1562, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { "id": 1558, "nodeType": "ParameterList", "parameters": [], "src": "866:2:7" }, "returnParameters": { "id": 1561, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1560, "name": "", "nodeType": "VariableDeclaration", "scope": 1562, "src": "890:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1559, "name": "uint", "nodeType": "ElementaryTypeName", "src": "890:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "889:6:7" }, "scope": 1563, "src": "846:50:7", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], "scope": 1564, "src": "222:676:7" } ], "src": "113:786:7" }, "compiler": { "name": "solc", "version": "0.5.8+commit.23d335f2.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.0.10", "updatedAt": "2019-05-31T13:47:05.363Z", "devdoc": { "methods": {}, "title": "Abstract token contract - Functions to be implemented by token contracts" }, "userdoc": { "methods": {} } }