jcc-solidity-utils
Version:
jcc solidity utils
1,578 lines (1,577 loc) • 117 kB
JSON
{
"contractName": "IExtendedERC20",
"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"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "account",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Mint",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "account",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Burn",
"type": "event"
},
{
"constant": true,
"inputs": [],
"name": "name",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "symbol",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "decimals",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "who",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "owner",
"type": "address"
},
{
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "to",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "spender",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "from",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "spender",
"type": "address"
},
{
"name": "addedValue",
"type": "uint256"
}
],
"name": "increaseAllowance",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "spender",
"type": "address"
},
{
"name": "subtractedValue",
"type": "uint256"
}
],
"name": "decreaseAllowance",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "account",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "mint",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "account",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "burn",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"metadata": "",
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity >=0.4.24;\n\n/**\nIExtendedERC20 对ERC20标准扩展的一个接口定义\n */\ninterface IExtendedERC20 {\n function name() external view returns (string memory);\n\n function symbol() external view returns (string memory);\n\n function decimals() external view returns (uint8);\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)\n external\n view\n returns (uint256);\n\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(\n address from,\n address to,\n uint256 value\n ) external returns (bool);\n\n function increaseAllowance(address spender, uint256 addedValue)\n external\n returns (bool);\n\n function decreaseAllowance(address spender, uint256 subtractedValue)\n external\n returns (bool);\n\n function mint(address account, uint256 value) external returns (bool);\n\n function burn(address account, uint256 value) external returns (bool);\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 event Mint(address indexed account, uint256 value);\n\n event Burn(address indexed account, uint256 value);\n}\n",
"sourcePath": "/Users/chtian/Documents/01_work/01_develope/jcc/jcc-solidity-utils/contracts/interface/IExtendedERC20.sol",
"ast": {
"absolutePath": "/Users/chtian/Documents/01_work/01_develope/jcc/jcc-solidity-utils/contracts/interface/IExtendedERC20.sol",
"exportedSymbols": {
"IExtendedERC20": [
1038
]
},
"id": 1039,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 908,
"literals": [
"solidity",
">=",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:25:6"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": "IExtendedERC20 对ERC20标准扩展的一个接口定义",
"fullyImplemented": false,
"id": 1038,
"linearizedBaseContracts": [
1038
],
"name": "IExtendedERC20",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 913,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "name",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 909,
"nodeType": "ParameterList",
"parameters": [],
"src": "134:2:6"
},
"payable": false,
"returnParameters": {
"id": 912,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 911,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 913,
"src": "160:6:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 910,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "160:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "159:15:6"
},
"scope": 1038,
"src": "121:54:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 918,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "symbol",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 914,
"nodeType": "ParameterList",
"parameters": [],
"src": "194:2:6"
},
"payable": false,
"returnParameters": {
"id": 917,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 916,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 918,
"src": "220:6:6",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 915,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "220:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "219:15:6"
},
"scope": 1038,
"src": "179:56:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 923,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "decimals",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 919,
"nodeType": "ParameterList",
"parameters": [],
"src": "256:2:6"
},
"payable": false,
"returnParameters": {
"id": 922,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 921,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 923,
"src": "282:5:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 920,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "282:5:6",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "281:7:6"
},
"scope": 1038,
"src": "239:50:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 928,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 924,
"nodeType": "ParameterList",
"parameters": [],
"src": "313:2:6"
},
"payable": false,
"returnParameters": {
"id": 927,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 926,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 928,
"src": "339:7:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 925,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "339:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "338:9:6"
},
"scope": 1038,
"src": "293:55:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 935,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 931,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 930,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 935,
"src": "371:11:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 929,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "371:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "370:13:6"
},
"payable": false,
"returnParameters": {
"id": 934,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 933,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 935,
"src": "407:7:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 932,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "407:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "406:9:6"
},
"scope": 1038,
"src": "352:64:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 944,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "allowance",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 940,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 937,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 944,
"src": "439:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 936,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "439:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 939,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 944,
"src": "454:15:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 938,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "454:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "438:32:6"
},
"payable": false,
"returnParameters": {
"id": 943,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 942,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 944,
"src": "506:7:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 941,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "506:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "505:9:6"
},
"scope": 1038,
"src": "420:95:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 953,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transfer",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 949,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 946,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 953,
"src": "537:10:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 945,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "537:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 948,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 953,
"src": "549:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 947,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "549:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "536:27:6"
},
"payable": false,
"returnParameters": {
"id": 952,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 951,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 953,
"src": "582:4:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 950,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "582:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "581:6:6"
},
"scope": 1038,
"src": "519:69:6",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 962,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 958,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 955,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 962,
"src": "609:15:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 954,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "609:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 957,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 962,
"src": "626:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 956,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "626:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "608:32:6"
},
"payable": false,
"returnParameters": {
"id": 961,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 960,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 962,
"src": "659:4:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 959,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "659:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "658:6:6"
},
"scope": 1038,
"src": "592:73:6",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 973,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 969,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 964,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 973,
"src": "696:12:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 963,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "696:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 966,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 973,
"src": "714:10:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 965,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "714:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 968,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 973,
"src": "730:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 967,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "730:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "690:57:6"
},
"payable": false,
"returnParameters": {
"id": 972,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 971,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 973,
"src": "766:4:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 970,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "766:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "765:6:6"
},
"scope": 1038,
"src": "669:103:6",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 982,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "increaseAllowance",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 978,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 975,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 982,
"src": "803:15:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 974,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "803:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 977,
"name": "addedValue",
"nodeType": "VariableDeclaration",
"scope": 982,
"src": "820:18:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 976,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "820:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "802:37:6"
},
"payable": false,
"returnParameters": {
"id": 981,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 980,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 982,
"src": "866:4:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 979,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "866:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "865:6:6"
},
"scope": 1038,
"src": "776:96:6",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 991,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "decreaseAllowance",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 987,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 984,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 991,
"src": "903:15:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 983,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "903:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 986,
"name": "subtractedValue",
"nodeType": "VariableDeclaration",
"scope": 991,
"src": "920:23:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 985,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "920:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "902:42:6"
},
"payable": false,
"returnParameters": {
"id": 990,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 989,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 991,
"src": "971:4:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 988,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "971:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "970:6:6"
},
"scope": 1038,
"src": "876:101:6",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1000,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "mint",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 996,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 993,
"name": "account",
"nodeType": "VariableDeclaration",
"scope": 1000,
"src": "995:15:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 992,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "995:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 995,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1000,
"src": "1012:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 994,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1012:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "994:32:6"
},
"payable": false,
"returnParameters": {
"id": 999,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 998,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1000,
"src": "1045:4:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 997,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1045:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1044:6:6"
},
"scope": 1038,
"src": "981:70:6",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1009,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "burn",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1005,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1002,
"name": "account",
"nodeType": "VariableDeclaration",
"scope": 1009,
"src": "1069:15:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1001,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1069:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1004,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1009,
"src": "1086:13:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1003,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1086:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1068:32:6"
},
"payable": false,
"returnParameters": {
"id": 1008,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1007,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1009,
"src": "1119:4:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1006,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1119:4:6",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"