UNPKG

@gooddollar/goodcontracts

Version:
1,406 lines 66.6 kB
{ "contractName": "IERC20", "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "who", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"see https://github.com/ethereum/EIPs/issues/20\",\"methods\":{},\"title\":\"ERC20 interface\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"openzeppelin-solidity/contracts/token/ERC20/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"openzeppelin-solidity/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x079c4e23ee448f529e43bfa3c4e8fb4be52cd0318ee923a276835bedf45b93d8\",\"urls\":[\"bzz-raw://ee762ff5b7746e41d27dcbcea00c7a3034b58adb1b45ddadddb5b721aff450df\",\"dweb:/ipfs/QmdxqtgEFZjHCoiYyz6pUAQ5iBm7As25jcyEbZoTaAgyDa\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", "source": "pragma solidity ^0.5.0;\n\n/**\n * @title ERC20 interface\n * @dev see https://github.com/ethereum/EIPs/issues/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": [ 22137 ] }, "id": 22138, "nodeType": "SourceUnit", "nodes": [ { "id": 22070, "literals": [ "solidity", "^", "0.5", ".0" ], "nodeType": "PragmaDirective", "src": "0:23:83" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20", "fullyImplemented": false, "id": 22137, "linearizedBaseContracts": [ 22137 ], "name": "IERC20", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 22079, "implemented": false, "kind": "function", "modifiers": [], "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { "id": 22075, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22072, "name": "to", "nodeType": "VariableDeclaration", "scope": 22079, "src": "155:10:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22071, "name": "address", "nodeType": "ElementaryTypeName", "src": "155:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22074, "name": "value", "nodeType": "VariableDeclaration", "scope": 22079, "src": "167:13:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 22073, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "167:7:83", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "154:27:83" }, "returnParameters": { "id": 22078, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22077, "name": "", "nodeType": "VariableDeclaration", "scope": 22079, "src": "200:4:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 22076, "name": "bool", "nodeType": "ElementaryTypeName", "src": "200:4:83", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "199:6:83" }, "scope": 22137, "src": "137:69:83", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 22088, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { "id": 22084, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22081, "name": "spender", "nodeType": "VariableDeclaration", "scope": 22088, "src": "229:15:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22080, "name": "address", "nodeType": "ElementaryTypeName", "src": "229:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22083, "name": "value", "nodeType": "VariableDeclaration", "scope": 22088, "src": "246:13:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 22082, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "246:7:83", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "228:32:83" }, "returnParameters": { "id": 22087, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22086, "name": "", "nodeType": "VariableDeclaration", "scope": 22088, "src": "279:4:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 22085, "name": "bool", "nodeType": "ElementaryTypeName", "src": "279:4:83", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "278:6:83" }, "scope": 22137, "src": "212:73:83", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 22099, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { "id": 22095, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22090, "name": "from", "nodeType": "VariableDeclaration", "scope": 22099, "src": "313:12:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22089, "name": "address", "nodeType": "ElementaryTypeName", "src": "313:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22092, "name": "to", "nodeType": "VariableDeclaration", "scope": 22099, "src": "327:10:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22091, "name": "address", "nodeType": "ElementaryTypeName", "src": "327:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22094, "name": "value", "nodeType": "VariableDeclaration", "scope": 22099, "src": "339:13:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 22093, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "339:7:83", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "312:41:83" }, "returnParameters": { "id": 22098, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22097, "name": "", "nodeType": "VariableDeclaration", "scope": 22099, "src": "372:4:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 22096, "name": "bool", "nodeType": "ElementaryTypeName", "src": "372:4:83", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "371:6:83" }, "scope": 22137, "src": "291:87:83", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 22104, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { "id": 22100, "nodeType": "ParameterList", "parameters": [], "src": "404:2:83" }, "returnParameters": { "id": 22103, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22102, "name": "", "nodeType": "VariableDeclaration", "scope": 22104, "src": "430:7:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 22101, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "430:7:83", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "429:9:83" }, "scope": 22137, "src": "384:55:83", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 22111, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { "id": 22107, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22106, "name": "who", "nodeType": "VariableDeclaration", "scope": 22111, "src": "464:11:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22105, "name": "address", "nodeType": "ElementaryTypeName", "src": "464:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "463:13:83" }, "returnParameters": { "id": 22110, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22109, "name": "", "nodeType": "VariableDeclaration", "scope": 22111, "src": "500:7:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 22108, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "500:7:83", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "499:9:83" }, "scope": 22137, "src": "445:64:83", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 22120, "implemented": false, "kind": "function", "modifiers": [], "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { "id": 22116, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22113, "name": "owner", "nodeType": "VariableDeclaration", "scope": 22120, "src": "534:13:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22112, "name": "address", "nodeType": "ElementaryTypeName", "src": "534:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22115, "name": "spender", "nodeType": "VariableDeclaration", "scope": 22120, "src": "549:15:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22114, "name": "address", "nodeType": "ElementaryTypeName", "src": "549:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "533:32:83" }, "returnParameters": { "id": 22119, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22118, "name": "", "nodeType": "VariableDeclaration", "scope": 22120, "src": "589:7:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 22117, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "589:7:83", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "588:9:83" }, "scope": 22137, "src": "515:83:83", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "anonymous": false, "documentation": null, "id": 22128, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { "id": 22127, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22122, "indexed": true, "name": "from", "nodeType": "VariableDeclaration", "scope": 22128, "src": "619:20:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22121, "name": "address", "nodeType": "ElementaryTypeName", "src": "619:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22124, "indexed": true, "name": "to", "nodeType": "VariableDeclaration", "scope": 22128, "src": "641:18:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22123, "name": "address", "nodeType": "ElementaryTypeName", "src": "641:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22126, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 22128, "src": "661:13:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 22125, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "661:7:83", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "618:57:83" }, "src": "604:72:83" }, { "anonymous": false, "documentation": null, "id": 22136, "name": "Approval", "nodeType": "EventDefinition", "parameters": { "id": 22135, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22130, "indexed": true, "name": "owner", "nodeType": "VariableDeclaration", "scope": 22136, "src": "697:21:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22129, "name": "address", "nodeType": "ElementaryTypeName", "src": "697:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22132, "indexed": true, "name": "spender", "nodeType": "VariableDeclaration", "scope": 22136, "src": "720:23:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22131, "name": "address", "nodeType": "ElementaryTypeName", "src": "720:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22134, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 22136, "src": "745:13:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 22133, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "745:7:83", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "696:63:83" }, "src": "682:78:83" } ], "scope": 22138, "src": "114:648:83" } ], "src": "0:763:83" }, "legacyAST": { "absolutePath": "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol", "exportedSymbols": { "IERC20": [ 22137 ] }, "id": 22138, "nodeType": "SourceUnit", "nodes": [ { "id": 22070, "literals": [ "solidity", "^", "0.5", ".0" ], "nodeType": "PragmaDirective", "src": "0:23:83" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20", "fullyImplemented": false, "id": 22137, "linearizedBaseContracts": [ 22137 ], "name": "IERC20", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 22079, "implemented": false, "kind": "function", "modifiers": [], "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { "id": 22075, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22072, "name": "to", "nodeType": "VariableDeclaration", "scope": 22079, "src": "155:10:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22071, "name": "address", "nodeType": "ElementaryTypeName", "src": "155:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22074, "name": "value", "nodeType": "VariableDeclaration", "scope": 22079, "src": "167:13:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 22073, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "167:7:83", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "154:27:83" }, "returnParameters": { "id": 22078, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22077, "name": "", "nodeType": "VariableDeclaration", "scope": 22079, "src": "200:4:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 22076, "name": "bool", "nodeType": "ElementaryTypeName", "src": "200:4:83", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "199:6:83" }, "scope": 22137, "src": "137:69:83", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 22088, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { "id": 22084, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22081, "name": "spender", "nodeType": "VariableDeclaration", "scope": 22088, "src": "229:15:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22080, "name": "address", "nodeType": "ElementaryTypeName", "src": "229:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22083, "name": "value", "nodeType": "VariableDeclaration", "scope": 22088, "src": "246:13:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 22082, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "246:7:83", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "228:32:83" }, "returnParameters": { "id": 22087, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22086, "name": "", "nodeType": "VariableDeclaration", "scope": 22088, "src": "279:4:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 22085, "name": "bool", "nodeType": "ElementaryTypeName", "src": "279:4:83", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "278:6:83" }, "scope": 22137, "src": "212:73:83", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 22099, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { "id": 22095, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22090, "name": "from", "nodeType": "VariableDeclaration", "scope": 22099, "src": "313:12:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22089, "name": "address", "nodeType": "ElementaryTypeName", "src": "313:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22092, "name": "to", "nodeType": "VariableDeclaration", "scope": 22099, "src": "327:10:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 22091, "name": "address", "nodeType": "ElementaryTypeName", "src": "327:7:83", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 22094, "name": "value", "nodeType": "VariableDeclaration", "scope": 22099, "src": "339:13:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 22093, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "339:7:83", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "312:41:83" }, "returnParameters": { "id": 22098, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 22097, "name": "", "nodeType": "VariableDeclaration", "scope": 22099, "src": "372:4:83", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 22096, "name": "bool", "nodeType": "ElementaryT