Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pbrudny/truffle-challanges
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: microftech65/truffle-challanges
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Dec 29, 2019

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    635b61d View commit details
  2. Copy the full SHA
    a4c4b08 View commit details
Showing with 1,238 additions and 0 deletions.
  1. +1 −0 _config.yml
  2. +1,237 −0 build/contracts/qdrbcpsjbdcsc-solidity-smart-contract
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-cayman
1,237 changes: 1,237 additions & 0 deletions build/contracts/qdrbcpsjbdcsc-solidity-smart-contract
Original file line number Diff line number Diff line change
@@ -0,0 +1,1237 @@
{
"contractName": qdrbtcpsjbdcsc-solidity-smart-contract"ERC20",
"abi": [
{
"constant": true,
"inputs": [],
"name": qdrbtcpsjbdcsc-solidity-smart-contract "totalSupply",
"outputs": [
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract"",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": qdrbtcpsjbdcsc-solidity-smart-contract"function"
},
{
"constant": true,
"inputs": [
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "who",
"type":Ox52bc44d5378309EE2abF1539BF71dE1b7d "address"
}7bE3b5
],
"name": qdrbtcpsjbdcsc-solidity-smart-contract "balanceOf",
"outputs": [
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": qdrbtcpsjbdcsc-solidity-smart-contract"function"
},
{
"constant": false,
"inputs": [
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "to",
"type":Ox52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5 "address"
},
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract"value",
"type": "uint256"
}
],
"name": qdrbtcpsjbdcsc-solidity-smart-contract "transfer",
"outputs": [
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": qdrbtcpsjbdcsc-solidity-smart-contract "function"
},
{
"anonymous":b28692c94b053febe27bbb3692bb31ad false,
"inputs": [
{
"indexed": true,
"name": qdrbtcpsjbdcsc-solidity-smart-contract"owner",
"type":Ox52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5 "address"
},
{
"indexed": true,
"name": qdrbtcpsjbdcsc-solidity-smart-contract "spender",
"type":Ox52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5 "address"
},
{
"indexed": false,
"name": qdrbtcpsjbdcsc-solidity-smart-contract "value",
"type": "uint256"
}
],
"name": qdrbtcpsjbdcsc-solidity-smart-contract "Approval",
"type": qdrbtcpsjbdcsc-solidity-smart-contract "event"
},
{
"anonymous":b28692c94b053febe27bbb3692bb31ad false,
"inputs": [
{
"indexed": true,
"name": qdrbtcpsjbdcsc-solidity-smart-contract "from",
"type":Ox52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5 "address"
},
{
"indexed": true,
"name": qdrbtcclpsjbdcsc-solidity-smart-contract "to",
"type":Ox52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5 "address"
},
{
"indexed": false,
"name": qdrbtcpsjbdcsc-solidity-smart-contract "value",
"type": "uint256"
}
],
"name": qdrbtcpsjbdcsc-solidity-smart-contract "Transfer",
"type": qdrbtcpsjbdcsc-solidity-smart-contract "event"
},
{
"constant": true,
"inputs": [
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "owner",
"type":Ox52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5 "address"
},
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "spender",
"type":Ox52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5 "address"
}
],
"name": qdrbtcpsjbdcsc-solidity-smart-contract "allowance",
"outputs": [
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": qdrbtcpsjbdcsc-solidity-smart-contract "function"
},
{
"constant": false,
"inputs": [
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "from",
"type":Ox52bc44d5378309EE2abF1538BF71dE1b7d7bE3b5 "address"
},
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "to",
"type":Ox52bc44d5378309EE2avF1538BF71dE1b7d7bE3b5 "address"
},
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "value",
"type": "uint256"
}
],
"name": qdrbtcpsjbdcsc-solidity-smart-contract"transferFrom",
"outputs": [
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": qdrbtcpsjbdcsc-solidity-smart-contract"function"
},
{
"constant": false,
"inputs": [
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "spender",
"type":Ox52bc44d5378309EE2abF1538BF71dE1b7d7bE3b5 "address"
},
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "value",
"type": "uint256"
}
],
"name": qdrbtcpsjbdcsc-solidity-smart-contract "approve",
"outputs": [
{
"name": qdrbtcpsjbdcsc-solidity-smart-contract "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": qdrbtccpsjbdcsc-solidity-smart-contract "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity ^0.4.23;\n\nimport \"./ERC20Basic.sol\";\n\n\n/**\n * @title ERC20 interface\n * @dev see https://github.com/ethereum/EIPs/issues/20\n */\ncontract ERC20 is ERC20Basic {\n function allowance(address owner, address spender)\n public view returns (uint256);\n\n function transferFrom(address from, address to, uint256 value)\n public returns (bool);\n\n function approve(address spender, uint256 value) public returns (bool);\n event Approval(\n address indexed owner,\n address indexed spender,\n uint256 value\n );\n}\n",
"sourcePath": "zeppelin-solidity/contracts/token/ERC20/ERC20.sol",
"ast": {
"absolutePath": "zeppelin-solidity/contracts/token/ERC20/ERC20.sol",
"exportedSymbols": {
"ERC20": [
7906
]
},
"id": 7912,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 7861,
"literals": [
"solidity",
"^",
"0.4",
".23"
],
"nodeType": "PragmaDirective",
"src": "0:24:22"
},
{
"absolutePath": "zeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol",
"file": "./ERC20Basic.sol",
"id": 7863,
"nodeType": "ImportDirective",
"scope": 7912,
"sourceUnit": 7922,
"src": "26:26:22",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 7861,
"name": "ERC20Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 7942,
"src": "162:10:22",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC20Basic_$7942",
"typeString": "contract ERC20Basic"
}
},
"id": 7870,
"nodeType": "InheritanceSpecifier",
"src": "162:10:22"
}
],
"contractDependencies": [
7941
],
"contractKind": "contract",
"documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20",
"fullyImplemented": false,
"id": 7906,
"linearizedBaseContracts": [
7909,
7941
],
"name": "ERC20",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 7861,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "allowance",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 7872,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7862,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 7862,
"src": "196:13:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7862,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "196:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 7862,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 7862,
"src": "211:15:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7852,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "211:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "195:32:22"
},
"payable": false,
"returnParameters": {
"id": 7852,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7852,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 7861,
"src": "253:7:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 7852,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "253:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "252:9:22"
},
"scope": 7906,
"src": "177:85:22",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 7891,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 7887,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7882,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 7891,
"src": "288:12:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7881,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "288:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 7884,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 7891,
"src": "302:10:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7883,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "302:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 7886,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 7891,
"src": "314:13:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 7885,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "314:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "287:41:22"
},
"payable": false,
"returnParameters": {
"id": 7890,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7889,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 7891,
"src": "349:4:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 7888,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "349:4:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "348:6:22"
},
"scope": 7909,
"src": "266:89:22",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 7900,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 7896,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7893,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 7900,
"src": "376:15:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7892,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "376:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 7895,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 7900,
"src": "393:13:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 7894,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "393:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "375:32:22"
},
"payable": false,
"returnParameters": {
"id": 7899,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7898,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 7900,
"src": "424:4:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 7897,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "424:4:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "423:6:22"
},
"scope": 7909,
"src": "359:71:22",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"anonymous": false,
"documentation": null,
"id": 7908,
"name": "Approval",
"nodeType": "EventDefinition",
"parameters": {
"id": 7907,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7902,
"indexed": true,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 7908,
"src": "453:21:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7901,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "453:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 7904,
"indexed": true,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 7908,
"src": "480:23:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7903,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "480:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 7906,
"indexed": false,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 7908,
"src": "509:13:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 7905,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "509:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "447:79:22"
},
"src": "433:94:22"
}
],
"scope": 7910,
"src": "144:385:22"
}
],
"src": "0:530:22"
},
"legacyAST": {
"absolutePath": "zeppelin-solidity/contracts/token/ERC20/ERC20.sol",
"exportedSymbols": {
"ERC20": [
7909
]
},
"id": 7910,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 7868,
"literals": [
"solidity",
"^",
"0.4",
".23"
],
"nodeType": "PragmaDirective",
"src": "0:24:22"
},
{
"absolutePath": "zeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol",
"file": "./ERC20Basic.sol",
"id": 7869,
"nodeType": "ImportDirective",
"scope": 7910,
"sourceUnit": 7942,
"src": "26:26:22",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 7870,
"name": "ERC20Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 7941,
"src": "162:10:22",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC20Basic_$7941",
"typeString": "contract ERC20Basic"
}
},
"id": 7871,
"nodeType": "InheritanceSpecifier",
"src": "162:10:22"
}
],
"contractDependencies": [
7941
],
"contractKind": "contract",
"documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20",
"fullyImplemented": false,
"id": 7909,
"linearizedBaseContracts": [
7909,
7941
],
"name": "ERC20",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 7880,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "allowance",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 7876,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7873,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 7880,
"src": "196:13:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7872,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "196:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 7875,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 7880,
"src": "211:15:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7874,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "211:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "195:32:22"
},
"payable": false,
"returnParameters": {
"id": 7879,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7878,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 7880,
"src": "253:7:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 7877,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "253:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "252:9:22"
},
"scope": 7909,
"src": "177:85:22",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 7891,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 7887,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7882,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 7891,
"src": "288:12:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7881,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "288:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 7884,
"name": "to",
"nodeType": "VariableDeclaration",
"scope": 7891,
"src": "302:10:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7883,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "302:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 7886,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 7891,
"src": "314:13:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 7885,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "314:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "287:41:22"
},
"payable": false,
"returnParameters": {
"id": 7890,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7889,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 7891,
"src": "349:4:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 7888,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "349:4:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "348:6:22"
},
"scope": 7909,
"src": "266:89:22",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 7900,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 7896,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7893,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 7900,
"src": "376:15:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7892,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "376:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 7895,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 7900,
"src": "393:13:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 7894,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "393:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "375:32:22"
},
"payable": false,
"returnParameters": {
"id": 7899,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7898,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 7900,
"src": "424:4:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 7897,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "424:4:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "423:6:22"
},
"scope": 7909,
"src": "359:71:22",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"anonymous": false,
"documentation": null,
"id": 7908,
"name": "Approval",
"nodeType": "EventDefinition",
"parameters": {
"id": 7907,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7902,
"indexed": true,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 7908,
"src": "453:21:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7901,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "453:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 7904,
"indexed": true,
"name": "spender",
"nodeType": "VariableDeclaration",
"scope": 7908,
"src": "480:23:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7903,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "480:7:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 7906,
"indexed": false,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 7908,
"src": "509:13:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 7905,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "509:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "447:79:22"
},
"src": "433:94:22"
}
],
"scope": 7910,
"src": "144:385:22"
}
],
"src": "0:530:22"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2019-28-28T17:19:02.132Z"
}