UNPKG

solidity-cron

Version:

[![Build Status](https://travis-ci.com/Frontier-project/cron.svg?token=DJeMzxJJncp3nRaEUuxH&branch=master)](https://travis-ci.com/Frontier-project/cron) [![codecov](https://codecov.io/gh/Frontier-project/cron/branch/master/graph/badge.svg?token=BGbU5Q6IRV

1,524 lines 61.7 kB
{ "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": 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": "pragma solidity ^0.4.24;\n\n/**\n * @title ERC20 interface\n * @dev see https://github.com/ethereum/EIPs/issues/20\n */\ninterface IERC20 {\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)\n external view returns (uint256);\n\n function transfer(address to, uint256 value) external returns (bool);\n\n function approve(address spender, uint256 value)\n external returns (bool);\n\n function transferFrom(address from, address to, uint256 value)\n external 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": "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol", "ast": { "absolutePath": "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol", "exportedSymbols": { "IERC20": [ 1798 ] }, "id": 1799, "nodeType": "SourceUnit", "nodes": [ { "id": 1731, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:10" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20", "fullyImplemented": false, "id": 1798, "linearizedBaseContracts": [ 1798 ], "name": "IERC20", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 1736, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { "id": 1732, "nodeType": "ParameterList", "parameters": [], "src": "156:2:10" }, "payable": false, "returnParameters": { "id": 1735, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1734, "name": "", "nodeType": "VariableDeclaration", "scope": 1736, "src": "182:7:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1733, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "182:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "181:9:10" }, "scope": 1798, "src": "136:55:10", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1743, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { "id": 1739, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1738, "name": "who", "nodeType": "VariableDeclaration", "scope": 1743, "src": "214:11:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1737, "name": "address", "nodeType": "ElementaryTypeName", "src": "214:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "213:13:10" }, "payable": false, "returnParameters": { "id": 1742, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1741, "name": "", "nodeType": "VariableDeclaration", "scope": 1743, "src": "250:7:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1740, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "250:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "249:9:10" }, "scope": 1798, "src": "195:64:10", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1752, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { "id": 1748, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1745, "name": "owner", "nodeType": "VariableDeclaration", "scope": 1752, "src": "282:13:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1744, "name": "address", "nodeType": "ElementaryTypeName", "src": "282:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1747, "name": "spender", "nodeType": "VariableDeclaration", "scope": 1752, "src": "297:15:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1746, "name": "address", "nodeType": "ElementaryTypeName", "src": "297:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "281:32:10" }, "payable": false, "returnParameters": { "id": 1751, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1750, "name": "", "nodeType": "VariableDeclaration", "scope": 1752, "src": "341:7:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1749, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "341:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "340:9:10" }, "scope": 1798, "src": "263:87:10", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1761, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1754, "name": "to", "nodeType": "VariableDeclaration", "scope": 1761, "src": "372:10:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1753, "name": "address", "nodeType": "ElementaryTypeName", "src": "372:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1756, "name": "value", "nodeType": "VariableDeclaration", "scope": 1761, "src": "384:13:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1755, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "384:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "371:27:10" }, "payable": false, "returnParameters": { "id": 1760, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1759, "name": "", "nodeType": "VariableDeclaration", "scope": 1761, "src": "417:4:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1758, "name": "bool", "nodeType": "ElementaryTypeName", "src": "417:4:10", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "416:6:10" }, "scope": 1798, "src": "354:69:10", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1770, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { "id": 1766, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1763, "name": "spender", "nodeType": "VariableDeclaration", "scope": 1770, "src": "444:15:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1762, "name": "address", "nodeType": "ElementaryTypeName", "src": "444:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1765, "name": "value", "nodeType": "VariableDeclaration", "scope": 1770, "src": "461:13:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1764, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "461:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "443:32:10" }, "payable": false, "returnParameters": { "id": 1769, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1768, "name": "", "nodeType": "VariableDeclaration", "scope": 1770, "src": "498:4:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1767, "name": "bool", "nodeType": "ElementaryTypeName", "src": "498:4:10", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "497:6:10" }, "scope": 1798, "src": "427:77:10", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1781, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { "id": 1777, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1772, "name": "from", "nodeType": "VariableDeclaration", "scope": 1781, "src": "530:12:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1771, "name": "address", "nodeType": "ElementaryTypeName", "src": "530:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1774, "name": "to", "nodeType": "VariableDeclaration", "scope": 1781, "src": "544:10:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1773, "name": "address", "nodeType": "ElementaryTypeName", "src": "544:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1776, "name": "value", "nodeType": "VariableDeclaration", "scope": 1781, "src": "556:13:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1775, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "556:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "529:41:10" }, "payable": false, "returnParameters": { "id": 1780, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1779, "name": "", "nodeType": "VariableDeclaration", "scope": 1781, "src": "593:4:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1778, "name": "bool", "nodeType": "ElementaryTypeName", "src": "593:4:10", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "592:6:10" }, "scope": 1798, "src": "508:91:10", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "anonymous": false, "documentation": null, "id": 1789, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { "id": 1788, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1783, "indexed": true, "name": "from", "nodeType": "VariableDeclaration", "scope": 1789, "src": "623:20:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1782, "name": "address", "nodeType": "ElementaryTypeName", "src": "623:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1785, "indexed": true, "name": "to", "nodeType": "VariableDeclaration", "scope": 1789, "src": "649:18:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1784, "name": "address", "nodeType": "ElementaryTypeName", "src": "649:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1787, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 1789, "src": "673:13:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1786, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "673:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "617:73:10" }, "src": "603:88:10" }, { "anonymous": false, "documentation": null, "id": 1797, "name": "Approval", "nodeType": "EventDefinition", "parameters": { "id": 1796, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1791, "indexed": true, "name": "owner", "nodeType": "VariableDeclaration", "scope": 1797, "src": "715:21:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1790, "name": "address", "nodeType": "ElementaryTypeName", "src": "715:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1793, "indexed": true, "name": "spender", "nodeType": "VariableDeclaration", "scope": 1797, "src": "742:23:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1792, "name": "address", "nodeType": "ElementaryTypeName", "src": "742:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1795, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", "scope": 1797, "src": "771:13:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1794, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "771:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "709:79:10" }, "src": "695:94:10" } ], "scope": 1799, "src": "115:676:10" } ], "src": "0:792:10" }, "legacyAST": { "absolutePath": "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol", "exportedSymbols": { "IERC20": [ 1798 ] }, "id": 1799, "nodeType": "SourceUnit", "nodes": [ { "id": 1731, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:10" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20", "fullyImplemented": false, "id": 1798, "linearizedBaseContracts": [ 1798 ], "name": "IERC20", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 1736, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { "id": 1732, "nodeType": "ParameterList", "parameters": [], "src": "156:2:10" }, "payable": false, "returnParameters": { "id": 1735, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1734, "name": "", "nodeType": "VariableDeclaration", "scope": 1736, "src": "182:7:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1733, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "182:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "181:9:10" }, "scope": 1798, "src": "136:55:10", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1743, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { "id": 1739, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1738, "name": "who", "nodeType": "VariableDeclaration", "scope": 1743, "src": "214:11:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1737, "name": "address", "nodeType": "ElementaryTypeName", "src": "214:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "213:13:10" }, "payable": false, "returnParameters": { "id": 1742, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1741, "name": "", "nodeType": "VariableDeclaration", "scope": 1743, "src": "250:7:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1740, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "250:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "249:9:10" }, "scope": 1798, "src": "195:64:10", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1752, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { "id": 1748, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1745, "name": "owner", "nodeType": "VariableDeclaration", "scope": 1752, "src": "282:13:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1744, "name": "address", "nodeType": "ElementaryTypeName", "src": "282:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1747, "name": "spender", "nodeType": "VariableDeclaration", "scope": 1752, "src": "297:15:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1746, "name": "address", "nodeType": "ElementaryTypeName", "src": "297:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "281:32:10" }, "payable": false, "returnParameters": { "id": 1751, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1750, "name": "", "nodeType": "VariableDeclaration", "scope": 1752, "src": "341:7:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1749, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "341:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "340:9:10" }, "scope": 1798, "src": "263:87:10", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1761, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1754, "name": "to", "nodeType": "VariableDeclaration", "scope": 1761, "src": "372:10:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1753, "name": "address", "nodeType": "ElementaryTypeName", "src": "372:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1756, "name": "value", "nodeType": "VariableDeclaration", "scope": 1761, "src": "384:13:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1755, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "384:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "371:27:10" }, "payable": false, "returnParameters": { "id": 1760, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1759, "name": "", "nodeType": "VariableDeclaration", "scope": 1761, "src": "417:4:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1758, "name": "bool", "nodeType": "ElementaryTypeName", "src": "417:4:10", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "416:6:10" }, "scope": 1798, "src": "354:69:10", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1770, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { "id": 1766, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1763, "name": "spender", "nodeType": "VariableDeclaration", "scope": 1770, "src": "444:15:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1762, "name": "address", "nodeType": "ElementaryTypeName", "src": "444:7:10", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1765, "name": "value", "nodeType": "VariableDeclaration", "scope": 1770, "src": "461:13:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1764, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "461:7:10", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "443:32:10" }, "payable": false, "returnParameters": { "id": 1769, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1768, "name": "", "nodeType": "VariableDeclaration", "scope": 1770, "src": "498:4:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1767, "name": "bool", "nodeType": "ElementaryTypeName", "src": "498:4:10", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "497:6:10" }, "scope": 1798, "src": "427:77:10", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1781, "implemented": false, "isConstructor": false, "isDe