@realitio/realitio-contracts
Version:
Collection of smart contracts for the Realitio fact verification platform
1,527 lines • 61.6 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.25;\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) external view 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(address from, address to, 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",
"sourcePath": "/home/ed/working/realitio-contracts/truffle/contracts/IERC20.sol",
"ast": {
"absolutePath": "/home/ed/working/realitio-contracts/truffle/contracts/IERC20.sol",
"exportedSymbols": {
"IERC20": [
1352
]
},
"id": 1353,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1285,
"literals": [
"solidity",
"^",
"0.4",
".25"
],
"nodeType": "PragmaDirective",
"src": "0:24:8"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20",
"fullyImplemented": false,
"id": 1352,
"linearizedBaseContracts": [
1352
],
"name": "IERC20",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 1290,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1286,
"nodeType": "ParameterList",
"parameters": [],
"src": "158:2:8"
},
"payable": false,
"returnParameters": {
"id": 1289,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1288,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1290,
"src": "184:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1287,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "184:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "183:9:8"
},
"scope": 1352,
"src": "138:55:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1297,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1293,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1292,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 1297,
"src": "218:11:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1291,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "218:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "217:13:8"
},
"payable": false,
"returnParameters": {
"id": 1296,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1295,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1297,
"src": "254:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1294,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "254:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "253:9:8"
},
"scope": 1352,
"src": "199:64:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1306,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "allowance",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1302,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1299,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 1306,
"src": "288:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1298,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "288:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1301,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 1306,
"src": "303:15:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1300,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "303:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "287:32:8"
},
"payable": false,
"returnParameters": {
"id": 1305,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1304,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1306,
"src": "343:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1303,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "343:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "342:9:8"
},
"scope": 1352,
"src": "269:83:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1315,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transfer",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1311,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1308,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 1315,
"src": "376:10:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1307,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "376:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1310,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1315,
"src": "388:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1309,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "388:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "375:27:8"
},
"payable": false,
"returnParameters": {
"id": 1314,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1313,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1315,
"src": "421:4:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1312,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "421:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "420:6:8"
},
"scope": 1352,
"src": "358:69:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1324,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1320,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1317,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 1324,
"src": "450:15:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1316,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "450:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1319,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1324,
"src": "467:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1318,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "467:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "449:32:8"
},
"payable": false,
"returnParameters": {
"id": 1323,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1322,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1324,
"src": "500:4:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1321,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "500:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "499:6:8"
},
"scope": 1352,
"src": "433:73:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1335,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1331,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1326,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 1335,
"src": "534:12:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1325,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "534:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1328,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 1335,
"src": "548:10:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1327,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "548:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1330,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1335,
"src": "560:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1329,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "560:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "533:41:8"
},
"payable": false,
"returnParameters": {
"id": 1334,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1333,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1335,
"src": "593:4:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1332,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "593:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "592:6:8"
},
"scope": 1352,
"src": "512:87:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"anonymous": false,
"documentation": null,
"id": 1343,
"name": "Transfer",
"nodeType": "EventDefinition",
"parameters": {
"id": 1342,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1337,
"indexed": true,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 1343,
"src": "620:20:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1336,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "620:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1339,
"indexed": true,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 1343,
"src": "642:18:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1338,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "642:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1341,
"indexed": false,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1343,
"src": "662:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1340,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "662:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "619:57:8"
},
"src": "605:72:8"
},
{
"anonymous": false,
"documentation": null,
"id": 1351,
"name": "Approval",
"nodeType": "EventDefinition",
"parameters": {
"id": 1350,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1345,
"indexed": true,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 1351,
"src": "698:21:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1344,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "698:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1347,
"indexed": true,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 1351,
"src": "721:23:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1346,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "721:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1349,
"indexed": false,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1351,
"src": "746:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1348,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "746:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "697:63:8"
},
"src": "683:78:8"
}
],
"scope": 1353,
"src": "115:648:8"
}
],
"src": "0:764:8"
},
"legacyAST": {
"absolutePath": "/home/ed/working/realitio-contracts/truffle/contracts/IERC20.sol",
"exportedSymbols": {
"IERC20": [
1352
]
},
"id": 1353,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1285,
"literals": [
"solidity",
"^",
"0.4",
".25"
],
"nodeType": "PragmaDirective",
"src": "0:24:8"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20",
"fullyImplemented": false,
"id": 1352,
"linearizedBaseContracts": [
1352
],
"name": "IERC20",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 1290,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1286,
"nodeType": "ParameterList",
"parameters": [],
"src": "158:2:8"
},
"payable": false,
"returnParameters": {
"id": 1289,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1288,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1290,
"src": "184:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1287,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "184:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "183:9:8"
},
"scope": 1352,
"src": "138:55:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1297,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1293,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1292,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 1297,
"src": "218:11:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1291,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "218:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "217:13:8"
},
"payable": false,
"returnParameters": {
"id": 1296,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1295,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1297,
"src": "254:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1294,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "254:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "253:9:8"
},
"scope": 1352,
"src": "199:64:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1306,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "allowance",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1302,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1299,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 1306,
"src": "288:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1298,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "288:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1301,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 1306,
"src": "303:15:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1300,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "303:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "287:32:8"
},
"payable": false,
"returnParameters": {
"id": 1305,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1304,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1306,
"src": "343:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1303,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "343:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "342:9:8"
},
"scope": 1352,
"src": "269:83:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1315,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transfer",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1311,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1308,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 1315,
"src": "376:10:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1307,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "376:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1310,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1315,
"src": "388:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1309,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "388:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "375:27:8"
},
"payable": false,
"returnParameters": {
"id": 1314,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1313,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1315,
"src": "421:4:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1312,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "421:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "420:6:8"
},
"scope": 1352,
"src": "358:69:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1324,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1320,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1317,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 1324,
"src": "450:15:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1316,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "450:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1319,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 1324,
"src": "467:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1318,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "467:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "449:32:8"
},
"payable": false,
"returnParameters": {
"id": 1323,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1322,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1324,
"src": "500:4:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1321,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "500:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "499:6:8"
},
"scope": 1352,
"src": "433:73:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1335,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transferFrom",
"nodeType": "Functio