@oikos/swap
Version:
Oikos Swap Contracts
1,520 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": 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"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity ^0.5.0;\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 function approve(address spender, uint256 value) external returns (bool);\n function transferFrom(address from, address to, uint256 value) external returns (bool);\n function totalSupply() external view returns (uint256);\n function balanceOf(address who) external view returns (uint256);\n function allowance(address owner, address spender) external view returns (uint256);\n event Transfer(address indexed from, address indexed to, uint256 value);\n event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n",
"sourcePath": "/home/binyu/Desktop/Synthetix/prod/swap-solidity/contracts/merged/IERC20.sol",
"ast": {
"absolutePath": "/home/binyu/Desktop/Synthetix/prod/swap-solidity/contracts/merged/IERC20.sol",
"exportedSymbols": {
"IERC20": [
915
]
},
"id": 916,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 848,
"literals": [
"solidity",
"^",
"0.5",
".0"
],
"nodeType": "PragmaDirective",
"src": "0:23:4"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": "@title ERC20 interface\n@dev see https://eips.ethereum.org/EIPS/eip-20",
"fullyImplemented": false,
"id": 915,
"linearizedBaseContracts": [
915
],
"name": "IERC20",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 857,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "transfer",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 853,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 850,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 857,
"src": "148:10:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 849,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "148:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 852,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 857,
"src": "160:13:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 851,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "160:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "147:27:4"
},
"returnParameters": {
"id": 856,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 855,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 857,
"src": "193:4:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 854,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "193:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "192:6:4"
},
"scope": 915,
"src": "130:69:4",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 866,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 862,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 859,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 866,
"src": "219:15:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 858,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "219:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 861,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 866,
"src": "236:13:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 860,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "236:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "218:32:4"
},
"returnParameters": {
"id": 865,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 864,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 866,
"src": "269:4:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 863,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "269:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "268:6:4"
},
"scope": 915,
"src": "202:73:4",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 877,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 873,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 868,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 877,
"src": "300:12:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 867,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "300:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 870,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 877,
"src": "314:10:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 869,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "314:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 872,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 877,
"src": "326:13:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 871,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "326:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "299:41:4"
},
"returnParameters": {
"id": 876,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 875,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 877,
"src": "359:4:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 874,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "359:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "358:6:4"
},
"scope": 915,
"src": "278:87:4",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 882,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 878,
"nodeType": "ParameterList",
"parameters": [],
"src": "388:2:4"
},
"returnParameters": {
"id": 881,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 880,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 882,
"src": "414:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 879,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "414:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "413:9:4"
},
"scope": 915,
"src": "368:55:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 889,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 885,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 884,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 889,
"src": "445:11:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 883,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "445:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "444:13:4"
},
"returnParameters": {
"id": 888,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 887,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 889,
"src": "481:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 886,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "481:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "480:9:4"
},
"scope": 915,
"src": "426:64:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 898,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "allowance",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 894,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 891,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 898,
"src": "512:13:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 890,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "512:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 893,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 898,
"src": "527:15:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 892,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "527:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "511:32:4"
},
"returnParameters": {
"id": 897,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 896,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 898,
"src": "567:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 895,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "567:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "566:9:4"
},
"scope": 915,
"src": "493:83:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"anonymous": false,
"documentation": null,
"id": 906,
"name": "Transfer",
"nodeType": "EventDefinition",
"parameters": {
"id": 905,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 900,
"indexed": true,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 906,
"src": "594:20:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 899,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "594:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 902,
"indexed": true,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 906,
"src": "616:18:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 901,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "616:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 904,
"indexed": false,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 906,
"src": "636:13:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 903,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "636:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "593:57:4"
},
"src": "579:72:4"
},
{
"anonymous": false,
"documentation": null,
"id": 914,
"name": "Approval",
"nodeType": "EventDefinition",
"parameters": {
"id": 913,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 908,
"indexed": true,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 914,
"src": "669:21:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 907,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "669:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 910,
"indexed": true,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 914,
"src": "692:23:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 909,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "692:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 912,
"indexed": false,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 914,
"src": "717:13:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 911,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "717:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "668:63:4"
},
"src": "654:78:4"
}
],
"scope": 916,
"src": "109:625:4"
}
],
"src": "0:735:4"
},
"legacyAST": {
"absolutePath": "/home/binyu/Desktop/Synthetix/prod/swap-solidity/contracts/merged/IERC20.sol",
"exportedSymbols": {
"IERC20": [
915
]
},
"id": 916,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 848,
"literals": [
"solidity",
"^",
"0.5",
".0"
],
"nodeType": "PragmaDirective",
"src": "0:23:4"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": "@title ERC20 interface\n@dev see https://eips.ethereum.org/EIPS/eip-20",
"fullyImplemented": false,
"id": 915,
"linearizedBaseContracts": [
915
],
"name": "IERC20",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 857,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "transfer",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 853,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 850,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 857,
"src": "148:10:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 849,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "148:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 852,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 857,
"src": "160:13:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 851,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "160:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "147:27:4"
},
"returnParameters": {
"id": 856,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 855,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 857,
"src": "193:4:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 854,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "193:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "192:6:4"
},
"scope": 915,
"src": "130:69:4",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 866,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 862,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 859,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 866,
"src": "219:15:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 858,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "219:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 861,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 866,
"src": "236:13:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 860,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "236:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "218:32:4"
},
"returnParameters": {
"id": 865,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 864,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 866,
"src": "269:4:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 863,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "269:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "268:6:4"
},
"scope": 915,
"src": "202:73:4",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 877,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 873,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 868,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 877,
"src": "300:12:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 867,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "300:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 870,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 877,
"src": "314:10:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 869,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "314:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 872,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 877,
"src": "326:13:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 871,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "326:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "299:41:4"
},
"returnParameters": {
"id": 876,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 875,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 877,
"src": "359:4:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 874,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "359:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "358:6:4"
},
"scope": 915,
"src": "278:87:4",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 882,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 878,
"nodeType": "ParameterList",
"parameters": [],
"src": "388:2:4"
},
"returnParameters": {
"id": 881,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 880,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 882,
"src": "414:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 879,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "414:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "413:9:4"
},
"scope": 915,
"src": "368:55:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 889,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 885,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 884,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 889,
"src": "445:11:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 883,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "445:7:4",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "444:13:4"
},
"returnParameters": {
"id": 888,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 887,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 889,
"src": "481:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 886,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src"