@marketprotocol/marketprotocol
Version:
Decentralized Derivatives Trading Protocol For The Ethereum Blockchain
1,514 lines • 62.1 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": 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": 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"
}
],
"metadata": "",
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity ^0.5.2;\n\n/**\n * @title ERC20 interface\n * @dev see https://eips.ethereum.org/EIPS/eip-20\n */\ninterface IERC20 {\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 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 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": "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol",
"ast": {
"absolutePath": "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol",
"exportedSymbols": {
"IERC20": [
2937
]
},
"id": 2938,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 2870,
"literals": [
"solidity",
"^",
"0.5",
".2"
],
"nodeType": "PragmaDirective",
"src": "0:23:20"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": "@title ERC20 interface\n@dev see https://eips.ethereum.org/EIPS/eip-20",
"fullyImplemented": false,
"id": 2937,
"linearizedBaseContracts": [
2937
],
"name": "IERC20",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 2879,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "transfer",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2875,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2872,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 2879,
"src": "150:10:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2871,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "150:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2874,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 2879,
"src": "162:13:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2873,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "162:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "149:27:20"
},
"returnParameters": {
"id": 2878,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2877,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2879,
"src": "195:4:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 2876,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "195:4:20",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "194:6:20"
},
"scope": 2937,
"src": "132:69:20",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 2888,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2884,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2881,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 2888,
"src": "224:15:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2880,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "224:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2883,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 2888,
"src": "241:13:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2882,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "241:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "223:32:20"
},
"returnParameters": {
"id": 2887,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2886,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2888,
"src": "274:4:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 2885,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "274:4:20",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "273:6:20"
},
"scope": 2937,
"src": "207:73:20",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 2899,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2895,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2890,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 2899,
"src": "308:12:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2889,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "308:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2892,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 2899,
"src": "322:10:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2891,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "322:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2894,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 2899,
"src": "334:13:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2893,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "334:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "307:41:20"
},
"returnParameters": {
"id": 2898,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2897,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2899,
"src": "367:4:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 2896,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "367:4:20",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "366:6:20"
},
"scope": 2937,
"src": "286:87:20",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 2904,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2900,
"nodeType": "ParameterList",
"parameters": [],
"src": "399:2:20"
},
"returnParameters": {
"id": 2903,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2902,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2904,
"src": "425:7:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2901,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "425:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "424:9:20"
},
"scope": 2937,
"src": "379:55:20",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 2911,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2907,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2906,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 2911,
"src": "459:11:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2905,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "459:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "458:13:20"
},
"returnParameters": {
"id": 2910,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2909,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2911,
"src": "495:7:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2908,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "495:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "494:9:20"
},
"scope": 2937,
"src": "440:64:20",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 2920,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "allowance",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2916,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2913,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 2920,
"src": "529:13:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2912,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "529:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2915,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 2920,
"src": "544:15:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2914,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "544:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "528:32:20"
},
"returnParameters": {
"id": 2919,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2918,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2920,
"src": "584:7:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2917,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "584:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "583:9:20"
},
"scope": 2937,
"src": "510:83:20",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"anonymous": false,
"documentation": null,
"id": 2928,
"name": "Transfer",
"nodeType": "EventDefinition",
"parameters": {
"id": 2927,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2922,
"indexed": true,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 2928,
"src": "614:20:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2921,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "614:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2924,
"indexed": true,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 2928,
"src": "636:18:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2923,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "636:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2926,
"indexed": false,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 2928,
"src": "656:13:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2925,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "656:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "613:57:20"
},
"src": "599:72:20"
},
{
"anonymous": false,
"documentation": null,
"id": 2936,
"name": "Approval",
"nodeType": "EventDefinition",
"parameters": {
"id": 2935,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2930,
"indexed": true,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 2936,
"src": "692:21:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2929,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "692:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2932,
"indexed": true,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 2936,
"src": "715:23:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2931,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "715:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2934,
"indexed": false,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 2936,
"src": "740:13:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2933,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "740:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "691:63:20"
},
"src": "677:78:20"
}
],
"scope": 2938,
"src": "109:648:20"
}
],
"src": "0:758:20"
},
"legacyAST": {
"absolutePath": "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol",
"exportedSymbols": {
"IERC20": [
2937
]
},
"id": 2938,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 2870,
"literals": [
"solidity",
"^",
"0.5",
".2"
],
"nodeType": "PragmaDirective",
"src": "0:23:20"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": "@title ERC20 interface\n@dev see https://eips.ethereum.org/EIPS/eip-20",
"fullyImplemented": false,
"id": 2937,
"linearizedBaseContracts": [
2937
],
"name": "IERC20",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 2879,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "transfer",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2875,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2872,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 2879,
"src": "150:10:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2871,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "150:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2874,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 2879,
"src": "162:13:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2873,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "162:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "149:27:20"
},
"returnParameters": {
"id": 2878,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2877,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2879,
"src": "195:4:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 2876,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "195:4:20",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "194:6:20"
},
"scope": 2937,
"src": "132:69:20",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 2888,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2884,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2881,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 2888,
"src": "224:15:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2880,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "224:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2883,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 2888,
"src": "241:13:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2882,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "241:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "223:32:20"
},
"returnParameters": {
"id": 2887,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2886,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2888,
"src": "274:4:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 2885,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "274:4:20",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "273:6:20"
},
"scope": 2937,
"src": "207:73:20",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 2899,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2895,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2890,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 2899,
"src": "308:12:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2889,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "308:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2892,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 2899,
"src": "322:10:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2891,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "322:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 2894,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 2899,
"src": "334:13:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2893,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "334:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "307:41:20"
},
"returnParameters": {
"id": 2898,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2897,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2899,
"src": "367:4:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 2896,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "367:4:20",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "366:6:20"
},
"scope": 2937,
"src": "286:87:20",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 2904,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2900,
"nodeType": "ParameterList",
"parameters": [],
"src": "399:2:20"
},
"returnParameters": {
"id": 2903,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2902,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2904,
"src": "425:7:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2901,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "425:7:20",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "424:9:20"
},
"scope": 2937,
"src": "379:55:20",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 2911,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2907,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2906,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 2911,
"src": "459:11:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2905,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "459:7:20",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "458:13:20"
},
"returnParameters": {
"id": 2910,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2909,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2911,
"src": "495:7:20",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint