cc-zos-vouching
Version:
Vouching logic for the EVM packages of the ZeppelinOS smart contract platform
1,524 lines • 61.7 kB
JSON
{
"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/**\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-eth/contracts/token/ERC20/IERC20.sol",
"ast": {
"absolutePath": "openzeppelin-eth/contracts/token/ERC20/IERC20.sol",
"exportedSymbols": {
"IERC20": [
1612
]
},
"id": 1613,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1545,
"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": 1612,
"linearizedBaseContracts": [
1612
],
"name": "IERC20",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 1550,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1546,
"nodeType": "ParameterList",
"parameters": [],
"src": "157:2:10"
},
"payable": false,
"returnParameters": {
"id": 1549,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1548,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1550,
"src": "183:7:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1547,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "183:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "182:9:10"
},
"scope": 1612,
"src": "137:55:10",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1557,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1553,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1552,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 1557,
"src": "215:11:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1551,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "215:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "214:13:10"
},
"payable": false,
"returnParameters": {
"id": 1556,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1555,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1557,
"src": "251:7:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1554,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "251:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "250:9:10"
},
"scope": 1612,
"src": "196:64:10",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1566,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "allowance",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1562,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1559,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 1566,
"src": "283:13:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1558,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "283:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1561,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 1566,
"src": "298:15:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1560,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "298:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "282:32:10"
},
"payable": false,
"returnParameters": {
"id": 1565,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1564,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1566,
"src": "342:7:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1563,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "342:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "341:9:10"
},
"scope": 1612,
"src": "264:87:10",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1575,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transfer",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1571,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1568,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 1575,
"src": "373:10:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1567,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "373:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1570,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1575,
"src": "385:13:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1569,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "385:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "372:27:10"
},
"payable": false,
"returnParameters": {
"id": 1574,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1573,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1575,
"src": "418:4:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1572,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "418:4:10",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "417:6:10"
},
"scope": 1612,
"src": "355:69:10",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1584,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1580,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1577,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 1584,
"src": "445:15:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1576,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "445:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1579,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1584,
"src": "462:13:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1578,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "462:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "444:32:10"
},
"payable": false,
"returnParameters": {
"id": 1583,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1582,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1584,
"src": "499:4:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1581,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "499:4:10",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "498:6:10"
},
"scope": 1612,
"src": "428:77:10",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1595,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1591,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1586,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 1595,
"src": "531:12:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1585,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "531:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1588,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 1595,
"src": "545:10:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1587,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "545:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1590,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1595,
"src": "557:13:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1589,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "557:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "530:41:10"
},
"payable": false,
"returnParameters": {
"id": 1594,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1593,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1595,
"src": "594:4:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1592,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "594:4:10",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "593:6:10"
},
"scope": 1612,
"src": "509:91:10",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"anonymous": false,
"documentation": null,
"id": 1603,
"name": "Transfer",
"nodeType": "EventDefinition",
"parameters": {
"id": 1602,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1597,
"indexed": true,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 1603,
"src": "624:20:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1596,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "624:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1599,
"indexed": true,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 1603,
"src": "650:18:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1598,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "650:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1601,
"indexed": false,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1603,
"src": "674:13:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1600,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "674:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "618:73:10"
},
"src": "604:88:10"
},
{
"anonymous": false,
"documentation": null,
"id": 1611,
"name": "Approval",
"nodeType": "EventDefinition",
"parameters": {
"id": 1610,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1605,
"indexed": true,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 1611,
"src": "716:21:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1604,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "716:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1607,
"indexed": true,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 1611,
"src": "743:23:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1606,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "743:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1609,
"indexed": false,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1611,
"src": "772:13:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1608,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "772:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "710:79:10"
},
"src": "696:94:10"
}
],
"scope": 1613,
"src": "116:676:10"
}
],
"src": "0:793:10"
},
"legacyAST": {
"absolutePath": "openzeppelin-eth/contracts/token/ERC20/IERC20.sol",
"exportedSymbols": {
"IERC20": [
1612
]
},
"id": 1613,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1545,
"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": 1612,
"linearizedBaseContracts": [
1612
],
"name": "IERC20",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 1550,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1546,
"nodeType": "ParameterList",
"parameters": [],
"src": "157:2:10"
},
"payable": false,
"returnParameters": {
"id": 1549,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1548,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1550,
"src": "183:7:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1547,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "183:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "182:9:10"
},
"scope": 1612,
"src": "137:55:10",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1557,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1553,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1552,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 1557,
"src": "215:11:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1551,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "215:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "214:13:10"
},
"payable": false,
"returnParameters": {
"id": 1556,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1555,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1557,
"src": "251:7:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1554,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "251:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "250:9:10"
},
"scope": 1612,
"src": "196:64:10",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1566,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "allowance",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1562,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1559,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 1566,
"src": "283:13:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1558,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "283:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1561,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 1566,
"src": "298:15:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1560,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "298:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "282:32:10"
},
"payable": false,
"returnParameters": {
"id": 1565,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1564,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1566,
"src": "342:7:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1563,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "342:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "341:9:10"
},
"scope": 1612,
"src": "264:87:10",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1575,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transfer",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1571,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1568,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 1575,
"src": "373:10:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1567,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "373:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1570,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1575,
"src": "385:13:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1569,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "385:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "372:27:10"
},
"payable": false,
"returnParameters": {
"id": 1574,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1573,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1575,
"src": "418:4:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1572,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "418:4:10",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "417:6:10"
},
"scope": 1612,
"src": "355:69:10",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1584,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1580,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1577,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 1584,
"src": "445:15:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1576,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "445:7:10",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1579,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1584,
"src": "462:13:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1578,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "462:7:10",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "444:32:10"
},
"payable": false,
"returnParameters": {
"id": 1583,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1582,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1584,
"src": "499:4:10",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1581,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "499:4:10",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "498:6:10"
},
"scope": 1612,
"src": "428:77:10",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1595,
"implemented": false,
"isConstructor": false,
"isDeclaredConst":