UNPKG

@aragon/apps-payroll

Version:

_**Code in Github:**_ [aragon-apps/apps/payroll](https://github.com/aragon/aragon-apps/tree/master/future-apps/payroll)

1,513 lines 62.1 kB
{ "contractName": "ERC20", "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": 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" }, { "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" } ], "bytecode": "0x", "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", "source": "// See https://github.com/OpenZeppelin/openzeppelin-solidity/blob/a9f910d34f0ab33a1ae5e714f69f9596a02b4d91/contracts/token/ERC20/ERC20.sol\n\npragma solidity ^0.4.24;\n\n\n/**\n * @title ERC20 interface\n * @dev see https://github.com/ethereum/EIPs/issues/20\n */\ncontract ERC20 {\n function totalSupply() public view returns (uint256);\n\n function balanceOf(address _who) public view returns (uint256);\n\n function allowance(address _owner, address _spender)\n public view returns (uint256);\n\n function transfer(address _to, uint256 _value) public returns (bool);\n\n function approve(address _spender, uint256 _value)\n public returns (bool);\n\n function transferFrom(address _from, address _to, uint256 _value)\n public returns (bool);\n\n event Transfer(\n address indexed from,\n address indexed to,\n uint256 value\n );\n\n event Approval(\n address indexed owner,\n address indexed spender,\n uint256 value\n );\n}\n", "sourcePath": "@aragon/os/contracts/lib/token/ERC20.sol", "ast": { "absolutePath": "@aragon/os/contracts/lib/token/ERC20.sol", "exportedSymbols": { "ERC20": [ 14294 ] }, "id": 14295, "nodeType": "SourceUnit", "nodes": [ { "id": 14227, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "140:24:62" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20", "fullyImplemented": false, "id": 14294, "linearizedBaseContracts": [ 14294 ], "name": "ERC20", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 14232, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { "id": 14228, "nodeType": "ParameterList", "parameters": [], "src": "297:2:62" }, "payable": false, "returnParameters": { "id": 14231, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14230, "name": "", "nodeType": "VariableDeclaration", "scope": 14232, "src": "321:7:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14229, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "321:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "320:9:62" }, "scope": 14294, "src": "277:53:62", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 14239, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { "id": 14235, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14234, "name": "_who", "nodeType": "VariableDeclaration", "scope": 14239, "src": "355:12:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14233, "name": "address", "nodeType": "ElementaryTypeName", "src": "355:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "354:14:62" }, "payable": false, "returnParameters": { "id": 14238, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14237, "name": "", "nodeType": "VariableDeclaration", "scope": 14239, "src": "390:7:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14236, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "390:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "389:9:62" }, "scope": 14294, "src": "336:63:62", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 14248, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { "id": 14244, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14241, "name": "_owner", "nodeType": "VariableDeclaration", "scope": 14248, "src": "424:14:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14240, "name": "address", "nodeType": "ElementaryTypeName", "src": "424:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14243, "name": "_spender", "nodeType": "VariableDeclaration", "scope": 14248, "src": "440:16:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14242, "name": "address", "nodeType": "ElementaryTypeName", "src": "440:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "423:34:62" }, "payable": false, "returnParameters": { "id": 14247, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14246, "name": "", "nodeType": "VariableDeclaration", "scope": 14248, "src": "487:7:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14245, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "487:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "486:9:62" }, "scope": 14294, "src": "405:91:62", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 14257, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { "id": 14253, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14250, "name": "_to", "nodeType": "VariableDeclaration", "scope": 14257, "src": "520:11:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14249, "name": "address", "nodeType": "ElementaryTypeName", "src": "520:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14252, "name": "_value", "nodeType": "VariableDeclaration", "scope": 14257, "src": "533:14:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14251, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "533:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "519:29:62" }, "payable": false, "returnParameters": { "id": 14256, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14255, "name": "", "nodeType": "VariableDeclaration", "scope": 14257, "src": "565:4:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 14254, "name": "bool", "nodeType": "ElementaryTypeName", "src": "565:4:62", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "564:6:62" }, "scope": 14294, "src": "502:69:62", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 14266, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { "id": 14262, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14259, "name": "_spender", "nodeType": "VariableDeclaration", "scope": 14266, "src": "594:16:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14258, "name": "address", "nodeType": "ElementaryTypeName", "src": "594:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14261, "name": "_value", "nodeType": "VariableDeclaration", "scope": 14266, "src": "612:14:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14260, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "612:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "593:34:62" }, "payable": false, "returnParameters": { "id": 14265, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14264, "name": "", "nodeType": "VariableDeclaration", "scope": 14266, "src": "652:4:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 14263, "name": "bool", "nodeType": "ElementaryTypeName", "src": "652:4:62", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "651:6:62" }, "scope": 14294, "src": "577:81:62", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 14277, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { "id": 14273, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14268, "name": "_from", "nodeType": "VariableDeclaration", "scope": 14277, "src": "686:13:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14267, "name": "address", "nodeType": "ElementaryTypeName", "src": "686:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14270, "name": "_to", "nodeType": "VariableDeclaration", "scope": 14277, "src": "701:11:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14269, "name": "address", "nodeType": "ElementaryTypeName", "src": "701:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14272, "name": "_value", "nodeType": "VariableDeclaration", "scope": 14277, "src": "714:14:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14271, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "714:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "685:44:62" }, "payable": false, "returnParameters": { "id": 14276, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14275, "name": "", "nodeType": "VariableDeclaration", "scope": 14277, "src": "754:4:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 14274, "name": "bool", "nodeType": "ElementaryTypeName", "src": "754:4:62", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "753:6:62" }, "scope": 14294, "src": "664:96:62", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "anonymous": false, "documentation": null, "id": 14285, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { "id": 14284, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14279, "indexed": true, "name": "from", "nodeType": "VariableDeclaration", "scope": 14285, "src": "790:20:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14278, "name": "address", "nodeType": "ElementaryTypeName", "src": "790:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14281, "indexed": true, "name": "to", "nodeType": "VariableDeclaration", "scope": 14285, "src": "820:18:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14280, "name": "address", "nodeType": "ElementaryTypeName", "src": "820:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14283, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 14285, "src": "848:13:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14282, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "848:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "780:87:62" }, "src": "766:102:62" }, { "anonymous": false, "documentation": null, "id": 14293, "name": "Approval", "nodeType": "EventDefinition", "parameters": { "id": 14292, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14287, "indexed": true, "name": "owner", "nodeType": "VariableDeclaration", "scope": 14293, "src": "898:21:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14286, "name": "address", "nodeType": "ElementaryTypeName", "src": "898:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14289, "indexed": true, "name": "spender", "nodeType": "VariableDeclaration", "scope": 14293, "src": "929:23:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14288, "name": "address", "nodeType": "ElementaryTypeName", "src": "929:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14291, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 14293, "src": "962:13:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14290, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "962:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "888:93:62" }, "src": "874:108:62" } ], "scope": 14295, "src": "256:728:62" } ], "src": "140:845:62" }, "legacyAST": { "absolutePath": "@aragon/os/contracts/lib/token/ERC20.sol", "exportedSymbols": { "ERC20": [ 14294 ] }, "id": 14295, "nodeType": "SourceUnit", "nodes": [ { "id": 14227, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "140:24:62" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20", "fullyImplemented": false, "id": 14294, "linearizedBaseContracts": [ 14294 ], "name": "ERC20", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 14232, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { "id": 14228, "nodeType": "ParameterList", "parameters": [], "src": "297:2:62" }, "payable": false, "returnParameters": { "id": 14231, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14230, "name": "", "nodeType": "VariableDeclaration", "scope": 14232, "src": "321:7:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14229, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "321:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "320:9:62" }, "scope": 14294, "src": "277:53:62", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 14239, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { "id": 14235, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14234, "name": "_who", "nodeType": "VariableDeclaration", "scope": 14239, "src": "355:12:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14233, "name": "address", "nodeType": "ElementaryTypeName", "src": "355:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "354:14:62" }, "payable": false, "returnParameters": { "id": 14238, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14237, "name": "", "nodeType": "VariableDeclaration", "scope": 14239, "src": "390:7:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14236, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "390:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "389:9:62" }, "scope": 14294, "src": "336:63:62", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 14248, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { "id": 14244, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14241, "name": "_owner", "nodeType": "VariableDeclaration", "scope": 14248, "src": "424:14:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14240, "name": "address", "nodeType": "ElementaryTypeName", "src": "424:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14243, "name": "_spender", "nodeType": "VariableDeclaration", "scope": 14248, "src": "440:16:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14242, "name": "address", "nodeType": "ElementaryTypeName", "src": "440:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "423:34:62" }, "payable": false, "returnParameters": { "id": 14247, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14246, "name": "", "nodeType": "VariableDeclaration", "scope": 14248, "src": "487:7:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14245, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "487:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "486:9:62" }, "scope": 14294, "src": "405:91:62", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 14257, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { "id": 14253, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14250, "name": "_to", "nodeType": "VariableDeclaration", "scope": 14257, "src": "520:11:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14249, "name": "address", "nodeType": "ElementaryTypeName", "src": "520:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14252, "name": "_value", "nodeType": "VariableDeclaration", "scope": 14257, "src": "533:14:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14251, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "533:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "519:29:62" }, "payable": false, "returnParameters": { "id": 14256, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14255, "name": "", "nodeType": "VariableDeclaration", "scope": 14257, "src": "565:4:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 14254, "name": "bool", "nodeType": "ElementaryTypeName", "src": "565:4:62", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "564:6:62" }, "scope": 14294, "src": "502:69:62", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 14266, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { "id": 14262, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14259, "name": "_spender", "nodeType": "VariableDeclaration", "scope": 14266, "src": "594:16:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14258, "name": "address", "nodeType": "ElementaryTypeName", "src": "594:7:62", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14261, "name": "_value", "nodeType": "VariableDeclaration", "scope": 14266, "src": "612:14:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14260, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "612:7:62", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "593:34:62" }, "payable": false, "returnParameters": { "id": 14265, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14264, "name": "", "nodeType": "VariableDeclaration", "scope": 14266, "src": "652:4:62", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 14263, "name": "bool", "nodeType": "ElementaryTypeName", "src": "652:4:62", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "651:6:62" }, "scope": 14294, "src": "577