{ "contractName": "IERC20", "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": "spender", "type": "address" }, { "name": "value", "type": "uint256" } ], "name": "approve", "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": 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" }, { "constant": true, "inputs": [ { "name": "owner", "type": "address" }, { "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", "source": "pragma solidity ^0.5.2;\n\n/**\n * @title ERC20 interface\n * @dev see https://eips.ethereum.org/EIPS/eip-20\n */\ninterface IERC20 {\n function transfer(address to, uint256 value) external returns (bool);\n\n function approve(address spender, uint256 value) external returns (bool);\n\n function transferFrom(address from, address to, uint256 value) external returns (bool);\n\n function totalSupply() external view returns (uint256);\n\n function balanceOf(address who) external view returns (uint256);\n\n function allowance(address owner, address spender) external view returns (uint256);\n\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n", "sourcePath": "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol", "ast": { "absolutePath": "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol", "exportedSymbols": { "IERC20": [ 3274 ] }, "id": 3275, "nodeType": "SourceUnit", "nodes": [ { "id": 3207, "literals": [ "solidity", "^", "0.5", ".2" ], "nodeType": "PragmaDirective", "src": "0:23:11" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": "@title ERC20 interface\n@dev see https://eips.ethereum.org/EIPS/eip-20", "fullyImplemented": false, "id": 3274, "linearizedBaseContracts": [ 3274 ], "name": "IERC20", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 3216, "implemented": false, "kind": "function", "modifiers": [], "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { "id": 3212, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3209, "name": "to", "nodeType": "VariableDeclaration", "scope": 3216, "src": "150:10:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3208, "name": "address", "nodeType": "ElementaryTypeName", "src": "150:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3211, "name": "value", "nodeType": "VariableDeclaration", "scope": 3216, "src": "162:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3210, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "162:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "149:27:11" }, "returnParameters": { "id": 3215, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3214, "name": "", "nodeType": "VariableDeclaration", "scope": 3216, "src": "195:4:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 3213, "name": "bool", "nodeType": "ElementaryTypeName", "src": "195:4:11", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "194:6:11" }, "scope": 3274, "src": "132:69:11", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 3225, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { "id": 3221, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3218, "name": "spender", "nodeType": "VariableDeclaration", "scope": 3225, "src": "224:15:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3217, "name": "address", "nodeType": "ElementaryTypeName", "src": "224:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3220, "name": "value", "nodeType": "VariableDeclaration", "scope": 3225, "src": "241:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3219, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "241:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "223:32:11" }, "returnParameters": { "id": 3224, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3223, "name": "", "nodeType": "VariableDeclaration", "scope": 3225, "src": "274:4:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 3222, "name": "bool", "nodeType": "ElementaryTypeName", "src": "274:4:11", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "273:6:11" }, "scope": 3274, "src": "207:73:11", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 3236, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { "id": 3232, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3227, "name": "from", "nodeType": "VariableDeclaration", "scope": 3236, "src": "308:12:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3226, "name": "address", "nodeType": "ElementaryTypeName", "src": "308:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3229, "name": "to", "nodeType": "VariableDeclaration", "scope": 3236, "src": "322:10:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3228, "name": "address", "nodeType": "ElementaryTypeName", "src": "322:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3231, "name": "value", "nodeType": "VariableDeclaration", "scope": 3236, "src": "334:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3230, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "334:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "307:41:11" }, "returnParameters": { "id": 3235, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3234, "name": "", "nodeType": "VariableDeclaration", "scope": 3236, "src": "367:4:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 3233, "name": "bool", "nodeType": "ElementaryTypeName", "src": "367:4:11", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "366:6:11" }, "scope": 3274, "src": "286:87:11", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 3241, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { "id": 3237, "nodeType": "ParameterList", "parameters": [], "src": "399:2:11" }, "returnParameters": { "id": 3240, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3239, "name": "", "nodeType": "VariableDeclaration", "scope": 3241, "src": "425:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3238, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "425:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "424:9:11" }, "scope": 3274, "src": "379:55:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 3248, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { "id": 3244, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3243, "name": "who", "nodeType": "VariableDeclaration", "scope": 3248, "src": "459:11:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3242, "name": "address", "nodeType": "ElementaryTypeName", "src": "459:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "458:13:11" }, "returnParameters": { "id": 3247, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3246, "name": "", "nodeType": "VariableDeclaration", "scope": 3248, "src": "495:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3245, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "495:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "494:9:11" }, "scope": 3274, "src": "440:64:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 3257, "implemented": false, "kind": "function", "modifiers": [], "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { "id": 3253, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3250, "name": "owner", "nodeType": "VariableDeclaration", "scope": 3257, "src": "529:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3249, "name": "address", "nodeType": "ElementaryTypeName", "src": "529:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3252, "name": "spender", "nodeType": "VariableDeclaration", "scope": 3257, "src": "544:15:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3251, "name": "address", "nodeType": "ElementaryTypeName", "src": "544:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "528:32:11" }, "returnParameters": { "id": 3256, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3255, "name": "", "nodeType": "VariableDeclaration", "scope": 3257, "src": "584:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3254, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "584:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "583:9:11" }, "scope": 3274, "src": "510:83:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "anonymous": false, "documentation": null, "id": 3265, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { "id": 3264, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3259, "indexed": true, "name": "from", "nodeType": "VariableDeclaration", "scope": 3265, "src": "614:20:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3258, "name": "address", "nodeType": "ElementaryTypeName", "src": "614:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3261, "indexed": true, "name": "to", "nodeType": "VariableDeclaration", "scope": 3265, "src": "636:18:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3260, "name": "address", "nodeType": "ElementaryTypeName", "src": "636:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3263, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 3265, "src": "656:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3262, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "656:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "613:57:11" }, "src": "599:72:11" }, { "anonymous": false, "documentation": null, "id": 3273, "name": "Approval", "nodeType": "EventDefinition", "parameters": { "id": 3272, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3267, "indexed": true, "name": "owner", "nodeType": "VariableDeclaration", "scope": 3273, "src": "692:21:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3266, "name": "address", "nodeType": "ElementaryTypeName", "src": "692:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3269, "indexed": true, "name": "spender", "nodeType": "VariableDeclaration", "scope": 3273, "src": "715:23:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3268, "name": "address", "nodeType": "ElementaryTypeName", "src": "715:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3271, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 3273, "src": "740:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3270, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "740:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "691:63:11" }, "src": "677:78:11" } ], "scope": 3275, "src": "109:648:11" } ], "src": "0:758:11" }, "legacyAST": { "absolutePath": "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol", "exportedSymbols": { "IERC20": [ 3274 ] }, "id": 3275, "nodeType": "SourceUnit", "nodes": [ { "id": 3207, "literals": [ "solidity", "^", "0.5", ".2" ], "nodeType": "PragmaDirective", "src": "0:23:11" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": "@title ERC20 interface\n@dev see https://eips.ethereum.org/EIPS/eip-20", "fullyImplemented": false, "id": 3274, "linearizedBaseContracts": [ 3274 ], "name": "IERC20", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 3216, "implemented": false, "kind": "function", "modifiers": [], "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { "id": 3212, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3209, "name": "to", "nodeType": "VariableDeclaration", "scope": 3216, "src": "150:10:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3208, "name": "address", "nodeType": "ElementaryTypeName", "src": "150:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3211, "name": "value", "nodeType": "VariableDeclaration", "scope": 3216, "src": "162:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3210, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "162:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "149:27:11" }, "returnParameters": { "id": 3215, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3214, "name": "", "nodeType": "VariableDeclaration", "scope": 3216, "src": "195:4:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 3213, "name": "bool", "nodeType": "ElementaryTypeName", "src": "195:4:11", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "194:6:11" }, "scope": 3274, "src": "132:69:11", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 3225, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { "id": 3221, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3218, "name": "spender", "nodeType": "VariableDeclaration", "scope": 3225, "src": "224:15:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3217, "name": "address", "nodeType": "ElementaryTypeName", "src": "224:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3220, "name": "value", "nodeType": "VariableDeclaration", "scope": 3225, "src": "241:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3219, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "241:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "223:32:11" }, "returnParameters": { "id": 3224, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3223, "name": "", "nodeType": "VariableDeclaration", "scope": 3225, "src": "274:4:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 3222, "name": "bool", "nodeType": "ElementaryTypeName", "src": "274:4:11", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "273:6:11" }, "scope": 3274, "src": "207:73:11", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 3236, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { "id": 3232, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3227, "name": "from", "nodeType": "VariableDeclaration", "scope": 3236, "src": "308:12:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3226, "name": "address", "nodeType": "ElementaryTypeName", "src": "308:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3229, "name": "to", "nodeType": "VariableDeclaration", "scope": 3236, "src": "322:10:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3228, "name": "address", "nodeType": "ElementaryTypeName", "src": "322:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3231, "name": "value", "nodeType": "VariableDeclaration", "scope": 3236, "src": "334:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3230, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "334:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "307:41:11" }, "returnParameters": { "id": 3235, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3234, "name": "", "nodeType": "VariableDeclaration", "scope": 3236, "src": "367:4:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 3233, "name": "bool", "nodeType": "ElementaryTypeName", "src": "367:4:11", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "366:6:11" }, "scope": 3274, "src": "286:87:11", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 3241, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { "id": 3237, "nodeType": "ParameterList", "parameters": [], "src": "399:2:11" }, "returnParameters": { "id": 3240, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3239, "name": "", "nodeType": "VariableDeclaration", "scope": 3241, "src": "425:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3238, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "425:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "424:9:11" }, "scope": 3274, "src": "379:55:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 3248, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { "id": 3244, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3243, "name": "who", "nodeType": "VariableDeclaration", "scope": 3248, "src": "459:11:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3242, "name": "address", "nodeType": "ElementaryTypeName", "src": "459:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "458:13:11" }, "returnParameters": { "id": 3247, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3246, "name": "", "nodeType": "VariableDeclaration", "scope": 3248, "src": "495:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3245, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "495:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "494:9:11" }, "scope": 3274, "src": "440:64:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 3257, "implemented": false, "kind": "function", "modifiers": [], "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { "id": 3253, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3250, "name": "owner", "nodeType": "VariableDeclaration", "scope": 3257, "src": "529:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3249, "name": "address", "nodeType": "ElementaryTypeName", "src": "529:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3252, "name": "spender", "nodeType": "VariableDeclaration", "scope": 3257, "src": "544:15:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3251, "name": "address", "nodeType": "ElementaryTypeName", "src": "544:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "528:32:11" }, "returnParameters": { "id": 3256, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3255, "name": "", "nodeType": "VariableDeclaration", "scope": 3257, "src": "584:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3254, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "584:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "583:9:11" }, "scope": 3274, "src": "510:83:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "anonymous": false, "documentation": null, "id": 3265, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { "id": 3264, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3259, "indexed": true, "name": "from", "nodeType": "VariableDeclaration", "scope": 3265, "src": "614:20:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3258, "name": "address", "nodeType": "ElementaryTypeName", "src": "614:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3261, "indexed": true, "name": "to", "nodeType": "VariableDeclaration", "scope": 3265, "src": "636:18:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3260, "name": "address", "nodeType": "ElementaryTypeName", "src": "636:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3263, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 3265, "src": "656:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3262, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "656:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "613:57:11" }, "src": "599:72:11" }, { "anonymous": false, "documentation": null, "id": 3273, "name": "Approval", "nodeType": "EventDefinition", "parameters": { "id": 3272, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 3267, "indexed": true, "name": "owner", "nodeType": "VariableDeclaration", "scope": 3273, "src": "692:21:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3266, "name": "address", "nodeType": "ElementaryTypeName", "src": "692:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3269, "indexed": true, "name": "spender", "nodeType": "VariableDeclaration", "scope": 3273, "src": "715:23:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 3268, "name": "address", "nodeType": "ElementaryTypeName", "src": "715:7:11", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 3271, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 3273, "src": "740:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 3270, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "740:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "691:63:11" }, "src": "677:78:11" } ], "scope": 3275, "src": "109:648:11" } ], "src": "0:758:11" }, "compiler": { "name": "solc", "version": "0.5.2+commit.1df8f40c.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.0.5", "updatedAt": "2019-06-04T10:01:11.417Z", "devdoc": { "details": "see https://eips.ethereum.org/EIPS/eip-20", "methods": {}, "title": "ERC20 interface" }, "userdoc": { "methods": {} } }