From 0bdaf54e6c4dd6114fa30ea18eb81e503b9fce3e Mon Sep 17 00:00:00 2001 From: Kosala Hemachandra Date: Mon, 24 Sep 2018 22:06:53 -0700 Subject: [PATCH] rewrote the token balance contract --- .editorconfig | 9 + .soliumrc.json | 9 + build/contracts/BytesToTypes.json | 9902 ++++----- build/contracts/DummyContract.json | 536 + build/contracts/DummyToken.json | 977 +- build/contracts/Migrations.json | 612 +- build/contracts/PublicTokens.json | 16885 +++++----------- build/contracts/Seriality.json | 262 +- build/contracts/SizeOf.json | 1026 +- build/contracts/TokenBalances.json | 11425 +++++++++++ build/contracts/TypesToBytes.json | 1522 +- contracts/PublicTokens.sol | 155 - contracts/token-balances/DummyContract.sol | 7 + contracts/{ => token-balances}/DummyToken.sol | 13 +- contracts/token-balances/PublicTokens.sol | 115 + .../Seriality/BytesToTypes.sol | 0 .../Seriality/Seriality.sol | 0 .../{ => token-balances}/Seriality/SizeOf.sol | 0 .../Seriality/TypesToBytes.sol | 0 contracts/token-balances/TokenBalances.sol | 121 + libs/binaryDecoder.js | 103 +- migrations/2_deploy_contracts.js | 117 +- package-lock.json | 11 +- test/PublicTokens.js | 218 +- truffle.js | 6 + 25 files changed, 25335 insertions(+), 18696 deletions(-) create mode 100644 .editorconfig create mode 100644 .soliumrc.json create mode 100644 build/contracts/DummyContract.json create mode 100644 build/contracts/TokenBalances.json delete mode 100644 contracts/PublicTokens.sol create mode 100644 contracts/token-balances/DummyContract.sol rename contracts/{ => token-balances}/DummyToken.sol (58%) create mode 100644 contracts/token-balances/PublicTokens.sol rename contracts/{ => token-balances}/Seriality/BytesToTypes.sol (100%) rename contracts/{ => token-balances}/Seriality/Seriality.sol (100%) rename contracts/{ => token-balances}/Seriality/SizeOf.sol (100%) rename contracts/{ => token-balances}/Seriality/TypesToBytes.sol (100%) create mode 100644 contracts/token-balances/TokenBalances.sol diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9d08a1a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/.soliumrc.json b/.soliumrc.json new file mode 100644 index 0000000..a7c2e25 --- /dev/null +++ b/.soliumrc.json @@ -0,0 +1,9 @@ +{ + "extends": "solium:recommended", + "plugins": ["security"], + "rules": { + "quotes": ["error", "double"], + "indentation": ["error", 4], + "security/no-inline-assembly": "off" + } +} diff --git a/build/contracts/BytesToTypes.json b/build/contracts/BytesToTypes.json index f1808eb..225b9fc 100644 --- a/build/contracts/BytesToTypes.json +++ b/build/contracts/BytesToTypes.json @@ -1,24 +1,24 @@ { "contractName": "BytesToTypes", "abi": [], - "bytecode": "0x60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a7230582099675018639597446600b8969e09f1950a4143de99cd3aa7e7fc2a6a5a681cb80029", - "deployedBytecode": "0x6060604052600080fd00a165627a7a7230582099675018639597446600b8969e09f1950a4143de99cd3aa7e7fc2a6a5a681cb80029", - "sourceMap": "187:14723:2:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "187:14723:2:-;;;;;", + "bytecode": "0x6080604052348015600f57600080fd5b50603580601d6000396000f3006080604052600080fd00a165627a7a72305820ad8fb9c5fa52a3d91eb5dfd69a35350ac8f737d48efde084770ffad9afb0122a0029", + "deployedBytecode": "0x6080604052600080fd00a165627a7a72305820ad8fb9c5fa52a3d91eb5dfd69a35350ac8f737d48efde084770ffad9afb0122a0029", + "sourceMap": "187:14723:3:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;187:14723:3;;;;;;;", + "deployedSourceMap": "187:14723:3:-;;;;;", "source": "pragma solidity ^0.4.16;\n\n/**\n * @title BytesToTypes\n * @dev The BytesToTypes contract converts the memory byte arrays to the standard solidity types\n * @author pouladzade@gmail.com\n */\n\ncontract BytesToTypes {\n \n\n function bytesToAddress(uint _offst, bytes memory _input) internal pure returns (address _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n \n function bytesToBool(uint _offst, bytes memory _input) internal pure returns (bool _output) {\n \n uint8 x;\n assembly {\n x := mload(add(_input, _offst))\n }\n x==0 ? _output = false : _output = true;\n } \n \n function getStringSize(uint _offst, bytes memory _input) internal pure returns(uint size){\n \n assembly{\n \n size := mload(add(_input,_offst))\n let chunk_count := add(div(size,32),1) // chunk_count = size/32 + 1\n \n if gt(mod(size,32),0) {// if size%32 > 0\n chunk_count := add(chunk_count,1)\n } \n \n size := mul(chunk_count,32)// first 32 bytes reseves for size in strings\n }\n }\n\n function bytesToString(uint _offst, bytes memory _input, bytes memory _output) internal {\n\n uint size = 32;\n assembly {\n let loop_index:= 0\n \n let chunk_count\n \n size := mload(add(_input,_offst))\n chunk_count := add(div(size,32),1) // chunk_count = size/32 + 1\n \n if gt(mod(size,32),0) {\n chunk_count := add(chunk_count,1) // chunk_count++\n }\n \n \n loop:\n mstore(add(_output,mul(loop_index,32)),mload(add(_input,_offst)))\n _offst := sub(_offst,32) // _offst -= 32\n loop_index := add(loop_index,1)\n \n jumpi(loop , lt(loop_index , chunk_count))\n \n }\n }\n\n function bytesToBytes32(uint _offst, bytes memory _input, bytes32 _output) internal pure {\n \n assembly {\n mstore(_output , add(_input, _offst))\n mstore(add(_output,32) , add(add(_input, _offst),32))\n }\n }\n \n function bytesToInt8(uint _offst, bytes memory _input) internal pure returns (int8 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n \n function bytesToInt16(uint _offst, bytes memory _input) internal pure returns (int16 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt24(uint _offst, bytes memory _input) internal pure returns (int24 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt32(uint _offst, bytes memory _input) internal pure returns (int32 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt40(uint _offst, bytes memory _input) internal pure returns (int40 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt48(uint _offst, bytes memory _input) internal pure returns (int48 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt56(uint _offst, bytes memory _input) internal pure returns (int56 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt64(uint _offst, bytes memory _input) internal pure returns (int64 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt72(uint _offst, bytes memory _input) internal pure returns (int72 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt80(uint _offst, bytes memory _input) internal pure returns (int80 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt88(uint _offst, bytes memory _input) internal pure returns (int88 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt96(uint _offst, bytes memory _input) internal pure returns (int96 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\t\n\tfunction bytesToInt104(uint _offst, bytes memory _input) internal pure returns (int104 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n \n function bytesToInt112(uint _offst, bytes memory _input) internal pure returns (int112 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt120(uint _offst, bytes memory _input) internal pure returns (int120 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt128(uint _offst, bytes memory _input) internal pure returns (int128 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt136(uint _offst, bytes memory _input) internal pure returns (int136 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt144(uint _offst, bytes memory _input) internal pure returns (int144 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt152(uint _offst, bytes memory _input) internal pure returns (int152 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt160(uint _offst, bytes memory _input) internal pure returns (int160 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt168(uint _offst, bytes memory _input) internal pure returns (int168 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt176(uint _offst, bytes memory _input) internal pure returns (int176 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt184(uint _offst, bytes memory _input) internal pure returns (int184 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt192(uint _offst, bytes memory _input) internal pure returns (int192 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt200(uint _offst, bytes memory _input) internal pure returns (int200 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt208(uint _offst, bytes memory _input) internal pure returns (int208 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt216(uint _offst, bytes memory _input) internal pure returns (int216 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt224(uint _offst, bytes memory _input) internal pure returns (int224 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt232(uint _offst, bytes memory _input) internal pure returns (int232 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt240(uint _offst, bytes memory _input) internal pure returns (int240 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt248(uint _offst, bytes memory _input) internal pure returns (int248 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n function bytesToInt256(uint _offst, bytes memory _input) internal pure returns (int256 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n }\n\n\tfunction bytesToUint8(uint _offst, bytes memory _input) internal pure returns (uint8 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n\tfunction bytesToUint16(uint _offst, bytes memory _input) internal pure returns (uint16 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n\tfunction bytesToUint24(uint _offst, bytes memory _input) internal pure returns (uint24 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n\tfunction bytesToUint32(uint _offst, bytes memory _input) internal pure returns (uint32 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n\tfunction bytesToUint40(uint _offst, bytes memory _input) internal pure returns (uint40 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n\tfunction bytesToUint48(uint _offst, bytes memory _input) internal pure returns (uint48 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n\tfunction bytesToUint56(uint _offst, bytes memory _input) internal pure returns (uint56 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n\tfunction bytesToUint64(uint _offst, bytes memory _input) internal pure returns (uint64 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n\tfunction bytesToUint72(uint _offst, bytes memory _input) internal pure returns (uint72 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n\tfunction bytesToUint80(uint _offst, bytes memory _input) internal pure returns (uint80 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n\tfunction bytesToUint88(uint _offst, bytes memory _input) internal pure returns (uint88 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n\tfunction bytesToUint96(uint _offst, bytes memory _input) internal pure returns (uint96 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\t\n\tfunction bytesToUint104(uint _offst, bytes memory _input) internal pure returns (uint104 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint112(uint _offst, bytes memory _input) internal pure returns (uint112 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint120(uint _offst, bytes memory _input) internal pure returns (uint120 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint128(uint _offst, bytes memory _input) internal pure returns (uint128 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint136(uint _offst, bytes memory _input) internal pure returns (uint136 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint144(uint _offst, bytes memory _input) internal pure returns (uint144 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint152(uint _offst, bytes memory _input) internal pure returns (uint152 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint160(uint _offst, bytes memory _input) internal pure returns (uint160 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint168(uint _offst, bytes memory _input) internal pure returns (uint168 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint176(uint _offst, bytes memory _input) internal pure returns (uint176 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint184(uint _offst, bytes memory _input) internal pure returns (uint184 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint192(uint _offst, bytes memory _input) internal pure returns (uint192 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint200(uint _offst, bytes memory _input) internal pure returns (uint200 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint208(uint _offst, bytes memory _input) internal pure returns (uint208 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint216(uint _offst, bytes memory _input) internal pure returns (uint216 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint224(uint _offst, bytes memory _input) internal pure returns (uint224 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint232(uint _offst, bytes memory _input) internal pure returns (uint232 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint240(uint _offst, bytes memory _input) internal pure returns (uint240 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint248(uint _offst, bytes memory _input) internal pure returns (uint248 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n\n function bytesToUint256(uint _offst, bytes memory _input) internal pure returns (uint256 _output) {\n \n assembly {\n _output := mload(add(_input, _offst))\n }\n } \n \n}\n", - "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/BytesToTypes.sol", + "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/BytesToTypes.sol", "ast": { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/BytesToTypes.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/BytesToTypes.sol", "exportedSymbols": { "BytesToTypes": [ - 1478 + 1278 ] }, - "id": 1479, + "id": 1279, "nodeType": "SourceUnit", "nodes": [ { - "id": 700, + "id": 500, "literals": [ "solidity", "^", @@ -26,7 +26,7 @@ ".16" ], "nodeType": "PragmaDirective", - "src": "0:24:2" + "src": "0:24:3" }, { "baseContracts": [], @@ -34,57 +34,58 @@ "contractKind": "contract", "documentation": "@title BytesToTypes\n@dev The BytesToTypes contract converts the memory byte arrays to the standard solidity types\n@author pouladzade@gmail.com", "fullyImplemented": true, - "id": 1478, + "id": 1278, "linearizedBaseContracts": [ - 1478 + 1278 ], "name": "BytesToTypes", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 710, + "id": 510, "nodeType": "Block", - "src": "319:95:2", + "src": "319:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 707, + "declaration": 507, "isOffset": false, "isSlot": false, - "src": "361:7:2", + "src": "361:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 704, + "declaration": 504, "isOffset": false, "isSlot": false, - "src": "382:6:2", + "src": "382:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 702, + "declaration": 502, "isOffset": false, "isSlot": false, - "src": "390:6:2", + "src": "390:6:3", "valueSize": 1 } } ], - "id": 709, + "id": 509, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "338:76:2" + "src": "338:76:3" } ] }, - "id": 711, + "documentation": null, + "id": 511, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -92,16 +93,16 @@ "name": "bytesToAddress", "nodeType": "FunctionDefinition", "parameters": { - "id": 705, + "id": 505, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 702, + "id": 502, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 711, - "src": "245:11:2", + "scope": 511, + "src": "245:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -109,10 +110,10 @@ "typeString": "uint256" }, "typeName": { - "id": 701, + "id": 501, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "245:4:2", + "src": "245:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -123,45 +124,45 @@ }, { "constant": false, - "id": 704, + "id": 504, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 711, - "src": "258:19:2", + "scope": 511, + "src": "258:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 703, + "id": 503, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "258:5:2", + "src": "258:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "244:34:2" + "src": "244:34:3" }, "payable": false, "returnParameters": { - "id": 708, + "id": 508, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 707, + "id": 507, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 711, - "src": "302:15:2", + "scope": 511, + "src": "302:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -169,10 +170,10 @@ "typeString": "address" }, "typeName": { - "id": 706, + "id": 506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "302:7:2", + "src": "302:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -182,30 +183,30 @@ "visibility": "internal" } ], - "src": "301:17:2" + "src": "301:17:3" }, - "scope": 1478, - "src": "221:193:2", + "scope": 1278, + "src": "221:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 735, + "id": 535, "nodeType": "Block", - "src": "517:155:2", + "src": "517:155:3", "statements": [ { "assignments": [], "declarations": [ { "constant": false, - "id": 721, + "id": 521, "name": "x", "nodeType": "VariableDeclaration", - "scope": 736, - "src": "536:7:2", + "scope": 536, + "src": "536:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -213,10 +214,10 @@ "typeString": "uint8" }, "typeName": { - "id": 720, + "id": 520, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "536:5:2", + "src": "536:5:3", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -226,45 +227,45 @@ "visibility": "internal" } ], - "id": 722, + "id": 522, "initialValue": null, "nodeType": "VariableDeclarationStatement", - "src": "536:7:2" + "src": "536:7:3" }, { "externalReferences": [ { "x": { - "declaration": 721, + "declaration": 521, "isOffset": false, "isSlot": false, - "src": "576:1:2", + "src": "576:1:3", "valueSize": 1 } }, { "_input": { - "declaration": 715, + "declaration": 515, "isOffset": false, "isSlot": false, - "src": "591:6:2", + "src": "591:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 713, + "declaration": 513, "isOffset": false, "isSlot": false, - "src": "599:6:2", + "src": "599:6:3", "valueSize": 1 } } ], - "id": 723, + "id": 523, "nodeType": "InlineAssembly", "operations": "{\n x := mload(add(_input, _offst))\n}", - "src": "553:74:2" + "src": "553:74:3" }, { "expression": { @@ -275,19 +276,19 @@ "typeIdentifier": "t_uint8", "typeString": "uint8" }, - "id": 726, + "id": 526, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 724, + "id": 524, "name": "x", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 721, - "src": "626:1:2", + "referencedDeclaration": 521, + "src": "626:1:3", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -298,14 +299,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 725, + "id": 525, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "629:1:2", + "src": "629:1:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -313,7 +314,7 @@ }, "value": "0" }, - "src": "626:4:2", + "src": "626:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -321,19 +322,19 @@ }, "falseExpression": { "argumentTypes": null, - "id": 732, + "id": 532, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 730, + "id": 530, "name": "_output", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 718, - "src": "651:7:2", + "referencedDeclaration": 518, + "src": "651:7:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -344,14 +345,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 731, + "id": 531, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "661:4:2", + "src": "661:4:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -359,34 +360,34 @@ }, "value": "true" }, - "src": "651:14:2", + "src": "651:14:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 733, + "id": 533, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "626:39:2", + "src": "626:39:3", "trueExpression": { "argumentTypes": null, - "id": 729, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 727, + "id": 527, "name": "_output", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 718, - "src": "633:7:2", + "referencedDeclaration": 518, + "src": "633:7:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -397,14 +398,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 728, + "id": 528, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "643:5:2", + "src": "643:5:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -412,7 +413,7 @@ }, "value": "false" }, - "src": "633:15:2", + "src": "633:15:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -423,13 +424,14 @@ "typeString": "bool" } }, - "id": 734, + "id": 534, "nodeType": "ExpressionStatement", - "src": "626:39:2" + "src": "626:39:3" } ] }, - "id": 736, + "documentation": null, + "id": 536, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -437,16 +439,16 @@ "name": "bytesToBool", "nodeType": "FunctionDefinition", "parameters": { - "id": 716, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 713, + "id": 513, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 736, - "src": "446:11:2", + "scope": 536, + "src": "446:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -454,10 +456,10 @@ "typeString": "uint256" }, "typeName": { - "id": 712, + "id": 512, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "446:4:2", + "src": "446:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -468,45 +470,45 @@ }, { "constant": false, - "id": 715, + "id": 515, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 736, - "src": "459:19:2", + "scope": 536, + "src": "459:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 714, + "id": 514, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "459:5:2", + "src": "459:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "445:34:2" + "src": "445:34:3" }, "payable": false, "returnParameters": { - "id": 719, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 718, + "id": 518, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 736, - "src": "503:12:2", + "scope": 536, + "src": "503:12:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -514,10 +516,10 @@ "typeString": "bool" }, "typeName": { - "id": 717, + "id": 517, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "503:4:2", + "src": "503:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -527,85 +529,86 @@ "visibility": "internal" } ], - "src": "502:14:2" + "src": "502:14:3" }, - "scope": 1478, - "src": "425:247:2", + "scope": 1278, + "src": "425:247:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 746, + "id": 546, "nodeType": "Block", - "src": "778:413:2", + "src": "778:413:3", "statements": [ { "externalReferences": [ { "size": { - "declaration": 743, + "declaration": 543, "isOffset": false, "isSlot": false, - "src": "832:4:2", + "src": "832:4:3", "valueSize": 1 } }, { - "size": { - "declaration": 743, + "_input": { + "declaration": 540, "isOffset": false, "isSlot": false, - "src": "1103:4:2", + "src": "850:6:3", "valueSize": 1 } }, { - "_input": { - "declaration": 740, + "_offst": { + "declaration": 538, "isOffset": false, "isSlot": false, - "src": "850:6:2", + "src": "857:6:3", "valueSize": 1 } }, { - "_offst": { - "declaration": 738, + "size": { + "declaration": 543, "isOffset": false, "isSlot": false, - "src": "857:6:2", + "src": "1103:4:3", "valueSize": 1 } }, { "size": { - "declaration": 743, + "declaration": 543, "isOffset": false, "isSlot": false, - "src": "905:4:2", + "src": "905:4:3", "valueSize": 1 } }, { "size": { - "declaration": 743, + "declaration": 543, "isOffset": false, "isSlot": false, - "src": "981:4:2", + "src": "981:4:3", "valueSize": 1 } } ], - "id": 745, + "id": 545, "nodeType": "InlineAssembly", "operations": "{\n size := mload(add(_input, _offst))\n let chunk_count := add(div(size, 32), 1)\n if gt(mod(size, 32), 0)\n {\n chunk_count := add(chunk_count, 1)\n }\n size := mul(chunk_count, 32)\n}", - "src": "797:394:2" + "src": "797:394:3" } ] }, - "id": 747, + "documentation": null, + "id": 547, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -613,16 +616,16 @@ "name": "getStringSize", "nodeType": "FunctionDefinition", "parameters": { - "id": 741, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 738, + "id": 538, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 747, - "src": "712:11:2", + "scope": 547, + "src": "712:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -630,10 +633,10 @@ "typeString": "uint256" }, "typeName": { - "id": 737, + "id": 537, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "712:4:2", + "src": "712:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -644,45 +647,45 @@ }, { "constant": false, - "id": 740, + "id": 540, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 747, - "src": "725:19:2", + "scope": 547, + "src": "725:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 739, + "id": 539, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "725:5:2", + "src": "725:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "711:34:2" + "src": "711:34:3" }, "payable": false, "returnParameters": { - "id": 744, + "id": 544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 743, + "id": 543, "name": "size", "nodeType": "VariableDeclaration", - "scope": 747, - "src": "768:9:2", + "scope": 547, + "src": "768:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -690,10 +693,10 @@ "typeString": "uint256" }, "typeName": { - "id": 742, + "id": 542, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "768:4:2", + "src": "768:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -703,32 +706,32 @@ "visibility": "internal" } ], - "src": "767:11:2" + "src": "767:11:3" }, - "scope": 1478, - "src": "689:502:2", + "scope": 1278, + "src": "689:502:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 761, + "id": 561, "nodeType": "Block", - "src": "1286:735:2", + "src": "1286:735:3", "statements": [ { "assignments": [ - 757 + 557 ], "declarations": [ { "constant": false, - "id": 757, + "id": 557, "name": "size", "nodeType": "VariableDeclaration", - "scope": 762, - "src": "1297:9:2", + "scope": 562, + "src": "1297:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -736,10 +739,10 @@ "typeString": "uint256" }, "typeName": { - "id": 756, + "id": 556, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1297:4:2", + "src": "1297:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -749,18 +752,18 @@ "visibility": "internal" } ], - "id": 759, + "id": 559, "initialValue": { "argumentTypes": null, "hexValue": "3332", - "id": 758, + "id": 558, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1309:2:2", + "src": "1309:2:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", @@ -769,109 +772,110 @@ "value": "32" }, "nodeType": "VariableDeclarationStatement", - "src": "1297:14:2" + "src": "1297:14:3" }, { "externalReferences": [ { "size": { - "declaration": 757, + "declaration": 557, "isOffset": false, "isSlot": false, - "src": "1435:4:2", + "src": "1435:4:3", "valueSize": 1 } }, { "_input": { - "declaration": 751, + "declaration": 551, "isOffset": false, "isSlot": false, - "src": "1453:6:2", + "src": "1453:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 749, + "declaration": 549, "isOffset": false, "isSlot": false, - "src": "1460:6:2", + "src": "1460:6:3", "valueSize": 1 } }, { - "size": { - "declaration": 757, + "_offst": { + "declaration": 549, "isOffset": false, "isSlot": false, - "src": "1504:4:2", + "src": "1836:6:3", "valueSize": 1 } }, { - "size": { - "declaration": 757, + "_output": { + "declaration": 553, "isOffset": false, "isSlot": false, - "src": "1580:4:2", + "src": "1751:7:3", "valueSize": 1 } }, { - "_offst": { - "declaration": 749, + "size": { + "declaration": 557, "isOffset": false, "isSlot": false, - "src": "1836:6:2", + "src": "1504:4:3", "valueSize": 1 } }, { - "_offst": { - "declaration": 749, + "size": { + "declaration": 557, "isOffset": false, "isSlot": false, - "src": "1822:6:2", + "src": "1580:4:3", "valueSize": 1 } }, { - "_output": { - "declaration": 753, + "_offst": { + "declaration": 549, "isOffset": false, "isSlot": false, - "src": "1751:7:2", + "src": "1822:6:3", "valueSize": 1 } }, { "_input": { - "declaration": 751, + "declaration": 551, "isOffset": false, "isSlot": false, - "src": "1789:6:2", + "src": "1789:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 749, + "declaration": 549, "isOffset": false, "isSlot": false, - "src": "1796:6:2", + "src": "1796:6:3", "valueSize": 1 } } ], - "id": 760, + "id": 560, "nodeType": "InlineAssembly", "operations": "{\n let loop_index := 0\n let chunk_count\n size := mload(add(_input, _offst))\n chunk_count := add(div(size, 32), 1)\n if gt(mod(size, 32), 0)\n {\n chunk_count := add(chunk_count, 1)\n }\n loop:\n mstore(add(_output, mul(loop_index, 32)), mload(add(_input, _offst)))\n _offst := sub(_offst, 32)\n loop_index := add(loop_index, 1)\n jumpi(loop, lt(loop_index, chunk_count))\n}", - "src": "1321:700:2" + "src": "1321:700:3" } ] }, - "id": 762, + "documentation": null, + "id": 562, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -879,16 +883,16 @@ "name": "bytesToString", "nodeType": "FunctionDefinition", "parameters": { - "id": 754, + "id": 554, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 549, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 762, - "src": "1220:11:2", + "scope": 562, + "src": "1220:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -896,10 +900,10 @@ "typeString": "uint256" }, "typeName": { - "id": 748, + "id": 548, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1220:4:2", + "src": "1220:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -910,25 +914,25 @@ }, { "constant": false, - "id": 751, + "id": 551, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 762, - "src": "1233:19:2", + "scope": 562, + "src": "1233:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 750, + "id": 550, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1233:5:2", + "src": "1233:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, @@ -936,117 +940,118 @@ }, { "constant": false, - "id": 753, + "id": 553, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 762, - "src": "1254:20:2", + "scope": 562, + "src": "1254:20:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 752, + "id": 552, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1254:5:2", + "src": "1254:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "1219:56:2" + "src": "1219:56:3" }, "payable": false, "returnParameters": { - "id": 755, + "id": 555, "nodeType": "ParameterList", "parameters": [], - "src": "1286:0:2" + "src": "1286:0:3" }, - "scope": 1478, - "src": "1197:824:2", + "scope": 1278, + "src": "1197:824:3", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 772, + "id": 572, "nodeType": "Block", - "src": "2117:161:2", + "src": "2117:161:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 768, + "declaration": 568, "isOffset": false, "isSlot": false, - "src": "2166:7:2", + "src": "2166:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 766, + "declaration": 566, "isOffset": false, "isSlot": false, - "src": "2180:6:2", + "src": "2180:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 764, + "declaration": 564, "isOffset": false, "isSlot": false, - "src": "2188:6:2", + "src": "2188:6:3", "valueSize": 1 } }, { - "_output": { - "declaration": 768, + "_input": { + "declaration": 566, "isOffset": false, "isSlot": false, - "src": "2220:7:2", + "src": "2242:6:3", "valueSize": 1 } }, { - "_input": { - "declaration": 766, + "_offst": { + "declaration": 564, "isOffset": false, "isSlot": false, - "src": "2242:6:2", + "src": "2250:6:3", "valueSize": 1 } }, { - "_offst": { - "declaration": 764, + "_output": { + "declaration": 568, "isOffset": false, "isSlot": false, - "src": "2250:6:2", + "src": "2220:7:3", "valueSize": 1 } } ], - "id": 771, + "id": 571, "nodeType": "InlineAssembly", "operations": "{\n mstore(_output, add(_input, _offst))\n mstore(add(_output, 32), add(add(_input, _offst), 32))\n}", - "src": "2136:142:2" + "src": "2136:142:3" } ] }, - "id": 773, + "documentation": null, + "id": 573, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1054,16 +1059,16 @@ "name": "bytesToBytes32", "nodeType": "FunctionDefinition", "parameters": { - "id": 769, + "id": 569, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 764, + "id": 564, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 773, - "src": "2051:11:2", + "scope": 573, + "src": "2051:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1071,10 +1076,10 @@ "typeString": "uint256" }, "typeName": { - "id": 763, + "id": 563, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2051:4:2", + "src": "2051:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1085,25 +1090,25 @@ }, { "constant": false, - "id": 766, + "id": 566, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 773, - "src": "2064:20:2", + "scope": 573, + "src": "2064:20:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 765, + "id": 565, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2064:5:2", + "src": "2064:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, @@ -1111,11 +1116,11 @@ }, { "constant": false, - "id": 768, + "id": 568, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 773, - "src": "2086:15:2", + "scope": 573, + "src": "2086:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1123,10 +1128,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 767, + "id": 567, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2086:7:2", + "src": "2086:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -1136,65 +1141,66 @@ "visibility": "internal" } ], - "src": "2050:52:2" + "src": "2050:52:3" }, "payable": false, "returnParameters": { - "id": 770, + "id": 570, "nodeType": "ParameterList", "parameters": [], - "src": "2117:0:2" + "src": "2117:0:3" }, - "scope": 1478, - "src": "2027:251:2", + "scope": 1278, + "src": "2027:251:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 783, + "id": 583, "nodeType": "Block", - "src": "2381:95:2", + "src": "2381:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 780, + "declaration": 580, "isOffset": false, "isSlot": false, - "src": "2423:7:2", + "src": "2423:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 777, + "declaration": 577, "isOffset": false, "isSlot": false, - "src": "2444:6:2", + "src": "2444:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 775, + "declaration": 575, "isOffset": false, "isSlot": false, - "src": "2452:6:2", + "src": "2452:6:3", "valueSize": 1 } } ], - "id": 782, + "id": 582, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "2400:76:2" + "src": "2400:76:3" } ] }, - "id": 784, + "documentation": null, + "id": 584, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1202,16 +1208,16 @@ "name": "bytesToInt8", "nodeType": "FunctionDefinition", "parameters": { - "id": 778, + "id": 578, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 775, + "id": 575, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 784, - "src": "2309:11:2", + "scope": 584, + "src": "2309:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1219,10 +1225,10 @@ "typeString": "uint256" }, "typeName": { - "id": 774, + "id": 574, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2309:4:2", + "src": "2309:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1233,45 +1239,45 @@ }, { "constant": false, - "id": 777, + "id": 577, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 784, - "src": "2322:20:2", + "scope": 584, + "src": "2322:20:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 776, + "id": 576, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2322:5:2", + "src": "2322:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "2308:35:2" + "src": "2308:35:3" }, "payable": false, "returnParameters": { - "id": 781, + "id": 581, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 780, + "id": 580, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 784, - "src": "2367:12:2", + "scope": 584, + "src": "2367:12:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1279,10 +1285,10 @@ "typeString": "int8" }, "typeName": { - "id": 779, + "id": 579, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "2367:4:2", + "src": "2367:4:3", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -1292,58 +1298,59 @@ "visibility": "internal" } ], - "src": "2366:14:2" + "src": "2366:14:3" }, - "scope": 1478, - "src": "2288:188:2", + "scope": 1278, + "src": "2288:188:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 794, + "id": 594, "nodeType": "Block", - "src": "2580:95:2", + "src": "2580:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 791, + "declaration": 591, "isOffset": false, "isSlot": false, - "src": "2622:7:2", + "src": "2622:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 788, + "declaration": 588, "isOffset": false, "isSlot": false, - "src": "2643:6:2", + "src": "2643:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 786, + "declaration": 586, "isOffset": false, "isSlot": false, - "src": "2651:6:2", + "src": "2651:6:3", "valueSize": 1 } } ], - "id": 793, + "id": 593, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "2599:76:2" + "src": "2599:76:3" } ] }, - "id": 795, + "documentation": null, + "id": 595, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1351,16 +1358,16 @@ "name": "bytesToInt16", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 586, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 795, - "src": "2508:11:2", + "scope": 595, + "src": "2508:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1368,10 +1375,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 585, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2508:4:2", + "src": "2508:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1382,45 +1389,45 @@ }, { "constant": false, - "id": 788, + "id": 588, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 795, - "src": "2521:19:2", + "scope": 595, + "src": "2521:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 787, + "id": 587, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2521:5:2", + "src": "2521:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "2507:34:2" + "src": "2507:34:3" }, "payable": false, "returnParameters": { - "id": 792, + "id": 592, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 591, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 795, - "src": "2565:13:2", + "scope": 595, + "src": "2565:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1428,10 +1435,10 @@ "typeString": "int16" }, "typeName": { - "id": 790, + "id": 590, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "2565:5:2", + "src": "2565:5:3", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -1441,58 +1448,59 @@ "visibility": "internal" } ], - "src": "2564:15:2" + "src": "2564:15:3" }, - "scope": 1478, - "src": "2486:189:2", + "scope": 1278, + "src": "2486:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 805, + "id": 605, "nodeType": "Block", - "src": "2775:95:2", + "src": "2775:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 802, + "declaration": 602, "isOffset": false, "isSlot": false, - "src": "2817:7:2", + "src": "2817:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 799, + "declaration": 599, "isOffset": false, "isSlot": false, - "src": "2838:6:2", + "src": "2838:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 797, + "declaration": 597, "isOffset": false, "isSlot": false, - "src": "2846:6:2", + "src": "2846:6:3", "valueSize": 1 } } ], - "id": 804, + "id": 604, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "2794:76:2" + "src": "2794:76:3" } ] }, - "id": 806, + "documentation": null, + "id": 606, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1500,16 +1508,16 @@ "name": "bytesToInt24", "nodeType": "FunctionDefinition", "parameters": { - "id": 800, + "id": 600, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 797, + "id": 597, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 806, - "src": "2703:11:2", + "scope": 606, + "src": "2703:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1517,10 +1525,10 @@ "typeString": "uint256" }, "typeName": { - "id": 796, + "id": 596, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2703:4:2", + "src": "2703:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1531,45 +1539,45 @@ }, { "constant": false, - "id": 799, + "id": 599, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 806, - "src": "2716:19:2", + "scope": 606, + "src": "2716:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 798, + "id": 598, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2716:5:2", + "src": "2716:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "2702:34:2" + "src": "2702:34:3" }, "payable": false, "returnParameters": { - "id": 803, + "id": 603, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 802, + "id": 602, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 806, - "src": "2760:13:2", + "scope": 606, + "src": "2760:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1577,10 +1585,10 @@ "typeString": "int24" }, "typeName": { - "id": 801, + "id": 601, "name": "int24", "nodeType": "ElementaryTypeName", - "src": "2760:5:2", + "src": "2760:5:3", "typeDescriptions": { "typeIdentifier": "t_int24", "typeString": "int24" @@ -1590,58 +1598,59 @@ "visibility": "internal" } ], - "src": "2759:15:2" + "src": "2759:15:3" }, - "scope": 1478, - "src": "2681:189:2", + "scope": 1278, + "src": "2681:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 816, + "id": 616, "nodeType": "Block", - "src": "2970:95:2", + "src": "2970:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 813, + "declaration": 613, "isOffset": false, "isSlot": false, - "src": "3012:7:2", + "src": "3012:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 810, + "declaration": 610, "isOffset": false, "isSlot": false, - "src": "3033:6:2", + "src": "3033:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 808, + "declaration": 608, "isOffset": false, "isSlot": false, - "src": "3041:6:2", + "src": "3041:6:3", "valueSize": 1 } } ], - "id": 815, + "id": 615, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "2989:76:2" + "src": "2989:76:3" } ] }, - "id": 817, + "documentation": null, + "id": 617, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1649,16 +1658,16 @@ "name": "bytesToInt32", "nodeType": "FunctionDefinition", "parameters": { - "id": 811, + "id": 611, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 808, + "id": 608, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 817, - "src": "2898:11:2", + "scope": 617, + "src": "2898:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1666,10 +1675,10 @@ "typeString": "uint256" }, "typeName": { - "id": 807, + "id": 607, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2898:4:2", + "src": "2898:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1680,45 +1689,45 @@ }, { "constant": false, - "id": 810, + "id": 610, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 817, - "src": "2911:19:2", + "scope": 617, + "src": "2911:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 809, + "id": 609, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2911:5:2", + "src": "2911:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "2897:34:2" + "src": "2897:34:3" }, "payable": false, "returnParameters": { - "id": 814, + "id": 614, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 813, + "id": 613, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 817, - "src": "2955:13:2", + "scope": 617, + "src": "2955:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1726,10 +1735,10 @@ "typeString": "int32" }, "typeName": { - "id": 812, + "id": 612, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "2955:5:2", + "src": "2955:5:3", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -1739,58 +1748,59 @@ "visibility": "internal" } ], - "src": "2954:15:2" + "src": "2954:15:3" }, - "scope": 1478, - "src": "2876:189:2", + "scope": 1278, + "src": "2876:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 827, + "id": 627, "nodeType": "Block", - "src": "3165:95:2", + "src": "3165:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 824, + "declaration": 624, "isOffset": false, "isSlot": false, - "src": "3207:7:2", + "src": "3207:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 821, + "declaration": 621, "isOffset": false, "isSlot": false, - "src": "3228:6:2", + "src": "3228:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 819, + "declaration": 619, "isOffset": false, "isSlot": false, - "src": "3236:6:2", + "src": "3236:6:3", "valueSize": 1 } } ], - "id": 826, + "id": 626, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "3184:76:2" + "src": "3184:76:3" } ] }, - "id": 828, + "documentation": null, + "id": 628, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1798,16 +1808,16 @@ "name": "bytesToInt40", "nodeType": "FunctionDefinition", "parameters": { - "id": 822, + "id": 622, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 819, + "id": 619, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 828, - "src": "3093:11:2", + "scope": 628, + "src": "3093:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1815,10 +1825,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 618, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3093:4:2", + "src": "3093:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1829,45 +1839,45 @@ }, { "constant": false, - "id": 821, + "id": 621, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 828, - "src": "3106:19:2", + "scope": 628, + "src": "3106:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 820, + "id": 620, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3106:5:2", + "src": "3106:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "3092:34:2" + "src": "3092:34:3" }, "payable": false, "returnParameters": { - "id": 825, + "id": 625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 824, + "id": 624, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 828, - "src": "3150:13:2", + "scope": 628, + "src": "3150:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1875,10 +1885,10 @@ "typeString": "int40" }, "typeName": { - "id": 823, + "id": 623, "name": "int40", "nodeType": "ElementaryTypeName", - "src": "3150:5:2", + "src": "3150:5:3", "typeDescriptions": { "typeIdentifier": "t_int40", "typeString": "int40" @@ -1888,58 +1898,59 @@ "visibility": "internal" } ], - "src": "3149:15:2" + "src": "3149:15:3" }, - "scope": 1478, - "src": "3071:189:2", + "scope": 1278, + "src": "3071:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 838, + "id": 638, "nodeType": "Block", - "src": "3360:95:2", + "src": "3360:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 835, + "declaration": 635, "isOffset": false, "isSlot": false, - "src": "3402:7:2", + "src": "3402:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 832, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "3423:6:2", + "src": "3423:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 830, + "declaration": 630, "isOffset": false, "isSlot": false, - "src": "3431:6:2", + "src": "3431:6:3", "valueSize": 1 } } ], - "id": 837, + "id": 637, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "3379:76:2" + "src": "3379:76:3" } ] }, - "id": 839, + "documentation": null, + "id": 639, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1947,16 +1958,16 @@ "name": "bytesToInt48", "nodeType": "FunctionDefinition", "parameters": { - "id": 833, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 830, + "id": 630, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 839, - "src": "3288:11:2", + "scope": 639, + "src": "3288:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1964,10 +1975,10 @@ "typeString": "uint256" }, "typeName": { - "id": 829, + "id": 629, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3288:4:2", + "src": "3288:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1978,45 +1989,45 @@ }, { "constant": false, - "id": 832, + "id": 632, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 839, - "src": "3301:19:2", + "scope": 639, + "src": "3301:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 831, + "id": 631, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3301:5:2", + "src": "3301:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "3287:34:2" + "src": "3287:34:3" }, "payable": false, "returnParameters": { - "id": 836, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 835, + "id": 635, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 839, - "src": "3345:13:2", + "scope": 639, + "src": "3345:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2024,10 +2035,10 @@ "typeString": "int48" }, "typeName": { - "id": 834, + "id": 634, "name": "int48", "nodeType": "ElementaryTypeName", - "src": "3345:5:2", + "src": "3345:5:3", "typeDescriptions": { "typeIdentifier": "t_int48", "typeString": "int48" @@ -2037,58 +2048,59 @@ "visibility": "internal" } ], - "src": "3344:15:2" + "src": "3344:15:3" }, - "scope": 1478, - "src": "3266:189:2", + "scope": 1278, + "src": "3266:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 849, + "id": 649, "nodeType": "Block", - "src": "3555:95:2", + "src": "3555:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 846, + "declaration": 646, "isOffset": false, "isSlot": false, - "src": "3597:7:2", + "src": "3597:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 843, + "declaration": 643, "isOffset": false, "isSlot": false, - "src": "3618:6:2", + "src": "3618:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 841, + "declaration": 641, "isOffset": false, "isSlot": false, - "src": "3626:6:2", + "src": "3626:6:3", "valueSize": 1 } } ], - "id": 848, + "id": 648, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "3574:76:2" + "src": "3574:76:3" } ] }, - "id": 850, + "documentation": null, + "id": 650, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2096,16 +2108,16 @@ "name": "bytesToInt56", "nodeType": "FunctionDefinition", "parameters": { - "id": 844, + "id": 644, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 841, + "id": 641, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 850, - "src": "3483:11:2", + "scope": 650, + "src": "3483:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2113,10 +2125,10 @@ "typeString": "uint256" }, "typeName": { - "id": 840, + "id": 640, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3483:4:2", + "src": "3483:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2127,45 +2139,45 @@ }, { "constant": false, - "id": 843, + "id": 643, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 850, - "src": "3496:19:2", + "scope": 650, + "src": "3496:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 842, + "id": 642, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3496:5:2", + "src": "3496:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "3482:34:2" + "src": "3482:34:3" }, "payable": false, "returnParameters": { - "id": 847, + "id": 647, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 846, + "id": 646, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 850, - "src": "3540:13:2", + "scope": 650, + "src": "3540:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2173,10 +2185,10 @@ "typeString": "int56" }, "typeName": { - "id": 845, + "id": 645, "name": "int56", "nodeType": "ElementaryTypeName", - "src": "3540:5:2", + "src": "3540:5:3", "typeDescriptions": { "typeIdentifier": "t_int56", "typeString": "int56" @@ -2186,58 +2198,59 @@ "visibility": "internal" } ], - "src": "3539:15:2" + "src": "3539:15:3" }, - "scope": 1478, - "src": "3461:189:2", + "scope": 1278, + "src": "3461:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 860, + "id": 660, "nodeType": "Block", - "src": "3750:95:2", + "src": "3750:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 857, + "declaration": 657, "isOffset": false, "isSlot": false, - "src": "3792:7:2", + "src": "3792:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 854, + "declaration": 654, "isOffset": false, "isSlot": false, - "src": "3813:6:2", + "src": "3813:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 852, + "declaration": 652, "isOffset": false, "isSlot": false, - "src": "3821:6:2", + "src": "3821:6:3", "valueSize": 1 } } ], - "id": 859, + "id": 659, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "3769:76:2" + "src": "3769:76:3" } ] }, - "id": 861, + "documentation": null, + "id": 661, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2245,16 +2258,16 @@ "name": "bytesToInt64", "nodeType": "FunctionDefinition", "parameters": { - "id": 855, + "id": 655, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 852, + "id": 652, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 861, - "src": "3678:11:2", + "scope": 661, + "src": "3678:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2262,10 +2275,10 @@ "typeString": "uint256" }, "typeName": { - "id": 851, + "id": 651, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3678:4:2", + "src": "3678:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2276,45 +2289,45 @@ }, { "constant": false, - "id": 854, + "id": 654, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 861, - "src": "3691:19:2", + "scope": 661, + "src": "3691:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 853, + "id": 653, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3691:5:2", + "src": "3691:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "3677:34:2" + "src": "3677:34:3" }, "payable": false, "returnParameters": { - "id": 858, + "id": 658, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 857, + "id": 657, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 861, - "src": "3735:13:2", + "scope": 661, + "src": "3735:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2322,10 +2335,10 @@ "typeString": "int64" }, "typeName": { - "id": 856, + "id": 656, "name": "int64", "nodeType": "ElementaryTypeName", - "src": "3735:5:2", + "src": "3735:5:3", "typeDescriptions": { "typeIdentifier": "t_int64", "typeString": "int64" @@ -2335,58 +2348,59 @@ "visibility": "internal" } ], - "src": "3734:15:2" + "src": "3734:15:3" }, - "scope": 1478, - "src": "3656:189:2", + "scope": 1278, + "src": "3656:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 871, + "id": 671, "nodeType": "Block", - "src": "3945:95:2", + "src": "3945:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 868, + "declaration": 668, "isOffset": false, "isSlot": false, - "src": "3987:7:2", + "src": "3987:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 865, + "declaration": 665, "isOffset": false, "isSlot": false, - "src": "4008:6:2", + "src": "4008:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 863, + "declaration": 663, "isOffset": false, "isSlot": false, - "src": "4016:6:2", + "src": "4016:6:3", "valueSize": 1 } } ], - "id": 870, + "id": 670, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "3964:76:2" + "src": "3964:76:3" } ] }, - "id": 872, + "documentation": null, + "id": 672, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2394,16 +2408,16 @@ "name": "bytesToInt72", "nodeType": "FunctionDefinition", "parameters": { - "id": 866, + "id": 666, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 863, + "id": 663, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 872, - "src": "3873:11:2", + "scope": 672, + "src": "3873:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2411,10 +2425,10 @@ "typeString": "uint256" }, "typeName": { - "id": 862, + "id": 662, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3873:4:2", + "src": "3873:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2425,45 +2439,45 @@ }, { "constant": false, - "id": 865, + "id": 665, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 872, - "src": "3886:19:2", + "scope": 672, + "src": "3886:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 864, + "id": 664, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3886:5:2", + "src": "3886:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "3872:34:2" + "src": "3872:34:3" }, "payable": false, "returnParameters": { - "id": 869, + "id": 669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 868, + "id": 668, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 872, - "src": "3930:13:2", + "scope": 672, + "src": "3930:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2471,10 +2485,10 @@ "typeString": "int72" }, "typeName": { - "id": 867, + "id": 667, "name": "int72", "nodeType": "ElementaryTypeName", - "src": "3930:5:2", + "src": "3930:5:3", "typeDescriptions": { "typeIdentifier": "t_int72", "typeString": "int72" @@ -2484,58 +2498,59 @@ "visibility": "internal" } ], - "src": "3929:15:2" + "src": "3929:15:3" }, - "scope": 1478, - "src": "3851:189:2", + "scope": 1278, + "src": "3851:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 882, + "id": 682, "nodeType": "Block", - "src": "4140:95:2", + "src": "4140:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 879, + "declaration": 679, "isOffset": false, "isSlot": false, - "src": "4182:7:2", + "src": "4182:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 876, + "declaration": 676, "isOffset": false, "isSlot": false, - "src": "4203:6:2", + "src": "4203:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 874, + "declaration": 674, "isOffset": false, "isSlot": false, - "src": "4211:6:2", + "src": "4211:6:3", "valueSize": 1 } } ], - "id": 881, + "id": 681, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "4159:76:2" + "src": "4159:76:3" } ] }, - "id": 883, + "documentation": null, + "id": 683, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2543,16 +2558,16 @@ "name": "bytesToInt80", "nodeType": "FunctionDefinition", "parameters": { - "id": 877, + "id": 677, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 874, + "id": 674, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 883, - "src": "4068:11:2", + "scope": 683, + "src": "4068:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2560,10 +2575,10 @@ "typeString": "uint256" }, "typeName": { - "id": 873, + "id": 673, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4068:4:2", + "src": "4068:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2574,45 +2589,45 @@ }, { "constant": false, - "id": 876, + "id": 676, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 883, - "src": "4081:19:2", + "scope": 683, + "src": "4081:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 875, + "id": 675, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4081:5:2", + "src": "4081:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "4067:34:2" + "src": "4067:34:3" }, "payable": false, "returnParameters": { - "id": 880, + "id": 680, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 879, + "id": 679, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 883, - "src": "4125:13:2", + "scope": 683, + "src": "4125:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2620,10 +2635,10 @@ "typeString": "int80" }, "typeName": { - "id": 878, + "id": 678, "name": "int80", "nodeType": "ElementaryTypeName", - "src": "4125:5:2", + "src": "4125:5:3", "typeDescriptions": { "typeIdentifier": "t_int80", "typeString": "int80" @@ -2633,58 +2648,59 @@ "visibility": "internal" } ], - "src": "4124:15:2" + "src": "4124:15:3" }, - "scope": 1478, - "src": "4046:189:2", + "scope": 1278, + "src": "4046:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 893, + "id": 693, "nodeType": "Block", - "src": "4335:95:2", + "src": "4335:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 890, + "declaration": 690, "isOffset": false, "isSlot": false, - "src": "4377:7:2", + "src": "4377:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 887, + "declaration": 687, "isOffset": false, "isSlot": false, - "src": "4398:6:2", + "src": "4398:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 885, + "declaration": 685, "isOffset": false, "isSlot": false, - "src": "4406:6:2", + "src": "4406:6:3", "valueSize": 1 } } ], - "id": 892, + "id": 692, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "4354:76:2" + "src": "4354:76:3" } ] }, - "id": 894, + "documentation": null, + "id": 694, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2692,16 +2708,16 @@ "name": "bytesToInt88", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 688, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 685, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 894, - "src": "4263:11:2", + "scope": 694, + "src": "4263:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2709,10 +2725,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 684, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4263:4:2", + "src": "4263:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2723,45 +2739,45 @@ }, { "constant": false, - "id": 887, + "id": 687, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 894, - "src": "4276:19:2", + "scope": 694, + "src": "4276:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 886, + "id": 686, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4276:5:2", + "src": "4276:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "4262:34:2" + "src": "4262:34:3" }, "payable": false, "returnParameters": { - "id": 891, + "id": 691, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 690, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 894, - "src": "4320:13:2", + "scope": 694, + "src": "4320:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2769,10 +2785,10 @@ "typeString": "int88" }, "typeName": { - "id": 889, + "id": 689, "name": "int88", "nodeType": "ElementaryTypeName", - "src": "4320:5:2", + "src": "4320:5:3", "typeDescriptions": { "typeIdentifier": "t_int88", "typeString": "int88" @@ -2782,58 +2798,59 @@ "visibility": "internal" } ], - "src": "4319:15:2" + "src": "4319:15:3" }, - "scope": 1478, - "src": "4241:189:2", + "scope": 1278, + "src": "4241:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 904, + "id": 704, "nodeType": "Block", - "src": "4530:95:2", + "src": "4530:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 901, + "declaration": 701, "isOffset": false, "isSlot": false, - "src": "4572:7:2", + "src": "4572:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 898, + "declaration": 698, "isOffset": false, "isSlot": false, - "src": "4593:6:2", + "src": "4593:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 896, + "declaration": 696, "isOffset": false, "isSlot": false, - "src": "4601:6:2", + "src": "4601:6:3", "valueSize": 1 } } ], - "id": 903, + "id": 703, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "4549:76:2" + "src": "4549:76:3" } ] }, - "id": 905, + "documentation": null, + "id": 705, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2841,16 +2858,16 @@ "name": "bytesToInt96", "nodeType": "FunctionDefinition", "parameters": { - "id": 899, + "id": 699, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 896, + "id": 696, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 905, - "src": "4458:11:2", + "scope": 705, + "src": "4458:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2858,10 +2875,10 @@ "typeString": "uint256" }, "typeName": { - "id": 895, + "id": 695, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4458:4:2", + "src": "4458:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2872,45 +2889,45 @@ }, { "constant": false, - "id": 898, + "id": 698, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 905, - "src": "4471:19:2", + "scope": 705, + "src": "4471:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 897, + "id": 697, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4471:5:2", + "src": "4471:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "4457:34:2" + "src": "4457:34:3" }, "payable": false, "returnParameters": { - "id": 902, + "id": 702, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 901, + "id": 701, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 905, - "src": "4515:13:2", + "scope": 705, + "src": "4515:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2918,10 +2935,10 @@ "typeString": "int96" }, "typeName": { - "id": 900, + "id": 700, "name": "int96", "nodeType": "ElementaryTypeName", - "src": "4515:5:2", + "src": "4515:5:3", "typeDescriptions": { "typeIdentifier": "t_int96", "typeString": "int96" @@ -2931,58 +2948,59 @@ "visibility": "internal" } ], - "src": "4514:15:2" + "src": "4514:15:3" }, - "scope": 1478, - "src": "4436:189:2", + "scope": 1278, + "src": "4436:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 915, + "id": 715, "nodeType": "Block", - "src": "4725:95:2", + "src": "4725:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 912, + "declaration": 712, "isOffset": false, "isSlot": false, - "src": "4767:7:2", + "src": "4767:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 909, + "declaration": 709, "isOffset": false, "isSlot": false, - "src": "4788:6:2", + "src": "4788:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 907, + "declaration": 707, "isOffset": false, "isSlot": false, - "src": "4796:6:2", + "src": "4796:6:3", "valueSize": 1 } } ], - "id": 914, + "id": 714, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "4744:76:2" + "src": "4744:76:3" } ] }, - "id": 916, + "documentation": null, + "id": 716, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2990,16 +3008,16 @@ "name": "bytesToInt104", "nodeType": "FunctionDefinition", "parameters": { - "id": 910, + "id": 710, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 907, + "id": 707, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 916, - "src": "4652:11:2", + "scope": 716, + "src": "4652:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3007,10 +3025,10 @@ "typeString": "uint256" }, "typeName": { - "id": 906, + "id": 706, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4652:4:2", + "src": "4652:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3021,45 +3039,45 @@ }, { "constant": false, - "id": 909, + "id": 709, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 916, - "src": "4665:19:2", + "scope": 716, + "src": "4665:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 908, + "id": 708, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4665:5:2", + "src": "4665:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "4651:34:2" + "src": "4651:34:3" }, "payable": false, "returnParameters": { - "id": 913, + "id": 713, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 712, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 916, - "src": "4709:14:2", + "scope": 716, + "src": "4709:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3067,10 +3085,10 @@ "typeString": "int104" }, "typeName": { - "id": 911, + "id": 711, "name": "int104", "nodeType": "ElementaryTypeName", - "src": "4709:6:2", + "src": "4709:6:3", "typeDescriptions": { "typeIdentifier": "t_int104", "typeString": "int104" @@ -3080,58 +3098,59 @@ "visibility": "internal" } ], - "src": "4708:16:2" + "src": "4708:16:3" }, - "scope": 1478, - "src": "4629:191:2", + "scope": 1278, + "src": "4629:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 926, + "id": 726, "nodeType": "Block", - "src": "4926:95:2", + "src": "4926:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 923, + "declaration": 723, "isOffset": false, "isSlot": false, - "src": "4968:7:2", + "src": "4968:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 920, + "declaration": 720, "isOffset": false, "isSlot": false, - "src": "4989:6:2", + "src": "4989:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 918, + "declaration": 718, "isOffset": false, "isSlot": false, - "src": "4997:6:2", + "src": "4997:6:3", "valueSize": 1 } } ], - "id": 925, + "id": 725, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "4945:76:2" + "src": "4945:76:3" } ] }, - "id": 927, + "documentation": null, + "id": 727, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3139,16 +3158,16 @@ "name": "bytesToInt112", "nodeType": "FunctionDefinition", "parameters": { - "id": 921, + "id": 721, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 918, + "id": 718, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 927, - "src": "4853:11:2", + "scope": 727, + "src": "4853:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3156,10 +3175,10 @@ "typeString": "uint256" }, "typeName": { - "id": 917, + "id": 717, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4853:4:2", + "src": "4853:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3170,45 +3189,45 @@ }, { "constant": false, - "id": 920, + "id": 720, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 927, - "src": "4866:19:2", + "scope": 727, + "src": "4866:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 919, + "id": 719, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4866:5:2", + "src": "4866:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "4852:34:2" + "src": "4852:34:3" }, "payable": false, "returnParameters": { - "id": 924, + "id": 724, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 923, + "id": 723, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 927, - "src": "4910:14:2", + "scope": 727, + "src": "4910:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3216,10 +3235,10 @@ "typeString": "int112" }, "typeName": { - "id": 922, + "id": 722, "name": "int112", "nodeType": "ElementaryTypeName", - "src": "4910:6:2", + "src": "4910:6:3", "typeDescriptions": { "typeIdentifier": "t_int112", "typeString": "int112" @@ -3229,58 +3248,59 @@ "visibility": "internal" } ], - "src": "4909:16:2" + "src": "4909:16:3" }, - "scope": 1478, - "src": "4830:191:2", + "scope": 1278, + "src": "4830:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 937, + "id": 737, "nodeType": "Block", - "src": "5123:95:2", + "src": "5123:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 934, + "declaration": 734, "isOffset": false, "isSlot": false, - "src": "5165:7:2", + "src": "5165:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 931, + "declaration": 731, "isOffset": false, "isSlot": false, - "src": "5186:6:2", + "src": "5186:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 929, + "declaration": 729, "isOffset": false, "isSlot": false, - "src": "5194:6:2", + "src": "5194:6:3", "valueSize": 1 } } ], - "id": 936, + "id": 736, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "5142:76:2" + "src": "5142:76:3" } ] }, - "id": 938, + "documentation": null, + "id": 738, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3288,16 +3308,16 @@ "name": "bytesToInt120", "nodeType": "FunctionDefinition", "parameters": { - "id": 932, + "id": 732, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 929, + "id": 729, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 938, - "src": "5050:11:2", + "scope": 738, + "src": "5050:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3305,10 +3325,10 @@ "typeString": "uint256" }, "typeName": { - "id": 928, + "id": 728, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5050:4:2", + "src": "5050:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3319,45 +3339,45 @@ }, { "constant": false, - "id": 931, + "id": 731, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 938, - "src": "5063:19:2", + "scope": 738, + "src": "5063:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 930, + "id": 730, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5063:5:2", + "src": "5063:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "5049:34:2" + "src": "5049:34:3" }, "payable": false, "returnParameters": { - "id": 935, + "id": 735, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 934, + "id": 734, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 938, - "src": "5107:14:2", + "scope": 738, + "src": "5107:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3365,10 +3385,10 @@ "typeString": "int120" }, "typeName": { - "id": 933, + "id": 733, "name": "int120", "nodeType": "ElementaryTypeName", - "src": "5107:6:2", + "src": "5107:6:3", "typeDescriptions": { "typeIdentifier": "t_int120", "typeString": "int120" @@ -3378,58 +3398,59 @@ "visibility": "internal" } ], - "src": "5106:16:2" + "src": "5106:16:3" }, - "scope": 1478, - "src": "5027:191:2", + "scope": 1278, + "src": "5027:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 948, + "id": 748, "nodeType": "Block", - "src": "5320:95:2", + "src": "5320:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 945, + "declaration": 745, "isOffset": false, "isSlot": false, - "src": "5362:7:2", + "src": "5362:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 942, + "declaration": 742, "isOffset": false, "isSlot": false, - "src": "5383:6:2", + "src": "5383:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 940, + "declaration": 740, "isOffset": false, "isSlot": false, - "src": "5391:6:2", + "src": "5391:6:3", "valueSize": 1 } } ], - "id": 947, + "id": 747, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "5339:76:2" + "src": "5339:76:3" } ] }, - "id": 949, + "documentation": null, + "id": 749, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3437,16 +3458,16 @@ "name": "bytesToInt128", "nodeType": "FunctionDefinition", "parameters": { - "id": 943, + "id": 743, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 940, + "id": 740, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 949, - "src": "5247:11:2", + "scope": 749, + "src": "5247:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3454,10 +3475,10 @@ "typeString": "uint256" }, "typeName": { - "id": 939, + "id": 739, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5247:4:2", + "src": "5247:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3468,45 +3489,45 @@ }, { "constant": false, - "id": 942, + "id": 742, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 949, - "src": "5260:19:2", + "scope": 749, + "src": "5260:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 941, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5260:5:2", + "src": "5260:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "5246:34:2" + "src": "5246:34:3" }, "payable": false, "returnParameters": { - "id": 946, + "id": 746, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 945, + "id": 745, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 949, - "src": "5304:14:2", + "scope": 749, + "src": "5304:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3514,10 +3535,10 @@ "typeString": "int128" }, "typeName": { - "id": 944, + "id": 744, "name": "int128", "nodeType": "ElementaryTypeName", - "src": "5304:6:2", + "src": "5304:6:3", "typeDescriptions": { "typeIdentifier": "t_int128", "typeString": "int128" @@ -3527,58 +3548,59 @@ "visibility": "internal" } ], - "src": "5303:16:2" + "src": "5303:16:3" }, - "scope": 1478, - "src": "5224:191:2", + "scope": 1278, + "src": "5224:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 959, + "id": 759, "nodeType": "Block", - "src": "5517:95:2", + "src": "5517:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 956, + "declaration": 756, "isOffset": false, "isSlot": false, - "src": "5559:7:2", + "src": "5559:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 953, + "declaration": 753, "isOffset": false, "isSlot": false, - "src": "5580:6:2", + "src": "5580:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 951, + "declaration": 751, "isOffset": false, "isSlot": false, - "src": "5588:6:2", + "src": "5588:6:3", "valueSize": 1 } } ], - "id": 958, + "id": 758, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "5536:76:2" + "src": "5536:76:3" } ] }, - "id": 960, + "documentation": null, + "id": 760, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3586,16 +3608,16 @@ "name": "bytesToInt136", "nodeType": "FunctionDefinition", "parameters": { - "id": 954, + "id": 754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 951, + "id": 751, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 960, - "src": "5444:11:2", + "scope": 760, + "src": "5444:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3603,10 +3625,10 @@ "typeString": "uint256" }, "typeName": { - "id": 950, + "id": 750, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5444:4:2", + "src": "5444:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3617,45 +3639,45 @@ }, { "constant": false, - "id": 953, + "id": 753, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 960, - "src": "5457:19:2", + "scope": 760, + "src": "5457:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 952, + "id": 752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5457:5:2", + "src": "5457:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "5443:34:2" + "src": "5443:34:3" }, "payable": false, "returnParameters": { - "id": 957, + "id": 757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 956, + "id": 756, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 960, - "src": "5501:14:2", + "scope": 760, + "src": "5501:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3663,10 +3685,10 @@ "typeString": "int136" }, "typeName": { - "id": 955, + "id": 755, "name": "int136", "nodeType": "ElementaryTypeName", - "src": "5501:6:2", + "src": "5501:6:3", "typeDescriptions": { "typeIdentifier": "t_int136", "typeString": "int136" @@ -3676,58 +3698,59 @@ "visibility": "internal" } ], - "src": "5500:16:2" + "src": "5500:16:3" }, - "scope": 1478, - "src": "5421:191:2", + "scope": 1278, + "src": "5421:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 970, + "id": 770, "nodeType": "Block", - "src": "5714:95:2", + "src": "5714:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 967, + "declaration": 767, "isOffset": false, "isSlot": false, - "src": "5756:7:2", + "src": "5756:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 964, + "declaration": 764, "isOffset": false, "isSlot": false, - "src": "5777:6:2", + "src": "5777:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 962, + "declaration": 762, "isOffset": false, "isSlot": false, - "src": "5785:6:2", + "src": "5785:6:3", "valueSize": 1 } } ], - "id": 969, + "id": 769, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "5733:76:2" + "src": "5733:76:3" } ] }, - "id": 971, + "documentation": null, + "id": 771, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3735,16 +3758,16 @@ "name": "bytesToInt144", "nodeType": "FunctionDefinition", "parameters": { - "id": 965, + "id": 765, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 962, + "id": 762, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 971, - "src": "5641:11:2", + "scope": 771, + "src": "5641:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3752,10 +3775,10 @@ "typeString": "uint256" }, "typeName": { - "id": 961, + "id": 761, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5641:4:2", + "src": "5641:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3766,45 +3789,45 @@ }, { "constant": false, - "id": 964, + "id": 764, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 971, - "src": "5654:19:2", + "scope": 771, + "src": "5654:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 963, + "id": 763, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5654:5:2", + "src": "5654:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "5640:34:2" + "src": "5640:34:3" }, "payable": false, "returnParameters": { - "id": 968, + "id": 768, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 967, + "id": 767, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 971, - "src": "5698:14:2", + "scope": 771, + "src": "5698:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3812,10 +3835,10 @@ "typeString": "int144" }, "typeName": { - "id": 966, + "id": 766, "name": "int144", "nodeType": "ElementaryTypeName", - "src": "5698:6:2", + "src": "5698:6:3", "typeDescriptions": { "typeIdentifier": "t_int144", "typeString": "int144" @@ -3825,58 +3848,59 @@ "visibility": "internal" } ], - "src": "5697:16:2" + "src": "5697:16:3" }, - "scope": 1478, - "src": "5618:191:2", + "scope": 1278, + "src": "5618:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 981, + "id": 781, "nodeType": "Block", - "src": "5911:95:2", + "src": "5911:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 978, + "declaration": 778, "isOffset": false, "isSlot": false, - "src": "5953:7:2", + "src": "5953:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 975, + "declaration": 775, "isOffset": false, "isSlot": false, - "src": "5974:6:2", + "src": "5974:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 973, + "declaration": 773, "isOffset": false, "isSlot": false, - "src": "5982:6:2", + "src": "5982:6:3", "valueSize": 1 } } ], - "id": 980, + "id": 780, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "5930:76:2" + "src": "5930:76:3" } ] }, - "id": 982, + "documentation": null, + "id": 782, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3884,16 +3908,16 @@ "name": "bytesToInt152", "nodeType": "FunctionDefinition", "parameters": { - "id": 976, + "id": 776, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 973, + "id": 773, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 982, - "src": "5838:11:2", + "scope": 782, + "src": "5838:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3901,10 +3925,10 @@ "typeString": "uint256" }, "typeName": { - "id": 972, + "id": 772, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5838:4:2", + "src": "5838:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3915,45 +3939,45 @@ }, { "constant": false, - "id": 975, + "id": 775, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 982, - "src": "5851:19:2", + "scope": 782, + "src": "5851:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 974, + "id": 774, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5851:5:2", + "src": "5851:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "5837:34:2" + "src": "5837:34:3" }, "payable": false, "returnParameters": { - "id": 979, + "id": 779, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 978, + "id": 778, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 982, - "src": "5895:14:2", + "scope": 782, + "src": "5895:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3961,10 +3985,10 @@ "typeString": "int152" }, "typeName": { - "id": 977, + "id": 777, "name": "int152", "nodeType": "ElementaryTypeName", - "src": "5895:6:2", + "src": "5895:6:3", "typeDescriptions": { "typeIdentifier": "t_int152", "typeString": "int152" @@ -3974,58 +3998,59 @@ "visibility": "internal" } ], - "src": "5894:16:2" + "src": "5894:16:3" }, - "scope": 1478, - "src": "5815:191:2", + "scope": 1278, + "src": "5815:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 992, + "id": 792, "nodeType": "Block", - "src": "6108:95:2", + "src": "6108:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 989, + "declaration": 789, "isOffset": false, "isSlot": false, - "src": "6150:7:2", + "src": "6150:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 986, + "declaration": 786, "isOffset": false, "isSlot": false, - "src": "6171:6:2", + "src": "6171:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 984, + "declaration": 784, "isOffset": false, "isSlot": false, - "src": "6179:6:2", + "src": "6179:6:3", "valueSize": 1 } } ], - "id": 991, + "id": 791, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "6127:76:2" + "src": "6127:76:3" } ] }, - "id": 993, + "documentation": null, + "id": 793, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4033,16 +4058,16 @@ "name": "bytesToInt160", "nodeType": "FunctionDefinition", "parameters": { - "id": 987, + "id": 787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 984, + "id": 784, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 993, - "src": "6035:11:2", + "scope": 793, + "src": "6035:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4050,10 +4075,10 @@ "typeString": "uint256" }, "typeName": { - "id": 983, + "id": 783, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6035:4:2", + "src": "6035:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4064,45 +4089,45 @@ }, { "constant": false, - "id": 986, + "id": 786, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 993, - "src": "6048:19:2", + "scope": 793, + "src": "6048:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 985, + "id": 785, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6048:5:2", + "src": "6048:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "6034:34:2" + "src": "6034:34:3" }, "payable": false, "returnParameters": { - "id": 990, + "id": 790, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 989, + "id": 789, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 993, - "src": "6092:14:2", + "scope": 793, + "src": "6092:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4110,10 +4135,10 @@ "typeString": "int160" }, "typeName": { - "id": 988, + "id": 788, "name": "int160", "nodeType": "ElementaryTypeName", - "src": "6092:6:2", + "src": "6092:6:3", "typeDescriptions": { "typeIdentifier": "t_int160", "typeString": "int160" @@ -4123,58 +4148,59 @@ "visibility": "internal" } ], - "src": "6091:16:2" + "src": "6091:16:3" }, - "scope": 1478, - "src": "6012:191:2", + "scope": 1278, + "src": "6012:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1003, + "id": 803, "nodeType": "Block", - "src": "6305:95:2", + "src": "6305:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1000, + "declaration": 800, "isOffset": false, "isSlot": false, - "src": "6347:7:2", + "src": "6347:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 997, + "declaration": 797, "isOffset": false, "isSlot": false, - "src": "6368:6:2", + "src": "6368:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 995, + "declaration": 795, "isOffset": false, "isSlot": false, - "src": "6376:6:2", + "src": "6376:6:3", "valueSize": 1 } } ], - "id": 1002, + "id": 802, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "6324:76:2" + "src": "6324:76:3" } ] }, - "id": 1004, + "documentation": null, + "id": 804, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4182,16 +4208,16 @@ "name": "bytesToInt168", "nodeType": "FunctionDefinition", "parameters": { - "id": 998, + "id": 798, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 995, + "id": 795, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1004, - "src": "6232:11:2", + "scope": 804, + "src": "6232:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4199,10 +4225,10 @@ "typeString": "uint256" }, "typeName": { - "id": 994, + "id": 794, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6232:4:2", + "src": "6232:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4213,45 +4239,45 @@ }, { "constant": false, - "id": 997, + "id": 797, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1004, - "src": "6245:19:2", + "scope": 804, + "src": "6245:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 996, + "id": 796, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6245:5:2", + "src": "6245:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "6231:34:2" + "src": "6231:34:3" }, "payable": false, "returnParameters": { - "id": 1001, + "id": 801, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1000, + "id": 800, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1004, - "src": "6289:14:2", + "scope": 804, + "src": "6289:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4259,10 +4285,10 @@ "typeString": "int168" }, "typeName": { - "id": 999, + "id": 799, "name": "int168", "nodeType": "ElementaryTypeName", - "src": "6289:6:2", + "src": "6289:6:3", "typeDescriptions": { "typeIdentifier": "t_int168", "typeString": "int168" @@ -4272,58 +4298,59 @@ "visibility": "internal" } ], - "src": "6288:16:2" + "src": "6288:16:3" }, - "scope": 1478, - "src": "6209:191:2", + "scope": 1278, + "src": "6209:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1014, + "id": 814, "nodeType": "Block", - "src": "6502:95:2", + "src": "6502:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1011, + "declaration": 811, "isOffset": false, "isSlot": false, - "src": "6544:7:2", + "src": "6544:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1008, + "declaration": 808, "isOffset": false, "isSlot": false, - "src": "6565:6:2", + "src": "6565:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1006, + "declaration": 806, "isOffset": false, "isSlot": false, - "src": "6573:6:2", + "src": "6573:6:3", "valueSize": 1 } } ], - "id": 1013, + "id": 813, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "6521:76:2" + "src": "6521:76:3" } ] }, - "id": 1015, + "documentation": null, + "id": 815, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4331,16 +4358,16 @@ "name": "bytesToInt176", "nodeType": "FunctionDefinition", "parameters": { - "id": 1009, + "id": 809, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1006, + "id": 806, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1015, - "src": "6429:11:2", + "scope": 815, + "src": "6429:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4348,10 +4375,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1005, + "id": 805, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6429:4:2", + "src": "6429:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4362,45 +4389,45 @@ }, { "constant": false, - "id": 1008, + "id": 808, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1015, - "src": "6442:19:2", + "scope": 815, + "src": "6442:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1007, + "id": 807, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6442:5:2", + "src": "6442:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "6428:34:2" + "src": "6428:34:3" }, "payable": false, "returnParameters": { - "id": 1012, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1011, + "id": 811, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1015, - "src": "6486:14:2", + "scope": 815, + "src": "6486:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4408,10 +4435,10 @@ "typeString": "int176" }, "typeName": { - "id": 1010, + "id": 810, "name": "int176", "nodeType": "ElementaryTypeName", - "src": "6486:6:2", + "src": "6486:6:3", "typeDescriptions": { "typeIdentifier": "t_int176", "typeString": "int176" @@ -4421,58 +4448,59 @@ "visibility": "internal" } ], - "src": "6485:16:2" + "src": "6485:16:3" }, - "scope": 1478, - "src": "6406:191:2", + "scope": 1278, + "src": "6406:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1025, + "id": 825, "nodeType": "Block", - "src": "6699:95:2", + "src": "6699:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1022, + "declaration": 822, "isOffset": false, "isSlot": false, - "src": "6741:7:2", + "src": "6741:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1019, + "declaration": 819, "isOffset": false, "isSlot": false, - "src": "6762:6:2", + "src": "6762:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1017, + "declaration": 817, "isOffset": false, "isSlot": false, - "src": "6770:6:2", + "src": "6770:6:3", "valueSize": 1 } } ], - "id": 1024, + "id": 824, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "6718:76:2" + "src": "6718:76:3" } ] }, - "id": 1026, + "documentation": null, + "id": 826, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4480,16 +4508,16 @@ "name": "bytesToInt184", "nodeType": "FunctionDefinition", "parameters": { - "id": 1020, + "id": 820, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1017, + "id": 817, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1026, - "src": "6626:11:2", + "scope": 826, + "src": "6626:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4497,10 +4525,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1016, + "id": 816, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6626:4:2", + "src": "6626:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4511,45 +4539,45 @@ }, { "constant": false, - "id": 1019, + "id": 819, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1026, - "src": "6639:19:2", + "scope": 826, + "src": "6639:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1018, + "id": 818, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6639:5:2", + "src": "6639:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "6625:34:2" + "src": "6625:34:3" }, "payable": false, "returnParameters": { - "id": 1023, + "id": 823, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1022, + "id": 822, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1026, - "src": "6683:14:2", + "scope": 826, + "src": "6683:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4557,10 +4585,10 @@ "typeString": "int184" }, "typeName": { - "id": 1021, + "id": 821, "name": "int184", "nodeType": "ElementaryTypeName", - "src": "6683:6:2", + "src": "6683:6:3", "typeDescriptions": { "typeIdentifier": "t_int184", "typeString": "int184" @@ -4570,58 +4598,59 @@ "visibility": "internal" } ], - "src": "6682:16:2" + "src": "6682:16:3" }, - "scope": 1478, - "src": "6603:191:2", + "scope": 1278, + "src": "6603:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1036, + "id": 836, "nodeType": "Block", - "src": "6896:95:2", + "src": "6896:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1033, + "declaration": 833, "isOffset": false, "isSlot": false, - "src": "6938:7:2", + "src": "6938:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1030, + "declaration": 830, "isOffset": false, "isSlot": false, - "src": "6959:6:2", + "src": "6959:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1028, + "declaration": 828, "isOffset": false, "isSlot": false, - "src": "6967:6:2", + "src": "6967:6:3", "valueSize": 1 } } ], - "id": 1035, + "id": 835, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "6915:76:2" + "src": "6915:76:3" } ] }, - "id": 1037, + "documentation": null, + "id": 837, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4629,16 +4658,16 @@ "name": "bytesToInt192", "nodeType": "FunctionDefinition", "parameters": { - "id": 1031, + "id": 831, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1028, + "id": 828, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1037, - "src": "6823:11:2", + "scope": 837, + "src": "6823:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4646,10 +4675,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1027, + "id": 827, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6823:4:2", + "src": "6823:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4660,45 +4689,45 @@ }, { "constant": false, - "id": 1030, + "id": 830, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1037, - "src": "6836:19:2", + "scope": 837, + "src": "6836:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1029, + "id": 829, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6836:5:2", + "src": "6836:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "6822:34:2" + "src": "6822:34:3" }, "payable": false, "returnParameters": { - "id": 1034, + "id": 834, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1033, + "id": 833, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1037, - "src": "6880:14:2", + "scope": 837, + "src": "6880:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4706,10 +4735,10 @@ "typeString": "int192" }, "typeName": { - "id": 1032, + "id": 832, "name": "int192", "nodeType": "ElementaryTypeName", - "src": "6880:6:2", + "src": "6880:6:3", "typeDescriptions": { "typeIdentifier": "t_int192", "typeString": "int192" @@ -4719,58 +4748,59 @@ "visibility": "internal" } ], - "src": "6879:16:2" + "src": "6879:16:3" }, - "scope": 1478, - "src": "6800:191:2", + "scope": 1278, + "src": "6800:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1047, + "id": 847, "nodeType": "Block", - "src": "7093:95:2", + "src": "7093:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1044, + "declaration": 844, "isOffset": false, "isSlot": false, - "src": "7135:7:2", + "src": "7135:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1041, + "declaration": 841, "isOffset": false, "isSlot": false, - "src": "7156:6:2", + "src": "7156:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1039, + "declaration": 839, "isOffset": false, "isSlot": false, - "src": "7164:6:2", + "src": "7164:6:3", "valueSize": 1 } } ], - "id": 1046, + "id": 846, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "7112:76:2" + "src": "7112:76:3" } ] }, - "id": 1048, + "documentation": null, + "id": 848, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4778,16 +4808,16 @@ "name": "bytesToInt200", "nodeType": "FunctionDefinition", "parameters": { - "id": 1042, + "id": 842, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1039, + "id": 839, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1048, - "src": "7020:11:2", + "scope": 848, + "src": "7020:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4795,10 +4825,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1038, + "id": 838, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "7020:4:2", + "src": "7020:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4809,45 +4839,45 @@ }, { "constant": false, - "id": 1041, + "id": 841, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1048, - "src": "7033:19:2", + "scope": 848, + "src": "7033:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1040, + "id": 840, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7033:5:2", + "src": "7033:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "7019:34:2" + "src": "7019:34:3" }, "payable": false, "returnParameters": { - "id": 1045, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1044, + "id": 844, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1048, - "src": "7077:14:2", + "scope": 848, + "src": "7077:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4855,10 +4885,10 @@ "typeString": "int200" }, "typeName": { - "id": 1043, + "id": 843, "name": "int200", "nodeType": "ElementaryTypeName", - "src": "7077:6:2", + "src": "7077:6:3", "typeDescriptions": { "typeIdentifier": "t_int200", "typeString": "int200" @@ -4868,58 +4898,59 @@ "visibility": "internal" } ], - "src": "7076:16:2" + "src": "7076:16:3" }, - "scope": 1478, - "src": "6997:191:2", + "scope": 1278, + "src": "6997:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1058, + "id": 858, "nodeType": "Block", - "src": "7290:95:2", + "src": "7290:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1055, + "declaration": 855, "isOffset": false, "isSlot": false, - "src": "7332:7:2", + "src": "7332:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1052, + "declaration": 852, "isOffset": false, "isSlot": false, - "src": "7353:6:2", + "src": "7353:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1050, + "declaration": 850, "isOffset": false, "isSlot": false, - "src": "7361:6:2", + "src": "7361:6:3", "valueSize": 1 } } ], - "id": 1057, + "id": 857, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "7309:76:2" + "src": "7309:76:3" } ] }, - "id": 1059, + "documentation": null, + "id": 859, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4927,16 +4958,16 @@ "name": "bytesToInt208", "nodeType": "FunctionDefinition", "parameters": { - "id": 1053, + "id": 853, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1050, + "id": 850, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1059, - "src": "7217:11:2", + "scope": 859, + "src": "7217:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4944,10 +4975,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1049, + "id": 849, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "7217:4:2", + "src": "7217:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4958,45 +4989,45 @@ }, { "constant": false, - "id": 1052, + "id": 852, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1059, - "src": "7230:19:2", + "scope": 859, + "src": "7230:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1051, + "id": 851, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7230:5:2", + "src": "7230:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "7216:34:2" + "src": "7216:34:3" }, "payable": false, "returnParameters": { - "id": 1056, + "id": 856, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1055, + "id": 855, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1059, - "src": "7274:14:2", + "scope": 859, + "src": "7274:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5004,10 +5035,10 @@ "typeString": "int208" }, "typeName": { - "id": 1054, + "id": 854, "name": "int208", "nodeType": "ElementaryTypeName", - "src": "7274:6:2", + "src": "7274:6:3", "typeDescriptions": { "typeIdentifier": "t_int208", "typeString": "int208" @@ -5017,58 +5048,59 @@ "visibility": "internal" } ], - "src": "7273:16:2" + "src": "7273:16:3" }, - "scope": 1478, - "src": "7194:191:2", + "scope": 1278, + "src": "7194:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1069, + "id": 869, "nodeType": "Block", - "src": "7487:95:2", + "src": "7487:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1066, + "declaration": 866, "isOffset": false, "isSlot": false, - "src": "7529:7:2", + "src": "7529:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1063, + "declaration": 863, "isOffset": false, "isSlot": false, - "src": "7550:6:2", + "src": "7550:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1061, + "declaration": 861, "isOffset": false, "isSlot": false, - "src": "7558:6:2", + "src": "7558:6:3", "valueSize": 1 } } ], - "id": 1068, + "id": 868, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "7506:76:2" + "src": "7506:76:3" } ] }, - "id": 1070, + "documentation": null, + "id": 870, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5076,16 +5108,16 @@ "name": "bytesToInt216", "nodeType": "FunctionDefinition", "parameters": { - "id": 1064, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1061, + "id": 861, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1070, - "src": "7414:11:2", + "scope": 870, + "src": "7414:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5093,10 +5125,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1060, + "id": 860, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "7414:4:2", + "src": "7414:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5107,45 +5139,45 @@ }, { "constant": false, - "id": 1063, + "id": 863, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1070, - "src": "7427:19:2", + "scope": 870, + "src": "7427:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1062, + "id": 862, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7427:5:2", + "src": "7427:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "7413:34:2" + "src": "7413:34:3" }, "payable": false, "returnParameters": { - "id": 1067, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1066, + "id": 866, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1070, - "src": "7471:14:2", + "scope": 870, + "src": "7471:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5153,10 +5185,10 @@ "typeString": "int216" }, "typeName": { - "id": 1065, + "id": 865, "name": "int216", "nodeType": "ElementaryTypeName", - "src": "7471:6:2", + "src": "7471:6:3", "typeDescriptions": { "typeIdentifier": "t_int216", "typeString": "int216" @@ -5166,58 +5198,59 @@ "visibility": "internal" } ], - "src": "7470:16:2" + "src": "7470:16:3" }, - "scope": 1478, - "src": "7391:191:2", + "scope": 1278, + "src": "7391:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1080, + "id": 880, "nodeType": "Block", - "src": "7684:95:2", + "src": "7684:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1077, + "declaration": 877, "isOffset": false, "isSlot": false, - "src": "7726:7:2", + "src": "7726:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1074, + "declaration": 874, "isOffset": false, "isSlot": false, - "src": "7747:6:2", + "src": "7747:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1072, + "declaration": 872, "isOffset": false, "isSlot": false, - "src": "7755:6:2", + "src": "7755:6:3", "valueSize": 1 } } ], - "id": 1079, + "id": 879, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "7703:76:2" + "src": "7703:76:3" } ] }, - "id": 1081, + "documentation": null, + "id": 881, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5225,16 +5258,16 @@ "name": "bytesToInt224", "nodeType": "FunctionDefinition", "parameters": { - "id": 1075, + "id": 875, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 872, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1081, - "src": "7611:11:2", + "scope": 881, + "src": "7611:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5242,10 +5275,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 871, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "7611:4:2", + "src": "7611:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5256,45 +5289,45 @@ }, { "constant": false, - "id": 1074, + "id": 874, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1081, - "src": "7624:19:2", + "scope": 881, + "src": "7624:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1073, + "id": 873, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7624:5:2", + "src": "7624:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "7610:34:2" + "src": "7610:34:3" }, "payable": false, "returnParameters": { - "id": 1078, + "id": 878, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1077, + "id": 877, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1081, - "src": "7668:14:2", + "scope": 881, + "src": "7668:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5302,10 +5335,10 @@ "typeString": "int224" }, "typeName": { - "id": 1076, + "id": 876, "name": "int224", "nodeType": "ElementaryTypeName", - "src": "7668:6:2", + "src": "7668:6:3", "typeDescriptions": { "typeIdentifier": "t_int224", "typeString": "int224" @@ -5315,58 +5348,59 @@ "visibility": "internal" } ], - "src": "7667:16:2" + "src": "7667:16:3" }, - "scope": 1478, - "src": "7588:191:2", + "scope": 1278, + "src": "7588:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1091, + "id": 891, "nodeType": "Block", - "src": "7881:95:2", + "src": "7881:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1088, + "declaration": 888, "isOffset": false, "isSlot": false, - "src": "7923:7:2", + "src": "7923:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1085, + "declaration": 885, "isOffset": false, "isSlot": false, - "src": "7944:6:2", + "src": "7944:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1083, + "declaration": 883, "isOffset": false, "isSlot": false, - "src": "7952:6:2", + "src": "7952:6:3", "valueSize": 1 } } ], - "id": 1090, + "id": 890, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "7900:76:2" + "src": "7900:76:3" } ] }, - "id": 1092, + "documentation": null, + "id": 892, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5374,16 +5408,16 @@ "name": "bytesToInt232", "nodeType": "FunctionDefinition", "parameters": { - "id": 1086, + "id": 886, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1083, + "id": 883, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1092, - "src": "7808:11:2", + "scope": 892, + "src": "7808:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5391,10 +5425,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1082, + "id": 882, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "7808:4:2", + "src": "7808:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5405,45 +5439,45 @@ }, { "constant": false, - "id": 1085, + "id": 885, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1092, - "src": "7821:19:2", + "scope": 892, + "src": "7821:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1084, + "id": 884, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7821:5:2", + "src": "7821:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "7807:34:2" + "src": "7807:34:3" }, "payable": false, "returnParameters": { - "id": 1089, + "id": 889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1088, + "id": 888, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1092, - "src": "7865:14:2", + "scope": 892, + "src": "7865:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5451,10 +5485,10 @@ "typeString": "int232" }, "typeName": { - "id": 1087, + "id": 887, "name": "int232", "nodeType": "ElementaryTypeName", - "src": "7865:6:2", + "src": "7865:6:3", "typeDescriptions": { "typeIdentifier": "t_int232", "typeString": "int232" @@ -5464,58 +5498,59 @@ "visibility": "internal" } ], - "src": "7864:16:2" + "src": "7864:16:3" }, - "scope": 1478, - "src": "7785:191:2", + "scope": 1278, + "src": "7785:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1102, + "id": 902, "nodeType": "Block", - "src": "8078:95:2", + "src": "8078:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1099, + "declaration": 899, "isOffset": false, "isSlot": false, - "src": "8120:7:2", + "src": "8120:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1096, + "declaration": 896, "isOffset": false, "isSlot": false, - "src": "8141:6:2", + "src": "8141:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1094, + "declaration": 894, "isOffset": false, "isSlot": false, - "src": "8149:6:2", + "src": "8149:6:3", "valueSize": 1 } } ], - "id": 1101, + "id": 901, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "8097:76:2" + "src": "8097:76:3" } ] }, - "id": 1103, + "documentation": null, + "id": 903, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5523,16 +5558,16 @@ "name": "bytesToInt240", "nodeType": "FunctionDefinition", "parameters": { - "id": 1097, + "id": 897, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1094, + "id": 894, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1103, - "src": "8005:11:2", + "scope": 903, + "src": "8005:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5540,10 +5575,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1093, + "id": 893, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8005:4:2", + "src": "8005:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5554,45 +5589,45 @@ }, { "constant": false, - "id": 1096, + "id": 896, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1103, - "src": "8018:19:2", + "scope": 903, + "src": "8018:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1095, + "id": 895, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8018:5:2", + "src": "8018:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "8004:34:2" + "src": "8004:34:3" }, "payable": false, "returnParameters": { - "id": 1100, + "id": 900, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1099, + "id": 899, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1103, - "src": "8062:14:2", + "scope": 903, + "src": "8062:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5600,10 +5635,10 @@ "typeString": "int240" }, "typeName": { - "id": 1098, + "id": 898, "name": "int240", "nodeType": "ElementaryTypeName", - "src": "8062:6:2", + "src": "8062:6:3", "typeDescriptions": { "typeIdentifier": "t_int240", "typeString": "int240" @@ -5613,58 +5648,59 @@ "visibility": "internal" } ], - "src": "8061:16:2" + "src": "8061:16:3" }, - "scope": 1478, - "src": "7982:191:2", + "scope": 1278, + "src": "7982:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1113, + "id": 913, "nodeType": "Block", - "src": "8275:95:2", + "src": "8275:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1110, + "declaration": 910, "isOffset": false, "isSlot": false, - "src": "8317:7:2", + "src": "8317:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1107, + "declaration": 907, "isOffset": false, "isSlot": false, - "src": "8338:6:2", + "src": "8338:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1105, + "declaration": 905, "isOffset": false, "isSlot": false, - "src": "8346:6:2", + "src": "8346:6:3", "valueSize": 1 } } ], - "id": 1112, + "id": 912, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "8294:76:2" + "src": "8294:76:3" } ] }, - "id": 1114, + "documentation": null, + "id": 914, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5672,16 +5708,16 @@ "name": "bytesToInt248", "nodeType": "FunctionDefinition", "parameters": { - "id": 1108, + "id": 908, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1105, + "id": 905, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1114, - "src": "8202:11:2", + "scope": 914, + "src": "8202:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5689,10 +5725,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1104, + "id": 904, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8202:4:2", + "src": "8202:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5703,45 +5739,45 @@ }, { "constant": false, - "id": 1107, + "id": 907, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1114, - "src": "8215:19:2", + "scope": 914, + "src": "8215:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1106, + "id": 906, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8215:5:2", + "src": "8215:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "8201:34:2" + "src": "8201:34:3" }, "payable": false, "returnParameters": { - "id": 1111, + "id": 911, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1110, + "id": 910, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1114, - "src": "8259:14:2", + "scope": 914, + "src": "8259:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5749,10 +5785,10 @@ "typeString": "int248" }, "typeName": { - "id": 1109, + "id": 909, "name": "int248", "nodeType": "ElementaryTypeName", - "src": "8259:6:2", + "src": "8259:6:3", "typeDescriptions": { "typeIdentifier": "t_int248", "typeString": "int248" @@ -5762,58 +5798,59 @@ "visibility": "internal" } ], - "src": "8258:16:2" + "src": "8258:16:3" }, - "scope": 1478, - "src": "8179:191:2", + "scope": 1278, + "src": "8179:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1124, + "id": 924, "nodeType": "Block", - "src": "8472:95:2", + "src": "8472:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1121, + "declaration": 921, "isOffset": false, "isSlot": false, - "src": "8514:7:2", + "src": "8514:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1118, + "declaration": 918, "isOffset": false, "isSlot": false, - "src": "8535:6:2", + "src": "8535:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1116, + "declaration": 916, "isOffset": false, "isSlot": false, - "src": "8543:6:2", + "src": "8543:6:3", "valueSize": 1 } } ], - "id": 1123, + "id": 923, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "8491:76:2" + "src": "8491:76:3" } ] }, - "id": 1125, + "documentation": null, + "id": 925, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5821,16 +5858,16 @@ "name": "bytesToInt256", "nodeType": "FunctionDefinition", "parameters": { - "id": 1119, + "id": 919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1116, + "id": 916, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1125, - "src": "8399:11:2", + "scope": 925, + "src": "8399:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5838,10 +5875,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1115, + "id": 915, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8399:4:2", + "src": "8399:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5852,45 +5889,45 @@ }, { "constant": false, - "id": 1118, + "id": 918, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1125, - "src": "8412:19:2", + "scope": 925, + "src": "8412:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1117, + "id": 917, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8412:5:2", + "src": "8412:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "8398:34:2" + "src": "8398:34:3" }, "payable": false, "returnParameters": { - "id": 1122, + "id": 922, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1121, + "id": 921, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1125, - "src": "8456:14:2", + "scope": 925, + "src": "8456:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5898,10 +5935,10 @@ "typeString": "int256" }, "typeName": { - "id": 1120, + "id": 920, "name": "int256", "nodeType": "ElementaryTypeName", - "src": "8456:6:2", + "src": "8456:6:3", "typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" @@ -5911,58 +5948,59 @@ "visibility": "internal" } ], - "src": "8455:16:2" + "src": "8455:16:3" }, - "scope": 1478, - "src": "8376:191:2", + "scope": 1278, + "src": "8376:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1135, + "id": 935, "nodeType": "Block", - "src": "8664:95:2", + "src": "8664:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1132, + "declaration": 932, "isOffset": false, "isSlot": false, - "src": "8706:7:2", + "src": "8706:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1129, + "declaration": 929, "isOffset": false, "isSlot": false, - "src": "8727:6:2", + "src": "8727:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1127, + "declaration": 927, "isOffset": false, "isSlot": false, - "src": "8735:6:2", + "src": "8735:6:3", "valueSize": 1 } } ], - "id": 1134, + "id": 934, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "8683:76:2" + "src": "8683:76:3" } ] }, - "id": 1136, + "documentation": null, + "id": 936, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5970,16 +6008,16 @@ "name": "bytesToUint8", "nodeType": "FunctionDefinition", "parameters": { - "id": 1130, + "id": 930, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1127, + "id": 927, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1136, - "src": "8592:11:2", + "scope": 936, + "src": "8592:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5987,10 +6025,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1126, + "id": 926, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8592:4:2", + "src": "8592:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6001,45 +6039,45 @@ }, { "constant": false, - "id": 1129, + "id": 929, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1136, - "src": "8605:19:2", + "scope": 936, + "src": "8605:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1128, + "id": 928, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8605:5:2", + "src": "8605:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "8591:34:2" + "src": "8591:34:3" }, "payable": false, "returnParameters": { - "id": 1133, + "id": 933, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1132, + "id": 932, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1136, - "src": "8649:13:2", + "scope": 936, + "src": "8649:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6047,10 +6085,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1131, + "id": 931, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "8649:5:2", + "src": "8649:5:3", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -6060,58 +6098,59 @@ "visibility": "internal" } ], - "src": "8648:15:2" + "src": "8648:15:3" }, - "scope": 1478, - "src": "8570:189:2", + "scope": 1278, + "src": "8570:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1146, + "id": 946, "nodeType": "Block", - "src": "8859:95:2", + "src": "8859:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1143, + "declaration": 943, "isOffset": false, "isSlot": false, - "src": "8901:7:2", + "src": "8901:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1140, + "declaration": 940, "isOffset": false, "isSlot": false, - "src": "8922:6:2", + "src": "8922:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1138, + "declaration": 938, "isOffset": false, "isSlot": false, - "src": "8930:6:2", + "src": "8930:6:3", "valueSize": 1 } } ], - "id": 1145, + "id": 945, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "8878:76:2" + "src": "8878:76:3" } ] }, - "id": 1147, + "documentation": null, + "id": 947, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -6119,16 +6158,16 @@ "name": "bytesToUint16", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1138, + "id": 938, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1147, - "src": "8786:11:2", + "scope": 947, + "src": "8786:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6136,10 +6175,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1137, + "id": 937, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8786:4:2", + "src": "8786:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6150,45 +6189,45 @@ }, { "constant": false, - "id": 1140, + "id": 940, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1147, - "src": "8799:19:2", + "scope": 947, + "src": "8799:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1139, + "id": 939, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8799:5:2", + "src": "8799:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "8785:34:2" + "src": "8785:34:3" }, "payable": false, "returnParameters": { - "id": 1144, + "id": 944, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 943, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1147, - "src": "8843:14:2", + "scope": 947, + "src": "8843:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6196,10 +6235,10 @@ "typeString": "uint16" }, "typeName": { - "id": 1142, + "id": 942, "name": "uint16", "nodeType": "ElementaryTypeName", - "src": "8843:6:2", + "src": "8843:6:3", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -6209,58 +6248,59 @@ "visibility": "internal" } ], - "src": "8842:16:2" + "src": "8842:16:3" }, - "scope": 1478, - "src": "8763:191:2", + "scope": 1278, + "src": "8763:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1157, + "id": 957, "nodeType": "Block", - "src": "9054:95:2", + "src": "9054:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1154, + "declaration": 954, "isOffset": false, "isSlot": false, - "src": "9096:7:2", + "src": "9096:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1151, + "declaration": 951, "isOffset": false, "isSlot": false, - "src": "9117:6:2", + "src": "9117:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1149, + "declaration": 949, "isOffset": false, "isSlot": false, - "src": "9125:6:2", + "src": "9125:6:3", "valueSize": 1 } } ], - "id": 1156, + "id": 956, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "9073:76:2" + "src": "9073:76:3" } ] }, - "id": 1158, + "documentation": null, + "id": 958, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -6268,16 +6308,16 @@ "name": "bytesToUint24", "nodeType": "FunctionDefinition", "parameters": { - "id": 1152, + "id": 952, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1149, + "id": 949, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1158, - "src": "8981:11:2", + "scope": 958, + "src": "8981:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6285,10 +6325,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1148, + "id": 948, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8981:4:2", + "src": "8981:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6299,45 +6339,45 @@ }, { "constant": false, - "id": 1151, + "id": 951, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1158, - "src": "8994:19:2", + "scope": 958, + "src": "8994:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1150, + "id": 950, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8994:5:2", + "src": "8994:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "8980:34:2" + "src": "8980:34:3" }, "payable": false, "returnParameters": { - "id": 1155, + "id": 955, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1154, + "id": 954, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1158, - "src": "9038:14:2", + "scope": 958, + "src": "9038:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6345,10 +6385,10 @@ "typeString": "uint24" }, "typeName": { - "id": 1153, + "id": 953, "name": "uint24", "nodeType": "ElementaryTypeName", - "src": "9038:6:2", + "src": "9038:6:3", "typeDescriptions": { "typeIdentifier": "t_uint24", "typeString": "uint24" @@ -6358,58 +6398,59 @@ "visibility": "internal" } ], - "src": "9037:16:2" + "src": "9037:16:3" }, - "scope": 1478, - "src": "8958:191:2", + "scope": 1278, + "src": "8958:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1168, + "id": 968, "nodeType": "Block", - "src": "9249:95:2", + "src": "9249:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1165, + "declaration": 965, "isOffset": false, "isSlot": false, - "src": "9291:7:2", + "src": "9291:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1162, + "declaration": 962, "isOffset": false, "isSlot": false, - "src": "9312:6:2", + "src": "9312:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1160, + "declaration": 960, "isOffset": false, "isSlot": false, - "src": "9320:6:2", + "src": "9320:6:3", "valueSize": 1 } } ], - "id": 1167, + "id": 967, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "9268:76:2" + "src": "9268:76:3" } ] }, - "id": 1169, + "documentation": null, + "id": 969, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -6417,16 +6458,16 @@ "name": "bytesToUint32", "nodeType": "FunctionDefinition", "parameters": { - "id": 1163, + "id": 963, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1160, + "id": 960, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1169, - "src": "9176:11:2", + "scope": 969, + "src": "9176:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6434,10 +6475,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1159, + "id": 959, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "9176:4:2", + "src": "9176:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6448,45 +6489,45 @@ }, { "constant": false, - "id": 1162, + "id": 962, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1169, - "src": "9189:19:2", + "scope": 969, + "src": "9189:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1161, + "id": 961, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "9189:5:2", + "src": "9189:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "9175:34:2" + "src": "9175:34:3" }, "payable": false, "returnParameters": { - "id": 1166, + "id": 966, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1165, + "id": 965, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1169, - "src": "9233:14:2", + "scope": 969, + "src": "9233:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6494,10 +6535,10 @@ "typeString": "uint32" }, "typeName": { - "id": 1164, + "id": 964, "name": "uint32", "nodeType": "ElementaryTypeName", - "src": "9233:6:2", + "src": "9233:6:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -6507,58 +6548,59 @@ "visibility": "internal" } ], - "src": "9232:16:2" + "src": "9232:16:3" }, - "scope": 1478, - "src": "9153:191:2", + "scope": 1278, + "src": "9153:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1179, + "id": 979, "nodeType": "Block", - "src": "9444:95:2", + "src": "9444:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1176, + "declaration": 976, "isOffset": false, "isSlot": false, - "src": "9486:7:2", + "src": "9486:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1173, + "declaration": 973, "isOffset": false, "isSlot": false, - "src": "9507:6:2", + "src": "9507:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1171, + "declaration": 971, "isOffset": false, "isSlot": false, - "src": "9515:6:2", + "src": "9515:6:3", "valueSize": 1 } } ], - "id": 1178, + "id": 978, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "9463:76:2" + "src": "9463:76:3" } ] }, - "id": 1180, + "documentation": null, + "id": 980, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -6566,16 +6608,16 @@ "name": "bytesToUint40", "nodeType": "FunctionDefinition", "parameters": { - "id": 1174, + "id": 974, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1171, + "id": 971, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1180, - "src": "9371:11:2", + "scope": 980, + "src": "9371:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6583,10 +6625,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1170, + "id": 970, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "9371:4:2", + "src": "9371:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6597,45 +6639,45 @@ }, { "constant": false, - "id": 1173, + "id": 973, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1180, - "src": "9384:19:2", + "scope": 980, + "src": "9384:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1172, + "id": 972, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "9384:5:2", + "src": "9384:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "9370:34:2" + "src": "9370:34:3" }, "payable": false, "returnParameters": { - "id": 1177, + "id": 977, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1176, + "id": 976, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1180, - "src": "9428:14:2", + "scope": 980, + "src": "9428:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6643,10 +6685,10 @@ "typeString": "uint40" }, "typeName": { - "id": 1175, + "id": 975, "name": "uint40", "nodeType": "ElementaryTypeName", - "src": "9428:6:2", + "src": "9428:6:3", "typeDescriptions": { "typeIdentifier": "t_uint40", "typeString": "uint40" @@ -6656,58 +6698,59 @@ "visibility": "internal" } ], - "src": "9427:16:2" + "src": "9427:16:3" }, - "scope": 1478, - "src": "9348:191:2", + "scope": 1278, + "src": "9348:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1190, + "id": 990, "nodeType": "Block", - "src": "9639:95:2", + "src": "9639:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1187, + "declaration": 987, "isOffset": false, "isSlot": false, - "src": "9681:7:2", + "src": "9681:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1184, + "declaration": 984, "isOffset": false, "isSlot": false, - "src": "9702:6:2", + "src": "9702:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1182, + "declaration": 982, "isOffset": false, "isSlot": false, - "src": "9710:6:2", + "src": "9710:6:3", "valueSize": 1 } } ], - "id": 1189, + "id": 989, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "9658:76:2" + "src": "9658:76:3" } ] }, - "id": 1191, + "documentation": null, + "id": 991, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -6715,16 +6758,16 @@ "name": "bytesToUint48", "nodeType": "FunctionDefinition", "parameters": { - "id": 1185, + "id": 985, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1182, + "id": 982, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1191, - "src": "9566:11:2", + "scope": 991, + "src": "9566:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6732,10 +6775,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1181, + "id": 981, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "9566:4:2", + "src": "9566:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6746,45 +6789,45 @@ }, { "constant": false, - "id": 1184, + "id": 984, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1191, - "src": "9579:19:2", + "scope": 991, + "src": "9579:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1183, + "id": 983, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "9579:5:2", + "src": "9579:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "9565:34:2" + "src": "9565:34:3" }, "payable": false, "returnParameters": { - "id": 1188, + "id": 988, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1187, + "id": 987, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1191, - "src": "9623:14:2", + "scope": 991, + "src": "9623:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6792,10 +6835,10 @@ "typeString": "uint48" }, "typeName": { - "id": 1186, + "id": 986, "name": "uint48", "nodeType": "ElementaryTypeName", - "src": "9623:6:2", + "src": "9623:6:3", "typeDescriptions": { "typeIdentifier": "t_uint48", "typeString": "uint48" @@ -6805,58 +6848,59 @@ "visibility": "internal" } ], - "src": "9622:16:2" + "src": "9622:16:3" }, - "scope": 1478, - "src": "9543:191:2", + "scope": 1278, + "src": "9543:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1201, + "id": 1001, "nodeType": "Block", - "src": "9834:95:2", + "src": "9834:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1198, + "declaration": 998, "isOffset": false, "isSlot": false, - "src": "9876:7:2", + "src": "9876:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1195, + "declaration": 995, "isOffset": false, "isSlot": false, - "src": "9897:6:2", + "src": "9897:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1193, + "declaration": 993, "isOffset": false, "isSlot": false, - "src": "9905:6:2", + "src": "9905:6:3", "valueSize": 1 } } ], - "id": 1200, + "id": 1000, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "9853:76:2" + "src": "9853:76:3" } ] }, - "id": 1202, + "documentation": null, + "id": 1002, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -6864,16 +6908,16 @@ "name": "bytesToUint56", "nodeType": "FunctionDefinition", "parameters": { - "id": 1196, + "id": 996, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1193, + "id": 993, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1202, - "src": "9761:11:2", + "scope": 1002, + "src": "9761:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6881,10 +6925,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1192, + "id": 992, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "9761:4:2", + "src": "9761:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6895,45 +6939,45 @@ }, { "constant": false, - "id": 1195, + "id": 995, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1202, - "src": "9774:19:2", + "scope": 1002, + "src": "9774:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1194, + "id": 994, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "9774:5:2", + "src": "9774:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "9760:34:2" + "src": "9760:34:3" }, "payable": false, "returnParameters": { - "id": 1199, + "id": 999, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1198, + "id": 998, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1202, - "src": "9818:14:2", + "scope": 1002, + "src": "9818:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6941,10 +6985,10 @@ "typeString": "uint56" }, "typeName": { - "id": 1197, + "id": 997, "name": "uint56", "nodeType": "ElementaryTypeName", - "src": "9818:6:2", + "src": "9818:6:3", "typeDescriptions": { "typeIdentifier": "t_uint56", "typeString": "uint56" @@ -6954,58 +6998,59 @@ "visibility": "internal" } ], - "src": "9817:16:2" + "src": "9817:16:3" }, - "scope": 1478, - "src": "9738:191:2", + "scope": 1278, + "src": "9738:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1212, + "id": 1012, "nodeType": "Block", - "src": "10029:95:2", + "src": "10029:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1209, + "declaration": 1009, "isOffset": false, "isSlot": false, - "src": "10071:7:2", + "src": "10071:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1206, + "declaration": 1006, "isOffset": false, "isSlot": false, - "src": "10092:6:2", + "src": "10092:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1204, + "declaration": 1004, "isOffset": false, "isSlot": false, - "src": "10100:6:2", + "src": "10100:6:3", "valueSize": 1 } } ], - "id": 1211, + "id": 1011, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "10048:76:2" + "src": "10048:76:3" } ] }, - "id": 1213, + "documentation": null, + "id": 1013, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -7013,16 +7058,16 @@ "name": "bytesToUint64", "nodeType": "FunctionDefinition", "parameters": { - "id": 1207, + "id": 1007, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1204, + "id": 1004, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1213, - "src": "9956:11:2", + "scope": 1013, + "src": "9956:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7030,10 +7075,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1203, + "id": 1003, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "9956:4:2", + "src": "9956:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7044,45 +7089,45 @@ }, { "constant": false, - "id": 1206, + "id": 1006, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1213, - "src": "9969:19:2", + "scope": 1013, + "src": "9969:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1205, + "id": 1005, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "9969:5:2", + "src": "9969:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "9955:34:2" + "src": "9955:34:3" }, "payable": false, "returnParameters": { - "id": 1210, + "id": 1010, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1209, + "id": 1009, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1213, - "src": "10013:14:2", + "scope": 1013, + "src": "10013:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7090,10 +7135,10 @@ "typeString": "uint64" }, "typeName": { - "id": 1208, + "id": 1008, "name": "uint64", "nodeType": "ElementaryTypeName", - "src": "10013:6:2", + "src": "10013:6:3", "typeDescriptions": { "typeIdentifier": "t_uint64", "typeString": "uint64" @@ -7103,58 +7148,59 @@ "visibility": "internal" } ], - "src": "10012:16:2" + "src": "10012:16:3" }, - "scope": 1478, - "src": "9933:191:2", + "scope": 1278, + "src": "9933:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1223, + "id": 1023, "nodeType": "Block", - "src": "10224:95:2", + "src": "10224:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1220, + "declaration": 1020, "isOffset": false, "isSlot": false, - "src": "10266:7:2", + "src": "10266:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1217, + "declaration": 1017, "isOffset": false, "isSlot": false, - "src": "10287:6:2", + "src": "10287:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1215, + "declaration": 1015, "isOffset": false, "isSlot": false, - "src": "10295:6:2", + "src": "10295:6:3", "valueSize": 1 } } ], - "id": 1222, + "id": 1022, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "10243:76:2" + "src": "10243:76:3" } ] }, - "id": 1224, + "documentation": null, + "id": 1024, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -7162,16 +7208,16 @@ "name": "bytesToUint72", "nodeType": "FunctionDefinition", "parameters": { - "id": 1218, + "id": 1018, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 1015, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1224, - "src": "10151:11:2", + "scope": 1024, + "src": "10151:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7179,10 +7225,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1214, + "id": 1014, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "10151:4:2", + "src": "10151:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7193,45 +7239,45 @@ }, { "constant": false, - "id": 1217, + "id": 1017, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1224, - "src": "10164:19:2", + "scope": 1024, + "src": "10164:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1216, + "id": 1016, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "10164:5:2", + "src": "10164:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "10150:34:2" + "src": "10150:34:3" }, "payable": false, "returnParameters": { - "id": 1221, + "id": 1021, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1220, + "id": 1020, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1224, - "src": "10208:14:2", + "scope": 1024, + "src": "10208:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7239,10 +7285,10 @@ "typeString": "uint72" }, "typeName": { - "id": 1219, + "id": 1019, "name": "uint72", "nodeType": "ElementaryTypeName", - "src": "10208:6:2", + "src": "10208:6:3", "typeDescriptions": { "typeIdentifier": "t_uint72", "typeString": "uint72" @@ -7252,58 +7298,59 @@ "visibility": "internal" } ], - "src": "10207:16:2" + "src": "10207:16:3" }, - "scope": 1478, - "src": "10128:191:2", + "scope": 1278, + "src": "10128:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1234, + "id": 1034, "nodeType": "Block", - "src": "10419:95:2", + "src": "10419:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1231, + "declaration": 1031, "isOffset": false, "isSlot": false, - "src": "10461:7:2", + "src": "10461:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1228, + "declaration": 1028, "isOffset": false, "isSlot": false, - "src": "10482:6:2", + "src": "10482:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1226, + "declaration": 1026, "isOffset": false, "isSlot": false, - "src": "10490:6:2", + "src": "10490:6:3", "valueSize": 1 } } ], - "id": 1233, + "id": 1033, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "10438:76:2" + "src": "10438:76:3" } ] }, - "id": 1235, + "documentation": null, + "id": 1035, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -7311,16 +7358,16 @@ "name": "bytesToUint80", "nodeType": "FunctionDefinition", "parameters": { - "id": 1229, + "id": 1029, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1226, + "id": 1026, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1235, - "src": "10346:11:2", + "scope": 1035, + "src": "10346:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7328,10 +7375,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1225, + "id": 1025, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "10346:4:2", + "src": "10346:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7342,45 +7389,45 @@ }, { "constant": false, - "id": 1228, + "id": 1028, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1235, - "src": "10359:19:2", + "scope": 1035, + "src": "10359:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1227, + "id": 1027, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "10359:5:2", + "src": "10359:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "10345:34:2" + "src": "10345:34:3" }, "payable": false, "returnParameters": { - "id": 1232, + "id": 1032, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1231, + "id": 1031, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1235, - "src": "10403:14:2", + "scope": 1035, + "src": "10403:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7388,10 +7435,10 @@ "typeString": "uint80" }, "typeName": { - "id": 1230, + "id": 1030, "name": "uint80", "nodeType": "ElementaryTypeName", - "src": "10403:6:2", + "src": "10403:6:3", "typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" @@ -7401,58 +7448,59 @@ "visibility": "internal" } ], - "src": "10402:16:2" + "src": "10402:16:3" }, - "scope": 1478, - "src": "10323:191:2", + "scope": 1278, + "src": "10323:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1245, + "id": 1045, "nodeType": "Block", - "src": "10614:95:2", + "src": "10614:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1242, + "declaration": 1042, "isOffset": false, "isSlot": false, - "src": "10656:7:2", + "src": "10656:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1239, + "declaration": 1039, "isOffset": false, "isSlot": false, - "src": "10677:6:2", + "src": "10677:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1237, + "declaration": 1037, "isOffset": false, "isSlot": false, - "src": "10685:6:2", + "src": "10685:6:3", "valueSize": 1 } } ], - "id": 1244, + "id": 1044, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "10633:76:2" + "src": "10633:76:3" } ] }, - "id": 1246, + "documentation": null, + "id": 1046, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -7460,16 +7508,16 @@ "name": "bytesToUint88", "nodeType": "FunctionDefinition", "parameters": { - "id": 1240, + "id": 1040, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1237, + "id": 1037, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1246, - "src": "10541:11:2", + "scope": 1046, + "src": "10541:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7477,10 +7525,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1236, + "id": 1036, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "10541:4:2", + "src": "10541:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7491,45 +7539,45 @@ }, { "constant": false, - "id": 1239, + "id": 1039, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1246, - "src": "10554:19:2", + "scope": 1046, + "src": "10554:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1238, + "id": 1038, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "10554:5:2", + "src": "10554:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "10540:34:2" + "src": "10540:34:3" }, "payable": false, "returnParameters": { - "id": 1243, + "id": 1043, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1242, + "id": 1042, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1246, - "src": "10598:14:2", + "scope": 1046, + "src": "10598:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7537,10 +7585,10 @@ "typeString": "uint88" }, "typeName": { - "id": 1241, + "id": 1041, "name": "uint88", "nodeType": "ElementaryTypeName", - "src": "10598:6:2", + "src": "10598:6:3", "typeDescriptions": { "typeIdentifier": "t_uint88", "typeString": "uint88" @@ -7550,58 +7598,59 @@ "visibility": "internal" } ], - "src": "10597:16:2" + "src": "10597:16:3" }, - "scope": 1478, - "src": "10518:191:2", + "scope": 1278, + "src": "10518:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1256, + "id": 1056, "nodeType": "Block", - "src": "10809:95:2", + "src": "10809:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1253, + "declaration": 1053, "isOffset": false, "isSlot": false, - "src": "10851:7:2", + "src": "10851:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1250, + "declaration": 1050, "isOffset": false, "isSlot": false, - "src": "10872:6:2", + "src": "10872:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1248, + "declaration": 1048, "isOffset": false, "isSlot": false, - "src": "10880:6:2", + "src": "10880:6:3", "valueSize": 1 } } ], - "id": 1255, + "id": 1055, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "10828:76:2" + "src": "10828:76:3" } ] }, - "id": 1257, + "documentation": null, + "id": 1057, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -7609,16 +7658,16 @@ "name": "bytesToUint96", "nodeType": "FunctionDefinition", "parameters": { - "id": 1251, + "id": 1051, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 1048, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1257, - "src": "10736:11:2", + "scope": 1057, + "src": "10736:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7626,10 +7675,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1247, + "id": 1047, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "10736:4:2", + "src": "10736:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7640,45 +7689,45 @@ }, { "constant": false, - "id": 1250, + "id": 1050, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1257, - "src": "10749:19:2", + "scope": 1057, + "src": "10749:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 1049, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "10749:5:2", + "src": "10749:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "10735:34:2" + "src": "10735:34:3" }, "payable": false, "returnParameters": { - "id": 1254, + "id": 1054, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1253, + "id": 1053, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1257, - "src": "10793:14:2", + "scope": 1057, + "src": "10793:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7686,10 +7735,10 @@ "typeString": "uint96" }, "typeName": { - "id": 1252, + "id": 1052, "name": "uint96", "nodeType": "ElementaryTypeName", - "src": "10793:6:2", + "src": "10793:6:3", "typeDescriptions": { "typeIdentifier": "t_uint96", "typeString": "uint96" @@ -7699,58 +7748,59 @@ "visibility": "internal" } ], - "src": "10792:16:2" + "src": "10792:16:3" }, - "scope": 1478, - "src": "10713:191:2", + "scope": 1278, + "src": "10713:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1267, + "id": 1067, "nodeType": "Block", - "src": "11007:95:2", + "src": "11007:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1264, + "declaration": 1064, "isOffset": false, "isSlot": false, - "src": "11049:7:2", + "src": "11049:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1261, + "declaration": 1061, "isOffset": false, "isSlot": false, - "src": "11070:6:2", + "src": "11070:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1259, + "declaration": 1059, "isOffset": false, "isSlot": false, - "src": "11078:6:2", + "src": "11078:6:3", "valueSize": 1 } } ], - "id": 1266, + "id": 1066, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "11026:76:2" + "src": "11026:76:3" } ] }, - "id": 1268, + "documentation": null, + "id": 1068, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -7758,16 +7808,16 @@ "name": "bytesToUint104", "nodeType": "FunctionDefinition", "parameters": { - "id": 1262, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1259, + "id": 1059, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1268, - "src": "10933:11:2", + "scope": 1068, + "src": "10933:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7775,10 +7825,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1258, + "id": 1058, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "10933:4:2", + "src": "10933:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7789,45 +7839,45 @@ }, { "constant": false, - "id": 1261, + "id": 1061, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1268, - "src": "10946:19:2", + "scope": 1068, + "src": "10946:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1260, + "id": 1060, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "10946:5:2", + "src": "10946:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "10932:34:2" + "src": "10932:34:3" }, "payable": false, "returnParameters": { - "id": 1265, + "id": 1065, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1264, + "id": 1064, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1268, - "src": "10990:15:2", + "scope": 1068, + "src": "10990:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7835,10 +7885,10 @@ "typeString": "uint104" }, "typeName": { - "id": 1263, + "id": 1063, "name": "uint104", "nodeType": "ElementaryTypeName", - "src": "10990:7:2", + "src": "10990:7:3", "typeDescriptions": { "typeIdentifier": "t_uint104", "typeString": "uint104" @@ -7848,58 +7898,59 @@ "visibility": "internal" } ], - "src": "10989:17:2" + "src": "10989:17:3" }, - "scope": 1478, - "src": "10909:193:2", + "scope": 1278, + "src": "10909:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1278, + "id": 1078, "nodeType": "Block", - "src": "11207:95:2", + "src": "11207:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1275, + "declaration": 1075, "isOffset": false, "isSlot": false, - "src": "11249:7:2", + "src": "11249:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1272, + "declaration": 1072, "isOffset": false, "isSlot": false, - "src": "11270:6:2", + "src": "11270:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1270, + "declaration": 1070, "isOffset": false, "isSlot": false, - "src": "11278:6:2", + "src": "11278:6:3", "valueSize": 1 } } ], - "id": 1277, + "id": 1077, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "11226:76:2" + "src": "11226:76:3" } ] }, - "id": 1279, + "documentation": null, + "id": 1079, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -7907,16 +7958,16 @@ "name": "bytesToUint112", "nodeType": "FunctionDefinition", "parameters": { - "id": 1273, + "id": 1073, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1270, + "id": 1070, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1279, - "src": "11133:11:2", + "scope": 1079, + "src": "11133:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7924,10 +7975,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1269, + "id": 1069, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "11133:4:2", + "src": "11133:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7938,45 +7989,45 @@ }, { "constant": false, - "id": 1272, + "id": 1072, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1279, - "src": "11146:19:2", + "scope": 1079, + "src": "11146:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1271, + "id": 1071, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "11146:5:2", + "src": "11146:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "11132:34:2" + "src": "11132:34:3" }, "payable": false, "returnParameters": { - "id": 1276, + "id": 1076, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1275, + "id": 1075, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1279, - "src": "11190:15:2", + "scope": 1079, + "src": "11190:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7984,10 +8035,10 @@ "typeString": "uint112" }, "typeName": { - "id": 1274, + "id": 1074, "name": "uint112", "nodeType": "ElementaryTypeName", - "src": "11190:7:2", + "src": "11190:7:3", "typeDescriptions": { "typeIdentifier": "t_uint112", "typeString": "uint112" @@ -7997,58 +8048,59 @@ "visibility": "internal" } ], - "src": "11189:17:2" + "src": "11189:17:3" }, - "scope": 1478, - "src": "11109:193:2", + "scope": 1278, + "src": "11109:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1289, + "id": 1089, "nodeType": "Block", - "src": "11407:95:2", + "src": "11407:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1286, + "declaration": 1086, "isOffset": false, "isSlot": false, - "src": "11449:7:2", + "src": "11449:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1283, + "declaration": 1083, "isOffset": false, "isSlot": false, - "src": "11470:6:2", + "src": "11470:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1281, + "declaration": 1081, "isOffset": false, "isSlot": false, - "src": "11478:6:2", + "src": "11478:6:3", "valueSize": 1 } } ], - "id": 1288, + "id": 1088, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "11426:76:2" + "src": "11426:76:3" } ] }, - "id": 1290, + "documentation": null, + "id": 1090, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -8056,16 +8108,16 @@ "name": "bytesToUint120", "nodeType": "FunctionDefinition", "parameters": { - "id": 1284, + "id": 1084, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1281, + "id": 1081, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1290, - "src": "11333:11:2", + "scope": 1090, + "src": "11333:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8073,10 +8125,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1280, + "id": 1080, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "11333:4:2", + "src": "11333:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8087,45 +8139,45 @@ }, { "constant": false, - "id": 1283, + "id": 1083, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1290, - "src": "11346:19:2", + "scope": 1090, + "src": "11346:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1282, + "id": 1082, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "11346:5:2", + "src": "11346:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "11332:34:2" + "src": "11332:34:3" }, "payable": false, "returnParameters": { - "id": 1287, + "id": 1087, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1286, + "id": 1086, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1290, - "src": "11390:15:2", + "scope": 1090, + "src": "11390:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8133,10 +8185,10 @@ "typeString": "uint120" }, "typeName": { - "id": 1285, + "id": 1085, "name": "uint120", "nodeType": "ElementaryTypeName", - "src": "11390:7:2", + "src": "11390:7:3", "typeDescriptions": { "typeIdentifier": "t_uint120", "typeString": "uint120" @@ -8146,58 +8198,59 @@ "visibility": "internal" } ], - "src": "11389:17:2" + "src": "11389:17:3" }, - "scope": 1478, - "src": "11309:193:2", + "scope": 1278, + "src": "11309:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1300, + "id": 1100, "nodeType": "Block", - "src": "11607:95:2", + "src": "11607:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1297, + "declaration": 1097, "isOffset": false, "isSlot": false, - "src": "11649:7:2", + "src": "11649:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1294, + "declaration": 1094, "isOffset": false, "isSlot": false, - "src": "11670:6:2", + "src": "11670:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1292, + "declaration": 1092, "isOffset": false, "isSlot": false, - "src": "11678:6:2", + "src": "11678:6:3", "valueSize": 1 } } ], - "id": 1299, + "id": 1099, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "11626:76:2" + "src": "11626:76:3" } ] }, - "id": 1301, + "documentation": null, + "id": 1101, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -8205,16 +8258,16 @@ "name": "bytesToUint128", "nodeType": "FunctionDefinition", "parameters": { - "id": 1295, + "id": 1095, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1292, + "id": 1092, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1301, - "src": "11533:11:2", + "scope": 1101, + "src": "11533:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8222,10 +8275,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1291, + "id": 1091, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "11533:4:2", + "src": "11533:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8236,45 +8289,45 @@ }, { "constant": false, - "id": 1294, + "id": 1094, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1301, - "src": "11546:19:2", + "scope": 1101, + "src": "11546:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1293, + "id": 1093, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "11546:5:2", + "src": "11546:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "11532:34:2" + "src": "11532:34:3" }, "payable": false, "returnParameters": { - "id": 1298, + "id": 1098, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1297, + "id": 1097, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1301, - "src": "11590:15:2", + "scope": 1101, + "src": "11590:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8282,10 +8335,10 @@ "typeString": "uint128" }, "typeName": { - "id": 1296, + "id": 1096, "name": "uint128", "nodeType": "ElementaryTypeName", - "src": "11590:7:2", + "src": "11590:7:3", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" @@ -8295,58 +8348,59 @@ "visibility": "internal" } ], - "src": "11589:17:2" + "src": "11589:17:3" }, - "scope": 1478, - "src": "11509:193:2", + "scope": 1278, + "src": "11509:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 1111, "nodeType": "Block", - "src": "11807:95:2", + "src": "11807:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1308, + "declaration": 1108, "isOffset": false, "isSlot": false, - "src": "11849:7:2", + "src": "11849:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1305, + "declaration": 1105, "isOffset": false, "isSlot": false, - "src": "11870:6:2", + "src": "11870:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1303, + "declaration": 1103, "isOffset": false, "isSlot": false, - "src": "11878:6:2", + "src": "11878:6:3", "valueSize": 1 } } ], - "id": 1310, + "id": 1110, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "11826:76:2" + "src": "11826:76:3" } ] }, - "id": 1312, + "documentation": null, + "id": 1112, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -8354,16 +8408,16 @@ "name": "bytesToUint136", "nodeType": "FunctionDefinition", "parameters": { - "id": 1306, + "id": 1106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 1103, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "11733:11:2", + "scope": 1112, + "src": "11733:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8371,10 +8425,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1302, + "id": 1102, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "11733:4:2", + "src": "11733:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8385,45 +8439,45 @@ }, { "constant": false, - "id": 1305, + "id": 1105, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "11746:19:2", + "scope": 1112, + "src": "11746:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1304, + "id": 1104, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "11746:5:2", + "src": "11746:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "11732:34:2" + "src": "11732:34:3" }, "payable": false, "returnParameters": { - "id": 1309, + "id": 1109, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1308, + "id": 1108, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "11790:15:2", + "scope": 1112, + "src": "11790:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8431,10 +8485,10 @@ "typeString": "uint136" }, "typeName": { - "id": 1307, + "id": 1107, "name": "uint136", "nodeType": "ElementaryTypeName", - "src": "11790:7:2", + "src": "11790:7:3", "typeDescriptions": { "typeIdentifier": "t_uint136", "typeString": "uint136" @@ -8444,58 +8498,59 @@ "visibility": "internal" } ], - "src": "11789:17:2" + "src": "11789:17:3" }, - "scope": 1478, - "src": "11709:193:2", + "scope": 1278, + "src": "11709:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1322, + "id": 1122, "nodeType": "Block", - "src": "12007:95:2", + "src": "12007:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1319, + "declaration": 1119, "isOffset": false, "isSlot": false, - "src": "12049:7:2", + "src": "12049:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1316, + "declaration": 1116, "isOffset": false, "isSlot": false, - "src": "12070:6:2", + "src": "12070:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1314, + "declaration": 1114, "isOffset": false, "isSlot": false, - "src": "12078:6:2", + "src": "12078:6:3", "valueSize": 1 } } ], - "id": 1321, + "id": 1121, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "12026:76:2" + "src": "12026:76:3" } ] }, - "id": 1323, + "documentation": null, + "id": 1123, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -8503,16 +8558,16 @@ "name": "bytesToUint144", "nodeType": "FunctionDefinition", "parameters": { - "id": 1317, + "id": 1117, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1314, + "id": 1114, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1323, - "src": "11933:11:2", + "scope": 1123, + "src": "11933:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8520,10 +8575,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1313, + "id": 1113, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "11933:4:2", + "src": "11933:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8534,45 +8589,45 @@ }, { "constant": false, - "id": 1316, + "id": 1116, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1323, - "src": "11946:19:2", + "scope": 1123, + "src": "11946:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1315, + "id": 1115, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "11946:5:2", + "src": "11946:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "11932:34:2" + "src": "11932:34:3" }, "payable": false, "returnParameters": { - "id": 1320, + "id": 1120, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1319, + "id": 1119, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1323, - "src": "11990:15:2", + "scope": 1123, + "src": "11990:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8580,10 +8635,10 @@ "typeString": "uint144" }, "typeName": { - "id": 1318, + "id": 1118, "name": "uint144", "nodeType": "ElementaryTypeName", - "src": "11990:7:2", + "src": "11990:7:3", "typeDescriptions": { "typeIdentifier": "t_uint144", "typeString": "uint144" @@ -8593,58 +8648,59 @@ "visibility": "internal" } ], - "src": "11989:17:2" + "src": "11989:17:3" }, - "scope": 1478, - "src": "11909:193:2", + "scope": 1278, + "src": "11909:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1333, + "id": 1133, "nodeType": "Block", - "src": "12207:95:2", + "src": "12207:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1330, + "declaration": 1130, "isOffset": false, "isSlot": false, - "src": "12249:7:2", + "src": "12249:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1327, + "declaration": 1127, "isOffset": false, "isSlot": false, - "src": "12270:6:2", + "src": "12270:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1325, + "declaration": 1125, "isOffset": false, "isSlot": false, - "src": "12278:6:2", + "src": "12278:6:3", "valueSize": 1 } } ], - "id": 1332, + "id": 1132, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "12226:76:2" + "src": "12226:76:3" } ] }, - "id": 1334, + "documentation": null, + "id": 1134, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -8652,16 +8708,16 @@ "name": "bytesToUint152", "nodeType": "FunctionDefinition", "parameters": { - "id": 1328, + "id": 1128, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1325, + "id": 1125, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1334, - "src": "12133:11:2", + "scope": 1134, + "src": "12133:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8669,10 +8725,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1324, + "id": 1124, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12133:4:2", + "src": "12133:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8683,45 +8739,45 @@ }, { "constant": false, - "id": 1327, + "id": 1127, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1334, - "src": "12146:19:2", + "scope": 1134, + "src": "12146:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1326, + "id": 1126, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12146:5:2", + "src": "12146:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "12132:34:2" + "src": "12132:34:3" }, "payable": false, "returnParameters": { - "id": 1331, + "id": 1131, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1330, + "id": 1130, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1334, - "src": "12190:15:2", + "scope": 1134, + "src": "12190:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8729,10 +8785,10 @@ "typeString": "uint152" }, "typeName": { - "id": 1329, + "id": 1129, "name": "uint152", "nodeType": "ElementaryTypeName", - "src": "12190:7:2", + "src": "12190:7:3", "typeDescriptions": { "typeIdentifier": "t_uint152", "typeString": "uint152" @@ -8742,58 +8798,59 @@ "visibility": "internal" } ], - "src": "12189:17:2" + "src": "12189:17:3" }, - "scope": 1478, - "src": "12109:193:2", + "scope": 1278, + "src": "12109:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1344, + "id": 1144, "nodeType": "Block", - "src": "12407:95:2", + "src": "12407:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1341, + "declaration": 1141, "isOffset": false, "isSlot": false, - "src": "12449:7:2", + "src": "12449:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1338, + "declaration": 1138, "isOffset": false, "isSlot": false, - "src": "12470:6:2", + "src": "12470:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1336, + "declaration": 1136, "isOffset": false, "isSlot": false, - "src": "12478:6:2", + "src": "12478:6:3", "valueSize": 1 } } ], - "id": 1343, + "id": 1143, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "12426:76:2" + "src": "12426:76:3" } ] }, - "id": 1345, + "documentation": null, + "id": 1145, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -8801,16 +8858,16 @@ "name": "bytesToUint160", "nodeType": "FunctionDefinition", "parameters": { - "id": 1339, + "id": 1139, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1336, + "id": 1136, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1345, - "src": "12333:11:2", + "scope": 1145, + "src": "12333:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8818,10 +8875,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1335, + "id": 1135, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12333:4:2", + "src": "12333:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8832,45 +8889,45 @@ }, { "constant": false, - "id": 1338, + "id": 1138, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1345, - "src": "12346:19:2", + "scope": 1145, + "src": "12346:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1337, + "id": 1137, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12346:5:2", + "src": "12346:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "12332:34:2" + "src": "12332:34:3" }, "payable": false, "returnParameters": { - "id": 1342, + "id": 1142, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1341, + "id": 1141, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1345, - "src": "12390:15:2", + "scope": 1145, + "src": "12390:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8878,10 +8935,10 @@ "typeString": "uint160" }, "typeName": { - "id": 1340, + "id": 1140, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "12390:7:2", + "src": "12390:7:3", "typeDescriptions": { "typeIdentifier": "t_uint160", "typeString": "uint160" @@ -8891,58 +8948,59 @@ "visibility": "internal" } ], - "src": "12389:17:2" + "src": "12389:17:3" }, - "scope": 1478, - "src": "12309:193:2", + "scope": 1278, + "src": "12309:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1355, + "id": 1155, "nodeType": "Block", - "src": "12607:95:2", + "src": "12607:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1352, + "declaration": 1152, "isOffset": false, "isSlot": false, - "src": "12649:7:2", + "src": "12649:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1349, + "declaration": 1149, "isOffset": false, "isSlot": false, - "src": "12670:6:2", + "src": "12670:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1347, + "declaration": 1147, "isOffset": false, "isSlot": false, - "src": "12678:6:2", + "src": "12678:6:3", "valueSize": 1 } } ], - "id": 1354, + "id": 1154, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "12626:76:2" + "src": "12626:76:3" } ] }, - "id": 1356, + "documentation": null, + "id": 1156, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -8950,16 +9008,16 @@ "name": "bytesToUint168", "nodeType": "FunctionDefinition", "parameters": { - "id": 1350, + "id": 1150, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1347, + "id": 1147, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1356, - "src": "12533:11:2", + "scope": 1156, + "src": "12533:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8967,10 +9025,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1346, + "id": 1146, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12533:4:2", + "src": "12533:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8981,45 +9039,45 @@ }, { "constant": false, - "id": 1349, + "id": 1149, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1356, - "src": "12546:19:2", + "scope": 1156, + "src": "12546:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1348, + "id": 1148, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12546:5:2", + "src": "12546:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "12532:34:2" + "src": "12532:34:3" }, "payable": false, "returnParameters": { - "id": 1353, + "id": 1153, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1352, + "id": 1152, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1356, - "src": "12590:15:2", + "scope": 1156, + "src": "12590:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9027,10 +9085,10 @@ "typeString": "uint168" }, "typeName": { - "id": 1351, + "id": 1151, "name": "uint168", "nodeType": "ElementaryTypeName", - "src": "12590:7:2", + "src": "12590:7:3", "typeDescriptions": { "typeIdentifier": "t_uint168", "typeString": "uint168" @@ -9040,58 +9098,59 @@ "visibility": "internal" } ], - "src": "12589:17:2" + "src": "12589:17:3" }, - "scope": 1478, - "src": "12509:193:2", + "scope": 1278, + "src": "12509:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1366, + "id": 1166, "nodeType": "Block", - "src": "12807:95:2", + "src": "12807:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1363, + "declaration": 1163, "isOffset": false, "isSlot": false, - "src": "12849:7:2", + "src": "12849:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1360, + "declaration": 1160, "isOffset": false, "isSlot": false, - "src": "12870:6:2", + "src": "12870:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1358, + "declaration": 1158, "isOffset": false, "isSlot": false, - "src": "12878:6:2", + "src": "12878:6:3", "valueSize": 1 } } ], - "id": 1365, + "id": 1165, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "12826:76:2" + "src": "12826:76:3" } ] }, - "id": 1367, + "documentation": null, + "id": 1167, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -9099,16 +9158,16 @@ "name": "bytesToUint176", "nodeType": "FunctionDefinition", "parameters": { - "id": 1361, + "id": 1161, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1358, + "id": 1158, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1367, - "src": "12733:11:2", + "scope": 1167, + "src": "12733:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9116,10 +9175,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1357, + "id": 1157, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12733:4:2", + "src": "12733:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9130,45 +9189,45 @@ }, { "constant": false, - "id": 1360, + "id": 1160, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1367, - "src": "12746:19:2", + "scope": 1167, + "src": "12746:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1359, + "id": 1159, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12746:5:2", + "src": "12746:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "12732:34:2" + "src": "12732:34:3" }, "payable": false, "returnParameters": { - "id": 1364, + "id": 1164, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1363, + "id": 1163, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1367, - "src": "12790:15:2", + "scope": 1167, + "src": "12790:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9176,10 +9235,10 @@ "typeString": "uint176" }, "typeName": { - "id": 1362, + "id": 1162, "name": "uint176", "nodeType": "ElementaryTypeName", - "src": "12790:7:2", + "src": "12790:7:3", "typeDescriptions": { "typeIdentifier": "t_uint176", "typeString": "uint176" @@ -9189,58 +9248,59 @@ "visibility": "internal" } ], - "src": "12789:17:2" + "src": "12789:17:3" }, - "scope": 1478, - "src": "12709:193:2", + "scope": 1278, + "src": "12709:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1377, + "id": 1177, "nodeType": "Block", - "src": "13007:95:2", + "src": "13007:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1374, + "declaration": 1174, "isOffset": false, "isSlot": false, - "src": "13049:7:2", + "src": "13049:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1371, + "declaration": 1171, "isOffset": false, "isSlot": false, - "src": "13070:6:2", + "src": "13070:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1369, + "declaration": 1169, "isOffset": false, "isSlot": false, - "src": "13078:6:2", + "src": "13078:6:3", "valueSize": 1 } } ], - "id": 1376, + "id": 1176, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "13026:76:2" + "src": "13026:76:3" } ] }, - "id": 1378, + "documentation": null, + "id": 1178, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -9248,16 +9308,16 @@ "name": "bytesToUint184", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 1172, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1369, + "id": 1169, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1378, - "src": "12933:11:2", + "scope": 1178, + "src": "12933:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9265,10 +9325,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1368, + "id": 1168, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12933:4:2", + "src": "12933:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9279,45 +9339,45 @@ }, { "constant": false, - "id": 1371, + "id": 1171, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1378, - "src": "12946:19:2", + "scope": 1178, + "src": "12946:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1370, + "id": 1170, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12946:5:2", + "src": "12946:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "12932:34:2" + "src": "12932:34:3" }, "payable": false, "returnParameters": { - "id": 1375, + "id": 1175, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 1174, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1378, - "src": "12990:15:2", + "scope": 1178, + "src": "12990:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9325,10 +9385,10 @@ "typeString": "uint184" }, "typeName": { - "id": 1373, + "id": 1173, "name": "uint184", "nodeType": "ElementaryTypeName", - "src": "12990:7:2", + "src": "12990:7:3", "typeDescriptions": { "typeIdentifier": "t_uint184", "typeString": "uint184" @@ -9338,58 +9398,59 @@ "visibility": "internal" } ], - "src": "12989:17:2" + "src": "12989:17:3" }, - "scope": 1478, - "src": "12909:193:2", + "scope": 1278, + "src": "12909:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1388, + "id": 1188, "nodeType": "Block", - "src": "13207:95:2", + "src": "13207:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1385, + "declaration": 1185, "isOffset": false, "isSlot": false, - "src": "13249:7:2", + "src": "13249:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1382, + "declaration": 1182, "isOffset": false, "isSlot": false, - "src": "13270:6:2", + "src": "13270:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1380, + "declaration": 1180, "isOffset": false, "isSlot": false, - "src": "13278:6:2", + "src": "13278:6:3", "valueSize": 1 } } ], - "id": 1387, + "id": 1187, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "13226:76:2" + "src": "13226:76:3" } ] }, - "id": 1389, + "documentation": null, + "id": 1189, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -9397,16 +9458,16 @@ "name": "bytesToUint192", "nodeType": "FunctionDefinition", "parameters": { - "id": 1383, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1380, + "id": 1180, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1389, - "src": "13133:11:2", + "scope": 1189, + "src": "13133:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9414,10 +9475,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1379, + "id": 1179, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13133:4:2", + "src": "13133:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9428,45 +9489,45 @@ }, { "constant": false, - "id": 1382, + "id": 1182, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1389, - "src": "13146:19:2", + "scope": 1189, + "src": "13146:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1381, + "id": 1181, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "13146:5:2", + "src": "13146:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "13132:34:2" + "src": "13132:34:3" }, "payable": false, "returnParameters": { - "id": 1386, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1385, + "id": 1185, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1389, - "src": "13190:15:2", + "scope": 1189, + "src": "13190:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9474,10 +9535,10 @@ "typeString": "uint192" }, "typeName": { - "id": 1384, + "id": 1184, "name": "uint192", "nodeType": "ElementaryTypeName", - "src": "13190:7:2", + "src": "13190:7:3", "typeDescriptions": { "typeIdentifier": "t_uint192", "typeString": "uint192" @@ -9487,58 +9548,59 @@ "visibility": "internal" } ], - "src": "13189:17:2" + "src": "13189:17:3" }, - "scope": 1478, - "src": "13109:193:2", + "scope": 1278, + "src": "13109:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1399, + "id": 1199, "nodeType": "Block", - "src": "13407:95:2", + "src": "13407:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1396, + "declaration": 1196, "isOffset": false, "isSlot": false, - "src": "13449:7:2", + "src": "13449:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1393, + "declaration": 1193, "isOffset": false, "isSlot": false, - "src": "13470:6:2", + "src": "13470:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1391, + "declaration": 1191, "isOffset": false, "isSlot": false, - "src": "13478:6:2", + "src": "13478:6:3", "valueSize": 1 } } ], - "id": 1398, + "id": 1198, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "13426:76:2" + "src": "13426:76:3" } ] }, - "id": 1400, + "documentation": null, + "id": 1200, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -9546,16 +9608,16 @@ "name": "bytesToUint200", "nodeType": "FunctionDefinition", "parameters": { - "id": 1394, + "id": 1194, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1391, + "id": 1191, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1400, - "src": "13333:11:2", + "scope": 1200, + "src": "13333:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9563,10 +9625,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1390, + "id": 1190, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13333:4:2", + "src": "13333:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9577,45 +9639,45 @@ }, { "constant": false, - "id": 1393, + "id": 1193, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1400, - "src": "13346:19:2", + "scope": 1200, + "src": "13346:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1392, + "id": 1192, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "13346:5:2", + "src": "13346:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "13332:34:2" + "src": "13332:34:3" }, "payable": false, "returnParameters": { - "id": 1397, + "id": 1197, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1396, + "id": 1196, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1400, - "src": "13390:15:2", + "scope": 1200, + "src": "13390:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9623,10 +9685,10 @@ "typeString": "uint200" }, "typeName": { - "id": 1395, + "id": 1195, "name": "uint200", "nodeType": "ElementaryTypeName", - "src": "13390:7:2", + "src": "13390:7:3", "typeDescriptions": { "typeIdentifier": "t_uint200", "typeString": "uint200" @@ -9636,58 +9698,59 @@ "visibility": "internal" } ], - "src": "13389:17:2" + "src": "13389:17:3" }, - "scope": 1478, - "src": "13309:193:2", + "scope": 1278, + "src": "13309:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1410, + "id": 1210, "nodeType": "Block", - "src": "13607:95:2", + "src": "13607:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1407, + "declaration": 1207, "isOffset": false, "isSlot": false, - "src": "13649:7:2", + "src": "13649:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1404, + "declaration": 1204, "isOffset": false, "isSlot": false, - "src": "13670:6:2", + "src": "13670:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1402, + "declaration": 1202, "isOffset": false, "isSlot": false, - "src": "13678:6:2", + "src": "13678:6:3", "valueSize": 1 } } ], - "id": 1409, + "id": 1209, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "13626:76:2" + "src": "13626:76:3" } ] }, - "id": 1411, + "documentation": null, + "id": 1211, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -9695,16 +9758,16 @@ "name": "bytesToUint208", "nodeType": "FunctionDefinition", "parameters": { - "id": 1405, + "id": 1205, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1402, + "id": 1202, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1411, - "src": "13533:11:2", + "scope": 1211, + "src": "13533:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9712,10 +9775,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1401, + "id": 1201, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13533:4:2", + "src": "13533:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9726,45 +9789,45 @@ }, { "constant": false, - "id": 1404, + "id": 1204, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1411, - "src": "13546:19:2", + "scope": 1211, + "src": "13546:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1403, + "id": 1203, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "13546:5:2", + "src": "13546:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "13532:34:2" + "src": "13532:34:3" }, "payable": false, "returnParameters": { - "id": 1408, + "id": 1208, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1407, + "id": 1207, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1411, - "src": "13590:15:2", + "scope": 1211, + "src": "13590:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9772,10 +9835,10 @@ "typeString": "uint208" }, "typeName": { - "id": 1406, + "id": 1206, "name": "uint208", "nodeType": "ElementaryTypeName", - "src": "13590:7:2", + "src": "13590:7:3", "typeDescriptions": { "typeIdentifier": "t_uint208", "typeString": "uint208" @@ -9785,58 +9848,59 @@ "visibility": "internal" } ], - "src": "13589:17:2" + "src": "13589:17:3" }, - "scope": 1478, - "src": "13509:193:2", + "scope": 1278, + "src": "13509:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1421, + "id": 1221, "nodeType": "Block", - "src": "13807:95:2", + "src": "13807:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1418, + "declaration": 1218, "isOffset": false, "isSlot": false, - "src": "13849:7:2", + "src": "13849:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1415, + "declaration": 1215, "isOffset": false, "isSlot": false, - "src": "13870:6:2", + "src": "13870:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1413, + "declaration": 1213, "isOffset": false, "isSlot": false, - "src": "13878:6:2", + "src": "13878:6:3", "valueSize": 1 } } ], - "id": 1420, + "id": 1220, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "13826:76:2" + "src": "13826:76:3" } ] }, - "id": 1422, + "documentation": null, + "id": 1222, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -9844,16 +9908,16 @@ "name": "bytesToUint216", "nodeType": "FunctionDefinition", "parameters": { - "id": 1416, + "id": 1216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1413, + "id": 1213, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "13733:11:2", + "scope": 1222, + "src": "13733:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9861,10 +9925,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1412, + "id": 1212, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13733:4:2", + "src": "13733:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9875,45 +9939,45 @@ }, { "constant": false, - "id": 1415, + "id": 1215, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "13746:19:2", + "scope": 1222, + "src": "13746:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1414, + "id": 1214, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "13746:5:2", + "src": "13746:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "13732:34:2" + "src": "13732:34:3" }, "payable": false, "returnParameters": { - "id": 1419, + "id": 1219, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1418, + "id": 1218, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "13790:15:2", + "scope": 1222, + "src": "13790:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9921,10 +9985,10 @@ "typeString": "uint216" }, "typeName": { - "id": 1417, + "id": 1217, "name": "uint216", "nodeType": "ElementaryTypeName", - "src": "13790:7:2", + "src": "13790:7:3", "typeDescriptions": { "typeIdentifier": "t_uint216", "typeString": "uint216" @@ -9934,58 +9998,59 @@ "visibility": "internal" } ], - "src": "13789:17:2" + "src": "13789:17:3" }, - "scope": 1478, - "src": "13709:193:2", + "scope": 1278, + "src": "13709:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1432, + "id": 1232, "nodeType": "Block", - "src": "14007:95:2", + "src": "14007:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1429, + "declaration": 1229, "isOffset": false, "isSlot": false, - "src": "14049:7:2", + "src": "14049:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1426, + "declaration": 1226, "isOffset": false, "isSlot": false, - "src": "14070:6:2", + "src": "14070:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1424, + "declaration": 1224, "isOffset": false, "isSlot": false, - "src": "14078:6:2", + "src": "14078:6:3", "valueSize": 1 } } ], - "id": 1431, + "id": 1231, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "14026:76:2" + "src": "14026:76:3" } ] }, - "id": 1433, + "documentation": null, + "id": 1233, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -9993,16 +10058,16 @@ "name": "bytesToUint224", "nodeType": "FunctionDefinition", "parameters": { - "id": 1427, + "id": 1227, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1424, + "id": 1224, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1433, - "src": "13933:11:2", + "scope": 1233, + "src": "13933:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10010,10 +10075,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1423, + "id": 1223, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13933:4:2", + "src": "13933:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10024,45 +10089,45 @@ }, { "constant": false, - "id": 1426, + "id": 1226, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1433, - "src": "13946:19:2", + "scope": 1233, + "src": "13946:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1425, + "id": 1225, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "13946:5:2", + "src": "13946:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "13932:34:2" + "src": "13932:34:3" }, "payable": false, "returnParameters": { - "id": 1430, + "id": 1230, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1429, + "id": 1229, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1433, - "src": "13990:15:2", + "scope": 1233, + "src": "13990:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10070,10 +10135,10 @@ "typeString": "uint224" }, "typeName": { - "id": 1428, + "id": 1228, "name": "uint224", "nodeType": "ElementaryTypeName", - "src": "13990:7:2", + "src": "13990:7:3", "typeDescriptions": { "typeIdentifier": "t_uint224", "typeString": "uint224" @@ -10083,58 +10148,59 @@ "visibility": "internal" } ], - "src": "13989:17:2" + "src": "13989:17:3" }, - "scope": 1478, - "src": "13909:193:2", + "scope": 1278, + "src": "13909:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1443, + "id": 1243, "nodeType": "Block", - "src": "14207:95:2", + "src": "14207:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1440, + "declaration": 1240, "isOffset": false, "isSlot": false, - "src": "14249:7:2", + "src": "14249:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1437, + "declaration": 1237, "isOffset": false, "isSlot": false, - "src": "14270:6:2", + "src": "14270:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1435, + "declaration": 1235, "isOffset": false, "isSlot": false, - "src": "14278:6:2", + "src": "14278:6:3", "valueSize": 1 } } ], - "id": 1442, + "id": 1242, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "14226:76:2" + "src": "14226:76:3" } ] }, - "id": 1444, + "documentation": null, + "id": 1244, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -10142,16 +10208,16 @@ "name": "bytesToUint232", "nodeType": "FunctionDefinition", "parameters": { - "id": 1438, + "id": 1238, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1435, + "id": 1235, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1444, - "src": "14133:11:2", + "scope": 1244, + "src": "14133:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10159,10 +10225,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1434, + "id": 1234, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "14133:4:2", + "src": "14133:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10173,45 +10239,45 @@ }, { "constant": false, - "id": 1437, + "id": 1237, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1444, - "src": "14146:19:2", + "scope": 1244, + "src": "14146:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1436, + "id": 1236, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "14146:5:2", + "src": "14146:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "14132:34:2" + "src": "14132:34:3" }, "payable": false, "returnParameters": { - "id": 1441, + "id": 1241, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1440, + "id": 1240, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1444, - "src": "14190:15:2", + "scope": 1244, + "src": "14190:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10219,10 +10285,10 @@ "typeString": "uint232" }, "typeName": { - "id": 1439, + "id": 1239, "name": "uint232", "nodeType": "ElementaryTypeName", - "src": "14190:7:2", + "src": "14190:7:3", "typeDescriptions": { "typeIdentifier": "t_uint232", "typeString": "uint232" @@ -10232,58 +10298,59 @@ "visibility": "internal" } ], - "src": "14189:17:2" + "src": "14189:17:3" }, - "scope": 1478, - "src": "14109:193:2", + "scope": 1278, + "src": "14109:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1454, + "id": 1254, "nodeType": "Block", - "src": "14407:95:2", + "src": "14407:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1451, + "declaration": 1251, "isOffset": false, "isSlot": false, - "src": "14449:7:2", + "src": "14449:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1448, + "declaration": 1248, "isOffset": false, "isSlot": false, - "src": "14470:6:2", + "src": "14470:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1446, + "declaration": 1246, "isOffset": false, "isSlot": false, - "src": "14478:6:2", + "src": "14478:6:3", "valueSize": 1 } } ], - "id": 1453, + "id": 1253, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "14426:76:2" + "src": "14426:76:3" } ] }, - "id": 1455, + "documentation": null, + "id": 1255, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -10291,16 +10358,16 @@ "name": "bytesToUint240", "nodeType": "FunctionDefinition", "parameters": { - "id": 1449, + "id": 1249, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1446, + "id": 1246, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1455, - "src": "14333:11:2", + "scope": 1255, + "src": "14333:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10308,10 +10375,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1445, + "id": 1245, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "14333:4:2", + "src": "14333:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10322,45 +10389,45 @@ }, { "constant": false, - "id": 1448, + "id": 1248, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1455, - "src": "14346:19:2", + "scope": 1255, + "src": "14346:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1447, + "id": 1247, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "14346:5:2", + "src": "14346:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "14332:34:2" + "src": "14332:34:3" }, "payable": false, "returnParameters": { - "id": 1452, + "id": 1252, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1451, + "id": 1251, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1455, - "src": "14390:15:2", + "scope": 1255, + "src": "14390:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10368,10 +10435,10 @@ "typeString": "uint240" }, "typeName": { - "id": 1450, + "id": 1250, "name": "uint240", "nodeType": "ElementaryTypeName", - "src": "14390:7:2", + "src": "14390:7:3", "typeDescriptions": { "typeIdentifier": "t_uint240", "typeString": "uint240" @@ -10381,58 +10448,59 @@ "visibility": "internal" } ], - "src": "14389:17:2" + "src": "14389:17:3" }, - "scope": 1478, - "src": "14309:193:2", + "scope": 1278, + "src": "14309:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1465, + "id": 1265, "nodeType": "Block", - "src": "14607:95:2", + "src": "14607:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1462, + "declaration": 1262, "isOffset": false, "isSlot": false, - "src": "14649:7:2", + "src": "14649:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1459, + "declaration": 1259, "isOffset": false, "isSlot": false, - "src": "14670:6:2", + "src": "14670:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1457, + "declaration": 1257, "isOffset": false, "isSlot": false, - "src": "14678:6:2", + "src": "14678:6:3", "valueSize": 1 } } ], - "id": 1464, + "id": 1264, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "14626:76:2" + "src": "14626:76:3" } ] }, - "id": 1466, + "documentation": null, + "id": 1266, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -10440,16 +10508,16 @@ "name": "bytesToUint248", "nodeType": "FunctionDefinition", "parameters": { - "id": 1460, + "id": 1260, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1457, + "id": 1257, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1466, - "src": "14533:11:2", + "scope": 1266, + "src": "14533:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10457,10 +10525,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1456, + "id": 1256, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "14533:4:2", + "src": "14533:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10471,45 +10539,45 @@ }, { "constant": false, - "id": 1459, + "id": 1259, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1466, - "src": "14546:19:2", + "scope": 1266, + "src": "14546:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1458, + "id": 1258, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "14546:5:2", + "src": "14546:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "14532:34:2" + "src": "14532:34:3" }, "payable": false, "returnParameters": { - "id": 1463, + "id": 1263, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1462, + "id": 1262, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1466, - "src": "14590:15:2", + "scope": 1266, + "src": "14590:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10517,10 +10585,10 @@ "typeString": "uint248" }, "typeName": { - "id": 1461, + "id": 1261, "name": "uint248", "nodeType": "ElementaryTypeName", - "src": "14590:7:2", + "src": "14590:7:3", "typeDescriptions": { "typeIdentifier": "t_uint248", "typeString": "uint248" @@ -10530,58 +10598,59 @@ "visibility": "internal" } ], - "src": "14589:17:2" + "src": "14589:17:3" }, - "scope": 1478, - "src": "14509:193:2", + "scope": 1278, + "src": "14509:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1476, + "id": 1276, "nodeType": "Block", - "src": "14807:95:2", + "src": "14807:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1473, + "declaration": 1273, "isOffset": false, "isSlot": false, - "src": "14849:7:2", + "src": "14849:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1470, + "declaration": 1270, "isOffset": false, "isSlot": false, - "src": "14870:6:2", + "src": "14870:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1468, + "declaration": 1268, "isOffset": false, "isSlot": false, - "src": "14878:6:2", + "src": "14878:6:3", "valueSize": 1 } } ], - "id": 1475, + "id": 1275, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "14826:76:2" + "src": "14826:76:3" } ] }, - "id": 1477, + "documentation": null, + "id": 1277, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -10589,16 +10658,16 @@ "name": "bytesToUint256", "nodeType": "FunctionDefinition", "parameters": { - "id": 1471, + "id": 1271, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1468, + "id": 1268, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1477, - "src": "14733:11:2", + "scope": 1277, + "src": "14733:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10606,10 +10675,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1467, + "id": 1267, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "14733:4:2", + "src": "14733:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10620,45 +10689,45 @@ }, { "constant": false, - "id": 1470, + "id": 1270, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1477, - "src": "14746:19:2", + "scope": 1277, + "src": "14746:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1469, + "id": 1269, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "14746:5:2", + "src": "14746:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "14732:34:2" + "src": "14732:34:3" }, "payable": false, "returnParameters": { - "id": 1474, + "id": 1274, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1473, + "id": 1273, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1477, - "src": "14790:15:2", + "scope": 1277, + "src": "14790:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10666,10 +10735,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1472, + "id": 1272, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14790:7:2", + "src": "14790:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10679,33 +10748,33 @@ "visibility": "internal" } ], - "src": "14789:17:2" + "src": "14789:17:3" }, - "scope": 1478, - "src": "14709:193:2", + "scope": 1278, + "src": "14709:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" } ], - "scope": 1479, - "src": "187:14723:2" + "scope": 1279, + "src": "187:14723:3" } ], - "src": "0:14911:2" + "src": "0:14911:3" }, "legacyAST": { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/BytesToTypes.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/BytesToTypes.sol", "exportedSymbols": { "BytesToTypes": [ - 1478 + 1278 ] }, - "id": 1479, + "id": 1279, "nodeType": "SourceUnit", "nodes": [ { - "id": 700, + "id": 500, "literals": [ "solidity", "^", @@ -10713,7 +10782,7 @@ ".16" ], "nodeType": "PragmaDirective", - "src": "0:24:2" + "src": "0:24:3" }, { "baseContracts": [], @@ -10721,57 +10790,58 @@ "contractKind": "contract", "documentation": "@title BytesToTypes\n@dev The BytesToTypes contract converts the memory byte arrays to the standard solidity types\n@author pouladzade@gmail.com", "fullyImplemented": true, - "id": 1478, + "id": 1278, "linearizedBaseContracts": [ - 1478 + 1278 ], "name": "BytesToTypes", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 710, + "id": 510, "nodeType": "Block", - "src": "319:95:2", + "src": "319:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 707, + "declaration": 507, "isOffset": false, "isSlot": false, - "src": "361:7:2", + "src": "361:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 704, + "declaration": 504, "isOffset": false, "isSlot": false, - "src": "382:6:2", + "src": "382:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 702, + "declaration": 502, "isOffset": false, "isSlot": false, - "src": "390:6:2", + "src": "390:6:3", "valueSize": 1 } } ], - "id": 709, + "id": 509, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "338:76:2" + "src": "338:76:3" } ] }, - "id": 711, + "documentation": null, + "id": 511, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -10779,16 +10849,16 @@ "name": "bytesToAddress", "nodeType": "FunctionDefinition", "parameters": { - "id": 705, + "id": 505, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 702, + "id": 502, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 711, - "src": "245:11:2", + "scope": 511, + "src": "245:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10796,10 +10866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 701, + "id": 501, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "245:4:2", + "src": "245:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10810,45 +10880,45 @@ }, { "constant": false, - "id": 704, + "id": 504, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 711, - "src": "258:19:2", + "scope": 511, + "src": "258:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 703, + "id": 503, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "258:5:2", + "src": "258:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "244:34:2" + "src": "244:34:3" }, "payable": false, "returnParameters": { - "id": 708, + "id": 508, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 707, + "id": 507, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 711, - "src": "302:15:2", + "scope": 511, + "src": "302:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10856,10 +10926,10 @@ "typeString": "address" }, "typeName": { - "id": 706, + "id": 506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "302:7:2", + "src": "302:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10869,30 +10939,30 @@ "visibility": "internal" } ], - "src": "301:17:2" + "src": "301:17:3" }, - "scope": 1478, - "src": "221:193:2", + "scope": 1278, + "src": "221:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 735, + "id": 535, "nodeType": "Block", - "src": "517:155:2", + "src": "517:155:3", "statements": [ { "assignments": [], "declarations": [ { "constant": false, - "id": 721, + "id": 521, "name": "x", "nodeType": "VariableDeclaration", - "scope": 736, - "src": "536:7:2", + "scope": 536, + "src": "536:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10900,10 +10970,10 @@ "typeString": "uint8" }, "typeName": { - "id": 720, + "id": 520, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "536:5:2", + "src": "536:5:3", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -10913,45 +10983,45 @@ "visibility": "internal" } ], - "id": 722, + "id": 522, "initialValue": null, "nodeType": "VariableDeclarationStatement", - "src": "536:7:2" + "src": "536:7:3" }, { "externalReferences": [ { "x": { - "declaration": 721, + "declaration": 521, "isOffset": false, "isSlot": false, - "src": "576:1:2", + "src": "576:1:3", "valueSize": 1 } }, { "_input": { - "declaration": 715, + "declaration": 515, "isOffset": false, "isSlot": false, - "src": "591:6:2", + "src": "591:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 713, + "declaration": 513, "isOffset": false, "isSlot": false, - "src": "599:6:2", + "src": "599:6:3", "valueSize": 1 } } ], - "id": 723, + "id": 523, "nodeType": "InlineAssembly", "operations": "{\n x := mload(add(_input, _offst))\n}", - "src": "553:74:2" + "src": "553:74:3" }, { "expression": { @@ -10962,19 +11032,19 @@ "typeIdentifier": "t_uint8", "typeString": "uint8" }, - "id": 726, + "id": 526, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 724, + "id": 524, "name": "x", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 721, - "src": "626:1:2", + "referencedDeclaration": 521, + "src": "626:1:3", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -10985,14 +11055,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 725, + "id": 525, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "629:1:2", + "src": "629:1:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -11000,7 +11070,7 @@ }, "value": "0" }, - "src": "626:4:2", + "src": "626:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11008,19 +11078,19 @@ }, "falseExpression": { "argumentTypes": null, - "id": 732, + "id": 532, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 730, + "id": 530, "name": "_output", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 718, - "src": "651:7:2", + "referencedDeclaration": 518, + "src": "651:7:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11031,14 +11101,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 731, + "id": 531, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "661:4:2", + "src": "661:4:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11046,34 +11116,34 @@ }, "value": "true" }, - "src": "651:14:2", + "src": "651:14:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 733, + "id": 533, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "626:39:2", + "src": "626:39:3", "trueExpression": { "argumentTypes": null, - "id": 729, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 727, + "id": 527, "name": "_output", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 718, - "src": "633:7:2", + "referencedDeclaration": 518, + "src": "633:7:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11084,14 +11154,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 728, + "id": 528, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "643:5:2", + "src": "643:5:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11099,7 +11169,7 @@ }, "value": "false" }, - "src": "633:15:2", + "src": "633:15:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11110,13 +11180,14 @@ "typeString": "bool" } }, - "id": 734, + "id": 534, "nodeType": "ExpressionStatement", - "src": "626:39:2" + "src": "626:39:3" } ] }, - "id": 736, + "documentation": null, + "id": 536, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -11124,16 +11195,16 @@ "name": "bytesToBool", "nodeType": "FunctionDefinition", "parameters": { - "id": 716, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 713, + "id": 513, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 736, - "src": "446:11:2", + "scope": 536, + "src": "446:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11141,10 +11212,10 @@ "typeString": "uint256" }, "typeName": { - "id": 712, + "id": 512, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "446:4:2", + "src": "446:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11155,45 +11226,45 @@ }, { "constant": false, - "id": 715, + "id": 515, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 736, - "src": "459:19:2", + "scope": 536, + "src": "459:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 714, + "id": 514, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "459:5:2", + "src": "459:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "445:34:2" + "src": "445:34:3" }, "payable": false, "returnParameters": { - "id": 719, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 718, + "id": 518, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 736, - "src": "503:12:2", + "scope": 536, + "src": "503:12:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11201,10 +11272,10 @@ "typeString": "bool" }, "typeName": { - "id": 717, + "id": 517, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "503:4:2", + "src": "503:4:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11214,85 +11285,86 @@ "visibility": "internal" } ], - "src": "502:14:2" + "src": "502:14:3" }, - "scope": 1478, - "src": "425:247:2", + "scope": 1278, + "src": "425:247:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 746, + "id": 546, "nodeType": "Block", - "src": "778:413:2", + "src": "778:413:3", "statements": [ { "externalReferences": [ { "size": { - "declaration": 743, + "declaration": 543, "isOffset": false, "isSlot": false, - "src": "832:4:2", + "src": "832:4:3", "valueSize": 1 } }, { - "size": { - "declaration": 743, + "_input": { + "declaration": 540, "isOffset": false, "isSlot": false, - "src": "1103:4:2", + "src": "850:6:3", "valueSize": 1 } }, { - "_input": { - "declaration": 740, + "_offst": { + "declaration": 538, "isOffset": false, "isSlot": false, - "src": "850:6:2", + "src": "857:6:3", "valueSize": 1 } }, { - "_offst": { - "declaration": 738, + "size": { + "declaration": 543, "isOffset": false, "isSlot": false, - "src": "857:6:2", + "src": "1103:4:3", "valueSize": 1 } }, { "size": { - "declaration": 743, + "declaration": 543, "isOffset": false, "isSlot": false, - "src": "905:4:2", + "src": "905:4:3", "valueSize": 1 } }, { "size": { - "declaration": 743, + "declaration": 543, "isOffset": false, "isSlot": false, - "src": "981:4:2", + "src": "981:4:3", "valueSize": 1 } } ], - "id": 745, + "id": 545, "nodeType": "InlineAssembly", "operations": "{\n size := mload(add(_input, _offst))\n let chunk_count := add(div(size, 32), 1)\n if gt(mod(size, 32), 0)\n {\n chunk_count := add(chunk_count, 1)\n }\n size := mul(chunk_count, 32)\n}", - "src": "797:394:2" + "src": "797:394:3" } ] }, - "id": 747, + "documentation": null, + "id": 547, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -11300,16 +11372,16 @@ "name": "getStringSize", "nodeType": "FunctionDefinition", "parameters": { - "id": 741, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 738, + "id": 538, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 747, - "src": "712:11:2", + "scope": 547, + "src": "712:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11317,10 +11389,10 @@ "typeString": "uint256" }, "typeName": { - "id": 737, + "id": 537, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "712:4:2", + "src": "712:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11331,45 +11403,45 @@ }, { "constant": false, - "id": 740, + "id": 540, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 747, - "src": "725:19:2", + "scope": 547, + "src": "725:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 739, + "id": 539, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "725:5:2", + "src": "725:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "711:34:2" + "src": "711:34:3" }, "payable": false, "returnParameters": { - "id": 744, + "id": 544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 743, + "id": 543, "name": "size", "nodeType": "VariableDeclaration", - "scope": 747, - "src": "768:9:2", + "scope": 547, + "src": "768:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11377,10 +11449,10 @@ "typeString": "uint256" }, "typeName": { - "id": 742, + "id": 542, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "768:4:2", + "src": "768:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11390,32 +11462,32 @@ "visibility": "internal" } ], - "src": "767:11:2" + "src": "767:11:3" }, - "scope": 1478, - "src": "689:502:2", + "scope": 1278, + "src": "689:502:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 761, + "id": 561, "nodeType": "Block", - "src": "1286:735:2", + "src": "1286:735:3", "statements": [ { "assignments": [ - 757 + 557 ], "declarations": [ { "constant": false, - "id": 757, + "id": 557, "name": "size", "nodeType": "VariableDeclaration", - "scope": 762, - "src": "1297:9:2", + "scope": 562, + "src": "1297:9:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11423,10 +11495,10 @@ "typeString": "uint256" }, "typeName": { - "id": 756, + "id": 556, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1297:4:2", + "src": "1297:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11436,18 +11508,18 @@ "visibility": "internal" } ], - "id": 759, + "id": 559, "initialValue": { "argumentTypes": null, "hexValue": "3332", - "id": 758, + "id": 558, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1309:2:2", + "src": "1309:2:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", @@ -11456,109 +11528,110 @@ "value": "32" }, "nodeType": "VariableDeclarationStatement", - "src": "1297:14:2" + "src": "1297:14:3" }, { "externalReferences": [ { "size": { - "declaration": 757, + "declaration": 557, "isOffset": false, "isSlot": false, - "src": "1435:4:2", + "src": "1435:4:3", "valueSize": 1 } }, { "_input": { - "declaration": 751, + "declaration": 551, "isOffset": false, "isSlot": false, - "src": "1453:6:2", + "src": "1453:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 749, + "declaration": 549, "isOffset": false, "isSlot": false, - "src": "1460:6:2", + "src": "1460:6:3", "valueSize": 1 } }, { - "size": { - "declaration": 757, + "_offst": { + "declaration": 549, "isOffset": false, "isSlot": false, - "src": "1504:4:2", + "src": "1836:6:3", "valueSize": 1 } }, { - "size": { - "declaration": 757, + "_output": { + "declaration": 553, "isOffset": false, "isSlot": false, - "src": "1580:4:2", + "src": "1751:7:3", "valueSize": 1 } }, { - "_offst": { - "declaration": 749, + "size": { + "declaration": 557, "isOffset": false, "isSlot": false, - "src": "1836:6:2", + "src": "1504:4:3", "valueSize": 1 } }, { - "_offst": { - "declaration": 749, + "size": { + "declaration": 557, "isOffset": false, "isSlot": false, - "src": "1822:6:2", + "src": "1580:4:3", "valueSize": 1 } }, { - "_output": { - "declaration": 753, + "_offst": { + "declaration": 549, "isOffset": false, "isSlot": false, - "src": "1751:7:2", + "src": "1822:6:3", "valueSize": 1 } }, { "_input": { - "declaration": 751, + "declaration": 551, "isOffset": false, "isSlot": false, - "src": "1789:6:2", + "src": "1789:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 749, + "declaration": 549, "isOffset": false, "isSlot": false, - "src": "1796:6:2", + "src": "1796:6:3", "valueSize": 1 } } ], - "id": 760, + "id": 560, "nodeType": "InlineAssembly", "operations": "{\n let loop_index := 0\n let chunk_count\n size := mload(add(_input, _offst))\n chunk_count := add(div(size, 32), 1)\n if gt(mod(size, 32), 0)\n {\n chunk_count := add(chunk_count, 1)\n }\n loop:\n mstore(add(_output, mul(loop_index, 32)), mload(add(_input, _offst)))\n _offst := sub(_offst, 32)\n loop_index := add(loop_index, 1)\n jumpi(loop, lt(loop_index, chunk_count))\n}", - "src": "1321:700:2" + "src": "1321:700:3" } ] }, - "id": 762, + "documentation": null, + "id": 562, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -11566,16 +11639,16 @@ "name": "bytesToString", "nodeType": "FunctionDefinition", "parameters": { - "id": 754, + "id": 554, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 549, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 762, - "src": "1220:11:2", + "scope": 562, + "src": "1220:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11583,10 +11656,10 @@ "typeString": "uint256" }, "typeName": { - "id": 748, + "id": 548, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1220:4:2", + "src": "1220:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11597,25 +11670,25 @@ }, { "constant": false, - "id": 751, + "id": 551, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 762, - "src": "1233:19:2", + "scope": 562, + "src": "1233:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 750, + "id": 550, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1233:5:2", + "src": "1233:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, @@ -11623,117 +11696,118 @@ }, { "constant": false, - "id": 753, + "id": 553, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 762, - "src": "1254:20:2", + "scope": 562, + "src": "1254:20:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 752, + "id": 552, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1254:5:2", + "src": "1254:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "1219:56:2" + "src": "1219:56:3" }, "payable": false, "returnParameters": { - "id": 755, + "id": 555, "nodeType": "ParameterList", "parameters": [], - "src": "1286:0:2" + "src": "1286:0:3" }, - "scope": 1478, - "src": "1197:824:2", + "scope": 1278, + "src": "1197:824:3", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 772, + "id": 572, "nodeType": "Block", - "src": "2117:161:2", + "src": "2117:161:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 768, + "declaration": 568, "isOffset": false, "isSlot": false, - "src": "2166:7:2", + "src": "2166:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 766, + "declaration": 566, "isOffset": false, "isSlot": false, - "src": "2180:6:2", + "src": "2180:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 764, + "declaration": 564, "isOffset": false, "isSlot": false, - "src": "2188:6:2", + "src": "2188:6:3", "valueSize": 1 } }, { - "_output": { - "declaration": 768, + "_input": { + "declaration": 566, "isOffset": false, "isSlot": false, - "src": "2220:7:2", + "src": "2242:6:3", "valueSize": 1 } }, { - "_input": { - "declaration": 766, + "_offst": { + "declaration": 564, "isOffset": false, "isSlot": false, - "src": "2242:6:2", + "src": "2250:6:3", "valueSize": 1 } }, { - "_offst": { - "declaration": 764, + "_output": { + "declaration": 568, "isOffset": false, "isSlot": false, - "src": "2250:6:2", + "src": "2220:7:3", "valueSize": 1 } } ], - "id": 771, + "id": 571, "nodeType": "InlineAssembly", "operations": "{\n mstore(_output, add(_input, _offst))\n mstore(add(_output, 32), add(add(_input, _offst), 32))\n}", - "src": "2136:142:2" + "src": "2136:142:3" } ] }, - "id": 773, + "documentation": null, + "id": 573, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -11741,16 +11815,16 @@ "name": "bytesToBytes32", "nodeType": "FunctionDefinition", "parameters": { - "id": 769, + "id": 569, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 764, + "id": 564, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 773, - "src": "2051:11:2", + "scope": 573, + "src": "2051:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11758,10 +11832,10 @@ "typeString": "uint256" }, "typeName": { - "id": 763, + "id": 563, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2051:4:2", + "src": "2051:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11772,25 +11846,25 @@ }, { "constant": false, - "id": 766, + "id": 566, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 773, - "src": "2064:20:2", + "scope": 573, + "src": "2064:20:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 765, + "id": 565, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2064:5:2", + "src": "2064:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, @@ -11798,11 +11872,11 @@ }, { "constant": false, - "id": 768, + "id": 568, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 773, - "src": "2086:15:2", + "scope": 573, + "src": "2086:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11810,10 +11884,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 767, + "id": 567, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2086:7:2", + "src": "2086:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11823,65 +11897,66 @@ "visibility": "internal" } ], - "src": "2050:52:2" + "src": "2050:52:3" }, "payable": false, "returnParameters": { - "id": 770, + "id": 570, "nodeType": "ParameterList", "parameters": [], - "src": "2117:0:2" + "src": "2117:0:3" }, - "scope": 1478, - "src": "2027:251:2", + "scope": 1278, + "src": "2027:251:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 783, + "id": 583, "nodeType": "Block", - "src": "2381:95:2", + "src": "2381:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 780, + "declaration": 580, "isOffset": false, "isSlot": false, - "src": "2423:7:2", + "src": "2423:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 777, + "declaration": 577, "isOffset": false, "isSlot": false, - "src": "2444:6:2", + "src": "2444:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 775, + "declaration": 575, "isOffset": false, "isSlot": false, - "src": "2452:6:2", + "src": "2452:6:3", "valueSize": 1 } } ], - "id": 782, + "id": 582, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "2400:76:2" + "src": "2400:76:3" } ] }, - "id": 784, + "documentation": null, + "id": 584, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -11889,16 +11964,16 @@ "name": "bytesToInt8", "nodeType": "FunctionDefinition", "parameters": { - "id": 778, + "id": 578, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 775, + "id": 575, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 784, - "src": "2309:11:2", + "scope": 584, + "src": "2309:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11906,10 +11981,10 @@ "typeString": "uint256" }, "typeName": { - "id": 774, + "id": 574, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2309:4:2", + "src": "2309:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11920,45 +11995,45 @@ }, { "constant": false, - "id": 777, + "id": 577, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 784, - "src": "2322:20:2", + "scope": 584, + "src": "2322:20:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 776, + "id": 576, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2322:5:2", + "src": "2322:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "2308:35:2" + "src": "2308:35:3" }, "payable": false, "returnParameters": { - "id": 781, + "id": 581, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 780, + "id": 580, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 784, - "src": "2367:12:2", + "scope": 584, + "src": "2367:12:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11966,10 +12041,10 @@ "typeString": "int8" }, "typeName": { - "id": 779, + "id": 579, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "2367:4:2", + "src": "2367:4:3", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -11979,58 +12054,59 @@ "visibility": "internal" } ], - "src": "2366:14:2" + "src": "2366:14:3" }, - "scope": 1478, - "src": "2288:188:2", + "scope": 1278, + "src": "2288:188:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 794, + "id": 594, "nodeType": "Block", - "src": "2580:95:2", + "src": "2580:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 791, + "declaration": 591, "isOffset": false, "isSlot": false, - "src": "2622:7:2", + "src": "2622:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 788, + "declaration": 588, "isOffset": false, "isSlot": false, - "src": "2643:6:2", + "src": "2643:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 786, + "declaration": 586, "isOffset": false, "isSlot": false, - "src": "2651:6:2", + "src": "2651:6:3", "valueSize": 1 } } ], - "id": 793, + "id": 593, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "2599:76:2" + "src": "2599:76:3" } ] }, - "id": 795, + "documentation": null, + "id": 595, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -12038,16 +12114,16 @@ "name": "bytesToInt16", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 586, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 795, - "src": "2508:11:2", + "scope": 595, + "src": "2508:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12055,10 +12131,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 585, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2508:4:2", + "src": "2508:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12069,45 +12145,45 @@ }, { "constant": false, - "id": 788, + "id": 588, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 795, - "src": "2521:19:2", + "scope": 595, + "src": "2521:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 787, + "id": 587, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2521:5:2", + "src": "2521:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "2507:34:2" + "src": "2507:34:3" }, "payable": false, "returnParameters": { - "id": 792, + "id": 592, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 591, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 795, - "src": "2565:13:2", + "scope": 595, + "src": "2565:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12115,10 +12191,10 @@ "typeString": "int16" }, "typeName": { - "id": 790, + "id": 590, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "2565:5:2", + "src": "2565:5:3", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -12128,58 +12204,59 @@ "visibility": "internal" } ], - "src": "2564:15:2" + "src": "2564:15:3" }, - "scope": 1478, - "src": "2486:189:2", + "scope": 1278, + "src": "2486:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 805, + "id": 605, "nodeType": "Block", - "src": "2775:95:2", + "src": "2775:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 802, + "declaration": 602, "isOffset": false, "isSlot": false, - "src": "2817:7:2", + "src": "2817:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 799, + "declaration": 599, "isOffset": false, "isSlot": false, - "src": "2838:6:2", + "src": "2838:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 797, + "declaration": 597, "isOffset": false, "isSlot": false, - "src": "2846:6:2", + "src": "2846:6:3", "valueSize": 1 } } ], - "id": 804, + "id": 604, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "2794:76:2" + "src": "2794:76:3" } ] }, - "id": 806, + "documentation": null, + "id": 606, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -12187,16 +12264,16 @@ "name": "bytesToInt24", "nodeType": "FunctionDefinition", "parameters": { - "id": 800, + "id": 600, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 797, + "id": 597, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 806, - "src": "2703:11:2", + "scope": 606, + "src": "2703:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12204,10 +12281,10 @@ "typeString": "uint256" }, "typeName": { - "id": 796, + "id": 596, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2703:4:2", + "src": "2703:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12218,45 +12295,45 @@ }, { "constant": false, - "id": 799, + "id": 599, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 806, - "src": "2716:19:2", + "scope": 606, + "src": "2716:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 798, + "id": 598, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2716:5:2", + "src": "2716:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "2702:34:2" + "src": "2702:34:3" }, "payable": false, "returnParameters": { - "id": 803, + "id": 603, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 802, + "id": 602, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 806, - "src": "2760:13:2", + "scope": 606, + "src": "2760:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12264,10 +12341,10 @@ "typeString": "int24" }, "typeName": { - "id": 801, + "id": 601, "name": "int24", "nodeType": "ElementaryTypeName", - "src": "2760:5:2", + "src": "2760:5:3", "typeDescriptions": { "typeIdentifier": "t_int24", "typeString": "int24" @@ -12277,58 +12354,59 @@ "visibility": "internal" } ], - "src": "2759:15:2" + "src": "2759:15:3" }, - "scope": 1478, - "src": "2681:189:2", + "scope": 1278, + "src": "2681:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 816, + "id": 616, "nodeType": "Block", - "src": "2970:95:2", + "src": "2970:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 813, + "declaration": 613, "isOffset": false, "isSlot": false, - "src": "3012:7:2", + "src": "3012:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 810, + "declaration": 610, "isOffset": false, "isSlot": false, - "src": "3033:6:2", + "src": "3033:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 808, + "declaration": 608, "isOffset": false, "isSlot": false, - "src": "3041:6:2", + "src": "3041:6:3", "valueSize": 1 } } ], - "id": 815, + "id": 615, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "2989:76:2" + "src": "2989:76:3" } ] }, - "id": 817, + "documentation": null, + "id": 617, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -12336,16 +12414,16 @@ "name": "bytesToInt32", "nodeType": "FunctionDefinition", "parameters": { - "id": 811, + "id": 611, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 808, + "id": 608, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 817, - "src": "2898:11:2", + "scope": 617, + "src": "2898:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12353,10 +12431,10 @@ "typeString": "uint256" }, "typeName": { - "id": 807, + "id": 607, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2898:4:2", + "src": "2898:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12367,45 +12445,45 @@ }, { "constant": false, - "id": 810, + "id": 610, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 817, - "src": "2911:19:2", + "scope": 617, + "src": "2911:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 809, + "id": 609, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2911:5:2", + "src": "2911:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "2897:34:2" + "src": "2897:34:3" }, "payable": false, "returnParameters": { - "id": 814, + "id": 614, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 813, + "id": 613, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 817, - "src": "2955:13:2", + "scope": 617, + "src": "2955:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12413,10 +12491,10 @@ "typeString": "int32" }, "typeName": { - "id": 812, + "id": 612, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "2955:5:2", + "src": "2955:5:3", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -12426,58 +12504,59 @@ "visibility": "internal" } ], - "src": "2954:15:2" + "src": "2954:15:3" }, - "scope": 1478, - "src": "2876:189:2", + "scope": 1278, + "src": "2876:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 827, + "id": 627, "nodeType": "Block", - "src": "3165:95:2", + "src": "3165:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 824, + "declaration": 624, "isOffset": false, "isSlot": false, - "src": "3207:7:2", + "src": "3207:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 821, + "declaration": 621, "isOffset": false, "isSlot": false, - "src": "3228:6:2", + "src": "3228:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 819, + "declaration": 619, "isOffset": false, "isSlot": false, - "src": "3236:6:2", + "src": "3236:6:3", "valueSize": 1 } } ], - "id": 826, + "id": 626, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "3184:76:2" + "src": "3184:76:3" } ] }, - "id": 828, + "documentation": null, + "id": 628, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -12485,16 +12564,16 @@ "name": "bytesToInt40", "nodeType": "FunctionDefinition", "parameters": { - "id": 822, + "id": 622, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 819, + "id": 619, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 828, - "src": "3093:11:2", + "scope": 628, + "src": "3093:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12502,10 +12581,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 618, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3093:4:2", + "src": "3093:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12516,45 +12595,45 @@ }, { "constant": false, - "id": 821, + "id": 621, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 828, - "src": "3106:19:2", + "scope": 628, + "src": "3106:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 820, + "id": 620, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3106:5:2", + "src": "3106:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "3092:34:2" + "src": "3092:34:3" }, "payable": false, "returnParameters": { - "id": 825, + "id": 625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 824, + "id": 624, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 828, - "src": "3150:13:2", + "scope": 628, + "src": "3150:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12562,10 +12641,10 @@ "typeString": "int40" }, "typeName": { - "id": 823, + "id": 623, "name": "int40", "nodeType": "ElementaryTypeName", - "src": "3150:5:2", + "src": "3150:5:3", "typeDescriptions": { "typeIdentifier": "t_int40", "typeString": "int40" @@ -12575,58 +12654,59 @@ "visibility": "internal" } ], - "src": "3149:15:2" + "src": "3149:15:3" }, - "scope": 1478, - "src": "3071:189:2", + "scope": 1278, + "src": "3071:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 838, + "id": 638, "nodeType": "Block", - "src": "3360:95:2", + "src": "3360:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 835, + "declaration": 635, "isOffset": false, "isSlot": false, - "src": "3402:7:2", + "src": "3402:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 832, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "3423:6:2", + "src": "3423:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 830, + "declaration": 630, "isOffset": false, "isSlot": false, - "src": "3431:6:2", + "src": "3431:6:3", "valueSize": 1 } } ], - "id": 837, + "id": 637, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "3379:76:2" + "src": "3379:76:3" } ] }, - "id": 839, + "documentation": null, + "id": 639, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -12634,16 +12714,16 @@ "name": "bytesToInt48", "nodeType": "FunctionDefinition", "parameters": { - "id": 833, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 830, + "id": 630, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 839, - "src": "3288:11:2", + "scope": 639, + "src": "3288:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12651,10 +12731,10 @@ "typeString": "uint256" }, "typeName": { - "id": 829, + "id": 629, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3288:4:2", + "src": "3288:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12665,45 +12745,45 @@ }, { "constant": false, - "id": 832, + "id": 632, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 839, - "src": "3301:19:2", + "scope": 639, + "src": "3301:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 831, + "id": 631, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3301:5:2", + "src": "3301:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "3287:34:2" + "src": "3287:34:3" }, "payable": false, "returnParameters": { - "id": 836, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 835, + "id": 635, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 839, - "src": "3345:13:2", + "scope": 639, + "src": "3345:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12711,10 +12791,10 @@ "typeString": "int48" }, "typeName": { - "id": 834, + "id": 634, "name": "int48", "nodeType": "ElementaryTypeName", - "src": "3345:5:2", + "src": "3345:5:3", "typeDescriptions": { "typeIdentifier": "t_int48", "typeString": "int48" @@ -12724,58 +12804,59 @@ "visibility": "internal" } ], - "src": "3344:15:2" + "src": "3344:15:3" }, - "scope": 1478, - "src": "3266:189:2", + "scope": 1278, + "src": "3266:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 849, + "id": 649, "nodeType": "Block", - "src": "3555:95:2", + "src": "3555:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 846, + "declaration": 646, "isOffset": false, "isSlot": false, - "src": "3597:7:2", + "src": "3597:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 843, + "declaration": 643, "isOffset": false, "isSlot": false, - "src": "3618:6:2", + "src": "3618:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 841, + "declaration": 641, "isOffset": false, "isSlot": false, - "src": "3626:6:2", + "src": "3626:6:3", "valueSize": 1 } } ], - "id": 848, + "id": 648, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "3574:76:2" + "src": "3574:76:3" } ] }, - "id": 850, + "documentation": null, + "id": 650, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -12783,16 +12864,16 @@ "name": "bytesToInt56", "nodeType": "FunctionDefinition", "parameters": { - "id": 844, + "id": 644, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 841, + "id": 641, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 850, - "src": "3483:11:2", + "scope": 650, + "src": "3483:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12800,10 +12881,10 @@ "typeString": "uint256" }, "typeName": { - "id": 840, + "id": 640, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3483:4:2", + "src": "3483:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12814,45 +12895,45 @@ }, { "constant": false, - "id": 843, + "id": 643, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 850, - "src": "3496:19:2", + "scope": 650, + "src": "3496:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 842, + "id": 642, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3496:5:2", + "src": "3496:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "3482:34:2" + "src": "3482:34:3" }, "payable": false, "returnParameters": { - "id": 847, + "id": 647, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 846, + "id": 646, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 850, - "src": "3540:13:2", + "scope": 650, + "src": "3540:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12860,10 +12941,10 @@ "typeString": "int56" }, "typeName": { - "id": 845, + "id": 645, "name": "int56", "nodeType": "ElementaryTypeName", - "src": "3540:5:2", + "src": "3540:5:3", "typeDescriptions": { "typeIdentifier": "t_int56", "typeString": "int56" @@ -12873,58 +12954,59 @@ "visibility": "internal" } ], - "src": "3539:15:2" + "src": "3539:15:3" }, - "scope": 1478, - "src": "3461:189:2", + "scope": 1278, + "src": "3461:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 860, + "id": 660, "nodeType": "Block", - "src": "3750:95:2", + "src": "3750:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 857, + "declaration": 657, "isOffset": false, "isSlot": false, - "src": "3792:7:2", + "src": "3792:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 854, + "declaration": 654, "isOffset": false, "isSlot": false, - "src": "3813:6:2", + "src": "3813:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 852, + "declaration": 652, "isOffset": false, "isSlot": false, - "src": "3821:6:2", + "src": "3821:6:3", "valueSize": 1 } } ], - "id": 859, + "id": 659, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "3769:76:2" + "src": "3769:76:3" } ] }, - "id": 861, + "documentation": null, + "id": 661, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -12932,16 +13014,16 @@ "name": "bytesToInt64", "nodeType": "FunctionDefinition", "parameters": { - "id": 855, + "id": 655, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 852, + "id": 652, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 861, - "src": "3678:11:2", + "scope": 661, + "src": "3678:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12949,10 +13031,10 @@ "typeString": "uint256" }, "typeName": { - "id": 851, + "id": 651, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3678:4:2", + "src": "3678:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12963,45 +13045,45 @@ }, { "constant": false, - "id": 854, + "id": 654, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 861, - "src": "3691:19:2", + "scope": 661, + "src": "3691:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 853, + "id": 653, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3691:5:2", + "src": "3691:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "3677:34:2" + "src": "3677:34:3" }, "payable": false, "returnParameters": { - "id": 858, + "id": 658, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 857, + "id": 657, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 861, - "src": "3735:13:2", + "scope": 661, + "src": "3735:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13009,10 +13091,10 @@ "typeString": "int64" }, "typeName": { - "id": 856, + "id": 656, "name": "int64", "nodeType": "ElementaryTypeName", - "src": "3735:5:2", + "src": "3735:5:3", "typeDescriptions": { "typeIdentifier": "t_int64", "typeString": "int64" @@ -13022,58 +13104,59 @@ "visibility": "internal" } ], - "src": "3734:15:2" + "src": "3734:15:3" }, - "scope": 1478, - "src": "3656:189:2", + "scope": 1278, + "src": "3656:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 871, + "id": 671, "nodeType": "Block", - "src": "3945:95:2", + "src": "3945:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 868, + "declaration": 668, "isOffset": false, "isSlot": false, - "src": "3987:7:2", + "src": "3987:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 865, + "declaration": 665, "isOffset": false, "isSlot": false, - "src": "4008:6:2", + "src": "4008:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 863, + "declaration": 663, "isOffset": false, "isSlot": false, - "src": "4016:6:2", + "src": "4016:6:3", "valueSize": 1 } } ], - "id": 870, + "id": 670, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "3964:76:2" + "src": "3964:76:3" } ] }, - "id": 872, + "documentation": null, + "id": 672, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -13081,16 +13164,16 @@ "name": "bytesToInt72", "nodeType": "FunctionDefinition", "parameters": { - "id": 866, + "id": 666, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 863, + "id": 663, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 872, - "src": "3873:11:2", + "scope": 672, + "src": "3873:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13098,10 +13181,10 @@ "typeString": "uint256" }, "typeName": { - "id": 862, + "id": 662, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3873:4:2", + "src": "3873:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13112,45 +13195,45 @@ }, { "constant": false, - "id": 865, + "id": 665, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 872, - "src": "3886:19:2", + "scope": 672, + "src": "3886:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 864, + "id": 664, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3886:5:2", + "src": "3886:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "3872:34:2" + "src": "3872:34:3" }, "payable": false, "returnParameters": { - "id": 869, + "id": 669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 868, + "id": 668, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 872, - "src": "3930:13:2", + "scope": 672, + "src": "3930:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13158,10 +13241,10 @@ "typeString": "int72" }, "typeName": { - "id": 867, + "id": 667, "name": "int72", "nodeType": "ElementaryTypeName", - "src": "3930:5:2", + "src": "3930:5:3", "typeDescriptions": { "typeIdentifier": "t_int72", "typeString": "int72" @@ -13171,58 +13254,59 @@ "visibility": "internal" } ], - "src": "3929:15:2" + "src": "3929:15:3" }, - "scope": 1478, - "src": "3851:189:2", + "scope": 1278, + "src": "3851:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 882, + "id": 682, "nodeType": "Block", - "src": "4140:95:2", + "src": "4140:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 879, + "declaration": 679, "isOffset": false, "isSlot": false, - "src": "4182:7:2", + "src": "4182:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 876, + "declaration": 676, "isOffset": false, "isSlot": false, - "src": "4203:6:2", + "src": "4203:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 874, + "declaration": 674, "isOffset": false, "isSlot": false, - "src": "4211:6:2", + "src": "4211:6:3", "valueSize": 1 } } ], - "id": 881, + "id": 681, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "4159:76:2" + "src": "4159:76:3" } ] }, - "id": 883, + "documentation": null, + "id": 683, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -13230,16 +13314,16 @@ "name": "bytesToInt80", "nodeType": "FunctionDefinition", "parameters": { - "id": 877, + "id": 677, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 874, + "id": 674, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 883, - "src": "4068:11:2", + "scope": 683, + "src": "4068:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13247,10 +13331,10 @@ "typeString": "uint256" }, "typeName": { - "id": 873, + "id": 673, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4068:4:2", + "src": "4068:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13261,45 +13345,45 @@ }, { "constant": false, - "id": 876, + "id": 676, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 883, - "src": "4081:19:2", + "scope": 683, + "src": "4081:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 875, + "id": 675, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4081:5:2", + "src": "4081:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "4067:34:2" + "src": "4067:34:3" }, "payable": false, "returnParameters": { - "id": 880, + "id": 680, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 879, + "id": 679, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 883, - "src": "4125:13:2", + "scope": 683, + "src": "4125:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13307,10 +13391,10 @@ "typeString": "int80" }, "typeName": { - "id": 878, + "id": 678, "name": "int80", "nodeType": "ElementaryTypeName", - "src": "4125:5:2", + "src": "4125:5:3", "typeDescriptions": { "typeIdentifier": "t_int80", "typeString": "int80" @@ -13320,58 +13404,59 @@ "visibility": "internal" } ], - "src": "4124:15:2" + "src": "4124:15:3" }, - "scope": 1478, - "src": "4046:189:2", + "scope": 1278, + "src": "4046:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 893, + "id": 693, "nodeType": "Block", - "src": "4335:95:2", + "src": "4335:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 890, + "declaration": 690, "isOffset": false, "isSlot": false, - "src": "4377:7:2", + "src": "4377:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 887, + "declaration": 687, "isOffset": false, "isSlot": false, - "src": "4398:6:2", + "src": "4398:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 885, + "declaration": 685, "isOffset": false, "isSlot": false, - "src": "4406:6:2", + "src": "4406:6:3", "valueSize": 1 } } ], - "id": 892, + "id": 692, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "4354:76:2" + "src": "4354:76:3" } ] }, - "id": 894, + "documentation": null, + "id": 694, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -13379,16 +13464,16 @@ "name": "bytesToInt88", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 688, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 685, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 894, - "src": "4263:11:2", + "scope": 694, + "src": "4263:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13396,10 +13481,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 684, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4263:4:2", + "src": "4263:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13410,45 +13495,45 @@ }, { "constant": false, - "id": 887, + "id": 687, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 894, - "src": "4276:19:2", + "scope": 694, + "src": "4276:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 886, + "id": 686, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4276:5:2", + "src": "4276:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "4262:34:2" + "src": "4262:34:3" }, "payable": false, "returnParameters": { - "id": 891, + "id": 691, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 690, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 894, - "src": "4320:13:2", + "scope": 694, + "src": "4320:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13456,10 +13541,10 @@ "typeString": "int88" }, "typeName": { - "id": 889, + "id": 689, "name": "int88", "nodeType": "ElementaryTypeName", - "src": "4320:5:2", + "src": "4320:5:3", "typeDescriptions": { "typeIdentifier": "t_int88", "typeString": "int88" @@ -13469,58 +13554,59 @@ "visibility": "internal" } ], - "src": "4319:15:2" + "src": "4319:15:3" }, - "scope": 1478, - "src": "4241:189:2", + "scope": 1278, + "src": "4241:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 904, + "id": 704, "nodeType": "Block", - "src": "4530:95:2", + "src": "4530:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 901, + "declaration": 701, "isOffset": false, "isSlot": false, - "src": "4572:7:2", + "src": "4572:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 898, + "declaration": 698, "isOffset": false, "isSlot": false, - "src": "4593:6:2", + "src": "4593:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 896, + "declaration": 696, "isOffset": false, "isSlot": false, - "src": "4601:6:2", + "src": "4601:6:3", "valueSize": 1 } } ], - "id": 903, + "id": 703, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "4549:76:2" + "src": "4549:76:3" } ] }, - "id": 905, + "documentation": null, + "id": 705, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -13528,16 +13614,16 @@ "name": "bytesToInt96", "nodeType": "FunctionDefinition", "parameters": { - "id": 899, + "id": 699, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 896, + "id": 696, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 905, - "src": "4458:11:2", + "scope": 705, + "src": "4458:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13545,10 +13631,10 @@ "typeString": "uint256" }, "typeName": { - "id": 895, + "id": 695, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4458:4:2", + "src": "4458:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13559,45 +13645,45 @@ }, { "constant": false, - "id": 898, + "id": 698, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 905, - "src": "4471:19:2", + "scope": 705, + "src": "4471:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 897, + "id": 697, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4471:5:2", + "src": "4471:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "4457:34:2" + "src": "4457:34:3" }, "payable": false, "returnParameters": { - "id": 902, + "id": 702, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 901, + "id": 701, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 905, - "src": "4515:13:2", + "scope": 705, + "src": "4515:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13605,10 +13691,10 @@ "typeString": "int96" }, "typeName": { - "id": 900, + "id": 700, "name": "int96", "nodeType": "ElementaryTypeName", - "src": "4515:5:2", + "src": "4515:5:3", "typeDescriptions": { "typeIdentifier": "t_int96", "typeString": "int96" @@ -13618,58 +13704,59 @@ "visibility": "internal" } ], - "src": "4514:15:2" + "src": "4514:15:3" }, - "scope": 1478, - "src": "4436:189:2", + "scope": 1278, + "src": "4436:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 915, + "id": 715, "nodeType": "Block", - "src": "4725:95:2", + "src": "4725:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 912, + "declaration": 712, "isOffset": false, "isSlot": false, - "src": "4767:7:2", + "src": "4767:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 909, + "declaration": 709, "isOffset": false, "isSlot": false, - "src": "4788:6:2", + "src": "4788:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 907, + "declaration": 707, "isOffset": false, "isSlot": false, - "src": "4796:6:2", + "src": "4796:6:3", "valueSize": 1 } } ], - "id": 914, + "id": 714, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "4744:76:2" + "src": "4744:76:3" } ] }, - "id": 916, + "documentation": null, + "id": 716, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -13677,16 +13764,16 @@ "name": "bytesToInt104", "nodeType": "FunctionDefinition", "parameters": { - "id": 910, + "id": 710, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 907, + "id": 707, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 916, - "src": "4652:11:2", + "scope": 716, + "src": "4652:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13694,10 +13781,10 @@ "typeString": "uint256" }, "typeName": { - "id": 906, + "id": 706, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4652:4:2", + "src": "4652:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13708,45 +13795,45 @@ }, { "constant": false, - "id": 909, + "id": 709, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 916, - "src": "4665:19:2", + "scope": 716, + "src": "4665:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 908, + "id": 708, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4665:5:2", + "src": "4665:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "4651:34:2" + "src": "4651:34:3" }, "payable": false, "returnParameters": { - "id": 913, + "id": 713, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 712, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 916, - "src": "4709:14:2", + "scope": 716, + "src": "4709:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13754,10 +13841,10 @@ "typeString": "int104" }, "typeName": { - "id": 911, + "id": 711, "name": "int104", "nodeType": "ElementaryTypeName", - "src": "4709:6:2", + "src": "4709:6:3", "typeDescriptions": { "typeIdentifier": "t_int104", "typeString": "int104" @@ -13767,58 +13854,59 @@ "visibility": "internal" } ], - "src": "4708:16:2" + "src": "4708:16:3" }, - "scope": 1478, - "src": "4629:191:2", + "scope": 1278, + "src": "4629:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 926, + "id": 726, "nodeType": "Block", - "src": "4926:95:2", + "src": "4926:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 923, + "declaration": 723, "isOffset": false, "isSlot": false, - "src": "4968:7:2", + "src": "4968:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 920, + "declaration": 720, "isOffset": false, "isSlot": false, - "src": "4989:6:2", + "src": "4989:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 918, + "declaration": 718, "isOffset": false, "isSlot": false, - "src": "4997:6:2", + "src": "4997:6:3", "valueSize": 1 } } ], - "id": 925, + "id": 725, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "4945:76:2" + "src": "4945:76:3" } ] }, - "id": 927, + "documentation": null, + "id": 727, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -13826,16 +13914,16 @@ "name": "bytesToInt112", "nodeType": "FunctionDefinition", "parameters": { - "id": 921, + "id": 721, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 918, + "id": 718, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 927, - "src": "4853:11:2", + "scope": 727, + "src": "4853:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13843,10 +13931,10 @@ "typeString": "uint256" }, "typeName": { - "id": 917, + "id": 717, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4853:4:2", + "src": "4853:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13857,45 +13945,45 @@ }, { "constant": false, - "id": 920, + "id": 720, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 927, - "src": "4866:19:2", + "scope": 727, + "src": "4866:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 919, + "id": 719, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4866:5:2", + "src": "4866:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "4852:34:2" + "src": "4852:34:3" }, "payable": false, "returnParameters": { - "id": 924, + "id": 724, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 923, + "id": 723, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 927, - "src": "4910:14:2", + "scope": 727, + "src": "4910:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13903,10 +13991,10 @@ "typeString": "int112" }, "typeName": { - "id": 922, + "id": 722, "name": "int112", "nodeType": "ElementaryTypeName", - "src": "4910:6:2", + "src": "4910:6:3", "typeDescriptions": { "typeIdentifier": "t_int112", "typeString": "int112" @@ -13916,58 +14004,59 @@ "visibility": "internal" } ], - "src": "4909:16:2" + "src": "4909:16:3" }, - "scope": 1478, - "src": "4830:191:2", + "scope": 1278, + "src": "4830:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 937, + "id": 737, "nodeType": "Block", - "src": "5123:95:2", + "src": "5123:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 934, + "declaration": 734, "isOffset": false, "isSlot": false, - "src": "5165:7:2", + "src": "5165:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 931, + "declaration": 731, "isOffset": false, "isSlot": false, - "src": "5186:6:2", + "src": "5186:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 929, + "declaration": 729, "isOffset": false, "isSlot": false, - "src": "5194:6:2", + "src": "5194:6:3", "valueSize": 1 } } ], - "id": 936, + "id": 736, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "5142:76:2" + "src": "5142:76:3" } ] }, - "id": 938, + "documentation": null, + "id": 738, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -13975,16 +14064,16 @@ "name": "bytesToInt120", "nodeType": "FunctionDefinition", "parameters": { - "id": 932, + "id": 732, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 929, + "id": 729, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 938, - "src": "5050:11:2", + "scope": 738, + "src": "5050:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13992,10 +14081,10 @@ "typeString": "uint256" }, "typeName": { - "id": 928, + "id": 728, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5050:4:2", + "src": "5050:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14006,45 +14095,45 @@ }, { "constant": false, - "id": 931, + "id": 731, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 938, - "src": "5063:19:2", + "scope": 738, + "src": "5063:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 930, + "id": 730, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5063:5:2", + "src": "5063:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "5049:34:2" + "src": "5049:34:3" }, "payable": false, "returnParameters": { - "id": 935, + "id": 735, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 934, + "id": 734, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 938, - "src": "5107:14:2", + "scope": 738, + "src": "5107:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14052,10 +14141,10 @@ "typeString": "int120" }, "typeName": { - "id": 933, + "id": 733, "name": "int120", "nodeType": "ElementaryTypeName", - "src": "5107:6:2", + "src": "5107:6:3", "typeDescriptions": { "typeIdentifier": "t_int120", "typeString": "int120" @@ -14065,58 +14154,59 @@ "visibility": "internal" } ], - "src": "5106:16:2" + "src": "5106:16:3" }, - "scope": 1478, - "src": "5027:191:2", + "scope": 1278, + "src": "5027:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 948, + "id": 748, "nodeType": "Block", - "src": "5320:95:2", + "src": "5320:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 945, + "declaration": 745, "isOffset": false, "isSlot": false, - "src": "5362:7:2", + "src": "5362:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 942, + "declaration": 742, "isOffset": false, "isSlot": false, - "src": "5383:6:2", + "src": "5383:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 940, + "declaration": 740, "isOffset": false, "isSlot": false, - "src": "5391:6:2", + "src": "5391:6:3", "valueSize": 1 } } ], - "id": 947, + "id": 747, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "5339:76:2" + "src": "5339:76:3" } ] }, - "id": 949, + "documentation": null, + "id": 749, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -14124,16 +14214,16 @@ "name": "bytesToInt128", "nodeType": "FunctionDefinition", "parameters": { - "id": 943, + "id": 743, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 940, + "id": 740, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 949, - "src": "5247:11:2", + "scope": 749, + "src": "5247:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14141,10 +14231,10 @@ "typeString": "uint256" }, "typeName": { - "id": 939, + "id": 739, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5247:4:2", + "src": "5247:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14155,45 +14245,45 @@ }, { "constant": false, - "id": 942, + "id": 742, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 949, - "src": "5260:19:2", + "scope": 749, + "src": "5260:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 941, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5260:5:2", + "src": "5260:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "5246:34:2" + "src": "5246:34:3" }, "payable": false, "returnParameters": { - "id": 946, + "id": 746, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 945, + "id": 745, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 949, - "src": "5304:14:2", + "scope": 749, + "src": "5304:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14201,10 +14291,10 @@ "typeString": "int128" }, "typeName": { - "id": 944, + "id": 744, "name": "int128", "nodeType": "ElementaryTypeName", - "src": "5304:6:2", + "src": "5304:6:3", "typeDescriptions": { "typeIdentifier": "t_int128", "typeString": "int128" @@ -14214,58 +14304,59 @@ "visibility": "internal" } ], - "src": "5303:16:2" + "src": "5303:16:3" }, - "scope": 1478, - "src": "5224:191:2", + "scope": 1278, + "src": "5224:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 959, + "id": 759, "nodeType": "Block", - "src": "5517:95:2", + "src": "5517:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 956, + "declaration": 756, "isOffset": false, "isSlot": false, - "src": "5559:7:2", + "src": "5559:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 953, + "declaration": 753, "isOffset": false, "isSlot": false, - "src": "5580:6:2", + "src": "5580:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 951, + "declaration": 751, "isOffset": false, "isSlot": false, - "src": "5588:6:2", + "src": "5588:6:3", "valueSize": 1 } } ], - "id": 958, + "id": 758, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "5536:76:2" + "src": "5536:76:3" } ] }, - "id": 960, + "documentation": null, + "id": 760, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -14273,16 +14364,16 @@ "name": "bytesToInt136", "nodeType": "FunctionDefinition", "parameters": { - "id": 954, + "id": 754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 951, + "id": 751, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 960, - "src": "5444:11:2", + "scope": 760, + "src": "5444:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14290,10 +14381,10 @@ "typeString": "uint256" }, "typeName": { - "id": 950, + "id": 750, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5444:4:2", + "src": "5444:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14304,45 +14395,45 @@ }, { "constant": false, - "id": 953, + "id": 753, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 960, - "src": "5457:19:2", + "scope": 760, + "src": "5457:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 952, + "id": 752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5457:5:2", + "src": "5457:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "5443:34:2" + "src": "5443:34:3" }, "payable": false, "returnParameters": { - "id": 957, + "id": 757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 956, + "id": 756, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 960, - "src": "5501:14:2", + "scope": 760, + "src": "5501:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14350,10 +14441,10 @@ "typeString": "int136" }, "typeName": { - "id": 955, + "id": 755, "name": "int136", "nodeType": "ElementaryTypeName", - "src": "5501:6:2", + "src": "5501:6:3", "typeDescriptions": { "typeIdentifier": "t_int136", "typeString": "int136" @@ -14363,58 +14454,59 @@ "visibility": "internal" } ], - "src": "5500:16:2" + "src": "5500:16:3" }, - "scope": 1478, - "src": "5421:191:2", + "scope": 1278, + "src": "5421:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 970, + "id": 770, "nodeType": "Block", - "src": "5714:95:2", + "src": "5714:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 967, + "declaration": 767, "isOffset": false, "isSlot": false, - "src": "5756:7:2", + "src": "5756:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 964, + "declaration": 764, "isOffset": false, "isSlot": false, - "src": "5777:6:2", + "src": "5777:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 962, + "declaration": 762, "isOffset": false, "isSlot": false, - "src": "5785:6:2", + "src": "5785:6:3", "valueSize": 1 } } ], - "id": 969, + "id": 769, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "5733:76:2" + "src": "5733:76:3" } ] }, - "id": 971, + "documentation": null, + "id": 771, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -14422,16 +14514,16 @@ "name": "bytesToInt144", "nodeType": "FunctionDefinition", "parameters": { - "id": 965, + "id": 765, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 962, + "id": 762, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 971, - "src": "5641:11:2", + "scope": 771, + "src": "5641:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14439,10 +14531,10 @@ "typeString": "uint256" }, "typeName": { - "id": 961, + "id": 761, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5641:4:2", + "src": "5641:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14453,45 +14545,45 @@ }, { "constant": false, - "id": 964, + "id": 764, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 971, - "src": "5654:19:2", + "scope": 771, + "src": "5654:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 963, + "id": 763, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5654:5:2", + "src": "5654:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "5640:34:2" + "src": "5640:34:3" }, "payable": false, "returnParameters": { - "id": 968, + "id": 768, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 967, + "id": 767, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 971, - "src": "5698:14:2", + "scope": 771, + "src": "5698:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14499,10 +14591,10 @@ "typeString": "int144" }, "typeName": { - "id": 966, + "id": 766, "name": "int144", "nodeType": "ElementaryTypeName", - "src": "5698:6:2", + "src": "5698:6:3", "typeDescriptions": { "typeIdentifier": "t_int144", "typeString": "int144" @@ -14512,58 +14604,59 @@ "visibility": "internal" } ], - "src": "5697:16:2" + "src": "5697:16:3" }, - "scope": 1478, - "src": "5618:191:2", + "scope": 1278, + "src": "5618:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 981, + "id": 781, "nodeType": "Block", - "src": "5911:95:2", + "src": "5911:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 978, + "declaration": 778, "isOffset": false, "isSlot": false, - "src": "5953:7:2", + "src": "5953:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 975, + "declaration": 775, "isOffset": false, "isSlot": false, - "src": "5974:6:2", + "src": "5974:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 973, + "declaration": 773, "isOffset": false, "isSlot": false, - "src": "5982:6:2", + "src": "5982:6:3", "valueSize": 1 } } ], - "id": 980, + "id": 780, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "5930:76:2" + "src": "5930:76:3" } ] }, - "id": 982, + "documentation": null, + "id": 782, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -14571,16 +14664,16 @@ "name": "bytesToInt152", "nodeType": "FunctionDefinition", "parameters": { - "id": 976, + "id": 776, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 973, + "id": 773, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 982, - "src": "5838:11:2", + "scope": 782, + "src": "5838:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14588,10 +14681,10 @@ "typeString": "uint256" }, "typeName": { - "id": 972, + "id": 772, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5838:4:2", + "src": "5838:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14602,45 +14695,45 @@ }, { "constant": false, - "id": 975, + "id": 775, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 982, - "src": "5851:19:2", + "scope": 782, + "src": "5851:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 974, + "id": 774, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5851:5:2", + "src": "5851:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "5837:34:2" + "src": "5837:34:3" }, "payable": false, "returnParameters": { - "id": 979, + "id": 779, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 978, + "id": 778, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 982, - "src": "5895:14:2", + "scope": 782, + "src": "5895:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14648,10 +14741,10 @@ "typeString": "int152" }, "typeName": { - "id": 977, + "id": 777, "name": "int152", "nodeType": "ElementaryTypeName", - "src": "5895:6:2", + "src": "5895:6:3", "typeDescriptions": { "typeIdentifier": "t_int152", "typeString": "int152" @@ -14661,58 +14754,59 @@ "visibility": "internal" } ], - "src": "5894:16:2" + "src": "5894:16:3" }, - "scope": 1478, - "src": "5815:191:2", + "scope": 1278, + "src": "5815:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 992, + "id": 792, "nodeType": "Block", - "src": "6108:95:2", + "src": "6108:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 989, + "declaration": 789, "isOffset": false, "isSlot": false, - "src": "6150:7:2", + "src": "6150:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 986, + "declaration": 786, "isOffset": false, "isSlot": false, - "src": "6171:6:2", + "src": "6171:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 984, + "declaration": 784, "isOffset": false, "isSlot": false, - "src": "6179:6:2", + "src": "6179:6:3", "valueSize": 1 } } ], - "id": 991, + "id": 791, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "6127:76:2" + "src": "6127:76:3" } ] }, - "id": 993, + "documentation": null, + "id": 793, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -14720,16 +14814,16 @@ "name": "bytesToInt160", "nodeType": "FunctionDefinition", "parameters": { - "id": 987, + "id": 787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 984, + "id": 784, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 993, - "src": "6035:11:2", + "scope": 793, + "src": "6035:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14737,10 +14831,10 @@ "typeString": "uint256" }, "typeName": { - "id": 983, + "id": 783, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6035:4:2", + "src": "6035:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14751,45 +14845,45 @@ }, { "constant": false, - "id": 986, + "id": 786, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 993, - "src": "6048:19:2", + "scope": 793, + "src": "6048:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 985, + "id": 785, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6048:5:2", + "src": "6048:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "6034:34:2" + "src": "6034:34:3" }, "payable": false, "returnParameters": { - "id": 990, + "id": 790, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 989, + "id": 789, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 993, - "src": "6092:14:2", + "scope": 793, + "src": "6092:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14797,10 +14891,10 @@ "typeString": "int160" }, "typeName": { - "id": 988, + "id": 788, "name": "int160", "nodeType": "ElementaryTypeName", - "src": "6092:6:2", + "src": "6092:6:3", "typeDescriptions": { "typeIdentifier": "t_int160", "typeString": "int160" @@ -14810,58 +14904,59 @@ "visibility": "internal" } ], - "src": "6091:16:2" + "src": "6091:16:3" }, - "scope": 1478, - "src": "6012:191:2", + "scope": 1278, + "src": "6012:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1003, + "id": 803, "nodeType": "Block", - "src": "6305:95:2", + "src": "6305:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1000, + "declaration": 800, "isOffset": false, "isSlot": false, - "src": "6347:7:2", + "src": "6347:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 997, + "declaration": 797, "isOffset": false, "isSlot": false, - "src": "6368:6:2", + "src": "6368:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 995, + "declaration": 795, "isOffset": false, "isSlot": false, - "src": "6376:6:2", + "src": "6376:6:3", "valueSize": 1 } } ], - "id": 1002, + "id": 802, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "6324:76:2" + "src": "6324:76:3" } ] }, - "id": 1004, + "documentation": null, + "id": 804, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -14869,16 +14964,16 @@ "name": "bytesToInt168", "nodeType": "FunctionDefinition", "parameters": { - "id": 998, + "id": 798, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 995, + "id": 795, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1004, - "src": "6232:11:2", + "scope": 804, + "src": "6232:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14886,10 +14981,10 @@ "typeString": "uint256" }, "typeName": { - "id": 994, + "id": 794, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6232:4:2", + "src": "6232:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14900,45 +14995,45 @@ }, { "constant": false, - "id": 997, + "id": 797, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1004, - "src": "6245:19:2", + "scope": 804, + "src": "6245:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 996, + "id": 796, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6245:5:2", + "src": "6245:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "6231:34:2" + "src": "6231:34:3" }, "payable": false, "returnParameters": { - "id": 1001, + "id": 801, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1000, + "id": 800, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1004, - "src": "6289:14:2", + "scope": 804, + "src": "6289:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14946,10 +15041,10 @@ "typeString": "int168" }, "typeName": { - "id": 999, + "id": 799, "name": "int168", "nodeType": "ElementaryTypeName", - "src": "6289:6:2", + "src": "6289:6:3", "typeDescriptions": { "typeIdentifier": "t_int168", "typeString": "int168" @@ -14959,58 +15054,59 @@ "visibility": "internal" } ], - "src": "6288:16:2" + "src": "6288:16:3" }, - "scope": 1478, - "src": "6209:191:2", + "scope": 1278, + "src": "6209:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1014, + "id": 814, "nodeType": "Block", - "src": "6502:95:2", + "src": "6502:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1011, + "declaration": 811, "isOffset": false, "isSlot": false, - "src": "6544:7:2", + "src": "6544:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1008, + "declaration": 808, "isOffset": false, "isSlot": false, - "src": "6565:6:2", + "src": "6565:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1006, + "declaration": 806, "isOffset": false, "isSlot": false, - "src": "6573:6:2", + "src": "6573:6:3", "valueSize": 1 } } ], - "id": 1013, + "id": 813, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "6521:76:2" + "src": "6521:76:3" } ] }, - "id": 1015, + "documentation": null, + "id": 815, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -15018,16 +15114,16 @@ "name": "bytesToInt176", "nodeType": "FunctionDefinition", "parameters": { - "id": 1009, + "id": 809, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1006, + "id": 806, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1015, - "src": "6429:11:2", + "scope": 815, + "src": "6429:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15035,10 +15131,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1005, + "id": 805, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6429:4:2", + "src": "6429:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15049,45 +15145,45 @@ }, { "constant": false, - "id": 1008, + "id": 808, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1015, - "src": "6442:19:2", + "scope": 815, + "src": "6442:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1007, + "id": 807, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6442:5:2", + "src": "6442:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "6428:34:2" + "src": "6428:34:3" }, "payable": false, "returnParameters": { - "id": 1012, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1011, + "id": 811, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1015, - "src": "6486:14:2", + "scope": 815, + "src": "6486:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15095,10 +15191,10 @@ "typeString": "int176" }, "typeName": { - "id": 1010, + "id": 810, "name": "int176", "nodeType": "ElementaryTypeName", - "src": "6486:6:2", + "src": "6486:6:3", "typeDescriptions": { "typeIdentifier": "t_int176", "typeString": "int176" @@ -15108,58 +15204,59 @@ "visibility": "internal" } ], - "src": "6485:16:2" + "src": "6485:16:3" }, - "scope": 1478, - "src": "6406:191:2", + "scope": 1278, + "src": "6406:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1025, + "id": 825, "nodeType": "Block", - "src": "6699:95:2", + "src": "6699:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1022, + "declaration": 822, "isOffset": false, "isSlot": false, - "src": "6741:7:2", + "src": "6741:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1019, + "declaration": 819, "isOffset": false, "isSlot": false, - "src": "6762:6:2", + "src": "6762:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1017, + "declaration": 817, "isOffset": false, "isSlot": false, - "src": "6770:6:2", + "src": "6770:6:3", "valueSize": 1 } } ], - "id": 1024, + "id": 824, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "6718:76:2" + "src": "6718:76:3" } ] }, - "id": 1026, + "documentation": null, + "id": 826, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -15167,16 +15264,16 @@ "name": "bytesToInt184", "nodeType": "FunctionDefinition", "parameters": { - "id": 1020, + "id": 820, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1017, + "id": 817, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1026, - "src": "6626:11:2", + "scope": 826, + "src": "6626:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15184,10 +15281,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1016, + "id": 816, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6626:4:2", + "src": "6626:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15198,45 +15295,45 @@ }, { "constant": false, - "id": 1019, + "id": 819, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1026, - "src": "6639:19:2", + "scope": 826, + "src": "6639:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1018, + "id": 818, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6639:5:2", + "src": "6639:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "6625:34:2" + "src": "6625:34:3" }, "payable": false, "returnParameters": { - "id": 1023, + "id": 823, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1022, + "id": 822, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1026, - "src": "6683:14:2", + "scope": 826, + "src": "6683:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15244,10 +15341,10 @@ "typeString": "int184" }, "typeName": { - "id": 1021, + "id": 821, "name": "int184", "nodeType": "ElementaryTypeName", - "src": "6683:6:2", + "src": "6683:6:3", "typeDescriptions": { "typeIdentifier": "t_int184", "typeString": "int184" @@ -15257,58 +15354,59 @@ "visibility": "internal" } ], - "src": "6682:16:2" + "src": "6682:16:3" }, - "scope": 1478, - "src": "6603:191:2", + "scope": 1278, + "src": "6603:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1036, + "id": 836, "nodeType": "Block", - "src": "6896:95:2", + "src": "6896:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1033, + "declaration": 833, "isOffset": false, "isSlot": false, - "src": "6938:7:2", + "src": "6938:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1030, + "declaration": 830, "isOffset": false, "isSlot": false, - "src": "6959:6:2", + "src": "6959:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1028, + "declaration": 828, "isOffset": false, "isSlot": false, - "src": "6967:6:2", + "src": "6967:6:3", "valueSize": 1 } } ], - "id": 1035, + "id": 835, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "6915:76:2" + "src": "6915:76:3" } ] }, - "id": 1037, + "documentation": null, + "id": 837, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -15316,16 +15414,16 @@ "name": "bytesToInt192", "nodeType": "FunctionDefinition", "parameters": { - "id": 1031, + "id": 831, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1028, + "id": 828, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1037, - "src": "6823:11:2", + "scope": 837, + "src": "6823:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15333,10 +15431,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1027, + "id": 827, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6823:4:2", + "src": "6823:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15347,45 +15445,45 @@ }, { "constant": false, - "id": 1030, + "id": 830, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1037, - "src": "6836:19:2", + "scope": 837, + "src": "6836:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1029, + "id": 829, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6836:5:2", + "src": "6836:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "6822:34:2" + "src": "6822:34:3" }, "payable": false, "returnParameters": { - "id": 1034, + "id": 834, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1033, + "id": 833, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1037, - "src": "6880:14:2", + "scope": 837, + "src": "6880:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15393,10 +15491,10 @@ "typeString": "int192" }, "typeName": { - "id": 1032, + "id": 832, "name": "int192", "nodeType": "ElementaryTypeName", - "src": "6880:6:2", + "src": "6880:6:3", "typeDescriptions": { "typeIdentifier": "t_int192", "typeString": "int192" @@ -15406,58 +15504,59 @@ "visibility": "internal" } ], - "src": "6879:16:2" + "src": "6879:16:3" }, - "scope": 1478, - "src": "6800:191:2", + "scope": 1278, + "src": "6800:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1047, + "id": 847, "nodeType": "Block", - "src": "7093:95:2", + "src": "7093:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1044, + "declaration": 844, "isOffset": false, "isSlot": false, - "src": "7135:7:2", + "src": "7135:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1041, + "declaration": 841, "isOffset": false, "isSlot": false, - "src": "7156:6:2", + "src": "7156:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1039, + "declaration": 839, "isOffset": false, "isSlot": false, - "src": "7164:6:2", + "src": "7164:6:3", "valueSize": 1 } } ], - "id": 1046, + "id": 846, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "7112:76:2" + "src": "7112:76:3" } ] }, - "id": 1048, + "documentation": null, + "id": 848, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -15465,16 +15564,16 @@ "name": "bytesToInt200", "nodeType": "FunctionDefinition", "parameters": { - "id": 1042, + "id": 842, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1039, + "id": 839, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1048, - "src": "7020:11:2", + "scope": 848, + "src": "7020:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15482,10 +15581,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1038, + "id": 838, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "7020:4:2", + "src": "7020:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15496,45 +15595,45 @@ }, { "constant": false, - "id": 1041, + "id": 841, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1048, - "src": "7033:19:2", + "scope": 848, + "src": "7033:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1040, + "id": 840, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7033:5:2", + "src": "7033:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "7019:34:2" + "src": "7019:34:3" }, "payable": false, "returnParameters": { - "id": 1045, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1044, + "id": 844, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1048, - "src": "7077:14:2", + "scope": 848, + "src": "7077:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15542,10 +15641,10 @@ "typeString": "int200" }, "typeName": { - "id": 1043, + "id": 843, "name": "int200", "nodeType": "ElementaryTypeName", - "src": "7077:6:2", + "src": "7077:6:3", "typeDescriptions": { "typeIdentifier": "t_int200", "typeString": "int200" @@ -15555,58 +15654,59 @@ "visibility": "internal" } ], - "src": "7076:16:2" + "src": "7076:16:3" }, - "scope": 1478, - "src": "6997:191:2", + "scope": 1278, + "src": "6997:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1058, + "id": 858, "nodeType": "Block", - "src": "7290:95:2", + "src": "7290:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1055, + "declaration": 855, "isOffset": false, "isSlot": false, - "src": "7332:7:2", + "src": "7332:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1052, + "declaration": 852, "isOffset": false, "isSlot": false, - "src": "7353:6:2", + "src": "7353:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1050, + "declaration": 850, "isOffset": false, "isSlot": false, - "src": "7361:6:2", + "src": "7361:6:3", "valueSize": 1 } } ], - "id": 1057, + "id": 857, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "7309:76:2" + "src": "7309:76:3" } ] }, - "id": 1059, + "documentation": null, + "id": 859, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -15614,16 +15714,16 @@ "name": "bytesToInt208", "nodeType": "FunctionDefinition", "parameters": { - "id": 1053, + "id": 853, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1050, + "id": 850, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1059, - "src": "7217:11:2", + "scope": 859, + "src": "7217:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15631,10 +15731,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1049, + "id": 849, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "7217:4:2", + "src": "7217:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15645,45 +15745,45 @@ }, { "constant": false, - "id": 1052, + "id": 852, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1059, - "src": "7230:19:2", + "scope": 859, + "src": "7230:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1051, + "id": 851, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7230:5:2", + "src": "7230:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "7216:34:2" + "src": "7216:34:3" }, "payable": false, "returnParameters": { - "id": 1056, + "id": 856, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1055, + "id": 855, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1059, - "src": "7274:14:2", + "scope": 859, + "src": "7274:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15691,10 +15791,10 @@ "typeString": "int208" }, "typeName": { - "id": 1054, + "id": 854, "name": "int208", "nodeType": "ElementaryTypeName", - "src": "7274:6:2", + "src": "7274:6:3", "typeDescriptions": { "typeIdentifier": "t_int208", "typeString": "int208" @@ -15704,58 +15804,59 @@ "visibility": "internal" } ], - "src": "7273:16:2" + "src": "7273:16:3" }, - "scope": 1478, - "src": "7194:191:2", + "scope": 1278, + "src": "7194:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1069, + "id": 869, "nodeType": "Block", - "src": "7487:95:2", + "src": "7487:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1066, + "declaration": 866, "isOffset": false, "isSlot": false, - "src": "7529:7:2", + "src": "7529:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1063, + "declaration": 863, "isOffset": false, "isSlot": false, - "src": "7550:6:2", + "src": "7550:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1061, + "declaration": 861, "isOffset": false, "isSlot": false, - "src": "7558:6:2", + "src": "7558:6:3", "valueSize": 1 } } ], - "id": 1068, + "id": 868, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "7506:76:2" + "src": "7506:76:3" } ] }, - "id": 1070, + "documentation": null, + "id": 870, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -15763,16 +15864,16 @@ "name": "bytesToInt216", "nodeType": "FunctionDefinition", "parameters": { - "id": 1064, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1061, + "id": 861, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1070, - "src": "7414:11:2", + "scope": 870, + "src": "7414:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15780,10 +15881,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1060, + "id": 860, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "7414:4:2", + "src": "7414:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15794,45 +15895,45 @@ }, { "constant": false, - "id": 1063, + "id": 863, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1070, - "src": "7427:19:2", + "scope": 870, + "src": "7427:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1062, + "id": 862, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7427:5:2", + "src": "7427:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "7413:34:2" + "src": "7413:34:3" }, "payable": false, "returnParameters": { - "id": 1067, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1066, + "id": 866, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1070, - "src": "7471:14:2", + "scope": 870, + "src": "7471:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15840,10 +15941,10 @@ "typeString": "int216" }, "typeName": { - "id": 1065, + "id": 865, "name": "int216", "nodeType": "ElementaryTypeName", - "src": "7471:6:2", + "src": "7471:6:3", "typeDescriptions": { "typeIdentifier": "t_int216", "typeString": "int216" @@ -15853,58 +15954,59 @@ "visibility": "internal" } ], - "src": "7470:16:2" + "src": "7470:16:3" }, - "scope": 1478, - "src": "7391:191:2", + "scope": 1278, + "src": "7391:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1080, + "id": 880, "nodeType": "Block", - "src": "7684:95:2", + "src": "7684:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1077, + "declaration": 877, "isOffset": false, "isSlot": false, - "src": "7726:7:2", + "src": "7726:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1074, + "declaration": 874, "isOffset": false, "isSlot": false, - "src": "7747:6:2", + "src": "7747:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1072, + "declaration": 872, "isOffset": false, "isSlot": false, - "src": "7755:6:2", + "src": "7755:6:3", "valueSize": 1 } } ], - "id": 1079, + "id": 879, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "7703:76:2" + "src": "7703:76:3" } ] }, - "id": 1081, + "documentation": null, + "id": 881, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -15912,16 +16014,16 @@ "name": "bytesToInt224", "nodeType": "FunctionDefinition", "parameters": { - "id": 1075, + "id": 875, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 872, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1081, - "src": "7611:11:2", + "scope": 881, + "src": "7611:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15929,10 +16031,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 871, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "7611:4:2", + "src": "7611:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15943,45 +16045,45 @@ }, { "constant": false, - "id": 1074, + "id": 874, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1081, - "src": "7624:19:2", + "scope": 881, + "src": "7624:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1073, + "id": 873, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7624:5:2", + "src": "7624:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "7610:34:2" + "src": "7610:34:3" }, "payable": false, "returnParameters": { - "id": 1078, + "id": 878, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1077, + "id": 877, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1081, - "src": "7668:14:2", + "scope": 881, + "src": "7668:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15989,10 +16091,10 @@ "typeString": "int224" }, "typeName": { - "id": 1076, + "id": 876, "name": "int224", "nodeType": "ElementaryTypeName", - "src": "7668:6:2", + "src": "7668:6:3", "typeDescriptions": { "typeIdentifier": "t_int224", "typeString": "int224" @@ -16002,58 +16104,59 @@ "visibility": "internal" } ], - "src": "7667:16:2" + "src": "7667:16:3" }, - "scope": 1478, - "src": "7588:191:2", + "scope": 1278, + "src": "7588:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1091, + "id": 891, "nodeType": "Block", - "src": "7881:95:2", + "src": "7881:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1088, + "declaration": 888, "isOffset": false, "isSlot": false, - "src": "7923:7:2", + "src": "7923:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1085, + "declaration": 885, "isOffset": false, "isSlot": false, - "src": "7944:6:2", + "src": "7944:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1083, + "declaration": 883, "isOffset": false, "isSlot": false, - "src": "7952:6:2", + "src": "7952:6:3", "valueSize": 1 } } ], - "id": 1090, + "id": 890, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "7900:76:2" + "src": "7900:76:3" } ] }, - "id": 1092, + "documentation": null, + "id": 892, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -16061,16 +16164,16 @@ "name": "bytesToInt232", "nodeType": "FunctionDefinition", "parameters": { - "id": 1086, + "id": 886, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1083, + "id": 883, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1092, - "src": "7808:11:2", + "scope": 892, + "src": "7808:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16078,10 +16181,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1082, + "id": 882, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "7808:4:2", + "src": "7808:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16092,45 +16195,45 @@ }, { "constant": false, - "id": 1085, + "id": 885, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1092, - "src": "7821:19:2", + "scope": 892, + "src": "7821:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1084, + "id": 884, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7821:5:2", + "src": "7821:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "7807:34:2" + "src": "7807:34:3" }, "payable": false, "returnParameters": { - "id": 1089, + "id": 889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1088, + "id": 888, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1092, - "src": "7865:14:2", + "scope": 892, + "src": "7865:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16138,10 +16241,10 @@ "typeString": "int232" }, "typeName": { - "id": 1087, + "id": 887, "name": "int232", "nodeType": "ElementaryTypeName", - "src": "7865:6:2", + "src": "7865:6:3", "typeDescriptions": { "typeIdentifier": "t_int232", "typeString": "int232" @@ -16151,58 +16254,59 @@ "visibility": "internal" } ], - "src": "7864:16:2" + "src": "7864:16:3" }, - "scope": 1478, - "src": "7785:191:2", + "scope": 1278, + "src": "7785:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1102, + "id": 902, "nodeType": "Block", - "src": "8078:95:2", + "src": "8078:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1099, + "declaration": 899, "isOffset": false, "isSlot": false, - "src": "8120:7:2", + "src": "8120:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1096, + "declaration": 896, "isOffset": false, "isSlot": false, - "src": "8141:6:2", + "src": "8141:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1094, + "declaration": 894, "isOffset": false, "isSlot": false, - "src": "8149:6:2", + "src": "8149:6:3", "valueSize": 1 } } ], - "id": 1101, + "id": 901, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "8097:76:2" + "src": "8097:76:3" } ] }, - "id": 1103, + "documentation": null, + "id": 903, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -16210,16 +16314,16 @@ "name": "bytesToInt240", "nodeType": "FunctionDefinition", "parameters": { - "id": 1097, + "id": 897, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1094, + "id": 894, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1103, - "src": "8005:11:2", + "scope": 903, + "src": "8005:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16227,10 +16331,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1093, + "id": 893, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8005:4:2", + "src": "8005:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16241,45 +16345,45 @@ }, { "constant": false, - "id": 1096, + "id": 896, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1103, - "src": "8018:19:2", + "scope": 903, + "src": "8018:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1095, + "id": 895, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8018:5:2", + "src": "8018:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "8004:34:2" + "src": "8004:34:3" }, "payable": false, "returnParameters": { - "id": 1100, + "id": 900, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1099, + "id": 899, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1103, - "src": "8062:14:2", + "scope": 903, + "src": "8062:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16287,10 +16391,10 @@ "typeString": "int240" }, "typeName": { - "id": 1098, + "id": 898, "name": "int240", "nodeType": "ElementaryTypeName", - "src": "8062:6:2", + "src": "8062:6:3", "typeDescriptions": { "typeIdentifier": "t_int240", "typeString": "int240" @@ -16300,58 +16404,59 @@ "visibility": "internal" } ], - "src": "8061:16:2" + "src": "8061:16:3" }, - "scope": 1478, - "src": "7982:191:2", + "scope": 1278, + "src": "7982:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1113, + "id": 913, "nodeType": "Block", - "src": "8275:95:2", + "src": "8275:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1110, + "declaration": 910, "isOffset": false, "isSlot": false, - "src": "8317:7:2", + "src": "8317:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1107, + "declaration": 907, "isOffset": false, "isSlot": false, - "src": "8338:6:2", + "src": "8338:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1105, + "declaration": 905, "isOffset": false, "isSlot": false, - "src": "8346:6:2", + "src": "8346:6:3", "valueSize": 1 } } ], - "id": 1112, + "id": 912, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "8294:76:2" + "src": "8294:76:3" } ] }, - "id": 1114, + "documentation": null, + "id": 914, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -16359,16 +16464,16 @@ "name": "bytesToInt248", "nodeType": "FunctionDefinition", "parameters": { - "id": 1108, + "id": 908, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1105, + "id": 905, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1114, - "src": "8202:11:2", + "scope": 914, + "src": "8202:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16376,10 +16481,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1104, + "id": 904, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8202:4:2", + "src": "8202:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16390,45 +16495,45 @@ }, { "constant": false, - "id": 1107, + "id": 907, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1114, - "src": "8215:19:2", + "scope": 914, + "src": "8215:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1106, + "id": 906, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8215:5:2", + "src": "8215:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "8201:34:2" + "src": "8201:34:3" }, "payable": false, "returnParameters": { - "id": 1111, + "id": 911, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1110, + "id": 910, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1114, - "src": "8259:14:2", + "scope": 914, + "src": "8259:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16436,10 +16541,10 @@ "typeString": "int248" }, "typeName": { - "id": 1109, + "id": 909, "name": "int248", "nodeType": "ElementaryTypeName", - "src": "8259:6:2", + "src": "8259:6:3", "typeDescriptions": { "typeIdentifier": "t_int248", "typeString": "int248" @@ -16449,58 +16554,59 @@ "visibility": "internal" } ], - "src": "8258:16:2" + "src": "8258:16:3" }, - "scope": 1478, - "src": "8179:191:2", + "scope": 1278, + "src": "8179:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1124, + "id": 924, "nodeType": "Block", - "src": "8472:95:2", + "src": "8472:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1121, + "declaration": 921, "isOffset": false, "isSlot": false, - "src": "8514:7:2", + "src": "8514:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1118, + "declaration": 918, "isOffset": false, "isSlot": false, - "src": "8535:6:2", + "src": "8535:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1116, + "declaration": 916, "isOffset": false, "isSlot": false, - "src": "8543:6:2", + "src": "8543:6:3", "valueSize": 1 } } ], - "id": 1123, + "id": 923, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "8491:76:2" + "src": "8491:76:3" } ] }, - "id": 1125, + "documentation": null, + "id": 925, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -16508,16 +16614,16 @@ "name": "bytesToInt256", "nodeType": "FunctionDefinition", "parameters": { - "id": 1119, + "id": 919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1116, + "id": 916, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1125, - "src": "8399:11:2", + "scope": 925, + "src": "8399:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16525,10 +16631,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1115, + "id": 915, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8399:4:2", + "src": "8399:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16539,45 +16645,45 @@ }, { "constant": false, - "id": 1118, + "id": 918, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1125, - "src": "8412:19:2", + "scope": 925, + "src": "8412:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1117, + "id": 917, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8412:5:2", + "src": "8412:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "8398:34:2" + "src": "8398:34:3" }, "payable": false, "returnParameters": { - "id": 1122, + "id": 922, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1121, + "id": 921, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1125, - "src": "8456:14:2", + "scope": 925, + "src": "8456:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16585,10 +16691,10 @@ "typeString": "int256" }, "typeName": { - "id": 1120, + "id": 920, "name": "int256", "nodeType": "ElementaryTypeName", - "src": "8456:6:2", + "src": "8456:6:3", "typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" @@ -16598,58 +16704,59 @@ "visibility": "internal" } ], - "src": "8455:16:2" + "src": "8455:16:3" }, - "scope": 1478, - "src": "8376:191:2", + "scope": 1278, + "src": "8376:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1135, + "id": 935, "nodeType": "Block", - "src": "8664:95:2", + "src": "8664:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1132, + "declaration": 932, "isOffset": false, "isSlot": false, - "src": "8706:7:2", + "src": "8706:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1129, + "declaration": 929, "isOffset": false, "isSlot": false, - "src": "8727:6:2", + "src": "8727:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1127, + "declaration": 927, "isOffset": false, "isSlot": false, - "src": "8735:6:2", + "src": "8735:6:3", "valueSize": 1 } } ], - "id": 1134, + "id": 934, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "8683:76:2" + "src": "8683:76:3" } ] }, - "id": 1136, + "documentation": null, + "id": 936, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -16657,16 +16764,16 @@ "name": "bytesToUint8", "nodeType": "FunctionDefinition", "parameters": { - "id": 1130, + "id": 930, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1127, + "id": 927, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1136, - "src": "8592:11:2", + "scope": 936, + "src": "8592:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16674,10 +16781,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1126, + "id": 926, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8592:4:2", + "src": "8592:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16688,45 +16795,45 @@ }, { "constant": false, - "id": 1129, + "id": 929, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1136, - "src": "8605:19:2", + "scope": 936, + "src": "8605:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1128, + "id": 928, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8605:5:2", + "src": "8605:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "8591:34:2" + "src": "8591:34:3" }, "payable": false, "returnParameters": { - "id": 1133, + "id": 933, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1132, + "id": 932, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1136, - "src": "8649:13:2", + "scope": 936, + "src": "8649:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16734,10 +16841,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1131, + "id": 931, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "8649:5:2", + "src": "8649:5:3", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -16747,58 +16854,59 @@ "visibility": "internal" } ], - "src": "8648:15:2" + "src": "8648:15:3" }, - "scope": 1478, - "src": "8570:189:2", + "scope": 1278, + "src": "8570:189:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1146, + "id": 946, "nodeType": "Block", - "src": "8859:95:2", + "src": "8859:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1143, + "declaration": 943, "isOffset": false, "isSlot": false, - "src": "8901:7:2", + "src": "8901:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1140, + "declaration": 940, "isOffset": false, "isSlot": false, - "src": "8922:6:2", + "src": "8922:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1138, + "declaration": 938, "isOffset": false, "isSlot": false, - "src": "8930:6:2", + "src": "8930:6:3", "valueSize": 1 } } ], - "id": 1145, + "id": 945, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "8878:76:2" + "src": "8878:76:3" } ] }, - "id": 1147, + "documentation": null, + "id": 947, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -16806,16 +16914,16 @@ "name": "bytesToUint16", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1138, + "id": 938, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1147, - "src": "8786:11:2", + "scope": 947, + "src": "8786:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16823,10 +16931,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1137, + "id": 937, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8786:4:2", + "src": "8786:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16837,45 +16945,45 @@ }, { "constant": false, - "id": 1140, + "id": 940, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1147, - "src": "8799:19:2", + "scope": 947, + "src": "8799:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1139, + "id": 939, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8799:5:2", + "src": "8799:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "8785:34:2" + "src": "8785:34:3" }, "payable": false, "returnParameters": { - "id": 1144, + "id": 944, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 943, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1147, - "src": "8843:14:2", + "scope": 947, + "src": "8843:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16883,10 +16991,10 @@ "typeString": "uint16" }, "typeName": { - "id": 1142, + "id": 942, "name": "uint16", "nodeType": "ElementaryTypeName", - "src": "8843:6:2", + "src": "8843:6:3", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -16896,58 +17004,59 @@ "visibility": "internal" } ], - "src": "8842:16:2" + "src": "8842:16:3" }, - "scope": 1478, - "src": "8763:191:2", + "scope": 1278, + "src": "8763:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1157, + "id": 957, "nodeType": "Block", - "src": "9054:95:2", + "src": "9054:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1154, + "declaration": 954, "isOffset": false, "isSlot": false, - "src": "9096:7:2", + "src": "9096:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1151, + "declaration": 951, "isOffset": false, "isSlot": false, - "src": "9117:6:2", + "src": "9117:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1149, + "declaration": 949, "isOffset": false, "isSlot": false, - "src": "9125:6:2", + "src": "9125:6:3", "valueSize": 1 } } ], - "id": 1156, + "id": 956, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "9073:76:2" + "src": "9073:76:3" } ] }, - "id": 1158, + "documentation": null, + "id": 958, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -16955,16 +17064,16 @@ "name": "bytesToUint24", "nodeType": "FunctionDefinition", "parameters": { - "id": 1152, + "id": 952, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1149, + "id": 949, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1158, - "src": "8981:11:2", + "scope": 958, + "src": "8981:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16972,10 +17081,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1148, + "id": 948, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8981:4:2", + "src": "8981:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16986,45 +17095,45 @@ }, { "constant": false, - "id": 1151, + "id": 951, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1158, - "src": "8994:19:2", + "scope": 958, + "src": "8994:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1150, + "id": 950, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8994:5:2", + "src": "8994:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "8980:34:2" + "src": "8980:34:3" }, "payable": false, "returnParameters": { - "id": 1155, + "id": 955, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1154, + "id": 954, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1158, - "src": "9038:14:2", + "scope": 958, + "src": "9038:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17032,10 +17141,10 @@ "typeString": "uint24" }, "typeName": { - "id": 1153, + "id": 953, "name": "uint24", "nodeType": "ElementaryTypeName", - "src": "9038:6:2", + "src": "9038:6:3", "typeDescriptions": { "typeIdentifier": "t_uint24", "typeString": "uint24" @@ -17045,58 +17154,59 @@ "visibility": "internal" } ], - "src": "9037:16:2" + "src": "9037:16:3" }, - "scope": 1478, - "src": "8958:191:2", + "scope": 1278, + "src": "8958:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1168, + "id": 968, "nodeType": "Block", - "src": "9249:95:2", + "src": "9249:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1165, + "declaration": 965, "isOffset": false, "isSlot": false, - "src": "9291:7:2", + "src": "9291:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1162, + "declaration": 962, "isOffset": false, "isSlot": false, - "src": "9312:6:2", + "src": "9312:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1160, + "declaration": 960, "isOffset": false, "isSlot": false, - "src": "9320:6:2", + "src": "9320:6:3", "valueSize": 1 } } ], - "id": 1167, + "id": 967, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "9268:76:2" + "src": "9268:76:3" } ] }, - "id": 1169, + "documentation": null, + "id": 969, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -17104,16 +17214,16 @@ "name": "bytesToUint32", "nodeType": "FunctionDefinition", "parameters": { - "id": 1163, + "id": 963, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1160, + "id": 960, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1169, - "src": "9176:11:2", + "scope": 969, + "src": "9176:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17121,10 +17231,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1159, + "id": 959, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "9176:4:2", + "src": "9176:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17135,45 +17245,45 @@ }, { "constant": false, - "id": 1162, + "id": 962, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1169, - "src": "9189:19:2", + "scope": 969, + "src": "9189:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1161, + "id": 961, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "9189:5:2", + "src": "9189:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "9175:34:2" + "src": "9175:34:3" }, "payable": false, "returnParameters": { - "id": 1166, + "id": 966, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1165, + "id": 965, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1169, - "src": "9233:14:2", + "scope": 969, + "src": "9233:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17181,10 +17291,10 @@ "typeString": "uint32" }, "typeName": { - "id": 1164, + "id": 964, "name": "uint32", "nodeType": "ElementaryTypeName", - "src": "9233:6:2", + "src": "9233:6:3", "typeDescriptions": { "typeIdentifier": "t_uint32", "typeString": "uint32" @@ -17194,58 +17304,59 @@ "visibility": "internal" } ], - "src": "9232:16:2" + "src": "9232:16:3" }, - "scope": 1478, - "src": "9153:191:2", + "scope": 1278, + "src": "9153:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1179, + "id": 979, "nodeType": "Block", - "src": "9444:95:2", + "src": "9444:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1176, + "declaration": 976, "isOffset": false, "isSlot": false, - "src": "9486:7:2", + "src": "9486:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1173, + "declaration": 973, "isOffset": false, "isSlot": false, - "src": "9507:6:2", + "src": "9507:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1171, + "declaration": 971, "isOffset": false, "isSlot": false, - "src": "9515:6:2", + "src": "9515:6:3", "valueSize": 1 } } ], - "id": 1178, + "id": 978, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "9463:76:2" + "src": "9463:76:3" } ] }, - "id": 1180, + "documentation": null, + "id": 980, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -17253,16 +17364,16 @@ "name": "bytesToUint40", "nodeType": "FunctionDefinition", "parameters": { - "id": 1174, + "id": 974, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1171, + "id": 971, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1180, - "src": "9371:11:2", + "scope": 980, + "src": "9371:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17270,10 +17381,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1170, + "id": 970, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "9371:4:2", + "src": "9371:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17284,45 +17395,45 @@ }, { "constant": false, - "id": 1173, + "id": 973, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1180, - "src": "9384:19:2", + "scope": 980, + "src": "9384:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1172, + "id": 972, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "9384:5:2", + "src": "9384:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "9370:34:2" + "src": "9370:34:3" }, "payable": false, "returnParameters": { - "id": 1177, + "id": 977, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1176, + "id": 976, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1180, - "src": "9428:14:2", + "scope": 980, + "src": "9428:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17330,10 +17441,10 @@ "typeString": "uint40" }, "typeName": { - "id": 1175, + "id": 975, "name": "uint40", "nodeType": "ElementaryTypeName", - "src": "9428:6:2", + "src": "9428:6:3", "typeDescriptions": { "typeIdentifier": "t_uint40", "typeString": "uint40" @@ -17343,58 +17454,59 @@ "visibility": "internal" } ], - "src": "9427:16:2" + "src": "9427:16:3" }, - "scope": 1478, - "src": "9348:191:2", + "scope": 1278, + "src": "9348:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1190, + "id": 990, "nodeType": "Block", - "src": "9639:95:2", + "src": "9639:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1187, + "declaration": 987, "isOffset": false, "isSlot": false, - "src": "9681:7:2", + "src": "9681:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1184, + "declaration": 984, "isOffset": false, "isSlot": false, - "src": "9702:6:2", + "src": "9702:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1182, + "declaration": 982, "isOffset": false, "isSlot": false, - "src": "9710:6:2", + "src": "9710:6:3", "valueSize": 1 } } ], - "id": 1189, + "id": 989, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "9658:76:2" + "src": "9658:76:3" } ] }, - "id": 1191, + "documentation": null, + "id": 991, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -17402,16 +17514,16 @@ "name": "bytesToUint48", "nodeType": "FunctionDefinition", "parameters": { - "id": 1185, + "id": 985, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1182, + "id": 982, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1191, - "src": "9566:11:2", + "scope": 991, + "src": "9566:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17419,10 +17531,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1181, + "id": 981, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "9566:4:2", + "src": "9566:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17433,45 +17545,45 @@ }, { "constant": false, - "id": 1184, + "id": 984, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1191, - "src": "9579:19:2", + "scope": 991, + "src": "9579:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1183, + "id": 983, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "9579:5:2", + "src": "9579:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "9565:34:2" + "src": "9565:34:3" }, "payable": false, "returnParameters": { - "id": 1188, + "id": 988, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1187, + "id": 987, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1191, - "src": "9623:14:2", + "scope": 991, + "src": "9623:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17479,10 +17591,10 @@ "typeString": "uint48" }, "typeName": { - "id": 1186, + "id": 986, "name": "uint48", "nodeType": "ElementaryTypeName", - "src": "9623:6:2", + "src": "9623:6:3", "typeDescriptions": { "typeIdentifier": "t_uint48", "typeString": "uint48" @@ -17492,58 +17604,59 @@ "visibility": "internal" } ], - "src": "9622:16:2" + "src": "9622:16:3" }, - "scope": 1478, - "src": "9543:191:2", + "scope": 1278, + "src": "9543:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1201, + "id": 1001, "nodeType": "Block", - "src": "9834:95:2", + "src": "9834:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1198, + "declaration": 998, "isOffset": false, "isSlot": false, - "src": "9876:7:2", + "src": "9876:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1195, + "declaration": 995, "isOffset": false, "isSlot": false, - "src": "9897:6:2", + "src": "9897:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1193, + "declaration": 993, "isOffset": false, "isSlot": false, - "src": "9905:6:2", + "src": "9905:6:3", "valueSize": 1 } } ], - "id": 1200, + "id": 1000, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "9853:76:2" + "src": "9853:76:3" } ] }, - "id": 1202, + "documentation": null, + "id": 1002, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -17551,16 +17664,16 @@ "name": "bytesToUint56", "nodeType": "FunctionDefinition", "parameters": { - "id": 1196, + "id": 996, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1193, + "id": 993, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1202, - "src": "9761:11:2", + "scope": 1002, + "src": "9761:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17568,10 +17681,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1192, + "id": 992, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "9761:4:2", + "src": "9761:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17582,45 +17695,45 @@ }, { "constant": false, - "id": 1195, + "id": 995, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1202, - "src": "9774:19:2", + "scope": 1002, + "src": "9774:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1194, + "id": 994, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "9774:5:2", + "src": "9774:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "9760:34:2" + "src": "9760:34:3" }, "payable": false, "returnParameters": { - "id": 1199, + "id": 999, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1198, + "id": 998, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1202, - "src": "9818:14:2", + "scope": 1002, + "src": "9818:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17628,10 +17741,10 @@ "typeString": "uint56" }, "typeName": { - "id": 1197, + "id": 997, "name": "uint56", "nodeType": "ElementaryTypeName", - "src": "9818:6:2", + "src": "9818:6:3", "typeDescriptions": { "typeIdentifier": "t_uint56", "typeString": "uint56" @@ -17641,58 +17754,59 @@ "visibility": "internal" } ], - "src": "9817:16:2" + "src": "9817:16:3" }, - "scope": 1478, - "src": "9738:191:2", + "scope": 1278, + "src": "9738:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1212, + "id": 1012, "nodeType": "Block", - "src": "10029:95:2", + "src": "10029:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1209, + "declaration": 1009, "isOffset": false, "isSlot": false, - "src": "10071:7:2", + "src": "10071:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1206, + "declaration": 1006, "isOffset": false, "isSlot": false, - "src": "10092:6:2", + "src": "10092:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1204, + "declaration": 1004, "isOffset": false, "isSlot": false, - "src": "10100:6:2", + "src": "10100:6:3", "valueSize": 1 } } ], - "id": 1211, + "id": 1011, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "10048:76:2" + "src": "10048:76:3" } ] }, - "id": 1213, + "documentation": null, + "id": 1013, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -17700,16 +17814,16 @@ "name": "bytesToUint64", "nodeType": "FunctionDefinition", "parameters": { - "id": 1207, + "id": 1007, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1204, + "id": 1004, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1213, - "src": "9956:11:2", + "scope": 1013, + "src": "9956:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17717,10 +17831,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1203, + "id": 1003, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "9956:4:2", + "src": "9956:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17731,45 +17845,45 @@ }, { "constant": false, - "id": 1206, + "id": 1006, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1213, - "src": "9969:19:2", + "scope": 1013, + "src": "9969:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1205, + "id": 1005, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "9969:5:2", + "src": "9969:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "9955:34:2" + "src": "9955:34:3" }, "payable": false, "returnParameters": { - "id": 1210, + "id": 1010, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1209, + "id": 1009, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1213, - "src": "10013:14:2", + "scope": 1013, + "src": "10013:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17777,10 +17891,10 @@ "typeString": "uint64" }, "typeName": { - "id": 1208, + "id": 1008, "name": "uint64", "nodeType": "ElementaryTypeName", - "src": "10013:6:2", + "src": "10013:6:3", "typeDescriptions": { "typeIdentifier": "t_uint64", "typeString": "uint64" @@ -17790,58 +17904,59 @@ "visibility": "internal" } ], - "src": "10012:16:2" + "src": "10012:16:3" }, - "scope": 1478, - "src": "9933:191:2", + "scope": 1278, + "src": "9933:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1223, + "id": 1023, "nodeType": "Block", - "src": "10224:95:2", + "src": "10224:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1220, + "declaration": 1020, "isOffset": false, "isSlot": false, - "src": "10266:7:2", + "src": "10266:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1217, + "declaration": 1017, "isOffset": false, "isSlot": false, - "src": "10287:6:2", + "src": "10287:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1215, + "declaration": 1015, "isOffset": false, "isSlot": false, - "src": "10295:6:2", + "src": "10295:6:3", "valueSize": 1 } } ], - "id": 1222, + "id": 1022, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "10243:76:2" + "src": "10243:76:3" } ] }, - "id": 1224, + "documentation": null, + "id": 1024, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -17849,16 +17964,16 @@ "name": "bytesToUint72", "nodeType": "FunctionDefinition", "parameters": { - "id": 1218, + "id": 1018, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 1015, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1224, - "src": "10151:11:2", + "scope": 1024, + "src": "10151:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17866,10 +17981,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1214, + "id": 1014, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "10151:4:2", + "src": "10151:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17880,45 +17995,45 @@ }, { "constant": false, - "id": 1217, + "id": 1017, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1224, - "src": "10164:19:2", + "scope": 1024, + "src": "10164:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1216, + "id": 1016, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "10164:5:2", + "src": "10164:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "10150:34:2" + "src": "10150:34:3" }, "payable": false, "returnParameters": { - "id": 1221, + "id": 1021, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1220, + "id": 1020, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1224, - "src": "10208:14:2", + "scope": 1024, + "src": "10208:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17926,10 +18041,10 @@ "typeString": "uint72" }, "typeName": { - "id": 1219, + "id": 1019, "name": "uint72", "nodeType": "ElementaryTypeName", - "src": "10208:6:2", + "src": "10208:6:3", "typeDescriptions": { "typeIdentifier": "t_uint72", "typeString": "uint72" @@ -17939,58 +18054,59 @@ "visibility": "internal" } ], - "src": "10207:16:2" + "src": "10207:16:3" }, - "scope": 1478, - "src": "10128:191:2", + "scope": 1278, + "src": "10128:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1234, + "id": 1034, "nodeType": "Block", - "src": "10419:95:2", + "src": "10419:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1231, + "declaration": 1031, "isOffset": false, "isSlot": false, - "src": "10461:7:2", + "src": "10461:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1228, + "declaration": 1028, "isOffset": false, "isSlot": false, - "src": "10482:6:2", + "src": "10482:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1226, + "declaration": 1026, "isOffset": false, "isSlot": false, - "src": "10490:6:2", + "src": "10490:6:3", "valueSize": 1 } } ], - "id": 1233, + "id": 1033, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "10438:76:2" + "src": "10438:76:3" } ] }, - "id": 1235, + "documentation": null, + "id": 1035, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -17998,16 +18114,16 @@ "name": "bytesToUint80", "nodeType": "FunctionDefinition", "parameters": { - "id": 1229, + "id": 1029, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1226, + "id": 1026, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1235, - "src": "10346:11:2", + "scope": 1035, + "src": "10346:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18015,10 +18131,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1225, + "id": 1025, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "10346:4:2", + "src": "10346:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18029,45 +18145,45 @@ }, { "constant": false, - "id": 1228, + "id": 1028, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1235, - "src": "10359:19:2", + "scope": 1035, + "src": "10359:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1227, + "id": 1027, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "10359:5:2", + "src": "10359:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "10345:34:2" + "src": "10345:34:3" }, "payable": false, "returnParameters": { - "id": 1232, + "id": 1032, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1231, + "id": 1031, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1235, - "src": "10403:14:2", + "scope": 1035, + "src": "10403:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18075,10 +18191,10 @@ "typeString": "uint80" }, "typeName": { - "id": 1230, + "id": 1030, "name": "uint80", "nodeType": "ElementaryTypeName", - "src": "10403:6:2", + "src": "10403:6:3", "typeDescriptions": { "typeIdentifier": "t_uint80", "typeString": "uint80" @@ -18088,58 +18204,59 @@ "visibility": "internal" } ], - "src": "10402:16:2" + "src": "10402:16:3" }, - "scope": 1478, - "src": "10323:191:2", + "scope": 1278, + "src": "10323:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1245, + "id": 1045, "nodeType": "Block", - "src": "10614:95:2", + "src": "10614:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1242, + "declaration": 1042, "isOffset": false, "isSlot": false, - "src": "10656:7:2", + "src": "10656:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1239, + "declaration": 1039, "isOffset": false, "isSlot": false, - "src": "10677:6:2", + "src": "10677:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1237, + "declaration": 1037, "isOffset": false, "isSlot": false, - "src": "10685:6:2", + "src": "10685:6:3", "valueSize": 1 } } ], - "id": 1244, + "id": 1044, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "10633:76:2" + "src": "10633:76:3" } ] }, - "id": 1246, + "documentation": null, + "id": 1046, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -18147,16 +18264,16 @@ "name": "bytesToUint88", "nodeType": "FunctionDefinition", "parameters": { - "id": 1240, + "id": 1040, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1237, + "id": 1037, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1246, - "src": "10541:11:2", + "scope": 1046, + "src": "10541:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18164,10 +18281,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1236, + "id": 1036, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "10541:4:2", + "src": "10541:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18178,45 +18295,45 @@ }, { "constant": false, - "id": 1239, + "id": 1039, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1246, - "src": "10554:19:2", + "scope": 1046, + "src": "10554:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1238, + "id": 1038, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "10554:5:2", + "src": "10554:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "10540:34:2" + "src": "10540:34:3" }, "payable": false, "returnParameters": { - "id": 1243, + "id": 1043, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1242, + "id": 1042, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1246, - "src": "10598:14:2", + "scope": 1046, + "src": "10598:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18224,10 +18341,10 @@ "typeString": "uint88" }, "typeName": { - "id": 1241, + "id": 1041, "name": "uint88", "nodeType": "ElementaryTypeName", - "src": "10598:6:2", + "src": "10598:6:3", "typeDescriptions": { "typeIdentifier": "t_uint88", "typeString": "uint88" @@ -18237,58 +18354,59 @@ "visibility": "internal" } ], - "src": "10597:16:2" + "src": "10597:16:3" }, - "scope": 1478, - "src": "10518:191:2", + "scope": 1278, + "src": "10518:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1256, + "id": 1056, "nodeType": "Block", - "src": "10809:95:2", + "src": "10809:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1253, + "declaration": 1053, "isOffset": false, "isSlot": false, - "src": "10851:7:2", + "src": "10851:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1250, + "declaration": 1050, "isOffset": false, "isSlot": false, - "src": "10872:6:2", + "src": "10872:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1248, + "declaration": 1048, "isOffset": false, "isSlot": false, - "src": "10880:6:2", + "src": "10880:6:3", "valueSize": 1 } } ], - "id": 1255, + "id": 1055, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "10828:76:2" + "src": "10828:76:3" } ] }, - "id": 1257, + "documentation": null, + "id": 1057, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -18296,16 +18414,16 @@ "name": "bytesToUint96", "nodeType": "FunctionDefinition", "parameters": { - "id": 1251, + "id": 1051, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 1048, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1257, - "src": "10736:11:2", + "scope": 1057, + "src": "10736:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18313,10 +18431,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1247, + "id": 1047, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "10736:4:2", + "src": "10736:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18327,45 +18445,45 @@ }, { "constant": false, - "id": 1250, + "id": 1050, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1257, - "src": "10749:19:2", + "scope": 1057, + "src": "10749:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 1049, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "10749:5:2", + "src": "10749:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "10735:34:2" + "src": "10735:34:3" }, "payable": false, "returnParameters": { - "id": 1254, + "id": 1054, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1253, + "id": 1053, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1257, - "src": "10793:14:2", + "scope": 1057, + "src": "10793:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18373,10 +18491,10 @@ "typeString": "uint96" }, "typeName": { - "id": 1252, + "id": 1052, "name": "uint96", "nodeType": "ElementaryTypeName", - "src": "10793:6:2", + "src": "10793:6:3", "typeDescriptions": { "typeIdentifier": "t_uint96", "typeString": "uint96" @@ -18386,58 +18504,59 @@ "visibility": "internal" } ], - "src": "10792:16:2" + "src": "10792:16:3" }, - "scope": 1478, - "src": "10713:191:2", + "scope": 1278, + "src": "10713:191:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1267, + "id": 1067, "nodeType": "Block", - "src": "11007:95:2", + "src": "11007:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1264, + "declaration": 1064, "isOffset": false, "isSlot": false, - "src": "11049:7:2", + "src": "11049:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1261, + "declaration": 1061, "isOffset": false, "isSlot": false, - "src": "11070:6:2", + "src": "11070:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1259, + "declaration": 1059, "isOffset": false, "isSlot": false, - "src": "11078:6:2", + "src": "11078:6:3", "valueSize": 1 } } ], - "id": 1266, + "id": 1066, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "11026:76:2" + "src": "11026:76:3" } ] }, - "id": 1268, + "documentation": null, + "id": 1068, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -18445,16 +18564,16 @@ "name": "bytesToUint104", "nodeType": "FunctionDefinition", "parameters": { - "id": 1262, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1259, + "id": 1059, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1268, - "src": "10933:11:2", + "scope": 1068, + "src": "10933:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18462,10 +18581,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1258, + "id": 1058, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "10933:4:2", + "src": "10933:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18476,45 +18595,45 @@ }, { "constant": false, - "id": 1261, + "id": 1061, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1268, - "src": "10946:19:2", + "scope": 1068, + "src": "10946:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1260, + "id": 1060, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "10946:5:2", + "src": "10946:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "10932:34:2" + "src": "10932:34:3" }, "payable": false, "returnParameters": { - "id": 1265, + "id": 1065, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1264, + "id": 1064, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1268, - "src": "10990:15:2", + "scope": 1068, + "src": "10990:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18522,10 +18641,10 @@ "typeString": "uint104" }, "typeName": { - "id": 1263, + "id": 1063, "name": "uint104", "nodeType": "ElementaryTypeName", - "src": "10990:7:2", + "src": "10990:7:3", "typeDescriptions": { "typeIdentifier": "t_uint104", "typeString": "uint104" @@ -18535,58 +18654,59 @@ "visibility": "internal" } ], - "src": "10989:17:2" + "src": "10989:17:3" }, - "scope": 1478, - "src": "10909:193:2", + "scope": 1278, + "src": "10909:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1278, + "id": 1078, "nodeType": "Block", - "src": "11207:95:2", + "src": "11207:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1275, + "declaration": 1075, "isOffset": false, "isSlot": false, - "src": "11249:7:2", + "src": "11249:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1272, + "declaration": 1072, "isOffset": false, "isSlot": false, - "src": "11270:6:2", + "src": "11270:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1270, + "declaration": 1070, "isOffset": false, "isSlot": false, - "src": "11278:6:2", + "src": "11278:6:3", "valueSize": 1 } } ], - "id": 1277, + "id": 1077, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "11226:76:2" + "src": "11226:76:3" } ] }, - "id": 1279, + "documentation": null, + "id": 1079, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -18594,16 +18714,16 @@ "name": "bytesToUint112", "nodeType": "FunctionDefinition", "parameters": { - "id": 1273, + "id": 1073, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1270, + "id": 1070, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1279, - "src": "11133:11:2", + "scope": 1079, + "src": "11133:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18611,10 +18731,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1269, + "id": 1069, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "11133:4:2", + "src": "11133:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18625,45 +18745,45 @@ }, { "constant": false, - "id": 1272, + "id": 1072, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1279, - "src": "11146:19:2", + "scope": 1079, + "src": "11146:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1271, + "id": 1071, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "11146:5:2", + "src": "11146:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "11132:34:2" + "src": "11132:34:3" }, "payable": false, "returnParameters": { - "id": 1276, + "id": 1076, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1275, + "id": 1075, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1279, - "src": "11190:15:2", + "scope": 1079, + "src": "11190:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18671,10 +18791,10 @@ "typeString": "uint112" }, "typeName": { - "id": 1274, + "id": 1074, "name": "uint112", "nodeType": "ElementaryTypeName", - "src": "11190:7:2", + "src": "11190:7:3", "typeDescriptions": { "typeIdentifier": "t_uint112", "typeString": "uint112" @@ -18684,58 +18804,59 @@ "visibility": "internal" } ], - "src": "11189:17:2" + "src": "11189:17:3" }, - "scope": 1478, - "src": "11109:193:2", + "scope": 1278, + "src": "11109:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1289, + "id": 1089, "nodeType": "Block", - "src": "11407:95:2", + "src": "11407:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1286, + "declaration": 1086, "isOffset": false, "isSlot": false, - "src": "11449:7:2", + "src": "11449:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1283, + "declaration": 1083, "isOffset": false, "isSlot": false, - "src": "11470:6:2", + "src": "11470:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1281, + "declaration": 1081, "isOffset": false, "isSlot": false, - "src": "11478:6:2", + "src": "11478:6:3", "valueSize": 1 } } ], - "id": 1288, + "id": 1088, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "11426:76:2" + "src": "11426:76:3" } ] }, - "id": 1290, + "documentation": null, + "id": 1090, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -18743,16 +18864,16 @@ "name": "bytesToUint120", "nodeType": "FunctionDefinition", "parameters": { - "id": 1284, + "id": 1084, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1281, + "id": 1081, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1290, - "src": "11333:11:2", + "scope": 1090, + "src": "11333:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18760,10 +18881,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1280, + "id": 1080, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "11333:4:2", + "src": "11333:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18774,45 +18895,45 @@ }, { "constant": false, - "id": 1283, + "id": 1083, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1290, - "src": "11346:19:2", + "scope": 1090, + "src": "11346:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1282, + "id": 1082, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "11346:5:2", + "src": "11346:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "11332:34:2" + "src": "11332:34:3" }, "payable": false, "returnParameters": { - "id": 1287, + "id": 1087, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1286, + "id": 1086, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1290, - "src": "11390:15:2", + "scope": 1090, + "src": "11390:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18820,10 +18941,10 @@ "typeString": "uint120" }, "typeName": { - "id": 1285, + "id": 1085, "name": "uint120", "nodeType": "ElementaryTypeName", - "src": "11390:7:2", + "src": "11390:7:3", "typeDescriptions": { "typeIdentifier": "t_uint120", "typeString": "uint120" @@ -18833,58 +18954,59 @@ "visibility": "internal" } ], - "src": "11389:17:2" + "src": "11389:17:3" }, - "scope": 1478, - "src": "11309:193:2", + "scope": 1278, + "src": "11309:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1300, + "id": 1100, "nodeType": "Block", - "src": "11607:95:2", + "src": "11607:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1297, + "declaration": 1097, "isOffset": false, "isSlot": false, - "src": "11649:7:2", + "src": "11649:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1294, + "declaration": 1094, "isOffset": false, "isSlot": false, - "src": "11670:6:2", + "src": "11670:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1292, + "declaration": 1092, "isOffset": false, "isSlot": false, - "src": "11678:6:2", + "src": "11678:6:3", "valueSize": 1 } } ], - "id": 1299, + "id": 1099, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "11626:76:2" + "src": "11626:76:3" } ] }, - "id": 1301, + "documentation": null, + "id": 1101, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -18892,16 +19014,16 @@ "name": "bytesToUint128", "nodeType": "FunctionDefinition", "parameters": { - "id": 1295, + "id": 1095, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1292, + "id": 1092, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1301, - "src": "11533:11:2", + "scope": 1101, + "src": "11533:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18909,10 +19031,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1291, + "id": 1091, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "11533:4:2", + "src": "11533:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18923,45 +19045,45 @@ }, { "constant": false, - "id": 1294, + "id": 1094, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1301, - "src": "11546:19:2", + "scope": 1101, + "src": "11546:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1293, + "id": 1093, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "11546:5:2", + "src": "11546:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "11532:34:2" + "src": "11532:34:3" }, "payable": false, "returnParameters": { - "id": 1298, + "id": 1098, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1297, + "id": 1097, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1301, - "src": "11590:15:2", + "scope": 1101, + "src": "11590:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18969,10 +19091,10 @@ "typeString": "uint128" }, "typeName": { - "id": 1296, + "id": 1096, "name": "uint128", "nodeType": "ElementaryTypeName", - "src": "11590:7:2", + "src": "11590:7:3", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" @@ -18982,58 +19104,59 @@ "visibility": "internal" } ], - "src": "11589:17:2" + "src": "11589:17:3" }, - "scope": 1478, - "src": "11509:193:2", + "scope": 1278, + "src": "11509:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 1111, "nodeType": "Block", - "src": "11807:95:2", + "src": "11807:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1308, + "declaration": 1108, "isOffset": false, "isSlot": false, - "src": "11849:7:2", + "src": "11849:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1305, + "declaration": 1105, "isOffset": false, "isSlot": false, - "src": "11870:6:2", + "src": "11870:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1303, + "declaration": 1103, "isOffset": false, "isSlot": false, - "src": "11878:6:2", + "src": "11878:6:3", "valueSize": 1 } } ], - "id": 1310, + "id": 1110, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "11826:76:2" + "src": "11826:76:3" } ] }, - "id": 1312, + "documentation": null, + "id": 1112, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -19041,16 +19164,16 @@ "name": "bytesToUint136", "nodeType": "FunctionDefinition", "parameters": { - "id": 1306, + "id": 1106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 1103, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "11733:11:2", + "scope": 1112, + "src": "11733:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19058,10 +19181,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1302, + "id": 1102, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "11733:4:2", + "src": "11733:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19072,45 +19195,45 @@ }, { "constant": false, - "id": 1305, + "id": 1105, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "11746:19:2", + "scope": 1112, + "src": "11746:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1304, + "id": 1104, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "11746:5:2", + "src": "11746:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "11732:34:2" + "src": "11732:34:3" }, "payable": false, "returnParameters": { - "id": 1309, + "id": 1109, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1308, + "id": 1108, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "11790:15:2", + "scope": 1112, + "src": "11790:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19118,10 +19241,10 @@ "typeString": "uint136" }, "typeName": { - "id": 1307, + "id": 1107, "name": "uint136", "nodeType": "ElementaryTypeName", - "src": "11790:7:2", + "src": "11790:7:3", "typeDescriptions": { "typeIdentifier": "t_uint136", "typeString": "uint136" @@ -19131,58 +19254,59 @@ "visibility": "internal" } ], - "src": "11789:17:2" + "src": "11789:17:3" }, - "scope": 1478, - "src": "11709:193:2", + "scope": 1278, + "src": "11709:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1322, + "id": 1122, "nodeType": "Block", - "src": "12007:95:2", + "src": "12007:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1319, + "declaration": 1119, "isOffset": false, "isSlot": false, - "src": "12049:7:2", + "src": "12049:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1316, + "declaration": 1116, "isOffset": false, "isSlot": false, - "src": "12070:6:2", + "src": "12070:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1314, + "declaration": 1114, "isOffset": false, "isSlot": false, - "src": "12078:6:2", + "src": "12078:6:3", "valueSize": 1 } } ], - "id": 1321, + "id": 1121, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "12026:76:2" + "src": "12026:76:3" } ] }, - "id": 1323, + "documentation": null, + "id": 1123, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -19190,16 +19314,16 @@ "name": "bytesToUint144", "nodeType": "FunctionDefinition", "parameters": { - "id": 1317, + "id": 1117, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1314, + "id": 1114, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1323, - "src": "11933:11:2", + "scope": 1123, + "src": "11933:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19207,10 +19331,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1313, + "id": 1113, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "11933:4:2", + "src": "11933:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19221,45 +19345,45 @@ }, { "constant": false, - "id": 1316, + "id": 1116, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1323, - "src": "11946:19:2", + "scope": 1123, + "src": "11946:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1315, + "id": 1115, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "11946:5:2", + "src": "11946:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "11932:34:2" + "src": "11932:34:3" }, "payable": false, "returnParameters": { - "id": 1320, + "id": 1120, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1319, + "id": 1119, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1323, - "src": "11990:15:2", + "scope": 1123, + "src": "11990:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19267,10 +19391,10 @@ "typeString": "uint144" }, "typeName": { - "id": 1318, + "id": 1118, "name": "uint144", "nodeType": "ElementaryTypeName", - "src": "11990:7:2", + "src": "11990:7:3", "typeDescriptions": { "typeIdentifier": "t_uint144", "typeString": "uint144" @@ -19280,58 +19404,59 @@ "visibility": "internal" } ], - "src": "11989:17:2" + "src": "11989:17:3" }, - "scope": 1478, - "src": "11909:193:2", + "scope": 1278, + "src": "11909:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1333, + "id": 1133, "nodeType": "Block", - "src": "12207:95:2", + "src": "12207:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1330, + "declaration": 1130, "isOffset": false, "isSlot": false, - "src": "12249:7:2", + "src": "12249:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1327, + "declaration": 1127, "isOffset": false, "isSlot": false, - "src": "12270:6:2", + "src": "12270:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1325, + "declaration": 1125, "isOffset": false, "isSlot": false, - "src": "12278:6:2", + "src": "12278:6:3", "valueSize": 1 } } ], - "id": 1332, + "id": 1132, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "12226:76:2" + "src": "12226:76:3" } ] }, - "id": 1334, + "documentation": null, + "id": 1134, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -19339,16 +19464,16 @@ "name": "bytesToUint152", "nodeType": "FunctionDefinition", "parameters": { - "id": 1328, + "id": 1128, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1325, + "id": 1125, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1334, - "src": "12133:11:2", + "scope": 1134, + "src": "12133:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19356,10 +19481,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1324, + "id": 1124, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12133:4:2", + "src": "12133:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19370,45 +19495,45 @@ }, { "constant": false, - "id": 1327, + "id": 1127, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1334, - "src": "12146:19:2", + "scope": 1134, + "src": "12146:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1326, + "id": 1126, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12146:5:2", + "src": "12146:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "12132:34:2" + "src": "12132:34:3" }, "payable": false, "returnParameters": { - "id": 1331, + "id": 1131, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1330, + "id": 1130, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1334, - "src": "12190:15:2", + "scope": 1134, + "src": "12190:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19416,10 +19541,10 @@ "typeString": "uint152" }, "typeName": { - "id": 1329, + "id": 1129, "name": "uint152", "nodeType": "ElementaryTypeName", - "src": "12190:7:2", + "src": "12190:7:3", "typeDescriptions": { "typeIdentifier": "t_uint152", "typeString": "uint152" @@ -19429,58 +19554,59 @@ "visibility": "internal" } ], - "src": "12189:17:2" + "src": "12189:17:3" }, - "scope": 1478, - "src": "12109:193:2", + "scope": 1278, + "src": "12109:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1344, + "id": 1144, "nodeType": "Block", - "src": "12407:95:2", + "src": "12407:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1341, + "declaration": 1141, "isOffset": false, "isSlot": false, - "src": "12449:7:2", + "src": "12449:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1338, + "declaration": 1138, "isOffset": false, "isSlot": false, - "src": "12470:6:2", + "src": "12470:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1336, + "declaration": 1136, "isOffset": false, "isSlot": false, - "src": "12478:6:2", + "src": "12478:6:3", "valueSize": 1 } } ], - "id": 1343, + "id": 1143, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "12426:76:2" + "src": "12426:76:3" } ] }, - "id": 1345, + "documentation": null, + "id": 1145, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -19488,16 +19614,16 @@ "name": "bytesToUint160", "nodeType": "FunctionDefinition", "parameters": { - "id": 1339, + "id": 1139, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1336, + "id": 1136, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1345, - "src": "12333:11:2", + "scope": 1145, + "src": "12333:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19505,10 +19631,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1335, + "id": 1135, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12333:4:2", + "src": "12333:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19519,45 +19645,45 @@ }, { "constant": false, - "id": 1338, + "id": 1138, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1345, - "src": "12346:19:2", + "scope": 1145, + "src": "12346:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1337, + "id": 1137, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12346:5:2", + "src": "12346:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "12332:34:2" + "src": "12332:34:3" }, "payable": false, "returnParameters": { - "id": 1342, + "id": 1142, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1341, + "id": 1141, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1345, - "src": "12390:15:2", + "scope": 1145, + "src": "12390:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19565,10 +19691,10 @@ "typeString": "uint160" }, "typeName": { - "id": 1340, + "id": 1140, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "12390:7:2", + "src": "12390:7:3", "typeDescriptions": { "typeIdentifier": "t_uint160", "typeString": "uint160" @@ -19578,58 +19704,59 @@ "visibility": "internal" } ], - "src": "12389:17:2" + "src": "12389:17:3" }, - "scope": 1478, - "src": "12309:193:2", + "scope": 1278, + "src": "12309:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1355, + "id": 1155, "nodeType": "Block", - "src": "12607:95:2", + "src": "12607:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1352, + "declaration": 1152, "isOffset": false, "isSlot": false, - "src": "12649:7:2", + "src": "12649:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1349, + "declaration": 1149, "isOffset": false, "isSlot": false, - "src": "12670:6:2", + "src": "12670:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1347, + "declaration": 1147, "isOffset": false, "isSlot": false, - "src": "12678:6:2", + "src": "12678:6:3", "valueSize": 1 } } ], - "id": 1354, + "id": 1154, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "12626:76:2" + "src": "12626:76:3" } ] }, - "id": 1356, + "documentation": null, + "id": 1156, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -19637,16 +19764,16 @@ "name": "bytesToUint168", "nodeType": "FunctionDefinition", "parameters": { - "id": 1350, + "id": 1150, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1347, + "id": 1147, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1356, - "src": "12533:11:2", + "scope": 1156, + "src": "12533:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19654,10 +19781,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1346, + "id": 1146, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12533:4:2", + "src": "12533:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19668,45 +19795,45 @@ }, { "constant": false, - "id": 1349, + "id": 1149, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1356, - "src": "12546:19:2", + "scope": 1156, + "src": "12546:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1348, + "id": 1148, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12546:5:2", + "src": "12546:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "12532:34:2" + "src": "12532:34:3" }, "payable": false, "returnParameters": { - "id": 1353, + "id": 1153, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1352, + "id": 1152, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1356, - "src": "12590:15:2", + "scope": 1156, + "src": "12590:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19714,10 +19841,10 @@ "typeString": "uint168" }, "typeName": { - "id": 1351, + "id": 1151, "name": "uint168", "nodeType": "ElementaryTypeName", - "src": "12590:7:2", + "src": "12590:7:3", "typeDescriptions": { "typeIdentifier": "t_uint168", "typeString": "uint168" @@ -19727,58 +19854,59 @@ "visibility": "internal" } ], - "src": "12589:17:2" + "src": "12589:17:3" }, - "scope": 1478, - "src": "12509:193:2", + "scope": 1278, + "src": "12509:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1366, + "id": 1166, "nodeType": "Block", - "src": "12807:95:2", + "src": "12807:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1363, + "declaration": 1163, "isOffset": false, "isSlot": false, - "src": "12849:7:2", + "src": "12849:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1360, + "declaration": 1160, "isOffset": false, "isSlot": false, - "src": "12870:6:2", + "src": "12870:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1358, + "declaration": 1158, "isOffset": false, "isSlot": false, - "src": "12878:6:2", + "src": "12878:6:3", "valueSize": 1 } } ], - "id": 1365, + "id": 1165, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "12826:76:2" + "src": "12826:76:3" } ] }, - "id": 1367, + "documentation": null, + "id": 1167, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -19786,16 +19914,16 @@ "name": "bytesToUint176", "nodeType": "FunctionDefinition", "parameters": { - "id": 1361, + "id": 1161, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1358, + "id": 1158, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1367, - "src": "12733:11:2", + "scope": 1167, + "src": "12733:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19803,10 +19931,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1357, + "id": 1157, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12733:4:2", + "src": "12733:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19817,45 +19945,45 @@ }, { "constant": false, - "id": 1360, + "id": 1160, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1367, - "src": "12746:19:2", + "scope": 1167, + "src": "12746:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1359, + "id": 1159, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12746:5:2", + "src": "12746:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "12732:34:2" + "src": "12732:34:3" }, "payable": false, "returnParameters": { - "id": 1364, + "id": 1164, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1363, + "id": 1163, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1367, - "src": "12790:15:2", + "scope": 1167, + "src": "12790:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19863,10 +19991,10 @@ "typeString": "uint176" }, "typeName": { - "id": 1362, + "id": 1162, "name": "uint176", "nodeType": "ElementaryTypeName", - "src": "12790:7:2", + "src": "12790:7:3", "typeDescriptions": { "typeIdentifier": "t_uint176", "typeString": "uint176" @@ -19876,58 +20004,59 @@ "visibility": "internal" } ], - "src": "12789:17:2" + "src": "12789:17:3" }, - "scope": 1478, - "src": "12709:193:2", + "scope": 1278, + "src": "12709:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1377, + "id": 1177, "nodeType": "Block", - "src": "13007:95:2", + "src": "13007:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1374, + "declaration": 1174, "isOffset": false, "isSlot": false, - "src": "13049:7:2", + "src": "13049:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1371, + "declaration": 1171, "isOffset": false, "isSlot": false, - "src": "13070:6:2", + "src": "13070:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1369, + "declaration": 1169, "isOffset": false, "isSlot": false, - "src": "13078:6:2", + "src": "13078:6:3", "valueSize": 1 } } ], - "id": 1376, + "id": 1176, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "13026:76:2" + "src": "13026:76:3" } ] }, - "id": 1378, + "documentation": null, + "id": 1178, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -19935,16 +20064,16 @@ "name": "bytesToUint184", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 1172, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1369, + "id": 1169, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1378, - "src": "12933:11:2", + "scope": 1178, + "src": "12933:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19952,10 +20081,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1368, + "id": 1168, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12933:4:2", + "src": "12933:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19966,45 +20095,45 @@ }, { "constant": false, - "id": 1371, + "id": 1171, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1378, - "src": "12946:19:2", + "scope": 1178, + "src": "12946:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1370, + "id": 1170, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12946:5:2", + "src": "12946:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "12932:34:2" + "src": "12932:34:3" }, "payable": false, "returnParameters": { - "id": 1375, + "id": 1175, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 1174, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1378, - "src": "12990:15:2", + "scope": 1178, + "src": "12990:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20012,10 +20141,10 @@ "typeString": "uint184" }, "typeName": { - "id": 1373, + "id": 1173, "name": "uint184", "nodeType": "ElementaryTypeName", - "src": "12990:7:2", + "src": "12990:7:3", "typeDescriptions": { "typeIdentifier": "t_uint184", "typeString": "uint184" @@ -20025,58 +20154,59 @@ "visibility": "internal" } ], - "src": "12989:17:2" + "src": "12989:17:3" }, - "scope": 1478, - "src": "12909:193:2", + "scope": 1278, + "src": "12909:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1388, + "id": 1188, "nodeType": "Block", - "src": "13207:95:2", + "src": "13207:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1385, + "declaration": 1185, "isOffset": false, "isSlot": false, - "src": "13249:7:2", + "src": "13249:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1382, + "declaration": 1182, "isOffset": false, "isSlot": false, - "src": "13270:6:2", + "src": "13270:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1380, + "declaration": 1180, "isOffset": false, "isSlot": false, - "src": "13278:6:2", + "src": "13278:6:3", "valueSize": 1 } } ], - "id": 1387, + "id": 1187, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "13226:76:2" + "src": "13226:76:3" } ] }, - "id": 1389, + "documentation": null, + "id": 1189, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -20084,16 +20214,16 @@ "name": "bytesToUint192", "nodeType": "FunctionDefinition", "parameters": { - "id": 1383, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1380, + "id": 1180, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1389, - "src": "13133:11:2", + "scope": 1189, + "src": "13133:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20101,10 +20231,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1379, + "id": 1179, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13133:4:2", + "src": "13133:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20115,45 +20245,45 @@ }, { "constant": false, - "id": 1382, + "id": 1182, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1389, - "src": "13146:19:2", + "scope": 1189, + "src": "13146:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1381, + "id": 1181, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "13146:5:2", + "src": "13146:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "13132:34:2" + "src": "13132:34:3" }, "payable": false, "returnParameters": { - "id": 1386, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1385, + "id": 1185, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1389, - "src": "13190:15:2", + "scope": 1189, + "src": "13190:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20161,10 +20291,10 @@ "typeString": "uint192" }, "typeName": { - "id": 1384, + "id": 1184, "name": "uint192", "nodeType": "ElementaryTypeName", - "src": "13190:7:2", + "src": "13190:7:3", "typeDescriptions": { "typeIdentifier": "t_uint192", "typeString": "uint192" @@ -20174,58 +20304,59 @@ "visibility": "internal" } ], - "src": "13189:17:2" + "src": "13189:17:3" }, - "scope": 1478, - "src": "13109:193:2", + "scope": 1278, + "src": "13109:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1399, + "id": 1199, "nodeType": "Block", - "src": "13407:95:2", + "src": "13407:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1396, + "declaration": 1196, "isOffset": false, "isSlot": false, - "src": "13449:7:2", + "src": "13449:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1393, + "declaration": 1193, "isOffset": false, "isSlot": false, - "src": "13470:6:2", + "src": "13470:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1391, + "declaration": 1191, "isOffset": false, "isSlot": false, - "src": "13478:6:2", + "src": "13478:6:3", "valueSize": 1 } } ], - "id": 1398, + "id": 1198, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "13426:76:2" + "src": "13426:76:3" } ] }, - "id": 1400, + "documentation": null, + "id": 1200, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -20233,16 +20364,16 @@ "name": "bytesToUint200", "nodeType": "FunctionDefinition", "parameters": { - "id": 1394, + "id": 1194, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1391, + "id": 1191, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1400, - "src": "13333:11:2", + "scope": 1200, + "src": "13333:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20250,10 +20381,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1390, + "id": 1190, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13333:4:2", + "src": "13333:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20264,45 +20395,45 @@ }, { "constant": false, - "id": 1393, + "id": 1193, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1400, - "src": "13346:19:2", + "scope": 1200, + "src": "13346:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1392, + "id": 1192, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "13346:5:2", + "src": "13346:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "13332:34:2" + "src": "13332:34:3" }, "payable": false, "returnParameters": { - "id": 1397, + "id": 1197, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1396, + "id": 1196, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1400, - "src": "13390:15:2", + "scope": 1200, + "src": "13390:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20310,10 +20441,10 @@ "typeString": "uint200" }, "typeName": { - "id": 1395, + "id": 1195, "name": "uint200", "nodeType": "ElementaryTypeName", - "src": "13390:7:2", + "src": "13390:7:3", "typeDescriptions": { "typeIdentifier": "t_uint200", "typeString": "uint200" @@ -20323,58 +20454,59 @@ "visibility": "internal" } ], - "src": "13389:17:2" + "src": "13389:17:3" }, - "scope": 1478, - "src": "13309:193:2", + "scope": 1278, + "src": "13309:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1410, + "id": 1210, "nodeType": "Block", - "src": "13607:95:2", + "src": "13607:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1407, + "declaration": 1207, "isOffset": false, "isSlot": false, - "src": "13649:7:2", + "src": "13649:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1404, + "declaration": 1204, "isOffset": false, "isSlot": false, - "src": "13670:6:2", + "src": "13670:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1402, + "declaration": 1202, "isOffset": false, "isSlot": false, - "src": "13678:6:2", + "src": "13678:6:3", "valueSize": 1 } } ], - "id": 1409, + "id": 1209, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "13626:76:2" + "src": "13626:76:3" } ] }, - "id": 1411, + "documentation": null, + "id": 1211, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -20382,16 +20514,16 @@ "name": "bytesToUint208", "nodeType": "FunctionDefinition", "parameters": { - "id": 1405, + "id": 1205, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1402, + "id": 1202, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1411, - "src": "13533:11:2", + "scope": 1211, + "src": "13533:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20399,10 +20531,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1401, + "id": 1201, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13533:4:2", + "src": "13533:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20413,45 +20545,45 @@ }, { "constant": false, - "id": 1404, + "id": 1204, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1411, - "src": "13546:19:2", + "scope": 1211, + "src": "13546:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1403, + "id": 1203, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "13546:5:2", + "src": "13546:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "13532:34:2" + "src": "13532:34:3" }, "payable": false, "returnParameters": { - "id": 1408, + "id": 1208, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1407, + "id": 1207, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1411, - "src": "13590:15:2", + "scope": 1211, + "src": "13590:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20459,10 +20591,10 @@ "typeString": "uint208" }, "typeName": { - "id": 1406, + "id": 1206, "name": "uint208", "nodeType": "ElementaryTypeName", - "src": "13590:7:2", + "src": "13590:7:3", "typeDescriptions": { "typeIdentifier": "t_uint208", "typeString": "uint208" @@ -20472,58 +20604,59 @@ "visibility": "internal" } ], - "src": "13589:17:2" + "src": "13589:17:3" }, - "scope": 1478, - "src": "13509:193:2", + "scope": 1278, + "src": "13509:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1421, + "id": 1221, "nodeType": "Block", - "src": "13807:95:2", + "src": "13807:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1418, + "declaration": 1218, "isOffset": false, "isSlot": false, - "src": "13849:7:2", + "src": "13849:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1415, + "declaration": 1215, "isOffset": false, "isSlot": false, - "src": "13870:6:2", + "src": "13870:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1413, + "declaration": 1213, "isOffset": false, "isSlot": false, - "src": "13878:6:2", + "src": "13878:6:3", "valueSize": 1 } } ], - "id": 1420, + "id": 1220, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "13826:76:2" + "src": "13826:76:3" } ] }, - "id": 1422, + "documentation": null, + "id": 1222, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -20531,16 +20664,16 @@ "name": "bytesToUint216", "nodeType": "FunctionDefinition", "parameters": { - "id": 1416, + "id": 1216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1413, + "id": 1213, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "13733:11:2", + "scope": 1222, + "src": "13733:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20548,10 +20681,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1412, + "id": 1212, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13733:4:2", + "src": "13733:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20562,45 +20695,45 @@ }, { "constant": false, - "id": 1415, + "id": 1215, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "13746:19:2", + "scope": 1222, + "src": "13746:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1414, + "id": 1214, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "13746:5:2", + "src": "13746:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "13732:34:2" + "src": "13732:34:3" }, "payable": false, "returnParameters": { - "id": 1419, + "id": 1219, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1418, + "id": 1218, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "13790:15:2", + "scope": 1222, + "src": "13790:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20608,10 +20741,10 @@ "typeString": "uint216" }, "typeName": { - "id": 1417, + "id": 1217, "name": "uint216", "nodeType": "ElementaryTypeName", - "src": "13790:7:2", + "src": "13790:7:3", "typeDescriptions": { "typeIdentifier": "t_uint216", "typeString": "uint216" @@ -20621,58 +20754,59 @@ "visibility": "internal" } ], - "src": "13789:17:2" + "src": "13789:17:3" }, - "scope": 1478, - "src": "13709:193:2", + "scope": 1278, + "src": "13709:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1432, + "id": 1232, "nodeType": "Block", - "src": "14007:95:2", + "src": "14007:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1429, + "declaration": 1229, "isOffset": false, "isSlot": false, - "src": "14049:7:2", + "src": "14049:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1426, + "declaration": 1226, "isOffset": false, "isSlot": false, - "src": "14070:6:2", + "src": "14070:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1424, + "declaration": 1224, "isOffset": false, "isSlot": false, - "src": "14078:6:2", + "src": "14078:6:3", "valueSize": 1 } } ], - "id": 1431, + "id": 1231, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "14026:76:2" + "src": "14026:76:3" } ] }, - "id": 1433, + "documentation": null, + "id": 1233, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -20680,16 +20814,16 @@ "name": "bytesToUint224", "nodeType": "FunctionDefinition", "parameters": { - "id": 1427, + "id": 1227, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1424, + "id": 1224, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1433, - "src": "13933:11:2", + "scope": 1233, + "src": "13933:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20697,10 +20831,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1423, + "id": 1223, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13933:4:2", + "src": "13933:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20711,45 +20845,45 @@ }, { "constant": false, - "id": 1426, + "id": 1226, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1433, - "src": "13946:19:2", + "scope": 1233, + "src": "13946:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1425, + "id": 1225, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "13946:5:2", + "src": "13946:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "13932:34:2" + "src": "13932:34:3" }, "payable": false, "returnParameters": { - "id": 1430, + "id": 1230, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1429, + "id": 1229, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1433, - "src": "13990:15:2", + "scope": 1233, + "src": "13990:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20757,10 +20891,10 @@ "typeString": "uint224" }, "typeName": { - "id": 1428, + "id": 1228, "name": "uint224", "nodeType": "ElementaryTypeName", - "src": "13990:7:2", + "src": "13990:7:3", "typeDescriptions": { "typeIdentifier": "t_uint224", "typeString": "uint224" @@ -20770,58 +20904,59 @@ "visibility": "internal" } ], - "src": "13989:17:2" + "src": "13989:17:3" }, - "scope": 1478, - "src": "13909:193:2", + "scope": 1278, + "src": "13909:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1443, + "id": 1243, "nodeType": "Block", - "src": "14207:95:2", + "src": "14207:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1440, + "declaration": 1240, "isOffset": false, "isSlot": false, - "src": "14249:7:2", + "src": "14249:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1437, + "declaration": 1237, "isOffset": false, "isSlot": false, - "src": "14270:6:2", + "src": "14270:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1435, + "declaration": 1235, "isOffset": false, "isSlot": false, - "src": "14278:6:2", + "src": "14278:6:3", "valueSize": 1 } } ], - "id": 1442, + "id": 1242, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "14226:76:2" + "src": "14226:76:3" } ] }, - "id": 1444, + "documentation": null, + "id": 1244, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -20829,16 +20964,16 @@ "name": "bytesToUint232", "nodeType": "FunctionDefinition", "parameters": { - "id": 1438, + "id": 1238, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1435, + "id": 1235, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1444, - "src": "14133:11:2", + "scope": 1244, + "src": "14133:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20846,10 +20981,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1434, + "id": 1234, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "14133:4:2", + "src": "14133:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20860,45 +20995,45 @@ }, { "constant": false, - "id": 1437, + "id": 1237, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1444, - "src": "14146:19:2", + "scope": 1244, + "src": "14146:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1436, + "id": 1236, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "14146:5:2", + "src": "14146:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "14132:34:2" + "src": "14132:34:3" }, "payable": false, "returnParameters": { - "id": 1441, + "id": 1241, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1440, + "id": 1240, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1444, - "src": "14190:15:2", + "scope": 1244, + "src": "14190:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20906,10 +21041,10 @@ "typeString": "uint232" }, "typeName": { - "id": 1439, + "id": 1239, "name": "uint232", "nodeType": "ElementaryTypeName", - "src": "14190:7:2", + "src": "14190:7:3", "typeDescriptions": { "typeIdentifier": "t_uint232", "typeString": "uint232" @@ -20919,58 +21054,59 @@ "visibility": "internal" } ], - "src": "14189:17:2" + "src": "14189:17:3" }, - "scope": 1478, - "src": "14109:193:2", + "scope": 1278, + "src": "14109:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1454, + "id": 1254, "nodeType": "Block", - "src": "14407:95:2", + "src": "14407:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1451, + "declaration": 1251, "isOffset": false, "isSlot": false, - "src": "14449:7:2", + "src": "14449:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1448, + "declaration": 1248, "isOffset": false, "isSlot": false, - "src": "14470:6:2", + "src": "14470:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1446, + "declaration": 1246, "isOffset": false, "isSlot": false, - "src": "14478:6:2", + "src": "14478:6:3", "valueSize": 1 } } ], - "id": 1453, + "id": 1253, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "14426:76:2" + "src": "14426:76:3" } ] }, - "id": 1455, + "documentation": null, + "id": 1255, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -20978,16 +21114,16 @@ "name": "bytesToUint240", "nodeType": "FunctionDefinition", "parameters": { - "id": 1449, + "id": 1249, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1446, + "id": 1246, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1455, - "src": "14333:11:2", + "scope": 1255, + "src": "14333:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20995,10 +21131,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1445, + "id": 1245, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "14333:4:2", + "src": "14333:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21009,45 +21145,45 @@ }, { "constant": false, - "id": 1448, + "id": 1248, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1455, - "src": "14346:19:2", + "scope": 1255, + "src": "14346:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1447, + "id": 1247, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "14346:5:2", + "src": "14346:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "14332:34:2" + "src": "14332:34:3" }, "payable": false, "returnParameters": { - "id": 1452, + "id": 1252, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1451, + "id": 1251, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1455, - "src": "14390:15:2", + "scope": 1255, + "src": "14390:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21055,10 +21191,10 @@ "typeString": "uint240" }, "typeName": { - "id": 1450, + "id": 1250, "name": "uint240", "nodeType": "ElementaryTypeName", - "src": "14390:7:2", + "src": "14390:7:3", "typeDescriptions": { "typeIdentifier": "t_uint240", "typeString": "uint240" @@ -21068,58 +21204,59 @@ "visibility": "internal" } ], - "src": "14389:17:2" + "src": "14389:17:3" }, - "scope": 1478, - "src": "14309:193:2", + "scope": 1278, + "src": "14309:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1465, + "id": 1265, "nodeType": "Block", - "src": "14607:95:2", + "src": "14607:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1462, + "declaration": 1262, "isOffset": false, "isSlot": false, - "src": "14649:7:2", + "src": "14649:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1459, + "declaration": 1259, "isOffset": false, "isSlot": false, - "src": "14670:6:2", + "src": "14670:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1457, + "declaration": 1257, "isOffset": false, "isSlot": false, - "src": "14678:6:2", + "src": "14678:6:3", "valueSize": 1 } } ], - "id": 1464, + "id": 1264, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "14626:76:2" + "src": "14626:76:3" } ] }, - "id": 1466, + "documentation": null, + "id": 1266, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -21127,16 +21264,16 @@ "name": "bytesToUint248", "nodeType": "FunctionDefinition", "parameters": { - "id": 1460, + "id": 1260, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1457, + "id": 1257, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1466, - "src": "14533:11:2", + "scope": 1266, + "src": "14533:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21144,10 +21281,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1456, + "id": 1256, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "14533:4:2", + "src": "14533:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21158,45 +21295,45 @@ }, { "constant": false, - "id": 1459, + "id": 1259, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1466, - "src": "14546:19:2", + "scope": 1266, + "src": "14546:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1458, + "id": 1258, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "14546:5:2", + "src": "14546:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "14532:34:2" + "src": "14532:34:3" }, "payable": false, "returnParameters": { - "id": 1463, + "id": 1263, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1462, + "id": 1262, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1466, - "src": "14590:15:2", + "scope": 1266, + "src": "14590:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21204,10 +21341,10 @@ "typeString": "uint248" }, "typeName": { - "id": 1461, + "id": 1261, "name": "uint248", "nodeType": "ElementaryTypeName", - "src": "14590:7:2", + "src": "14590:7:3", "typeDescriptions": { "typeIdentifier": "t_uint248", "typeString": "uint248" @@ -21217,58 +21354,59 @@ "visibility": "internal" } ], - "src": "14589:17:2" + "src": "14589:17:3" }, - "scope": 1478, - "src": "14509:193:2", + "scope": 1278, + "src": "14509:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1476, + "id": 1276, "nodeType": "Block", - "src": "14807:95:2", + "src": "14807:95:3", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1473, + "declaration": 1273, "isOffset": false, "isSlot": false, - "src": "14849:7:2", + "src": "14849:7:3", "valueSize": 1 } }, { "_input": { - "declaration": 1470, + "declaration": 1270, "isOffset": false, "isSlot": false, - "src": "14870:6:2", + "src": "14870:6:3", "valueSize": 1 } }, { "_offst": { - "declaration": 1468, + "declaration": 1268, "isOffset": false, "isSlot": false, - "src": "14878:6:2", + "src": "14878:6:3", "valueSize": 1 } } ], - "id": 1475, + "id": 1275, "nodeType": "InlineAssembly", "operations": "{\n _output := mload(add(_input, _offst))\n}", - "src": "14826:76:2" + "src": "14826:76:3" } ] }, - "id": 1477, + "documentation": null, + "id": 1277, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -21276,16 +21414,16 @@ "name": "bytesToUint256", "nodeType": "FunctionDefinition", "parameters": { - "id": 1471, + "id": 1271, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1468, + "id": 1268, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1477, - "src": "14733:11:2", + "scope": 1277, + "src": "14733:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21293,10 +21431,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1467, + "id": 1267, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "14733:4:2", + "src": "14733:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21307,45 +21445,45 @@ }, { "constant": false, - "id": 1470, + "id": 1270, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1477, - "src": "14746:19:2", + "scope": 1277, + "src": "14746:19:3", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1469, + "id": 1269, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "14746:5:2", + "src": "14746:5:3", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "14732:34:2" + "src": "14732:34:3" }, "payable": false, "returnParameters": { - "id": 1474, + "id": 1274, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1473, + "id": 1273, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1477, - "src": "14790:15:2", + "scope": 1277, + "src": "14790:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21353,10 +21491,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1472, + "id": 1272, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14790:7:2", + "src": "14790:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21366,26 +21504,26 @@ "visibility": "internal" } ], - "src": "14789:17:2" + "src": "14789:17:3" }, - "scope": 1478, - "src": "14709:193:2", + "scope": 1278, + "src": "14709:193:3", "stateMutability": "pure", "superFunction": null, "visibility": "internal" } ], - "scope": 1479, - "src": "187:14723:2" + "scope": 1279, + "src": "187:14723:3" } ], - "src": "0:14911:2" + "src": "0:14911:3" }, "compiler": { "name": "solc", - "version": "0.4.19+commit.c4cbbb05.Emscripten.clang" + "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, - "schemaVersion": "2.0.0", - "updatedAt": "2018-04-11T03:43:43.246Z" + "schemaVersion": "2.0.1", + "updatedAt": "2018-09-25T04:39:56.964Z" } \ No newline at end of file diff --git a/build/contracts/DummyContract.json b/build/contracts/DummyContract.json new file mode 100644 index 0000000..6eef0f4 --- /dev/null +++ b/build/contracts/DummyContract.json @@ -0,0 +1,536 @@ +{ + "contractName": "DummyContract", + "abi": [ + { + "inputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "constant": false, + "inputs": [ + { + "name": "a", + "type": "uint256" + }, + { + "name": "b", + "type": "uint256" + } + ], + "name": "add", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060c58061001f6000396000f300608060405260043610603f576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063771602f7146044575b600080fd5b348015604f57600080fd5b5060766004803603810190808035906020019092919080359060200190929190505050608c565b6040518082815260200191505060405180910390f35b60008183019050929150505600a165627a7a723058202e5fa1a7b59f52c895f516beb1e9ee4aeedf8b806f51eb71e457ccb7a83e693b0029", + "deployedBytecode": "0x608060405260043610603f576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063771602f7146044575b600080fd5b348015604f57600080fd5b5060766004803603810190808035906020019092919080359060200190929190505050608c565b6040518082815260200191505060405180910390f35b60008183019050929150505600a165627a7a723058202e5fa1a7b59f52c895f516beb1e9ee4aeedf8b806f51eb71e457ccb7a83e693b0029", + "sourceMap": "25:137:0:-;;;54:23;8:9:-1;5:2;;;30:1;27;20:12;5:2;54:23:0;25:137;;;;;;", + "deployedSourceMap": "25:137:0:-;;;;;;;;;;;;;;;;;;;;;;;;82:78;;8:9:-1;5:2;;;30:1;27;20:12;5:2;82:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;127:4;152:1;150;:3;143:10;;82:78;;;;:::o", + "source": "pragma solidity ^0.4.24;\ncontract DummyContract {\n constructor() public {}\n function add(uint a, uint b) public returns (uint) {\n return a+b;\n }\n}", + "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/DummyContract.sol", + "ast": { + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/DummyContract.sol", + "exportedSymbols": { + "DummyContract": [ + 20 + ] + }, + "id": 21, + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "^", + "0.4", + ".24" + ], + "nodeType": "PragmaDirective", + "src": "0:24:0" + }, + { + "baseContracts": [], + "contractDependencies": [], + "contractKind": "contract", + "documentation": null, + "fullyImplemented": true, + "id": 20, + "linearizedBaseContracts": [ + 20 + ], + "name": "DummyContract", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 4, + "nodeType": "Block", + "src": "75:2:0", + "statements": [] + }, + "documentation": null, + "id": 5, + "implemented": true, + "isConstructor": true, + "isDeclaredConst": false, + "modifiers": [], + "name": "", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2, + "nodeType": "ParameterList", + "parameters": [], + "src": "65:2:0" + }, + "payable": false, + "returnParameters": { + "id": 3, + "nodeType": "ParameterList", + "parameters": [], + "src": "75:0:0" + }, + "scope": 20, + "src": "54:23:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 18, + "nodeType": "Block", + "src": "133:27:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 16, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 14, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 7, + "src": "150:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "argumentTypes": null, + "id": 15, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 9, + "src": "152:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "150:3:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 13, + "id": 17, + "nodeType": "Return", + "src": "143:10:0" + } + ] + }, + "documentation": null, + "id": 19, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "add", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 10, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 7, + "name": "a", + "nodeType": "VariableDeclaration", + "scope": 19, + "src": "95:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 6, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "95:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 9, + "name": "b", + "nodeType": "VariableDeclaration", + "scope": 19, + "src": "103:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 8, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "103:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "94:16:0" + }, + "payable": false, + "returnParameters": { + "id": 13, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 12, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 19, + "src": "127:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 11, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "127:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "126:6:0" + }, + "scope": 20, + "src": "82:78:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + } + ], + "scope": 21, + "src": "25:137:0" + } + ], + "src": "0:162:0" + }, + "legacyAST": { + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/DummyContract.sol", + "exportedSymbols": { + "DummyContract": [ + 20 + ] + }, + "id": 21, + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "^", + "0.4", + ".24" + ], + "nodeType": "PragmaDirective", + "src": "0:24:0" + }, + { + "baseContracts": [], + "contractDependencies": [], + "contractKind": "contract", + "documentation": null, + "fullyImplemented": true, + "id": 20, + "linearizedBaseContracts": [ + 20 + ], + "name": "DummyContract", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 4, + "nodeType": "Block", + "src": "75:2:0", + "statements": [] + }, + "documentation": null, + "id": 5, + "implemented": true, + "isConstructor": true, + "isDeclaredConst": false, + "modifiers": [], + "name": "", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2, + "nodeType": "ParameterList", + "parameters": [], + "src": "65:2:0" + }, + "payable": false, + "returnParameters": { + "id": 3, + "nodeType": "ParameterList", + "parameters": [], + "src": "75:0:0" + }, + "scope": 20, + "src": "54:23:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 18, + "nodeType": "Block", + "src": "133:27:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 16, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 14, + "name": "a", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 7, + "src": "150:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "argumentTypes": null, + "id": 15, + "name": "b", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 9, + "src": "152:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "150:3:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 13, + "id": 17, + "nodeType": "Return", + "src": "143:10:0" + } + ] + }, + "documentation": null, + "id": 19, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "add", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 10, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 7, + "name": "a", + "nodeType": "VariableDeclaration", + "scope": 19, + "src": "95:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 6, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "95:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 9, + "name": "b", + "nodeType": "VariableDeclaration", + "scope": 19, + "src": "103:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 8, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "103:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "94:16:0" + }, + "payable": false, + "returnParameters": { + "id": 13, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 12, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 19, + "src": "127:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 11, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "127:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "126:6:0" + }, + "scope": 20, + "src": "82:78:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + } + ], + "scope": 21, + "src": "25:137:0" + } + ], + "src": "0:162:0" + }, + "compiler": { + "name": "solc", + "version": "0.4.24+commit.e67f0147.Emscripten.clang" + }, + "networks": { + "5777": { + "events": {}, + "links": {}, + "address": "0x68b5e461314b450c3740fc6e489b88bbdfe3117b", + "transactionHash": "0xda51b9768053c5a52812c67fa059dc954746516b594e3cfc81d5fa1a7063f325" + } + }, + "schemaVersion": "2.0.1", + "updatedAt": "2018-09-25T04:39:58.036Z" +} \ No newline at end of file diff --git a/build/contracts/DummyToken.json b/build/contracts/DummyToken.json index 641c50a..905eb50 100644 --- a/build/contracts/DummyToken.json +++ b/build/contracts/DummyToken.json @@ -53,34 +53,43 @@ "payable": false, "stateMutability": "view", "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "killMe", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" } ], - "bytecode": "0x6060604052341561000f57600080fd5b6040516020806102e2833981016040528080519060200190919050506601c6bf526340006000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505061025d806100856000396000f30060606040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806370a0823114610051578063a9059cbb1461009e575b600080fd5b341561005c57600080fd5b610088600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506100f8565b6040518082815260200191505060405180910390f35b34156100a957600080fd5b6100de600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610140565b604051808215151515815260200191505060405180910390f35b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561018f57600080fd5b816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060019050929150505600a165627a7a7230582076c7e066d0006b3386cd8c62992c16a1621d7173a61ed835dfa059c6c67657a80029", - "deployedBytecode": "0x60606040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806370a0823114610051578063a9059cbb1461009e575b600080fd5b341561005c57600080fd5b610088600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506100f8565b6040518082815260200191505060405180910390f35b34156100a957600080fd5b6100de600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610140565b604051808215151515815260200191505060405180910390f35b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561018f57600080fd5b816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060019050929150505600a165627a7a7230582076c7e066d0006b3386cd8c62992c16a1621d7173a61ed835dfa059c6c67657a80029", - "sourceMap": "24:580:0:-;;;50:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;118:15;101:8;:14;110:4;101:14;;;;;;;;;;;;;;;:32;;;;50:90;24:580;;;;;;", - "deployedSourceMap": "24:580:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;378:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;145:227;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;378:117;438:15;472:8;:16;481:6;472:16;;;;;;;;;;;;;;;;465:23;;378:117;;;:::o;145:227::-;208:12;264:6;240:8;:20;249:10;240:20;;;;;;;;;;;;;;;;:30;;232:39;;;;;;;;305:6;281:8;:20;290:10;281:20;;;;;;;;;;;;;;;;:30;;;;;;;;;;;338:6;321:8;:13;330:3;321:13;;;;;;;;;;;;;;;;:23;;;;;;;;;;;361:4;354:11;;145:227;;;;:::o", - "source": "pragma solidity ^0.4.0;\ncontract DummyToken {\n function DummyToken(address addr) public {\n balances[addr] = 500000000000000;\n }\n function transfer(address _to, uint256 _value) public returns (bool success) {\n require(balances[msg.sender] >= _value);\n balances[msg.sender] -= _value;\n balances[_to] += _value;\n return true;\n }\n\n function balanceOf(address _owner) public constant returns (uint256 balance) {\n return balances[_owner];\n }\n\n mapping (address => uint256) balances;\n mapping (address => mapping (address => uint256)) allowed;\n}", - "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/DummyToken.sol", + "bytecode": "0x608060405234801561001057600080fd5b506040516020806103a3833981018060405281019080805190602001909291905050506601c6bf526340006000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550506103168061008d6000396000f300608060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806370a082311461005c578063a9059cbb146100b3578063b603cd8014610118575b600080fd5b34801561006857600080fd5b5061009d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061012f565b6040518082815260200191505060405180910390f35b3480156100bf57600080fd5b506100fe600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610177565b604051808215151515815260200191505060405180910390f35b34801561012457600080fd5b5061012d6102d1565b005b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561022f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f6c6f772073656e6465722062616c616e6365000000000000000000000000000081525060200191505060405180910390fd5b816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506001905092915050565b3073ffffffffffffffffffffffffffffffffffffffff16ff00a165627a7a72305820319d522d62868da59b543fe73ca1d0275bba57c90ce5d5b848692822b0128e4e0029", + "deployedBytecode": "0x608060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806370a082311461005c578063a9059cbb146100b3578063b603cd8014610118575b600080fd5b34801561006857600080fd5b5061009d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061012f565b6040518082815260200191505060405180910390f35b3480156100bf57600080fd5b506100fe600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610177565b604051808215151515815260200191505060405180910390f35b34801561012457600080fd5b5061012d6102d1565b005b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561022f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f6c6f772073656e6465722062616c616e6365000000000000000000000000000081525060200191505060405180910390fd5b816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506001905092915050565b3073ffffffffffffffffffffffffffffffffffffffff16ff00a165627a7a72305820319d522d62868da59b543fe73ca1d0275bba57c90ce5d5b848692822b0128e4e0029", + "sourceMap": "25:653:1:-;;;51:82;8:9:-1;5:2;;;30:1;27;20:12;5:2;51:82:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111:15;94:8;:14;103:4;94:14;;;;;;;;;;;;;;;:32;;;;51:82;25:653;;;;;;", + "deployedSourceMap": "25:653:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;392:113;;8:9:-1;5:2;;;30:1;27;20:12;5:2;392:113:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;138:249;;8:9:-1;5:2;;;30:1;27;20:12;5:2;138:249:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;510:60;;8:9:-1;5:2;;;30:1;27;20:12;5:2;510:60:1;;;;;;392:113;448:15;482:8;:16;491:6;482:16;;;;;;;;;;;;;;;;475:23;;392:113;;;:::o;138:249::-;201:12;257:6;233:8;:20;242:10;233:20;;;;;;;;;;;;;;;;:30;;225:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;320:6;296:8;:20;305:10;296:20;;;;;;;;;;;;;;;;:30;;;;;;;;;;;353:6;336:8;:13;345:3;336:13;;;;;;;;;;;;;;;;:23;;;;;;;;;;;376:4;369:11;;138:249;;;;:::o;510:60::-;558:4;545:18;;", + "source": "pragma solidity ^0.4.24;\ncontract DummyToken {\n constructor(address addr) public {\n balances[addr] = 500000000000000;\n }\n function transfer(address _to, uint256 _value) public returns (bool success) {\n require(balances[msg.sender] >= _value, \"low sender balance\");\n balances[msg.sender] -= _value;\n balances[_to] += _value;\n return true;\n }\n function balanceOf(address _owner) public view returns (uint256 balance) {\n return balances[_owner];\n }\n function killMe() public {\n selfdestruct(this);\n }\n mapping (address => uint256) balances;\n mapping (address => mapping (address => uint256)) allowed;\n}", + "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/DummyToken.sol", "ast": { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/DummyToken.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/DummyToken.sol", "exportedSymbols": { "DummyToken": [ - 70 + 100 ] }, - "id": 71, + "id": 101, "nodeType": "SourceUnit", "nodes": [ { - "id": 1, + "id": 22, "literals": [ "solidity", "^", "0.4", - ".0" + ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:0" + "src": "0:24:1" }, { "baseContracts": [], @@ -88,23 +97,23 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 70, + "id": 100, "linearizedBaseContracts": [ - 70 + 100 ], "name": "DummyToken", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 12, + "id": 33, "nodeType": "Block", - "src": "91:49:0", + "src": "84:49:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 10, + "id": 31, "isConstant": false, "isLValue": false, "isPure": false, @@ -113,26 +122,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 6, + "id": 27, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 63, - "src": "101:8:0", + "referencedDeclaration": 93, + "src": "94:8:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 8, + "id": 29, "indexExpression": { "argumentTypes": null, - "id": 7, + "id": 28, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3, - "src": "110:4:0", + "referencedDeclaration": 24, + "src": "103:4:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -143,7 +152,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "101:14:0", + "src": "94:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -154,14 +163,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "353030303030303030303030303030", - "id": 9, + "id": 30, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "118:15:0", + "src": "111:15:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_500000000000000_by_1", @@ -169,36 +178,37 @@ }, "value": "500000000000000" }, - "src": "101:32:0", + "src": "94:32:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 11, + "id": 32, "nodeType": "ExpressionStatement", - "src": "101:32:0" + "src": "94:32:1" } ] }, - "id": 13, + "documentation": null, + "id": 34, "implemented": true, "isConstructor": true, "isDeclaredConst": false, "modifiers": [], - "name": "DummyToken", + "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 4, + "id": 25, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3, + "id": 24, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 13, - "src": "70:12:0", + "scope": 34, + "src": "63:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -206,10 +216,10 @@ "typeString": "address" }, "typeName": { - "id": 2, + "id": 23, "name": "address", "nodeType": "ElementaryTypeName", - "src": "70:7:0", + "src": "63:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -219,26 +229,26 @@ "visibility": "internal" } ], - "src": "69:14:0" + "src": "62:14:1" }, "payable": false, "returnParameters": { - "id": 5, + "id": 26, "nodeType": "ParameterList", "parameters": [], - "src": "91:0:0" + "src": "84:0:1" }, - "scope": 70, - "src": "50:90:0", + "scope": 100, + "src": "51:82:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 46, + "id": 68, "nodeType": "Block", - "src": "222:150:0", + "src": "215:172:1", "statements": [ { "expression": { @@ -250,7 +260,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 28, + "id": 49, "isConstant": false, "isLValue": false, "isPure": false, @@ -259,34 +269,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 23, + "id": 44, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 63, - "src": "240:8:0", + "referencedDeclaration": 93, + "src": "233:8:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 26, + "id": 47, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 24, + "id": 45, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "249:3:0", + "referencedDeclaration": 1937, + "src": "242:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 25, + "id": 46, "isConstant": false, "isLValue": false, "isPure": false, @@ -294,7 +304,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "249:10:0", + "src": "242:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -305,7 +315,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "240:20:0", + "src": "233:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -315,22 +325,40 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 27, + "id": 48, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 17, - "src": "264:6:0", + "referencedDeclaration": 38, + "src": "257:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "240:30:0", + "src": "233:30:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } + }, + { + "argumentTypes": null, + "hexValue": "6c6f772073656e6465722062616c616e6365", + "id": 50, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "265:20:1", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_fb73bad2e28677c27beff5c8d71fdd4f9b1f7058dbbb1595a8b207cd7b0a63a9", + "typeString": "literal_string \"low sender balance\"" + }, + "value": "low sender balance" } ], "expression": { @@ -338,20 +366,27 @@ { "typeIdentifier": "t_bool", "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_fb73bad2e28677c27beff5c8d71fdd4f9b1f7058dbbb1595a8b207cd7b0a63a9", + "typeString": "literal_string \"low sender balance\"" } ], - "id": 22, + "id": 43, "name": "require", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1706, - "src": "232:7:0", + "overloadedDeclarations": [ + 1940, + 1941 + ], + "referencedDeclaration": 1941, + "src": "225:7:1", "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "id": 29, + "id": 51, "isConstant": false, "isLValue": false, "isPure": false, @@ -359,20 +394,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "232:39:0", + "src": "225:61:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 30, + "id": 52, "nodeType": "ExpressionStatement", - "src": "232:39:0" + "src": "225:61:1" }, { "expression": { "argumentTypes": null, - "id": 36, + "id": 58, "isConstant": false, "isLValue": false, "isPure": false, @@ -381,34 +416,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 31, + "id": 53, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 63, - "src": "281:8:0", + "referencedDeclaration": 93, + "src": "296:8:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 34, + "id": 56, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 32, + "id": 54, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "290:3:0", + "referencedDeclaration": 1937, + "src": "305:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 33, + "id": 55, "isConstant": false, "isLValue": false, "isPure": false, @@ -416,7 +451,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "290:10:0", + "src": "305:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -427,7 +462,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "281:20:0", + "src": "296:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -437,31 +472,31 @@ "operator": "-=", "rightHandSide": { "argumentTypes": null, - "id": 35, + "id": 57, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 17, - "src": "305:6:0", + "referencedDeclaration": 38, + "src": "320:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "281:30:0", + "src": "296:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 37, + "id": 59, "nodeType": "ExpressionStatement", - "src": "281:30:0" + "src": "296:30:1" }, { "expression": { "argumentTypes": null, - "id": 42, + "id": 64, "isConstant": false, "isLValue": false, "isPure": false, @@ -470,26 +505,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 38, + "id": 60, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 63, - "src": "321:8:0", + "referencedDeclaration": 93, + "src": "336:8:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 40, + "id": 62, "indexExpression": { "argumentTypes": null, - "id": 39, + "id": 61, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 15, - "src": "330:3:0", + "referencedDeclaration": 36, + "src": "345:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -500,7 +535,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "321:13:0", + "src": "336:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -510,39 +545,39 @@ "operator": "+=", "rightHandSide": { "argumentTypes": null, - "id": 41, + "id": 63, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 17, - "src": "338:6:0", + "referencedDeclaration": 38, + "src": "353:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "321:23:0", + "src": "336:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 43, + "id": 65, "nodeType": "ExpressionStatement", - "src": "321:23:0" + "src": "336:23:1" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 44, + "id": 66, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "361:4:0", + "src": "376:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -550,14 +585,15 @@ }, "value": "true" }, - "functionReturnParameters": 21, - "id": 45, + "functionReturnParameters": 42, + "id": 67, "nodeType": "Return", - "src": "354:11:0" + "src": "369:11:1" } ] }, - "id": 47, + "documentation": null, + "id": 69, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -565,16 +601,16 @@ "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 18, + "id": 39, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 15, + "id": 36, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 47, - "src": "163:11:0", + "scope": 69, + "src": "156:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -582,10 +618,10 @@ "typeString": "address" }, "typeName": { - "id": 14, + "id": 35, "name": "address", "nodeType": "ElementaryTypeName", - "src": "163:7:0", + "src": "156:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -596,11 +632,11 @@ }, { "constant": false, - "id": 17, + "id": 38, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 47, - "src": "176:14:0", + "scope": 69, + "src": "169:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -608,10 +644,10 @@ "typeString": "uint256" }, "typeName": { - "id": 16, + "id": 37, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "176:7:0", + "src": "169:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -621,20 +657,20 @@ "visibility": "internal" } ], - "src": "162:29:0" + "src": "155:29:1" }, "payable": false, "returnParameters": { - "id": 21, + "id": 42, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 20, + "id": 41, "name": "success", "nodeType": "VariableDeclaration", - "scope": 47, - "src": "208:12:0", + "scope": 69, + "src": "201:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -642,10 +678,10 @@ "typeString": "bool" }, "typeName": { - "id": 19, + "id": 40, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "208:4:0", + "src": "201:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -655,45 +691,45 @@ "visibility": "internal" } ], - "src": "207:14:0" + "src": "200:14:1" }, - "scope": 70, - "src": "145:227:0", + "scope": 100, + "src": "138:249:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 58, + "id": 80, "nodeType": "Block", - "src": "455:40:0", + "src": "465:40:1", "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 54, + "id": 76, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 63, - "src": "472:8:0", + "referencedDeclaration": 93, + "src": "482:8:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 56, + "id": 78, "indexExpression": { "argumentTypes": null, - "id": 55, + "id": 77, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 49, - "src": "481:6:0", + "referencedDeclaration": 71, + "src": "491:6:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -704,20 +740,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "472:16:0", + "src": "482:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 53, - "id": 57, + "functionReturnParameters": 75, + "id": 79, "nodeType": "Return", - "src": "465:23:0" + "src": "475:23:1" } ] }, - "id": 59, + "documentation": null, + "id": 81, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -725,16 +762,16 @@ "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 50, + "id": 72, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 49, + "id": 71, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 59, - "src": "397:14:0", + "scope": 81, + "src": "411:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -742,10 +779,10 @@ "typeString": "address" }, "typeName": { - "id": 48, + "id": 70, "name": "address", "nodeType": "ElementaryTypeName", - "src": "397:7:0", + "src": "411:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -755,20 +792,20 @@ "visibility": "internal" } ], - "src": "396:16:0" + "src": "410:16:1" }, "payable": false, "returnParameters": { - "id": 53, + "id": 75, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 52, + "id": 74, "name": "balance", "nodeType": "VariableDeclaration", - "scope": 59, - "src": "438:15:0", + "scope": 81, + "src": "448:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -776,10 +813,10 @@ "typeString": "uint256" }, "typeName": { - "id": 51, + "id": 73, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "438:7:0", + "src": "448:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -789,21 +826,110 @@ "visibility": "internal" } ], - "src": "437:17:0" + "src": "447:17:1" }, - "scope": 70, - "src": "378:117:0", + "scope": 100, + "src": "392:113:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, + { + "body": { + "id": 88, + "nodeType": "Block", + "src": "535:35:1", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 85, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1952, + "src": "558:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DummyToken_$100", + "typeString": "contract DummyToken" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_DummyToken_$100", + "typeString": "contract DummyToken" + } + ], + "id": 84, + "name": "selfdestruct", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1945, + "src": "545:12:1", + "typeDescriptions": { + "typeIdentifier": "t_function_selfdestruct_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 86, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "545:18:1", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 87, + "nodeType": "ExpressionStatement", + "src": "545:18:1" + } + ] + }, + "documentation": null, + "id": 89, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "killMe", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 82, + "nodeType": "ParameterList", + "parameters": [], + "src": "525:2:1" + }, + "payable": false, + "returnParameters": { + "id": 83, + "nodeType": "ParameterList", + "parameters": [], + "src": "535:0:1" + }, + "scope": 100, + "src": "510:60:1", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, { "constant": false, - "id": 63, + "id": 93, "name": "balances", "nodeType": "VariableDeclaration", - "scope": 70, - "src": "501:37:0", + "scope": 100, + "src": "575:37:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -811,28 +937,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 62, + "id": 92, "keyType": { - "id": 60, + "id": 90, "name": "address", "nodeType": "ElementaryTypeName", - "src": "510:7:0", + "src": "584:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "501:28:0", + "src": "575:28:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 61, + "id": 91, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "521:7:0", + "src": "595:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -844,11 +970,11 @@ }, { "constant": false, - "id": 69, + "id": 99, "name": "allowed", "nodeType": "VariableDeclaration", - "scope": 70, - "src": "544:57:0", + "scope": 100, + "src": "618:57:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -856,46 +982,46 @@ "typeString": "mapping(address => mapping(address => uint256))" }, "typeName": { - "id": 68, + "id": 98, "keyType": { - "id": 64, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "553:7:0", + "src": "627:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "544:49:0", + "src": "618:49:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" }, "valueType": { - "id": 67, + "id": 97, "keyType": { - "id": 65, + "id": 95, "name": "address", "nodeType": "ElementaryTypeName", - "src": "573:7:0", + "src": "647:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "564:28:0", + "src": "638:28:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 66, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "584:7:0", + "src": "658:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -907,32 +1033,32 @@ "visibility": "internal" } ], - "scope": 71, - "src": "24:580:0" + "scope": 101, + "src": "25:653:1" } ], - "src": "0:604:0" + "src": "0:678:1" }, "legacyAST": { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/DummyToken.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/DummyToken.sol", "exportedSymbols": { "DummyToken": [ - 70 + 100 ] }, - "id": 71, + "id": 101, "nodeType": "SourceUnit", "nodes": [ { - "id": 1, + "id": 22, "literals": [ "solidity", "^", "0.4", - ".0" + ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:0" + "src": "0:24:1" }, { "baseContracts": [], @@ -940,23 +1066,23 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 70, + "id": 100, "linearizedBaseContracts": [ - 70 + 100 ], "name": "DummyToken", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 12, + "id": 33, "nodeType": "Block", - "src": "91:49:0", + "src": "84:49:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 10, + "id": 31, "isConstant": false, "isLValue": false, "isPure": false, @@ -965,26 +1091,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 6, + "id": 27, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 63, - "src": "101:8:0", + "referencedDeclaration": 93, + "src": "94:8:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 8, + "id": 29, "indexExpression": { "argumentTypes": null, - "id": 7, + "id": 28, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3, - "src": "110:4:0", + "referencedDeclaration": 24, + "src": "103:4:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -995,7 +1121,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "101:14:0", + "src": "94:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1006,14 +1132,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "353030303030303030303030303030", - "id": 9, + "id": 30, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "118:15:0", + "src": "111:15:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_500000000000000_by_1", @@ -1021,36 +1147,37 @@ }, "value": "500000000000000" }, - "src": "101:32:0", + "src": "94:32:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 11, + "id": 32, "nodeType": "ExpressionStatement", - "src": "101:32:0" + "src": "94:32:1" } ] }, - "id": 13, + "documentation": null, + "id": 34, "implemented": true, "isConstructor": true, "isDeclaredConst": false, "modifiers": [], - "name": "DummyToken", + "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 4, + "id": 25, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3, + "id": 24, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 13, - "src": "70:12:0", + "scope": 34, + "src": "63:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1058,10 +1185,10 @@ "typeString": "address" }, "typeName": { - "id": 2, + "id": 23, "name": "address", "nodeType": "ElementaryTypeName", - "src": "70:7:0", + "src": "63:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1071,26 +1198,26 @@ "visibility": "internal" } ], - "src": "69:14:0" + "src": "62:14:1" }, "payable": false, "returnParameters": { - "id": 5, + "id": 26, "nodeType": "ParameterList", "parameters": [], - "src": "91:0:0" + "src": "84:0:1" }, - "scope": 70, - "src": "50:90:0", + "scope": 100, + "src": "51:82:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 46, + "id": 68, "nodeType": "Block", - "src": "222:150:0", + "src": "215:172:1", "statements": [ { "expression": { @@ -1102,7 +1229,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 28, + "id": 49, "isConstant": false, "isLValue": false, "isPure": false, @@ -1111,34 +1238,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 23, + "id": 44, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 63, - "src": "240:8:0", + "referencedDeclaration": 93, + "src": "233:8:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 26, + "id": 47, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 24, + "id": 45, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "249:3:0", + "referencedDeclaration": 1937, + "src": "242:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 25, + "id": 46, "isConstant": false, "isLValue": false, "isPure": false, @@ -1146,7 +1273,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "249:10:0", + "src": "242:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1157,7 +1284,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "240:20:0", + "src": "233:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1167,22 +1294,40 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 27, + "id": 48, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 17, - "src": "264:6:0", + "referencedDeclaration": 38, + "src": "257:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "240:30:0", + "src": "233:30:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } + }, + { + "argumentTypes": null, + "hexValue": "6c6f772073656e6465722062616c616e6365", + "id": 50, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "265:20:1", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_fb73bad2e28677c27beff5c8d71fdd4f9b1f7058dbbb1595a8b207cd7b0a63a9", + "typeString": "literal_string \"low sender balance\"" + }, + "value": "low sender balance" } ], "expression": { @@ -1190,20 +1335,27 @@ { "typeIdentifier": "t_bool", "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_fb73bad2e28677c27beff5c8d71fdd4f9b1f7058dbbb1595a8b207cd7b0a63a9", + "typeString": "literal_string \"low sender balance\"" } ], - "id": 22, + "id": 43, "name": "require", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1706, - "src": "232:7:0", + "overloadedDeclarations": [ + 1940, + 1941 + ], + "referencedDeclaration": 1941, + "src": "225:7:1", "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "id": 29, + "id": 51, "isConstant": false, "isLValue": false, "isPure": false, @@ -1211,20 +1363,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "232:39:0", + "src": "225:61:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 30, + "id": 52, "nodeType": "ExpressionStatement", - "src": "232:39:0" + "src": "225:61:1" }, { "expression": { "argumentTypes": null, - "id": 36, + "id": 58, "isConstant": false, "isLValue": false, "isPure": false, @@ -1233,34 +1385,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 31, + "id": 53, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 63, - "src": "281:8:0", + "referencedDeclaration": 93, + "src": "296:8:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 34, + "id": 56, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 32, + "id": 54, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "290:3:0", + "referencedDeclaration": 1937, + "src": "305:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 33, + "id": 55, "isConstant": false, "isLValue": false, "isPure": false, @@ -1268,7 +1420,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "290:10:0", + "src": "305:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1279,7 +1431,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "281:20:0", + "src": "296:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1289,31 +1441,31 @@ "operator": "-=", "rightHandSide": { "argumentTypes": null, - "id": 35, + "id": 57, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 17, - "src": "305:6:0", + "referencedDeclaration": 38, + "src": "320:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "281:30:0", + "src": "296:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 37, + "id": 59, "nodeType": "ExpressionStatement", - "src": "281:30:0" + "src": "296:30:1" }, { "expression": { "argumentTypes": null, - "id": 42, + "id": 64, "isConstant": false, "isLValue": false, "isPure": false, @@ -1322,26 +1474,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 38, + "id": 60, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 63, - "src": "321:8:0", + "referencedDeclaration": 93, + "src": "336:8:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 40, + "id": 62, "indexExpression": { "argumentTypes": null, - "id": 39, + "id": 61, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 15, - "src": "330:3:0", + "referencedDeclaration": 36, + "src": "345:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1352,7 +1504,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "321:13:0", + "src": "336:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1362,39 +1514,39 @@ "operator": "+=", "rightHandSide": { "argumentTypes": null, - "id": 41, + "id": 63, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 17, - "src": "338:6:0", + "referencedDeclaration": 38, + "src": "353:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "321:23:0", + "src": "336:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 43, + "id": 65, "nodeType": "ExpressionStatement", - "src": "321:23:0" + "src": "336:23:1" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 44, + "id": 66, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "361:4:0", + "src": "376:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1402,14 +1554,15 @@ }, "value": "true" }, - "functionReturnParameters": 21, - "id": 45, + "functionReturnParameters": 42, + "id": 67, "nodeType": "Return", - "src": "354:11:0" + "src": "369:11:1" } ] }, - "id": 47, + "documentation": null, + "id": 69, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -1417,16 +1570,16 @@ "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 18, + "id": 39, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 15, + "id": 36, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 47, - "src": "163:11:0", + "scope": 69, + "src": "156:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1434,10 +1587,10 @@ "typeString": "address" }, "typeName": { - "id": 14, + "id": 35, "name": "address", "nodeType": "ElementaryTypeName", - "src": "163:7:0", + "src": "156:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1448,11 +1601,11 @@ }, { "constant": false, - "id": 17, + "id": 38, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 47, - "src": "176:14:0", + "scope": 69, + "src": "169:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1460,10 +1613,10 @@ "typeString": "uint256" }, "typeName": { - "id": 16, + "id": 37, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "176:7:0", + "src": "169:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1473,20 +1626,20 @@ "visibility": "internal" } ], - "src": "162:29:0" + "src": "155:29:1" }, "payable": false, "returnParameters": { - "id": 21, + "id": 42, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 20, + "id": 41, "name": "success", "nodeType": "VariableDeclaration", - "scope": 47, - "src": "208:12:0", + "scope": 69, + "src": "201:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1494,10 +1647,10 @@ "typeString": "bool" }, "typeName": { - "id": 19, + "id": 40, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "208:4:0", + "src": "201:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1507,45 +1660,45 @@ "visibility": "internal" } ], - "src": "207:14:0" + "src": "200:14:1" }, - "scope": 70, - "src": "145:227:0", + "scope": 100, + "src": "138:249:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 58, + "id": 80, "nodeType": "Block", - "src": "455:40:0", + "src": "465:40:1", "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 54, + "id": 76, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 63, - "src": "472:8:0", + "referencedDeclaration": 93, + "src": "482:8:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 56, + "id": 78, "indexExpression": { "argumentTypes": null, - "id": 55, + "id": 77, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 49, - "src": "481:6:0", + "referencedDeclaration": 71, + "src": "491:6:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1556,20 +1709,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "472:16:0", + "src": "482:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 53, - "id": 57, + "functionReturnParameters": 75, + "id": 79, "nodeType": "Return", - "src": "465:23:0" + "src": "475:23:1" } ] }, - "id": 59, + "documentation": null, + "id": 81, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1577,16 +1731,16 @@ "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 50, + "id": 72, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 49, + "id": 71, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 59, - "src": "397:14:0", + "scope": 81, + "src": "411:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1594,10 +1748,10 @@ "typeString": "address" }, "typeName": { - "id": 48, + "id": 70, "name": "address", "nodeType": "ElementaryTypeName", - "src": "397:7:0", + "src": "411:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1607,20 +1761,20 @@ "visibility": "internal" } ], - "src": "396:16:0" + "src": "410:16:1" }, "payable": false, "returnParameters": { - "id": 53, + "id": 75, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 52, + "id": 74, "name": "balance", "nodeType": "VariableDeclaration", - "scope": 59, - "src": "438:15:0", + "scope": 81, + "src": "448:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1628,10 +1782,10 @@ "typeString": "uint256" }, "typeName": { - "id": 51, + "id": 73, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "438:7:0", + "src": "448:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1641,21 +1795,110 @@ "visibility": "internal" } ], - "src": "437:17:0" + "src": "447:17:1" }, - "scope": 70, - "src": "378:117:0", + "scope": 100, + "src": "392:113:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, + { + "body": { + "id": 88, + "nodeType": "Block", + "src": "535:35:1", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 85, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1952, + "src": "558:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DummyToken_$100", + "typeString": "contract DummyToken" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_DummyToken_$100", + "typeString": "contract DummyToken" + } + ], + "id": 84, + "name": "selfdestruct", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1945, + "src": "545:12:1", + "typeDescriptions": { + "typeIdentifier": "t_function_selfdestruct_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 86, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "545:18:1", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 87, + "nodeType": "ExpressionStatement", + "src": "545:18:1" + } + ] + }, + "documentation": null, + "id": 89, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "killMe", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 82, + "nodeType": "ParameterList", + "parameters": [], + "src": "525:2:1" + }, + "payable": false, + "returnParameters": { + "id": 83, + "nodeType": "ParameterList", + "parameters": [], + "src": "535:0:1" + }, + "scope": 100, + "src": "510:60:1", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, { "constant": false, - "id": 63, + "id": 93, "name": "balances", "nodeType": "VariableDeclaration", - "scope": 70, - "src": "501:37:0", + "scope": 100, + "src": "575:37:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -1663,28 +1906,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 62, + "id": 92, "keyType": { - "id": 60, + "id": 90, "name": "address", "nodeType": "ElementaryTypeName", - "src": "510:7:0", + "src": "584:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "501:28:0", + "src": "575:28:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 61, + "id": 91, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "521:7:0", + "src": "595:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1696,11 +1939,11 @@ }, { "constant": false, - "id": 69, + "id": 99, "name": "allowed", "nodeType": "VariableDeclaration", - "scope": 70, - "src": "544:57:0", + "scope": 100, + "src": "618:57:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -1708,46 +1951,46 @@ "typeString": "mapping(address => mapping(address => uint256))" }, "typeName": { - "id": 68, + "id": 98, "keyType": { - "id": 64, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "553:7:0", + "src": "627:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "544:49:0", + "src": "618:49:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" }, "valueType": { - "id": 67, + "id": 97, "keyType": { - "id": 65, + "id": 95, "name": "address", "nodeType": "ElementaryTypeName", - "src": "573:7:0", + "src": "647:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "564:28:0", + "src": "638:28:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 66, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "584:7:0", + "src": "658:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1759,24 +2002,24 @@ "visibility": "internal" } ], - "scope": 71, - "src": "24:580:0" + "scope": 101, + "src": "25:653:1" } ], - "src": "0:604:0" + "src": "0:678:1" }, "compiler": { "name": "solc", - "version": "0.4.19+commit.c4cbbb05.Emscripten.clang" + "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": { "5777": { "events": {}, "links": {}, - "address": "0x8f0483125fcb9aaaefa9209d8e9d7b9c8b9fb90f", - "transactionHash": "0x21f35bb312c7a318217e4acd8b6df3a06500c8c78c3286bd3e2c7f02ba84ab83" + "address": "0x392c985515674c2d65b7742c651793e14fb1faf9", + "transactionHash": "0xb1820a7bd8005a6068105b5fc48a7cfbde815b283c7a20f14a37b94ce4793d60" } }, - "schemaVersion": "2.0.0", - "updatedAt": "2018-04-11T03:57:24.730Z" + "schemaVersion": "2.0.1", + "updatedAt": "2018-09-25T04:39:58.037Z" } \ No newline at end of file diff --git a/build/contracts/Migrations.json b/build/contracts/Migrations.json index 41f8037..d5d349f 100644 --- a/build/contracts/Migrations.json +++ b/build/contracts/Migrations.json @@ -64,24 +64,24 @@ "type": "function" } ], - "bytecode": "0x6060604052341561000f57600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506102db8061005e6000396000f300606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630900f01014610067578063445df0ac146100a05780638da5cb5b146100c9578063fdacd5761461011e575b600080fd5b341561007257600080fd5b61009e600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610141565b005b34156100ab57600080fd5b6100b3610224565b6040518082815260200191505060405180910390f35b34156100d457600080fd5b6100dc61022a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561012957600080fd5b61013f600480803590602001909190505061024f565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610220578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b151561020b57600080fd5b6102c65a03f1151561021c57600080fd5b5050505b5050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102ac57806001819055505b505600a165627a7a723058205b3680b10db1188c0eb0b94cc0e960bcd7e3dbe01b9c84de588cd9d73944d3050029", - "deployedBytecode": "0x606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630900f01014610067578063445df0ac146100a05780638da5cb5b146100c9578063fdacd5761461011e575b600080fd5b341561007257600080fd5b61009e600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610141565b005b34156100ab57600080fd5b6100b3610224565b6040518082815260200191505060405180910390f35b34156100d457600080fd5b6100dc61022a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561012957600080fd5b61013f600480803590602001909190505061024f565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610220578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b151561020b57600080fd5b6102c65a03f1151561021c57600080fd5b5050505b5050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102ac57806001819055505b505600a165627a7a723058205b3680b10db1188c0eb0b94cc0e960bcd7e3dbe01b9c84de588cd9d73944d3050029", - "sourceMap": "26:488:1:-;;;178:58;;;;;;;;221:10;213:5;;:18;;;;;;;;;;;;;;;;;;26:488;;;;;;", - "deployedSourceMap": "26:488:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;347:165;;;;;;;;;;;;;;;;;;;;;;;;;;;;74:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;240:103;;;;;;;;;;;;;;;;;;;;;;;;;;347:165;409:19;161:5;;;;;;;;;;;147:19;;:10;:19;;;143:26;;;442:11;409:45;;460:8;:21;;;482:24;;460:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;143:26;347:165;;:::o;74:36::-;;;;:::o;50:20::-;;;;;;;;;;;;;:::o;240:103::-;161:5;;;;;;;;;;;147:19;;:10;:19;;;143:26;;;329:9;302:24;:36;;;;143:26;240:103;:::o", + "bytecode": "0x608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506102f8806100606000396000f300608060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630900f01014610067578063445df0ac146100aa5780638da5cb5b146100d5578063fdacd5761461012c575b600080fd5b34801561007357600080fd5b506100a8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610159565b005b3480156100b657600080fd5b506100bf610241565b6040518082815260200191505060405180910390f35b3480156100e157600080fd5b506100ea610247565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561013857600080fd5b506101576004803603810190808035906020019092919050505061026c565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561023d578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b15801561022457600080fd5b505af1158015610238573d6000803e3d6000fd5b505050505b5050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102c957806001819055505b505600a165627a7a723058201f2bb9eace9bf539c311172ad00a4df3abeec48f8070d312681e7adb534976b50029", + "deployedBytecode": "0x608060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630900f01014610067578063445df0ac146100aa5780638da5cb5b146100d5578063fdacd5761461012c575b600080fd5b34801561007357600080fd5b506100a8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610159565b005b3480156100b657600080fd5b506100bf610241565b6040518082815260200191505060405180910390f35b3480156100e157600080fd5b506100ea610247565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561013857600080fd5b506101576004803603810190808035906020019092919050505061026c565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561023d578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b15801561022457600080fd5b505af1158015610238573d6000803e3d6000fd5b505050505b5050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102c957806001819055505b505600a165627a7a723058201f2bb9eace9bf539c311172ad00a4df3abeec48f8070d312681e7adb534976b50029", + "sourceMap": "26:488:0:-;;;178:58;8:9:-1;5:2;;;30:1;27;20:12;5:2;178:58:0;221:10;213:5;;:18;;;;;;;;;;;;;;;;;;26:488;;;;;;", + "deployedSourceMap": "26:488:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;347:165;;8:9:-1;5:2;;;30:1;27;20:12;5:2;347:165:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;74:36;;8:9:-1;5:2;;;30:1;27;20:12;5:2;74:36:0;;;;;;;;;;;;;;;;;;;;;;;50:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;240:103;;8:9:-1;5:2;;;30:1;27;20:12;5:2;240:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;347:165;409:19;161:5;;;;;;;;;;;147:19;;:10;:19;;;143:26;;;442:11;409:45;;460:8;:21;;;482:24;;460:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;460:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;460:47:0;;;;143:26;347:165;;:::o;74:36::-;;;;:::o;50:20::-;;;;;;;;;;;;;:::o;240:103::-;161:5;;;;;;;;;;;147:19;;:10;:19;;;143:26;;;329:9;302:24;:36;;;;143:26;240:103;:::o", "source": "pragma solidity ^0.4.17;\n\ncontract Migrations {\n address public owner;\n uint public last_completed_migration;\n\n modifier restricted() {\n if (msg.sender == owner) _;\n }\n\n function Migrations() public {\n owner = msg.sender;\n }\n\n function setCompleted(uint completed) public restricted {\n last_completed_migration = completed;\n }\n\n function upgrade(address new_address) public restricted {\n Migrations upgraded = Migrations(new_address);\n upgraded.setCompleted(last_completed_migration);\n }\n}\n", "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Migrations.sol", "ast": { "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Migrations.sol", "exportedSymbols": { "Migrations": [ - 127 + 56 ] }, - "id": 128, + "id": 57, "nodeType": "SourceUnit", "nodes": [ { - "id": 72, + "id": 1, "literals": [ "solidity", "^", @@ -89,7 +89,7 @@ ".17" ], "nodeType": "PragmaDirective", - "src": "0:24:1" + "src": "0:24:0" }, { "baseContracts": [], @@ -97,20 +97,20 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 127, + "id": 56, "linearizedBaseContracts": [ - 127 + 56 ], "name": "Migrations", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 74, + "id": 3, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 127, - "src": "50:20:1", + "scope": 56, + "src": "50:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -118,10 +118,10 @@ "typeString": "address" }, "typeName": { - "id": 73, + "id": 2, "name": "address", "nodeType": "ElementaryTypeName", - "src": "50:7:1", + "src": "50:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -132,11 +132,11 @@ }, { "constant": false, - "id": 76, + "id": 5, "name": "last_completed_migration", "nodeType": "VariableDeclaration", - "scope": 127, - "src": "74:36:1", + "scope": 56, + "src": "74:36:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -144,10 +144,10 @@ "typeString": "uint256" }, "typeName": { - "id": 75, + "id": 4, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "74:4:1", + "src": "74:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -158,9 +158,9 @@ }, { "body": { - "id": 84, + "id": 13, "nodeType": "Block", - "src": "137:37:1", + "src": "137:37:0", "statements": [ { "condition": { @@ -169,7 +169,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 81, + "id": 10, "isConstant": false, "isLValue": false, "isPure": false, @@ -178,18 +178,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 78, + "id": 7, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1729, - "src": "147:3:1", + "referencedDeclaration": 1966, + "src": "147:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 79, + "id": 8, "isConstant": false, "isLValue": false, "isPure": false, @@ -197,7 +197,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "147:10:1", + "src": "147:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -207,69 +207,70 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 80, + "id": 9, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "161:5:1", + "referencedDeclaration": 3, + "src": "161:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "147:19:1", + "src": "147:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 83, + "id": 12, "nodeType": "IfStatement", - "src": "143:26:1", + "src": "143:26:0", "trueBody": { - "id": 82, + "id": 11, "nodeType": "PlaceholderStatement", - "src": "168:1:1" + "src": "168:1:0" } } ] }, - "id": 85, + "documentation": null, + "id": 14, "name": "restricted", "nodeType": "ModifierDefinition", "parameters": { - "id": 77, + "id": 6, "nodeType": "ParameterList", "parameters": [], - "src": "134:2:1" + "src": "134:2:0" }, - "src": "115:59:1", + "src": "115:59:0", "visibility": "internal" }, { "body": { - "id": 93, + "id": 22, "nodeType": "Block", - "src": "207:29:1", + "src": "207:29:0", "statements": [ { "expression": { "argumentTypes": null, - "id": 91, + "id": 20, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 88, + "id": 17, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "213:5:1", + "referencedDeclaration": 3, + "src": "213:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -281,18 +282,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 89, + "id": 18, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1729, - "src": "221:3:1", + "referencedDeclaration": 1966, + "src": "221:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 90, + "id": 19, "isConstant": false, "isLValue": false, "isPure": false, @@ -300,25 +301,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "221:10:1", + "src": "221:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "213:18:1", + "src": "213:18:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 92, + "id": 21, "nodeType": "ExpressionStatement", - "src": "213:18:1" + "src": "213:18:0" } ] }, - "id": 94, + "documentation": null, + "id": 23, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -326,46 +328,46 @@ "name": "Migrations", "nodeType": "FunctionDefinition", "parameters": { - "id": 86, + "id": 15, "nodeType": "ParameterList", "parameters": [], - "src": "197:2:1" + "src": "197:2:0" }, "payable": false, "returnParameters": { - "id": 87, + "id": 16, "nodeType": "ParameterList", "parameters": [], - "src": "207:0:1" + "src": "207:0:0" }, - "scope": 127, - "src": "178:58:1", + "scope": 56, + "src": "178:58:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 105, + "id": 34, "nodeType": "Block", - "src": "296:47:1", + "src": "296:47:0", "statements": [ { "expression": { "argumentTypes": null, - "id": 103, + "id": 32, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 101, + "id": 30, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 76, - "src": "302:24:1", + "referencedDeclaration": 5, + "src": "302:24:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -375,67 +377,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 102, + "id": 31, "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 96, - "src": "329:9:1", + "referencedDeclaration": 25, + "src": "329:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "302:36:1", + "src": "302:36:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 104, + "id": 33, "nodeType": "ExpressionStatement", - "src": "302:36:1" + "src": "302:36:0" } ] }, - "id": 106, + "documentation": null, + "id": 35, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { - "arguments": [], - "id": 99, + "arguments": null, + "id": 28, "modifierName": { "argumentTypes": null, - "id": 98, + "id": 27, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 85, - "src": "285:10:1", + "referencedDeclaration": 14, + "src": "285:10:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "285:10:1" + "src": "285:10:0" } ], "name": "setCompleted", "nodeType": "FunctionDefinition", "parameters": { - "id": 97, + "id": 26, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 96, + "id": 25, "name": "completed", "nodeType": "VariableDeclaration", - "scope": 106, - "src": "262:14:1", + "scope": 35, + "src": "262:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -443,10 +446,10 @@ "typeString": "uint256" }, "typeName": { - "id": 95, + "id": 24, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "262:4:1", + "src": "262:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -456,54 +459,54 @@ "visibility": "internal" } ], - "src": "261:16:1" + "src": "261:16:0" }, "payable": false, "returnParameters": { - "id": 100, + "id": 29, "nodeType": "ParameterList", "parameters": [], - "src": "296:0:1" + "src": "296:0:0" }, - "scope": 127, - "src": "240:103:1", + "scope": 56, + "src": "240:103:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 125, + "id": 54, "nodeType": "Block", - "src": "403:109:1", + "src": "403:109:0", "statements": [ { "assignments": [ - 114 + 43 ], "declarations": [ { "constant": false, - "id": 114, + "id": 43, "name": "upgraded", "nodeType": "VariableDeclaration", - "scope": 126, - "src": "409:19:1", + "scope": 55, + "src": "409:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$127", + "typeIdentifier": "t_contract$_Migrations_$56", "typeString": "contract Migrations" }, "typeName": { "contractScope": null, - "id": 113, + "id": 42, "name": "Migrations", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 127, - "src": "409:10:1", + "referencedDeclaration": 56, + "src": "409:10:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$127", + "typeIdentifier": "t_contract$_Migrations_$56", "typeString": "contract Migrations" } }, @@ -511,18 +514,18 @@ "visibility": "internal" } ], - "id": 118, + "id": 47, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 116, + "id": 45, "name": "new_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 108, - "src": "442:11:1", + "referencedDeclaration": 37, + "src": "442:11:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -536,18 +539,18 @@ "typeString": "address" } ], - "id": 115, + "id": 44, "name": "Migrations", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 127, - "src": "431:10:1", + "referencedDeclaration": 56, + "src": "431:10:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Migrations_$127_$", + "typeIdentifier": "t_type$_t_contract$_Migrations_$56_$", "typeString": "type(contract Migrations)" } }, - "id": 117, + "id": 46, "isConstant": false, "isLValue": false, "isPure": false, @@ -555,14 +558,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "431:23:1", + "src": "431:23:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$127", + "typeIdentifier": "t_contract$_Migrations_$56", "typeString": "contract Migrations" } }, "nodeType": "VariableDeclarationStatement", - "src": "409:45:1" + "src": "409:45:0" }, { "expression": { @@ -570,12 +573,12 @@ "arguments": [ { "argumentTypes": null, - "id": 122, + "id": 51, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 76, - "src": "482:24:1", + "referencedDeclaration": 5, + "src": "482:24:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -591,32 +594,32 @@ ], "expression": { "argumentTypes": null, - "id": 119, + "id": 48, "name": "upgraded", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 114, - "src": "460:8:1", + "referencedDeclaration": 43, + "src": "460:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$127", + "typeIdentifier": "t_contract$_Migrations_$56", "typeString": "contract Migrations" } }, - "id": 121, + "id": 50, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "setCompleted", "nodeType": "MemberAccess", - "referencedDeclaration": 106, - "src": "460:21:1", + "referencedDeclaration": 35, + "src": "460:21:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256) external" } }, - "id": 123, + "id": 52, "isConstant": false, "isLValue": false, "isPure": false, @@ -624,56 +627,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "460:47:1", + "src": "460:47:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 124, + "id": 53, "nodeType": "ExpressionStatement", - "src": "460:47:1" + "src": "460:47:0" } ] }, - "id": 126, + "documentation": null, + "id": 55, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { - "arguments": [], - "id": 111, + "arguments": null, + "id": 40, "modifierName": { "argumentTypes": null, - "id": 110, + "id": 39, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 85, - "src": "392:10:1", + "referencedDeclaration": 14, + "src": "392:10:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "392:10:1" + "src": "392:10:0" } ], "name": "upgrade", "nodeType": "FunctionDefinition", "parameters": { - "id": 109, + "id": 38, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 108, + "id": 37, "name": "new_address", "nodeType": "VariableDeclaration", - "scope": 126, - "src": "364:19:1", + "scope": 55, + "src": "364:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -681,10 +685,10 @@ "typeString": "address" }, "typeName": { - "id": 107, + "id": 36, "name": "address", "nodeType": "ElementaryTypeName", - "src": "364:7:1", + "src": "364:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -694,40 +698,40 @@ "visibility": "internal" } ], - "src": "363:21:1" + "src": "363:21:0" }, "payable": false, "returnParameters": { - "id": 112, + "id": 41, "nodeType": "ParameterList", "parameters": [], - "src": "403:0:1" + "src": "403:0:0" }, - "scope": 127, - "src": "347:165:1", + "scope": 56, + "src": "347:165:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 128, - "src": "26:488:1" + "scope": 57, + "src": "26:488:0" } ], - "src": "0:515:1" + "src": "0:515:0" }, "legacyAST": { "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Migrations.sol", "exportedSymbols": { "Migrations": [ - 127 + 56 ] }, - "id": 128, + "id": 57, "nodeType": "SourceUnit", "nodes": [ { - "id": 72, + "id": 1, "literals": [ "solidity", "^", @@ -735,7 +739,7 @@ ".17" ], "nodeType": "PragmaDirective", - "src": "0:24:1" + "src": "0:24:0" }, { "baseContracts": [], @@ -743,20 +747,20 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 127, + "id": 56, "linearizedBaseContracts": [ - 127 + 56 ], "name": "Migrations", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 74, + "id": 3, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 127, - "src": "50:20:1", + "scope": 56, + "src": "50:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -764,10 +768,10 @@ "typeString": "address" }, "typeName": { - "id": 73, + "id": 2, "name": "address", "nodeType": "ElementaryTypeName", - "src": "50:7:1", + "src": "50:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -778,11 +782,11 @@ }, { "constant": false, - "id": 76, + "id": 5, "name": "last_completed_migration", "nodeType": "VariableDeclaration", - "scope": 127, - "src": "74:36:1", + "scope": 56, + "src": "74:36:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -790,10 +794,10 @@ "typeString": "uint256" }, "typeName": { - "id": 75, + "id": 4, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "74:4:1", + "src": "74:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -804,9 +808,9 @@ }, { "body": { - "id": 84, + "id": 13, "nodeType": "Block", - "src": "137:37:1", + "src": "137:37:0", "statements": [ { "condition": { @@ -815,7 +819,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 81, + "id": 10, "isConstant": false, "isLValue": false, "isPure": false, @@ -824,18 +828,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 78, + "id": 7, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1729, - "src": "147:3:1", + "referencedDeclaration": 1966, + "src": "147:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 79, + "id": 8, "isConstant": false, "isLValue": false, "isPure": false, @@ -843,7 +847,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "147:10:1", + "src": "147:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -853,69 +857,70 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 80, + "id": 9, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "161:5:1", + "referencedDeclaration": 3, + "src": "161:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "147:19:1", + "src": "147:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 83, + "id": 12, "nodeType": "IfStatement", - "src": "143:26:1", + "src": "143:26:0", "trueBody": { - "id": 82, + "id": 11, "nodeType": "PlaceholderStatement", - "src": "168:1:1" + "src": "168:1:0" } } ] }, - "id": 85, + "documentation": null, + "id": 14, "name": "restricted", "nodeType": "ModifierDefinition", "parameters": { - "id": 77, + "id": 6, "nodeType": "ParameterList", "parameters": [], - "src": "134:2:1" + "src": "134:2:0" }, - "src": "115:59:1", + "src": "115:59:0", "visibility": "internal" }, { "body": { - "id": 93, + "id": 22, "nodeType": "Block", - "src": "207:29:1", + "src": "207:29:0", "statements": [ { "expression": { "argumentTypes": null, - "id": 91, + "id": 20, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 88, + "id": 17, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "213:5:1", + "referencedDeclaration": 3, + "src": "213:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -927,18 +932,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 89, + "id": 18, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1729, - "src": "221:3:1", + "referencedDeclaration": 1966, + "src": "221:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 90, + "id": 19, "isConstant": false, "isLValue": false, "isPure": false, @@ -946,25 +951,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "221:10:1", + "src": "221:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "213:18:1", + "src": "213:18:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 92, + "id": 21, "nodeType": "ExpressionStatement", - "src": "213:18:1" + "src": "213:18:0" } ] }, - "id": 94, + "documentation": null, + "id": 23, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -972,46 +978,46 @@ "name": "Migrations", "nodeType": "FunctionDefinition", "parameters": { - "id": 86, + "id": 15, "nodeType": "ParameterList", "parameters": [], - "src": "197:2:1" + "src": "197:2:0" }, "payable": false, "returnParameters": { - "id": 87, + "id": 16, "nodeType": "ParameterList", "parameters": [], - "src": "207:0:1" + "src": "207:0:0" }, - "scope": 127, - "src": "178:58:1", + "scope": 56, + "src": "178:58:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 105, + "id": 34, "nodeType": "Block", - "src": "296:47:1", + "src": "296:47:0", "statements": [ { "expression": { "argumentTypes": null, - "id": 103, + "id": 32, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 101, + "id": 30, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 76, - "src": "302:24:1", + "referencedDeclaration": 5, + "src": "302:24:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1021,67 +1027,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 102, + "id": 31, "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 96, - "src": "329:9:1", + "referencedDeclaration": 25, + "src": "329:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "302:36:1", + "src": "302:36:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 104, + "id": 33, "nodeType": "ExpressionStatement", - "src": "302:36:1" + "src": "302:36:0" } ] }, - "id": 106, + "documentation": null, + "id": 35, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { - "arguments": [], - "id": 99, + "arguments": null, + "id": 28, "modifierName": { "argumentTypes": null, - "id": 98, + "id": 27, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 85, - "src": "285:10:1", + "referencedDeclaration": 14, + "src": "285:10:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "285:10:1" + "src": "285:10:0" } ], "name": "setCompleted", "nodeType": "FunctionDefinition", "parameters": { - "id": 97, + "id": 26, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 96, + "id": 25, "name": "completed", "nodeType": "VariableDeclaration", - "scope": 106, - "src": "262:14:1", + "scope": 35, + "src": "262:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1089,10 +1096,10 @@ "typeString": "uint256" }, "typeName": { - "id": 95, + "id": 24, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "262:4:1", + "src": "262:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1102,54 +1109,54 @@ "visibility": "internal" } ], - "src": "261:16:1" + "src": "261:16:0" }, "payable": false, "returnParameters": { - "id": 100, + "id": 29, "nodeType": "ParameterList", "parameters": [], - "src": "296:0:1" + "src": "296:0:0" }, - "scope": 127, - "src": "240:103:1", + "scope": 56, + "src": "240:103:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 125, + "id": 54, "nodeType": "Block", - "src": "403:109:1", + "src": "403:109:0", "statements": [ { "assignments": [ - 114 + 43 ], "declarations": [ { "constant": false, - "id": 114, + "id": 43, "name": "upgraded", "nodeType": "VariableDeclaration", - "scope": 126, - "src": "409:19:1", + "scope": 55, + "src": "409:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$127", + "typeIdentifier": "t_contract$_Migrations_$56", "typeString": "contract Migrations" }, "typeName": { "contractScope": null, - "id": 113, + "id": 42, "name": "Migrations", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 127, - "src": "409:10:1", + "referencedDeclaration": 56, + "src": "409:10:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$127", + "typeIdentifier": "t_contract$_Migrations_$56", "typeString": "contract Migrations" } }, @@ -1157,18 +1164,18 @@ "visibility": "internal" } ], - "id": 118, + "id": 47, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 116, + "id": 45, "name": "new_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 108, - "src": "442:11:1", + "referencedDeclaration": 37, + "src": "442:11:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1182,18 +1189,18 @@ "typeString": "address" } ], - "id": 115, + "id": 44, "name": "Migrations", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 127, - "src": "431:10:1", + "referencedDeclaration": 56, + "src": "431:10:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Migrations_$127_$", + "typeIdentifier": "t_type$_t_contract$_Migrations_$56_$", "typeString": "type(contract Migrations)" } }, - "id": 117, + "id": 46, "isConstant": false, "isLValue": false, "isPure": false, @@ -1201,14 +1208,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "431:23:1", + "src": "431:23:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$127", + "typeIdentifier": "t_contract$_Migrations_$56", "typeString": "contract Migrations" } }, "nodeType": "VariableDeclarationStatement", - "src": "409:45:1" + "src": "409:45:0" }, { "expression": { @@ -1216,12 +1223,12 @@ "arguments": [ { "argumentTypes": null, - "id": 122, + "id": 51, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 76, - "src": "482:24:1", + "referencedDeclaration": 5, + "src": "482:24:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1237,32 +1244,32 @@ ], "expression": { "argumentTypes": null, - "id": 119, + "id": 48, "name": "upgraded", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 114, - "src": "460:8:1", + "referencedDeclaration": 43, + "src": "460:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$127", + "typeIdentifier": "t_contract$_Migrations_$56", "typeString": "contract Migrations" } }, - "id": 121, + "id": 50, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "setCompleted", "nodeType": "MemberAccess", - "referencedDeclaration": 106, - "src": "460:21:1", + "referencedDeclaration": 35, + "src": "460:21:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256) external" } }, - "id": 123, + "id": 52, "isConstant": false, "isLValue": false, "isPure": false, @@ -1270,56 +1277,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "460:47:1", + "src": "460:47:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 124, + "id": 53, "nodeType": "ExpressionStatement", - "src": "460:47:1" + "src": "460:47:0" } ] }, - "id": 126, + "documentation": null, + "id": 55, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { - "arguments": [], - "id": 111, + "arguments": null, + "id": 40, "modifierName": { "argumentTypes": null, - "id": 110, + "id": 39, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 85, - "src": "392:10:1", + "referencedDeclaration": 14, + "src": "392:10:0", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "392:10:1" + "src": "392:10:0" } ], "name": "upgrade", "nodeType": "FunctionDefinition", "parameters": { - "id": 109, + "id": 38, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 108, + "id": 37, "name": "new_address", "nodeType": "VariableDeclaration", - "scope": 126, - "src": "364:19:1", + "scope": 55, + "src": "364:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1327,10 +1335,10 @@ "typeString": "address" }, "typeName": { - "id": 107, + "id": 36, "name": "address", "nodeType": "ElementaryTypeName", - "src": "364:7:1", + "src": "364:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1340,31 +1348,31 @@ "visibility": "internal" } ], - "src": "363:21:1" + "src": "363:21:0" }, "payable": false, "returnParameters": { - "id": 112, + "id": 41, "nodeType": "ParameterList", "parameters": [], - "src": "403:0:1" + "src": "403:0:0" }, - "scope": 127, - "src": "347:165:1", + "scope": 56, + "src": "347:165:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 128, - "src": "26:488:1" + "scope": 57, + "src": "26:488:0" } ], - "src": "0:515:1" + "src": "0:515:0" }, "compiler": { "name": "solc", - "version": "0.4.19+commit.c4cbbb05.Emscripten.clang" + "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": { "1": { @@ -1373,13 +1381,19 @@ "address": "0xb4f6d9556982255dd24163f1f06e6729e31a5673", "transactionHash": "0x3f18d1189cf4296b47aa81d988adf99096ad10d758ff0cdea3d4ffed624fdc95" }, - "5777": { + "4447": { "events": {}, "links": {}, "address": "0x8cdaf0cd259887258bc13a92c0a6da92698644c0", - "transactionHash": "0x57c69c657f49cd18bb6ce59bee7ea8f3e403785591a854d25079876b022d4d00" + "transactionHash": "0xa8b838394cc854950626505d8b019755145f3e8a44dacd92c2dac341b66e54d4" + }, + "5777": { + "events": {}, + "links": {}, + "address": "0x7ae53a42c301a3fefcbbcb0ce8886e501e2384b3", + "transactionHash": "0xa1d620376af82858470ec0c6c96c2efdf5966590e4e52b540766da07dc216f75" } }, - "schemaVersion": "2.0.0", - "updatedAt": "2018-04-11T04:23:36.428Z" + "schemaVersion": "2.0.1", + "updatedAt": "2018-09-25T04:39:58.037Z" } \ No newline at end of file diff --git a/build/contracts/PublicTokens.json b/build/contracts/PublicTokens.json index 442236d..fd6ae9f 100644 --- a/build/contracts/PublicTokens.json +++ b/build/contracts/PublicTokens.json @@ -23,6 +23,10 @@ "name": "addr", "type": "address" }, + { + "name": "erc", + "type": "uint32" + }, { "name": "decimals", "type": "uint8" @@ -173,6 +177,10 @@ "name": "addr", "type": "address" }, + { + "name": "erc", + "type": "uint32" + }, { "name": "decimals", "type": "uint8" @@ -242,6 +250,10 @@ "name": "", "type": "address" }, + { + "name": "", + "type": "uint32" + }, { "name": "", "type": "uint8" @@ -283,50 +295,19 @@ }, { "name": "", - "type": "uint8" + "type": "uint32" }, { "name": "", - "type": "bytes32" + "type": "uint8" }, { "name": "", "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "name", - "type": "bool" - }, - { - "name": "website", - "type": "bool" - }, - { - "name": "email", - "type": "bool" }, - { - "name": "count", - "type": "uint256" - } - ], - "name": "getAllBalance", - "outputs": [ { "name": "", - "type": "bytes" + "type": "bytes32" } ], "payable": false, @@ -334,103 +315,53 @@ "type": "function" } ], - "bytecode": "0x6060604052600080556000600155341561001857600080fd5b33600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611aed806100686000396000f3006060604052600436106100d0576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631f85eb3f146100d557806323e27a64146101c857806359770438146102015780636b941e10146102ff5780637bdc60d91461034c57806380f4ae5c14610434578063869d785f146105105780638da5cb5b146105495780639f181b5e1461059e578063a593f0ba146105c7578063b1bed4f5146105f0578063b532e4cb14610641578063c690908a1461067a578063fae0cc19146106b3575b600080fd5b34156100e057600080fd5b6100f6600480803590602001909190505061074a565b60405180886fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001876fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018560ff1660ff168152602001846000191660001916815260200183600019166000191681526020018215151515815260200197505050505050505060405180910390f35b34156101d357600080fd5b6101ff600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610800565b005b341561020c57600080fd5b610238600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109c2565b60405180876fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001866fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018460ff1660ff16815260200183600019166000191681526020018260001916600019168152602001965050505050505060405180910390f35b341561030a57600080fd5b610336600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610bb3565b6040518082815260200191505060405180910390f35b341561035757600080fd5b61036d6004808035906020019091905050610bcb565b60405180876fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001866fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018460ff1660ff16815260200183600019166000191681526020018260001916600019168152602001965050505050505060405180910390f35b341561043f57600080fd5b610495600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035151590602001909190803515159060200190919080351515906020019091908035906020019091905050610d7d565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104d55780820151818401526020810190506104ba565b50505050905090810190601f1680156105025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561051b57600080fd5b610547600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611316565b005b341561055457600080fd5b61055c6113cd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105a957600080fd5b6105b16113f3565b6040518082815260200191505060405180910390f35b34156105d257600080fd5b6105da6113f9565b6040518082815260200191505060405180910390f35b34156105fb57600080fd5b610627600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506113ff565b604051808215151515815260200191505060405180910390f35b341561064c57600080fd5b610678600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061141f565b005b341561068557600080fd5b6106b1600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506114d6565b005b34156106be57600080fd5b61074860048080356fffffffffffffffffffffffffffffffff19169060200190919080356fffffffffffffffffffffffffffffffff191690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff169060200190919080356000191690602001909190803560001916906020019091905050611697565b005b60036020528060005260406000206000915090508060000160009054906101000a900470010000000000000000000000000000000002908060000160109054906101000a900470010000000000000000000000000000000002908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160149054906101000a900460ff16908060020154908060030154908060040160009054906101000a900460ff16905087565b60003373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806108ae575060011515600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b15156108b957600080fd5b8160008173ffffffffffffffffffffffffffffffffffffffff16141515156108e057600080fd5b60036000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200190815260200160002091508273ffffffffffffffffffffffffffffffffffffffff168260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109bd5760008260040160006101000a81548160ff021916908315150217905550600160008154809291906001900391905055505b505050565b6000806000806000806109d3611a28565b60036000600560008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200190815260200160002060e060405190810160405290816000820160009054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900460ff1660ff1660ff1681526020016002820154600019166000191681526020016003820154600019166000191681526020016004820160009054906101000a900460ff1615151515815250509050806000015181602001518260400151836060015184608001518560a001519650965096509650965096505091939550919395565b60056020528060005260406000206000915090505481565b600080600080600080610bdc611a28565b6003600089815260200190815260200160002060e060405190810160405290816000820160009054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900460ff1660ff1660ff1681526020016002820154600019166000191681526020016003820154600019166000191681526020016004820160009054906101000a900460ff1615151515815250509050806000015181602001518260400151836060015184608001518560a001519650965096509650965096505091939550919395565b610d85611aad565b6000806000610d92611a28565b610d9a611aad565b6000806000808a1415610dad5760005499505b6021975060038801975060009650600195505b8986111515610f83576003600087815260200190815260200160002060e060405190810160405290816000820160009054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900460ff1660ff1660ff1681526020016002820154600019166000191681526020016003820154600019166000191681526020016004820160009054906101000a900460ff16151515158152505094508460c0015115610f765786806001019750508c15610f55576010880197505b8b15610f62576020880197505b8a15610f6f576020880197505b604c880197505b8580600101965050610dc0565b87604051805910610f915750595b9080825280601f01601f19166020018201604052509350879250610fb7836001866119a9565b600183039250610fc88388866119cd565b602083039250610fd9838e866119a9565b600183039250610fea838d866119a9565b600183039250610ffb838c866119a9565b600183039250600195505b8986111515611302576003600087815260200190815260200160002060e060405190810160405290816000820160009054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900460ff1660ff1660ff1681526020016002820154600019166000191681526020016003820154600019166000191681526020016004820160009054906101000a900460ff1615151515815250509450846040015191508460c00151156112f55761119c838660200151866119d7565b6010830392506111b1838660400151866119fc565b6014830392506111c983866060015160ff16866119cd565b6008830392508173ffffffffffffffffffffffffffffffffffffffff166370a082318f6000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561127257600080fd5b6102c65a03f1151561128357600080fd5b50505060405180519050905061129a8382866119cd565b6020830392508c156112bc576112b5838660000151866119d7565b6010830392505b8b156112d8576112d183866080015186611a06565b6020830392505b8a156112f4576112ed838660a0015186611a06565b6020830392505b5b8580600101965050611006565b839850505050505050505095945050505050565b3373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561137257600080fd5b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b60015481565b60046020528060005260406000206000915054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561147b57600080fd5b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60003373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611584575060011515600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b151561158f57600080fd5b8160008173ffffffffffffffffffffffffffffffffffffffff16141515156115b657600080fd5b60036000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200190815260200160002091508273ffffffffffffffffffffffffffffffffffffffff168260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156116925760008260040160006101000a81548160ff0219169083151502179055506001600081548092919060010191905055505b505050565b60003373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611745575060011515600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b151561175057600080fd5b8460008173ffffffffffffffffffffffffffffffffffffffff161415151561177757600080fd5b60036000600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548152602001908152602001600020915060008260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156118ab57600080815480929190600101919050555060016000815480929190600101919050555060036000805481526020019081526020016000209150600054600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060018260040160006101000a81548160ff0219169083151502179055505b878260000160006101000a8154816fffffffffffffffffffffffffffffffff021916908370010000000000000000000000000000000090040217905550868260000160106101000a8154816fffffffffffffffffffffffffffffffff021916908370010000000000000000000000000000000090040217905550858260010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550848260010160146101000a81548160ff021916908360ff16021790555083826002018160001916905550828260030181600019169055505050505050505050565b6000801515831515146119bd5760016119c0565b60005b9050808483015250505050565b8183820152505050565b600060105b83821a8260100186850101536001820191508082106119dc575050505050565b8183820152505050565b600060205b83821a828685010153600182019150808210611a0b575050505050565b60e06040519081016040528060006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff19168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600060ff16815260200160008019168152602001600080191681526020016000151581525090565b6020604051908101604052806000815250905600a165627a7a72305820ffb0feee45f3bde5cdfb2b8e9dc0d0cc5183021e4a484d61be0982fc3db3780b0029", - "deployedBytecode": "0x6060604052600436106100d0576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631f85eb3f146100d557806323e27a64146101c857806359770438146102015780636b941e10146102ff5780637bdc60d91461034c57806380f4ae5c14610434578063869d785f146105105780638da5cb5b146105495780639f181b5e1461059e578063a593f0ba146105c7578063b1bed4f5146105f0578063b532e4cb14610641578063c690908a1461067a578063fae0cc19146106b3575b600080fd5b34156100e057600080fd5b6100f6600480803590602001909190505061074a565b60405180886fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001876fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018560ff1660ff168152602001846000191660001916815260200183600019166000191681526020018215151515815260200197505050505050505060405180910390f35b34156101d357600080fd5b6101ff600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610800565b005b341561020c57600080fd5b610238600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109c2565b60405180876fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001866fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018460ff1660ff16815260200183600019166000191681526020018260001916600019168152602001965050505050505060405180910390f35b341561030a57600080fd5b610336600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610bb3565b6040518082815260200191505060405180910390f35b341561035757600080fd5b61036d6004808035906020019091905050610bcb565b60405180876fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001866fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018460ff1660ff16815260200183600019166000191681526020018260001916600019168152602001965050505050505060405180910390f35b341561043f57600080fd5b610495600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035151590602001909190803515159060200190919080351515906020019091908035906020019091905050610d7d565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104d55780820151818401526020810190506104ba565b50505050905090810190601f1680156105025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561051b57600080fd5b610547600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611316565b005b341561055457600080fd5b61055c6113cd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105a957600080fd5b6105b16113f3565b6040518082815260200191505060405180910390f35b34156105d257600080fd5b6105da6113f9565b6040518082815260200191505060405180910390f35b34156105fb57600080fd5b610627600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506113ff565b604051808215151515815260200191505060405180910390f35b341561064c57600080fd5b610678600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061141f565b005b341561068557600080fd5b6106b1600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506114d6565b005b34156106be57600080fd5b61074860048080356fffffffffffffffffffffffffffffffff19169060200190919080356fffffffffffffffffffffffffffffffff191690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff169060200190919080356000191690602001909190803560001916906020019091905050611697565b005b60036020528060005260406000206000915090508060000160009054906101000a900470010000000000000000000000000000000002908060000160109054906101000a900470010000000000000000000000000000000002908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160149054906101000a900460ff16908060020154908060030154908060040160009054906101000a900460ff16905087565b60003373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806108ae575060011515600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b15156108b957600080fd5b8160008173ffffffffffffffffffffffffffffffffffffffff16141515156108e057600080fd5b60036000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200190815260200160002091508273ffffffffffffffffffffffffffffffffffffffff168260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109bd5760008260040160006101000a81548160ff021916908315150217905550600160008154809291906001900391905055505b505050565b6000806000806000806109d3611a28565b60036000600560008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200190815260200160002060e060405190810160405290816000820160009054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900460ff1660ff1660ff1681526020016002820154600019166000191681526020016003820154600019166000191681526020016004820160009054906101000a900460ff1615151515815250509050806000015181602001518260400151836060015184608001518560a001519650965096509650965096505091939550919395565b60056020528060005260406000206000915090505481565b600080600080600080610bdc611a28565b6003600089815260200190815260200160002060e060405190810160405290816000820160009054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900460ff1660ff1660ff1681526020016002820154600019166000191681526020016003820154600019166000191681526020016004820160009054906101000a900460ff1615151515815250509050806000015181602001518260400151836060015184608001518560a001519650965096509650965096505091939550919395565b610d85611aad565b6000806000610d92611a28565b610d9a611aad565b6000806000808a1415610dad5760005499505b6021975060038801975060009650600195505b8986111515610f83576003600087815260200190815260200160002060e060405190810160405290816000820160009054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900460ff1660ff1660ff1681526020016002820154600019166000191681526020016003820154600019166000191681526020016004820160009054906101000a900460ff16151515158152505094508460c0015115610f765786806001019750508c15610f55576010880197505b8b15610f62576020880197505b8a15610f6f576020880197505b604c880197505b8580600101965050610dc0565b87604051805910610f915750595b9080825280601f01601f19166020018201604052509350879250610fb7836001866119a9565b600183039250610fc88388866119cd565b602083039250610fd9838e866119a9565b600183039250610fea838d866119a9565b600183039250610ffb838c866119a9565b600183039250600195505b8986111515611302576003600087815260200190815260200160002060e060405190810160405290816000820160009054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900460ff1660ff1660ff1681526020016002820154600019166000191681526020016003820154600019166000191681526020016004820160009054906101000a900460ff1615151515815250509450846040015191508460c00151156112f55761119c838660200151866119d7565b6010830392506111b1838660400151866119fc565b6014830392506111c983866060015160ff16866119cd565b6008830392508173ffffffffffffffffffffffffffffffffffffffff166370a082318f6000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561127257600080fd5b6102c65a03f1151561128357600080fd5b50505060405180519050905061129a8382866119cd565b6020830392508c156112bc576112b5838660000151866119d7565b6010830392505b8b156112d8576112d183866080015186611a06565b6020830392505b8a156112f4576112ed838660a0015186611a06565b6020830392505b5b8580600101965050611006565b839850505050505050505095945050505050565b3373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561137257600080fd5b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b60015481565b60046020528060005260406000206000915054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561147b57600080fd5b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60003373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611584575060011515600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b151561158f57600080fd5b8160008173ffffffffffffffffffffffffffffffffffffffff16141515156115b657600080fd5b60036000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200190815260200160002091508273ffffffffffffffffffffffffffffffffffffffff168260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156116925760008260040160006101000a81548160ff0219169083151502179055506001600081548092919060010191905055505b505050565b60003373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611745575060011515600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b151561175057600080fd5b8460008173ffffffffffffffffffffffffffffffffffffffff161415151561177757600080fd5b60036000600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548152602001908152602001600020915060008260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156118ab57600080815480929190600101919050555060016000815480929190600101919050555060036000805481526020019081526020016000209150600054600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060018260040160006101000a81548160ff0219169083151502179055505b878260000160006101000a8154816fffffffffffffffffffffffffffffffff021916908370010000000000000000000000000000000090040217905550868260000160106101000a8154816fffffffffffffffffffffffffffffffff021916908370010000000000000000000000000000000090040217905550858260010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550848260010160146101000a81548160ff021916908360ff16021790555083826002018160001916905550828260030181600019169055505050505050505050565b6000801515831515146119bd5760016119c0565b60005b9050808483015250505050565b8183820152505050565b600060105b83821a8260100186850101536001820191508082106119dc575050505050565b8183820152505050565b600060205b83821a828685010153600182019150808210611a0b575050505050565b60e06040519081016040528060006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff19168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600060ff16815260200160008019168152602001600080191681526020016000151581525090565b6020604051908101604052806000815250905600a165627a7a72305820ffb0feee45f3bde5cdfb2b8e9dc0d0cc5183021e4a484d61be0982fc3db3780b0029", - "sourceMap": "88:4846:1:-;;;150:1;125:26;;218:1;188:31;;1089:64;;;;;;;;1136:10;1128:5;;:18;;;;;;;;;;;;;;;;;;88:4846;;;;;;", - "deployedSourceMap": "88:4846:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;673:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1957:215;;;;;;;;;;;;;;;;;;;;;;;;;;;;2396:353;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;765:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2754:343;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3102:1830;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1253:94:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;265:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;125:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;188:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;718:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1158:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;2177:214;;;;;;;;;;;;;;;;;;;;;;;;;;;;1352:600;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;673:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1957:215::-;2030:19;938:10;929:19;;:5;;;;;;;;;;;:19;;;:52;;;;977:4;952:29;;:9;:21;962:10;952:21;;;;;;;;;;;;;;;;;;;;;;;;;:29;;;929:52;921:61;;;;;;;;2017:4;1062:3;1054:4;:11;;;;1046:20;;;;;;;;2052:9;:22;2062:5;:11;2068:4;2062:11;;;;;;;;;;;;;;;;2052:22;;;;;;;;;;;2030:44;;2098:4;2084:18;;:5;:10;;;;;;;;;;;;:18;;;2081:85;;;2128:5;2112;:13;;;:21;;;;;;;;;;;;;;;;;;2141:15;;:17;;;;;;;;;;;;;;2081:85;992:1;1957:215;;:::o;2396:353::-;2455:7;2470;2485;2500:5;2513:7;2528;2544:18;;:::i;:::-;2566:9;:22;2576:5;:11;2582:4;2576:11;;;;;;;;;;;;;;;;2566:22;;;;;;;;;;;2544:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2616:5;:10;;;2637:5;:12;;;2660:5;:10;;;2681:5;:14;;;2706:5;:13;;;2730:5;:11;;;2598:144;;;;;;;;;;;;2396:353;;;;;;;;:::o;765:37::-;;;;;;;;;;;;;;;;;:::o;2754:343::-;2812:7;2827;2842;2857:5;2870:7;2885;2901:18;;:::i;:::-;2923:9;:13;2933:2;2923:13;;;;;;;;;;;2901:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2964:5;:10;;;2985:5;:12;;;3008:5;:10;;;3029:5;:14;;;3054:5;:13;;;3078:5;:11;;;2946:144;;;;;;;;;;;;2754:343;;;;;;;;:::o;3102:1830::-;3211:5;;:::i;:::-;3268:15;3414:17;3446:6;3478:18;;:::i;:::-;3771:19;;:::i;:::-;3821:11;4209:21;4496:15;3237:1;3228:5;:10;3225:33;;;3248:10;;3240:18;;3225:33;3286:2;3268:20;;3376:1;3362:15;;;;3434:1;3414:21;;3453:1;3446:8;;3442:323;3459:5;3456:1;:8;;3442:323;;;3499:9;:12;3509:1;3499:12;;;;;;;;;;;3478:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3522:5;:13;;;3519:239;;;3554:14;;;;;;;3580:4;3577:23;;;3598:2;3586:14;;;;3577:23;3612:7;3609:26;;;3633:2;3621:14;;;;3609:26;3647:5;3644:24;;;3666:2;3654:14;;;;3644:24;3690:2;3677:15;;;;3519:239;3466:3;;;;;;;3442:323;;;3803:10;3793:21;;;;;;;;;;;;;;;;;;;;;;;;;;;3771:43;;3835:10;3821:24;;3872:33;3884:6;3892:4;3898:6;3872:11;:33::i;:::-;3917:1;3907:11;;;;3925:41;3937:6;3945:12;3959:6;3925:11;:41::i;:::-;3978:2;3968:12;;;;3987:33;3999:6;4007:4;4013:6;3987:11;:33::i;:::-;4032:1;4022:11;;;;4040:36;4052:6;4060:7;4069:6;4040:11;:36::i;:::-;4088:1;4078:11;;;;4096:34;4108:6;4116:5;4123:6;4096:11;:34::i;:::-;4142:1;4132:11;;;;4156:1;4154:3;;4150:756;4162:5;4159:1;:8;;4150:756;;;4189:9;:12;4199:1;4189:12;;;;;;;;;;;4181:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4244:5;:10;;;4209:46;;4266:5;:13;;;4263:636;;;4289:45;4305:6;4313:5;:12;;;4327:6;4289:15;:45::i;:::-;4346:2;4336:12;;;;4357:42;4372:6;4380:5;:10;;;4392:6;4357:14;:42::i;:::-;4411:2;4401:12;;;;4422:43;4434:6;4442:5;:14;;;4422:43;;4458:6;4422:11;:43::i;:::-;4477:1;4467:11;;;;4514:10;:20;;;4535:6;4514:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4496:46;;4551:36;4563:6;4571:7;4580:6;4551:11;:36::i;:::-;4599:2;4589:12;;;;4613:4;4610:85;;;4628:43;4644:6;4652:5;:10;;;4664:6;4628:15;:43::i;:::-;4683:2;4673:12;;;;4610:85;4706:7;4703:92;;;4725:46;4741:6;4749:5;:13;;;4764:6;4725:15;:46::i;:::-;4783:2;4773:12;;;;4703:92;4806:5;4803:88;;;4823:44;4839:6;4847:5;:11;;;4860:6;4823:15;:44::i;:::-;4879:2;4869:12;;;;4803:88;4263:636;4169:3;;;;;;;4150:756;;;4919:6;4912:13;;3102:1830;;;;;;;;;;;;;;;:::o;1253:94::-;857:10;848:19;;:5;;;;;;;;;;;:19;;;840:28;;;;;;;;1335:5;1317:9;:15;1327:4;1317:15;;;;;;;;;;;;;;;;:23;;;;;;;;;;;;;;;;;;1253:94;:::o;265:20::-;;;;;;;;;;;;;:::o;125:26::-;;;;:::o;188:31::-;;;;:::o;718:41::-;;;;;;;;;;;;;;;;;;;;;;:::o;1158:90::-;857:10;848:19;;:5;;;;;;;;;;;:19;;;840:28;;;;;;;;1237:4;1219:9;:15;1229:4;1219:15;;;;;;;;;;;;;;;;:22;;;;;;;;;;;;;;;;;;1158:90;:::o;2177:214::-;2249:19;938:10;929:19;;:5;;;;;;;;;;;:19;;;:52;;;;977:4;952:29;;:9;:21;962:10;952:21;;;;;;;;;;;;;;;;;;;;;;;;;:29;;;929:52;921:61;;;;;;;;2236:4;1062:3;1054:4;:11;;;;1046:20;;;;;;;;2271:9;:22;2281:5;:11;2287:4;2281:11;;;;;;;;;;;;;;;;2271:22;;;;;;;;;;;2249:44;;2317:4;2303:18;;:5;:10;;;;;;;;;;;;:18;;;2300:85;;;2347:5;2331;:13;;;:21;;;;;;;;;;;;;;;;;;2360:15;;:17;;;;;;;;;;;;;2300:85;992:1;2177:214;;:::o;1352:600::-;1538:19;938:10;929:19;;:5;;;;;;;;;;;:19;;;:52;;;;977:4;952:29;;:9;:21;962:10;952:21;;;;;;;;;;;;;;;;;;;;;;;;;:29;;;929:52;921:61;;;;;;;;1525:4;1062:3;1054:4;:11;;;;1046:20;;;;;;;;1560:9;:22;1570:5;:11;1576:4;1570:11;;;;;;;;;;;;;;;;1560:22;;;;;;;;;;;1538:44;;1606:3;1592:5;:10;;;;;;;;;;;;:17;;;1589:175;;;1619:10;;:12;;;;;;;;;;;;;1642:15;;:17;;;;;;;;;;;;;1675:9;:21;1685:10;;1675:21;;;;;;;;;;;1667:29;;1718:10;;1704:5;:11;1710:4;1704:11;;;;;;;;;;;;;;;:24;;;;1752:4;1736:5;:13;;;:20;;;;;;;;;;;;;;;;;;1589:175;1786:4;1773:5;:10;;;:17;;;;;;;;;;;;;;;;;;;1815:6;1800:5;:12;;;:21;;;;;;;;;;;;;;;;;;;1844:4;1831:5;:10;;;:17;;;;;;;;;;;;;;;;;;1875:8;1858:5;:14;;;:25;;;;;;;;;;;;;;;;;;1909:7;1893:5;:13;;:23;;;;;;;1940:5;1926;:11;;:19;;;;;;;992:1;1352:600;;;;;;;:::o;1420:206:5:-;1513:7;1533:5;1523:15;;:6;:15;;;:23;;1545:1;1523:23;;;1541:1;1523:23;1513:33;;1608:1;1599:6;1590:7;1586:3;1579:6;1565:55;;;;:::o;2401:169::-;2547:6;2538;2529:7;2525:3;2518:6;2504:60;;;:::o;443:365::-;575:1;601:2;616:4;700:6;693:5;688:4;679:5;675:2;671:3;663:6;654:7;650:3;646;638:7;745:1;738:5;734:3;725:22;;786:4;780:5;777:2;770:4;764:5;548:254;;;;;:::o;263:175::-;415:6;406;397:7;393:3;386:6;372:60;;;:::o;813:356::-;945:1;971:2;986:4;1061:6;1054:5;1049:4;1041:5;1033:6;1024:7;1020:3;1016;1008:7;1106:1;1099:5;1095:3;1086:22;;1147:4;1141:5;1138:2;1131:4;1125:5;918:245;;;;;:::o;88:4846:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.0;\nimport \"./Seriality/Seriality.sol\";\nimport \"./DummyToken.sol\";\n\ncontract PublicTokens is Seriality{\n\tuint public tokenCount = 0; //total count of all added tokens\n\tuint public tokenValidCount = 0; //count of all valid tokens isValid!=false\n\taddress public owner;\n struct Token {\n bytes16 name; // Name of the token\n bytes16 symbol; // Symbol of the token\n address addr; // Address of the token contract\n uint8 decimals; // decimals of the token\n bytes32 website; // website of the token\n bytes32 email; // support email of the token\n bool isValid; //whether the token is valid or not\n }\n mapping(uint => Token) public pubTokens;\n mapping(address => bool) public moderator;\n mapping(address => uint) public idMap;\n modifier owner_only() {\n require(owner == msg.sender);\n _;\n }\n modifier only_mod() {\n require(owner == msg.sender || moderator[msg.sender] == true);\n _;\n }\n modifier no_null(address addr) {\n require(addr != 0x0);\n _;\n }\n function PublicTokens () public {\n \towner = msg.sender;\n }\n function addModerator(address addr) public owner_only {\n \tmoderator[addr] = true;\n }\n function removeModerator(address addr) public owner_only {\n \tmoderator[addr] = false;\n }\n function addSetToken(\n \tbytes16 name, \n \tbytes16 symbol, \n \taddress addr, \n \tuint8 decimals, \n \tbytes32 website, \n \tbytes32 email) public only_mod no_null(addr) {\n \tToken storage token = pubTokens[idMap[addr]];\n \tif(token.addr == 0x0) {\n \t\ttokenCount++;\n \ttokenValidCount++;\n \t\ttoken = pubTokens[tokenCount];\n \t\tidMap[addr] = tokenCount;\n \t\ttoken.isValid = true;\n \t}\n token.name = name;\n token.symbol = symbol;\n token.addr = addr;\n token.decimals = decimals;\n token.website = website;\n token.email = email;\n }\n function disableToken(address addr) public only_mod no_null(addr) {\n \tToken storage token = pubTokens[idMap[addr]];\n \tif(token.addr == addr) {\n \t\ttoken.isValid = false;\n \t\ttokenValidCount--;\n \t}\n }\n function enableToken(address addr) public only_mod no_null(addr) {\n \tToken storage token = pubTokens[idMap[addr]];\n \tif(token.addr == addr) {\n \t\ttoken.isValid = false;\n \t\ttokenValidCount++;\n \t}\n }\n function getToken(address addr) public view returns (\n \tbytes16, \n \tbytes16, \n \taddress, \n \tuint8, \n \tbytes32, \n \tbytes32) {\n \tToken memory token = pubTokens[idMap[addr]];\n return (\n \ttoken.name,\n \ttoken.symbol,\n \ttoken.addr,\n \ttoken.decimals,\n \ttoken.website,\n \ttoken.email);\n }\n function getTokenById(uint id) public view returns (\n \tbytes16, \n \tbytes16, \n \taddress, \n \tuint8, \n \tbytes32, \n \tbytes32) {\n \tToken memory token = pubTokens[id];\n return (\n \ttoken.name,\n \ttoken.symbol,\n \ttoken.addr,\n \ttoken.decimals,\n \ttoken.website,\n \ttoken.email);\n }\n function getAllBalance(address _owner, bool name, bool website, bool email, uint count) public view returns (bytes) {\n \tif(count == 0) count = tokenCount;\n uint bufferSize = 33; //assign 32 bytes to set the total number of tokens + define start\n \tbufferSize += 3; //set name, website, email\n uint validCounter = 0;\n \tfor(uint i=1; i<=count; i++){\n \t\tToken memory token = pubTokens[i];\n \t\tif(token.isValid){\n validCounter++;\n \t\t\tif(name) bufferSize+=16;\n \t\t\tif(website) bufferSize+=32;\n \t\t\tif(email) bufferSize+=32;\n \t\t\tbufferSize+= 76; // address (20) + symbol(16) + balance(32) + decimals(8)\n \t\t}\n \t}\n \tbytes memory result = new bytes(bufferSize);\n \tuint offset = bufferSize;\n \t//serialize\n boolToBytes(offset, true, result); offset -= 1;\n \tuintToBytes(offset, validCounter, result); offset -= 32;\n \tboolToBytes(offset, name, result); offset -= 1;\n \tboolToBytes(offset, website, result); offset -= 1;\n \tboolToBytes(offset, email, result); offset -= 1;\n \tfor(i=1; i<=count; i++){\n \t\ttoken = pubTokens[i];\n \t\tDummyToken basicToken = DummyToken(token.addr);\n \t\tif(token.isValid){\n \t\t\tbytes16ToBytesR(offset, token.symbol, result); offset -= 16;\n \t\t\taddressToBytes(offset, token.addr, result); offset -= 20;\n \t\t\tuintToBytes(offset, token.decimals, result); offset -= 8;\n uint256 balance = basicToken.balanceOf(_owner);\n \t\t\tuintToBytes(offset, balance, result); offset -= 32;\n \t\t\tif(name){\n \t\t\t\tbytes16ToBytesR(offset, token.name, result); offset -= 16;\n \t\t\t}\n \t\t\tif(website) {\n \t\t\t\tbytes32ToBytesR(offset, token.website, result); offset -= 32;\n \t\t\t}\n \t\t\tif(email) {\n \t\t\t\tbytes32ToBytesR(offset, token.email, result); offset -= 32;\n \t\t\t}\n \t\t}\n \t}\n \treturn result;\n }\n}", - "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/PublicTokens.sol", + "bytecode": "0x608060405260008055600060015534801561001957600080fd5b5033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061190d8061006a6000396000f3006080604052600436106100c5576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631f85eb3f146100ca57806323e27a64146101da578063281e5e541461021d57806359770438146102d35780636b941e10146103ee5780637bdc60d914610445578063869d785f1461054a5780638da5cb5b1461058d5780639f181b5e146105e4578063a593f0ba1461060f578063b1bed4f51461063a578063b532e4cb14610695578063c690908a146106d8575b600080fd5b3480156100d657600080fd5b506100f56004803603810190808035906020019092919050505061071b565b60405180896fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001886fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020018773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018663ffffffff1663ffffffff1681526020018560ff1660ff16815260200184600019166000191681526020018360001916600019168152602001821515151581526020019850505050505050505060405180910390f35b3480156101e657600080fd5b5061021b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107e7565b005b34801561022957600080fd5b506102d160048036038101908080356fffffffffffffffffffffffffffffffff1916906020019092919080356fffffffffffffffffffffffffffffffff19169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803563ffffffff169060200190929190803560ff16906020019092919080356000191690602001909291908035600019169060200190929190505050610a7b565b005b3480156102df57600080fd5b50610314600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f0a565b60405180886fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001876fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018563ffffffff1663ffffffff1681526020018460ff1660ff1681526020018360001916600019168152602001826000191660001916815260200197505050505050505060405180910390f35b3480156103fa57600080fd5b5061042f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061112d565b6040518082815260200191505060405180910390f35b34801561045157600080fd5b5061047060048036038101908080359060200190929190505050611145565b60405180886fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001876fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018563ffffffff1663ffffffff1681526020018460ff1660ff1681526020018360001916600019168152602001826000191660001916815260200197505050505050505060405180910390f35b34801561055657600080fd5b5061058b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611329565b005b34801561059957600080fd5b506105a2611449565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105f057600080fd5b506105f961146f565b6040518082815260200191505060405180910390f35b34801561061b57600080fd5b50610624611475565b6040518082815260200191505060405180910390f35b34801561064657600080fd5b5061067b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061147b565b604051808215151515815260200191505060405180910390f35b3480156106a157600080fd5b506106d6600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061149b565b005b3480156106e457600080fd5b50610719600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115bb565b005b60036020528060005260406000206000915090508060000160009054906101000a900470010000000000000000000000000000000002908060000160109054906101000a900470010000000000000000000000000000000002908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160149054906101000a900463ffffffff16908060010160189054906101000a900460ff16908060020154908060030154908060040160009054906101000a900460ff16905088565b60003373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610895575060011515600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b1515610909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6f6e6c79206d6f64657265746f7200000000000000000000000000000000000081525060200191505060405180910390fd5b8160008173ffffffffffffffffffffffffffffffffffffffff1614151515610999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f696e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b60036000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200190815260200160002091508273ffffffffffffffffffffffffffffffffffffffff168260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610a765760008260040160006101000a81548160ff021916908315150217905550600160008154809291906001900391905055505b505050565b60003373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610b29575060011515600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b1515610b9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6f6e6c79206d6f64657265746f7200000000000000000000000000000000000081525060200191505060405180910390fd5b8560008173ffffffffffffffffffffffffffffffffffffffff1614151515610c2d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f696e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b866000813b905060008163ffffffff16111515610cb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4e6f74206120636f6e747261637400000000000000000000000000000000000081525060200191505060405180910390fd5b60036000600560008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548152602001908152602001600020935060008460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610de657600080815480929190600101919050555060016000815480929190600101919050555060036000805481526020019081526020016000209350600054600560008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060018460040160006101000a81548160ff0219169083151502179055505b8a8460000160006101000a8154816fffffffffffffffffffffffffffffffff021916908370010000000000000000000000000000000090040217905550898460000160106101000a8154816fffffffffffffffffffffffffffffffff021916908370010000000000000000000000000000000090040217905550888460010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550878460010160146101000a81548163ffffffff021916908363ffffffff160217905550868460010160186101000a81548160ff021916908360ff16021790555085846002018160001916905550848460030181600019169055505050505050505050505050565b6000806000806000806000610f1d61184e565b60036000600560008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200190815260200160002061010060405190810160405290816000820160009054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820160189054906101000a900460ff1660ff1660ff1681526020016002820154600019166000191681526020016003820154600019166000191681526020016004820160009054906101000a900460ff1615151515815250509050806000015181602001518260400151836060015184608001518560a001518660c00151975097509750975097509750975050919395979092949650565b60056020528060005260406000206000915090505481565b600080600080600080600061115861184e565b600360008a815260200190815260200160002061010060405190810160405290816000820160009054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820160189054906101000a900460ff1660ff1660ff1681526020016002820154600019166000191681526020016003820154600019166000191681526020016004820160009054906101000a900460ff1615151515815250509050806000015181602001518260400151836060015184608001518560a001518660c00151975097509750975097509750975050919395979092949650565b3373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415156113ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f6f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b60015481565b60046020528060005260406000206000915054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515611560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f6f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60003373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611669575060011515600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b15156116dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6f6e6c79206d6f64657265746f7200000000000000000000000000000000000081525060200191505060405180910390fd5b8160008173ffffffffffffffffffffffffffffffffffffffff161415151561176d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f696e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b60036000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200190815260200160002091508273ffffffffffffffffffffffffffffffffffffffff168260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156118495760008260040160006101000a81548160ff0219169083151502179055506001600081548092919060010191905055505b505050565b6101006040519081016040528060006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff19168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600063ffffffff168152602001600060ff168152602001600080191681526020016000801916815260200160001515815250905600a165627a7a72305820d95d00ea2d55702ea155176f42ffd4b3f307b1c3573bdac06aa43c3f18b6228a0029", + "deployedBytecode": "0x6080604052600436106100c5576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631f85eb3f146100ca57806323e27a64146101da578063281e5e541461021d57806359770438146102d35780636b941e10146103ee5780637bdc60d914610445578063869d785f1461054a5780638da5cb5b1461058d5780639f181b5e146105e4578063a593f0ba1461060f578063b1bed4f51461063a578063b532e4cb14610695578063c690908a146106d8575b600080fd5b3480156100d657600080fd5b506100f56004803603810190808035906020019092919050505061071b565b60405180896fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001886fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020018773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018663ffffffff1663ffffffff1681526020018560ff1660ff16815260200184600019166000191681526020018360001916600019168152602001821515151581526020019850505050505050505060405180910390f35b3480156101e657600080fd5b5061021b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107e7565b005b34801561022957600080fd5b506102d160048036038101908080356fffffffffffffffffffffffffffffffff1916906020019092919080356fffffffffffffffffffffffffffffffff19169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803563ffffffff169060200190929190803560ff16906020019092919080356000191690602001909291908035600019169060200190929190505050610a7b565b005b3480156102df57600080fd5b50610314600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f0a565b60405180886fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001876fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018563ffffffff1663ffffffff1681526020018460ff1660ff1681526020018360001916600019168152602001826000191660001916815260200197505050505050505060405180910390f35b3480156103fa57600080fd5b5061042f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061112d565b6040518082815260200191505060405180910390f35b34801561045157600080fd5b5061047060048036038101908080359060200190929190505050611145565b60405180886fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001876fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018563ffffffff1663ffffffff1681526020018460ff1660ff1681526020018360001916600019168152602001826000191660001916815260200197505050505050505060405180910390f35b34801561055657600080fd5b5061058b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611329565b005b34801561059957600080fd5b506105a2611449565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105f057600080fd5b506105f961146f565b6040518082815260200191505060405180910390f35b34801561061b57600080fd5b50610624611475565b6040518082815260200191505060405180910390f35b34801561064657600080fd5b5061067b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061147b565b604051808215151515815260200191505060405180910390f35b3480156106a157600080fd5b506106d6600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061149b565b005b3480156106e457600080fd5b50610719600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115bb565b005b60036020528060005260406000206000915090508060000160009054906101000a900470010000000000000000000000000000000002908060000160109054906101000a900470010000000000000000000000000000000002908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160149054906101000a900463ffffffff16908060010160189054906101000a900460ff16908060020154908060030154908060040160009054906101000a900460ff16905088565b60003373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610895575060011515600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b1515610909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6f6e6c79206d6f64657265746f7200000000000000000000000000000000000081525060200191505060405180910390fd5b8160008173ffffffffffffffffffffffffffffffffffffffff1614151515610999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f696e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b60036000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200190815260200160002091508273ffffffffffffffffffffffffffffffffffffffff168260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610a765760008260040160006101000a81548160ff021916908315150217905550600160008154809291906001900391905055505b505050565b60003373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610b29575060011515600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b1515610b9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6f6e6c79206d6f64657265746f7200000000000000000000000000000000000081525060200191505060405180910390fd5b8560008173ffffffffffffffffffffffffffffffffffffffff1614151515610c2d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f696e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b866000813b905060008163ffffffff16111515610cb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4e6f74206120636f6e747261637400000000000000000000000000000000000081525060200191505060405180910390fd5b60036000600560008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548152602001908152602001600020935060008460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610de657600080815480929190600101919050555060016000815480929190600101919050555060036000805481526020019081526020016000209350600054600560008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060018460040160006101000a81548160ff0219169083151502179055505b8a8460000160006101000a8154816fffffffffffffffffffffffffffffffff021916908370010000000000000000000000000000000090040217905550898460000160106101000a8154816fffffffffffffffffffffffffffffffff021916908370010000000000000000000000000000000090040217905550888460010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550878460010160146101000a81548163ffffffff021916908363ffffffff160217905550868460010160186101000a81548160ff021916908360ff16021790555085846002018160001916905550848460030181600019169055505050505050505050505050565b6000806000806000806000610f1d61184e565b60036000600560008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200190815260200160002061010060405190810160405290816000820160009054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820160189054906101000a900460ff1660ff1660ff1681526020016002820154600019166000191681526020016003820154600019166000191681526020016004820160009054906101000a900460ff1615151515815250509050806000015181602001518260400151836060015184608001518560a001518660c00151975097509750975097509750975050919395979092949650565b60056020528060005260406000206000915090505481565b600080600080600080600061115861184e565b600360008a815260200190815260200160002061010060405190810160405290816000820160009054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a9004700100000000000000000000000000000000026fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016001820160189054906101000a900460ff1660ff1660ff1681526020016002820154600019166000191681526020016003820154600019166000191681526020016004820160009054906101000a900460ff1615151515815250509050806000015181602001518260400151836060015184608001518560a001518660c00151975097509750975097509750975050919395979092949650565b3373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415156113ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f6f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b60015481565b60046020528060005260406000206000915054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515611560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f6f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60003373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611669575060011515600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b15156116dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6f6e6c79206d6f64657265746f7200000000000000000000000000000000000081525060200191505060405180910390fd5b8160008173ffffffffffffffffffffffffffffffffffffffff161415151561176d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f696e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b60036000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815260200190815260200160002091508273ffffffffffffffffffffffffffffffffffffffff168260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156118495760008260040160006101000a81548160ff0219169083151502179055506001600081548092919060010191905055505b505050565b6101006040519081016040528060006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff19168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600063ffffffff168152602001600060ff168152602001600080191681526020016000801916815260200160001515815250905600a165627a7a72305820d95d00ea2d55702ea155176f42ffd4b3f307b1c3573bdac06aa43c3f18b6228a0029", + "sourceMap": "25:3545:2:-;;;78:1;53:26;;149:1;119:31;;1321:57;8:9:-1;5:2;;;30:1;27;20:12;5:2;1321:57:2;1361:10;1353:5;;:18;;;;;;;;;;;;;;;;;;25:3545;;;;;;", + "deployedSourceMap": "25:3545:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;661:39;;8:9:-1;5:2;;;30:1;27;20:12;5:2;661:39:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2304:233;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2304:233:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;1583:716;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1583:716:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2779:397;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2779:397:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;753:37;;8:9:-1;5:2;;;30:1;27;20:12;5:2;753:37:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3181:387;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3181:387:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1481:97;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1481:97:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;199:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;199:20:2;;;;;;;;;;;;;;;;;;;;;;;;;;;53:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53:26:2;;;;;;;;;;;;;;;;;;;;;;;119:31;;8:9:-1;5:2;;;30:1;27;20:12;5:2;119:31:2;;;;;;;;;;;;;;;;;;;;;;;706:41;;8:9:-1;5:2;;;30:1;27;20:12;5:2;706:41:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1383:93;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1383:93:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;2542:232;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2542:232:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;661:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2304:233::-;2380:19;940:10;931:19;;:5;;;;;;;;;;;:19;;;:52;;;;979:4;954:29;;:9;:21;964:10;954:21;;;;;;;;;;;;;;;;;;;;;;;;;:29;;;931:52;923:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2364:4;1275:3;1267:4;:11;;;;1259:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2402:9;:22;2412:5;:11;2418:4;2412:11;;;;;;;;;;;;;;;;2402:22;;;;;;;;;;;2380:44;;2451:4;2437:18;;:5;:10;;;;;;;;;;;;:18;;;2434:97;;;2487:5;2471;:13;;;:21;;;;;;;;;;;;;;;;;;2506:15;;:17;;;;;;;;;;;;;;2434:97;1012:1;2304:233;;:::o;1583:716::-;1830:19;940:10;931:19;;:5;;;;;;;;;;;:19;;;:52;;;;979:4;954:29;;:9;:21;964:10;954:21;;;;;;;;;;;;;;;;;;;;;;;;;:29;;;931:52;923:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1794:4;1275:3;1267:4;:11;;;;1259:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1814:4;1072:11;1136:4;1124:17;1116:25;;1175:1;1168:4;:8;;;1160:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1852:9;:22;1862:5;:11;1868:4;1862:11;;;;;;;;;;;;;;;;1852:22;;;;;;;;;;;1830:44;;1901:3;1887:5;:10;;;;;;;;;;;;:17;;;1884:202;;;1920:10;;:12;;;;;;;;;;;;;1946:15;;:17;;;;;;;;;;;;;1985:9;:21;1995:10;;1985:21;;;;;;;;;;;1977:29;;2034:10;;2020:5;:11;2026:4;2020:11;;;;;;;;;;;;;;;:24;;;;2074:4;2058:5;:13;;;:20;;;;;;;;;;;;;;;;;;1884:202;2108:4;2095:5;:10;;;:17;;;;;;;;;;;;;;;;;;;2137:6;2122:5;:12;;;:21;;;;;;;;;;;;;;;;;;;2166:4;2153:5;:10;;;:17;;;;;;;;;;;;;;;;;;2192:3;2180:5;:9;;;:15;;;;;;;;;;;;;;;;;;2222:8;2205:5;:14;;;:25;;;;;;;;;;;;;;;;;;2256:7;2240:5;:13;;:23;;;;;;;2287:5;2273;:11;;:19;;;;;;;1308:1;;1012;1583:716;;;;;;;;:::o;2779:397::-;2838:7;2853;2868;2886:6;2899:5;2912:7;2927;2946:18;;:::i;:::-;2967:9;:22;2977:5;:11;2983:4;2977:11;;;;;;;;;;;;;;;;2967:22;;;;;;;;;;;2946:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3017:5;:10;;;3038:5;:12;;;3061:5;:10;;;3085:5;:9;;;3105:5;:14;;;3130:5;:13;;;3157:5;:11;;;2999:170;;;;;;;;;;;;;;2779:397;;;;;;;;;;:::o;753:37::-;;;;;;;;;;;;;;;;;:::o;3181:387::-;3239:7;3254;3269;3287:6;3300:5;3313:7;3328;3347:18;;:::i;:::-;3368:9;:13;3378:2;3368:13;;;;;;;;;;;3347:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3409:5;:10;;;3430:5;:12;;;3453:5;:10;;;3477:5;:9;;;3497:5;:14;;;3522:5;:13;;;3549:5;:11;;;3391:170;;;;;;;;;;;;;;3181:387;;;;;;;;;;:::o;1481:97::-;845:10;836:19;;:5;;;;;;;;;;;:19;;;828:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1566:5;1548:9;:15;1558:4;1548:15;;;;;;;;;;;;;;;;:23;;;;;;;;;;;;;;;;;;1481:97;:::o;199:20::-;;;;;;;;;;;;;:::o;53:26::-;;;;:::o;119:31::-;;;;:::o;706:41::-;;;;;;;;;;;;;;;;;;;;;;:::o;1383:93::-;845:10;836:19;;:5;;;;;;;;;;;:19;;;828:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1465:4;1447:9;:15;1457:4;1447:15;;;;;;;;;;;;;;;;:22;;;;;;;;;;;;;;;;;;1383:93;:::o;2542:232::-;2617:19;940:10;931:19;;:5;;;;;;;;;;;:19;;;:52;;;;979:4;954:29;;:9;:21;964:10;954:21;;;;;;;;;;;;;;;;;;;;;;;;;:29;;;931:52;923:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2601:4;1275:3;1267:4;:11;;;;1259:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2639:9;:22;2649:5;:11;2655:4;2649:11;;;;;;;;;;;;;;;;2639:22;;;;;;;;;;;2617:44;;2688:4;2674:18;;:5;:10;;;;;;;;;;;;:18;;;2671:97;;;2724:5;2708;:13;;;:21;;;;;;;;;;;;;;;;;;2743:15;;:17;;;;;;;;;;;;;2671:97;1012:1;2542:232;;:::o;25:3545::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", + "source": "pragma solidity ^0.4.24;\ncontract PublicTokens {\n uint public tokenCount = 0; //total count of all added tokens\n uint public tokenValidCount = 0; //count of all valid tokens isValid!=false\n address public owner;\n struct Token {\n bytes16 name; // Name of the token\n bytes16 symbol; // Symbol of the token\n address addr; // Address of the token contract\n uint32 erc; // token erc ERC-20, ERC-777..etc\n uint8 decimals; // decimals of the token\n bytes32 website; // website of the token\n bytes32 email; // support email of the token\n bool isValid; //whether the token is valid or not\n }\n mapping(uint => Token) public pubTokens;\n mapping(address => bool) public moderator;\n mapping(address => uint) public idMap;\n modifier owner_only() {\n require(owner == msg.sender, \"only owner\");\n _;\n }\n modifier only_mod() {\n require(owner == msg.sender || moderator[msg.sender] == true, \"only moderetor\");\n _;\n }\n modifier only_contract(address addr) {\n uint32 size;\n assembly {\n size := extcodesize(addr)\n }\n require(size > 0, \"Not a contract\");\n _;\n }\n modifier no_null(address addr) {\n require(addr != 0x0, \"invalid address\");\n _;\n }\n constructor () public {\n owner = msg.sender;\n }\n function addModerator(address addr) public owner_only {\n moderator[addr] = true;\n }\n function removeModerator(address addr) public owner_only {\n moderator[addr] = false;\n }\n function addSetToken(\n bytes16 name, \n bytes16 symbol, \n address addr, \n uint32 erc,\n uint8 decimals, \n bytes32 website, \n bytes32 email) public only_mod no_null(addr) only_contract(addr) {\n Token storage token = pubTokens[idMap[addr]];\n if(token.addr == 0x0) {\n tokenCount++;\n tokenValidCount++;\n token = pubTokens[tokenCount];\n idMap[addr] = tokenCount;\n token.isValid = true;\n \t}\n token.name = name;\n token.symbol = symbol;\n token.addr = addr;\n token.erc = erc;\n token.decimals = decimals;\n token.website = website;\n token.email = email;\n }\n function disableToken(address addr) public only_mod no_null(addr) {\n Token storage token = pubTokens[idMap[addr]];\n if(token.addr == addr) {\n token.isValid = false;\n tokenValidCount--;\n \t}\n }\n function enableToken(address addr) public only_mod no_null(addr) {\n Token storage token = pubTokens[idMap[addr]];\n if(token.addr == addr) {\n token.isValid = false;\n tokenValidCount++;\n \t}\n }\n function getToken(address addr) public view returns (\n \tbytes16, \n \tbytes16, \n \taddress, \n uint32,\n \tuint8, \n \tbytes32, \n \tbytes32) {\n Token memory token = pubTokens[idMap[addr]];\n return (\n \ttoken.name,\n \ttoken.symbol,\n \ttoken.addr,\n token.erc,\n \ttoken.decimals,\n \ttoken.website,\n token.email);\n }\n function getTokenById(uint id) public view returns (\n \tbytes16, \n \tbytes16, \n \taddress, \n uint32,\n \tuint8, \n \tbytes32, \n \tbytes32) {\n Token memory token = pubTokens[id];\n return (\n \ttoken.name,\n \ttoken.symbol,\n \ttoken.addr,\n token.erc,\n \ttoken.decimals,\n \ttoken.website,\n token.email);\n }\n}", + "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/PublicTokens.sol", "ast": { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/PublicTokens.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/PublicTokens.sol", "exportedSymbols": { "PublicTokens": [ - 698 + 498 ] }, - "id": 699, + "id": 499, "nodeType": "SourceUnit", "nodes": [ { - "id": 72, + "id": 102, "literals": [ "solidity", "^", "0.4", - ".0" + ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:1" - }, - { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/Seriality.sol", - "file": "./Seriality/Seriality.sol", - "id": 73, - "nodeType": "ImportDirective", - "scope": 699, - "sourceUnit": 1495, - "src": "24:35:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/DummyToken.sol", - "file": "./DummyToken.sol", - "id": 74, - "nodeType": "ImportDirective", - "scope": 699, - "sourceUnit": 71, - "src": "60:26:1", - "symbolAliases": [], - "unitAlias": "" + "src": "0:24:2" }, { - "baseContracts": [ - { - "arguments": [], - "baseName": { - "contractScope": null, - "id": 75, - "name": "Seriality", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1494, - "src": "113:9:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Seriality_$1494", - "typeString": "contract Seriality" - } - }, - "id": 76, - "nodeType": "InheritanceSpecifier", - "src": "113:9:1" - } - ], - "contractDependencies": [ - 1478, - 1494, - 1570, - 1691 - ], + "baseContracts": [], + "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 698, + "id": 498, "linearizedBaseContracts": [ - 698, - 1494, - 1570, - 1691, - 1478 + 498 ], "name": "PublicTokens", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 79, + "id": 105, "name": "tokenCount", "nodeType": "VariableDeclaration", - "scope": 698, - "src": "125:26:1", + "scope": 498, + "src": "53:26:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -438,10 +369,10 @@ "typeString": "uint256" }, "typeName": { - "id": 77, + "id": 103, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "125:4:1", + "src": "53:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -450,14 +381,14 @@ "value": { "argumentTypes": null, "hexValue": "30", - "id": 78, + "id": 104, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "150:1:1", + "src": "78:1:2", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -469,11 +400,11 @@ }, { "constant": false, - "id": 82, + "id": 108, "name": "tokenValidCount", "nodeType": "VariableDeclaration", - "scope": 698, - "src": "188:31:1", + "scope": 498, + "src": "119:31:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -481,10 +412,10 @@ "typeString": "uint256" }, "typeName": { - "id": 80, + "id": 106, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "188:4:1", + "src": "119:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -493,14 +424,14 @@ "value": { "argumentTypes": null, "hexValue": "30", - "id": 81, + "id": 107, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "218:1:1", + "src": "149:1:2", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -512,11 +443,11 @@ }, { "constant": false, - "id": 84, + "id": 110, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 698, - "src": "265:20:1", + "scope": 498, + "src": "199:20:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -524,10 +455,10 @@ "typeString": "address" }, "typeName": { - "id": 83, + "id": 109, "name": "address", "nodeType": "ElementaryTypeName", - "src": "265:7:1", + "src": "199:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -538,15 +469,15 @@ }, { "canonicalName": "PublicTokens.Token", - "id": 99, + "id": 127, "members": [ { "constant": false, - "id": 86, + "id": 112, "name": "name", "nodeType": "VariableDeclaration", - "scope": 99, - "src": "314:12:1", + "scope": 127, + "src": "248:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -554,10 +485,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 85, + "id": 111, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "314:7:1", + "src": "248:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -568,11 +499,11 @@ }, { "constant": false, - "id": 88, + "id": 114, "name": "symbol", "nodeType": "VariableDeclaration", - "scope": 99, - "src": "357:14:1", + "scope": 127, + "src": "291:14:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -580,10 +511,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 87, + "id": 113, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "357:7:1", + "src": "291:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -594,11 +525,11 @@ }, { "constant": false, - "id": 90, + "id": 116, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 99, - "src": "405:12:1", + "scope": 127, + "src": "339:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -606,10 +537,10 @@ "typeString": "address" }, "typeName": { - "id": 89, + "id": 115, "name": "address", "nodeType": "ElementaryTypeName", - "src": "405:7:1", + "src": "339:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -620,11 +551,37 @@ }, { "constant": false, - "id": 92, + "id": 118, + "name": "erc", + "nodeType": "VariableDeclaration", + "scope": 127, + "src": "394:10:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 117, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "394:6:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 120, "name": "decimals", "nodeType": "VariableDeclaration", - "scope": 99, - "src": "460:14:1", + "scope": 127, + "src": "448:14:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -632,10 +589,10 @@ "typeString": "uint8" }, "typeName": { - "id": 91, + "id": 119, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "460:5:1", + "src": "448:5:2", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -646,11 +603,11 @@ }, { "constant": false, - "id": 94, + "id": 122, "name": "website", "nodeType": "VariableDeclaration", - "scope": 99, - "src": "509:15:1", + "scope": 127, + "src": "497:15:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -658,10 +615,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 93, + "id": 121, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "509:7:1", + "src": "497:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -672,11 +629,11 @@ }, { "constant": false, - "id": 96, + "id": 124, "name": "email", "nodeType": "VariableDeclaration", - "scope": 99, - "src": "560:13:1", + "scope": 127, + "src": "548:13:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -684,10 +641,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 95, + "id": 123, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "560:7:1", + "src": "548:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -698,11 +655,11 @@ }, { "constant": false, - "id": 98, + "id": 126, "name": "isValid", "nodeType": "VariableDeclaration", - "scope": 99, - "src": "613:12:1", + "scope": 127, + "src": "601:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -710,10 +667,10 @@ "typeString": "bool" }, "typeName": { - "id": 97, + "id": 125, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "613:4:1", + "src": "601:4:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -725,51 +682,51 @@ ], "name": "Token", "nodeType": "StructDefinition", - "scope": 698, - "src": "291:377:1", + "scope": 498, + "src": "225:431:2", "visibility": "public" }, { "constant": false, - "id": 103, + "id": 131, "name": "pubTokens", "nodeType": "VariableDeclaration", - "scope": 698, - "src": "673:39:1", + "scope": 498, + "src": "661:39:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", + "typeString": "mapping(uint256 => struct PublicTokens.Token)" }, "typeName": { - "id": 102, + "id": 130, "keyType": { - "id": 100, + "id": 128, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "681:4:1", + "src": "669:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "673:22:1", + "src": "661:22:2", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", + "typeString": "mapping(uint256 => struct PublicTokens.Token)" }, "valueType": { "contractScope": null, - "id": 101, + "id": 129, "name": "Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "689:5:1", + "referencedDeclaration": 127, + "src": "677:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" } } }, @@ -778,11 +735,11 @@ }, { "constant": false, - "id": 107, + "id": 135, "name": "moderator", "nodeType": "VariableDeclaration", - "scope": 698, - "src": "718:41:1", + "scope": 498, + "src": "706:41:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -790,28 +747,28 @@ "typeString": "mapping(address => bool)" }, "typeName": { - "id": 106, + "id": 134, "keyType": { - "id": 104, + "id": 132, "name": "address", "nodeType": "ElementaryTypeName", - "src": "726:7:1", + "src": "714:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "718:24:1", + "src": "706:24:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 105, + "id": 133, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "737:4:1", + "src": "725:4:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -823,11 +780,11 @@ }, { "constant": false, - "id": 111, + "id": 139, "name": "idMap", "nodeType": "VariableDeclaration", - "scope": 698, - "src": "765:37:1", + "scope": 498, + "src": "753:37:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -835,28 +792,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 110, + "id": 138, "keyType": { - "id": 108, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "773:7:1", + "src": "761:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "765:24:1", + "src": "753:24:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 109, + "id": 137, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "784:4:1", + "src": "772:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -868,9 +825,9 @@ }, { "body": { - "id": 121, + "id": 150, "nodeType": "Block", - "src": "830:56:1", + "src": "818:70:2", "statements": [ { "expression": { @@ -882,19 +839,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 117, + "id": 145, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 114, + "id": 142, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "848:5:1", + "referencedDeclaration": 110, + "src": "836:5:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -906,18 +863,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 115, + "id": 143, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "857:3:1", + "referencedDeclaration": 1937, + "src": "845:3:2", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 116, + "id": 144, "isConstant": false, "isLValue": false, "isPure": false, @@ -925,17 +882,35 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "857:10:1", + "src": "845:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "848:19:1", + "src": "836:19:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } + }, + { + "argumentTypes": null, + "hexValue": "6f6e6c79206f776e6572", + "id": 146, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "857:12:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ae2932905fc5bb055d2e7b29311075afd0dbf688106cf649cb515d342f4c7367", + "typeString": "literal_string \"only owner\"" + }, + "value": "only owner" } ], "expression": { @@ -943,20 +918,27 @@ { "typeIdentifier": "t_bool", "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ae2932905fc5bb055d2e7b29311075afd0dbf688106cf649cb515d342f4c7367", + "typeString": "literal_string \"only owner\"" } ], - "id": 113, + "id": 141, "name": "require", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1706, - "src": "840:7:1", + "overloadedDeclarations": [ + 1940, + 1941 + ], + "referencedDeclaration": 1941, + "src": "828:7:2", "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "id": 118, + "id": 147, "isConstant": false, "isLValue": false, "isPure": false, @@ -964,40 +946,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "840:28:1", + "src": "828:42:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 119, + "id": 148, "nodeType": "ExpressionStatement", - "src": "840:28:1" + "src": "828:42:2" }, { - "id": 120, + "id": 149, "nodeType": "PlaceholderStatement", - "src": "878:1:1" + "src": "880:1:2" } ] }, - "id": 122, + "documentation": null, + "id": 151, "name": "owner_only", "nodeType": "ModifierDefinition", "parameters": { - "id": 112, + "id": 140, "nodeType": "ParameterList", "parameters": [], - "src": "827:2:1" + "src": "815:2:2" }, - "src": "808:78:1", + "src": "796:92:2", "visibility": "internal" }, { "body": { - "id": 139, + "id": 169, "nodeType": "Block", - "src": "911:89:1", + "src": "913:107:2", "statements": [ { "expression": { @@ -1009,7 +992,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 135, + "id": 164, "isConstant": false, "isLValue": false, "isPure": false, @@ -1020,19 +1003,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 128, + "id": 157, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 125, + "id": 154, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "929:5:1", + "referencedDeclaration": 110, + "src": "931:5:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1044,18 +1027,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 126, + "id": 155, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "938:3:1", + "referencedDeclaration": 1937, + "src": "940:3:2", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 127, + "id": 156, "isConstant": false, "isLValue": false, "isPure": false, @@ -1063,13 +1046,13 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "938:10:1", + "src": "940:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "929:19:1", + "src": "931:19:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1083,7 +1066,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 134, + "id": 163, "isConstant": false, "isLValue": false, "isPure": false, @@ -1092,34 +1075,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 129, + "id": 158, "name": "moderator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 107, - "src": "952:9:1", + "referencedDeclaration": 135, + "src": "954:9:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 132, + "id": 161, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 130, + "id": 159, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "962:3:1", + "referencedDeclaration": 1937, + "src": "964:3:2", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 131, + "id": 160, "isConstant": false, "isLValue": false, "isPure": false, @@ -1127,7 +1110,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "962:10:1", + "src": "964:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1138,7 +1121,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "952:21:1", + "src": "954:21:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1149,14 +1132,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 133, + "id": 162, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "977:4:1", + "src": "979:4:2", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1164,17 +1147,35 @@ }, "value": "true" }, - "src": "952:29:1", + "src": "954:29:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "929:52:1", + "src": "931:52:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } + }, + { + "argumentTypes": null, + "hexValue": "6f6e6c79206d6f64657265746f72", + "id": 165, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "985:16:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d98498961cd2e79cfd28c05b483ae7b33e4e8ec9cdd62529be1091cec63bf231", + "typeString": "literal_string \"only moderetor\"" + }, + "value": "only moderetor" } ], "expression": { @@ -1182,20 +1183,27 @@ { "typeIdentifier": "t_bool", "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_d98498961cd2e79cfd28c05b483ae7b33e4e8ec9cdd62529be1091cec63bf231", + "typeString": "literal_string \"only moderetor\"" } ], - "id": 124, + "id": 153, "name": "require", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1706, - "src": "921:7:1", + "overloadedDeclarations": [ + 1940, + 1941 + ], + "referencedDeclaration": 1941, + "src": "923:7:2", "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "id": 136, + "id": 166, "isConstant": false, "isLValue": false, "isPure": false, @@ -1203,41 +1211,103 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "921:61:1", + "src": "923:79:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 137, + "id": 167, "nodeType": "ExpressionStatement", - "src": "921:61:1" + "src": "923:79:2" }, { - "id": 138, + "id": 168, "nodeType": "PlaceholderStatement", - "src": "992:1:1" + "src": "1012:1:2" } ] }, - "id": 140, + "documentation": null, + "id": 170, "name": "only_mod", "nodeType": "ModifierDefinition", "parameters": { - "id": 123, + "id": 152, "nodeType": "ParameterList", "parameters": [], - "src": "908:2:1" + "src": "910:2:2" }, - "src": "891:109:1", + "src": "893:127:2", "visibility": "internal" }, { "body": { - "id": 151, + "id": 186, "nodeType": "Block", - "src": "1036:48:1", + "src": "1062:151:2", "statements": [ + { + "assignments": [], + "declarations": [ + { + "constant": false, + "id": 175, + "name": "size", + "nodeType": "VariableDeclaration", + "scope": 187, + "src": "1072:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 174, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "1072:6:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 176, + "initialValue": null, + "nodeType": "VariableDeclarationStatement", + "src": "1072:11:2" + }, + { + "externalReferences": [ + { + "addr": { + "declaration": 172, + "isOffset": false, + "isSlot": false, + "src": "1136:4:2", + "valueSize": 1 + } + }, + { + "size": { + "declaration": 175, + "isOffset": false, + "isSlot": false, + "src": "1116:4:2", + "valueSize": 1 + } + } + ], + "id": 177, + "nodeType": "InlineAssembly", + "operations": "{\n size := extcodesize(addr)\n}", + "src": "1093:74:2" + }, { "expression": { "argumentTypes": null, @@ -1245,52 +1315,70 @@ { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint32", + "typeString": "uint32" }, - "id": 147, + "id": 181, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 145, - "name": "addr", + "id": 179, + "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 142, - "src": "1054:4:1", + "referencedDeclaration": 175, + "src": "1168:4:2", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint32", + "typeString": "uint32" } }, "nodeType": "BinaryOperation", - "operator": "!=", + "operator": ">", "rightExpression": { "argumentTypes": null, - "hexValue": "307830", - "id": 146, + "hexValue": "30", + "id": 180, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1062:3:1", + "src": "1175:1:2", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, - "value": "0x0" + "value": "0" }, - "src": "1054:11:1", + "src": "1168:8:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } + }, + { + "argumentTypes": null, + "hexValue": "4e6f74206120636f6e7472616374", + "id": 182, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1178:16:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a7125e02b15b9624893e22fc887adf7b442cd1c1f4fc92da8a28be0486c1faa3", + "typeString": "literal_string \"Not a contract\"" + }, + "value": "Not a contract" } ], "expression": { @@ -1298,20 +1386,27 @@ { "typeIdentifier": "t_bool", "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_a7125e02b15b9624893e22fc887adf7b442cd1c1f4fc92da8a28be0486c1faa3", + "typeString": "literal_string \"Not a contract\"" } ], - "id": 144, + "id": 178, "name": "require", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1706, - "src": "1046:7:1", + "overloadedDeclarations": [ + 1940, + 1941 + ], + "referencedDeclaration": 1941, + "src": "1160:7:2", "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "id": 148, + "id": 183, "isConstant": false, "isLValue": false, "isPure": false, @@ -1319,37 +1414,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1046:20:1", + "src": "1160:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 149, + "id": 184, "nodeType": "ExpressionStatement", - "src": "1046:20:1" + "src": "1160:35:2" }, { - "id": 150, + "id": 185, "nodeType": "PlaceholderStatement", - "src": "1076:1:1" + "src": "1205:1:2" } ] }, - "id": 152, - "name": "no_null", + "documentation": null, + "id": 187, + "name": "only_contract", "nodeType": "ModifierDefinition", "parameters": { - "id": 143, + "id": 173, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 142, + "id": 172, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 152, - "src": "1022:12:1", + "scope": 187, + "src": "1048:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1357,10 +1453,10 @@ "typeString": "address" }, "typeName": { - "id": 141, + "id": 171, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1022:7:1", + "src": "1048:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1370,117 +1466,287 @@ "visibility": "internal" } ], - "src": "1021:14:1" + "src": "1047:14:2" }, - "src": "1005:79:1", + "src": "1025:188:2", "visibility": "internal" }, { "body": { - "id": 160, + "id": 199, "nodeType": "Block", - "src": "1121:32:1", + "src": "1249:67:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 158, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 155, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1128:5:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { + "arguments": [ + { "argumentTypes": null, - "id": 156, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "1136:3:1", + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 194, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 192, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 189, + "src": "1267:4:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "hexValue": "307830", + "id": 193, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1275:3:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x0" + }, + "src": "1267:11:2", "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1136:10:1", + { + "argumentTypes": null, + "hexValue": "696e76616c69642061646472657373", + "id": 195, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1280:17:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74932fd68ec16402237b05adf133daec827d0040b277e283234f2f607c023225", + "typeString": "literal_string \"invalid address\"" + }, + "value": "invalid address" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_74932fd68ec16402237b05adf133daec827d0040b277e283234f2f607c023225", + "typeString": "literal_string \"invalid address\"" + } + ], + "id": 191, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1940, + 1941 + ], + "referencedDeclaration": 1941, + "src": "1259:7:2", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "src": "1128:18:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "id": 196, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1259:39:2", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 197, + "nodeType": "ExpressionStatement", + "src": "1259:39:2" + }, + { + "id": 198, + "nodeType": "PlaceholderStatement", + "src": "1308:1:2" + } + ] + }, + "documentation": null, + "id": 200, + "name": "no_null", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 190, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 189, + "name": "addr", + "nodeType": "VariableDeclaration", + "scope": 200, + "src": "1235:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 188, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1235:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1234:14:2" + }, + "src": "1218:98:2", + "visibility": "internal" + }, + { + "body": { + "id": 208, + "nodeType": "Block", + "src": "1343:35:2", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 206, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 203, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 110, + "src": "1353:5:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 204, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1937, + "src": "1361:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 205, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1361:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1353:18:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 159, + "id": 207, "nodeType": "ExpressionStatement", - "src": "1128:18:1" + "src": "1353:18:2" } ] }, - "id": 161, + "documentation": null, + "id": 209, "implemented": true, "isConstructor": true, "isDeclaredConst": false, "modifiers": [], - "name": "PublicTokens", + "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 153, + "id": 201, "nodeType": "ParameterList", "parameters": [], - "src": "1111:2:1" + "src": "1333:2:2" }, "payable": false, "returnParameters": { - "id": 154, + "id": 202, "nodeType": "ParameterList", "parameters": [], - "src": "1121:0:1" + "src": "1343:0:2" }, - "scope": 698, - "src": "1089:64:1", + "scope": 498, + "src": "1321:57:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 174, + "id": 222, "nodeType": "Block", - "src": "1212:36:1", + "src": "1437:39:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 172, + "id": 220, "isConstant": false, "isLValue": false, "isPure": false, @@ -1489,26 +1755,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 168, + "id": 216, "name": "moderator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 107, - "src": "1219:9:1", + "referencedDeclaration": 135, + "src": "1447:9:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 170, + "id": 218, "indexExpression": { "argumentTypes": null, - "id": 169, + "id": 217, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 163, - "src": "1229:4:1", + "referencedDeclaration": 211, + "src": "1457:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1519,7 +1785,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1219:15:1", + "src": "1447:15:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1530,14 +1796,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 171, + "id": 219, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1237:4:1", + "src": "1465:4:2", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1545,56 +1811,57 @@ }, "value": "true" }, - "src": "1219:22:1", + "src": "1447:22:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 173, + "id": 221, "nodeType": "ExpressionStatement", - "src": "1219:22:1" + "src": "1447:22:2" } ] }, - "id": 175, + "documentation": null, + "id": 223, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { - "arguments": [], - "id": 166, + "arguments": null, + "id": 214, "modifierName": { "argumentTypes": null, - "id": 165, + "id": 213, "name": "owner_only", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 122, - "src": "1201:10:1", + "referencedDeclaration": 151, + "src": "1426:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "1201:10:1" + "src": "1426:10:2" } ], "name": "addModerator", "nodeType": "FunctionDefinition", "parameters": { - "id": 164, + "id": 212, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 163, + "id": 211, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 175, - "src": "1180:12:1", + "scope": 223, + "src": "1405:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1602,10 +1869,10 @@ "typeString": "address" }, "typeName": { - "id": 162, + "id": 210, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1180:7:1", + "src": "1405:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1615,31 +1882,31 @@ "visibility": "internal" } ], - "src": "1179:14:1" + "src": "1404:14:2" }, "payable": false, "returnParameters": { - "id": 167, + "id": 215, "nodeType": "ParameterList", "parameters": [], - "src": "1212:0:1" + "src": "1437:0:2" }, - "scope": 698, - "src": "1158:90:1", + "scope": 498, + "src": "1383:93:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 188, + "id": 236, "nodeType": "Block", - "src": "1310:37:1", + "src": "1538:40:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 186, + "id": 234, "isConstant": false, "isLValue": false, "isPure": false, @@ -1648,26 +1915,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 182, + "id": 230, "name": "moderator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 107, - "src": "1317:9:1", + "referencedDeclaration": 135, + "src": "1548:9:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 184, + "id": 232, "indexExpression": { "argumentTypes": null, - "id": 183, + "id": 231, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 177, - "src": "1327:4:1", + "referencedDeclaration": 225, + "src": "1558:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1678,7 +1945,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1317:15:1", + "src": "1548:15:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1689,14 +1956,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 185, + "id": 233, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1335:5:1", + "src": "1566:5:2", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1704,56 +1971,57 @@ }, "value": "false" }, - "src": "1317:23:1", + "src": "1548:23:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 187, + "id": 235, "nodeType": "ExpressionStatement", - "src": "1317:23:1" + "src": "1548:23:2" } ] }, - "id": 189, + "documentation": null, + "id": 237, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { - "arguments": [], - "id": 180, + "arguments": null, + "id": 228, "modifierName": { "argumentTypes": null, - "id": 179, + "id": 227, "name": "owner_only", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 122, - "src": "1299:10:1", + "referencedDeclaration": 151, + "src": "1527:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "1299:10:1" + "src": "1527:10:2" } ], "name": "removeModerator", "nodeType": "FunctionDefinition", "parameters": { - "id": 178, + "id": 226, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 177, + "id": 225, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 189, - "src": "1278:12:1", + "scope": 237, + "src": "1506:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1761,10 +2029,10 @@ "typeString": "address" }, "typeName": { - "id": 176, + "id": 224, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1278:7:1", + "src": "1506:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1774,102 +2042,102 @@ "visibility": "internal" } ], - "src": "1277:14:1" + "src": "1505:14:2" }, "payable": false, "returnParameters": { - "id": 181, + "id": 229, "nodeType": "ParameterList", "parameters": [], - "src": "1310:0:1" + "src": "1538:0:2" }, - "scope": 698, - "src": "1253:94:1", + "scope": 498, + "src": "1481:97:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 283, + "id": 342, "nodeType": "Block", - "src": "1531:421:1", + "src": "1820:479:2", "statements": [ { "assignments": [ - 210 + 263 ], "declarations": [ { "constant": false, - "id": 210, + "id": 263, "name": "token", "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1538:19:1", + "scope": 343, + "src": "1830:19:2", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" }, "typeName": { "contractScope": null, - "id": 209, + "id": 262, "name": "Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "1538:5:1", + "referencedDeclaration": 127, + "src": "1830:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" } }, "value": null, "visibility": "internal" } ], - "id": 216, + "id": 269, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 211, + "id": 264, "name": "pubTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "1560:9:1", + "referencedDeclaration": 131, + "src": "1852:9:2", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" } }, - "id": 215, + "id": 268, "indexExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 212, + "id": 265, "name": "idMap", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 111, - "src": "1570:5:1", + "referencedDeclaration": 139, + "src": "1862:5:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 214, + "id": 267, "indexExpression": { "argumentTypes": null, - "id": 213, + "id": 266, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 195, - "src": "1576:4:1", + "referencedDeclaration": 243, + "src": "1868:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1880,7 +2148,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1570:11:1", + "src": "1862:11:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1891,14 +2159,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1560:22:1", + "src": "1852:22:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", + "typeIdentifier": "t_struct$_Token_$127_storage", "typeString": "struct PublicTokens.Token storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "1538:44:1" + "src": "1830:44:2" }, { "condition": { @@ -1907,7 +2175,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 220, + "id": 273, "isConstant": false, "isLValue": false, "isPure": false, @@ -1916,26 +2184,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 217, + "id": 270, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1592:5:1", + "referencedDeclaration": 263, + "src": "1887:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 218, + "id": 271, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "addr", "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "1592:10:1", + "referencedDeclaration": 116, + "src": "1887:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1946,14 +2214,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "307830", - "id": 219, + "id": 272, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1606:3:1", + "src": "1901:3:2", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -1961,25 +2229,25 @@ }, "value": "0x0" }, - "src": "1592:17:1", + "src": "1887:17:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 246, + "id": 299, "nodeType": "IfStatement", - "src": "1589:175:1", + "src": "1884:202:2", "trueBody": { - "id": 245, + "id": 298, "nodeType": "Block", - "src": "1611:153:1", + "src": "1906:180:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 222, + "id": 275, "isConstant": false, "isLValue": false, "isPure": false, @@ -1987,15 +2255,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "1619:12:1", + "src": "1920:12:2", "subExpression": { "argumentTypes": null, - "id": 221, + "id": 274, "name": "tokenCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 79, - "src": "1619:10:1", + "referencedDeclaration": 105, + "src": "1920:10:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2006,14 +2274,14 @@ "typeString": "uint256" } }, - "id": 223, + "id": 276, "nodeType": "ExpressionStatement", - "src": "1619:12:1" + "src": "1920:12:2" }, { "expression": { "argumentTypes": null, - "id": 225, + "id": 278, "isConstant": false, "isLValue": false, "isPure": false, @@ -2021,15 +2289,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "1642:17:1", + "src": "1946:17:2", "subExpression": { "argumentTypes": null, - "id": 224, + "id": 277, "name": "tokenValidCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 82, - "src": "1642:15:1", + "referencedDeclaration": 108, + "src": "1946:15:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2040,28 +2308,28 @@ "typeString": "uint256" } }, - "id": 226, + "id": 279, "nodeType": "ExpressionStatement", - "src": "1642:17:1" + "src": "1946:17:2" }, { "expression": { "argumentTypes": null, - "id": 231, + "id": 284, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 227, + "id": 280, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1667:5:1", + "referencedDeclaration": 263, + "src": "1977:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, @@ -2071,26 +2339,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 228, + "id": 281, "name": "pubTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "1675:9:1", + "referencedDeclaration": 131, + "src": "1985:9:2", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" } }, - "id": 230, + "id": 283, "indexExpression": { "argumentTypes": null, - "id": 229, + "id": 282, "name": "tokenCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 79, - "src": "1685:10:1", + "referencedDeclaration": 105, + "src": "1995:10:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2101,26 +2369,26 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1675:21:1", + "src": "1985:21:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", + "typeIdentifier": "t_struct$_Token_$127_storage", "typeString": "struct PublicTokens.Token storage ref" } }, - "src": "1667:29:1", + "src": "1977:29:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 232, + "id": 285, "nodeType": "ExpressionStatement", - "src": "1667:29:1" + "src": "1977:29:2" }, { "expression": { "argumentTypes": null, - "id": 237, + "id": 290, "isConstant": false, "isLValue": false, "isPure": false, @@ -2129,26 +2397,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 233, + "id": 286, "name": "idMap", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 111, - "src": "1704:5:1", + "referencedDeclaration": 139, + "src": "2020:5:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 235, + "id": 288, "indexExpression": { "argumentTypes": null, - "id": 234, + "id": 287, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 195, - "src": "1710:4:1", + "referencedDeclaration": 243, + "src": "2026:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2159,7 +2427,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1704:11:1", + "src": "2020:11:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2169,31 +2437,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 236, + "id": 289, "name": "tokenCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 79, - "src": "1718:10:1", + "referencedDeclaration": 105, + "src": "2034:10:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1704:24:1", + "src": "2020:24:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 238, + "id": 291, "nodeType": "ExpressionStatement", - "src": "1704:24:1" + "src": "2020:24:2" }, { "expression": { "argumentTypes": null, - "id": 243, + "id": 296, "isConstant": false, "isLValue": false, "isPure": false, @@ -2202,26 +2470,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 239, + "id": 292, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1736:5:1", + "referencedDeclaration": 263, + "src": "2058:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 241, + "id": 294, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "isValid", "nodeType": "MemberAccess", - "referencedDeclaration": 98, - "src": "1736:13:1", + "referencedDeclaration": 126, + "src": "2058:13:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2232,14 +2500,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 242, + "id": 295, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1752:4:1", + "src": "2074:4:2", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2247,15 +2515,15 @@ }, "value": "true" }, - "src": "1736:20:1", + "src": "2058:20:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 244, + "id": 297, "nodeType": "ExpressionStatement", - "src": "1736:20:1" + "src": "2058:20:2" } ] } @@ -2263,7 +2531,7 @@ { "expression": { "argumentTypes": null, - "id": 251, + "id": 304, "isConstant": false, "isLValue": false, "isPure": false, @@ -2272,26 +2540,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 247, + "id": 300, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1773:5:1", + "referencedDeclaration": 263, + "src": "2095:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 249, + "id": 302, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 86, - "src": "1773:10:1", + "referencedDeclaration": 112, + "src": "2095:10:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -2301,31 +2569,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 250, + "id": 303, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 191, - "src": "1786:4:1", + "referencedDeclaration": 239, + "src": "2108:4:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "1773:17:1", + "src": "2095:17:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 252, + "id": 305, "nodeType": "ExpressionStatement", - "src": "1773:17:1" + "src": "2095:17:2" }, { "expression": { "argumentTypes": null, - "id": 257, + "id": 310, "isConstant": false, "isLValue": false, "isPure": false, @@ -2334,26 +2602,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 253, + "id": 306, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1800:5:1", + "referencedDeclaration": 263, + "src": "2122:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 255, + "id": 308, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "symbol", "nodeType": "MemberAccess", - "referencedDeclaration": 88, - "src": "1800:12:1", + "referencedDeclaration": 114, + "src": "2122:12:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -2363,31 +2631,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 256, + "id": 309, "name": "symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 193, - "src": "1815:6:1", + "referencedDeclaration": 241, + "src": "2137:6:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "1800:21:1", + "src": "2122:21:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 258, + "id": 311, "nodeType": "ExpressionStatement", - "src": "1800:21:1" + "src": "2122:21:2" }, { "expression": { "argumentTypes": null, - "id": 263, + "id": 316, "isConstant": false, "isLValue": false, "isPure": false, @@ -2396,26 +2664,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 259, + "id": 312, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1831:5:1", + "referencedDeclaration": 263, + "src": "2153:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 261, + "id": 314, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "addr", "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "1831:10:1", + "referencedDeclaration": 116, + "src": "2153:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2425,31 +2693,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 262, + "id": 315, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 195, - "src": "1844:4:1", + "referencedDeclaration": 243, + "src": "2166:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1831:17:1", + "src": "2153:17:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 264, + "id": 317, "nodeType": "ExpressionStatement", - "src": "1831:17:1" + "src": "2153:17:2" }, { "expression": { "argumentTypes": null, - "id": 269, + "id": 322, "isConstant": false, "isLValue": false, "isPure": false, @@ -2458,26 +2726,88 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 265, + "id": 318, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1858:5:1", + "referencedDeclaration": 263, + "src": "2180:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 267, + "id": 320, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "erc", + "nodeType": "MemberAccess", + "referencedDeclaration": 118, + "src": "2180:9:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 321, + "name": "erc", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 245, + "src": "2192:3:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "src": "2180:15:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "id": 323, + "nodeType": "ExpressionStatement", + "src": "2180:15:2" + }, + { + "expression": { + "argumentTypes": null, + "id": 328, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 324, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 263, + "src": "2205:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" + } + }, + "id": 326, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "decimals", "nodeType": "MemberAccess", - "referencedDeclaration": 92, - "src": "1858:14:1", + "referencedDeclaration": 120, + "src": "2205:14:2", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -2487,31 +2817,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 268, + "id": 327, "name": "decimals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 197, - "src": "1875:8:1", + "referencedDeclaration": 247, + "src": "2222:8:2", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "src": "1858:25:1", + "src": "2205:25:2", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "id": 270, + "id": 329, "nodeType": "ExpressionStatement", - "src": "1858:25:1" + "src": "2205:25:2" }, { "expression": { "argumentTypes": null, - "id": 275, + "id": 334, "isConstant": false, "isLValue": false, "isPure": false, @@ -2520,26 +2850,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 271, + "id": 330, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1893:5:1", + "referencedDeclaration": 263, + "src": "2240:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 273, + "id": 332, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "website", "nodeType": "MemberAccess", - "referencedDeclaration": 94, - "src": "1893:13:1", + "referencedDeclaration": 122, + "src": "2240:13:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2549,31 +2879,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 274, + "id": 333, "name": "website", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 199, - "src": "1909:7:1", + "referencedDeclaration": 249, + "src": "2256:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "1893:23:1", + "src": "2240:23:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 276, + "id": 335, "nodeType": "ExpressionStatement", - "src": "1893:23:1" + "src": "2240:23:2" }, { "expression": { "argumentTypes": null, - "id": 281, + "id": 340, "isConstant": false, "isLValue": false, "isPure": false, @@ -2582,26 +2912,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 277, + "id": 336, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1926:5:1", + "referencedDeclaration": 263, + "src": "2273:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 279, + "id": 338, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "email", "nodeType": "MemberAccess", - "referencedDeclaration": 96, - "src": "1926:11:1", + "referencedDeclaration": 124, + "src": "2273:11:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2611,100 +2941,134 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 280, + "id": 339, "name": "email", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 201, - "src": "1940:5:1", + "referencedDeclaration": 251, + "src": "2287:5:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "1926:19:1", + "src": "2273:19:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 282, + "id": 341, "nodeType": "ExpressionStatement", - "src": "1926:19:1" + "src": "2273:19:2" } ] }, - "id": 284, + "documentation": null, + "id": 343, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { - "arguments": [], - "id": 204, + "arguments": null, + "id": 254, "modifierName": { "argumentTypes": null, - "id": 203, + "id": 253, "name": "only_mod", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 140, - "src": "1508:8:1", + "referencedDeclaration": 170, + "src": "1777:8:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "1508:8:1" + "src": "1777:8:2" }, { "arguments": [ { "argumentTypes": null, - "id": 206, + "id": 256, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 195, - "src": "1525:4:1", + "referencedDeclaration": 243, + "src": "1794:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 207, + "id": 257, "modifierName": { "argumentTypes": null, - "id": 205, + "id": 255, "name": "no_null", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "1517:7:1", + "referencedDeclaration": 200, + "src": "1786:7:2", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_address_$", + "typeString": "modifier (address)" + } + }, + "nodeType": "ModifierInvocation", + "src": "1786:13:2" + }, + { + "arguments": [ + { + "argumentTypes": null, + "id": 259, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 243, + "src": "1814:4:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "id": 260, + "modifierName": { + "argumentTypes": null, + "id": 258, + "name": "only_contract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 187, + "src": "1800:13:2", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "1517:13:1" + "src": "1800:19:2" } ], "name": "addSetToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 202, + "id": 252, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 191, + "id": 239, "name": "name", "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1379:12:1", + "scope": 343, + "src": "1613:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2712,10 +3076,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 190, + "id": 238, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "1379:7:1", + "src": "1613:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -2726,11 +3090,11 @@ }, { "constant": false, - "id": 193, + "id": 241, "name": "symbol", "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1399:14:1", + "scope": 343, + "src": "1636:14:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2738,10 +3102,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 192, + "id": 240, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "1399:7:1", + "src": "1636:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -2752,11 +3116,11 @@ }, { "constant": false, - "id": 195, + "id": 243, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1421:12:1", + "scope": 343, + "src": "1661:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2764,10 +3128,10 @@ "typeString": "address" }, "typeName": { - "id": 194, + "id": 242, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1421:7:1", + "src": "1661:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2778,11 +3142,37 @@ }, { "constant": false, - "id": 197, + "id": 245, + "name": "erc", + "nodeType": "VariableDeclaration", + "scope": 343, + "src": "1684:10:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 244, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "1684:6:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 247, "name": "decimals", "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1441:14:1", + "scope": 343, + "src": "1704:14:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2790,10 +3180,10 @@ "typeString": "uint8" }, "typeName": { - "id": 196, + "id": 246, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "1441:5:1", + "src": "1704:5:2", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -2804,11 +3194,11 @@ }, { "constant": false, - "id": 199, + "id": 249, "name": "website", "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1463:15:1", + "scope": 343, + "src": "1729:15:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2816,10 +3206,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 198, + "id": 248, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1463:7:1", + "src": "1729:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2830,11 +3220,11 @@ }, { "constant": false, - "id": 201, + "id": 251, "name": "email", "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1486:13:1", + "scope": 343, + "src": "1755:13:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2842,10 +3232,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 200, + "id": 250, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1486:7:1", + "src": "1755:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2855,102 +3245,102 @@ "visibility": "internal" } ], - "src": "1372:128:1" + "src": "1603:166:2" }, "payable": false, "returnParameters": { - "id": 208, + "id": 261, "nodeType": "ParameterList", "parameters": [], - "src": "1531:0:1" + "src": "1820:0:2" }, - "scope": 698, - "src": "1352:600:1", + "scope": 498, + "src": "1583:716:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 317, + "id": 376, "nodeType": "Block", - "src": "2023:149:1", + "src": "2370:167:2", "statements": [ { "assignments": [ - 295 + 354 ], "declarations": [ { "constant": false, - "id": 295, + "id": 354, "name": "token", "nodeType": "VariableDeclaration", - "scope": 318, - "src": "2030:19:1", + "scope": 377, + "src": "2380:19:2", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" }, "typeName": { "contractScope": null, - "id": 294, + "id": 353, "name": "Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "2030:5:1", + "referencedDeclaration": 127, + "src": "2380:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" } }, "value": null, "visibility": "internal" } ], - "id": 301, + "id": 360, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 296, + "id": 355, "name": "pubTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "2052:9:1", + "referencedDeclaration": 131, + "src": "2402:9:2", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" } }, - "id": 300, + "id": 359, "indexExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 297, + "id": 356, "name": "idMap", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 111, - "src": "2062:5:1", + "referencedDeclaration": 139, + "src": "2412:5:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 299, + "id": 358, "indexExpression": { "argumentTypes": null, - "id": 298, + "id": 357, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 286, - "src": "2068:4:1", + "referencedDeclaration": 345, + "src": "2418:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2961,7 +3351,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2062:11:1", + "src": "2412:11:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2972,14 +3362,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2052:22:1", + "src": "2402:22:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", + "typeIdentifier": "t_struct$_Token_$127_storage", "typeString": "struct PublicTokens.Token storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "2030:44:1" + "src": "2380:44:2" }, { "condition": { @@ -2988,7 +3378,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 305, + "id": 364, "isConstant": false, "isLValue": false, "isPure": false, @@ -2997,26 +3387,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 302, + "id": 361, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "2084:5:1", + "referencedDeclaration": 354, + "src": "2437:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 303, + "id": 362, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "addr", "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "2084:10:1", + "referencedDeclaration": 116, + "src": "2437:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3026,36 +3416,36 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 304, + "id": 363, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 286, - "src": "2098:4:1", + "referencedDeclaration": 345, + "src": "2451:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2084:18:1", + "src": "2437:18:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 316, + "id": 375, "nodeType": "IfStatement", - "src": "2081:85:1", + "src": "2434:97:2", "trueBody": { - "id": 315, + "id": 374, "nodeType": "Block", - "src": "2104:62:1", + "src": "2457:74:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 310, + "id": 369, "isConstant": false, "isLValue": false, "isPure": false, @@ -3064,26 +3454,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 306, + "id": 365, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "2112:5:1", + "referencedDeclaration": 354, + "src": "2471:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 308, + "id": 367, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "isValid", "nodeType": "MemberAccess", - "referencedDeclaration": 98, - "src": "2112:13:1", + "referencedDeclaration": 126, + "src": "2471:13:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3094,14 +3484,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 309, + "id": 368, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2128:5:1", + "src": "2487:5:2", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -3109,20 +3499,20 @@ }, "value": "false" }, - "src": "2112:21:1", + "src": "2471:21:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 311, + "id": 370, "nodeType": "ExpressionStatement", - "src": "2112:21:1" + "src": "2471:21:2" }, { "expression": { "argumentTypes": null, - "id": 313, + "id": 372, "isConstant": false, "isLValue": false, "isPure": false, @@ -3130,15 +3520,15 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "2141:17:1", + "src": "2506:17:2", "subExpression": { "argumentTypes": null, - "id": 312, + "id": 371, "name": "tokenValidCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 82, - "src": "2141:15:1", + "referencedDeclaration": 108, + "src": "2506:15:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3149,86 +3539,87 @@ "typeString": "uint256" } }, - "id": 314, + "id": 373, "nodeType": "ExpressionStatement", - "src": "2141:17:1" + "src": "2506:17:2" } ] } } ] }, - "id": 318, + "documentation": null, + "id": 377, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { - "arguments": [], - "id": 289, + "arguments": null, + "id": 348, "modifierName": { "argumentTypes": null, - "id": 288, + "id": 347, "name": "only_mod", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 140, - "src": "2000:8:1", + "referencedDeclaration": 170, + "src": "2347:8:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "2000:8:1" + "src": "2347:8:2" }, { "arguments": [ { "argumentTypes": null, - "id": 291, + "id": 350, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 286, - "src": "2017:4:1", + "referencedDeclaration": 345, + "src": "2364:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 292, + "id": 351, "modifierName": { "argumentTypes": null, - "id": 290, + "id": 349, "name": "no_null", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "2009:7:1", + "referencedDeclaration": 200, + "src": "2356:7:2", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "2009:13:1" + "src": "2356:13:2" } ], "name": "disableToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 287, + "id": 346, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 286, + "id": 345, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 318, - "src": "1979:12:1", + "scope": 377, + "src": "2326:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3236,10 +3627,10 @@ "typeString": "address" }, "typeName": { - "id": 285, + "id": 344, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1979:7:1", + "src": "2326:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3249,102 +3640,102 @@ "visibility": "internal" } ], - "src": "1978:14:1" + "src": "2325:14:2" }, "payable": false, "returnParameters": { - "id": 293, + "id": 352, "nodeType": "ParameterList", "parameters": [], - "src": "2023:0:1" + "src": "2370:0:2" }, - "scope": 698, - "src": "1957:215:1", + "scope": 498, + "src": "2304:233:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 351, + "id": 410, "nodeType": "Block", - "src": "2242:149:1", + "src": "2607:167:2", "statements": [ { "assignments": [ - 329 + 388 ], "declarations": [ { "constant": false, - "id": 329, + "id": 388, "name": "token", "nodeType": "VariableDeclaration", - "scope": 352, - "src": "2249:19:1", + "scope": 411, + "src": "2617:19:2", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" }, "typeName": { "contractScope": null, - "id": 328, + "id": 387, "name": "Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "2249:5:1", + "referencedDeclaration": 127, + "src": "2617:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" } }, "value": null, "visibility": "internal" } ], - "id": 335, + "id": 394, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 330, + "id": 389, "name": "pubTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "2271:9:1", + "referencedDeclaration": 131, + "src": "2639:9:2", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" } }, - "id": 334, + "id": 393, "indexExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 331, + "id": 390, "name": "idMap", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 111, - "src": "2281:5:1", + "referencedDeclaration": 139, + "src": "2649:5:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 333, + "id": 392, "indexExpression": { "argumentTypes": null, - "id": 332, + "id": 391, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 320, - "src": "2287:4:1", + "referencedDeclaration": 379, + "src": "2655:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3355,7 +3746,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2281:11:1", + "src": "2649:11:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3366,14 +3757,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2271:22:1", + "src": "2639:22:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", + "typeIdentifier": "t_struct$_Token_$127_storage", "typeString": "struct PublicTokens.Token storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "2249:44:1" + "src": "2617:44:2" }, { "condition": { @@ -3382,7 +3773,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 339, + "id": 398, "isConstant": false, "isLValue": false, "isPure": false, @@ -3391,26 +3782,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 336, + "id": 395, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 329, - "src": "2303:5:1", + "referencedDeclaration": 388, + "src": "2674:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 337, + "id": 396, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "addr", "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "2303:10:1", + "referencedDeclaration": 116, + "src": "2674:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3420,36 +3811,36 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 338, + "id": 397, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 320, - "src": "2317:4:1", + "referencedDeclaration": 379, + "src": "2688:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2303:18:1", + "src": "2674:18:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 350, + "id": 409, "nodeType": "IfStatement", - "src": "2300:85:1", + "src": "2671:97:2", "trueBody": { - "id": 349, + "id": 408, "nodeType": "Block", - "src": "2323:62:1", + "src": "2694:74:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 344, + "id": 403, "isConstant": false, "isLValue": false, "isPure": false, @@ -3458,26 +3849,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 340, + "id": 399, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 329, - "src": "2331:5:1", + "referencedDeclaration": 388, + "src": "2708:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 342, + "id": 401, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "isValid", "nodeType": "MemberAccess", - "referencedDeclaration": 98, - "src": "2331:13:1", + "referencedDeclaration": 126, + "src": "2708:13:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3488,14 +3879,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 343, + "id": 402, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2347:5:1", + "src": "2724:5:2", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -3503,20 +3894,20 @@ }, "value": "false" }, - "src": "2331:21:1", + "src": "2708:21:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 345, + "id": 404, "nodeType": "ExpressionStatement", - "src": "2331:21:1" + "src": "2708:21:2" }, { "expression": { "argumentTypes": null, - "id": 347, + "id": 406, "isConstant": false, "isLValue": false, "isPure": false, @@ -3524,15 +3915,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "2360:17:1", + "src": "2743:17:2", "subExpression": { "argumentTypes": null, - "id": 346, + "id": 405, "name": "tokenValidCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 82, - "src": "2360:15:1", + "referencedDeclaration": 108, + "src": "2743:15:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3543,86 +3934,87 @@ "typeString": "uint256" } }, - "id": 348, + "id": 407, "nodeType": "ExpressionStatement", - "src": "2360:17:1" + "src": "2743:17:2" } ] } } ] }, - "id": 352, + "documentation": null, + "id": 411, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { - "arguments": [], - "id": 323, + "arguments": null, + "id": 382, "modifierName": { "argumentTypes": null, - "id": 322, + "id": 381, "name": "only_mod", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 140, - "src": "2219:8:1", + "referencedDeclaration": 170, + "src": "2584:8:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "2219:8:1" + "src": "2584:8:2" }, { "arguments": [ { "argumentTypes": null, - "id": 325, + "id": 384, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 320, - "src": "2236:4:1", + "referencedDeclaration": 379, + "src": "2601:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 326, + "id": 385, "modifierName": { "argumentTypes": null, - "id": 324, + "id": 383, "name": "no_null", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "2228:7:1", + "referencedDeclaration": 200, + "src": "2593:7:2", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "2228:13:1" + "src": "2593:13:2" } ], "name": "enableToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 321, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 320, + "id": 379, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 352, - "src": "2198:12:1", + "scope": 411, + "src": "2563:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3630,10 +4022,10 @@ "typeString": "address" }, "typeName": { - "id": 319, + "id": 378, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2198:7:1", + "src": "2563:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3643,102 +4035,102 @@ "visibility": "internal" } ], - "src": "2197:14:1" + "src": "2562:14:2" }, "payable": false, "returnParameters": { - "id": 327, + "id": 386, "nodeType": "ParameterList", "parameters": [], - "src": "2242:0:1" + "src": "2607:0:2" }, - "scope": 698, - "src": "2177:214:1", + "scope": 498, + "src": "2542:232:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 391, + "id": 454, "nodeType": "Block", - "src": "2537:212:1", + "src": "2936:240:2", "statements": [ { "assignments": [ - 370 + 431 ], "declarations": [ { "constant": false, - "id": 370, + "id": 431, "name": "token", "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2544:18:1", + "scope": 455, + "src": "2946:18:2", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token" }, "typeName": { "contractScope": null, - "id": 369, + "id": 430, "name": "Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "2544:5:1", + "referencedDeclaration": 127, + "src": "2946:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" } }, "value": null, "visibility": "internal" } ], - "id": 376, + "id": 437, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 371, + "id": 432, "name": "pubTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "2566:9:1", + "referencedDeclaration": 131, + "src": "2967:9:2", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" } }, - "id": 375, + "id": 436, "indexExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 372, + "id": 433, "name": "idMap", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 111, - "src": "2576:5:1", + "referencedDeclaration": 139, + "src": "2977:5:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 374, + "id": 435, "indexExpression": { "argumentTypes": null, - "id": 373, + "id": 434, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 354, - "src": "2582:4:1", + "referencedDeclaration": 413, + "src": "2983:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3749,7 +4141,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2576:11:1", + "src": "2977:11:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3760,14 +4152,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2566:22:1", + "src": "2967:22:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", + "typeIdentifier": "t_struct$_Token_$127_storage", "typeString": "struct PublicTokens.Token storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "2544:44:1" + "src": "2946:43:2" }, { "expression": { @@ -3777,26 +4169,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 377, + "id": 438, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 370, - "src": "2616:5:1", + "referencedDeclaration": 431, + "src": "3017:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", "typeString": "struct PublicTokens.Token memory" } }, - "id": 378, + "id": 439, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 86, - "src": "2616:10:1", + "referencedDeclaration": 112, + "src": "3017:10:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -3806,26 +4198,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 379, + "id": 440, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 370, - "src": "2637:5:1", + "referencedDeclaration": 431, + "src": "3038:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", "typeString": "struct PublicTokens.Token memory" } }, - "id": 380, + "id": 441, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "symbol", "nodeType": "MemberAccess", - "referencedDeclaration": 88, - "src": "2637:12:1", + "referencedDeclaration": 114, + "src": "3038:12:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -3835,26 +4227,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 381, + "id": 442, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 370, - "src": "2660:5:1", + "referencedDeclaration": 431, + "src": "3061:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", "typeString": "struct PublicTokens.Token memory" } }, - "id": 382, + "id": 443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "addr", "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "2660:10:1", + "referencedDeclaration": 116, + "src": "3061:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3864,26 +4256,55 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 383, + "id": 444, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 431, + "src": "3085:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 445, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "erc", + "nodeType": "MemberAccess", + "referencedDeclaration": 118, + "src": "3085:9:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 446, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 370, - "src": "2681:5:1", + "referencedDeclaration": 431, + "src": "3105:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", "typeString": "struct PublicTokens.Token memory" } }, - "id": 384, + "id": 447, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "decimals", "nodeType": "MemberAccess", - "referencedDeclaration": 92, - "src": "2681:14:1", + "referencedDeclaration": 120, + "src": "3105:14:2", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -3893,26 +4314,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 385, + "id": 448, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 370, - "src": "2706:5:1", + "referencedDeclaration": 431, + "src": "3130:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", "typeString": "struct PublicTokens.Token memory" } }, - "id": 386, + "id": 449, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "website", "nodeType": "MemberAccess", - "referencedDeclaration": 94, - "src": "2706:13:1", + "referencedDeclaration": 122, + "src": "3130:13:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3922,53 +4343,54 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 387, + "id": 450, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 370, - "src": "2730:5:1", + "referencedDeclaration": 431, + "src": "3157:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", "typeString": "struct PublicTokens.Token memory" } }, - "id": 388, + "id": 451, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "email", "nodeType": "MemberAccess", - "referencedDeclaration": 96, - "src": "2730:11:1", + "referencedDeclaration": 124, + "src": "3157:11:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 389, + "id": 452, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2605:137:1", + "src": "3006:163:2", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint8_$_t_bytes32_$_t_bytes32_$", - "typeString": "tuple(bytes16,bytes16,address,uint8,bytes32,bytes32)" + "typeIdentifier": "t_tuple$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint32_$_t_uint8_$_t_bytes32_$_t_bytes32_$", + "typeString": "tuple(bytes16,bytes16,address,uint32,uint8,bytes32,bytes32)" } }, - "functionReturnParameters": 368, - "id": 390, + "functionReturnParameters": 429, + "id": 453, "nodeType": "Return", - "src": "2598:144:1" + "src": "2999:170:2" } ] }, - "id": 392, + "documentation": null, + "id": 455, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3976,16 +4398,16 @@ "name": "getToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 355, + "id": 414, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 354, + "id": 413, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2414:12:1", + "scope": 455, + "src": "2797:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3993,10 +4415,10 @@ "typeString": "address" }, "typeName": { - "id": 353, + "id": 412, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2414:7:1", + "src": "2797:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4006,20 +4428,20 @@ "visibility": "internal" } ], - "src": "2413:14:1" + "src": "2796:14:2" }, "payable": false, "returnParameters": { - "id": 368, + "id": 429, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 357, + "id": 416, "name": "", "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2455:7:1", + "scope": 455, + "src": "2838:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4027,10 +4449,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 356, + "id": 415, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "2455:7:1", + "src": "2838:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -4041,11 +4463,11 @@ }, { "constant": false, - "id": 359, + "id": 418, "name": "", "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2470:7:1", + "scope": 455, + "src": "2853:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4053,10 +4475,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 358, + "id": 417, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "2470:7:1", + "src": "2853:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -4067,11 +4489,11 @@ }, { "constant": false, - "id": 361, + "id": 420, "name": "", "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2485:7:1", + "scope": 455, + "src": "2868:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4079,10 +4501,10 @@ "typeString": "address" }, "typeName": { - "id": 360, + "id": 419, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2485:7:1", + "src": "2868:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4093,25 +4515,25 @@ }, { "constant": false, - "id": 363, + "id": 422, "name": "", "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2500:5:1", + "scope": 455, + "src": "2886:6:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" + "typeIdentifier": "t_uint32", + "typeString": "uint32" }, "typeName": { - "id": 362, - "name": "uint8", + "id": 421, + "name": "uint32", "nodeType": "ElementaryTypeName", - "src": "2500:5:1", + "src": "2886:6:2", "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" + "typeIdentifier": "t_uint32", + "typeString": "uint32" } }, "value": null, @@ -4119,11 +4541,37 @@ }, { "constant": false, - "id": 365, + "id": 424, "name": "", "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2513:7:1", + "scope": 455, + "src": "2899:5:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + "typeName": { + "id": 423, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "2899:5:2", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 426, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 455, + "src": "2912:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4131,10 +4579,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 364, + "id": 425, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2513:7:1", + "src": "2912:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4145,11 +4593,11 @@ }, { "constant": false, - "id": 367, + "id": 428, "name": "", "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2528:7:1", + "scope": 455, + "src": "2927:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4157,10 +4605,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 366, + "id": 427, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2927:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4170,79 +4618,79 @@ "visibility": "internal" } ], - "src": "2448:88:1" + "src": "2831:104:2" }, - "scope": 698, - "src": "2396:353:1", + "scope": 498, + "src": "2779:397:2", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 429, + "id": 496, "nodeType": "Block", - "src": "2894:203:1", + "src": "3337:231:2", "statements": [ { "assignments": [ - 410 + 475 ], "declarations": [ { "constant": false, - "id": 410, + "id": 475, "name": "token", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2901:18:1", + "scope": 497, + "src": "3347:18:2", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token" }, "typeName": { "contractScope": null, - "id": 409, + "id": 474, "name": "Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "2901:5:1", + "referencedDeclaration": 127, + "src": "3347:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" } }, "value": null, "visibility": "internal" } ], - "id": 414, + "id": 479, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 411, + "id": 476, "name": "pubTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "2923:9:1", + "referencedDeclaration": 131, + "src": "3368:9:2", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" } }, - "id": 413, + "id": 478, "indexExpression": { "argumentTypes": null, - "id": 412, + "id": 477, "name": "id", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 394, - "src": "2933:2:1", + "referencedDeclaration": 457, + "src": "3378:2:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4253,14 +4701,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2923:13:1", + "src": "3368:13:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", + "typeIdentifier": "t_struct$_Token_$127_storage", "typeString": "struct PublicTokens.Token storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "2901:35:1" + "src": "3347:34:2" }, { "expression": { @@ -4270,26 +4718,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 415, + "id": 480, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "2964:5:1", + "referencedDeclaration": 475, + "src": "3409:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", "typeString": "struct PublicTokens.Token memory" } }, - "id": 416, + "id": 481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 86, - "src": "2964:10:1", + "referencedDeclaration": 112, + "src": "3409:10:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -4299,26 +4747,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 417, + "id": 482, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "2985:5:1", + "referencedDeclaration": 475, + "src": "3430:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", "typeString": "struct PublicTokens.Token memory" } }, - "id": 418, + "id": 483, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "symbol", "nodeType": "MemberAccess", - "referencedDeclaration": 88, - "src": "2985:12:1", + "referencedDeclaration": 114, + "src": "3430:12:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -4328,26 +4776,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 419, + "id": 484, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "3008:5:1", + "referencedDeclaration": 475, + "src": "3453:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", "typeString": "struct PublicTokens.Token memory" } }, - "id": 420, + "id": 485, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "addr", "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "3008:10:1", + "referencedDeclaration": 116, + "src": "3453:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4357,26 +4805,55 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 421, + "id": 486, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 475, + "src": "3477:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 487, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "erc", + "nodeType": "MemberAccess", + "referencedDeclaration": 118, + "src": "3477:9:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 488, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "3029:5:1", + "referencedDeclaration": 475, + "src": "3497:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", "typeString": "struct PublicTokens.Token memory" } }, - "id": 422, + "id": 489, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "decimals", "nodeType": "MemberAccess", - "referencedDeclaration": 92, - "src": "3029:14:1", + "referencedDeclaration": 120, + "src": "3497:14:2", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -4386,26 +4863,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 423, + "id": 490, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "3054:5:1", + "referencedDeclaration": 475, + "src": "3522:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", "typeString": "struct PublicTokens.Token memory" } }, - "id": 424, + "id": 491, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "website", "nodeType": "MemberAccess", - "referencedDeclaration": 94, - "src": "3054:13:1", + "referencedDeclaration": 122, + "src": "3522:13:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4415,53 +4892,54 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 425, + "id": 492, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "3078:5:1", + "referencedDeclaration": 475, + "src": "3549:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", "typeString": "struct PublicTokens.Token memory" } }, - "id": 426, + "id": 493, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "email", "nodeType": "MemberAccess", - "referencedDeclaration": 96, - "src": "3078:11:1", + "referencedDeclaration": 124, + "src": "3549:11:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 427, + "id": 494, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2953:137:1", + "src": "3398:163:2", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint8_$_t_bytes32_$_t_bytes32_$", - "typeString": "tuple(bytes16,bytes16,address,uint8,bytes32,bytes32)" + "typeIdentifier": "t_tuple$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint32_$_t_uint8_$_t_bytes32_$_t_bytes32_$", + "typeString": "tuple(bytes16,bytes16,address,uint32,uint8,bytes32,bytes32)" } }, - "functionReturnParameters": 408, - "id": 428, + "functionReturnParameters": 473, + "id": 495, "nodeType": "Return", - "src": "2946:144:1" + "src": "3391:170:2" } ] }, - "id": 430, + "documentation": null, + "id": 497, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4469,16 +4947,16 @@ "name": "getTokenById", "nodeType": "FunctionDefinition", "parameters": { - "id": 395, + "id": 458, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 394, + "id": 457, "name": "id", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2776:7:1", + "scope": 497, + "src": "3203:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4486,10 +4964,10 @@ "typeString": "uint256" }, "typeName": { - "id": 393, + "id": 456, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2776:4:1", + "src": "3203:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4499,20 +4977,20 @@ "visibility": "internal" } ], - "src": "2775:9:1" + "src": "3202:9:2" }, "payable": false, "returnParameters": { - "id": 408, + "id": 473, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 397, + "id": 460, "name": "", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2812:7:1", + "scope": 497, + "src": "3239:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4520,10 +4998,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 396, + "id": 459, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "2812:7:1", + "src": "3239:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -4534,11 +5012,11 @@ }, { "constant": false, - "id": 399, + "id": 462, "name": "", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2827:7:1", + "scope": 497, + "src": "3254:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4546,10 +5024,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 398, + "id": 461, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "2827:7:1", + "src": "3254:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -4560,11 +5038,11 @@ }, { "constant": false, - "id": 401, + "id": 464, "name": "", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2842:7:1", + "scope": 497, + "src": "3269:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4572,10 +5050,10 @@ "typeString": "address" }, "typeName": { - "id": 400, + "id": 463, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2842:7:1", + "src": "3269:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4586,11 +5064,37 @@ }, { "constant": false, - "id": 403, + "id": 466, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 497, + "src": "3287:6:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 465, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "3287:6:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 468, "name": "", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2857:5:1", + "scope": 497, + "src": "3300:5:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4598,10 +5102,10 @@ "typeString": "uint8" }, "typeName": { - "id": 402, + "id": 467, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "2857:5:1", + "src": "3300:5:2", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -4612,11 +5116,11 @@ }, { "constant": false, - "id": 405, + "id": 470, "name": "", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2870:7:1", + "scope": 497, + "src": "3313:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4624,10 +5128,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 404, + "id": 469, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2870:7:1", + "src": "3313:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4638,11 +5142,11 @@ }, { "constant": false, - "id": 407, + "id": 472, "name": "", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2885:7:1", + "scope": 497, + "src": "3328:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4650,10 +5154,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 406, + "id": 471, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2885:7:1", + "src": "3328:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4663,5406 +5167,840 @@ "visibility": "internal" } ], - "src": "2805:88:1" + "src": "3232:104:2" }, - "scope": 698, - "src": "2754:343:1", + "scope": 498, + "src": "3181:387:2", "stateMutability": "view", "superFunction": null, "visibility": "public" + } + ], + "scope": 499, + "src": "25:3545:2" + } + ], + "src": "0:3570:2" + }, + "legacyAST": { + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/PublicTokens.sol", + "exportedSymbols": { + "PublicTokens": [ + 498 + ] + }, + "id": 499, + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 102, + "literals": [ + "solidity", + "^", + "0.4", + ".24" + ], + "nodeType": "PragmaDirective", + "src": "0:24:2" + }, + { + "baseContracts": [], + "contractDependencies": [], + "contractKind": "contract", + "documentation": null, + "fullyImplemented": true, + "id": 498, + "linearizedBaseContracts": [ + 498 + ], + "name": "PublicTokens", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": false, + "id": 105, + "name": "tokenCount", + "nodeType": "VariableDeclaration", + "scope": 498, + "src": "53:26:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 103, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "53:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "argumentTypes": null, + "hexValue": "30", + "id": 104, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "78:1:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "visibility": "public" }, { - "body": { - "id": 696, - "nodeType": "Block", - "src": "3218:1714:1", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 445, - "name": "count", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 440, - "src": "3228:5:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3237:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3228:10:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 452, - "nodeType": "IfStatement", - "src": "3225:33:1", - "trueBody": { - "expression": { - "argumentTypes": null, - "id": 450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 448, - "name": "count", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 440, - "src": "3240:5:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 449, - "name": "tokenCount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 79, - "src": "3248:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3240:18:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 451, - "nodeType": "ExpressionStatement", - "src": "3240:18:1" - } - }, - { - "assignments": [ - 454 - ], - "declarations": [ - { - "constant": false, - "id": 454, - "name": "bufferSize", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3268:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 453, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3268:4:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 456, - "initialValue": { - "argumentTypes": null, - "hexValue": "3333", - "id": 455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3286:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_33_by_1", - "typeString": "int_const 33" - }, - "value": "33" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3268:20:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 459, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 457, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3362:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "33", - "id": 458, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3376:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - }, - "src": "3362:15:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 460, - "nodeType": "ExpressionStatement", - "src": "3362:15:1" - }, - { - "assignments": [ - 462 - ], - "declarations": [ - { - "constant": false, - "id": 462, - "name": "validCounter", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3414:17:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 461, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3414:4:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 464, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 463, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3434:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3414:21:1" - }, - { - "body": { - "id": 510, - "nodeType": "Block", - "src": "3470:295:1", - "statements": [ - { - "assignments": [ - 476 - ], - "declarations": [ - { - "constant": false, - "id": 476, - "name": "token", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3478:18:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - }, - "typeName": { - "contractScope": null, - "id": 475, - "name": "Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "3478:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 480, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 477, - "name": "pubTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "3499:9:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" - } - }, - "id": 479, - "indexExpression": { - "argumentTypes": null, - "id": 478, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "3509:1:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3499:12:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", - "typeString": "struct PublicTokens.Token storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3478:33:1" - }, - { - "condition": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 481, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "3522:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 482, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "isValid", - "nodeType": "MemberAccess", - "referencedDeclaration": 98, - "src": "3522:13:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 509, - "nodeType": "IfStatement", - "src": "3519:239:1", - "trueBody": { - "id": 508, - "nodeType": "Block", - "src": "3536:222:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "3554:14:1", - "subExpression": { - "argumentTypes": null, - "id": 483, - "name": "validCounter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 462, - "src": "3554:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 485, - "nodeType": "ExpressionStatement", - "src": "3554:14:1" - }, - { - "condition": { - "argumentTypes": null, - "id": 486, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 434, - "src": "3580:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 491, - "nodeType": "IfStatement", - "src": "3577:23:1", - "trueBody": { - "expression": { - "argumentTypes": null, - "id": 489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 487, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3586:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3136", - "id": 488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3598:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "3586:14:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 490, - "nodeType": "ExpressionStatement", - "src": "3586:14:1" - } - }, - { - "condition": { - "argumentTypes": null, - "id": 492, - "name": "website", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 436, - "src": "3612:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 497, - "nodeType": "IfStatement", - "src": "3609:26:1", - "trueBody": { - "expression": { - "argumentTypes": null, - "id": 495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 493, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3621:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3332", - "id": 494, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3633:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "3621:14:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 496, - "nodeType": "ExpressionStatement", - "src": "3621:14:1" - } - }, - { - "condition": { - "argumentTypes": null, - "id": 498, - "name": "email", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 438, - "src": "3647:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 503, - "nodeType": "IfStatement", - "src": "3644:24:1", - "trueBody": { - "expression": { - "argumentTypes": null, - "id": 501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 499, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3654:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3332", - "id": 500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3666:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "3654:14:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 502, - "nodeType": "ExpressionStatement", - "src": "3654:14:1" - } - }, - { - "expression": { - "argumentTypes": null, - "id": 506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 504, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3677:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3736", - "id": 505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3690:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_76_by_1", - "typeString": "int_const 76" - }, - "value": "76" - }, - "src": "3677:15:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 507, - "nodeType": "ExpressionStatement", - "src": "3677:15:1" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 469, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "3456:1:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 470, - "name": "count", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 440, - "src": "3459:5:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3456:8:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 511, - "initializationExpression": { - "assignments": [ - 466 - ], - "declarations": [ - { - "constant": false, - "id": 466, - "name": "i", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3446:6:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 465, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3446:4:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 468, - "initialValue": { - "argumentTypes": null, - "hexValue": "31", - "id": 467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3453:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3446:8:1" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "3466:3:1", - "subExpression": { - "argumentTypes": null, - "id": 472, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "3466:1:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 474, - "nodeType": "ExpressionStatement", - "src": "3466:3:1" - }, - "nodeType": "ForStatement", - "src": "3442:323:1" - }, - { - "assignments": [ - 513 - ], - "declarations": [ - { - "constant": false, - "id": 513, - "name": "result", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3771:19:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - "typeName": { - "id": 512, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3771:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 518, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 516, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3803:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 515, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "3793:9:1", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 514, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3797:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" - } - } - }, - "id": 517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3793:21:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3771:43:1" - }, - { - "assignments": [ - 520 - ], - "declarations": [ - { - "constant": false, - "id": 520, - "name": "offset", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3821:11:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 519, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3821:4:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 522, - "initialValue": { - "argumentTypes": null, - "id": 521, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3835:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3821:24:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 524, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "3884:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "74727565", - "id": 525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3892:4:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - { - "argumentTypes": null, - "id": 526, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "3898:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 523, - "name": "boolToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "3872:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bool,bytes memory) pure" - } - }, - "id": 527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3872:33:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 528, - "nodeType": "ExpressionStatement", - "src": "3872:33:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 529, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "3907:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3917:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3907:11:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 532, - "nodeType": "ExpressionStatement", - "src": "3907:11:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 534, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "3937:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 535, - "name": "validCounter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 462, - "src": "3945:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 536, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "3959:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 533, - "name": "uintToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "3925:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,uint256,bytes memory) pure" - } - }, - "id": 537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3925:41:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 538, - "nodeType": "ExpressionStatement", - "src": "3925:41:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 539, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "3968:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3332", - "id": 540, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3978:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "3968:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 542, - "nodeType": "ExpressionStatement", - "src": "3968:12:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 544, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "3999:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 545, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 434, - "src": "4007:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "id": 546, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4013:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 543, - "name": "boolToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "3987:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bool,bytes memory) pure" - } - }, - "id": 547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3987:33:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 548, - "nodeType": "ExpressionStatement", - "src": "3987:33:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 549, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4022:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 550, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4032:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "4022:11:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 552, - "nodeType": "ExpressionStatement", - "src": "4022:11:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 554, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4052:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 555, - "name": "website", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 436, - "src": "4060:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "id": 556, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4069:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 553, - "name": "boolToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "4040:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bool,bytes memory) pure" - } - }, - "id": 557, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4040:36:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 558, - "nodeType": "ExpressionStatement", - "src": "4040:36:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 559, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4078:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4088:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "4078:11:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 562, - "nodeType": "ExpressionStatement", - "src": "4078:11:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 564, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4108:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 565, - "name": "email", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 438, - "src": "4116:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "id": 566, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4123:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 563, - "name": "boolToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "4096:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bool,bytes memory) pure" - } - }, - "id": 567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4096:34:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 568, - "nodeType": "ExpressionStatement", - "src": "4096:34:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 569, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4132:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4142:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "4132:11:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 572, - "nodeType": "ExpressionStatement", - "src": "4132:11:1" - }, - { - "body": { - "id": 692, - "nodeType": "Block", - "src": "4173:733:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 583, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4181:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 584, - "name": "pubTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "4189:9:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" - } - }, - "id": 586, - "indexExpression": { - "argumentTypes": null, - "id": 585, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "4199:1:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4189:12:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", - "typeString": "struct PublicTokens.Token storage ref" - } - }, - "src": "4181:20:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 588, - "nodeType": "ExpressionStatement", - "src": "4181:20:1" - }, - { - "assignments": [ - 590 - ], - "declarations": [ - { - "constant": false, - "id": 590, - "name": "basicToken", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "4209:21:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DummyToken_$70", - "typeString": "contract DummyToken" - }, - "typeName": { - "contractScope": null, - "id": 589, - "name": "DummyToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 70, - "src": "4209:10:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DummyToken_$70", - "typeString": "contract DummyToken" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 595, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 592, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4244:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 593, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "4244:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 591, - "name": "DummyToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "4233:10:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_DummyToken_$70_$", - "typeString": "type(contract DummyToken)" - } - }, - "id": 594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4233:22:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DummyToken_$70", - "typeString": "contract DummyToken" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4209:46:1" - }, - { - "condition": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 596, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4266:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 597, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "isValid", - "nodeType": "MemberAccess", - "referencedDeclaration": 98, - "src": "4266:13:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 691, - "nodeType": "IfStatement", - "src": "4263:636:1", - "trueBody": { - "id": 690, - "nodeType": "Block", - "src": "4280:619:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 599, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4305:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 600, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4313:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 601, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "symbol", - "nodeType": "MemberAccess", - "referencedDeclaration": 88, - "src": "4313:12:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - { - "argumentTypes": null, - "id": 602, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4327:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 598, - "name": "bytes16ToBytesR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1598, - "src": "4289:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes16_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bytes16,bytes memory)" - } - }, - "id": 603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4289:45:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 604, - "nodeType": "ExpressionStatement", - "src": "4289:45:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 605, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4336:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3136", - "id": 606, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4346:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "4336:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 608, - "nodeType": "ExpressionStatement", - "src": "4336:12:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 610, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4372:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 611, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4380:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 612, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "4380:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 613, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4392:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 609, - "name": "addressToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1587, - "src": "4357:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,address,bytes memory) pure" - } - }, - "id": 614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4357:42:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 615, - "nodeType": "ExpressionStatement", - "src": "4357:42:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 616, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4401:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3230", - "id": 617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4411:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_20_by_1", - "typeString": "int_const 20" - }, - "value": "20" - }, - "src": "4401:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 619, - "nodeType": "ExpressionStatement", - "src": "4401:12:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 621, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4434:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 622, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4442:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 623, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "decimals", - "nodeType": "MemberAccess", - "referencedDeclaration": 92, - "src": "4442:14:1", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - { - "argumentTypes": null, - "id": 624, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4458:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 620, - "name": "uintToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "4422:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,uint256,bytes memory) pure" - } - }, - "id": 625, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4422:43:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 626, - "nodeType": "ExpressionStatement", - "src": "4422:43:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 627, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4467:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "38", - "id": 628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4477:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "4467:11:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 630, - "nodeType": "ExpressionStatement", - "src": "4467:11:1" - }, - { - "assignments": [ - 632 - ], - "declarations": [ - { - "constant": false, - "id": 632, - "name": "balance", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "4496:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 631, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4496:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 637, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 635, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 432, - "src": "4535:6:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 633, - "name": "basicToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 590, - "src": "4514:10:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DummyToken_$70", - "typeString": "contract DummyToken" - } - }, - "id": 634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balanceOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 59, - "src": "4514:20:1", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view external returns (uint256)" - } - }, - "id": 636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4514:28:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4496:46:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 639, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4563:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 640, - "name": "balance", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 632, - "src": "4571:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 641, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4580:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 638, - "name": "uintToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "4551:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,uint256,bytes memory) pure" - } - }, - "id": 642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4551:36:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 643, - "nodeType": "ExpressionStatement", - "src": "4551:36:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 644, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4589:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3332", - "id": 645, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4599:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "4589:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 647, - "nodeType": "ExpressionStatement", - "src": "4589:12:1" - }, - { - "condition": { - "argumentTypes": null, - "id": 648, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 434, - "src": "4613:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 661, - "nodeType": "IfStatement", - "src": "4610:85:1", - "trueBody": { - "id": 660, - "nodeType": "Block", - "src": "4618:77:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 650, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4644:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 651, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4652:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 652, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 86, - "src": "4652:10:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - { - "argumentTypes": null, - "id": 653, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4664:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 649, - "name": "bytes16ToBytesR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1598, - "src": "4628:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes16_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bytes16,bytes memory)" - } - }, - "id": 654, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4628:43:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 655, - "nodeType": "ExpressionStatement", - "src": "4628:43:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 656, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4673:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3136", - "id": 657, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4683:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "4673:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 659, - "nodeType": "ExpressionStatement", - "src": "4673:12:1" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "id": 662, - "name": "website", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 436, - "src": "4706:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 675, - "nodeType": "IfStatement", - "src": "4703:92:1", - "trueBody": { - "id": 674, - "nodeType": "Block", - "src": "4715:80:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 664, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4741:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 665, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4749:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 666, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "website", - "nodeType": "MemberAccess", - "referencedDeclaration": 94, - "src": "4749:13:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 667, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4764:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 663, - "name": "bytes32ToBytesR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1609, - "src": "4725:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bytes32,bytes memory)" - } - }, - "id": 668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4725:46:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 669, - "nodeType": "ExpressionStatement", - "src": "4725:46:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 672, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 670, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4773:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3332", - "id": 671, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4783:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "4773:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 673, - "nodeType": "ExpressionStatement", - "src": "4773:12:1" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "id": 676, - "name": "email", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 438, - "src": "4806:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 689, - "nodeType": "IfStatement", - "src": "4803:88:1", - "trueBody": { - "id": 688, - "nodeType": "Block", - "src": "4813:78:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 678, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4839:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 679, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4847:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 680, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "email", - "nodeType": "MemberAccess", - "referencedDeclaration": 96, - "src": "4847:11:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 681, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4860:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 677, - "name": "bytes32ToBytesR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1609, - "src": "4823:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bytes32,bytes memory)" - } - }, - "id": 682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4823:44:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 683, - "nodeType": "ExpressionStatement", - "src": "4823:44:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 684, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4869:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3332", - "id": 685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4879:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "4869:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 687, - "nodeType": "ExpressionStatement", - "src": "4869:12:1" - } - ] - } - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 579, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 577, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "4159:1:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 578, - "name": "count", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 440, - "src": "4162:5:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4159:8:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 693, - "initializationExpression": { - "expression": { - "argumentTypes": null, - "id": 575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 573, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "4154:1:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 574, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4156:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "4154:3:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 576, - "nodeType": "ExpressionStatement", - "src": "4154:3:1" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "4169:3:1", - "subExpression": { - "argumentTypes": null, - "id": 580, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "4169:1:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 582, - "nodeType": "ExpressionStatement", - "src": "4169:3:1" - }, - "nodeType": "ForStatement", - "src": "4150:756:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 694, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4919:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "functionReturnParameters": 444, - "id": 695, - "nodeType": "Return", - "src": "4912:13:1" - } - ] - }, - "id": 697, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": true, - "modifiers": [], - "name": "getAllBalance", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 441, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 432, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3125:14:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 431, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3125:7:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 434, - "name": "name", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3141:9:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 433, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3141:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 436, - "name": "website", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3152:12:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 435, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3152:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 438, - "name": "email", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3166:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 437, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3166:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 440, - "name": "count", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3178:10:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 439, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3178:4:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3124:65:1" - }, - "payable": false, - "returnParameters": { - "id": 444, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 443, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3211:5:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - "typeName": { - "id": 442, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3211:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3210:7:1" - }, - "scope": 698, - "src": "3102:1830:1", - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - } - ], - "scope": 699, - "src": "88:4846:1" - } - ], - "src": "0:4934:1" - }, - "legacyAST": { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/PublicTokens.sol", - "exportedSymbols": { - "PublicTokens": [ - 698 - ] - }, - "id": 699, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 72, - "literals": [ - "solidity", - "^", - "0.4", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:23:1" - }, - { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/Seriality.sol", - "file": "./Seriality/Seriality.sol", - "id": 73, - "nodeType": "ImportDirective", - "scope": 699, - "sourceUnit": 1495, - "src": "24:35:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/DummyToken.sol", - "file": "./DummyToken.sol", - "id": 74, - "nodeType": "ImportDirective", - "scope": 699, - "sourceUnit": 71, - "src": "60:26:1", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [ - { - "arguments": [], - "baseName": { - "contractScope": null, - "id": 75, - "name": "Seriality", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1494, - "src": "113:9:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Seriality_$1494", - "typeString": "contract Seriality" - } - }, - "id": 76, - "nodeType": "InheritanceSpecifier", - "src": "113:9:1" - } - ], - "contractDependencies": [ - 1478, - 1494, - 1570, - 1691 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 698, - "linearizedBaseContracts": [ - 698, - 1494, - 1570, - 1691, - 1478 - ], - "name": "PublicTokens", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "id": 79, - "name": "tokenCount", - "nodeType": "VariableDeclaration", - "scope": 698, - "src": "125:26:1", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 77, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "125:4:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30", - "id": 78, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "150:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "visibility": "public" - }, - { - "constant": false, - "id": 82, - "name": "tokenValidCount", - "nodeType": "VariableDeclaration", - "scope": 698, - "src": "188:31:1", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 80, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "188:4:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30", - "id": 81, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "218:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "visibility": "public" - }, - { - "constant": false, - "id": 84, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 698, - "src": "265:20:1", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 83, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "265:7:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "public" - }, - { - "canonicalName": "PublicTokens.Token", - "id": 99, - "members": [ - { - "constant": false, - "id": 86, - "name": "name", - "nodeType": "VariableDeclaration", - "scope": 99, - "src": "314:12:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 85, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "314:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 88, - "name": "symbol", - "nodeType": "VariableDeclaration", - "scope": 99, - "src": "357:14:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 87, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "357:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 90, - "name": "addr", - "nodeType": "VariableDeclaration", - "scope": 99, - "src": "405:12:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 89, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "405:7:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 92, - "name": "decimals", - "nodeType": "VariableDeclaration", - "scope": 99, - "src": "460:14:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 91, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "460:5:1", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 94, - "name": "website", - "nodeType": "VariableDeclaration", - "scope": 99, - "src": "509:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 93, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "509:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 96, - "name": "email", - "nodeType": "VariableDeclaration", - "scope": 99, - "src": "560:13:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 95, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "560:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 98, - "name": "isValid", - "nodeType": "VariableDeclaration", - "scope": 99, - "src": "613:12:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 97, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "613:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Token", - "nodeType": "StructDefinition", - "scope": 698, - "src": "291:377:1", - "visibility": "public" - }, - { - "constant": false, - "id": 103, - "name": "pubTokens", - "nodeType": "VariableDeclaration", - "scope": 698, - "src": "673:39:1", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" - }, - "typeName": { - "id": 102, - "keyType": { - "id": 100, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "681:4:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "673:22:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" - }, - "valueType": { - "contractScope": null, - "id": 101, - "name": "Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "689:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 107, - "name": "moderator", - "nodeType": "VariableDeclaration", - "scope": 698, - "src": "718:41:1", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "typeName": { - "id": 106, - "keyType": { - "id": 104, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "726:7:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "718:24:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 105, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "737:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 111, - "name": "idMap", - "nodeType": "VariableDeclaration", - "scope": 698, - "src": "765:37:1", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "typeName": { - "id": 110, - "keyType": { - "id": 108, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "773:7:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "765:24:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "valueType": { - "id": 109, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "784:4:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 121, - "nodeType": "Block", - "src": "830:56:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 114, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "848:5:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 115, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "857:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 116, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "857:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "848:19:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 113, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1706, - "src": "840:7:1", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "840:28:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 119, - "nodeType": "ExpressionStatement", - "src": "840:28:1" - }, - { - "id": 120, - "nodeType": "PlaceholderStatement", - "src": "878:1:1" - } - ] - }, - "id": 122, - "name": "owner_only", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 112, - "nodeType": "ParameterList", - "parameters": [], - "src": "827:2:1" - }, - "src": "808:78:1", - "visibility": "internal" - }, - { - "body": { - "id": 139, - "nodeType": "Block", - "src": "911:89:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 135, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 125, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "929:5:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 126, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "938:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "938:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "929:19:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 129, - "name": "moderator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 107, - "src": "952:9:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 132, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 130, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "962:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "962:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "952:21:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 133, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "977:4:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "952:29:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "929:52:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 124, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1706, - "src": "921:7:1", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "921:61:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 137, - "nodeType": "ExpressionStatement", - "src": "921:61:1" - }, - { - "id": 138, - "nodeType": "PlaceholderStatement", - "src": "992:1:1" - } - ] - }, - "id": 140, - "name": "only_mod", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 123, - "nodeType": "ParameterList", - "parameters": [], - "src": "908:2:1" - }, - "src": "891:109:1", - "visibility": "internal" - }, - { - "body": { - "id": 151, - "nodeType": "Block", - "src": "1036:48:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 145, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 142, - "src": "1054:4:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "307830", - "id": 146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1062:3:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "src": "1054:11:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 144, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1706, - "src": "1046:7:1", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 148, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1046:20:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 149, - "nodeType": "ExpressionStatement", - "src": "1046:20:1" - }, - { - "id": 150, - "nodeType": "PlaceholderStatement", - "src": "1076:1:1" - } - ] + "constant": false, + "id": 108, + "name": "tokenValidCount", + "nodeType": "VariableDeclaration", + "scope": 498, + "src": "119:31:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, - "id": 152, - "name": "no_null", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 143, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 142, - "name": "addr", - "nodeType": "VariableDeclaration", - "scope": 152, - "src": "1022:12:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 141, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1022:7:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1021:14:1" + "typeName": { + "id": 106, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "119:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } }, - "src": "1005:79:1", - "visibility": "internal" + "value": { + "argumentTypes": null, + "hexValue": "30", + "id": 107, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "149:1:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "visibility": "public" }, { - "body": { - "id": 160, - "nodeType": "Block", - "src": "1121:32:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 158, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 155, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1128:5:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 156, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1703, - "src": "1136:3:1", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 157, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1136:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "1128:18:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 159, - "nodeType": "ExpressionStatement", - "src": "1128:18:1" - } - ] - }, - "id": 161, - "implemented": true, - "isConstructor": true, - "isDeclaredConst": false, - "modifiers": [], - "name": "PublicTokens", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 153, - "nodeType": "ParameterList", - "parameters": [], - "src": "1111:2:1" + "constant": false, + "id": 110, + "name": "owner", + "nodeType": "VariableDeclaration", + "scope": 498, + "src": "199:20:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" }, - "payable": false, - "returnParameters": { - "id": 154, - "nodeType": "ParameterList", - "parameters": [], - "src": "1121:0:1" + "typeName": { + "id": 109, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "199:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } }, - "scope": 698, - "src": "1089:64:1", - "stateMutability": "nonpayable", - "superFunction": null, + "value": null, "visibility": "public" }, { - "body": { - "id": 174, - "nodeType": "Block", - "src": "1212:36:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 172, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 168, - "name": "moderator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 107, - "src": "1219:9:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 170, - "indexExpression": { - "argumentTypes": null, - "id": 169, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 163, - "src": "1229:4:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1219:15:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 171, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1237:4:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "1219:22:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 173, - "nodeType": "ExpressionStatement", - "src": "1219:22:1" - } - ] - }, - "id": 175, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": false, - "modifiers": [ + "canonicalName": "PublicTokens.Token", + "id": 127, + "members": [ + { + "constant": false, + "id": 112, + "name": "name", + "nodeType": "VariableDeclaration", + "scope": 127, + "src": "248:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 111, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "248:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "value": null, + "visibility": "internal" + }, { - "arguments": [], - "id": 166, - "modifierName": { - "argumentTypes": null, - "id": 165, - "name": "owner_only", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122, - "src": "1201:10:1", + "constant": false, + "id": 114, + "name": "symbol", + "nodeType": "VariableDeclaration", + "scope": 127, + "src": "291:14:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 113, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "291:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" } }, - "nodeType": "ModifierInvocation", - "src": "1201:10:1" - } - ], - "name": "addModerator", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 164, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 163, - "name": "addr", - "nodeType": "VariableDeclaration", - "scope": 175, - "src": "1180:12:1", - "stateVariable": false, - "storageLocation": "default", + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 116, + "name": "addr", + "nodeType": "VariableDeclaration", + "scope": 127, + "src": "339:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 115, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "339:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" - }, - "typeName": { - "id": 162, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1180:7:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1179:14:1" - }, - "payable": false, - "returnParameters": { - "id": 167, - "nodeType": "ParameterList", - "parameters": [], - "src": "1212:0:1" - }, - "scope": 698, - "src": "1158:90:1", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 188, - "nodeType": "Block", - "src": "1310:37:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 182, - "name": "moderator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 107, - "src": "1317:9:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 184, - "indexExpression": { - "argumentTypes": null, - "id": 183, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 177, - "src": "1327:4:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1317:15:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 185, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1335:5:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "1317:23:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 187, - "nodeType": "ExpressionStatement", - "src": "1317:23:1" - } - ] - }, - "id": 189, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": false, - "modifiers": [ + } + }, + "value": null, + "visibility": "internal" + }, { - "arguments": [], - "id": 180, - "modifierName": { - "argumentTypes": null, - "id": 179, - "name": "owner_only", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122, - "src": "1299:10:1", + "constant": false, + "id": 118, + "name": "erc", + "nodeType": "VariableDeclaration", + "scope": 127, + "src": "394:10:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 117, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "394:6:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 120, + "name": "decimals", + "nodeType": "VariableDeclaration", + "scope": 127, + "src": "448:14:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + "typeName": { + "id": 119, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "448:5:2", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 122, + "name": "website", + "nodeType": "VariableDeclaration", + "scope": 127, + "src": "497:15:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 121, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "497:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 124, + "name": "email", + "nodeType": "VariableDeclaration", + "scope": 127, + "src": "548:13:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 123, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "548:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 126, + "name": "isValid", + "nodeType": "VariableDeclaration", + "scope": 127, + "src": "601:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 125, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "601:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "nodeType": "ModifierInvocation", - "src": "1299:10:1" + "value": null, + "visibility": "internal" } ], - "name": "removeModerator", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 178, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 177, - "name": "addr", - "nodeType": "VariableDeclaration", - "scope": 189, - "src": "1278:12:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 176, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1278:7:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" + "name": "Token", + "nodeType": "StructDefinition", + "scope": 498, + "src": "225:431:2", + "visibility": "public" + }, + { + "constant": false, + "id": 131, + "name": "pubTokens", + "nodeType": "VariableDeclaration", + "scope": 498, + "src": "661:39:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", + "typeString": "mapping(uint256 => struct PublicTokens.Token)" + }, + "typeName": { + "id": 130, + "keyType": { + "id": 128, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "669:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } - ], - "src": "1277:14:1" + }, + "nodeType": "Mapping", + "src": "661:22:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", + "typeString": "mapping(uint256 => struct PublicTokens.Token)" + }, + "valueType": { + "contractScope": null, + "id": 129, + "name": "Token", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 127, + "src": "677:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" + } + } }, - "payable": false, - "returnParameters": { - "id": 181, - "nodeType": "ParameterList", - "parameters": [], - "src": "1310:0:1" + "value": null, + "visibility": "public" + }, + { + "constant": false, + "id": 135, + "name": "moderator", + "nodeType": "VariableDeclaration", + "scope": 498, + "src": "706:41:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" }, - "scope": 698, - "src": "1253:94:1", - "stateMutability": "nonpayable", - "superFunction": null, + "typeName": { + "id": 134, + "keyType": { + "id": 132, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "714:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "706:24:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "valueType": { + "id": 133, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "725:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "value": null, "visibility": "public" }, { - "body": { - "id": 283, - "nodeType": "Block", - "src": "1531:421:1", - "statements": [ - { - "assignments": [ - 210 - ], - "declarations": [ - { - "constant": false, - "id": 210, - "name": "token", - "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1538:19:1", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - }, - "typeName": { - "contractScope": null, - "id": 209, - "name": "Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "1538:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 216, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 211, - "name": "pubTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "1560:9:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" - } - }, - "id": 215, - "indexExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 212, - "name": "idMap", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 111, - "src": "1570:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 214, - "indexExpression": { - "argumentTypes": null, - "id": 213, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 195, - "src": "1576:4:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1570:11:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1560:22:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", - "typeString": "struct PublicTokens.Token storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1538:44:1" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 220, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 217, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1592:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "id": 218, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "1592:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "307830", - "id": 219, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1606:3:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0x0" - }, - "src": "1592:17:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 246, - "nodeType": "IfStatement", - "src": "1589:175:1", - "trueBody": { - "id": 245, - "nodeType": "Block", - "src": "1611:153:1", - "statements": [ + "constant": false, + "id": 139, + "name": "idMap", + "nodeType": "VariableDeclaration", + "scope": 498, + "src": "753:37:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + }, + "typeName": { + "id": 138, + "keyType": { + "id": 136, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "761:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "753:24:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + }, + "valueType": { + "id": 137, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "772:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + }, + "value": null, + "visibility": "public" + }, + { + "body": { + "id": 150, + "nodeType": "Block", + "src": "818:70:2", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ { - "expression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 145, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { "argumentTypes": null, - "id": 222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "1619:12:1", - "subExpression": { - "argumentTypes": null, - "id": 221, - "name": "tokenCount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 79, - "src": "1619:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, + "id": 142, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 110, + "src": "836:5:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 223, - "nodeType": "ExpressionStatement", - "src": "1619:12:1" - }, - { - "expression": { + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { "argumentTypes": null, - "id": 225, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "1642:17:1", - "subExpression": { + "expression": { "argumentTypes": null, - "id": 224, - "name": "tokenValidCount", + "id": 143, + "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 82, - "src": "1642:15:1", + "referencedDeclaration": 1937, + "src": "845:3:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_magic_message", + "typeString": "msg" } }, + "id": 144, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "845:10:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 226, - "nodeType": "ExpressionStatement", - "src": "1642:17:1" + "src": "836:19:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } }, { - "expression": { + "argumentTypes": null, + "hexValue": "6f6e6c79206f776e6572", + "id": 146, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "857:12:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ae2932905fc5bb055d2e7b29311075afd0dbf688106cf649cb515d342f4c7367", + "typeString": "literal_string \"only owner\"" + }, + "value": "only owner" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ae2932905fc5bb055d2e7b29311075afd0dbf688106cf649cb515d342f4c7367", + "typeString": "literal_string \"only owner\"" + } + ], + "id": 141, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1940, + 1941 + ], + "referencedDeclaration": 1941, + "src": "828:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "828:42:2", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 148, + "nodeType": "ExpressionStatement", + "src": "828:42:2" + }, + { + "id": 149, + "nodeType": "PlaceholderStatement", + "src": "880:1:2" + } + ] + }, + "documentation": null, + "id": 151, + "name": "owner_only", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 140, + "nodeType": "ParameterList", + "parameters": [], + "src": "815:2:2" + }, + "src": "796:92:2", + "visibility": "internal" + }, + { + "body": { + "id": 169, + "nodeType": "Block", + "src": "913:107:2", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 164, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { "argumentTypes": null, - "id": 231, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 157, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "leftHandSide": { + "leftExpression": { "argumentTypes": null, - "id": 227, - "name": "token", + "id": 154, + "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1667:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 228, - "name": "pubTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "1675:9:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" - } - }, - "id": 230, - "indexExpression": { - "argumentTypes": null, - "id": 229, - "name": "tokenCount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 79, - "src": "1685:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1675:21:1", + "referencedDeclaration": 110, + "src": "931:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", - "typeString": "struct PublicTokens.Token storage ref" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "src": "1667:29:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "id": 232, - "nodeType": "ExpressionStatement", - "src": "1667:29:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 237, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 233, - "name": "idMap", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 111, - "src": "1704:5:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 235, - "indexExpression": { + "expression": { "argumentTypes": null, - "id": 234, - "name": "addr", + "id": 155, + "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 195, - "src": "1710:4:1", + "referencedDeclaration": 1937, + "src": "940:3:2", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_magic_message", + "typeString": "msg" } }, + "id": 156, "isConstant": false, - "isLValue": true, + "isLValue": false, "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1704:11:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 236, - "name": "tokenCount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 79, - "src": "1718:10:1", + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "940:10:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "src": "1704:24:1", + "src": "931:19:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 238, - "nodeType": "ExpressionStatement", - "src": "1704:24:1" - }, - { - "expression": { + "nodeType": "BinaryOperation", + "operator": "||", + "rightExpression": { "argumentTypes": null, - "id": 243, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 163, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "leftHandSide": { + "leftExpression": { "argumentTypes": null, - "expression": { + "baseExpression": { "argumentTypes": null, - "id": 239, - "name": "token", + "id": 158, + "name": "moderator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1736:5:1", + "referencedDeclaration": 135, + "src": "954:9:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 161, + "indexExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 159, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1937, + "src": "964:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 160, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "964:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 241, "isConstant": false, "isLValue": true, "isPure": false, - "lValueRequested": true, - "memberName": "isValid", - "nodeType": "MemberAccess", - "referencedDeclaration": 98, - "src": "1736:13:1", + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "954:21:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 242, + "id": 162, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1752:4:1", + "src": "979:4:2", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10070,516 +6008,305 @@ }, "value": "true" }, - "src": "1736:20:1", + "src": "954:29:2", "typeDescriptions": { "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 244, - "nodeType": "ExpressionStatement", - "src": "1736:20:1" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 251, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 247, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1773:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "id": 249, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 86, - "src": "1773:10:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 250, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 191, - "src": "1786:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "src": "1773:17:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "id": 252, - "nodeType": "ExpressionStatement", - "src": "1773:17:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 253, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1800:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "id": 255, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "symbol", - "nodeType": "MemberAccess", - "referencedDeclaration": 88, - "src": "1800:12:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 256, - "name": "symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 193, - "src": "1815:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "src": "1800:21:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "id": 258, - "nodeType": "ExpressionStatement", - "src": "1800:21:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 259, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1831:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "id": 261, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "1831:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 262, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 195, - "src": "1844:4:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "1831:17:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 264, - "nodeType": "ExpressionStatement", - "src": "1831:17:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 269, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 265, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1858:5:1", + "typeString": "bool" + } + }, + "src": "931:52:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 267, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "decimals", - "nodeType": "MemberAccess", - "referencedDeclaration": 92, - "src": "1858:14:1", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" + { + "argumentTypes": null, + "hexValue": "6f6e6c79206d6f64657265746f72", + "id": 165, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "985:16:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d98498961cd2e79cfd28c05b483ae7b33e4e8ec9cdd62529be1091cec63bf231", + "typeString": "literal_string \"only moderetor\"" + }, + "value": "only moderetor" } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 268, - "name": "decimals", + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_d98498961cd2e79cfd28c05b483ae7b33e4e8ec9cdd62529be1091cec63bf231", + "typeString": "literal_string \"only moderetor\"" + } + ], + "id": 153, + "name": "require", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 197, - "src": "1875:8:1", + "overloadedDeclarations": [ + 1940, + 1941 + ], + "referencedDeclaration": 1941, + "src": "923:7:2", "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "src": "1858:25:1", + "id": 166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "923:79:2", "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 270, + "id": 167, "nodeType": "ExpressionStatement", - "src": "1858:25:1" + "src": "923:79:2" }, { - "expression": { - "argumentTypes": null, - "id": 275, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 271, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1893:5:1", + "id": 168, + "nodeType": "PlaceholderStatement", + "src": "1012:1:2" + } + ] + }, + "documentation": null, + "id": 170, + "name": "only_mod", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 152, + "nodeType": "ParameterList", + "parameters": [], + "src": "910:2:2" + }, + "src": "893:127:2", + "visibility": "internal" + }, + { + "body": { + "id": 186, + "nodeType": "Block", + "src": "1062:151:2", + "statements": [ + { + "assignments": [], + "declarations": [ + { + "constant": false, + "id": 175, + "name": "size", + "nodeType": "VariableDeclaration", + "scope": 187, + "src": "1072:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 174, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "1072:6:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_uint32", + "typeString": "uint32" } }, - "id": 273, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "website", - "nodeType": "MemberAccess", - "referencedDeclaration": 94, - "src": "1893:13:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "value": null, + "visibility": "internal" + } + ], + "id": 176, + "initialValue": null, + "nodeType": "VariableDeclarationStatement", + "src": "1072:11:2" + }, + { + "externalReferences": [ + { + "addr": { + "declaration": 172, + "isOffset": false, + "isSlot": false, + "src": "1136:4:2", + "valueSize": 1 } }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 274, - "name": "website", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 199, - "src": "1909:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + { + "size": { + "declaration": 175, + "isOffset": false, + "isSlot": false, + "src": "1116:4:2", + "valueSize": 1 } - }, - "src": "1893:23:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" } - }, - "id": 276, - "nodeType": "ExpressionStatement", - "src": "1893:23:1" + ], + "id": 177, + "nodeType": "InlineAssembly", + "operations": "{\n size := extcodesize(addr)\n}", + "src": "1093:74:2" }, { "expression": { "argumentTypes": null, - "id": 281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { + "arguments": [ + { "argumentTypes": null, - "id": 277, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 210, - "src": "1926:5:1", + "commonType": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "id": 181, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 179, + "name": "size", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 175, + "src": "1168:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 180, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1175:1:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1168:8:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 279, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "email", - "nodeType": "MemberAccess", - "referencedDeclaration": 96, - "src": "1926:11:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 280, - "name": "email", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 201, - "src": "1940:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + { + "argumentTypes": null, + "hexValue": "4e6f74206120636f6e7472616374", + "id": 182, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1178:16:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a7125e02b15b9624893e22fc887adf7b442cd1c1f4fc92da8a28be0486c1faa3", + "typeString": "literal_string \"Not a contract\"" + }, + "value": "Not a contract" } - }, - "src": "1926:19:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "id": 282, - "nodeType": "ExpressionStatement", - "src": "1926:19:1" - } - ] - }, - "id": 284, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": false, - "modifiers": [ - { - "arguments": [], - "id": 204, - "modifierName": { - "argumentTypes": null, - "id": 203, - "name": "only_mod", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 140, - "src": "1508:8:1", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1508:8:1" - }, - { - "arguments": [ - { - "argumentTypes": null, - "id": 206, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 195, - "src": "1525:4:1", + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_a7125e02b15b9624893e22fc887adf7b442cd1c1f4fc92da8a28be0486c1faa3", + "typeString": "literal_string \"Not a contract\"" + } + ], + "id": 178, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1940, + 1941 + ], + "referencedDeclaration": 1941, + "src": "1160:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 183, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1160:35:2", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } - } - ], - "id": 207, - "modifierName": { - "argumentTypes": null, - "id": 205, - "name": "no_null", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "1517:7:1", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_address_$", - "typeString": "modifier (address)" - } + }, + "id": 184, + "nodeType": "ExpressionStatement", + "src": "1160:35:2" }, - "nodeType": "ModifierInvocation", - "src": "1517:13:1" - } - ], - "name": "addSetToken", - "nodeType": "FunctionDefinition", + { + "id": 185, + "nodeType": "PlaceholderStatement", + "src": "1205:1:2" + } + ] + }, + "documentation": null, + "id": 187, + "name": "only_contract", + "nodeType": "ModifierDefinition", "parameters": { - "id": 202, + "id": 173, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 191, - "name": "name", - "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1379:12:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 190, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "1379:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 193, - "name": "symbol", - "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1399:14:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 192, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "1399:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 195, + "id": 172, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1421:12:1", + "scope": 187, + "src": "1048:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10587,10 +6314,10 @@ "typeString": "address" }, "typeName": { - "id": 194, + "id": 171, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1421:7:1", + "src": "1048:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10598,182 +6325,317 @@ }, "value": null, "visibility": "internal" - }, + } + ], + "src": "1047:14:2" + }, + "src": "1025:188:2", + "visibility": "internal" + }, + { + "body": { + "id": 199, + "nodeType": "Block", + "src": "1249:67:2", + "statements": [ { - "constant": false, - "id": 197, - "name": "decimals", - "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1441:14:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 194, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 192, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 189, + "src": "1267:4:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "hexValue": "307830", + "id": 193, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1275:3:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x0" + }, + "src": "1267:11:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "696e76616c69642061646472657373", + "id": 195, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1280:17:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_74932fd68ec16402237b05adf133daec827d0040b277e283234f2f607c023225", + "typeString": "literal_string \"invalid address\"" + }, + "value": "invalid address" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_74932fd68ec16402237b05adf133daec827d0040b277e283234f2f607c023225", + "typeString": "literal_string \"invalid address\"" + } + ], + "id": 191, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1940, + 1941 + ], + "referencedDeclaration": 1941, + "src": "1259:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, "id": 196, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1441:5:1", + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1259:39:2", "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "value": null, - "visibility": "internal" + "id": 197, + "nodeType": "ExpressionStatement", + "src": "1259:39:2" }, + { + "id": 198, + "nodeType": "PlaceholderStatement", + "src": "1308:1:2" + } + ] + }, + "documentation": null, + "id": 200, + "name": "no_null", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 190, + "nodeType": "ParameterList", + "parameters": [ { "constant": false, - "id": 199, - "name": "website", + "id": 189, + "name": "addr", "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1463:15:1", + "scope": 200, + "src": "1235:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "id": 198, - "name": "bytes32", + "id": 188, + "name": "address", "nodeType": "ElementaryTypeName", - "src": "1463:7:1", + "src": "1235:7:2", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_address", + "typeString": "address" } }, "value": null, "visibility": "internal" - }, + } + ], + "src": "1234:14:2" + }, + "src": "1218:98:2", + "visibility": "internal" + }, + { + "body": { + "id": 208, + "nodeType": "Block", + "src": "1343:35:2", + "statements": [ { - "constant": false, - "id": 201, - "name": "email", - "nodeType": "VariableDeclaration", - "scope": 284, - "src": "1486:13:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 200, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "1486:7:1", + "expression": { + "argumentTypes": null, + "id": 206, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 203, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 110, + "src": "1353:5:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 204, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1937, + "src": "1361:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 205, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1361:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1353:18:2", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "value": null, - "visibility": "internal" + "id": 207, + "nodeType": "ExpressionStatement", + "src": "1353:18:2" } - ], - "src": "1372:128:1" + ] + }, + "documentation": null, + "id": 209, + "implemented": true, + "isConstructor": true, + "isDeclaredConst": false, + "modifiers": [], + "name": "", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 201, + "nodeType": "ParameterList", + "parameters": [], + "src": "1333:2:2" }, "payable": false, "returnParameters": { - "id": 208, + "id": 202, "nodeType": "ParameterList", "parameters": [], - "src": "1531:0:1" + "src": "1343:0:2" }, - "scope": 698, - "src": "1352:600:1", + "scope": 498, + "src": "1321:57:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 317, + "id": 222, "nodeType": "Block", - "src": "2023:149:1", + "src": "1437:39:2", "statements": [ { - "assignments": [ - 295 - ], - "declarations": [ - { - "constant": false, - "id": 295, - "name": "token", - "nodeType": "VariableDeclaration", - "scope": 318, - "src": "2030:19:1", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - }, - "typeName": { - "contractScope": null, - "id": 294, - "name": "Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "2030:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 301, - "initialValue": { + "expression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 296, - "name": "pubTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "2052:9:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" - } - }, - "id": 300, - "indexExpression": { + "id": 220, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 297, - "name": "idMap", + "id": 216, + "name": "moderator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 111, - "src": "2062:5:1", + "referencedDeclaration": 135, + "src": "1447:9:2", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" } }, - "id": 299, + "id": 218, "indexExpression": { "argumentTypes": null, - "id": 298, + "id": 217, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 286, - "src": "2068:4:1", + "referencedDeclaration": 211, + "src": "1457:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10782,276 +6644,85 @@ "isConstant": false, "isLValue": true, "isPure": false, - "lValueRequested": false, + "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2062:11:1", + "src": "1447:15:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2052:22:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", - "typeString": "struct PublicTokens.Token storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2030:44:1" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 305, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 302, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "2084:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "id": 303, + "hexValue": "74727565", + "id": 219, "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "2084:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 304, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 286, - "src": "2098:4:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2084:18:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 316, - "nodeType": "IfStatement", - "src": "2081:85:1", - "trueBody": { - "id": 315, - "nodeType": "Block", - "src": "2104:62:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 306, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "2112:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "id": 308, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "isValid", - "nodeType": "MemberAccess", - "referencedDeclaration": 98, - "src": "2112:13:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 309, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2128:5:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "2112:21:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 311, - "nodeType": "ExpressionStatement", - "src": "2112:21:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 313, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "2141:17:1", - "subExpression": { - "argumentTypes": null, - "id": 312, - "name": "tokenValidCount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 82, - "src": "2141:15:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 314, - "nodeType": "ExpressionStatement", - "src": "2141:17:1" - } - ] - } + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1465:4:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "1447:22:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 221, + "nodeType": "ExpressionStatement", + "src": "1447:22:2" } ] }, - "id": 318, + "documentation": null, + "id": 223, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { - "arguments": [], - "id": 289, + "arguments": null, + "id": 214, "modifierName": { "argumentTypes": null, - "id": 288, - "name": "only_mod", + "id": 213, + "name": "owner_only", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 140, - "src": "2000:8:1", + "referencedDeclaration": 151, + "src": "1426:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "2000:8:1" - }, - { - "arguments": [ - { - "argumentTypes": null, - "id": 291, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 286, - "src": "2017:4:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "id": 292, - "modifierName": { - "argumentTypes": null, - "id": 290, - "name": "no_null", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "2009:7:1", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_address_$", - "typeString": "modifier (address)" - } - }, - "nodeType": "ModifierInvocation", - "src": "2009:13:1" + "src": "1426:10:2" } ], - "name": "disableToken", + "name": "addModerator", "nodeType": "FunctionDefinition", "parameters": { - "id": 287, + "id": 212, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 286, + "id": 211, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 318, - "src": "1979:12:1", + "scope": 223, + "src": "1405:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11059,10 +6730,10 @@ "typeString": "address" }, "typeName": { - "id": 285, + "id": 210, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1979:7:1", + "src": "1405:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11072,102 +6743,59 @@ "visibility": "internal" } ], - "src": "1978:14:1" + "src": "1404:14:2" }, "payable": false, "returnParameters": { - "id": 293, + "id": 215, "nodeType": "ParameterList", "parameters": [], - "src": "2023:0:1" + "src": "1437:0:2" }, - "scope": 698, - "src": "1957:215:1", + "scope": 498, + "src": "1383:93:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 351, + "id": 236, "nodeType": "Block", - "src": "2242:149:1", + "src": "1538:40:2", "statements": [ { - "assignments": [ - 329 - ], - "declarations": [ - { - "constant": false, - "id": 329, - "name": "token", - "nodeType": "VariableDeclaration", - "scope": 352, - "src": "2249:19:1", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - }, - "typeName": { - "contractScope": null, - "id": 328, - "name": "Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "2249:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 335, - "initialValue": { + "expression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 330, - "name": "pubTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "2271:9:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" - } - }, - "id": 334, - "indexExpression": { + "id": 234, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 331, - "name": "idMap", + "id": 230, + "name": "moderator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 111, - "src": "2281:5:1", + "referencedDeclaration": 135, + "src": "1548:9:2", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" } }, - "id": 333, + "id": 232, "indexExpression": { "argumentTypes": null, - "id": 332, + "id": 231, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 320, - "src": "2287:4:1", + "referencedDeclaration": 225, + "src": "1558:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11176,276 +6804,85 @@ "isConstant": false, "isLValue": true, "isPure": false, - "lValueRequested": false, + "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2281:11:1", + "src": "1548:15:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2271:22:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", - "typeString": "struct PublicTokens.Token storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2249:44:1" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 339, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 336, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 329, - "src": "2303:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "id": 337, + "hexValue": "66616c7365", + "id": 233, "isConstant": false, - "isLValue": true, - "isPure": false, + "isLValue": false, + "isPure": true, + "kind": "bool", "lValueRequested": false, - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "2303:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 338, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 320, - "src": "2317:4:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2303:18:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 350, - "nodeType": "IfStatement", - "src": "2300:85:1", - "trueBody": { - "id": 349, - "nodeType": "Block", - "src": "2323:62:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 344, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 340, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 329, - "src": "2331:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "id": 342, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "isValid", - "nodeType": "MemberAccess", - "referencedDeclaration": 98, - "src": "2331:13:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2347:5:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "2331:21:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 345, - "nodeType": "ExpressionStatement", - "src": "2331:21:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "2360:17:1", - "subExpression": { - "argumentTypes": null, - "id": 346, - "name": "tokenValidCount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 82, - "src": "2360:15:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 348, - "nodeType": "ExpressionStatement", - "src": "2360:17:1" - } - ] - } + "nodeType": "Literal", + "src": "1566:5:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "1548:23:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 235, + "nodeType": "ExpressionStatement", + "src": "1548:23:2" } ] }, - "id": 352, + "documentation": null, + "id": 237, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { - "arguments": [], - "id": 323, + "arguments": null, + "id": 228, "modifierName": { "argumentTypes": null, - "id": 322, - "name": "only_mod", + "id": 227, + "name": "owner_only", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 140, - "src": "2219:8:1", + "referencedDeclaration": 151, + "src": "1527:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "2219:8:1" - }, - { - "arguments": [ - { - "argumentTypes": null, - "id": 325, - "name": "addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 320, - "src": "2236:4:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "id": 326, - "modifierName": { - "argumentTypes": null, - "id": 324, - "name": "no_null", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "2228:7:1", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_address_$", - "typeString": "modifier (address)" - } - }, - "nodeType": "ModifierInvocation", - "src": "2228:13:1" + "src": "1527:10:2" } ], - "name": "enableToken", + "name": "removeModerator", "nodeType": "FunctionDefinition", "parameters": { - "id": 321, + "id": 226, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 320, + "id": 225, "name": "addr", "nodeType": "VariableDeclaration", - "scope": 352, - "src": "2198:12:1", + "scope": 237, + "src": "1506:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11453,10 +6890,10 @@ "typeString": "address" }, "typeName": { - "id": 319, + "id": 224, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2198:7:1", + "src": "1506:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11466,102 +6903,102 @@ "visibility": "internal" } ], - "src": "2197:14:1" + "src": "1505:14:2" }, "payable": false, "returnParameters": { - "id": 327, + "id": 229, "nodeType": "ParameterList", "parameters": [], - "src": "2242:0:1" + "src": "1538:0:2" }, - "scope": 698, - "src": "2177:214:1", + "scope": 498, + "src": "1481:97:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 391, + "id": 342, "nodeType": "Block", - "src": "2537:212:1", + "src": "1820:479:2", "statements": [ { "assignments": [ - 370 + 263 ], "declarations": [ { "constant": false, - "id": 370, + "id": 263, "name": "token", "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2544:18:1", + "scope": 343, + "src": "1830:19:2", "stateVariable": false, - "storageLocation": "memory", + "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" }, "typeName": { "contractScope": null, - "id": 369, + "id": 262, "name": "Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "2544:5:1", + "referencedDeclaration": 127, + "src": "1830:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" } }, "value": null, "visibility": "internal" } ], - "id": 376, + "id": 269, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 371, + "id": 264, "name": "pubTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "2566:9:1", + "referencedDeclaration": 131, + "src": "1852:9:2", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" } }, - "id": 375, + "id": 268, "indexExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 372, + "id": 265, "name": "idMap", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 111, - "src": "2576:5:1", + "referencedDeclaration": 139, + "src": "1862:5:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 374, + "id": 267, "indexExpression": { "argumentTypes": null, - "id": 373, + "id": 266, "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 354, - "src": "2582:4:1", + "referencedDeclaration": 243, + "src": "1868:4:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11572,7 +7009,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2576:11:1", + "src": "1862:11:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11583,759 +7020,916 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2566:22:1", + "src": "1852:22:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", + "typeIdentifier": "t_struct$_Token_$127_storage", "typeString": "struct PublicTokens.Token storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "2544:44:1" + "src": "1830:44:2" }, { - "expression": { + "condition": { "argumentTypes": null, - "components": [ - { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 273, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 377, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 370, - "src": "2616:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 378, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 86, - "src": "2616:10:1", + "id": 270, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 263, + "src": "1887:5:2", "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" } }, + "id": 271, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 116, + "src": "1887:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "307830", + "id": 272, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1901:3:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x0" + }, + "src": "1887:17:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 299, + "nodeType": "IfStatement", + "src": "1884:202:2", + "trueBody": { + "id": 298, + "nodeType": "Block", + "src": "1906:180:2", + "statements": [ { - "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 379, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 370, - "src": "2637:5:1", + "id": 275, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1920:12:2", + "subExpression": { + "argumentTypes": null, + "id": 274, + "name": "tokenCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 105, + "src": "1920:10:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 380, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "symbol", - "nodeType": "MemberAccess", - "referencedDeclaration": 88, - "src": "2637:12:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } + "id": 276, + "nodeType": "ExpressionStatement", + "src": "1920:12:2" }, { - "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 381, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 370, - "src": "2660:5:1", + "id": 278, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1946:17:2", + "subExpression": { + "argumentTypes": null, + "id": 277, + "name": "tokenValidCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 108, + "src": "1946:15:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 382, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "2660:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } + "id": 279, + "nodeType": "ExpressionStatement", + "src": "1946:17:2" }, { - "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 383, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 370, - "src": "2681:5:1", + "id": 284, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 280, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 263, + "src": "1977:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 281, + "name": "pubTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 131, + "src": "1985:9:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", + "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" + } + }, + "id": 283, + "indexExpression": { + "argumentTypes": null, + "id": 282, + "name": "tokenCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 105, + "src": "1995:10:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1985:21:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage", + "typeString": "struct PublicTokens.Token storage ref" + } + }, + "src": "1977:29:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" } }, - "id": 384, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "decimals", - "nodeType": "MemberAccess", - "referencedDeclaration": 92, - "src": "2681:14:1", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } + "id": 285, + "nodeType": "ExpressionStatement", + "src": "1977:29:2" }, { - "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 385, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 370, - "src": "2706:5:1", + "id": 290, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 286, + "name": "idMap", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 139, + "src": "2020:5:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 288, + "indexExpression": { + "argumentTypes": null, + "id": 287, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 243, + "src": "2026:4:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2020:11:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 289, + "name": "tokenCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 105, + "src": "2034:10:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2020:24:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 386, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "website", - "nodeType": "MemberAccess", - "referencedDeclaration": 94, - "src": "2706:13:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } + "id": 291, + "nodeType": "ExpressionStatement", + "src": "2020:24:2" }, { - "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 387, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 370, - "src": "2730:5:1", + "id": 296, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 292, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 263, + "src": "2058:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" + } + }, + "id": 294, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "isValid", + "nodeType": "MemberAccess", + "referencedDeclaration": 126, + "src": "2058:13:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 295, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2074:4:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "2058:20:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 388, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "email", - "nodeType": "MemberAccess", - "referencedDeclaration": 96, - "src": "2730:11:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } + "id": 297, + "nodeType": "ExpressionStatement", + "src": "2058:20:2" } - ], - "id": 389, + ] + } + }, + { + "expression": { + "argumentTypes": null, + "id": 304, "isConstant": false, - "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2605:137:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint8_$_t_bytes32_$_t_bytes32_$", - "typeString": "tuple(bytes16,bytes16,address,uint8,bytes32,bytes32)" - } - }, - "functionReturnParameters": 368, - "id": 390, - "nodeType": "Return", - "src": "2598:144:1" - } - ] - }, - "id": 392, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": true, - "modifiers": [], - "name": "getToken", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 355, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 354, - "name": "addr", - "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2414:12:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 353, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2414:7:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2413:14:1" - }, - "payable": false, - "returnParameters": { - "id": 368, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 357, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2455:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 356, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "2455:7:1", + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 300, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 263, + "src": "2095:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" + } + }, + "id": 302, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "name", + "nodeType": "MemberAccess", + "referencedDeclaration": 112, + "src": "2095:10:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 303, + "name": "name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 239, + "src": "2108:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "src": "2095:17:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "value": null, - "visibility": "internal" + "id": 305, + "nodeType": "ExpressionStatement", + "src": "2095:17:2" }, { - "constant": false, - "id": 359, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2470:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - "typeName": { - "id": 358, - "name": "bytes16", - "nodeType": "ElementaryTypeName", - "src": "2470:7:1", + "expression": { + "argumentTypes": null, + "id": 310, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 306, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 263, + "src": "2122:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" + } + }, + "id": 308, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "symbol", + "nodeType": "MemberAccess", + "referencedDeclaration": 114, + "src": "2122:12:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 309, + "name": "symbol", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 241, + "src": "2137:6:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "src": "2122:21:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "value": null, - "visibility": "internal" + "id": 311, + "nodeType": "ExpressionStatement", + "src": "2122:21:2" }, { - "constant": false, - "id": 361, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2485:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 360, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2485:7:1", + "expression": { + "argumentTypes": null, + "id": 316, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 312, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 263, + "src": "2153:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" + } + }, + "id": 314, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 116, + "src": "2153:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 315, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 243, + "src": "2166:4:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2153:17:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "value": null, - "visibility": "internal" + "id": 317, + "nodeType": "ExpressionStatement", + "src": "2153:17:2" }, { - "constant": false, - "id": 363, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2500:5:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 362, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "2500:5:1", + "expression": { + "argumentTypes": null, + "id": 322, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 318, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 263, + "src": "2180:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" + } + }, + "id": 320, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "erc", + "nodeType": "MemberAccess", + "referencedDeclaration": 118, + "src": "2180:9:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 321, + "name": "erc", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 245, + "src": "2192:3:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "src": "2180:15:2", "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" + "typeIdentifier": "t_uint32", + "typeString": "uint32" } }, - "value": null, - "visibility": "internal" + "id": 323, + "nodeType": "ExpressionStatement", + "src": "2180:15:2" }, { - "constant": false, - "id": 365, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2513:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 364, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2513:7:1", + "expression": { + "argumentTypes": null, + "id": 328, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 324, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 263, + "src": "2205:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" + } + }, + "id": 326, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "decimals", + "nodeType": "MemberAccess", + "referencedDeclaration": 120, + "src": "2205:14:2", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 327, + "name": "decimals", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 247, + "src": "2222:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "src": "2205:25:2", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_uint8", + "typeString": "uint8" } }, - "value": null, - "visibility": "internal" + "id": 329, + "nodeType": "ExpressionStatement", + "src": "2205:25:2" }, { - "constant": false, - "id": 367, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 392, - "src": "2528:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 366, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2528:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2448:88:1" - }, - "scope": 698, - "src": "2396:353:1", - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 429, - "nodeType": "Block", - "src": "2894:203:1", - "statements": [ - { - "assignments": [ - 410 - ], - "declarations": [ - { - "constant": false, - "id": 410, - "name": "token", - "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2901:18:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - }, - "typeName": { - "contractScope": null, - "id": 409, - "name": "Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "2901:5:1", + "expression": { + "argumentTypes": null, + "id": 334, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 330, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 263, + "src": "2240:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", "typeString": "struct PublicTokens.Token storage pointer" } }, - "value": null, - "visibility": "internal" - } - ], - "id": 414, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 411, - "name": "pubTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "2923:9:1", + "id": 332, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "website", + "nodeType": "MemberAccess", + "referencedDeclaration": 122, + "src": "2240:13:2", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" } }, - "id": 413, - "indexExpression": { + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { "argumentTypes": null, - "id": 412, - "name": "id", + "id": 333, + "name": "website", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 394, - "src": "2933:2:1", + "referencedDeclaration": 249, + "src": "2256:7:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" } }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2923:13:1", + "src": "2240:23:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", - "typeString": "struct PublicTokens.Token storage ref" + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" } }, - "nodeType": "VariableDeclarationStatement", - "src": "2901:35:1" + "id": 335, + "nodeType": "ExpressionStatement", + "src": "2240:23:2" }, { "expression": { "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 415, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "2964:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 86, - "src": "2964:10:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 417, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "2985:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 418, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "symbol", - "nodeType": "MemberAccess", - "referencedDeclaration": 88, - "src": "2985:12:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 419, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "3008:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 420, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "3008:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 421, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "3029:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 422, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "decimals", - "nodeType": "MemberAccess", - "referencedDeclaration": 92, - "src": "3029:14:1", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - { + "id": 340, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 423, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "3054:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 424, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "website", - "nodeType": "MemberAccess", - "referencedDeclaration": 94, - "src": "3054:13:1", + "id": 336, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 263, + "src": "2273:5:2", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" } }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 425, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "3078:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 426, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "email", - "nodeType": "MemberAccess", - "referencedDeclaration": 96, - "src": "3078:11:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } + "id": 338, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 124, + "src": "2273:11:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" } - ], - "id": 427, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2953:137:1", + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 339, + "name": "email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 251, + "src": "2287:5:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "src": "2273:19:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "id": 341, + "nodeType": "ExpressionStatement", + "src": "2273:19:2" + } + ] + }, + "documentation": null, + "id": 343, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [ + { + "arguments": null, + "id": 254, + "modifierName": { + "argumentTypes": null, + "id": 253, + "name": "only_mod", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 170, + "src": "1777:8:2", + "typeDescriptions": { + "typeIdentifier": "t_modifier$__$", + "typeString": "modifier ()" + } + }, + "nodeType": "ModifierInvocation", + "src": "1777:8:2" + }, + { + "arguments": [ + { + "argumentTypes": null, + "id": 256, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 243, + "src": "1794:4:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "id": 257, + "modifierName": { + "argumentTypes": null, + "id": 255, + "name": "no_null", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 200, + "src": "1786:7:2", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_address_$", + "typeString": "modifier (address)" + } + }, + "nodeType": "ModifierInvocation", + "src": "1786:13:2" + }, + { + "arguments": [ + { + "argumentTypes": null, + "id": 259, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 243, + "src": "1814:4:2", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint8_$_t_bytes32_$_t_bytes32_$", - "typeString": "tuple(bytes16,bytes16,address,uint8,bytes32,bytes32)" + "typeIdentifier": "t_address", + "typeString": "address" } - }, - "functionReturnParameters": 408, - "id": 428, - "nodeType": "Return", - "src": "2946:144:1" - } - ] - }, - "id": 430, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": true, - "modifiers": [], - "name": "getTokenById", + } + ], + "id": 260, + "modifierName": { + "argumentTypes": null, + "id": 258, + "name": "only_contract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 187, + "src": "1800:13:2", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_address_$", + "typeString": "modifier (address)" + } + }, + "nodeType": "ModifierInvocation", + "src": "1800:19:2" + } + ], + "name": "addSetToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 395, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 394, - "name": "id", - "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2776:7:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 393, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2776:4:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2775:9:1" - }, - "payable": false, - "returnParameters": { - "id": 408, + "id": 252, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 397, - "name": "", + "id": 239, + "name": "name", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2812:7:1", + "scope": 343, + "src": "1613:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12343,10 +7937,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 396, + "id": 238, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "2812:7:1", + "src": "1613:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -12357,11 +7951,11 @@ }, { "constant": false, - "id": 399, - "name": "", + "id": 241, + "name": "symbol", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2827:7:1", + "scope": 343, + "src": "1636:14:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12369,10 +7963,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 398, + "id": 240, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "2827:7:1", + "src": "1636:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -12383,11 +7977,11 @@ }, { "constant": false, - "id": 401, - "name": "", + "id": 243, + "name": "addr", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2842:7:1", + "scope": 343, + "src": "1661:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12395,10 +7989,10 @@ "typeString": "address" }, "typeName": { - "id": 400, + "id": 242, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2842:7:1", + "src": "1661:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12409,25 +8003,25 @@ }, { "constant": false, - "id": 403, - "name": "", + "id": 245, + "name": "erc", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2857:5:1", + "scope": 343, + "src": "1684:10:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" + "typeIdentifier": "t_uint32", + "typeString": "uint32" }, "typeName": { - "id": 402, - "name": "uint8", + "id": 244, + "name": "uint32", "nodeType": "ElementaryTypeName", - "src": "2857:5:1", + "src": "1684:6:2", "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" + "typeIdentifier": "t_uint32", + "typeString": "uint32" } }, "value": null, @@ -12435,25 +8029,25 @@ }, { "constant": false, - "id": 405, - "name": "", + "id": 247, + "name": "decimals", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2870:7:1", + "scope": 343, + "src": "1704:14:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_uint8", + "typeString": "uint8" }, "typeName": { - "id": 404, - "name": "bytes32", + "id": 246, + "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "2870:7:1", + "src": "1704:5:2", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_uint8", + "typeString": "uint8" } }, "value": null, @@ -12461,3372 +8055,1817 @@ }, { "constant": false, - "id": 407, - "name": "", + "id": 249, + "name": "website", "nodeType": "VariableDeclaration", - "scope": 430, - "src": "2885:7:1", + "scope": 343, + "src": "1729:15:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, - "typeName": { - "id": 406, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2885:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2805:88:1" - }, - "scope": 698, - "src": "2754:343:1", - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 696, - "nodeType": "Block", - "src": "3218:1714:1", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 445, - "name": "count", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 440, - "src": "3228:5:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 446, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3237:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "3228:10:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 452, - "nodeType": "IfStatement", - "src": "3225:33:1", - "trueBody": { - "expression": { - "argumentTypes": null, - "id": 450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 448, - "name": "count", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 440, - "src": "3240:5:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 449, - "name": "tokenCount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 79, - "src": "3248:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3240:18:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 451, - "nodeType": "ExpressionStatement", - "src": "3240:18:1" - } - }, - { - "assignments": [ - 454 - ], - "declarations": [ - { - "constant": false, - "id": 454, - "name": "bufferSize", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3268:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 453, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3268:4:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 456, - "initialValue": { - "argumentTypes": null, - "hexValue": "3333", - "id": 455, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3286:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_33_by_1", - "typeString": "int_const 33" - }, - "value": "33" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3268:20:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 459, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 457, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3362:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "33", - "id": 458, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3376:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - }, - "value": "3" - }, - "src": "3362:15:1", + "typeName": { + "id": 248, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1729:7:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" } }, - "id": 460, - "nodeType": "ExpressionStatement", - "src": "3362:15:1" + "value": null, + "visibility": "internal" }, + { + "constant": false, + "id": 251, + "name": "email", + "nodeType": "VariableDeclaration", + "scope": 343, + "src": "1755:13:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 250, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1755:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1603:166:2" + }, + "payable": false, + "returnParameters": { + "id": 261, + "nodeType": "ParameterList", + "parameters": [], + "src": "1820:0:2" + }, + "scope": 498, + "src": "1583:716:2", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 376, + "nodeType": "Block", + "src": "2370:167:2", + "statements": [ { "assignments": [ - 462 + 354 ], "declarations": [ { "constant": false, - "id": 462, - "name": "validCounter", + "id": 354, + "name": "token", "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3414:17:1", + "scope": 377, + "src": "2380:19:2", "stateVariable": false, - "storageLocation": "default", + "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" }, "typeName": { - "id": 461, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3414:4:1", + "contractScope": null, + "id": 353, + "name": "Token", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 127, + "src": "2380:5:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" } }, "value": null, "visibility": "internal" } ], - "id": 464, + "id": 360, "initialValue": { "argumentTypes": null, - "hexValue": "30", - "id": 463, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3434:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3414:21:1" - }, - { - "body": { - "id": 510, - "nodeType": "Block", - "src": "3470:295:1", - "statements": [ - { - "assignments": [ - 476 - ], - "declarations": [ - { - "constant": false, - "id": 476, - "name": "token", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3478:18:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - }, - "typeName": { - "contractScope": null, - "id": 475, - "name": "Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 99, - "src": "3478:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage_ptr", - "typeString": "struct PublicTokens.Token storage pointer" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 480, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 477, - "name": "pubTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "3499:9:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" - } - }, - "id": 479, - "indexExpression": { - "argumentTypes": null, - "id": 478, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "3509:1:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3499:12:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", - "typeString": "struct PublicTokens.Token storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3478:33:1" - }, - { - "condition": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 481, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "3522:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 482, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "isValid", - "nodeType": "MemberAccess", - "referencedDeclaration": 98, - "src": "3522:13:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 509, - "nodeType": "IfStatement", - "src": "3519:239:1", - "trueBody": { - "id": 508, - "nodeType": "Block", - "src": "3536:222:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 484, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "3554:14:1", - "subExpression": { - "argumentTypes": null, - "id": 483, - "name": "validCounter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 462, - "src": "3554:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 485, - "nodeType": "ExpressionStatement", - "src": "3554:14:1" - }, - { - "condition": { - "argumentTypes": null, - "id": 486, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 434, - "src": "3580:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 491, - "nodeType": "IfStatement", - "src": "3577:23:1", - "trueBody": { - "expression": { - "argumentTypes": null, - "id": 489, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 487, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3586:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3136", - "id": 488, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3598:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "3586:14:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 490, - "nodeType": "ExpressionStatement", - "src": "3586:14:1" - } - }, - { - "condition": { - "argumentTypes": null, - "id": 492, - "name": "website", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 436, - "src": "3612:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 497, - "nodeType": "IfStatement", - "src": "3609:26:1", - "trueBody": { - "expression": { - "argumentTypes": null, - "id": 495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 493, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3621:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3332", - "id": 494, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3633:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "3621:14:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 496, - "nodeType": "ExpressionStatement", - "src": "3621:14:1" - } - }, - { - "condition": { - "argumentTypes": null, - "id": 498, - "name": "email", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 438, - "src": "3647:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 503, - "nodeType": "IfStatement", - "src": "3644:24:1", - "trueBody": { - "expression": { - "argumentTypes": null, - "id": 501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 499, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3654:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3332", - "id": 500, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3666:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "3654:14:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 502, - "nodeType": "ExpressionStatement", - "src": "3654:14:1" - } - }, - { - "expression": { - "argumentTypes": null, - "id": 506, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 504, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3677:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "+=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3736", - "id": 505, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3690:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_76_by_1", - "typeString": "int_const 76" - }, - "value": "76" - }, - "src": "3677:15:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 507, - "nodeType": "ExpressionStatement", - "src": "3677:15:1" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 471, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { + "baseExpression": { "argumentTypes": null, - "id": 469, - "name": "i", + "id": 355, + "name": "pubTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "3456:1:1", + "referencedDeclaration": 131, + "src": "2402:9:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", + "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" } }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { + "id": 359, + "indexExpression": { "argumentTypes": null, - "id": 470, - "name": "count", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 440, - "src": "3459:5:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3456:8:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 511, - "initializationExpression": { - "assignments": [ - 466 - ], - "declarations": [ - { - "constant": false, - "id": 466, - "name": "i", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3446:6:1", - "stateVariable": false, - "storageLocation": "default", + "baseExpression": { + "argumentTypes": null, + "id": 356, + "name": "idMap", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 139, + "src": "2412:5:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 465, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3446:4:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 468, - "initialValue": { - "argumentTypes": null, - "hexValue": "31", - "id": 467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3453:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } }, - "value": "1" - }, - "nodeType": "VariableDeclarationStatement", - "src": "3446:8:1" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 473, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "3466:3:1", - "subExpression": { + "id": 358, + "indexExpression": { "argumentTypes": null, - "id": 472, - "name": "i", + "id": 357, + "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "3466:1:1", + "referencedDeclaration": 345, + "src": "2418:4:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2412:11:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 474, - "nodeType": "ExpressionStatement", - "src": "3466:3:1" - }, - "nodeType": "ForStatement", - "src": "3442:323:1" - }, - { - "assignments": [ - 513 - ], - "declarations": [ - { - "constant": false, - "id": 513, - "name": "result", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3771:19:1", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - "typeName": { - "id": 512, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3771:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" - } - }, - "value": null, - "visibility": "internal" + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2402:22:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage", + "typeString": "struct PublicTokens.Token storage ref" } - ], - "id": 518, - "initialValue": { + }, + "nodeType": "VariableDeclarationStatement", + "src": "2380:44:2" + }, + { + "condition": { "argumentTypes": null, - "arguments": [ - { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 364, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { "argumentTypes": null, - "id": 516, - "name": "bufferSize", + "id": 361, + "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3803:10:1", + "referencedDeclaration": 354, + "src": "2437:5:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" } - ], - "id": 515, + }, + "id": 362, "isConstant": false, - "isLValue": false, - "isPure": true, + "isLValue": true, + "isPure": false, "lValueRequested": false, - "nodeType": "NewExpression", - "src": "3793:9:1", + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 116, + "src": "2437:10:2", "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_$", - "typeString": "function (uint256) pure returns (bytes memory)" - }, - "typeName": { - "id": 514, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3797:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" - } + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 517, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3793:21:1", + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 363, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 345, + "src": "2451:4:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2437:18:2", "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "nodeType": "VariableDeclarationStatement", - "src": "3771:43:1" + "falseBody": null, + "id": 375, + "nodeType": "IfStatement", + "src": "2434:97:2", + "trueBody": { + "id": 374, + "nodeType": "Block", + "src": "2457:74:2", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 369, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 365, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 354, + "src": "2471:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" + } + }, + "id": 367, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "isValid", + "nodeType": "MemberAccess", + "referencedDeclaration": 126, + "src": "2471:13:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 368, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2487:5:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "2471:21:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 370, + "nodeType": "ExpressionStatement", + "src": "2471:21:2" + }, + { + "expression": { + "argumentTypes": null, + "id": 372, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "2506:17:2", + "subExpression": { + "argumentTypes": null, + "id": 371, + "name": "tokenValidCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 108, + "src": "2506:15:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 373, + "nodeType": "ExpressionStatement", + "src": "2506:17:2" + } + ] + } + } + ] + }, + "documentation": null, + "id": 377, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [ + { + "arguments": null, + "id": 348, + "modifierName": { + "argumentTypes": null, + "id": 347, + "name": "only_mod", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 170, + "src": "2347:8:2", + "typeDescriptions": { + "typeIdentifier": "t_modifier$__$", + "typeString": "modifier ()" + } + }, + "nodeType": "ModifierInvocation", + "src": "2347:8:2" + }, + { + "arguments": [ + { + "argumentTypes": null, + "id": 350, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 345, + "src": "2364:4:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "id": 351, + "modifierName": { + "argumentTypes": null, + "id": 349, + "name": "no_null", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 200, + "src": "2356:7:2", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_address_$", + "typeString": "modifier (address)" + } }, + "nodeType": "ModifierInvocation", + "src": "2356:13:2" + } + ], + "name": "disableToken", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 346, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 345, + "name": "addr", + "nodeType": "VariableDeclaration", + "scope": 377, + "src": "2326:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 344, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2326:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2325:14:2" + }, + "payable": false, + "returnParameters": { + "id": 352, + "nodeType": "ParameterList", + "parameters": [], + "src": "2370:0:2" + }, + "scope": 498, + "src": "2304:233:2", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 410, + "nodeType": "Block", + "src": "2607:167:2", + "statements": [ { "assignments": [ - 520 + 388 ], "declarations": [ { "constant": false, - "id": 520, - "name": "offset", + "id": 388, + "name": "token", "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3821:11:1", + "scope": 411, + "src": "2617:19:2", "stateVariable": false, - "storageLocation": "default", + "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" }, "typeName": { - "id": 519, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3821:4:1", + "contractScope": null, + "id": 387, + "name": "Token", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 127, + "src": "2617:5:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" } }, "value": null, "visibility": "internal" } ], - "id": 522, + "id": 394, "initialValue": { "argumentTypes": null, - "id": 521, - "name": "bufferSize", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3835:10:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "3821:24:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { + "baseExpression": { + "argumentTypes": null, + "id": 389, + "name": "pubTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 131, + "src": "2639:9:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", + "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" + } + }, + "id": 393, + "indexExpression": { + "argumentTypes": null, + "baseExpression": { "argumentTypes": null, - "id": 524, - "name": "offset", + "id": 390, + "name": "idMap", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "3884:6:1", + "referencedDeclaration": 139, + "src": "2649:5:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" } }, - { + "id": 392, + "indexExpression": { "argumentTypes": null, - "hexValue": "74727565", - "id": 525, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3892:4:1", - "subdenomination": null, + "id": 391, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 379, + "src": "2655:4:2", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" + "typeIdentifier": "t_address", + "typeString": "address" + } }, - { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2649:11:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2639:22:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage", + "typeString": "struct PublicTokens.Token storage ref" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2617:44:2" + }, + { + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 398, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { "argumentTypes": null, - "id": 526, - "name": "result", + "id": 395, + "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "3898:6:1", + "referencedDeclaration": 388, + "src": "2674:5:2", "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" } + }, + "id": 396, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 116, + "src": "2674:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 523, - "name": "boolToBytes", + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 397, + "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "3872:11:1", + "referencedDeclaration": 379, + "src": "2688:4:2", "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bool,bytes memory) pure" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3872:33:1", + "src": "2674:18:2", "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 528, - "nodeType": "ExpressionStatement", - "src": "3872:33:1" + "falseBody": null, + "id": 409, + "nodeType": "IfStatement", + "src": "2671:97:2", + "trueBody": { + "id": 408, + "nodeType": "Block", + "src": "2694:74:2", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 403, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 399, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 388, + "src": "2708:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token storage pointer" + } + }, + "id": 401, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "isValid", + "nodeType": "MemberAccess", + "referencedDeclaration": 126, + "src": "2708:13:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 402, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2724:5:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "2708:21:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 404, + "nodeType": "ExpressionStatement", + "src": "2708:21:2" + }, + { + "expression": { + "argumentTypes": null, + "id": 406, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "2743:17:2", + "subExpression": { + "argumentTypes": null, + "id": 405, + "name": "tokenValidCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 108, + "src": "2743:15:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 407, + "nodeType": "ExpressionStatement", + "src": "2743:17:2" + } + ] + } + } + ] + }, + "documentation": null, + "id": 411, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [ + { + "arguments": null, + "id": 382, + "modifierName": { + "argumentTypes": null, + "id": 381, + "name": "only_mod", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 170, + "src": "2584:8:2", + "typeDescriptions": { + "typeIdentifier": "t_modifier$__$", + "typeString": "modifier ()" + } + }, + "nodeType": "ModifierInvocation", + "src": "2584:8:2" + }, + { + "arguments": [ + { + "argumentTypes": null, + "id": 384, + "name": "addr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 379, + "src": "2601:4:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "id": 385, + "modifierName": { + "argumentTypes": null, + "id": 383, + "name": "no_null", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 200, + "src": "2593:7:2", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_address_$", + "typeString": "modifier (address)" + } }, + "nodeType": "ModifierInvocation", + "src": "2593:13:2" + } + ], + "name": "enableToken", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 380, + "nodeType": "ParameterList", + "parameters": [ { - "expression": { - "argumentTypes": null, - "id": 531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 529, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "3907:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 530, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3917:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "3907:11:1", + "constant": false, + "id": 379, + "name": "addr", + "nodeType": "VariableDeclaration", + "scope": 411, + "src": "2563:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 378, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2563:7:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 532, - "nodeType": "ExpressionStatement", - "src": "3907:11:1" - }, + "value": null, + "visibility": "internal" + } + ], + "src": "2562:14:2" + }, + "payable": false, + "returnParameters": { + "id": 386, + "nodeType": "ParameterList", + "parameters": [], + "src": "2607:0:2" + }, + "scope": 498, + "src": "2542:232:2", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 454, + "nodeType": "Block", + "src": "2936:240:2", + "statements": [ { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 534, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "3937:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } + "assignments": [ + 431 + ], + "declarations": [ + { + "constant": false, + "id": 431, + "name": "token", + "nodeType": "VariableDeclaration", + "scope": 455, + "src": "2946:18:2", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token" }, - { - "argumentTypes": null, - "id": 535, - "name": "validCounter", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 462, - "src": "3945:12:1", + "typeName": { + "contractScope": null, + "id": 430, + "name": "Token", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 127, + "src": "2946:5:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" } }, - { - "argumentTypes": null, - "id": 536, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "3959:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 533, - "name": "uintToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "3925:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,uint256,bytes memory) pure" - } - }, - "id": 537, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3925:41:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" + "value": null, + "visibility": "internal" } - }, - "id": 538, - "nodeType": "ExpressionStatement", - "src": "3925:41:1" - }, - { - "expression": { + ], + "id": 437, + "initialValue": { "argumentTypes": null, - "id": 541, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { + "baseExpression": { "argumentTypes": null, - "id": 539, - "name": "offset", + "id": 432, + "name": "pubTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "3968:6:1", + "referencedDeclaration": 131, + "src": "2967:9:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", + "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" } }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { + "id": 436, + "indexExpression": { "argumentTypes": null, - "hexValue": "3332", - "id": 540, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3978:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "3968:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 542, - "nodeType": "ExpressionStatement", - "src": "3968:12:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { + "baseExpression": { "argumentTypes": null, - "id": 544, - "name": "offset", + "id": 433, + "name": "idMap", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "3999:6:1", + "referencedDeclaration": 139, + "src": "2977:5:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" } }, - { + "id": 435, + "indexExpression": { "argumentTypes": null, - "id": 545, - "name": "name", + "id": 434, + "name": "addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 434, - "src": "4007:4:1", + "referencedDeclaration": 413, + "src": "2983:4:2", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_address", + "typeString": "address" } }, - { - "argumentTypes": null, - "id": 546, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4013:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 543, - "name": "boolToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "3987:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bool,bytes memory) pure" - } - }, - "id": 547, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3987:33:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 548, - "nodeType": "ExpressionStatement", - "src": "3987:33:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 551, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 549, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4022:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 550, "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", + "isLValue": true, + "isPure": false, "lValueRequested": false, - "nodeType": "Literal", - "src": "4032:1:1", - "subdenomination": null, + "nodeType": "IndexAccess", + "src": "2977:11:2", "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } }, - "src": "4022:11:1", + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2967:22:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_Token_$127_storage", + "typeString": "struct PublicTokens.Token storage ref" } }, - "id": 552, - "nodeType": "ExpressionStatement", - "src": "4022:11:1" + "nodeType": "VariableDeclarationStatement", + "src": "2946:43:2" }, { "expression": { "argumentTypes": null, - "arguments": [ + "components": [ { "argumentTypes": null, - "id": 554, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4052:6:1", + "expression": { + "argumentTypes": null, + "id": 438, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 431, + "src": "3017:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 439, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "name", + "nodeType": "MemberAccess", + "referencedDeclaration": 112, + "src": "3017:10:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" } }, { "argumentTypes": null, - "id": 555, - "name": "website", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 436, - "src": "4060:7:1", + "expression": { + "argumentTypes": null, + "id": 440, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 431, + "src": "3038:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 441, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "symbol", + "nodeType": "MemberAccess", + "referencedDeclaration": 114, + "src": "3038:12:2", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" } }, { "argumentTypes": null, - "id": 556, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4069:6:1", + "expression": { + "argumentTypes": null, + "id": 442, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 431, + "src": "3061:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 443, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 116, + "src": "3061:10:2", "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeIdentifier": "t_address", + "typeString": "address" } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 444, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 431, + "src": "3085:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" + "id": 445, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "erc", + "nodeType": "MemberAccess", + "referencedDeclaration": 118, + "src": "3085:9:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 446, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 431, + "src": "3105:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "id": 447, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "decimals", + "nodeType": "MemberAccess", + "referencedDeclaration": 120, + "src": "3105:14:2", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 448, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 431, + "src": "3130:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 449, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "website", + "nodeType": "MemberAccess", + "referencedDeclaration": 122, + "src": "3130:13:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 450, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 431, + "src": "3157:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 451, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 124, + "src": "3157:11:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" } - ], - "id": 553, - "name": "boolToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "4040:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bool,bytes memory) pure" } - }, - "id": 557, + ], + "id": 452, "isConstant": false, + "isInlineArray": false, "isLValue": false, "isPure": false, - "kind": "functionCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4040:36:1", + "nodeType": "TupleExpression", + "src": "3006:163:2", "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" + "typeIdentifier": "t_tuple$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint32_$_t_uint8_$_t_bytes32_$_t_bytes32_$", + "typeString": "tuple(bytes16,bytes16,address,uint32,uint8,bytes32,bytes32)" } }, - "id": 558, - "nodeType": "ExpressionStatement", - "src": "4040:36:1" - }, + "functionReturnParameters": 429, + "id": 453, + "nodeType": "Return", + "src": "2999:170:2" + } + ] + }, + "documentation": null, + "id": 455, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getToken", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 414, + "nodeType": "ParameterList", + "parameters": [ { - "expression": { - "argumentTypes": null, - "id": 561, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 559, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4078:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 560, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4088:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "4078:11:1", + "constant": false, + "id": 413, + "name": "addr", + "nodeType": "VariableDeclaration", + "scope": 455, + "src": "2797:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 412, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2797:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2796:14:2" + }, + "payable": false, + "returnParameters": { + "id": 429, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 416, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 455, + "src": "2838:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 415, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "2838:7:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" } }, - "id": 562, - "nodeType": "ExpressionStatement", - "src": "4078:11:1" + "value": null, + "visibility": "internal" }, { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 564, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4108:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 565, - "name": "email", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 438, - "src": "4116:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "id": 566, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4123:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 563, - "name": "boolToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "4096:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bool,bytes memory) pure" - } - }, - "id": 567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4096:34:1", + "constant": false, + "id": 418, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 455, + "src": "2853:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 417, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "2853:7:2", "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" } }, - "id": 568, - "nodeType": "ExpressionStatement", - "src": "4096:34:1" + "value": null, + "visibility": "internal" }, { - "expression": { - "argumentTypes": null, - "id": 571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 569, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4132:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "31", - "id": 570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4142:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "4132:11:1", + "constant": false, + "id": 420, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 455, + "src": "2868:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 419, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2868:7:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 572, - "nodeType": "ExpressionStatement", - "src": "4132:11:1" + "value": null, + "visibility": "internal" }, { - "body": { - "id": 692, - "nodeType": "Block", - "src": "4173:733:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 583, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4181:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 584, - "name": "pubTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "4189:9:1", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$99_storage_$", - "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" - } - }, - "id": 586, - "indexExpression": { - "argumentTypes": null, - "id": 585, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "4199:1:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4189:12:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_storage", - "typeString": "struct PublicTokens.Token storage ref" - } - }, - "src": "4181:20:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 588, - "nodeType": "ExpressionStatement", - "src": "4181:20:1" - }, - { - "assignments": [ - 590 - ], - "declarations": [ - { - "constant": false, - "id": 590, - "name": "basicToken", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "4209:21:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DummyToken_$70", - "typeString": "contract DummyToken" - }, - "typeName": { - "contractScope": null, - "id": 589, - "name": "DummyToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 70, - "src": "4209:10:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DummyToken_$70", - "typeString": "contract DummyToken" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 595, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 592, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4244:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 593, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "4244:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 591, - "name": "DummyToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "4233:10:1", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_DummyToken_$70_$", - "typeString": "type(contract DummyToken)" - } - }, - "id": 594, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4233:22:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DummyToken_$70", - "typeString": "contract DummyToken" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4209:46:1" + "constant": false, + "id": 422, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 455, + "src": "2886:6:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 421, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "2886:6:2", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 424, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 455, + "src": "2899:5:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + "typeName": { + "id": 423, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "2899:5:2", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 426, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 455, + "src": "2912:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 425, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2912:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 428, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 455, + "src": "2927:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 427, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2927:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2831:104:2" + }, + "scope": 498, + "src": "2779:397:2", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 496, + "nodeType": "Block", + "src": "3337:231:2", + "statements": [ + { + "assignments": [ + 475 + ], + "declarations": [ + { + "constant": false, + "id": 475, + "name": "token", + "nodeType": "VariableDeclaration", + "scope": 497, + "src": "3347:18:2", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token" }, - { - "condition": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 596, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4266:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 597, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "isValid", - "nodeType": "MemberAccess", - "referencedDeclaration": 98, - "src": "4266:13:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 691, - "nodeType": "IfStatement", - "src": "4263:636:1", - "trueBody": { - "id": 690, - "nodeType": "Block", - "src": "4280:619:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 599, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4305:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 600, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4313:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 601, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "symbol", - "nodeType": "MemberAccess", - "referencedDeclaration": 88, - "src": "4313:12:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - { - "argumentTypes": null, - "id": 602, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4327:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 598, - "name": "bytes16ToBytesR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1598, - "src": "4289:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes16_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bytes16,bytes memory)" - } - }, - "id": 603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4289:45:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 604, - "nodeType": "ExpressionStatement", - "src": "4289:45:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 605, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4336:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3136", - "id": 606, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4346:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "4336:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 608, - "nodeType": "ExpressionStatement", - "src": "4336:12:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 610, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4372:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 611, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4380:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 612, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "addr", - "nodeType": "MemberAccess", - "referencedDeclaration": 90, - "src": "4380:10:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 613, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4392:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 609, - "name": "addressToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1587, - "src": "4357:14:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,address,bytes memory) pure" - } - }, - "id": 614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4357:42:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 615, - "nodeType": "ExpressionStatement", - "src": "4357:42:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 616, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4401:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3230", - "id": 617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4411:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_20_by_1", - "typeString": "int_const 20" - }, - "value": "20" - }, - "src": "4401:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 619, - "nodeType": "ExpressionStatement", - "src": "4401:12:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 621, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4434:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 622, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4442:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 623, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "decimals", - "nodeType": "MemberAccess", - "referencedDeclaration": 92, - "src": "4442:14:1", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - { - "argumentTypes": null, - "id": 624, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4458:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 620, - "name": "uintToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "4422:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,uint256,bytes memory) pure" - } - }, - "id": 625, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4422:43:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 626, - "nodeType": "ExpressionStatement", - "src": "4422:43:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 629, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 627, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4467:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "38", - "id": 628, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4477:1:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - }, - "value": "8" - }, - "src": "4467:11:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 630, - "nodeType": "ExpressionStatement", - "src": "4467:11:1" - }, - { - "assignments": [ - 632 - ], - "declarations": [ - { - "constant": false, - "id": 632, - "name": "balance", - "nodeType": "VariableDeclaration", - "scope": 697, - "src": "4496:15:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 631, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4496:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 637, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 635, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 432, - "src": "4535:6:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 633, - "name": "basicToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 590, - "src": "4514:10:1", - "typeDescriptions": { - "typeIdentifier": "t_contract$_DummyToken_$70", - "typeString": "contract DummyToken" - } - }, - "id": 634, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balanceOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 59, - "src": "4514:20:1", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view external returns (uint256)" - } - }, - "id": 636, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4514:28:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4496:46:1" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 639, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4563:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 640, - "name": "balance", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 632, - "src": "4571:7:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 641, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4580:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 638, - "name": "uintToBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "4551:11:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,uint256,bytes memory) pure" - } - }, - "id": 642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4551:36:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 643, - "nodeType": "ExpressionStatement", - "src": "4551:36:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 646, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 644, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4589:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3332", - "id": 645, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4599:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "4589:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 647, - "nodeType": "ExpressionStatement", - "src": "4589:12:1" - }, - { - "condition": { - "argumentTypes": null, - "id": 648, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 434, - "src": "4613:4:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 661, - "nodeType": "IfStatement", - "src": "4610:85:1", - "trueBody": { - "id": 660, - "nodeType": "Block", - "src": "4618:77:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 650, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4644:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 651, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4652:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 652, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "name", - "nodeType": "MemberAccess", - "referencedDeclaration": 86, - "src": "4652:10:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - } - }, - { - "argumentTypes": null, - "id": 653, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4664:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes16", - "typeString": "bytes16" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 649, - "name": "bytes16ToBytesR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1598, - "src": "4628:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes16_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bytes16,bytes memory)" - } - }, - "id": 654, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4628:43:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 655, - "nodeType": "ExpressionStatement", - "src": "4628:43:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 656, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4673:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3136", - "id": 657, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4683:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_16_by_1", - "typeString": "int_const 16" - }, - "value": "16" - }, - "src": "4673:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 659, - "nodeType": "ExpressionStatement", - "src": "4673:12:1" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "id": 662, - "name": "website", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 436, - "src": "4706:7:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 675, - "nodeType": "IfStatement", - "src": "4703:92:1", - "trueBody": { - "id": 674, - "nodeType": "Block", - "src": "4715:80:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 664, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4741:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 665, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4749:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 666, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "website", - "nodeType": "MemberAccess", - "referencedDeclaration": 94, - "src": "4749:13:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 667, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4764:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 663, - "name": "bytes32ToBytesR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1609, - "src": "4725:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bytes32,bytes memory)" - } - }, - "id": 668, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4725:46:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 669, - "nodeType": "ExpressionStatement", - "src": "4725:46:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 672, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 670, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4773:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3332", - "id": 671, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4783:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "4773:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 673, - "nodeType": "ExpressionStatement", - "src": "4773:12:1" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "id": 676, - "name": "email", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 438, - "src": "4806:5:1", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 689, - "nodeType": "IfStatement", - "src": "4803:88:1", - "trueBody": { - "id": 688, - "nodeType": "Block", - "src": "4813:78:1", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 678, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4839:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 679, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 476, - "src": "4847:5:1", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Token_$99_memory_ptr", - "typeString": "struct PublicTokens.Token memory" - } - }, - "id": 680, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "email", - "nodeType": "MemberAccess", - "referencedDeclaration": 96, - "src": "4847:11:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "id": 681, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4860:6:1", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 677, - "name": "bytes32ToBytesR", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1609, - "src": "4823:15:1", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,bytes32,bytes memory)" - } - }, - "id": 682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4823:44:1", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 683, - "nodeType": "ExpressionStatement", - "src": "4823:44:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 686, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 684, - "name": "offset", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "4869:6:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "3332", - "id": 685, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4879:2:1", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - }, - "value": "32" - }, - "src": "4869:12:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 687, - "nodeType": "ExpressionStatement", - "src": "4869:12:1" - } - ] - } - } - ] + "typeName": { + "contractScope": null, + "id": 474, + "name": "Token", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 127, + "src": "3347:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_storage_ptr", + "typeString": "struct PublicTokens.Token" } - } - ] - }, - "condition": { + }, + "value": null, + "visibility": "internal" + } + ], + "id": 479, + "initialValue": { "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 579, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { + "baseExpression": { "argumentTypes": null, - "id": 577, - "name": "i", + "id": 476, + "name": "pubTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "4159:1:1", + "referencedDeclaration": 131, + "src": "3368:9:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Token_$127_storage_$", + "typeString": "mapping(uint256 => struct PublicTokens.Token storage ref)" } }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { + "id": 478, + "indexExpression": { "argumentTypes": null, - "id": 578, - "name": "count", + "id": 477, + "name": "id", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 440, - "src": "4162:5:1", + "referencedDeclaration": 457, + "src": "3378:2:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "4159:8:1", + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3368:13:2", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_struct$_Token_$127_storage", + "typeString": "struct PublicTokens.Token storage ref" } }, - "id": 693, - "initializationExpression": { - "expression": { - "argumentTypes": null, - "id": 575, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { + "nodeType": "VariableDeclarationStatement", + "src": "3347:34:2" + }, + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 480, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 475, + "src": "3409:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 481, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "name", + "nodeType": "MemberAccess", + "referencedDeclaration": 112, + "src": "3409:10:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 482, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 475, + "src": "3430:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 483, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "symbol", + "nodeType": "MemberAccess", + "referencedDeclaration": 114, + "src": "3430:12:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + { "argumentTypes": null, - "id": 573, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "4154:1:1", + "expression": { + "argumentTypes": null, + "id": 484, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 475, + "src": "3453:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 485, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 116, + "src": "3453:10:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { + { "argumentTypes": null, - "hexValue": "31", - "id": 574, + "expression": { + "argumentTypes": null, + "id": 486, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 475, + "src": "3477:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 487, "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", + "isLValue": true, + "isPure": false, "lValueRequested": false, - "nodeType": "Literal", - "src": "4156:1:1", - "subdenomination": null, + "memberName": "erc", + "nodeType": "MemberAccess", + "referencedDeclaration": 118, + "src": "3477:9:2", "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 488, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 475, + "src": "3497:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } }, - "value": "1" + "id": 489, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "decimals", + "nodeType": "MemberAccess", + "referencedDeclaration": 120, + "src": "3497:14:2", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } }, - "src": "4154:3:1", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 576, - "nodeType": "ExpressionStatement", - "src": "4154:3:1" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 581, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "4169:3:1", - "subExpression": { + { "argumentTypes": null, - "id": 580, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 466, - "src": "4169:1:1", + "expression": { + "argumentTypes": null, + "id": 490, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 475, + "src": "3522:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 491, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "website", + "nodeType": "MemberAccess", + "referencedDeclaration": 122, + "src": "3522:13:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" } }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 492, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 475, + "src": "3549:5:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$127_memory_ptr", + "typeString": "struct PublicTokens.Token memory" + } + }, + "id": 493, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 124, + "src": "3549:11:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } } - }, - "id": 582, - "nodeType": "ExpressionStatement", - "src": "4169:3:1" - }, - "nodeType": "ForStatement", - "src": "4150:756:1" - }, - { - "expression": { - "argumentTypes": null, - "id": 694, - "name": "result", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 513, - "src": "4919:6:1", + ], + "id": 494, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3398:163:2", "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeIdentifier": "t_tuple$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint32_$_t_uint8_$_t_bytes32_$_t_bytes32_$", + "typeString": "tuple(bytes16,bytes16,address,uint32,uint8,bytes32,bytes32)" } }, - "functionReturnParameters": 444, - "id": 695, + "functionReturnParameters": 473, + "id": 495, "nodeType": "Return", - "src": "4912:13:1" + "src": "3391:170:2" } ] }, - "id": 697, + "documentation": null, + "id": 497, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], - "name": "getAllBalance", + "name": "getTokenById", "nodeType": "FunctionDefinition", "parameters": { - "id": 441, + "id": 458, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 432, - "name": "_owner", + "id": 457, + "name": "id", "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3125:14:1", + "scope": 497, + "src": "3203:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 431, - "name": "address", + "id": 456, + "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3125:7:1", + "src": "3203:4:2", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3202:9:2" + }, + "payable": false, + "returnParameters": { + "id": 473, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 460, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 497, + "src": "3239:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 459, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "3239:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" } }, "value": null, @@ -15834,25 +9873,25 @@ }, { "constant": false, - "id": 434, - "name": "name", + "id": 462, + "name": "", "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3141:9:1", + "scope": 497, + "src": "3254:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" }, "typeName": { - "id": 433, - "name": "bool", + "id": 461, + "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "3141:4:1", + "src": "3254:7:2", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" } }, "value": null, @@ -15860,25 +9899,25 @@ }, { "constant": false, - "id": 436, - "name": "website", + "id": 464, + "name": "", "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3152:12:1", + "scope": 497, + "src": "3269:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "id": 435, - "name": "bool", + "id": 463, + "name": "address", "nodeType": "ElementaryTypeName", - "src": "3152:4:1", + "src": "3269:7:2", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_address", + "typeString": "address" } }, "value": null, @@ -15886,25 +9925,25 @@ }, { "constant": false, - "id": 438, - "name": "email", + "id": 466, + "name": "", "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3166:10:1", + "scope": 497, + "src": "3287:6:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint32", + "typeString": "uint32" }, "typeName": { - "id": 437, - "name": "bool", + "id": 465, + "name": "uint32", "nodeType": "ElementaryTypeName", - "src": "3166:4:1", + "src": "3287:6:2", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint32", + "typeString": "uint32" } }, "value": null, @@ -15912,83 +9951,101 @@ }, { "constant": false, - "id": 440, - "name": "count", + "id": 468, + "name": "", "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3178:10:1", + "scope": 497, + "src": "3300:5:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_uint8", + "typeString": "uint8" }, "typeName": { - "id": 439, - "name": "uint", + "id": 467, + "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "3178:4:1", + "src": "3300:5:2", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_uint8", + "typeString": "uint8" } }, "value": null, "visibility": "internal" - } - ], - "src": "3124:65:1" - }, - "payable": false, - "returnParameters": { - "id": 444, - "nodeType": "ParameterList", - "parameters": [ + }, + { + "constant": false, + "id": 470, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 497, + "src": "3313:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 469, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3313:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, { "constant": false, - "id": 443, + "id": 472, "name": "", "nodeType": "VariableDeclaration", - "scope": 697, - "src": "3211:5:1", + "scope": 497, + "src": "3328:7:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" }, "typeName": { - "id": 442, - "name": "bytes", + "id": 471, + "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "3211:5:1", + "src": "3328:7:2", "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" } }, "value": null, "visibility": "internal" } ], - "src": "3210:7:1" + "src": "3232:104:2" }, - "scope": 698, - "src": "3102:1830:1", + "scope": 498, + "src": "3181:387:2", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], - "scope": 699, - "src": "88:4846:1" + "scope": 499, + "src": "25:3545:2" } ], - "src": "0:4934:1" + "src": "0:3570:2" }, "compiler": { "name": "solc", - "version": "0.4.19+commit.c4cbbb05.Emscripten.clang" + "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": { "1": { @@ -16000,10 +10057,10 @@ "5777": { "events": {}, "links": {}, - "address": "0x2445bc665aefca58d2137baf26a62edb38cbc274", - "transactionHash": "0x15182fb8fb085a2fcf0a9f1041ecc93cd58ccac10161bc76975184a7f8eda373" + "address": "0x8b473ef0e2265c7603f4cb4295348f15653e434d", + "transactionHash": "0xaacc30889c4b2264df585a5845440cbb2f02b116a57dbb82534d31e4c5ccdef8" } }, - "schemaVersion": "2.0.0", - "updatedAt": "2018-04-11T03:57:24.738Z" + "schemaVersion": "2.0.1", + "updatedAt": "2018-09-25T04:39:58.041Z" } \ No newline at end of file diff --git a/build/contracts/Seriality.json b/build/contracts/Seriality.json index a768af4..f68e2f1 100644 --- a/build/contracts/Seriality.json +++ b/build/contracts/Seriality.json @@ -8,24 +8,24 @@ "type": "constructor" } ], - "bytecode": "0x60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a723058205da409c209158b69f4e0ebb21642744365ea7a31958c9fef01109d59fa4227eb0029", - "deployedBytecode": "0x6060604052600080fd00a165627a7a723058205da409c209158b69f4e0ebb21642744365ea7a31958c9fef01109d59fa4227eb0029", - "sourceMap": "290:102:3:-;;;354:36;;;;;;;;290:102;;;;;;", - "deployedSourceMap": "290:102:3:-;;;;;", + "bytecode": "0x6080604052348015600f57600080fd5b50603580601d6000396000f3006080604052600080fd00a165627a7a72305820cfa78bdc10e506b676618ba53af2e7ebf3c4e810002d38768fd9c0043561f03b0029", + "deployedBytecode": "0x6080604052600080fd00a165627a7a72305820cfa78bdc10e506b676618ba53af2e7ebf3c4e810002d38768fd9c0043561f03b0029", + "sourceMap": "290:102:4:-;;;354:36;8:9:-1;5:2;;;30:1;27;20:12;5:2;354:36:4;290:102;;;;;;", + "deployedSourceMap": "290:102:4:-;;;;;", "source": "pragma solidity ^0.4.16;\n\n/**\n * @title Seriality\n * @dev The Seriality contract is the main interface for serializing data using the TypeToBytes, BytesToType and SizeOf\n * @author pouladzade@gmail.com\n */\n \nimport \"./BytesToTypes.sol\";\nimport \"./TypesToBytes.sol\";\nimport \"./SizeOf.sol\";\n\ncontract Seriality is BytesToTypes, TypesToBytes, SizeOf {\n\n function Seriality() public {\n\n }\n}\n", - "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/Seriality.sol", + "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/Seriality.sol", "ast": { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/Seriality.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/Seriality.sol", "exportedSymbols": { "Seriality": [ - 1494 + 1294 ] }, - "id": 1495, + "id": 1295, "nodeType": "SourceUnit", "nodes": [ { - "id": 1480, + "id": 1280, "literals": [ "solidity", "^", @@ -33,124 +33,125 @@ ".16" ], "nodeType": "PragmaDirective", - "src": "0:24:3" + "src": "0:24:4" }, { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/BytesToTypes.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/BytesToTypes.sol", "file": "./BytesToTypes.sol", - "id": 1481, + "id": 1281, "nodeType": "ImportDirective", - "scope": 1495, - "sourceUnit": 1479, - "src": "208:28:3", + "scope": 1295, + "sourceUnit": 1279, + "src": "208:28:4", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/TypesToBytes.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/TypesToBytes.sol", "file": "./TypesToBytes.sol", - "id": 1482, + "id": 1282, "nodeType": "ImportDirective", - "scope": 1495, - "sourceUnit": 1692, - "src": "237:28:3", + "scope": 1295, + "sourceUnit": 1492, + "src": "237:28:4", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/SizeOf.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/SizeOf.sol", "file": "./SizeOf.sol", - "id": 1483, + "id": 1283, "nodeType": "ImportDirective", - "scope": 1495, - "sourceUnit": 1571, - "src": "266:22:3", + "scope": 1295, + "sourceUnit": 1371, + "src": "266:22:4", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [ { - "arguments": [], + "arguments": null, "baseName": { "contractScope": null, - "id": 1484, + "id": 1284, "name": "BytesToTypes", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1478, - "src": "312:12:3", + "referencedDeclaration": 1278, + "src": "312:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_BytesToTypes_$1478", + "typeIdentifier": "t_contract$_BytesToTypes_$1278", "typeString": "contract BytesToTypes" } }, - "id": 1485, + "id": 1285, "nodeType": "InheritanceSpecifier", - "src": "312:12:3" + "src": "312:12:4" }, { - "arguments": [], + "arguments": null, "baseName": { "contractScope": null, - "id": 1486, + "id": 1286, "name": "TypesToBytes", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1691, - "src": "326:12:3", + "referencedDeclaration": 1491, + "src": "326:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_TypesToBytes_$1691", + "typeIdentifier": "t_contract$_TypesToBytes_$1491", "typeString": "contract TypesToBytes" } }, - "id": 1487, + "id": 1287, "nodeType": "InheritanceSpecifier", - "src": "326:12:3" + "src": "326:12:4" }, { - "arguments": [], + "arguments": null, "baseName": { "contractScope": null, - "id": 1488, + "id": 1288, "name": "SizeOf", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1570, - "src": "340:6:3", + "referencedDeclaration": 1370, + "src": "340:6:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_SizeOf_$1570", + "typeIdentifier": "t_contract$_SizeOf_$1370", "typeString": "contract SizeOf" } }, - "id": 1489, + "id": 1289, "nodeType": "InheritanceSpecifier", - "src": "340:6:3" + "src": "340:6:4" } ], "contractDependencies": [ - 1478, - 1570, - 1691 + 1278, + 1370, + 1491 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 1494, + "id": 1294, "linearizedBaseContracts": [ - 1494, - 1570, - 1691, - 1478 + 1294, + 1370, + 1491, + 1278 ], "name": "Seriality", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1492, + "id": 1292, "nodeType": "Block", - "src": "382:8:3", + "src": "382:8:4", "statements": [] }, - "id": 1493, + "documentation": null, + "id": 1293, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -158,43 +159,43 @@ "name": "Seriality", "nodeType": "FunctionDefinition", "parameters": { - "id": 1490, + "id": 1290, "nodeType": "ParameterList", "parameters": [], - "src": "372:2:3" + "src": "372:2:4" }, "payable": false, "returnParameters": { - "id": 1491, + "id": 1291, "nodeType": "ParameterList", "parameters": [], - "src": "382:0:3" + "src": "382:0:4" }, - "scope": 1494, - "src": "354:36:3", + "scope": 1294, + "src": "354:36:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 1495, - "src": "290:102:3" + "scope": 1295, + "src": "290:102:4" } ], - "src": "0:393:3" + "src": "0:393:4" }, "legacyAST": { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/Seriality.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/Seriality.sol", "exportedSymbols": { "Seriality": [ - 1494 + 1294 ] }, - "id": 1495, + "id": 1295, "nodeType": "SourceUnit", "nodes": [ { - "id": 1480, + "id": 1280, "literals": [ "solidity", "^", @@ -202,124 +203,125 @@ ".16" ], "nodeType": "PragmaDirective", - "src": "0:24:3" + "src": "0:24:4" }, { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/BytesToTypes.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/BytesToTypes.sol", "file": "./BytesToTypes.sol", - "id": 1481, + "id": 1281, "nodeType": "ImportDirective", - "scope": 1495, - "sourceUnit": 1479, - "src": "208:28:3", + "scope": 1295, + "sourceUnit": 1279, + "src": "208:28:4", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/TypesToBytes.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/TypesToBytes.sol", "file": "./TypesToBytes.sol", - "id": 1482, + "id": 1282, "nodeType": "ImportDirective", - "scope": 1495, - "sourceUnit": 1692, - "src": "237:28:3", + "scope": 1295, + "sourceUnit": 1492, + "src": "237:28:4", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/SizeOf.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/SizeOf.sol", "file": "./SizeOf.sol", - "id": 1483, + "id": 1283, "nodeType": "ImportDirective", - "scope": 1495, - "sourceUnit": 1571, - "src": "266:22:3", + "scope": 1295, + "sourceUnit": 1371, + "src": "266:22:4", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [ { - "arguments": [], + "arguments": null, "baseName": { "contractScope": null, - "id": 1484, + "id": 1284, "name": "BytesToTypes", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1478, - "src": "312:12:3", + "referencedDeclaration": 1278, + "src": "312:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_BytesToTypes_$1478", + "typeIdentifier": "t_contract$_BytesToTypes_$1278", "typeString": "contract BytesToTypes" } }, - "id": 1485, + "id": 1285, "nodeType": "InheritanceSpecifier", - "src": "312:12:3" + "src": "312:12:4" }, { - "arguments": [], + "arguments": null, "baseName": { "contractScope": null, - "id": 1486, + "id": 1286, "name": "TypesToBytes", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1691, - "src": "326:12:3", + "referencedDeclaration": 1491, + "src": "326:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_TypesToBytes_$1691", + "typeIdentifier": "t_contract$_TypesToBytes_$1491", "typeString": "contract TypesToBytes" } }, - "id": 1487, + "id": 1287, "nodeType": "InheritanceSpecifier", - "src": "326:12:3" + "src": "326:12:4" }, { - "arguments": [], + "arguments": null, "baseName": { "contractScope": null, - "id": 1488, + "id": 1288, "name": "SizeOf", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1570, - "src": "340:6:3", + "referencedDeclaration": 1370, + "src": "340:6:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_SizeOf_$1570", + "typeIdentifier": "t_contract$_SizeOf_$1370", "typeString": "contract SizeOf" } }, - "id": 1489, + "id": 1289, "nodeType": "InheritanceSpecifier", - "src": "340:6:3" + "src": "340:6:4" } ], "contractDependencies": [ - 1478, - 1570, - 1691 + 1278, + 1370, + 1491 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 1494, + "id": 1294, "linearizedBaseContracts": [ - 1494, - 1570, - 1691, - 1478 + 1294, + 1370, + 1491, + 1278 ], "name": "Seriality", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1492, + "id": 1292, "nodeType": "Block", - "src": "382:8:3", + "src": "382:8:4", "statements": [] }, - "id": 1493, + "documentation": null, + "id": 1293, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -327,36 +329,36 @@ "name": "Seriality", "nodeType": "FunctionDefinition", "parameters": { - "id": 1490, + "id": 1290, "nodeType": "ParameterList", "parameters": [], - "src": "372:2:3" + "src": "372:2:4" }, "payable": false, "returnParameters": { - "id": 1491, + "id": 1291, "nodeType": "ParameterList", "parameters": [], - "src": "382:0:3" + "src": "382:0:4" }, - "scope": 1494, - "src": "354:36:3", + "scope": 1294, + "src": "354:36:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 1495, - "src": "290:102:3" + "scope": 1295, + "src": "290:102:4" } ], - "src": "0:393:3" + "src": "0:393:4" }, "compiler": { "name": "solc", - "version": "0.4.19+commit.c4cbbb05.Emscripten.clang" + "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, - "schemaVersion": "2.0.0", - "updatedAt": "2018-04-11T03:43:43.233Z" + "schemaVersion": "2.0.1", + "updatedAt": "2018-09-25T04:39:56.950Z" } \ No newline at end of file diff --git a/build/contracts/SizeOf.json b/build/contracts/SizeOf.json index 08e62e8..32bb218 100644 --- a/build/contracts/SizeOf.json +++ b/build/contracts/SizeOf.json @@ -1,24 +1,24 @@ { "contractName": "SizeOf", "abi": [], - "bytecode": "0x60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a72305820bccdad9095664a6bc4daef27e22fe99b9b3e38fd28477238e6434017adb3200c0029", - "deployedBytecode": "0x6060604052600080fd00a165627a7a72305820bccdad9095664a6bc4daef27e22fe99b9b3e38fd28477238e6434017adb3200c0029", - "sourceMap": "149:2062:4:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "149:2062:4:-;;;;;", + "bytecode": "0x6080604052348015600f57600080fd5b50603580601d6000396000f3006080604052600080fd00a165627a7a72305820878c80a5255a2adaff3016f21099311f09a1a282818cf7973eb948f705ed0b160029", + "deployedBytecode": "0x6080604052600080fd00a165627a7a72305820878c80a5255a2adaff3016f21099311f09a1a282818cf7973eb948f705ed0b160029", + "sourceMap": "149:2062:5:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;149:2062:5;;;;;;;", + "deployedSourceMap": "149:2062:5:-;;;;;", "source": "pragma solidity ^0.4.16;\n\n/**\n * @title SizeOf\n * @dev The SizeOf return the size of the solidity types in byte\n * @author pouladzade@gmail.com\n */\n\ncontract SizeOf {\n \n function sizeOfString(string _in) internal pure returns(uint _size){\n _size = bytes(_in).length / 32;\n if(bytes(_in).length % 32 != 0) \n _size++;\n \n _size++; // first 32 bytes is reserved for the size of the string \n _size *= 32;\n }\n\n function sizeOfInt(uint16 _postfix) internal pure returns(uint size){\n\n assembly{\n switch _postfix\n case 8 { size := 1 }\n case 16 { size := 2 }\n case 24 { size := 3 }\n case 32 { size := 4 }\n case 40 { size := 5 }\n case 48 { size := 6 }\n case 56 { size := 7 }\n case 64 { size := 8 }\n case 72 { size := 9 }\n case 80 { size := 10 }\n case 88 { size := 11 }\n case 96 { size := 12 }\n case 104 { size := 13 }\n case 112 { size := 14 }\n case 120 { size := 15 }\n case 128 { size := 16 }\n case 136 { size := 17 }\n case 144 { size := 18 }\n case 152 { size := 19 }\n case 160 { size := 20 }\n case 168 { size := 21 }\n case 176 { size := 22 }\n case 184 { size := 23 }\n case 192 { size := 24 }\n case 200 { size := 25 }\n case 208 { size := 26 }\n case 216 { size := 27 }\n case 224 { size := 28 }\n case 232 { size := 29 }\n case 240 { size := 30 }\n case 248 { size := 31 }\n case 256 { size := 32 }\n default { size := 32 }\n }\n\n }\n \n function sizeOfUint(uint16 _postfix) internal pure returns(uint size){\n return sizeOfInt(_postfix);\n }\n\n function sizeOfAddress() internal pure returns(uint8){\n return 20; \n }\n \n function sizeOfBool() internal pure returns(uint8){\n return 1; \n }\n \n\n}\n", - "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/SizeOf.sol", + "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/SizeOf.sol", "ast": { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/SizeOf.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/SizeOf.sol", "exportedSymbols": { "SizeOf": [ - 1570 + 1370 ] }, - "id": 1571, + "id": 1371, "nodeType": "SourceUnit", "nodes": [ { - "id": 1496, + "id": 1296, "literals": [ "solidity", "^", @@ -26,7 +26,7 @@ ".16" ], "nodeType": "PragmaDirective", - "src": "0:24:4" + "src": "0:24:5" }, { "baseContracts": [], @@ -34,35 +34,35 @@ "contractKind": "contract", "documentation": "@title SizeOf\n@dev The SizeOf return the size of the solidity types in byte\n@author pouladzade@gmail.com", "fullyImplemented": true, - "id": 1570, + "id": 1370, "linearizedBaseContracts": [ - 1570 + 1370 ], "name": "SizeOf", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1531, + "id": 1331, "nodeType": "Block", - "src": "245:223:4", + "src": "245:223:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 1510, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1503, + "id": 1303, "name": "_size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1501, - "src": "255:5:4", + "referencedDeclaration": 1301, + "src": "255:5:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -76,7 +76,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1509, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -88,12 +88,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1505, + "id": 1305, "name": "_in", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1498, - "src": "269:3:4", + "referencedDeclaration": 1298, + "src": "269:3:5", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -107,20 +107,20 @@ "typeString": "string memory" } ], - "id": 1504, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "263:5:4", + "src": "263:5:5", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": "bytes" }, - "id": 1506, + "id": 1306, "isConstant": false, "isLValue": false, "isPure": false, @@ -128,13 +128,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "263:10:4", + "src": "263:10:5", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, - "id": 1507, + "id": 1307, "isConstant": false, "isLValue": false, "isPure": false, @@ -142,7 +142,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "263:17:4", + "src": "263:17:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -153,14 +153,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3332", - "id": 1508, + "id": 1308, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "283:2:4", + "src": "283:2:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", @@ -168,21 +168,21 @@ }, "value": "32" }, - "src": "263:22:4", + "src": "263:22:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "255:30:4", + "src": "255:30:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1511, + "id": 1311, "nodeType": "ExpressionStatement", - "src": "255:30:4" + "src": "255:30:5" }, { "condition": { @@ -191,7 +191,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1519, + "id": 1319, "isConstant": false, "isLValue": false, "isPure": false, @@ -202,7 +202,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1517, + "id": 1317, "isConstant": false, "isLValue": false, "isPure": false, @@ -214,12 +214,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1513, + "id": 1313, "name": "_in", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1498, - "src": "305:3:4", + "referencedDeclaration": 1298, + "src": "305:3:5", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -233,20 +233,20 @@ "typeString": "string memory" } ], - "id": 1512, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "299:5:4", + "src": "299:5:5", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": "bytes" }, - "id": 1514, + "id": 1314, "isConstant": false, "isLValue": false, "isPure": false, @@ -254,13 +254,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "299:10:4", + "src": "299:10:5", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, - "id": 1515, + "id": 1315, "isConstant": false, "isLValue": false, "isPure": false, @@ -268,7 +268,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "299:17:4", + "src": "299:17:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -279,14 +279,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3332", - "id": 1516, + "id": 1316, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "319:2:4", + "src": "319:2:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", @@ -294,7 +294,7 @@ }, "value": "32" }, - "src": "299:22:4", + "src": "299:22:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -305,14 +305,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1518, + "id": 1318, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "325:1:4", + "src": "325:1:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -320,20 +320,20 @@ }, "value": "0" }, - "src": "299:27:4", + "src": "299:27:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1523, + "id": 1323, "nodeType": "IfStatement", - "src": "296:52:4", + "src": "296:52:5", "trueBody": { "expression": { "argumentTypes": null, - "id": 1521, + "id": 1321, "isConstant": false, "isLValue": false, "isPure": false, @@ -341,15 +341,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "341:7:4", + "src": "341:7:5", "subExpression": { "argumentTypes": null, - "id": 1520, + "id": 1320, "name": "_size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1501, - "src": "341:5:4", + "referencedDeclaration": 1301, + "src": "341:5:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -360,15 +360,15 @@ "typeString": "uint256" } }, - "id": 1522, + "id": 1322, "nodeType": "ExpressionStatement", - "src": "341:7:4" + "src": "341:7:5" } }, { "expression": { "argumentTypes": null, - "id": 1525, + "id": 1325, "isConstant": false, "isLValue": false, "isPure": false, @@ -376,15 +376,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "371:7:4", + "src": "371:7:5", "subExpression": { "argumentTypes": null, - "id": 1524, + "id": 1324, "name": "_size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1501, - "src": "371:5:4", + "referencedDeclaration": 1301, + "src": "371:5:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -395,26 +395,26 @@ "typeString": "uint256" } }, - "id": 1526, + "id": 1326, "nodeType": "ExpressionStatement", - "src": "371:7:4" + "src": "371:7:5" }, { "expression": { "argumentTypes": null, - "id": 1529, + "id": 1329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1527, + "id": 1327, "name": "_size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1501, - "src": "450:5:4", + "referencedDeclaration": 1301, + "src": "450:5:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -425,14 +425,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "3332", - "id": 1528, + "id": 1328, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "459:2:4", + "src": "459:2:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", @@ -440,19 +440,20 @@ }, "value": "32" }, - "src": "450:11:4", + "src": "450:11:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1530, + "id": 1330, "nodeType": "ExpressionStatement", - "src": "450:11:4" + "src": "450:11:5" } ] }, - "id": 1532, + "documentation": null, + "id": 1332, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -460,50 +461,50 @@ "name": "sizeOfString", "nodeType": "FunctionDefinition", "parameters": { - "id": 1499, + "id": 1299, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1498, + "id": 1298, "name": "_in", "nodeType": "VariableDeclaration", - "scope": 1532, - "src": "199:10:4", + "scope": 1332, + "src": "199:10:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" + "typeString": "string" }, "typeName": { - "id": 1497, + "id": 1297, "name": "string", "nodeType": "ElementaryTypeName", - "src": "199:6:4", + "src": "199:6:5", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", - "typeString": "string storage pointer" + "typeString": "string" } }, "value": null, "visibility": "internal" } ], - "src": "198:12:4" + "src": "198:12:5" }, "payable": false, "returnParameters": { - "id": 1502, + "id": 1302, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1501, + "id": 1301, "name": "_size", "nodeType": "VariableDeclaration", - "scope": 1532, - "src": "234:10:4", + "scope": 1332, + "src": "234:10:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -511,10 +512,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1500, + "id": 1300, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "234:4:4", + "src": "234:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -524,337 +525,338 @@ "visibility": "internal" } ], - "src": "233:12:4" + "src": "233:12:5" }, - "scope": 1570, - "src": "177:291:4", + "scope": 1370, + "src": "177:291:5", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1540, + "id": 1340, "nodeType": "Block", - "src": "543:1363:4", + "src": "543:1363:5", "statements": [ { "externalReferences": [ { "_postfix": { - "declaration": 1534, + "declaration": 1334, "isOffset": false, "isSlot": false, - "src": "583:8:4", + "src": "583:8:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "617:4:4", + "src": "617:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "655:4:4", + "src": "655:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "693:4:4", + "src": "693:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "731:4:4", + "src": "731:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "769:4:4", + "src": "769:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "807:4:4", + "src": "807:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "845:4:4", + "src": "845:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "883:4:4", + "src": "883:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "921:4:4", + "src": "921:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "959:4:4", + "src": "959:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "998:4:4", + "src": "998:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1037:4:4", + "src": "1037:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1077:4:4", + "src": "1077:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1117:4:4", + "src": "1117:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1157:4:4", + "src": "1157:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1197:4:4", + "src": "1197:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1237:4:4", + "src": "1237:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1277:4:4", + "src": "1277:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1317:4:4", + "src": "1317:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1357:4:4", + "src": "1357:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1397:4:4", + "src": "1397:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1437:4:4", + "src": "1437:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1477:4:4", + "src": "1477:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1517:4:4", + "src": "1517:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1557:4:4", + "src": "1557:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1597:4:4", + "src": "1597:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1637:4:4", + "src": "1637:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1677:4:4", + "src": "1677:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1717:4:4", + "src": "1717:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1757:4:4", + "src": "1757:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1797:4:4", + "src": "1797:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1837:4:4", + "src": "1837:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1877:4:4", + "src": "1877:4:5", "valueSize": 1 } } ], - "id": 1539, + "id": 1339, "nodeType": "InlineAssembly", "operations": "{\n switch _postfix\n case 8 {\n size := 1\n }\n case 16 {\n size := 2\n }\n case 24 {\n size := 3\n }\n case 32 {\n size := 4\n }\n case 40 {\n size := 5\n }\n case 48 {\n size := 6\n }\n case 56 {\n size := 7\n }\n case 64 {\n size := 8\n }\n case 72 {\n size := 9\n }\n case 80 {\n size := 10\n }\n case 88 {\n size := 11\n }\n case 96 {\n size := 12\n }\n case 104 {\n size := 13\n }\n case 112 {\n size := 14\n }\n case 120 {\n size := 15\n }\n case 128 {\n size := 16\n }\n case 136 {\n size := 17\n }\n case 144 {\n size := 18\n }\n case 152 {\n size := 19\n }\n case 160 {\n size := 20\n }\n case 168 {\n size := 21\n }\n case 176 {\n size := 22\n }\n case 184 {\n size := 23\n }\n case 192 {\n size := 24\n }\n case 200 {\n size := 25\n }\n case 208 {\n size := 26\n }\n case 216 {\n size := 27\n }\n case 224 {\n size := 28\n }\n case 232 {\n size := 29\n }\n case 240 {\n size := 30\n }\n case 248 {\n size := 31\n }\n case 256 {\n size := 32\n }\n default {\n size := 32\n }\n}", - "src": "554:1352:4" + "src": "554:1352:5" } ] }, - "id": 1541, + "documentation": null, + "id": 1341, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -862,16 +864,16 @@ "name": "sizeOfInt", "nodeType": "FunctionDefinition", "parameters": { - "id": 1535, + "id": 1335, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1534, + "id": 1334, "name": "_postfix", "nodeType": "VariableDeclaration", - "scope": 1541, - "src": "493:15:4", + "scope": 1341, + "src": "493:15:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -879,10 +881,10 @@ "typeString": "uint16" }, "typeName": { - "id": 1533, + "id": 1333, "name": "uint16", "nodeType": "ElementaryTypeName", - "src": "493:6:4", + "src": "493:6:5", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -892,20 +894,20 @@ "visibility": "internal" } ], - "src": "492:17:4" + "src": "492:17:5" }, "payable": false, "returnParameters": { - "id": 1538, + "id": 1338, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1537, + "id": 1337, "name": "size", "nodeType": "VariableDeclaration", - "scope": 1541, - "src": "533:9:4", + "scope": 1341, + "src": "533:9:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -913,10 +915,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1536, + "id": 1336, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "533:4:4", + "src": "533:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -926,19 +928,19 @@ "visibility": "internal" } ], - "src": "532:11:4" + "src": "532:11:5" }, - "scope": 1570, - "src": "474:1432:4", + "scope": 1370, + "src": "474:1432:5", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1552, + "id": 1352, "nodeType": "Block", - "src": "1986:43:4", + "src": "1986:43:5", "statements": [ { "expression": { @@ -946,12 +948,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1549, + "id": 1349, "name": "_postfix", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1543, - "src": "2013:8:4", + "referencedDeclaration": 1343, + "src": "2013:8:5", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -965,18 +967,18 @@ "typeString": "uint16" } ], - "id": 1548, + "id": 1348, "name": "sizeOfInt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1541, - "src": "2003:9:4", + "referencedDeclaration": 1341, + "src": "2003:9:5", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint16_$returns$_t_uint256_$", "typeString": "function (uint16) pure returns (uint256)" } }, - "id": 1550, + "id": 1350, "isConstant": false, "isLValue": false, "isPure": false, @@ -984,20 +986,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2003:19:4", + "src": "2003:19:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1547, - "id": 1551, + "functionReturnParameters": 1347, + "id": 1351, "nodeType": "Return", - "src": "1996:26:4" + "src": "1996:26:5" } ] }, - "id": 1553, + "documentation": null, + "id": 1353, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1005,16 +1008,16 @@ "name": "sizeOfUint", "nodeType": "FunctionDefinition", "parameters": { - "id": 1544, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1543, + "id": 1343, "name": "_postfix", "nodeType": "VariableDeclaration", - "scope": 1553, - "src": "1936:15:4", + "scope": 1353, + "src": "1936:15:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1022,10 +1025,10 @@ "typeString": "uint16" }, "typeName": { - "id": 1542, + "id": 1342, "name": "uint16", "nodeType": "ElementaryTypeName", - "src": "1936:6:4", + "src": "1936:6:5", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -1035,20 +1038,20 @@ "visibility": "internal" } ], - "src": "1935:17:4" + "src": "1935:17:5" }, "payable": false, "returnParameters": { - "id": 1547, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1546, + "id": 1346, "name": "size", "nodeType": "VariableDeclaration", - "scope": 1553, - "src": "1976:9:4", + "scope": 1353, + "src": "1976:9:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1056,10 +1059,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1545, + "id": 1345, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1976:4:4", + "src": "1976:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1069,32 +1072,32 @@ "visibility": "internal" } ], - "src": "1975:11:4" + "src": "1975:11:5" }, - "scope": 1570, - "src": "1916:113:4", + "scope": 1370, + "src": "1916:113:5", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1560, + "id": 1360, "nodeType": "Block", - "src": "2089:27:4", + "src": "2089:27:5", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "3230", - "id": 1558, + "id": 1358, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2106:2:4", + "src": "2106:2:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_20_by_1", @@ -1102,14 +1105,15 @@ }, "value": "20" }, - "functionReturnParameters": 1557, - "id": 1559, + "functionReturnParameters": 1357, + "id": 1359, "nodeType": "Return", - "src": "2099:9:4" + "src": "2099:9:5" } ] }, - "id": 1561, + "documentation": null, + "id": 1361, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1117,23 +1121,23 @@ "name": "sizeOfAddress", "nodeType": "FunctionDefinition", "parameters": { - "id": 1554, + "id": 1354, "nodeType": "ParameterList", "parameters": [], - "src": "2057:2:4" + "src": "2057:2:5" }, "payable": false, "returnParameters": { - "id": 1557, + "id": 1357, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1556, + "id": 1356, "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "2083:5:4", + "scope": 1361, + "src": "2083:5:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1141,10 +1145,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1555, + "id": 1355, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "2083:5:4", + "src": "2083:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -1154,32 +1158,32 @@ "visibility": "internal" } ], - "src": "2082:7:4" + "src": "2082:7:5" }, - "scope": 1570, - "src": "2035:81:4", + "scope": 1370, + "src": "2035:81:5", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1568, + "id": 1368, "nodeType": "Block", - "src": "2177:26:4", + "src": "2177:26:5", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "31", - "id": 1566, + "id": 1366, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2194:1:4", + "src": "2194:1:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -1187,14 +1191,15 @@ }, "value": "1" }, - "functionReturnParameters": 1565, - "id": 1567, + "functionReturnParameters": 1365, + "id": 1367, "nodeType": "Return", - "src": "2187:8:4" + "src": "2187:8:5" } ] }, - "id": 1569, + "documentation": null, + "id": 1369, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1202,23 +1207,23 @@ "name": "sizeOfBool", "nodeType": "FunctionDefinition", "parameters": { - "id": 1562, + "id": 1362, "nodeType": "ParameterList", "parameters": [], - "src": "2145:2:4" + "src": "2145:2:5" }, "payable": false, "returnParameters": { - "id": 1565, + "id": 1365, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1364, "name": "", "nodeType": "VariableDeclaration", - "scope": 1569, - "src": "2171:5:4", + "scope": 1369, + "src": "2171:5:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1226,10 +1231,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1563, + "id": 1363, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "2171:5:4", + "src": "2171:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -1239,33 +1244,33 @@ "visibility": "internal" } ], - "src": "2170:7:4" + "src": "2170:7:5" }, - "scope": 1570, - "src": "2126:77:4", + "scope": 1370, + "src": "2126:77:5", "stateMutability": "pure", "superFunction": null, "visibility": "internal" } ], - "scope": 1571, - "src": "149:2062:4" + "scope": 1371, + "src": "149:2062:5" } ], - "src": "0:2212:4" + "src": "0:2212:5" }, "legacyAST": { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/SizeOf.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/SizeOf.sol", "exportedSymbols": { "SizeOf": [ - 1570 + 1370 ] }, - "id": 1571, + "id": 1371, "nodeType": "SourceUnit", "nodes": [ { - "id": 1496, + "id": 1296, "literals": [ "solidity", "^", @@ -1273,7 +1278,7 @@ ".16" ], "nodeType": "PragmaDirective", - "src": "0:24:4" + "src": "0:24:5" }, { "baseContracts": [], @@ -1281,35 +1286,35 @@ "contractKind": "contract", "documentation": "@title SizeOf\n@dev The SizeOf return the size of the solidity types in byte\n@author pouladzade@gmail.com", "fullyImplemented": true, - "id": 1570, + "id": 1370, "linearizedBaseContracts": [ - 1570 + 1370 ], "name": "SizeOf", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1531, + "id": 1331, "nodeType": "Block", - "src": "245:223:4", + "src": "245:223:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 1510, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1503, + "id": 1303, "name": "_size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1501, - "src": "255:5:4", + "referencedDeclaration": 1301, + "src": "255:5:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1323,7 +1328,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1509, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -1335,12 +1340,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1505, + "id": 1305, "name": "_in", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1498, - "src": "269:3:4", + "referencedDeclaration": 1298, + "src": "269:3:5", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -1354,20 +1359,20 @@ "typeString": "string memory" } ], - "id": 1504, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "263:5:4", + "src": "263:5:5", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": "bytes" }, - "id": 1506, + "id": 1306, "isConstant": false, "isLValue": false, "isPure": false, @@ -1375,13 +1380,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "263:10:4", + "src": "263:10:5", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, - "id": 1507, + "id": 1307, "isConstant": false, "isLValue": false, "isPure": false, @@ -1389,7 +1394,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "263:17:4", + "src": "263:17:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1400,14 +1405,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3332", - "id": 1508, + "id": 1308, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "283:2:4", + "src": "283:2:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", @@ -1415,21 +1420,21 @@ }, "value": "32" }, - "src": "263:22:4", + "src": "263:22:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "255:30:4", + "src": "255:30:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1511, + "id": 1311, "nodeType": "ExpressionStatement", - "src": "255:30:4" + "src": "255:30:5" }, { "condition": { @@ -1438,7 +1443,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1519, + "id": 1319, "isConstant": false, "isLValue": false, "isPure": false, @@ -1449,7 +1454,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1517, + "id": 1317, "isConstant": false, "isLValue": false, "isPure": false, @@ -1461,12 +1466,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1513, + "id": 1313, "name": "_in", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1498, - "src": "305:3:4", + "referencedDeclaration": 1298, + "src": "305:3:5", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -1480,20 +1485,20 @@ "typeString": "string memory" } ], - "id": 1512, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "299:5:4", + "src": "299:5:5", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": "bytes" }, - "id": 1514, + "id": 1314, "isConstant": false, "isLValue": false, "isPure": false, @@ -1501,13 +1506,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "299:10:4", + "src": "299:10:5", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, - "id": 1515, + "id": 1315, "isConstant": false, "isLValue": false, "isPure": false, @@ -1515,7 +1520,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "299:17:4", + "src": "299:17:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1526,14 +1531,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3332", - "id": 1516, + "id": 1316, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "319:2:4", + "src": "319:2:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", @@ -1541,7 +1546,7 @@ }, "value": "32" }, - "src": "299:22:4", + "src": "299:22:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1552,14 +1557,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1518, + "id": 1318, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "325:1:4", + "src": "325:1:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -1567,20 +1572,20 @@ }, "value": "0" }, - "src": "299:27:4", + "src": "299:27:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1523, + "id": 1323, "nodeType": "IfStatement", - "src": "296:52:4", + "src": "296:52:5", "trueBody": { "expression": { "argumentTypes": null, - "id": 1521, + "id": 1321, "isConstant": false, "isLValue": false, "isPure": false, @@ -1588,15 +1593,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "341:7:4", + "src": "341:7:5", "subExpression": { "argumentTypes": null, - "id": 1520, + "id": 1320, "name": "_size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1501, - "src": "341:5:4", + "referencedDeclaration": 1301, + "src": "341:5:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1607,15 +1612,15 @@ "typeString": "uint256" } }, - "id": 1522, + "id": 1322, "nodeType": "ExpressionStatement", - "src": "341:7:4" + "src": "341:7:5" } }, { "expression": { "argumentTypes": null, - "id": 1525, + "id": 1325, "isConstant": false, "isLValue": false, "isPure": false, @@ -1623,15 +1628,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "371:7:4", + "src": "371:7:5", "subExpression": { "argumentTypes": null, - "id": 1524, + "id": 1324, "name": "_size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1501, - "src": "371:5:4", + "referencedDeclaration": 1301, + "src": "371:5:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1642,26 +1647,26 @@ "typeString": "uint256" } }, - "id": 1526, + "id": 1326, "nodeType": "ExpressionStatement", - "src": "371:7:4" + "src": "371:7:5" }, { "expression": { "argumentTypes": null, - "id": 1529, + "id": 1329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1527, + "id": 1327, "name": "_size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1501, - "src": "450:5:4", + "referencedDeclaration": 1301, + "src": "450:5:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1672,14 +1677,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "3332", - "id": 1528, + "id": 1328, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "459:2:4", + "src": "459:2:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", @@ -1687,19 +1692,20 @@ }, "value": "32" }, - "src": "450:11:4", + "src": "450:11:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1530, + "id": 1330, "nodeType": "ExpressionStatement", - "src": "450:11:4" + "src": "450:11:5" } ] }, - "id": 1532, + "documentation": null, + "id": 1332, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1707,50 +1713,50 @@ "name": "sizeOfString", "nodeType": "FunctionDefinition", "parameters": { - "id": 1499, + "id": 1299, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1498, + "id": 1298, "name": "_in", "nodeType": "VariableDeclaration", - "scope": 1532, - "src": "199:10:4", + "scope": 1332, + "src": "199:10:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" + "typeString": "string" }, "typeName": { - "id": 1497, + "id": 1297, "name": "string", "nodeType": "ElementaryTypeName", - "src": "199:6:4", + "src": "199:6:5", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", - "typeString": "string storage pointer" + "typeString": "string" } }, "value": null, "visibility": "internal" } ], - "src": "198:12:4" + "src": "198:12:5" }, "payable": false, "returnParameters": { - "id": 1502, + "id": 1302, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1501, + "id": 1301, "name": "_size", "nodeType": "VariableDeclaration", - "scope": 1532, - "src": "234:10:4", + "scope": 1332, + "src": "234:10:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1758,10 +1764,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1500, + "id": 1300, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "234:4:4", + "src": "234:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1771,337 +1777,338 @@ "visibility": "internal" } ], - "src": "233:12:4" + "src": "233:12:5" }, - "scope": 1570, - "src": "177:291:4", + "scope": 1370, + "src": "177:291:5", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1540, + "id": 1340, "nodeType": "Block", - "src": "543:1363:4", + "src": "543:1363:5", "statements": [ { "externalReferences": [ { "_postfix": { - "declaration": 1534, + "declaration": 1334, "isOffset": false, "isSlot": false, - "src": "583:8:4", + "src": "583:8:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "617:4:4", + "src": "617:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "655:4:4", + "src": "655:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "693:4:4", + "src": "693:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "731:4:4", + "src": "731:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "769:4:4", + "src": "769:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "807:4:4", + "src": "807:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "845:4:4", + "src": "845:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "883:4:4", + "src": "883:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "921:4:4", + "src": "921:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "959:4:4", + "src": "959:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "998:4:4", + "src": "998:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1037:4:4", + "src": "1037:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1077:4:4", + "src": "1077:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1117:4:4", + "src": "1117:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1157:4:4", + "src": "1157:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1197:4:4", + "src": "1197:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1237:4:4", + "src": "1237:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1277:4:4", + "src": "1277:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1317:4:4", + "src": "1317:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1357:4:4", + "src": "1357:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1397:4:4", + "src": "1397:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1437:4:4", + "src": "1437:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1477:4:4", + "src": "1477:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1517:4:4", + "src": "1517:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1557:4:4", + "src": "1557:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1597:4:4", + "src": "1597:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1637:4:4", + "src": "1637:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1677:4:4", + "src": "1677:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1717:4:4", + "src": "1717:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1757:4:4", + "src": "1757:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1797:4:4", + "src": "1797:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1837:4:4", + "src": "1837:4:5", "valueSize": 1 } }, { "size": { - "declaration": 1537, + "declaration": 1337, "isOffset": false, "isSlot": false, - "src": "1877:4:4", + "src": "1877:4:5", "valueSize": 1 } } ], - "id": 1539, + "id": 1339, "nodeType": "InlineAssembly", "operations": "{\n switch _postfix\n case 8 {\n size := 1\n }\n case 16 {\n size := 2\n }\n case 24 {\n size := 3\n }\n case 32 {\n size := 4\n }\n case 40 {\n size := 5\n }\n case 48 {\n size := 6\n }\n case 56 {\n size := 7\n }\n case 64 {\n size := 8\n }\n case 72 {\n size := 9\n }\n case 80 {\n size := 10\n }\n case 88 {\n size := 11\n }\n case 96 {\n size := 12\n }\n case 104 {\n size := 13\n }\n case 112 {\n size := 14\n }\n case 120 {\n size := 15\n }\n case 128 {\n size := 16\n }\n case 136 {\n size := 17\n }\n case 144 {\n size := 18\n }\n case 152 {\n size := 19\n }\n case 160 {\n size := 20\n }\n case 168 {\n size := 21\n }\n case 176 {\n size := 22\n }\n case 184 {\n size := 23\n }\n case 192 {\n size := 24\n }\n case 200 {\n size := 25\n }\n case 208 {\n size := 26\n }\n case 216 {\n size := 27\n }\n case 224 {\n size := 28\n }\n case 232 {\n size := 29\n }\n case 240 {\n size := 30\n }\n case 248 {\n size := 31\n }\n case 256 {\n size := 32\n }\n default {\n size := 32\n }\n}", - "src": "554:1352:4" + "src": "554:1352:5" } ] }, - "id": 1541, + "documentation": null, + "id": 1341, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2109,16 +2116,16 @@ "name": "sizeOfInt", "nodeType": "FunctionDefinition", "parameters": { - "id": 1535, + "id": 1335, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1534, + "id": 1334, "name": "_postfix", "nodeType": "VariableDeclaration", - "scope": 1541, - "src": "493:15:4", + "scope": 1341, + "src": "493:15:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2126,10 +2133,10 @@ "typeString": "uint16" }, "typeName": { - "id": 1533, + "id": 1333, "name": "uint16", "nodeType": "ElementaryTypeName", - "src": "493:6:4", + "src": "493:6:5", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -2139,20 +2146,20 @@ "visibility": "internal" } ], - "src": "492:17:4" + "src": "492:17:5" }, "payable": false, "returnParameters": { - "id": 1538, + "id": 1338, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1537, + "id": 1337, "name": "size", "nodeType": "VariableDeclaration", - "scope": 1541, - "src": "533:9:4", + "scope": 1341, + "src": "533:9:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2160,10 +2167,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1536, + "id": 1336, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "533:4:4", + "src": "533:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2173,19 +2180,19 @@ "visibility": "internal" } ], - "src": "532:11:4" + "src": "532:11:5" }, - "scope": 1570, - "src": "474:1432:4", + "scope": 1370, + "src": "474:1432:5", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1552, + "id": 1352, "nodeType": "Block", - "src": "1986:43:4", + "src": "1986:43:5", "statements": [ { "expression": { @@ -2193,12 +2200,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1549, + "id": 1349, "name": "_postfix", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1543, - "src": "2013:8:4", + "referencedDeclaration": 1343, + "src": "2013:8:5", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -2212,18 +2219,18 @@ "typeString": "uint16" } ], - "id": 1548, + "id": 1348, "name": "sizeOfInt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1541, - "src": "2003:9:4", + "referencedDeclaration": 1341, + "src": "2003:9:5", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint16_$returns$_t_uint256_$", "typeString": "function (uint16) pure returns (uint256)" } }, - "id": 1550, + "id": 1350, "isConstant": false, "isLValue": false, "isPure": false, @@ -2231,20 +2238,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2003:19:4", + "src": "2003:19:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1547, - "id": 1551, + "functionReturnParameters": 1347, + "id": 1351, "nodeType": "Return", - "src": "1996:26:4" + "src": "1996:26:5" } ] }, - "id": 1553, + "documentation": null, + "id": 1353, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2252,16 +2260,16 @@ "name": "sizeOfUint", "nodeType": "FunctionDefinition", "parameters": { - "id": 1544, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1543, + "id": 1343, "name": "_postfix", "nodeType": "VariableDeclaration", - "scope": 1553, - "src": "1936:15:4", + "scope": 1353, + "src": "1936:15:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2269,10 +2277,10 @@ "typeString": "uint16" }, "typeName": { - "id": 1542, + "id": 1342, "name": "uint16", "nodeType": "ElementaryTypeName", - "src": "1936:6:4", + "src": "1936:6:5", "typeDescriptions": { "typeIdentifier": "t_uint16", "typeString": "uint16" @@ -2282,20 +2290,20 @@ "visibility": "internal" } ], - "src": "1935:17:4" + "src": "1935:17:5" }, "payable": false, "returnParameters": { - "id": 1547, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1546, + "id": 1346, "name": "size", "nodeType": "VariableDeclaration", - "scope": 1553, - "src": "1976:9:4", + "scope": 1353, + "src": "1976:9:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2303,10 +2311,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1545, + "id": 1345, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1976:4:4", + "src": "1976:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2316,32 +2324,32 @@ "visibility": "internal" } ], - "src": "1975:11:4" + "src": "1975:11:5" }, - "scope": 1570, - "src": "1916:113:4", + "scope": 1370, + "src": "1916:113:5", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1560, + "id": 1360, "nodeType": "Block", - "src": "2089:27:4", + "src": "2089:27:5", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "3230", - "id": 1558, + "id": 1358, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2106:2:4", + "src": "2106:2:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_20_by_1", @@ -2349,14 +2357,15 @@ }, "value": "20" }, - "functionReturnParameters": 1557, - "id": 1559, + "functionReturnParameters": 1357, + "id": 1359, "nodeType": "Return", - "src": "2099:9:4" + "src": "2099:9:5" } ] }, - "id": 1561, + "documentation": null, + "id": 1361, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2364,23 +2373,23 @@ "name": "sizeOfAddress", "nodeType": "FunctionDefinition", "parameters": { - "id": 1554, + "id": 1354, "nodeType": "ParameterList", "parameters": [], - "src": "2057:2:4" + "src": "2057:2:5" }, "payable": false, "returnParameters": { - "id": 1557, + "id": 1357, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1556, + "id": 1356, "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "2083:5:4", + "scope": 1361, + "src": "2083:5:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2388,10 +2397,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1555, + "id": 1355, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "2083:5:4", + "src": "2083:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -2401,32 +2410,32 @@ "visibility": "internal" } ], - "src": "2082:7:4" + "src": "2082:7:5" }, - "scope": 1570, - "src": "2035:81:4", + "scope": 1370, + "src": "2035:81:5", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1568, + "id": 1368, "nodeType": "Block", - "src": "2177:26:4", + "src": "2177:26:5", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "31", - "id": 1566, + "id": 1366, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2194:1:4", + "src": "2194:1:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -2434,14 +2443,15 @@ }, "value": "1" }, - "functionReturnParameters": 1565, - "id": 1567, + "functionReturnParameters": 1365, + "id": 1367, "nodeType": "Return", - "src": "2187:8:4" + "src": "2187:8:5" } ] }, - "id": 1569, + "documentation": null, + "id": 1369, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2449,23 +2459,23 @@ "name": "sizeOfBool", "nodeType": "FunctionDefinition", "parameters": { - "id": 1562, + "id": 1362, "nodeType": "ParameterList", "parameters": [], - "src": "2145:2:4" + "src": "2145:2:5" }, "payable": false, "returnParameters": { - "id": 1565, + "id": 1365, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1364, "name": "", "nodeType": "VariableDeclaration", - "scope": 1569, - "src": "2171:5:4", + "scope": 1369, + "src": "2171:5:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2473,10 +2483,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1563, + "id": 1363, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "2171:5:4", + "src": "2171:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -2486,26 +2496,26 @@ "visibility": "internal" } ], - "src": "2170:7:4" + "src": "2170:7:5" }, - "scope": 1570, - "src": "2126:77:4", + "scope": 1370, + "src": "2126:77:5", "stateMutability": "pure", "superFunction": null, "visibility": "internal" } ], - "scope": 1571, - "src": "149:2062:4" + "scope": 1371, + "src": "149:2062:5" } ], - "src": "0:2212:4" + "src": "0:2212:5" }, "compiler": { "name": "solc", - "version": "0.4.19+commit.c4cbbb05.Emscripten.clang" + "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, - "schemaVersion": "2.0.0", - "updatedAt": "2018-04-11T03:43:43.234Z" + "schemaVersion": "2.0.1", + "updatedAt": "2018-09-25T04:39:56.951Z" } \ No newline at end of file diff --git a/build/contracts/TokenBalances.json b/build/contracts/TokenBalances.json new file mode 100644 index 0000000..dea27f1 --- /dev/null +++ b/build/contracts/TokenBalances.json @@ -0,0 +1,11425 @@ +{ + "contractName": "TokenBalances", + "abi": [ + { + "inputs": [ + { + "name": "tokenStorage", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "constant": true, + "inputs": [], + "name": "getTokenStorage", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_owner", + "type": "address" + }, + { + "name": "name", + "type": "bool" + }, + { + "name": "website", + "type": "bool" + }, + { + "name": "email", + "type": "bool" + }, + { + "name": "_count", + "type": "uint256" + } + ], + "name": "getAllBalance", + "outputs": [ + { + "name": "", + "type": "bytes" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506040516020806109cf83398101806040528101908080519060200190929190505050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505061094c806100836000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806380f4ae5c14610051578063f6333d911461013b575b600080fd5b34801561005d57600080fd5b506100c0600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919080351515906020019092919080351515906020019092919080359060200190929190505050610192565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101005780820151818401526020810190506100e5565b50505050905090810190601f16801561012d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014757600080fd5b5061015061054e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6060600080606060008060006101a661088d565b606060008e975060008b141561027d576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639f181b5e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b505050506040513d602081101561026557600080fd5b81019080805190602001909291905050509850610281565b8a98505b600189016040519080825280602002602001820160405280156102b35781602001602082028038833980820191505090505b5096506021955060038601955060009450600193505b888411151561038c576102db84610577565b92508260e0015180156102f757506102f6836040015161077d565b5b1561035a576001878581518110151561030c57fe5b906020019060200201901515908115158152505084806001019550508d15610335576010860195505b8c15610342576020860195505b8b1561034f576020860195505b60498601955061037f565b6000878581518110151561036a57fe5b90602001906020020190151590811515815250505b83806001019450506102c9565b856040519080825280601f01601f1916602001820160405280156103bf5781602001602082028038833980820191505090505b5091508590506103d181600184610796565b6001810390506103e28186846107ba565b6020810390506103f3818f84610796565b600181039050610404818e84610796565b600181039050610415818d84610796565b600181039050600193505b888411151561053957868481518110151561043757fe5b90602001906020020151151561044c5761052c565b61045584610577565b9250610466818460200151846107c4565b60108103905061047b818460400151846107e9565b60148103905061049681846060015163ffffffff16846107ba565b6004810390506104ae81846080015160ff16846107ba565b6001810390506104d1816104cb85604001518b87606001516107f3565b846107ba565b6020810390508d156104f3576104ec818460000151846107c4565b6010810390505b8c1561050f57610508818460a001518461086b565b6020810390505b8b1561052b57610524818460c001518461086b565b6020810390505b5b8380600101945050610420565b81995050505050505050505095945050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61057f61088d565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631f85eb3f836040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082815260200191505061010060405180830381600087803b15801561061057600080fd5b505af1158015610624573d6000803e3d6000fd5b505050506040513d61010081101561063b57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505088600001896020018a6040018b6060018c6080018d60a0018e60c0018f60e00188151515158152508860001916600019168152508860001916600019168152508860ff1660ff168152508863ffffffff1663ffffffff168152508873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250886fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815250886fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152505050505050505050919050565b600080823b905060008163ffffffff1611915050919050565b6000801515831515146107aa5760016107ad565b60005b9050808483015250505050565b8183820152505050565b600060105b83821a8260100186850101536001820191508082106107c9575050505050565b8183820152505050565b60008060405180807f62616c616e63654f66286164647265737329000000000000000000000000000081525060120190506040518091039020905060405181815284600482015260208160188360008a54613a98f1600081141561085657600093505b81519350602082016040525050509392505050565b600060205b83821a828685010153600182019150808210610870575050505050565b6101006040519081016040528060006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff19168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600063ffffffff168152602001600060ff168152602001600080191681526020016000801916815260200160001515815250905600a165627a7a72305820388656fec9e13a8f0339ecc506d620ee99cfee7d1042080c63ae10aa9a7f94ef0029", + "deployedBytecode": "0x60806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806380f4ae5c14610051578063f6333d911461013b575b600080fd5b34801561005d57600080fd5b506100c0600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919080351515906020019092919080351515906020019092919080359060200190929190505050610192565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101005780820151818401526020810190506100e5565b50505050905090810190601f16801561012d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014757600080fd5b5061015061054e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6060600080606060008060006101a661088d565b606060008e975060008b141561027d576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639f181b5e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b505050506040513d602081101561026557600080fd5b81019080805190602001909291905050509850610281565b8a98505b600189016040519080825280602002602001820160405280156102b35781602001602082028038833980820191505090505b5096506021955060038601955060009450600193505b888411151561038c576102db84610577565b92508260e0015180156102f757506102f6836040015161077d565b5b1561035a576001878581518110151561030c57fe5b906020019060200201901515908115158152505084806001019550508d15610335576010860195505b8c15610342576020860195505b8b1561034f576020860195505b60498601955061037f565b6000878581518110151561036a57fe5b90602001906020020190151590811515815250505b83806001019450506102c9565b856040519080825280601f01601f1916602001820160405280156103bf5781602001602082028038833980820191505090505b5091508590506103d181600184610796565b6001810390506103e28186846107ba565b6020810390506103f3818f84610796565b600181039050610404818e84610796565b600181039050610415818d84610796565b600181039050600193505b888411151561053957868481518110151561043757fe5b90602001906020020151151561044c5761052c565b61045584610577565b9250610466818460200151846107c4565b60108103905061047b818460400151846107e9565b60148103905061049681846060015163ffffffff16846107ba565b6004810390506104ae81846080015160ff16846107ba565b6001810390506104d1816104cb85604001518b87606001516107f3565b846107ba565b6020810390508d156104f3576104ec818460000151846107c4565b6010810390505b8c1561050f57610508818460a001518461086b565b6020810390505b8b1561052b57610524818460c001518461086b565b6020810390505b5b8380600101945050610420565b81995050505050505050505095945050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61057f61088d565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631f85eb3f836040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082815260200191505061010060405180830381600087803b15801561061057600080fd5b505af1158015610624573d6000803e3d6000fd5b505050506040513d61010081101561063b57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505088600001896020018a6040018b6060018c6080018d60a0018e60c0018f60e00188151515158152508860001916600019168152508860001916600019168152508860ff1660ff168152508863ffffffff1663ffffffff168152508873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250886fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815250886fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152505050505050505050919050565b600080823b905060008163ffffffff1611915050919050565b6000801515831515146107aa5760016107ad565b60005b9050808483015250505050565b8183820152505050565b600060105b83821a8260100186850101536001820191508082106107c9575050505050565b8183820152505050565b60008060405180807f62616c616e63654f66286164647265737329000000000000000000000000000081525060120190506040518091039020905060405181815284600482015260208160188360008a54613a98f1600081141561085657600093505b81519350602082016040525050509392505050565b600060205b83821a828685010153600182019150808210610870575050505050565b6101006040519081016040528060006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff19168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600063ffffffff168152602001600060ff168152602001600080191681526020016000801916815260200160001515815250905600a165627a7a72305820388656fec9e13a8f0339ecc506d620ee99cfee7d1042080c63ae10aa9a7f94ef0029", + "sourceMap": "117:4591:7:-;;;617:91;8:9:-1;5:2;;;30:1;27;20:12;5:2;617:91:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;688:12;668:4;;:33;;;;;;;;;;;;;;;;;;617:91;117:4591;;;;;;", + "deployedSourceMap": "117:4591:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2269:2437;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2269:2437:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;2269:2437:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;713:84;;8:9:-1;5:2;;;30:1;27;20:12;5:2;713:84:7;;;;;;;;;;;;;;;;;;;;;;;;;;;2269:2437;2379:5;2396:10;2416:14;2523:25;2580:15;2729:21;2768:6;2810:18;;:::i;:::-;3296:19;3349:11;2433:6;2416:23;;2462:1;2452:6;:11;2449:64;;;2473:4;;;;;;;;;;;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2473:17:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2473:17:7;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2473:17:7;;;;;;;;;;;;;;;;2465:25;;2449:64;;;2507:6;2499:14;;2449:64;2568:1;2562:5;:7;2551:19;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;2551:19:7;;;;2523:47;;2598:2;2580:20;;2691:1;2677:15;;;;2753:1;2729:25;;2777:1;2768:10;;2764:523;2785:5;2780:1;:10;;2764:523;;;2831:11;2840:1;2831:8;:11::i;:::-;2810:32;;2859:5;:13;;;:39;;;;;2876:22;2887:5;:10;;;2876;:22::i;:::-;2859:39;2856:421;;;2934:4;2917:11;2929:1;2917:14;;;;;;;;;;;;;;;;;:21;;;;;;;;;;;2956:18;;;;;;;2995:4;2992:25;;;3015:2;3001:16;;;;2992:25;3038:7;3035:28;;;3061:2;3047:16;;;;3035:28;3084:5;3081:26;;;3105:2;3091:16;;;;3081:26;3139:2;3125:16;;;;2856:421;;;3257:5;3240:11;3252:1;3240:14;;;;;;;;;;;;;;;;;:22;;;;;;;;;;;2856:421;2792:3;;;;;;;2764:523;;;3328:10;3318:21;;;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;3318:21:7;;;;3296:43;;3363:10;3349:24;;3400:33;3412:6;3420:4;3426:6;3400:11;:33::i;:::-;3454:1;3444:11;;;;3465:45;3477:6;3485:16;3503:6;3465:11;:45::i;:::-;3531:2;3521:12;;;;3543:33;3555:6;3563:4;3569:6;3543:11;:33::i;:::-;3597:1;3587:11;;;;3608:36;3620:6;3628:7;3637:6;3608:11;:36::i;:::-;3665:1;3655:11;;;;3676:34;3688:6;3696:5;3703:6;3676:11;:34::i;:::-;3731:1;3721:11;;;;3750:1;3746:5;;3742:935;3758:5;3753:1;:10;;3742:935;;;3787:11;3799:1;3787:14;;;;;;;;;;;;;;;;;;3786:15;3783:28;;;3803:8;;3783:28;3833:11;3842:1;3833:8;:11::i;:::-;3825:19;;3858:45;3874:6;3882:5;:12;;;3896:6;3858:15;:45::i;:::-;3928:2;3918:12;;;;3944:42;3959:6;3967:5;:10;;;3979:6;3944:14;:42::i;:::-;4011:2;4001:12;;;;4027:38;4039:6;4047:5;:9;;;4027:38;;4058:6;4027:11;:38::i;:::-;4090:1;4080:11;;;;4105:43;4117:6;4125:5;:14;;;4105:43;;4141:6;4105:11;:43::i;:::-;4173:1;4163:11;;;;4188:75;4200:6;4208:46;4224:5;:10;;;4236:6;4244:5;:9;;;4208:15;:46::i;:::-;4256:6;4188:11;:75::i;:::-;4288:2;4278:12;;;;4307:4;4304:109;;;4330:43;4346:6;4354:5;:10;;;4366:6;4330:15;:43::i;:::-;4402:2;4392:12;;;;4304:109;4429:7;4426:116;;;4456:46;4472:6;4480:5;:13;;;4495:6;4456:15;:46::i;:::-;4531:2;4521:12;;;;4426:116;4558:5;4555:112;;;4583:44;4599:6;4607:5;:11;;;4620:6;4583:15;:44::i;:::-;4656:2;4646:12;;;;4555:112;3742:935;3765:3;;;;;;;3742:935;;;4693:6;4686:13;;2269:2437;;;;;;;;;;;;;;;;:::o;713:84::-;761:7;786:4;;;;;;;;;;;779:11;;713:84;:::o;990:209::-;1040:11;;:::i;:::-;1174:4;;;;;;;;;;;:14;;;1189:2;1174:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1174:18:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1174:18:7;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;1174:18:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1064:5;:10;;1076:5;:12;;1090:5;:10;;1102:5;:9;;1113:5;:14;;1129:5;:13;;1144:5;:11;;1157:5;:13;;1063:129;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;990:209;;;:::o;802:183::-;859:4;875:11;939:4;927:17;919:25;;977:1;970:4;:8;;;963:15;;802:183;;;;:::o;1420:206:6:-;1513:7;1533:5;1523:15;;:6;:15;;;:23;;1545:1;1523:23;;;1541:1;1523:23;1513:33;;1608:1;1599:6;1590:7;1586:20;1579:31;1565:55;;;;:::o;2401:169::-;2547:6;2538;2529:7;2525:20;2518:36;2504:60;;;:::o;443:365::-;575:1;601:2;616:4;700:6;693:5;688:19;679:5;675:2;671:14;663:6;654:7;650:20;646:40;638:70;745:1;738:5;734:13;725:22;;786:4;780:5;777:14;770:4;764:28;548:254;;;;;:::o;263:175::-;415:6;406;397:7;393:20;386:36;372:60;;;:::o;1204:1060:7:-;1297:8;1317:10;1337:31;;;;;;;;;;;;;;;;;;;1317:52;;1467:4;1461:11;1543:3;1539;1532:15;1632:4;1625;1621:3;1617:13;1610:27;2004:4;1958:3;1910:4;1854:3;1811:1;1725:9;1719:16;1685:5;1665:344;2066:1;2058:6;2055:13;2052:2;;;2095:1;2088:8;;2052:2;2138:3;2132:10;2125:17;;2206:4;2202:3;2198:13;2193:4;2186:26;1388:870;;;;;;;;:::o;813:356:6:-;945:1;971:2;986:4;1061:6;1054:5;1049:19;1041:5;1033:6;1024:7;1020:20;1016:31;1008:61;1106:1;1099:5;1095:13;1086:22;;1147:4;1141:5;1138:14;1131:4;1125:28;918:245;;;;;:::o;117:4591:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", + "source": "pragma solidity ^0.4.24;\nimport \"./Seriality/Seriality.sol\";\nimport \"./PublicTokens.sol\";\nimport \"./DummyToken.sol\";\ncontract TokenBalances is Seriality{\n struct Token {\n bytes16 name; // Name of the token\n bytes16 symbol; // Symbol of the token\n address addr; // Address of the token contract\n uint32 erc; // token erc ERC-20, ERC-777..etc\n uint8 decimals; // decimals of the token\n bytes32 website; // website of the token\n bytes32 email; // support email of the token\n bool isValid; //whether the token is valid or not\n }\n PublicTokens pubT;\n constructor(address tokenStorage) public {\n pubT = PublicTokens(tokenStorage);\n }\n function getTokenStorage() public view returns (address){\n return pubT;\n }\n function isContract(address addr) internal view returns (bool) {\n uint32 size;\n assembly {\n size := extcodesize(addr)\n }\n return size > 0;\n }\n function getToken(uint id) internal view returns (Token token) {\n (token.name, token.symbol, token.addr, token.erc, token.decimals, token.website, token.email, token.isValid) = pubT.pubTokens(id);\n }\n function getTokenBalance(address tokenAddr, address addr, uint32 erc) internal view returns (uint bal) {\n bytes4 sig = bytes4(keccak256(\"balanceOf(address)\"));\n assembly {\n // move pointer to free memory spot\n let ptr := mload(0x40)\n // put function sig at memory spot\n mstore(ptr,sig)\n // append argument after function sig\n mstore(add(ptr,0x04), addr)\n\n let result := call(\n 15000, // gas limit\n sload(tokenAddr), // to addr. append var to _slot to access storage variable\n 0, // not transfer any ether\n ptr, // Inputs are stored at location ptr\n 0x18, // Inputs are 24 bytes long\n ptr, //Store output over input\n 0x20) //Outputs are 32 bytes long\n\n if eq(result, 0) {\n bal := 0\n }\n\n bal := mload(ptr) // Assign output to answer var\n mstore(0x40,add(ptr,0x20)) // Set storage pointer to new space\n }\n }\n function getAllBalance(address _owner, bool name, bool website, bool email, uint _count) public view returns (bytes) {\n uint count;\n address tOwner = _owner;\n if(_count == 0) count = pubT.tokenCount();\n\t\telse count = _count;\n bool[] memory validTokens = new bool[](count+1);\n uint bufferSize = 33; //assign 32 bytes to set the total number of tokens + define start\n bufferSize += 3; //set name, website, email\n uint countValidTokens = 0;\n for(uint i = 1; i <= count; i++){\n Token memory token = getToken(i);\n if(token.isValid && isContract(token.addr)){\n validTokens[i] = true;\n countValidTokens++;\n if(name) bufferSize += 16;\n if(website) bufferSize += 32;\n if(email) bufferSize += 32;\n bufferSize += 73; // address (20) + erc(4) + symbol(16) + balance(32) + decimals(1)\n \t\t} else {\n validTokens[i] = false;\n }\n }\n bytes memory result = new bytes(bufferSize);\n uint offset = bufferSize;\n \t//serialize\n boolToBytes(offset, true, result); \n offset -= 1;\n uintToBytes(offset, countValidTokens, result); \n offset -= 32;\n boolToBytes(offset, name, result); \n offset -= 1;\n boolToBytes(offset, website, result); \n offset -= 1;\n boolToBytes(offset, email, result); \n offset -= 1;\n for(i = 1; i <= count; i++){\n if(!validTokens[i]) continue;\n token = getToken(i);\n bytes16ToBytesR(offset, token.symbol, result); \n offset -= 16;\n addressToBytes(offset, token.addr, result); \n offset -= 20;\n uintToBytes(offset, token.erc, result); \n offset -= 4;\n uintToBytes(offset, token.decimals, result); \n offset -= 1;\n uintToBytes(offset, getTokenBalance(token.addr, tOwner, token.erc), result); \n offset -= 32;\n if(name){\n bytes16ToBytesR(offset, token.name, result); \n offset -= 16;\n \t\t}\n if(website) {\n bytes32ToBytesR(offset, token.website, result); \n offset -= 32;\n \t\t}\n if(email) {\n bytes32ToBytesR(offset, token.email, result); \n offset -= 32;\n \t\t}\n }\n return result;\n }\n}", + "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/TokenBalances.sol", + "ast": { + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/TokenBalances.sol", + "exportedSymbols": { + "TokenBalances": [ + 1922 + ] + }, + "id": 1923, + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1493, + "literals": [ + "solidity", + "^", + "0.4", + ".24" + ], + "nodeType": "PragmaDirective", + "src": "0:24:7" + }, + { + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/Seriality.sol", + "file": "./Seriality/Seriality.sol", + "id": 1494, + "nodeType": "ImportDirective", + "scope": 1923, + "sourceUnit": 1295, + "src": "25:35:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/PublicTokens.sol", + "file": "./PublicTokens.sol", + "id": 1495, + "nodeType": "ImportDirective", + "scope": 1923, + "sourceUnit": 499, + "src": "61:28:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/DummyToken.sol", + "file": "./DummyToken.sol", + "id": 1496, + "nodeType": "ImportDirective", + "scope": 1923, + "sourceUnit": 101, + "src": "90:26:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "baseContracts": [ + { + "arguments": null, + "baseName": { + "contractScope": null, + "id": 1497, + "name": "Seriality", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 1294, + "src": "143:9:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Seriality_$1294", + "typeString": "contract Seriality" + } + }, + "id": 1498, + "nodeType": "InheritanceSpecifier", + "src": "143:9:7" + } + ], + "contractDependencies": [ + 1278, + 1294, + 1370, + 1491 + ], + "contractKind": "contract", + "documentation": null, + "fullyImplemented": true, + "id": 1922, + "linearizedBaseContracts": [ + 1922, + 1294, + 1370, + 1491, + 1278 + ], + "name": "TokenBalances", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "TokenBalances.Token", + "id": 1515, + "members": [ + { + "constant": false, + "id": 1500, + "name": "name", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "181:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 1499, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "181:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1502, + "name": "symbol", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "224:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 1501, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "224:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1504, + "name": "addr", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "272:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1503, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "272:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1506, + "name": "erc", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "327:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 1505, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "327:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1508, + "name": "decimals", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "381:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + "typeName": { + "id": 1507, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "381:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1510, + "name": "website", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "430:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1509, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "430:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1512, + "name": "email", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "481:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1511, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "481:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1514, + "name": "isValid", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "534:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1513, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "534:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "name": "Token", + "nodeType": "StructDefinition", + "scope": 1922, + "src": "158:431:7", + "visibility": "public" + }, + { + "constant": false, + "id": 1517, + "name": "pubT", + "nodeType": "VariableDeclaration", + "scope": 1922, + "src": "594:17:7", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + }, + "typeName": { + "contractScope": null, + "id": 1516, + "name": "PublicTokens", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 498, + "src": "594:12:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "value": null, + "visibility": "internal" + }, + { + "body": { + "id": 1528, + "nodeType": "Block", + "src": "658:50:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1526, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1522, + "name": "pubT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1517, + "src": "668:4:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1524, + "name": "tokenStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1519, + "src": "688:12:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1523, + "name": "PublicTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 498, + "src": "675:12:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_PublicTokens_$498_$", + "typeString": "type(contract PublicTokens)" + } + }, + "id": 1525, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "675:26:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "src": "668:33:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "id": 1527, + "nodeType": "ExpressionStatement", + "src": "668:33:7" + } + ] + }, + "documentation": null, + "id": 1529, + "implemented": true, + "isConstructor": true, + "isDeclaredConst": false, + "modifiers": [], + "name": "", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1520, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1519, + "name": "tokenStorage", + "nodeType": "VariableDeclaration", + "scope": 1529, + "src": "629:20:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1518, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "629:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "628:22:7" + }, + "payable": false, + "returnParameters": { + "id": 1521, + "nodeType": "ParameterList", + "parameters": [], + "src": "658:0:7" + }, + "scope": 1922, + "src": "617:91:7", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 1536, + "nodeType": "Block", + "src": "769:28:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1534, + "name": "pubT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1517, + "src": "786:4:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "functionReturnParameters": 1533, + "id": 1535, + "nodeType": "Return", + "src": "779:11:7" + } + ] + }, + "documentation": null, + "id": 1537, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getTokenStorage", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1530, + "nodeType": "ParameterList", + "parameters": [], + "src": "737:2:7" + }, + "payable": false, + "returnParameters": { + "id": 1533, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1532, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1537, + "src": "761:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1531, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "761:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "760:9:7" + }, + "scope": 1922, + "src": "713:84:7", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 1552, + "nodeType": "Block", + "src": "865:120:7", + "statements": [ + { + "assignments": [], + "declarations": [ + { + "constant": false, + "id": 1545, + "name": "size", + "nodeType": "VariableDeclaration", + "scope": 1553, + "src": "875:11:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 1544, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "875:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1546, + "initialValue": null, + "nodeType": "VariableDeclarationStatement", + "src": "875:11:7" + }, + { + "externalReferences": [ + { + "size": { + "declaration": 1545, + "isOffset": false, + "isSlot": false, + "src": "919:4:7", + "valueSize": 1 + } + }, + { + "addr": { + "declaration": 1539, + "isOffset": false, + "isSlot": false, + "src": "939:4:7", + "valueSize": 1 + } + } + ], + "id": 1547, + "nodeType": "InlineAssembly", + "operations": "{\n size := extcodesize(addr)\n}", + "src": "896:73:7" + }, + { + "expression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "id": 1550, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1548, + "name": "size", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1545, + "src": "970:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 1549, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "977:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "970:8:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1543, + "id": 1551, + "nodeType": "Return", + "src": "963:15:7" + } + ] + }, + "documentation": null, + "id": 1553, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "isContract", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1540, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1539, + "name": "addr", + "nodeType": "VariableDeclaration", + "scope": 1553, + "src": "822:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1538, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "822:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "821:14:7" + }, + "payable": false, + "returnParameters": { + "id": 1543, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1542, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1553, + "src": "859:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1541, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "859:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "858:6:7" + }, + "scope": 1922, + "src": "802:183:7", + "stateMutability": "view", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1584, + "nodeType": "Block", + "src": "1053:146:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1582, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1560, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1064:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1562, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "name", + "nodeType": "MemberAccess", + "referencedDeclaration": 1500, + "src": "1064:10:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1563, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1076:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1564, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "symbol", + "nodeType": "MemberAccess", + "referencedDeclaration": 1502, + "src": "1076:12:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1565, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1090:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1566, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 1504, + "src": "1090:10:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1567, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1102:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1568, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "erc", + "nodeType": "MemberAccess", + "referencedDeclaration": 1506, + "src": "1102:9:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1569, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1113:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1570, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "decimals", + "nodeType": "MemberAccess", + "referencedDeclaration": 1508, + "src": "1113:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1571, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1129:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1572, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "website", + "nodeType": "MemberAccess", + "referencedDeclaration": 1510, + "src": "1129:13:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1573, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1144:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1574, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 1512, + "src": "1144:11:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1575, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1157:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1576, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "isValid", + "nodeType": "MemberAccess", + "referencedDeclaration": 1514, + "src": "1157:13:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 1577, + "isConstant": false, + "isInlineArray": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "TupleExpression", + "src": "1063:108:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint32_$_t_uint8_$_t_bytes32_$_t_bytes32_$_t_bool_$", + "typeString": "tuple(bytes16,bytes16,address,uint32,uint8,bytes32,bytes32,bool)" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1580, + "name": "id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1555, + "src": "1189:2:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "argumentTypes": null, + "id": 1578, + "name": "pubT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1517, + "src": "1174:4:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "id": 1579, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "pubTokens", + "nodeType": "MemberAccess", + "referencedDeclaration": 131, + "src": "1174:14:7", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint32_$_t_uint8_$_t_bytes32_$_t_bytes32_$_t_bool_$", + "typeString": "function (uint256) view external returns (bytes16,bytes16,address,uint32,uint8,bytes32,bytes32,bool)" + } + }, + "id": 1581, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1174:18:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint32_$_t_uint8_$_t_bytes32_$_t_bytes32_$_t_bool_$", + "typeString": "tuple(bytes16,bytes16,address,uint32,uint8,bytes32,bytes32,bool)" + } + }, + "src": "1063:129:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1583, + "nodeType": "ExpressionStatement", + "src": "1063:129:7" + } + ] + }, + "documentation": null, + "id": 1585, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getToken", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1556, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1555, + "name": "id", + "nodeType": "VariableDeclaration", + "scope": 1585, + "src": "1008:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1554, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1008:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1007:9:7" + }, + "payable": false, + "returnParameters": { + "id": 1559, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1558, + "name": "token", + "nodeType": "VariableDeclaration", + "scope": 1585, + "src": "1040:11:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token" + }, + "typeName": { + "contractScope": null, + "id": 1557, + "name": "Token", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 1515, + "src": "1040:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_storage_ptr", + "typeString": "struct TokenBalances.Token" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1039:13:7" + }, + "scope": 1922, + "src": "990:209:7", + "stateMutability": "view", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1605, + "nodeType": "Block", + "src": "1307:957:7", + "statements": [ + { + "assignments": [ + 1597 + ], + "declarations": [ + { + "constant": false, + "id": 1597, + "name": "sig", + "nodeType": "VariableDeclaration", + "scope": 1606, + "src": "1317:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 1596, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "1317:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1603, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "62616c616e63654f66286164647265737329", + "id": 1600, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1347:20:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70a08231b98ef4ca268c9cc3f6b4590e4bfec28280db06bb5d45e689f2a360be", + "typeString": "literal_string \"balanceOf(address)\"" + }, + "value": "balanceOf(address)" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_70a08231b98ef4ca268c9cc3f6b4590e4bfec28280db06bb5d45e689f2a360be", + "typeString": "literal_string \"balanceOf(address)\"" + } + ], + "id": 1599, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1931, + "src": "1337:9:7", + "typeDescriptions": { + "typeIdentifier": "t_function_sha3_pure$__$returns$_t_bytes32_$", + "typeString": "function () pure returns (bytes32)" + } + }, + "id": 1601, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1337:31:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1598, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1330:6:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes4_$", + "typeString": "type(bytes4)" + }, + "typeName": "bytes4" + }, + "id": 1602, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1330:39:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1317:52:7" + }, + { + "externalReferences": [ + { + "bal": { + "declaration": 1594, + "isOffset": false, + "isSlot": false, + "src": "2088:3:7", + "valueSize": 1 + } + }, + { + "sig": { + "declaration": 1597, + "isOffset": false, + "isSlot": false, + "src": "1543:3:7", + "valueSize": 1 + } + }, + { + "tokenAddr": { + "declaration": 1587, + "isOffset": false, + "isSlot": false, + "src": "1725:9:7", + "valueSize": 1 + } + }, + { + "addr": { + "declaration": 1589, + "isOffset": false, + "isSlot": false, + "src": "1632:4:7", + "valueSize": 1 + } + }, + { + "bal": { + "declaration": 1594, + "isOffset": false, + "isSlot": false, + "src": "2125:3:7", + "valueSize": 1 + } + } + ], + "id": 1604, + "nodeType": "InlineAssembly", + "operations": "{\n let ptr := mload(0x40)\n mstore(ptr, sig)\n mstore(add(ptr, 0x04), addr)\n let result := call(15000, sload(tokenAddr), 0, ptr, 0x18, ptr, 0x20)\n if eq(result, 0)\n {\n bal := 0\n }\n bal := mload(ptr)\n mstore(0x40, add(ptr, 0x20))\n}", + "src": "1379:885:7" + } + ] + }, + "documentation": null, + "id": 1606, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getTokenBalance", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1592, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1587, + "name": "tokenAddr", + "nodeType": "VariableDeclaration", + "scope": 1606, + "src": "1229:17:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1586, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1229:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1589, + "name": "addr", + "nodeType": "VariableDeclaration", + "scope": 1606, + "src": "1248:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1588, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1248:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1591, + "name": "erc", + "nodeType": "VariableDeclaration", + "scope": 1606, + "src": "1262:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 1590, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "1262:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1228:45:7" + }, + "payable": false, + "returnParameters": { + "id": 1595, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1594, + "name": "bal", + "nodeType": "VariableDeclaration", + "scope": 1606, + "src": "1297:8:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1593, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1297:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1296:10:7" + }, + "scope": 1922, + "src": "1204:1060:7", + "stateMutability": "view", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1920, + "nodeType": "Block", + "src": "2386:2320:7", + "statements": [ + { + "assignments": [], + "declarations": [ + { + "constant": false, + "id": 1622, + "name": "count", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2396:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1621, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2396:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1623, + "initialValue": null, + "nodeType": "VariableDeclarationStatement", + "src": "2396:10:7" + }, + { + "assignments": [ + 1625 + ], + "declarations": [ + { + "constant": false, + "id": 1625, + "name": "tOwner", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2416:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1624, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2416:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1627, + "initialValue": { + "argumentTypes": null, + "id": 1626, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1608, + "src": "2433:6:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2416:23:7" + }, + { + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1630, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1628, + "name": "_count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1616, + "src": "2452:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 1629, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2462:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2452:11:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "expression": { + "argumentTypes": null, + "id": 1639, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1637, + "name": "count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1622, + "src": "2499:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 1638, + "name": "_count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1616, + "src": "2507:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2499:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1640, + "nodeType": "ExpressionStatement", + "src": "2499:14:7" + }, + "id": 1641, + "nodeType": "IfStatement", + "src": "2449:64:7", + "trueBody": { + "expression": { + "argumentTypes": null, + "id": 1635, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1631, + "name": "count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1622, + "src": "2465:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "argumentTypes": null, + "id": 1632, + "name": "pubT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1517, + "src": "2473:4:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "id": 1633, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "tokenCount", + "nodeType": "MemberAccess", + "referencedDeclaration": 105, + "src": "2473:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 1634, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2473:17:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2465:25:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1636, + "nodeType": "ExpressionStatement", + "src": "2465:25:7" + } + }, + { + "assignments": [ + 1645 + ], + "declarations": [ + { + "constant": false, + "id": 1645, + "name": "validTokens", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2523:25:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", + "typeString": "bool[]" + }, + "typeName": { + "baseType": { + "id": 1643, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2523:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1644, + "length": null, + "nodeType": "ArrayTypeName", + "src": "2523:6:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_storage_ptr", + "typeString": "bool[]" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1653, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1651, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1649, + "name": "count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1622, + "src": "2562:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 1650, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2568:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "2562:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1648, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "2551:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bool_$dyn_memory_$", + "typeString": "function (uint256) pure returns (bool[] memory)" + }, + "typeName": { + "baseType": { + "id": 1646, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2555:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1647, + "length": null, + "nodeType": "ArrayTypeName", + "src": "2555:6:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_storage_ptr", + "typeString": "bool[]" + } + } + }, + "id": 1652, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2551:19:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_memory", + "typeString": "bool[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2523:47:7" + }, + { + "assignments": [ + 1655 + ], + "declarations": [ + { + "constant": false, + "id": 1655, + "name": "bufferSize", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2580:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1654, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2580:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1657, + "initialValue": { + "argumentTypes": null, + "hexValue": "3333", + "id": 1656, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2598:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_33_by_1", + "typeString": "int_const 33" + }, + "value": "33" + }, + "nodeType": "VariableDeclarationStatement", + "src": "2580:20:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1660, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1658, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "2677:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "33", + "id": 1659, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2691:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "src": "2677:15:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1661, + "nodeType": "ExpressionStatement", + "src": "2677:15:7" + }, + { + "assignments": [ + 1663 + ], + "declarations": [ + { + "constant": false, + "id": 1663, + "name": "countValidTokens", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2729:21:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1662, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2729:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1665, + "initialValue": { + "argumentTypes": null, + "hexValue": "30", + "id": 1664, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2753:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "2729:25:7" + }, + { + "body": { + "id": 1729, + "nodeType": "Block", + "src": "2796:491:7", + "statements": [ + { + "assignments": [ + 1677 + ], + "declarations": [ + { + "constant": false, + "id": 1677, + "name": "token", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2810:18:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token" + }, + "typeName": { + "contractScope": null, + "id": 1676, + "name": "Token", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 1515, + "src": "2810:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_storage_ptr", + "typeString": "struct TokenBalances.Token" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1681, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1679, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "2840:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1678, + "name": "getToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1585, + "src": "2831:8:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_Token_$1515_memory_ptr_$", + "typeString": "function (uint256) view returns (struct TokenBalances.Token memory)" + } + }, + "id": 1680, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2831:11:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2810:32:7" + }, + { + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 1688, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1682, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "2859:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1683, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "isValid", + "nodeType": "MemberAccess", + "referencedDeclaration": 1514, + "src": "2859:13:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "&&", + "rightExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1685, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "2887:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1686, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 1504, + "src": "2887:10:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1684, + "name": "isContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1553, + "src": "2876:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", + "typeString": "function (address) view returns (bool)" + } + }, + "id": 1687, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2876:22:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "2859:39:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 1727, + "nodeType": "Block", + "src": "3222:55:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1725, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1721, + "name": "validTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1645, + "src": "3240:11:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", + "typeString": "bool[] memory" + } + }, + "id": 1723, + "indexExpression": { + "argumentTypes": null, + "id": 1722, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "3252:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3240:14:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 1724, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3257:5:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "3240:22:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1726, + "nodeType": "ExpressionStatement", + "src": "3240:22:7" + } + ] + }, + "id": 1728, + "nodeType": "IfStatement", + "src": "2856:421:7", + "trueBody": { + "id": 1720, + "nodeType": "Block", + "src": "2899:317:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1693, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1689, + "name": "validTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1645, + "src": "2917:11:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", + "typeString": "bool[] memory" + } + }, + "id": 1691, + "indexExpression": { + "argumentTypes": null, + "id": 1690, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "2929:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2917:14:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 1692, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2934:4:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "2917:21:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1694, + "nodeType": "ExpressionStatement", + "src": "2917:21:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1696, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "2956:18:7", + "subExpression": { + "argumentTypes": null, + "id": 1695, + "name": "countValidTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1663, + "src": "2956:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1697, + "nodeType": "ExpressionStatement", + "src": "2956:18:7" + }, + { + "condition": { + "argumentTypes": null, + "id": 1698, + "name": "name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1610, + "src": "2995:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1703, + "nodeType": "IfStatement", + "src": "2992:25:7", + "trueBody": { + "expression": { + "argumentTypes": null, + "id": 1701, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1699, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "3001:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3136", + "id": 1700, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3015:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "3001:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1702, + "nodeType": "ExpressionStatement", + "src": "3001:16:7" + } + }, + { + "condition": { + "argumentTypes": null, + "id": 1704, + "name": "website", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1612, + "src": "3038:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1709, + "nodeType": "IfStatement", + "src": "3035:28:7", + "trueBody": { + "expression": { + "argumentTypes": null, + "id": 1707, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1705, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "3047:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3332", + "id": 1706, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3061:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "3047:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1708, + "nodeType": "ExpressionStatement", + "src": "3047:16:7" + } + }, + { + "condition": { + "argumentTypes": null, + "id": 1710, + "name": "email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1614, + "src": "3084:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1715, + "nodeType": "IfStatement", + "src": "3081:26:7", + "trueBody": { + "expression": { + "argumentTypes": null, + "id": 1713, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1711, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "3091:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3332", + "id": 1712, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3105:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "3091:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1714, + "nodeType": "ExpressionStatement", + "src": "3091:16:7" + } + }, + { + "expression": { + "argumentTypes": null, + "id": 1718, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1716, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "3125:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3733", + "id": 1717, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3139:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_73_by_1", + "typeString": "int_const 73" + }, + "value": "73" + }, + "src": "3125:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1719, + "nodeType": "ExpressionStatement", + "src": "3125:16:7" + } + ] + } + } + ] + }, + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1672, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1670, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "2780:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<=", + "rightExpression": { + "argumentTypes": null, + "id": 1671, + "name": "count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1622, + "src": "2785:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2780:10:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1730, + "initializationExpression": { + "assignments": [ + 1667 + ], + "declarations": [ + { + "constant": false, + "id": 1667, + "name": "i", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2768:6:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1666, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2768:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1669, + "initialValue": { + "argumentTypes": null, + "hexValue": "31", + "id": 1668, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2777:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "nodeType": "VariableDeclarationStatement", + "src": "2768:10:7" + }, + "loopExpression": { + "expression": { + "argumentTypes": null, + "id": 1674, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "2792:3:7", + "subExpression": { + "argumentTypes": null, + "id": 1673, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "2792:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1675, + "nodeType": "ExpressionStatement", + "src": "2792:3:7" + }, + "nodeType": "ForStatement", + "src": "2764:523:7" + }, + { + "assignments": [ + 1732 + ], + "declarations": [ + { + "constant": false, + "id": 1732, + "name": "result", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "3296:19:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1731, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3296:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1737, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1735, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "3328:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1734, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "3318:9:7", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 1733, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3322:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 1736, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3318:21:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3296:43:7" + }, + { + "assignments": [ + 1739 + ], + "declarations": [ + { + "constant": false, + "id": 1739, + "name": "offset", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "3349:11:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1738, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3349:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1741, + "initialValue": { + "argumentTypes": null, + "id": 1740, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "3363:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3349:24:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1743, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3412:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "hexValue": "74727565", + "id": 1744, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3420:4:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + { + "argumentTypes": null, + "id": 1745, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3426:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1742, + "name": "boolToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1440, + "src": "3400:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bool,bytes memory) pure" + } + }, + "id": 1746, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3400:33:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1747, + "nodeType": "ExpressionStatement", + "src": "3400:33:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1750, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1748, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3444:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 1749, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3454:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3444:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1751, + "nodeType": "ExpressionStatement", + "src": "3444:11:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1753, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3477:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1754, + "name": "countValidTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1663, + "src": "3485:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1755, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3503:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1752, + "name": "uintToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1490, + "src": "3465:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,uint256,bytes memory) pure" + } + }, + "id": 1756, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3465:45:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1757, + "nodeType": "ExpressionStatement", + "src": "3465:45:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1760, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1758, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3521:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3332", + "id": 1759, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3531:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "3521:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1761, + "nodeType": "ExpressionStatement", + "src": "3521:12:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1763, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3555:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1764, + "name": "name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1610, + "src": "3563:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "id": 1765, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3569:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1762, + "name": "boolToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1440, + "src": "3543:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bool,bytes memory) pure" + } + }, + "id": 1766, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3543:33:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1767, + "nodeType": "ExpressionStatement", + "src": "3543:33:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1770, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1768, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3587:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 1769, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3597:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3587:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1771, + "nodeType": "ExpressionStatement", + "src": "3587:11:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1773, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3620:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1774, + "name": "website", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1612, + "src": "3628:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "id": 1775, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3637:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1772, + "name": "boolToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1440, + "src": "3608:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bool,bytes memory) pure" + } + }, + "id": 1776, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3608:36:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1777, + "nodeType": "ExpressionStatement", + "src": "3608:36:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1780, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1778, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3655:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 1779, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3665:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3655:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1781, + "nodeType": "ExpressionStatement", + "src": "3655:11:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1783, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3688:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1784, + "name": "email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1614, + "src": "3696:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "id": 1785, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3703:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1782, + "name": "boolToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1440, + "src": "3676:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bool,bytes memory) pure" + } + }, + "id": 1786, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3676:34:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1787, + "nodeType": "ExpressionStatement", + "src": "3676:34:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1790, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1788, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3721:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 1789, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3731:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3721:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1791, + "nodeType": "ExpressionStatement", + "src": "3721:11:7" + }, + { + "body": { + "id": 1916, + "nodeType": "Block", + "src": "3769:908:7", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 1805, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3786:15:7", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1802, + "name": "validTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1645, + "src": "3787:11:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", + "typeString": "bool[] memory" + } + }, + "id": 1804, + "indexExpression": { + "argumentTypes": null, + "id": 1803, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "3799:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3787:14:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1807, + "nodeType": "IfStatement", + "src": "3783:28:7", + "trueBody": { + "id": 1806, + "nodeType": "Continue", + "src": "3803:8:7" + } + }, + { + "expression": { + "argumentTypes": null, + "id": 1812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1808, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "3825:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1810, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "3842:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1809, + "name": "getToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1585, + "src": "3833:8:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_Token_$1515_memory_ptr_$", + "typeString": "function (uint256) view returns (struct TokenBalances.Token memory)" + } + }, + "id": 1811, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3833:11:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "src": "3825:19:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1813, + "nodeType": "ExpressionStatement", + "src": "3825:19:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1815, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3874:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1816, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "3882:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1817, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "symbol", + "nodeType": "MemberAccess", + "referencedDeclaration": 1502, + "src": "3882:12:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + { + "argumentTypes": null, + "id": 1818, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3896:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1814, + "name": "bytes16ToBytesR", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1398, + "src": "3858:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes16_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bytes16,bytes memory)" + } + }, + "id": 1819, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3858:45:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1820, + "nodeType": "ExpressionStatement", + "src": "3858:45:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1823, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1821, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3918:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3136", + "id": 1822, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3928:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "3918:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1824, + "nodeType": "ExpressionStatement", + "src": "3918:12:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1826, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3959:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1827, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "3967:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1828, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 1504, + "src": "3967:10:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1829, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3979:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1825, + "name": "addressToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1387, + "src": "3944:14:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,address,bytes memory) pure" + } + }, + "id": 1830, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3944:42:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1831, + "nodeType": "ExpressionStatement", + "src": "3944:42:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1834, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1832, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4001:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3230", + "id": 1833, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4011:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + }, + "value": "20" + }, + "src": "4001:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1835, + "nodeType": "ExpressionStatement", + "src": "4001:12:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1837, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4039:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1838, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4047:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1839, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "erc", + "nodeType": "MemberAccess", + "referencedDeclaration": 1506, + "src": "4047:9:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + { + "argumentTypes": null, + "id": 1840, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4058:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1836, + "name": "uintToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1490, + "src": "4027:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,uint256,bytes memory) pure" + } + }, + "id": 1841, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4027:38:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1842, + "nodeType": "ExpressionStatement", + "src": "4027:38:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1845, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1843, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4080:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "34", + "id": 1844, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4090:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "4080:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1846, + "nodeType": "ExpressionStatement", + "src": "4080:11:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1848, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4117:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1849, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4125:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1850, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "decimals", + "nodeType": "MemberAccess", + "referencedDeclaration": 1508, + "src": "4125:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + { + "argumentTypes": null, + "id": 1851, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4141:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1847, + "name": "uintToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1490, + "src": "4105:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,uint256,bytes memory) pure" + } + }, + "id": 1852, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4105:43:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1853, + "nodeType": "ExpressionStatement", + "src": "4105:43:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1856, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1854, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4163:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 1855, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4173:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "4163:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1857, + "nodeType": "ExpressionStatement", + "src": "4163:11:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1859, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4200:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1861, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4224:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1862, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 1504, + "src": "4224:10:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1863, + "name": "tOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1625, + "src": "4236:6:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1864, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4244:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1865, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "erc", + "nodeType": "MemberAccess", + "referencedDeclaration": 1506, + "src": "4244:9:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + ], + "id": 1860, + "name": "getTokenBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1606, + "src": "4208:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint32_$returns$_t_uint256_$", + "typeString": "function (address,address,uint32) view returns (uint256)" + } + }, + "id": 1866, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4208:46:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1867, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4256:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1858, + "name": "uintToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1490, + "src": "4188:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,uint256,bytes memory) pure" + } + }, + "id": 1868, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4188:75:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1869, + "nodeType": "ExpressionStatement", + "src": "4188:75:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1872, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1870, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4278:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3332", + "id": 1871, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4288:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "4278:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1873, + "nodeType": "ExpressionStatement", + "src": "4278:12:7" + }, + { + "condition": { + "argumentTypes": null, + "id": 1874, + "name": "name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1610, + "src": "4307:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1887, + "nodeType": "IfStatement", + "src": "4304:109:7", + "trueBody": { + "id": 1886, + "nodeType": "Block", + "src": "4312:101:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1876, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4346:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1877, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4354:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1878, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "name", + "nodeType": "MemberAccess", + "referencedDeclaration": 1500, + "src": "4354:10:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + { + "argumentTypes": null, + "id": 1879, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4366:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1875, + "name": "bytes16ToBytesR", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1398, + "src": "4330:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes16_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bytes16,bytes memory)" + } + }, + "id": 1880, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4330:43:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1881, + "nodeType": "ExpressionStatement", + "src": "4330:43:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1884, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1882, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4392:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3136", + "id": 1883, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4402:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "4392:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1885, + "nodeType": "ExpressionStatement", + "src": "4392:12:7" + } + ] + } + }, + { + "condition": { + "argumentTypes": null, + "id": 1888, + "name": "website", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1612, + "src": "4429:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1901, + "nodeType": "IfStatement", + "src": "4426:116:7", + "trueBody": { + "id": 1900, + "nodeType": "Block", + "src": "4438:104:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1890, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4472:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1891, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4480:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1892, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "website", + "nodeType": "MemberAccess", + "referencedDeclaration": 1510, + "src": "4480:13:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "id": 1893, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4495:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1889, + "name": "bytes32ToBytesR", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1409, + "src": "4456:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bytes32,bytes memory)" + } + }, + "id": 1894, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4456:46:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1895, + "nodeType": "ExpressionStatement", + "src": "4456:46:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1898, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1896, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4521:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3332", + "id": 1897, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4531:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "4521:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1899, + "nodeType": "ExpressionStatement", + "src": "4521:12:7" + } + ] + } + }, + { + "condition": { + "argumentTypes": null, + "id": 1902, + "name": "email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1614, + "src": "4558:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1915, + "nodeType": "IfStatement", + "src": "4555:112:7", + "trueBody": { + "id": 1914, + "nodeType": "Block", + "src": "4565:102:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1904, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4599:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1905, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4607:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1906, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 1512, + "src": "4607:11:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "id": 1907, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4620:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1903, + "name": "bytes32ToBytesR", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1409, + "src": "4583:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bytes32,bytes memory)" + } + }, + "id": 1908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4583:44:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1909, + "nodeType": "ExpressionStatement", + "src": "4583:44:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1912, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1910, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4646:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3332", + "id": 1911, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4656:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "4646:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1913, + "nodeType": "ExpressionStatement", + "src": "4646:12:7" + } + ] + } + } + ] + }, + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1798, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1796, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "3753:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<=", + "rightExpression": { + "argumentTypes": null, + "id": 1797, + "name": "count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1622, + "src": "3758:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3753:10:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1917, + "initializationExpression": { + "expression": { + "argumentTypes": null, + "id": 1794, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1792, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "3746:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 1793, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3750:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3746:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1795, + "nodeType": "ExpressionStatement", + "src": "3746:5:7" + }, + "loopExpression": { + "expression": { + "argumentTypes": null, + "id": 1800, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "3765:3:7", + "subExpression": { + "argumentTypes": null, + "id": 1799, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "3765:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1801, + "nodeType": "ExpressionStatement", + "src": "3765:3:7" + }, + "nodeType": "ForStatement", + "src": "3742:935:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1918, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4693:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 1620, + "id": 1919, + "nodeType": "Return", + "src": "4686:13:7" + } + ] + }, + "documentation": null, + "id": 1921, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getAllBalance", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1617, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1608, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2292:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1607, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2292:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1610, + "name": "name", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2308:9:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1609, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2308:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1612, + "name": "website", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2319:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1611, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2319:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1614, + "name": "email", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2333:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1613, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2333:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1616, + "name": "_count", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2345:11:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1615, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2345:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2291:66:7" + }, + "payable": false, + "returnParameters": { + "id": 1620, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1619, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2379:5:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1618, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2379:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2378:7:7" + }, + "scope": 1922, + "src": "2269:2437:7", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + } + ], + "scope": 1923, + "src": "117:4591:7" + } + ], + "src": "0:4708:7" + }, + "legacyAST": { + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/TokenBalances.sol", + "exportedSymbols": { + "TokenBalances": [ + 1922 + ] + }, + "id": 1923, + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1493, + "literals": [ + "solidity", + "^", + "0.4", + ".24" + ], + "nodeType": "PragmaDirective", + "src": "0:24:7" + }, + { + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/Seriality.sol", + "file": "./Seriality/Seriality.sol", + "id": 1494, + "nodeType": "ImportDirective", + "scope": 1923, + "sourceUnit": 1295, + "src": "25:35:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/PublicTokens.sol", + "file": "./PublicTokens.sol", + "id": 1495, + "nodeType": "ImportDirective", + "scope": 1923, + "sourceUnit": 499, + "src": "61:28:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/DummyToken.sol", + "file": "./DummyToken.sol", + "id": 1496, + "nodeType": "ImportDirective", + "scope": 1923, + "sourceUnit": 101, + "src": "90:26:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "baseContracts": [ + { + "arguments": null, + "baseName": { + "contractScope": null, + "id": 1497, + "name": "Seriality", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 1294, + "src": "143:9:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Seriality_$1294", + "typeString": "contract Seriality" + } + }, + "id": 1498, + "nodeType": "InheritanceSpecifier", + "src": "143:9:7" + } + ], + "contractDependencies": [ + 1278, + 1294, + 1370, + 1491 + ], + "contractKind": "contract", + "documentation": null, + "fullyImplemented": true, + "id": 1922, + "linearizedBaseContracts": [ + 1922, + 1294, + 1370, + 1491, + 1278 + ], + "name": "TokenBalances", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "TokenBalances.Token", + "id": 1515, + "members": [ + { + "constant": false, + "id": 1500, + "name": "name", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "181:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 1499, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "181:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1502, + "name": "symbol", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "224:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 1501, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "224:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1504, + "name": "addr", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "272:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1503, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "272:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1506, + "name": "erc", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "327:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 1505, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "327:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1508, + "name": "decimals", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "381:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + "typeName": { + "id": 1507, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "381:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1510, + "name": "website", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "430:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1509, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "430:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1512, + "name": "email", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "481:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1511, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "481:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1514, + "name": "isValid", + "nodeType": "VariableDeclaration", + "scope": 1515, + "src": "534:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1513, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "534:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "name": "Token", + "nodeType": "StructDefinition", + "scope": 1922, + "src": "158:431:7", + "visibility": "public" + }, + { + "constant": false, + "id": 1517, + "name": "pubT", + "nodeType": "VariableDeclaration", + "scope": 1922, + "src": "594:17:7", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + }, + "typeName": { + "contractScope": null, + "id": 1516, + "name": "PublicTokens", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 498, + "src": "594:12:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "value": null, + "visibility": "internal" + }, + { + "body": { + "id": 1528, + "nodeType": "Block", + "src": "658:50:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1526, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1522, + "name": "pubT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1517, + "src": "668:4:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1524, + "name": "tokenStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1519, + "src": "688:12:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1523, + "name": "PublicTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 498, + "src": "675:12:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_PublicTokens_$498_$", + "typeString": "type(contract PublicTokens)" + } + }, + "id": 1525, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "675:26:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "src": "668:33:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "id": 1527, + "nodeType": "ExpressionStatement", + "src": "668:33:7" + } + ] + }, + "documentation": null, + "id": 1529, + "implemented": true, + "isConstructor": true, + "isDeclaredConst": false, + "modifiers": [], + "name": "", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1520, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1519, + "name": "tokenStorage", + "nodeType": "VariableDeclaration", + "scope": 1529, + "src": "629:20:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1518, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "629:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "628:22:7" + }, + "payable": false, + "returnParameters": { + "id": 1521, + "nodeType": "ParameterList", + "parameters": [], + "src": "658:0:7" + }, + "scope": 1922, + "src": "617:91:7", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 1536, + "nodeType": "Block", + "src": "769:28:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1534, + "name": "pubT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1517, + "src": "786:4:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "functionReturnParameters": 1533, + "id": 1535, + "nodeType": "Return", + "src": "779:11:7" + } + ] + }, + "documentation": null, + "id": 1537, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getTokenStorage", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1530, + "nodeType": "ParameterList", + "parameters": [], + "src": "737:2:7" + }, + "payable": false, + "returnParameters": { + "id": 1533, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1532, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1537, + "src": "761:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1531, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "761:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "760:9:7" + }, + "scope": 1922, + "src": "713:84:7", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 1552, + "nodeType": "Block", + "src": "865:120:7", + "statements": [ + { + "assignments": [], + "declarations": [ + { + "constant": false, + "id": 1545, + "name": "size", + "nodeType": "VariableDeclaration", + "scope": 1553, + "src": "875:11:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 1544, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "875:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1546, + "initialValue": null, + "nodeType": "VariableDeclarationStatement", + "src": "875:11:7" + }, + { + "externalReferences": [ + { + "size": { + "declaration": 1545, + "isOffset": false, + "isSlot": false, + "src": "919:4:7", + "valueSize": 1 + } + }, + { + "addr": { + "declaration": 1539, + "isOffset": false, + "isSlot": false, + "src": "939:4:7", + "valueSize": 1 + } + } + ], + "id": 1547, + "nodeType": "InlineAssembly", + "operations": "{\n size := extcodesize(addr)\n}", + "src": "896:73:7" + }, + { + "expression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "id": 1550, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1548, + "name": "size", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1545, + "src": "970:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 1549, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "977:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "970:8:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1543, + "id": 1551, + "nodeType": "Return", + "src": "963:15:7" + } + ] + }, + "documentation": null, + "id": 1553, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "isContract", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1540, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1539, + "name": "addr", + "nodeType": "VariableDeclaration", + "scope": 1553, + "src": "822:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1538, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "822:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "821:14:7" + }, + "payable": false, + "returnParameters": { + "id": 1543, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1542, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1553, + "src": "859:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1541, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "859:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "858:6:7" + }, + "scope": 1922, + "src": "802:183:7", + "stateMutability": "view", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1584, + "nodeType": "Block", + "src": "1053:146:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1582, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1560, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1064:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1562, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "name", + "nodeType": "MemberAccess", + "referencedDeclaration": 1500, + "src": "1064:10:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1563, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1076:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1564, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "symbol", + "nodeType": "MemberAccess", + "referencedDeclaration": 1502, + "src": "1076:12:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1565, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1090:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1566, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 1504, + "src": "1090:10:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1567, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1102:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1568, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "erc", + "nodeType": "MemberAccess", + "referencedDeclaration": 1506, + "src": "1102:9:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1569, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1113:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1570, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "decimals", + "nodeType": "MemberAccess", + "referencedDeclaration": 1508, + "src": "1113:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1571, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1129:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1572, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "website", + "nodeType": "MemberAccess", + "referencedDeclaration": 1510, + "src": "1129:13:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1573, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1144:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1574, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 1512, + "src": "1144:11:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1575, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1558, + "src": "1157:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1576, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "isValid", + "nodeType": "MemberAccess", + "referencedDeclaration": 1514, + "src": "1157:13:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 1577, + "isConstant": false, + "isInlineArray": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "TupleExpression", + "src": "1063:108:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint32_$_t_uint8_$_t_bytes32_$_t_bytes32_$_t_bool_$", + "typeString": "tuple(bytes16,bytes16,address,uint32,uint8,bytes32,bytes32,bool)" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1580, + "name": "id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1555, + "src": "1189:2:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "argumentTypes": null, + "id": 1578, + "name": "pubT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1517, + "src": "1174:4:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "id": 1579, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "pubTokens", + "nodeType": "MemberAccess", + "referencedDeclaration": 131, + "src": "1174:14:7", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint32_$_t_uint8_$_t_bytes32_$_t_bytes32_$_t_bool_$", + "typeString": "function (uint256) view external returns (bytes16,bytes16,address,uint32,uint8,bytes32,bytes32,bool)" + } + }, + "id": 1581, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1174:18:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes16_$_t_bytes16_$_t_address_$_t_uint32_$_t_uint8_$_t_bytes32_$_t_bytes32_$_t_bool_$", + "typeString": "tuple(bytes16,bytes16,address,uint32,uint8,bytes32,bytes32,bool)" + } + }, + "src": "1063:129:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1583, + "nodeType": "ExpressionStatement", + "src": "1063:129:7" + } + ] + }, + "documentation": null, + "id": 1585, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getToken", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1556, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1555, + "name": "id", + "nodeType": "VariableDeclaration", + "scope": 1585, + "src": "1008:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1554, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1008:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1007:9:7" + }, + "payable": false, + "returnParameters": { + "id": 1559, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1558, + "name": "token", + "nodeType": "VariableDeclaration", + "scope": 1585, + "src": "1040:11:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token" + }, + "typeName": { + "contractScope": null, + "id": 1557, + "name": "Token", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 1515, + "src": "1040:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_storage_ptr", + "typeString": "struct TokenBalances.Token" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1039:13:7" + }, + "scope": 1922, + "src": "990:209:7", + "stateMutability": "view", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1605, + "nodeType": "Block", + "src": "1307:957:7", + "statements": [ + { + "assignments": [ + 1597 + ], + "declarations": [ + { + "constant": false, + "id": 1597, + "name": "sig", + "nodeType": "VariableDeclaration", + "scope": 1606, + "src": "1317:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 1596, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "1317:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1603, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "62616c616e63654f66286164647265737329", + "id": 1600, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1347:20:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_70a08231b98ef4ca268c9cc3f6b4590e4bfec28280db06bb5d45e689f2a360be", + "typeString": "literal_string \"balanceOf(address)\"" + }, + "value": "balanceOf(address)" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_70a08231b98ef4ca268c9cc3f6b4590e4bfec28280db06bb5d45e689f2a360be", + "typeString": "literal_string \"balanceOf(address)\"" + } + ], + "id": 1599, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1931, + "src": "1337:9:7", + "typeDescriptions": { + "typeIdentifier": "t_function_sha3_pure$__$returns$_t_bytes32_$", + "typeString": "function () pure returns (bytes32)" + } + }, + "id": 1601, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1337:31:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1598, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1330:6:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes4_$", + "typeString": "type(bytes4)" + }, + "typeName": "bytes4" + }, + "id": 1602, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1330:39:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1317:52:7" + }, + { + "externalReferences": [ + { + "bal": { + "declaration": 1594, + "isOffset": false, + "isSlot": false, + "src": "2088:3:7", + "valueSize": 1 + } + }, + { + "sig": { + "declaration": 1597, + "isOffset": false, + "isSlot": false, + "src": "1543:3:7", + "valueSize": 1 + } + }, + { + "tokenAddr": { + "declaration": 1587, + "isOffset": false, + "isSlot": false, + "src": "1725:9:7", + "valueSize": 1 + } + }, + { + "addr": { + "declaration": 1589, + "isOffset": false, + "isSlot": false, + "src": "1632:4:7", + "valueSize": 1 + } + }, + { + "bal": { + "declaration": 1594, + "isOffset": false, + "isSlot": false, + "src": "2125:3:7", + "valueSize": 1 + } + } + ], + "id": 1604, + "nodeType": "InlineAssembly", + "operations": "{\n let ptr := mload(0x40)\n mstore(ptr, sig)\n mstore(add(ptr, 0x04), addr)\n let result := call(15000, sload(tokenAddr), 0, ptr, 0x18, ptr, 0x20)\n if eq(result, 0)\n {\n bal := 0\n }\n bal := mload(ptr)\n mstore(0x40, add(ptr, 0x20))\n}", + "src": "1379:885:7" + } + ] + }, + "documentation": null, + "id": 1606, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getTokenBalance", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1592, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1587, + "name": "tokenAddr", + "nodeType": "VariableDeclaration", + "scope": 1606, + "src": "1229:17:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1586, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1229:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1589, + "name": "addr", + "nodeType": "VariableDeclaration", + "scope": 1606, + "src": "1248:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1588, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1248:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1591, + "name": "erc", + "nodeType": "VariableDeclaration", + "scope": 1606, + "src": "1262:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + "typeName": { + "id": 1590, + "name": "uint32", + "nodeType": "ElementaryTypeName", + "src": "1262:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1228:45:7" + }, + "payable": false, + "returnParameters": { + "id": 1595, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1594, + "name": "bal", + "nodeType": "VariableDeclaration", + "scope": 1606, + "src": "1297:8:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1593, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1297:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1296:10:7" + }, + "scope": 1922, + "src": "1204:1060:7", + "stateMutability": "view", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1920, + "nodeType": "Block", + "src": "2386:2320:7", + "statements": [ + { + "assignments": [], + "declarations": [ + { + "constant": false, + "id": 1622, + "name": "count", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2396:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1621, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2396:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1623, + "initialValue": null, + "nodeType": "VariableDeclarationStatement", + "src": "2396:10:7" + }, + { + "assignments": [ + 1625 + ], + "declarations": [ + { + "constant": false, + "id": 1625, + "name": "tOwner", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2416:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1624, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2416:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1627, + "initialValue": { + "argumentTypes": null, + "id": 1626, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1608, + "src": "2433:6:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2416:23:7" + }, + { + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1630, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1628, + "name": "_count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1616, + "src": "2452:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 1629, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2462:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2452:11:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "expression": { + "argumentTypes": null, + "id": 1639, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1637, + "name": "count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1622, + "src": "2499:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 1638, + "name": "_count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1616, + "src": "2507:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2499:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1640, + "nodeType": "ExpressionStatement", + "src": "2499:14:7" + }, + "id": 1641, + "nodeType": "IfStatement", + "src": "2449:64:7", + "trueBody": { + "expression": { + "argumentTypes": null, + "id": 1635, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1631, + "name": "count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1622, + "src": "2465:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "argumentTypes": null, + "id": 1632, + "name": "pubT", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1517, + "src": "2473:4:7", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PublicTokens_$498", + "typeString": "contract PublicTokens" + } + }, + "id": 1633, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "tokenCount", + "nodeType": "MemberAccess", + "referencedDeclaration": 105, + "src": "2473:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 1634, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2473:17:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2465:25:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1636, + "nodeType": "ExpressionStatement", + "src": "2465:25:7" + } + }, + { + "assignments": [ + 1645 + ], + "declarations": [ + { + "constant": false, + "id": 1645, + "name": "validTokens", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2523:25:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", + "typeString": "bool[]" + }, + "typeName": { + "baseType": { + "id": 1643, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2523:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1644, + "length": null, + "nodeType": "ArrayTypeName", + "src": "2523:6:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_storage_ptr", + "typeString": "bool[]" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1653, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1651, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1649, + "name": "count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1622, + "src": "2562:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 1650, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2568:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "2562:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1648, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "2551:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bool_$dyn_memory_$", + "typeString": "function (uint256) pure returns (bool[] memory)" + }, + "typeName": { + "baseType": { + "id": 1646, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2555:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1647, + "length": null, + "nodeType": "ArrayTypeName", + "src": "2555:6:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_storage_ptr", + "typeString": "bool[]" + } + } + }, + "id": 1652, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2551:19:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_memory", + "typeString": "bool[] memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2523:47:7" + }, + { + "assignments": [ + 1655 + ], + "declarations": [ + { + "constant": false, + "id": 1655, + "name": "bufferSize", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2580:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1654, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2580:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1657, + "initialValue": { + "argumentTypes": null, + "hexValue": "3333", + "id": 1656, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2598:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_33_by_1", + "typeString": "int_const 33" + }, + "value": "33" + }, + "nodeType": "VariableDeclarationStatement", + "src": "2580:20:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1660, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1658, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "2677:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "33", + "id": 1659, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2691:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "src": "2677:15:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1661, + "nodeType": "ExpressionStatement", + "src": "2677:15:7" + }, + { + "assignments": [ + 1663 + ], + "declarations": [ + { + "constant": false, + "id": 1663, + "name": "countValidTokens", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2729:21:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1662, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2729:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1665, + "initialValue": { + "argumentTypes": null, + "hexValue": "30", + "id": 1664, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2753:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "2729:25:7" + }, + { + "body": { + "id": 1729, + "nodeType": "Block", + "src": "2796:491:7", + "statements": [ + { + "assignments": [ + 1677 + ], + "declarations": [ + { + "constant": false, + "id": 1677, + "name": "token", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2810:18:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token" + }, + "typeName": { + "contractScope": null, + "id": 1676, + "name": "Token", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 1515, + "src": "2810:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_storage_ptr", + "typeString": "struct TokenBalances.Token" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1681, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1679, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "2840:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1678, + "name": "getToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1585, + "src": "2831:8:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_Token_$1515_memory_ptr_$", + "typeString": "function (uint256) view returns (struct TokenBalances.Token memory)" + } + }, + "id": 1680, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2831:11:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2810:32:7" + }, + { + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 1688, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1682, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "2859:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1683, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "isValid", + "nodeType": "MemberAccess", + "referencedDeclaration": 1514, + "src": "2859:13:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "&&", + "rightExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1685, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "2887:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1686, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 1504, + "src": "2887:10:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1684, + "name": "isContract", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1553, + "src": "2876:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", + "typeString": "function (address) view returns (bool)" + } + }, + "id": 1687, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2876:22:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "2859:39:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 1727, + "nodeType": "Block", + "src": "3222:55:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1725, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1721, + "name": "validTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1645, + "src": "3240:11:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", + "typeString": "bool[] memory" + } + }, + "id": 1723, + "indexExpression": { + "argumentTypes": null, + "id": 1722, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "3252:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3240:14:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 1724, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3257:5:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "3240:22:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1726, + "nodeType": "ExpressionStatement", + "src": "3240:22:7" + } + ] + }, + "id": 1728, + "nodeType": "IfStatement", + "src": "2856:421:7", + "trueBody": { + "id": 1720, + "nodeType": "Block", + "src": "2899:317:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1693, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1689, + "name": "validTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1645, + "src": "2917:11:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", + "typeString": "bool[] memory" + } + }, + "id": 1691, + "indexExpression": { + "argumentTypes": null, + "id": 1690, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "2929:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2917:14:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 1692, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2934:4:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "2917:21:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1694, + "nodeType": "ExpressionStatement", + "src": "2917:21:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1696, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "2956:18:7", + "subExpression": { + "argumentTypes": null, + "id": 1695, + "name": "countValidTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1663, + "src": "2956:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1697, + "nodeType": "ExpressionStatement", + "src": "2956:18:7" + }, + { + "condition": { + "argumentTypes": null, + "id": 1698, + "name": "name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1610, + "src": "2995:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1703, + "nodeType": "IfStatement", + "src": "2992:25:7", + "trueBody": { + "expression": { + "argumentTypes": null, + "id": 1701, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1699, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "3001:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3136", + "id": 1700, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3015:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "3001:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1702, + "nodeType": "ExpressionStatement", + "src": "3001:16:7" + } + }, + { + "condition": { + "argumentTypes": null, + "id": 1704, + "name": "website", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1612, + "src": "3038:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1709, + "nodeType": "IfStatement", + "src": "3035:28:7", + "trueBody": { + "expression": { + "argumentTypes": null, + "id": 1707, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1705, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "3047:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3332", + "id": 1706, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3061:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "3047:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1708, + "nodeType": "ExpressionStatement", + "src": "3047:16:7" + } + }, + { + "condition": { + "argumentTypes": null, + "id": 1710, + "name": "email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1614, + "src": "3084:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1715, + "nodeType": "IfStatement", + "src": "3081:26:7", + "trueBody": { + "expression": { + "argumentTypes": null, + "id": 1713, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1711, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "3091:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3332", + "id": 1712, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3105:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "3091:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1714, + "nodeType": "ExpressionStatement", + "src": "3091:16:7" + } + }, + { + "expression": { + "argumentTypes": null, + "id": 1718, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1716, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "3125:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3733", + "id": 1717, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3139:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_73_by_1", + "typeString": "int_const 73" + }, + "value": "73" + }, + "src": "3125:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1719, + "nodeType": "ExpressionStatement", + "src": "3125:16:7" + } + ] + } + } + ] + }, + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1672, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1670, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "2780:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<=", + "rightExpression": { + "argumentTypes": null, + "id": 1671, + "name": "count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1622, + "src": "2785:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2780:10:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1730, + "initializationExpression": { + "assignments": [ + 1667 + ], + "declarations": [ + { + "constant": false, + "id": 1667, + "name": "i", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2768:6:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1666, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2768:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1669, + "initialValue": { + "argumentTypes": null, + "hexValue": "31", + "id": 1668, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2777:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "nodeType": "VariableDeclarationStatement", + "src": "2768:10:7" + }, + "loopExpression": { + "expression": { + "argumentTypes": null, + "id": 1674, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "2792:3:7", + "subExpression": { + "argumentTypes": null, + "id": 1673, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "2792:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1675, + "nodeType": "ExpressionStatement", + "src": "2792:3:7" + }, + "nodeType": "ForStatement", + "src": "2764:523:7" + }, + { + "assignments": [ + 1732 + ], + "declarations": [ + { + "constant": false, + "id": 1732, + "name": "result", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "3296:19:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1731, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3296:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1737, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1735, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "3328:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1734, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "3318:9:7", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 1733, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "3322:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 1736, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3318:21:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3296:43:7" + }, + { + "assignments": [ + 1739 + ], + "declarations": [ + { + "constant": false, + "id": 1739, + "name": "offset", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "3349:11:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1738, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3349:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1741, + "initialValue": { + "argumentTypes": null, + "id": 1740, + "name": "bufferSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1655, + "src": "3363:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3349:24:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1743, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3412:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "hexValue": "74727565", + "id": 1744, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3420:4:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + { + "argumentTypes": null, + "id": 1745, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3426:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1742, + "name": "boolToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1440, + "src": "3400:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bool,bytes memory) pure" + } + }, + "id": 1746, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3400:33:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1747, + "nodeType": "ExpressionStatement", + "src": "3400:33:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1750, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1748, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3444:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 1749, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3454:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3444:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1751, + "nodeType": "ExpressionStatement", + "src": "3444:11:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1753, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3477:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1754, + "name": "countValidTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1663, + "src": "3485:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1755, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3503:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1752, + "name": "uintToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1490, + "src": "3465:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,uint256,bytes memory) pure" + } + }, + "id": 1756, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3465:45:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1757, + "nodeType": "ExpressionStatement", + "src": "3465:45:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1760, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1758, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3521:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3332", + "id": 1759, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3531:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "3521:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1761, + "nodeType": "ExpressionStatement", + "src": "3521:12:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1763, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3555:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1764, + "name": "name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1610, + "src": "3563:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "id": 1765, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3569:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1762, + "name": "boolToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1440, + "src": "3543:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bool,bytes memory) pure" + } + }, + "id": 1766, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3543:33:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1767, + "nodeType": "ExpressionStatement", + "src": "3543:33:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1770, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1768, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3587:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 1769, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3597:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3587:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1771, + "nodeType": "ExpressionStatement", + "src": "3587:11:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1773, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3620:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1774, + "name": "website", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1612, + "src": "3628:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "id": 1775, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3637:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1772, + "name": "boolToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1440, + "src": "3608:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bool,bytes memory) pure" + } + }, + "id": 1776, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3608:36:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1777, + "nodeType": "ExpressionStatement", + "src": "3608:36:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1780, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1778, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3655:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 1779, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3665:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3655:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1781, + "nodeType": "ExpressionStatement", + "src": "3655:11:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1783, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3688:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1784, + "name": "email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1614, + "src": "3696:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "id": 1785, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3703:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1782, + "name": "boolToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1440, + "src": "3676:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_bool_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bool,bytes memory) pure" + } + }, + "id": 1786, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3676:34:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1787, + "nodeType": "ExpressionStatement", + "src": "3676:34:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1790, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1788, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3721:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 1789, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3731:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3721:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1791, + "nodeType": "ExpressionStatement", + "src": "3721:11:7" + }, + { + "body": { + "id": 1916, + "nodeType": "Block", + "src": "3769:908:7", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 1805, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3786:15:7", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1802, + "name": "validTokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1645, + "src": "3787:11:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_bool_$dyn_memory_ptr", + "typeString": "bool[] memory" + } + }, + "id": 1804, + "indexExpression": { + "argumentTypes": null, + "id": 1803, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "3799:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3787:14:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1807, + "nodeType": "IfStatement", + "src": "3783:28:7", + "trueBody": { + "id": 1806, + "nodeType": "Continue", + "src": "3803:8:7" + } + }, + { + "expression": { + "argumentTypes": null, + "id": 1812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1808, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "3825:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1810, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "3842:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1809, + "name": "getToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1585, + "src": "3833:8:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_Token_$1515_memory_ptr_$", + "typeString": "function (uint256) view returns (struct TokenBalances.Token memory)" + } + }, + "id": 1811, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3833:11:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "src": "3825:19:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1813, + "nodeType": "ExpressionStatement", + "src": "3825:19:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1815, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3874:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1816, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "3882:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1817, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "symbol", + "nodeType": "MemberAccess", + "referencedDeclaration": 1502, + "src": "3882:12:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + { + "argumentTypes": null, + "id": 1818, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3896:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1814, + "name": "bytes16ToBytesR", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1398, + "src": "3858:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes16_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bytes16,bytes memory)" + } + }, + "id": 1819, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3858:45:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1820, + "nodeType": "ExpressionStatement", + "src": "3858:45:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1823, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1821, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3918:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3136", + "id": 1822, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3928:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "3918:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1824, + "nodeType": "ExpressionStatement", + "src": "3918:12:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1826, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "3959:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1827, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "3967:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1828, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 1504, + "src": "3967:10:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1829, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "3979:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1825, + "name": "addressToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1387, + "src": "3944:14:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,address,bytes memory) pure" + } + }, + "id": 1830, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3944:42:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1831, + "nodeType": "ExpressionStatement", + "src": "3944:42:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1834, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1832, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4001:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3230", + "id": 1833, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4011:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + }, + "value": "20" + }, + "src": "4001:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1835, + "nodeType": "ExpressionStatement", + "src": "4001:12:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1837, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4039:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1838, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4047:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1839, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "erc", + "nodeType": "MemberAccess", + "referencedDeclaration": 1506, + "src": "4047:9:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + }, + { + "argumentTypes": null, + "id": 1840, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4058:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1836, + "name": "uintToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1490, + "src": "4027:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,uint256,bytes memory) pure" + } + }, + "id": 1841, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4027:38:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1842, + "nodeType": "ExpressionStatement", + "src": "4027:38:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1845, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1843, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4080:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "34", + "id": 1844, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4090:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "4080:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1846, + "nodeType": "ExpressionStatement", + "src": "4080:11:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1848, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4117:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1849, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4125:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1850, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "decimals", + "nodeType": "MemberAccess", + "referencedDeclaration": 1508, + "src": "4125:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + { + "argumentTypes": null, + "id": 1851, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4141:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1847, + "name": "uintToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1490, + "src": "4105:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,uint256,bytes memory) pure" + } + }, + "id": 1852, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4105:43:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1853, + "nodeType": "ExpressionStatement", + "src": "4105:43:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1856, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1854, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4163:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 1855, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4173:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "4163:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1857, + "nodeType": "ExpressionStatement", + "src": "4163:11:7" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1859, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4200:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1861, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4224:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1862, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "addr", + "nodeType": "MemberAccess", + "referencedDeclaration": 1504, + "src": "4224:10:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1863, + "name": "tOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1625, + "src": "4236:6:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1864, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4244:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1865, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "erc", + "nodeType": "MemberAccess", + "referencedDeclaration": 1506, + "src": "4244:9:7", + "typeDescriptions": { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint32", + "typeString": "uint32" + } + ], + "id": 1860, + "name": "getTokenBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1606, + "src": "4208:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_uint32_$returns$_t_uint256_$", + "typeString": "function (address,address,uint32) view returns (uint256)" + } + }, + "id": 1866, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4208:46:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1867, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4256:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1858, + "name": "uintToBytes", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1490, + "src": "4188:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,uint256,bytes memory) pure" + } + }, + "id": 1868, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4188:75:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1869, + "nodeType": "ExpressionStatement", + "src": "4188:75:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1872, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1870, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4278:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3332", + "id": 1871, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4288:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "4278:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1873, + "nodeType": "ExpressionStatement", + "src": "4278:12:7" + }, + { + "condition": { + "argumentTypes": null, + "id": 1874, + "name": "name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1610, + "src": "4307:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1887, + "nodeType": "IfStatement", + "src": "4304:109:7", + "trueBody": { + "id": 1886, + "nodeType": "Block", + "src": "4312:101:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1876, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4346:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1877, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4354:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1878, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "name", + "nodeType": "MemberAccess", + "referencedDeclaration": 1500, + "src": "4354:10:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + { + "argumentTypes": null, + "id": 1879, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4366:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1875, + "name": "bytes16ToBytesR", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1398, + "src": "4330:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes16_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bytes16,bytes memory)" + } + }, + "id": 1880, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4330:43:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1881, + "nodeType": "ExpressionStatement", + "src": "4330:43:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1884, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1882, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4392:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3136", + "id": 1883, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4402:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_16_by_1", + "typeString": "int_const 16" + }, + "value": "16" + }, + "src": "4392:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1885, + "nodeType": "ExpressionStatement", + "src": "4392:12:7" + } + ] + } + }, + { + "condition": { + "argumentTypes": null, + "id": 1888, + "name": "website", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1612, + "src": "4429:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1901, + "nodeType": "IfStatement", + "src": "4426:116:7", + "trueBody": { + "id": 1900, + "nodeType": "Block", + "src": "4438:104:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1890, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4472:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1891, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4480:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1892, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "website", + "nodeType": "MemberAccess", + "referencedDeclaration": 1510, + "src": "4480:13:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "id": 1893, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4495:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1889, + "name": "bytes32ToBytesR", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1409, + "src": "4456:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bytes32,bytes memory)" + } + }, + "id": 1894, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4456:46:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1895, + "nodeType": "ExpressionStatement", + "src": "4456:46:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1898, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1896, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4521:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3332", + "id": 1897, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4531:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "4521:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1899, + "nodeType": "ExpressionStatement", + "src": "4521:12:7" + } + ] + } + }, + { + "condition": { + "argumentTypes": null, + "id": 1902, + "name": "email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1614, + "src": "4558:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1915, + "nodeType": "IfStatement", + "src": "4555:112:7", + "trueBody": { + "id": 1914, + "nodeType": "Block", + "src": "4565:102:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1904, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4599:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1905, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1677, + "src": "4607:5:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_Token_$1515_memory_ptr", + "typeString": "struct TokenBalances.Token memory" + } + }, + "id": 1906, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 1512, + "src": "4607:11:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "id": 1907, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4620:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1903, + "name": "bytes32ToBytesR", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1409, + "src": "4583:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (uint256,bytes32,bytes memory)" + } + }, + "id": 1908, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4583:44:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1909, + "nodeType": "ExpressionStatement", + "src": "4583:44:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1912, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1910, + "name": "offset", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1739, + "src": "4646:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "3332", + "id": 1911, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4656:2:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + }, + "src": "4646:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1913, + "nodeType": "ExpressionStatement", + "src": "4646:12:7" + } + ] + } + } + ] + }, + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1798, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1796, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "3753:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<=", + "rightExpression": { + "argumentTypes": null, + "id": 1797, + "name": "count", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1622, + "src": "3758:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3753:10:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1917, + "initializationExpression": { + "expression": { + "argumentTypes": null, + "id": 1794, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1792, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "3746:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "31", + "id": 1793, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3750:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3746:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1795, + "nodeType": "ExpressionStatement", + "src": "3746:5:7" + }, + "loopExpression": { + "expression": { + "argumentTypes": null, + "id": 1800, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "3765:3:7", + "subExpression": { + "argumentTypes": null, + "id": 1799, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1667, + "src": "3765:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1801, + "nodeType": "ExpressionStatement", + "src": "3765:3:7" + }, + "nodeType": "ForStatement", + "src": "3742:935:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 1918, + "name": "result", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1732, + "src": "4693:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "functionReturnParameters": 1620, + "id": 1919, + "nodeType": "Return", + "src": "4686:13:7" + } + ] + }, + "documentation": null, + "id": 1921, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getAllBalance", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1617, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1608, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2292:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1607, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2292:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1610, + "name": "name", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2308:9:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1609, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2308:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1612, + "name": "website", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2319:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1611, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2319:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1614, + "name": "email", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2333:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1613, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2333:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1616, + "name": "_count", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2345:11:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1615, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2345:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2291:66:7" + }, + "payable": false, + "returnParameters": { + "id": 1620, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1619, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1921, + "src": "2379:5:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1618, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2379:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2378:7:7" + }, + "scope": 1922, + "src": "2269:2437:7", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + } + ], + "scope": 1923, + "src": "117:4591:7" + } + ], + "src": "0:4708:7" + }, + "compiler": { + "name": "solc", + "version": "0.4.24+commit.e67f0147.Emscripten.clang" + }, + "networks": { + "5777": { + "events": {}, + "links": {}, + "address": "0x608a909c07e3e0a45ff873405a5aebd2e9fcc9f7", + "transactionHash": "0x54c26f9600a9b34fea1193e27889b3ddd01a82f7f2a6436932533b91980d84b6" + } + }, + "schemaVersion": "2.0.1", + "updatedAt": "2018-09-25T04:39:58.045Z" +} \ No newline at end of file diff --git a/build/contracts/TypesToBytes.json b/build/contracts/TypesToBytes.json index 0a71b47..3699f2f 100644 --- a/build/contracts/TypesToBytes.json +++ b/build/contracts/TypesToBytes.json @@ -13,19 +13,19 @@ "sourceMap": "", "deployedSourceMap": "", "source": "pragma solidity ^0.4.16;\n\n/**\n * @title TypesToBytes\n * @dev The TypesToBytes contract converts the standard solidity types to the byte array\n * @author pouladzade@gmail.com\n */\n\ncontract TypesToBytes {\n \n function TypesToBytes() internal {\n \n }\n function addressToBytes(uint _offst, address _input, bytes memory _output) internal pure {\n\n assembly {\n mstore(add(_output, _offst), _input)\n }\n }\n function bytes16ToBytesR(uint _offst, bytes16 _input, bytes memory _output) internal {\n\n assembly {\n let index := 0\n let size := 16\n loop:\n mstore8(add(add(_output, _offst),add(16, index)), byte(index, _input))\n index := add(index ,1)\n jumpi(loop , lt(index,size))\n }\n }\n function bytes32ToBytesR(uint _offst, bytes32 _input, bytes memory _output) internal {\n\n assembly {\n let index := 0\n let size := 32\n loop:\n mstore8(add(add(_output, _offst),index), byte(index, _input))\n index := add(index ,1)\n jumpi(loop , lt(index,size))\n }\n }\n function bytes32ToBytes(uint _offst, bytes32 _input, bytes memory _output) internal {\n\n assembly {\n mstore(add(_output, _offst), _input)\n mstore(add(add(_output, _offst),32), add(_input,32))\n }\n }\n \n function boolToBytes(uint _offst, bool _input, bytes memory _output) internal pure {\n uint8 x = _input == false ? 0 : 1;\n assembly {\n mstore(add(_output, _offst), x)\n }\n }\n \n function stringToBytes(uint _offst, bytes memory _input, bytes memory _output) internal {\n uint256 stack_size = _input.length / 32;\n if(_input.length % 32 > 0) stack_size++;\n \n assembly {\n let index := 0\n stack_size := add(stack_size,1)//adding because of 32 first bytes memory as the length\n loop:\n \n mstore(add(_output, _offst), mload(add(_input,mul(index,32))))\n _offst := sub(_offst , 32)\n index := add(index ,1)\n jumpi(loop , lt(index,stack_size))\n }\n }\n\n function intToBytes(uint _offst, int _input, bytes memory _output) internal pure {\n\n assembly {\n mstore(add(_output, _offst), _input)\n }\n } \n \n function uintToBytes(uint _offst, uint _input, bytes memory _output) internal pure {\n\n assembly {\n mstore(add(_output, _offst), _input)\n }\n } \n\n}\n", - "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/TypesToBytes.sol", + "sourcePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/TypesToBytes.sol", "ast": { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/TypesToBytes.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/TypesToBytes.sol", "exportedSymbols": { "TypesToBytes": [ - 1691 + 1491 ] }, - "id": 1692, + "id": 1492, "nodeType": "SourceUnit", "nodes": [ { - "id": 1572, + "id": 1372, "literals": [ "solidity", "^", @@ -33,7 +33,7 @@ ".16" ], "nodeType": "PragmaDirective", - "src": "0:24:5" + "src": "0:24:6" }, { "baseContracts": [], @@ -41,21 +41,22 @@ "contractKind": "contract", "documentation": "@title TypesToBytes\n@dev The TypesToBytes contract converts the standard solidity types to the byte array\n@author pouladzade@gmail.com", "fullyImplemented": true, - "id": 1691, + "id": 1491, "linearizedBaseContracts": [ - 1691 + 1491 ], "name": "TypesToBytes", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1575, + "id": 1375, "nodeType": "Block", - "src": "242:16:5", + "src": "242:16:6", "statements": [] }, - "id": 1576, + "documentation": null, + "id": 1376, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -63,68 +64,69 @@ "name": "TypesToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1573, + "id": 1373, "nodeType": "ParameterList", "parameters": [], - "src": "230:2:5" + "src": "230:2:6" }, "payable": false, "returnParameters": { - "id": 1574, + "id": 1374, "nodeType": "ParameterList", "parameters": [], - "src": "242:0:5" + "src": "242:0:6" }, - "scope": 1691, - "src": "209:49:5", + "scope": 1491, + "src": "209:49:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1586, + "id": 1386, "nodeType": "Block", - "src": "352:86:5", + "src": "352:86:6", "statements": [ { "externalReferences": [ { "_input": { - "declaration": 1580, + "declaration": 1380, "isOffset": false, "isSlot": false, - "src": "415:6:5", + "src": "415:6:6", "valueSize": 1 } }, { "_output": { - "declaration": 1582, + "declaration": 1382, "isOffset": false, "isSlot": false, - "src": "397:7:5", + "src": "397:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1578, + "declaration": 1378, "isOffset": false, "isSlot": false, - "src": "406:6:5", + "src": "406:6:6", "valueSize": 1 } } ], - "id": 1585, + "id": 1385, "nodeType": "InlineAssembly", "operations": "{\n mstore(add(_output, _offst), _input)\n}", - "src": "363:75:5" + "src": "363:75:6" } ] }, - "id": 1587, + "documentation": null, + "id": 1387, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -132,16 +134,16 @@ "name": "addressToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1383, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1578, + "id": 1378, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1587, - "src": "287:11:5", + "scope": 1387, + "src": "287:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -149,10 +151,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1577, + "id": 1377, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "287:4:5", + "src": "287:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -163,11 +165,11 @@ }, { "constant": false, - "id": 1580, + "id": 1380, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1587, - "src": "300:14:5", + "scope": 1387, + "src": "300:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -175,10 +177,10 @@ "typeString": "address" }, "typeName": { - "id": 1579, + "id": 1379, "name": "address", "nodeType": "ElementaryTypeName", - "src": "300:7:5", + "src": "300:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -189,90 +191,91 @@ }, { "constant": false, - "id": 1582, + "id": 1382, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1587, - "src": "316:20:5", + "scope": 1387, + "src": "316:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1581, + "id": 1381, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "316:5:5", + "src": "316:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "286:51:5" + "src": "286:51:6" }, "payable": false, "returnParameters": { - "id": 1584, + "id": 1384, "nodeType": "ParameterList", "parameters": [], - "src": "352:0:5" + "src": "352:0:6" }, - "scope": 1691, - "src": "263:175:5", + "scope": 1491, + "src": "263:175:6", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1597, + "id": 1397, "nodeType": "Block", - "src": "528:280:5", + "src": "528:280:6", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1593, + "declaration": 1393, "isOffset": false, "isSlot": false, - "src": "654:7:5", + "src": "654:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1589, + "declaration": 1389, "isOffset": false, "isSlot": false, - "src": "663:6:5", + "src": "663:6:6", "valueSize": 1 } }, { "_input": { - "declaration": 1591, + "declaration": 1391, "isOffset": false, "isSlot": false, - "src": "700:6:5", + "src": "700:6:6", "valueSize": 1 } } ], - "id": 1596, + "id": 1396, "nodeType": "InlineAssembly", "operations": "{\n let index := 0\n let size := 16\n loop:\n mstore8(add(add(_output, _offst), add(16, index)), byte(index, _input))\n index := add(index, 1)\n jumpi(loop, lt(index, size))\n}", - "src": "539:269:5" + "src": "539:269:6" } ] }, - "id": 1598, + "documentation": null, + "id": 1398, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -280,16 +283,16 @@ "name": "bytes16ToBytesR", "nodeType": "FunctionDefinition", "parameters": { - "id": 1594, + "id": 1394, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1589, + "id": 1389, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "468:11:5", + "scope": 1398, + "src": "468:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -297,10 +300,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1588, + "id": 1388, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "468:4:5", + "src": "468:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -311,11 +314,11 @@ }, { "constant": false, - "id": 1591, + "id": 1391, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "481:14:5", + "scope": 1398, + "src": "481:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -323,10 +326,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 1590, + "id": 1390, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "481:7:5", + "src": "481:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -337,90 +340,91 @@ }, { "constant": false, - "id": 1593, + "id": 1393, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "497:20:5", + "scope": 1398, + "src": "497:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1592, + "id": 1392, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "497:5:5", + "src": "497:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "467:51:5" + "src": "467:51:6" }, "payable": false, "returnParameters": { - "id": 1595, + "id": 1395, "nodeType": "ParameterList", "parameters": [], - "src": "528:0:5" + "src": "528:0:6" }, - "scope": 1691, - "src": "443:365:5", + "scope": 1491, + "src": "443:365:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1608, + "id": 1408, "nodeType": "Block", - "src": "898:271:5", + "src": "898:271:6", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1604, + "declaration": 1404, "isOffset": false, "isSlot": false, - "src": "1024:7:5", + "src": "1024:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1600, + "declaration": 1400, "isOffset": false, "isSlot": false, - "src": "1033:6:5", + "src": "1033:6:6", "valueSize": 1 } }, { "_input": { - "declaration": 1602, + "declaration": 1402, "isOffset": false, "isSlot": false, - "src": "1061:6:5", + "src": "1061:6:6", "valueSize": 1 } } ], - "id": 1607, + "id": 1407, "nodeType": "InlineAssembly", "operations": "{\n let index := 0\n let size := 32\n loop:\n mstore8(add(add(_output, _offst), index), byte(index, _input))\n index := add(index, 1)\n jumpi(loop, lt(index, size))\n}", - "src": "909:260:5" + "src": "909:260:6" } ] }, - "id": 1609, + "documentation": null, + "id": 1409, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -428,16 +432,16 @@ "name": "bytes32ToBytesR", "nodeType": "FunctionDefinition", "parameters": { - "id": 1605, + "id": 1405, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1400, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1609, - "src": "838:11:5", + "scope": 1409, + "src": "838:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -445,10 +449,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1599, + "id": 1399, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "838:4:5", + "src": "838:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -459,11 +463,11 @@ }, { "constant": false, - "id": 1602, + "id": 1402, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1609, - "src": "851:14:5", + "scope": 1409, + "src": "851:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -471,10 +475,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1601, + "id": 1401, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "851:7:5", + "src": "851:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -485,117 +489,118 @@ }, { "constant": false, - "id": 1604, + "id": 1404, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1609, - "src": "867:20:5", + "scope": 1409, + "src": "867:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1603, + "id": 1403, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "867:5:5", + "src": "867:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "837:51:5" + "src": "837:51:6" }, "payable": false, "returnParameters": { - "id": 1606, + "id": 1406, "nodeType": "ParameterList", "parameters": [], - "src": "898:0:5" + "src": "898:0:6" }, - "scope": 1691, - "src": "813:356:5", + "scope": 1491, + "src": "813:356:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1619, + "id": 1419, "nodeType": "Block", - "src": "1259:151:5", + "src": "1259:151:6", "statements": [ { "externalReferences": [ { "_input": { - "declaration": 1613, + "declaration": 1413, "isOffset": false, "isSlot": false, - "src": "1322:6:5", + "src": "1322:6:6", "valueSize": 1 } }, { "_output": { - "declaration": 1615, + "declaration": 1415, "isOffset": false, "isSlot": false, - "src": "1304:7:5", + "src": "1304:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1611, + "declaration": 1411, "isOffset": false, "isSlot": false, - "src": "1313:6:5", + "src": "1313:6:6", "valueSize": 1 } }, { "_output": { - "declaration": 1615, + "declaration": 1415, "isOffset": false, "isSlot": false, - "src": "1357:7:5", + "src": "1357:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1611, + "declaration": 1411, "isOffset": false, "isSlot": false, - "src": "1366:6:5", + "src": "1366:6:6", "valueSize": 1 } }, { "_input": { - "declaration": 1613, + "declaration": 1413, "isOffset": false, "isSlot": false, - "src": "1383:6:5", + "src": "1383:6:6", "valueSize": 1 } } ], - "id": 1618, + "id": 1418, "nodeType": "InlineAssembly", "operations": "{\n mstore(add(_output, _offst), _input)\n mstore(add(add(_output, _offst), 32), add(_input, 32))\n}", - "src": "1270:140:5" + "src": "1270:140:6" } ] }, - "id": 1620, + "documentation": null, + "id": 1420, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -603,16 +608,16 @@ "name": "bytes32ToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1616, + "id": 1416, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1611, + "id": 1411, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "1198:11:5", + "scope": 1420, + "src": "1198:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -620,10 +625,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1610, + "id": 1410, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1198:4:5", + "src": "1198:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -634,11 +639,11 @@ }, { "constant": false, - "id": 1613, + "id": 1413, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "1211:14:5", + "scope": 1420, + "src": "1211:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -646,10 +651,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1612, + "id": 1412, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1211:7:5", + "src": "1211:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -660,64 +665,64 @@ }, { "constant": false, - "id": 1615, + "id": 1415, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "1227:20:5", + "scope": 1420, + "src": "1227:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1614, + "id": 1414, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1227:5:5", + "src": "1227:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "1197:51:5" + "src": "1197:51:6" }, "payable": false, "returnParameters": { - "id": 1617, + "id": 1417, "nodeType": "ParameterList", "parameters": [], - "src": "1259:0:5" + "src": "1259:0:6" }, - "scope": 1691, - "src": "1174:236:5", + "scope": 1491, + "src": "1174:236:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1639, + "id": 1439, "nodeType": "Block", - "src": "1503:123:5", + "src": "1503:123:6", "statements": [ { "assignments": [ - 1630 + 1430 ], "declarations": [ { "constant": false, - "id": 1630, + "id": 1430, "name": "x", "nodeType": "VariableDeclaration", - "scope": 1640, - "src": "1513:7:5", + "scope": 1440, + "src": "1513:7:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -725,10 +730,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1629, + "id": 1429, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "1513:5:5", + "src": "1513:5:6", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -738,7 +743,7 @@ "visibility": "internal" } ], - "id": 1637, + "id": 1437, "initialValue": { "argumentTypes": null, "condition": { @@ -747,19 +752,19 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1633, + "id": 1433, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1631, + "id": 1431, "name": "_input", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1624, - "src": "1523:6:5", + "referencedDeclaration": 1424, + "src": "1523:6:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -770,14 +775,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 1632, + "id": 1432, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1533:5:5", + "src": "1533:5:6", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -785,7 +790,7 @@ }, "value": "false" }, - "src": "1523:15:5", + "src": "1523:15:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -794,14 +799,14 @@ "falseExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1635, + "id": 1435, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1545:1:5", + "src": "1545:1:6", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -809,24 +814,24 @@ }, "value": "1" }, - "id": 1636, + "id": 1436, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "1523:23:5", + "src": "1523:23:6", "trueExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1634, + "id": 1434, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1541:1:5", + "src": "1541:1:6", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -840,46 +845,47 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "1513:33:5" + "src": "1513:33:6" }, { "externalReferences": [ { "x": { - "declaration": 1630, + "declaration": 1430, "isOffset": false, "isSlot": false, - "src": "1608:1:5", + "src": "1608:1:6", "valueSize": 1 } }, { "_output": { - "declaration": 1626, + "declaration": 1426, "isOffset": false, "isSlot": false, - "src": "1590:7:5", + "src": "1590:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1622, + "declaration": 1422, "isOffset": false, "isSlot": false, - "src": "1599:6:5", + "src": "1599:6:6", "valueSize": 1 } } ], - "id": 1638, + "id": 1438, "nodeType": "InlineAssembly", "operations": "{\n mstore(add(_output, _offst), x)\n}", - "src": "1556:70:5" + "src": "1556:70:6" } ] }, - "id": 1640, + "documentation": null, + "id": 1440, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -887,16 +893,16 @@ "name": "boolToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1627, + "id": 1427, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1622, + "id": 1422, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1640, - "src": "1441:11:5", + "scope": 1440, + "src": "1441:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -904,10 +910,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1621, + "id": 1421, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1441:4:5", + "src": "1441:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -918,11 +924,11 @@ }, { "constant": false, - "id": 1624, + "id": 1424, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1640, - "src": "1454:11:5", + "scope": 1440, + "src": "1454:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -930,10 +936,10 @@ "typeString": "bool" }, "typeName": { - "id": 1623, + "id": 1423, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1454:4:5", + "src": "1454:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -944,64 +950,64 @@ }, { "constant": false, - "id": 1626, + "id": 1426, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1640, - "src": "1467:20:5", + "scope": 1440, + "src": "1467:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1625, + "id": 1425, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1467:5:5", + "src": "1467:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "1440:48:5" + "src": "1440:48:6" }, "payable": false, "returnParameters": { - "id": 1628, + "id": 1428, "nodeType": "ParameterList", "parameters": [], - "src": "1503:0:5" + "src": "1503:0:6" }, - "scope": 1691, - "src": "1420:206:5", + "scope": 1491, + "src": "1420:206:6", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1667, + "id": 1467, "nodeType": "Block", - "src": "1724:492:5", + "src": "1724:492:6", "statements": [ { "assignments": [ - 1650 + 1450 ], "declarations": [ { "constant": false, - "id": 1650, + "id": 1450, "name": "stack_size", "nodeType": "VariableDeclaration", - "scope": 1668, - "src": "1734:18:5", + "scope": 1468, + "src": "1734:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1009,10 +1015,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1649, + "id": 1449, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1734:7:5", + "src": "1734:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1022,14 +1028,14 @@ "visibility": "internal" } ], - "id": 1655, + "id": 1455, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1654, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, @@ -1038,18 +1044,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1651, + "id": 1451, "name": "_input", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1644, - "src": "1755:6:5", + "referencedDeclaration": 1444, + "src": "1755:6:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1652, + "id": 1452, "isConstant": false, "isLValue": false, "isPure": false, @@ -1057,7 +1063,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1755:13:5", + "src": "1755:13:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1068,14 +1074,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3332", - "id": 1653, + "id": 1453, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1771:2:5", + "src": "1771:2:6", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", @@ -1083,14 +1089,14 @@ }, "value": "32" }, - "src": "1755:18:5", + "src": "1755:18:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1734:39:5" + "src": "1734:39:6" }, { "condition": { @@ -1099,7 +1105,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1661, + "id": 1461, "isConstant": false, "isLValue": false, "isPure": false, @@ -1110,7 +1116,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1659, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -1119,18 +1125,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1656, + "id": 1456, "name": "_input", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1644, - "src": "1786:6:5", + "referencedDeclaration": 1444, + "src": "1786:6:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1657, + "id": 1457, "isConstant": false, "isLValue": false, "isPure": false, @@ -1138,7 +1144,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1786:13:5", + "src": "1786:13:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1149,14 +1155,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3332", - "id": 1658, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1802:2:5", + "src": "1802:2:6", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", @@ -1164,7 +1170,7 @@ }, "value": "32" }, - "src": "1786:18:5", + "src": "1786:18:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1175,14 +1181,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1660, + "id": 1460, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1807:1:5", + "src": "1807:1:6", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -1190,20 +1196,20 @@ }, "value": "0" }, - "src": "1786:22:5", + "src": "1786:22:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1665, + "id": 1465, "nodeType": "IfStatement", - "src": "1783:39:5", + "src": "1783:39:6", "trueBody": { "expression": { "argumentTypes": null, - "id": 1663, + "id": 1463, "isConstant": false, "isLValue": false, "isPure": false, @@ -1211,15 +1217,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "1810:12:5", + "src": "1810:12:6", "subExpression": { "argumentTypes": null, - "id": 1662, + "id": 1462, "name": "stack_size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1650, - "src": "1810:10:5", + "referencedDeclaration": 1450, + "src": "1810:10:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1230,94 +1236,95 @@ "typeString": "uint256" } }, - "id": 1664, + "id": 1464, "nodeType": "ExpressionStatement", - "src": "1810:12:5" + "src": "1810:12:6" } }, { "externalReferences": [ { "stack_size": { - "declaration": 1650, + "declaration": 1450, "isOffset": false, "isSlot": false, - "src": "1891:10:5", + "src": "1891:10:6", "valueSize": 1 } }, { - "stack_size": { - "declaration": 1650, + "_output": { + "declaration": 1446, "isOffset": false, "isSlot": false, - "src": "1909:10:5", + "src": "2028:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1642, + "declaration": 1442, "isOffset": false, "isSlot": false, - "src": "2106:6:5", + "src": "2037:6:6", "valueSize": 1 } }, { - "_offst": { - "declaration": 1642, + "stack_size": { + "declaration": 1450, "isOffset": false, "isSlot": false, - "src": "2092:6:5", + "src": "1909:10:6", "valueSize": 1 } }, { - "_output": { - "declaration": 1646, + "_offst": { + "declaration": 1442, "isOffset": false, "isSlot": false, - "src": "2028:7:5", + "src": "2092:6:6", "valueSize": 1 } }, { - "_offst": { - "declaration": 1642, + "_input": { + "declaration": 1444, "isOffset": false, "isSlot": false, - "src": "2037:6:5", + "src": "2056:6:6", "valueSize": 1 } }, { - "_input": { - "declaration": 1644, + "_offst": { + "declaration": 1442, "isOffset": false, "isSlot": false, - "src": "2056:6:5", + "src": "2106:6:6", "valueSize": 1 } }, { "stack_size": { - "declaration": 1650, + "declaration": 1450, "isOffset": false, "isSlot": false, - "src": "2188:10:5", + "src": "2188:10:6", "valueSize": 1 } } ], - "id": 1666, + "id": 1466, "nodeType": "InlineAssembly", "operations": "{\n let index := 0\n stack_size := add(stack_size, 1)\n loop:\n mstore(add(_output, _offst), mload(add(_input, mul(index, 32))))\n _offst := sub(_offst, 32)\n index := add(index, 1)\n jumpi(loop, lt(index, stack_size))\n}", - "src": "1841:375:5" + "src": "1841:375:6" } ] }, - "id": 1668, + "documentation": null, + "id": 1468, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -1325,16 +1332,16 @@ "name": "stringToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1647, + "id": 1447, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1642, + "id": 1442, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1668, - "src": "1659:11:5", + "scope": 1468, + "src": "1659:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1342,10 +1349,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1641, + "id": 1441, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1659:4:5", + "src": "1659:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1356,25 +1363,25 @@ }, { "constant": false, - "id": 1644, + "id": 1444, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1668, - "src": "1672:19:5", + "scope": 1468, + "src": "1672:19:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1643, + "id": 1443, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1672:5:5", + "src": "1672:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, @@ -1382,90 +1389,91 @@ }, { "constant": false, - "id": 1646, + "id": 1446, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1668, - "src": "1693:20:5", + "scope": 1468, + "src": "1693:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1645, + "id": 1445, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1693:5:5", + "src": "1693:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "1658:56:5" + "src": "1658:56:6" }, "payable": false, "returnParameters": { - "id": 1648, + "id": 1448, "nodeType": "ParameterList", "parameters": [], - "src": "1724:0:5" + "src": "1724:0:6" }, - "scope": 1691, - "src": "1636:580:5", + "scope": 1491, + "src": "1636:580:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1678, + "id": 1478, "nodeType": "Block", - "src": "2304:86:5", + "src": "2304:86:6", "statements": [ { "externalReferences": [ { "_input": { - "declaration": 1672, + "declaration": 1472, "isOffset": false, "isSlot": false, - "src": "2367:6:5", + "src": "2367:6:6", "valueSize": 1 } }, { "_output": { - "declaration": 1674, + "declaration": 1474, "isOffset": false, "isSlot": false, - "src": "2349:7:5", + "src": "2349:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1670, + "declaration": 1470, "isOffset": false, "isSlot": false, - "src": "2358:6:5", + "src": "2358:6:6", "valueSize": 1 } } ], - "id": 1677, + "id": 1477, "nodeType": "InlineAssembly", "operations": "{\n mstore(add(_output, _offst), _input)\n}", - "src": "2315:75:5" + "src": "2315:75:6" } ] }, - "id": 1679, + "documentation": null, + "id": 1479, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1473,16 +1481,16 @@ "name": "intToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1475, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1670, + "id": 1470, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1679, - "src": "2242:11:5", + "scope": 1479, + "src": "2242:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1490,10 +1498,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1669, + "id": 1469, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2242:4:5", + "src": "2242:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1504,11 +1512,11 @@ }, { "constant": false, - "id": 1672, + "id": 1472, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1679, - "src": "2255:10:5", + "scope": 1479, + "src": "2255:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1516,10 +1524,10 @@ "typeString": "int256" }, "typeName": { - "id": 1671, + "id": 1471, "name": "int", "nodeType": "ElementaryTypeName", - "src": "2255:3:5", + "src": "2255:3:6", "typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" @@ -1530,90 +1538,91 @@ }, { "constant": false, - "id": 1674, + "id": 1474, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1679, - "src": "2267:21:5", + "scope": 1479, + "src": "2267:21:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1673, + "id": 1473, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2267:5:5", + "src": "2267:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "2241:48:5" + "src": "2241:48:6" }, "payable": false, "returnParameters": { - "id": 1676, + "id": 1476, "nodeType": "ParameterList", "parameters": [], - "src": "2304:0:5" + "src": "2304:0:6" }, - "scope": 1691, - "src": "2222:168:5", + "scope": 1491, + "src": "2222:168:6", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1689, + "id": 1489, "nodeType": "Block", - "src": "2484:86:5", + "src": "2484:86:6", "statements": [ { "externalReferences": [ { "_input": { - "declaration": 1683, + "declaration": 1483, "isOffset": false, "isSlot": false, - "src": "2547:6:5", + "src": "2547:6:6", "valueSize": 1 } }, { "_output": { - "declaration": 1685, + "declaration": 1485, "isOffset": false, "isSlot": false, - "src": "2529:7:5", + "src": "2529:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1681, + "declaration": 1481, "isOffset": false, "isSlot": false, - "src": "2538:6:5", + "src": "2538:6:6", "valueSize": 1 } } ], - "id": 1688, + "id": 1488, "nodeType": "InlineAssembly", "operations": "{\n mstore(add(_output, _offst), _input)\n}", - "src": "2495:75:5" + "src": "2495:75:6" } ] }, - "id": 1690, + "documentation": null, + "id": 1490, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1621,16 +1630,16 @@ "name": "uintToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1686, + "id": 1486, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1681, + "id": 1481, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1690, - "src": "2422:11:5", + "scope": 1490, + "src": "2422:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1638,10 +1647,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1680, + "id": 1480, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2422:4:5", + "src": "2422:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1652,11 +1661,11 @@ }, { "constant": false, - "id": 1683, + "id": 1483, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1690, - "src": "2435:11:5", + "scope": 1490, + "src": "2435:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1664,10 +1673,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1682, + "id": 1482, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2435:4:5", + "src": "2435:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1678,65 +1687,65 @@ }, { "constant": false, - "id": 1685, + "id": 1485, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1690, - "src": "2448:20:5", + "scope": 1490, + "src": "2448:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1684, + "id": 1484, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2448:5:5", + "src": "2448:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "2421:48:5" + "src": "2421:48:6" }, "payable": false, "returnParameters": { - "id": 1687, + "id": 1487, "nodeType": "ParameterList", "parameters": [], - "src": "2484:0:5" + "src": "2484:0:6" }, - "scope": 1691, - "src": "2401:169:5", + "scope": 1491, + "src": "2401:169:6", "stateMutability": "pure", "superFunction": null, "visibility": "internal" } ], - "scope": 1692, - "src": "179:2397:5" + "scope": 1492, + "src": "179:2397:6" } ], - "src": "0:2577:5" + "src": "0:2577:6" }, "legacyAST": { - "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/Seriality/TypesToBytes.sol", + "absolutePath": "/home/kvhnuke/GitHub/utility-contracts/contracts/token-balances/Seriality/TypesToBytes.sol", "exportedSymbols": { "TypesToBytes": [ - 1691 + 1491 ] }, - "id": 1692, + "id": 1492, "nodeType": "SourceUnit", "nodes": [ { - "id": 1572, + "id": 1372, "literals": [ "solidity", "^", @@ -1744,7 +1753,7 @@ ".16" ], "nodeType": "PragmaDirective", - "src": "0:24:5" + "src": "0:24:6" }, { "baseContracts": [], @@ -1752,21 +1761,22 @@ "contractKind": "contract", "documentation": "@title TypesToBytes\n@dev The TypesToBytes contract converts the standard solidity types to the byte array\n@author pouladzade@gmail.com", "fullyImplemented": true, - "id": 1691, + "id": 1491, "linearizedBaseContracts": [ - 1691 + 1491 ], "name": "TypesToBytes", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1575, + "id": 1375, "nodeType": "Block", - "src": "242:16:5", + "src": "242:16:6", "statements": [] }, - "id": 1576, + "documentation": null, + "id": 1376, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -1774,68 +1784,69 @@ "name": "TypesToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1573, + "id": 1373, "nodeType": "ParameterList", "parameters": [], - "src": "230:2:5" + "src": "230:2:6" }, "payable": false, "returnParameters": { - "id": 1574, + "id": 1374, "nodeType": "ParameterList", "parameters": [], - "src": "242:0:5" + "src": "242:0:6" }, - "scope": 1691, - "src": "209:49:5", + "scope": 1491, + "src": "209:49:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1586, + "id": 1386, "nodeType": "Block", - "src": "352:86:5", + "src": "352:86:6", "statements": [ { "externalReferences": [ { "_input": { - "declaration": 1580, + "declaration": 1380, "isOffset": false, "isSlot": false, - "src": "415:6:5", + "src": "415:6:6", "valueSize": 1 } }, { "_output": { - "declaration": 1582, + "declaration": 1382, "isOffset": false, "isSlot": false, - "src": "397:7:5", + "src": "397:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1578, + "declaration": 1378, "isOffset": false, "isSlot": false, - "src": "406:6:5", + "src": "406:6:6", "valueSize": 1 } } ], - "id": 1585, + "id": 1385, "nodeType": "InlineAssembly", "operations": "{\n mstore(add(_output, _offst), _input)\n}", - "src": "363:75:5" + "src": "363:75:6" } ] }, - "id": 1587, + "documentation": null, + "id": 1387, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1843,16 +1854,16 @@ "name": "addressToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1383, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1578, + "id": 1378, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1587, - "src": "287:11:5", + "scope": 1387, + "src": "287:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1860,10 +1871,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1577, + "id": 1377, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "287:4:5", + "src": "287:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1874,11 +1885,11 @@ }, { "constant": false, - "id": 1580, + "id": 1380, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1587, - "src": "300:14:5", + "scope": 1387, + "src": "300:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1886,10 +1897,10 @@ "typeString": "address" }, "typeName": { - "id": 1579, + "id": 1379, "name": "address", "nodeType": "ElementaryTypeName", - "src": "300:7:5", + "src": "300:7:6", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1900,90 +1911,91 @@ }, { "constant": false, - "id": 1582, + "id": 1382, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1587, - "src": "316:20:5", + "scope": 1387, + "src": "316:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1581, + "id": 1381, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "316:5:5", + "src": "316:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "286:51:5" + "src": "286:51:6" }, "payable": false, "returnParameters": { - "id": 1584, + "id": 1384, "nodeType": "ParameterList", "parameters": [], - "src": "352:0:5" + "src": "352:0:6" }, - "scope": 1691, - "src": "263:175:5", + "scope": 1491, + "src": "263:175:6", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1597, + "id": 1397, "nodeType": "Block", - "src": "528:280:5", + "src": "528:280:6", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1593, + "declaration": 1393, "isOffset": false, "isSlot": false, - "src": "654:7:5", + "src": "654:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1589, + "declaration": 1389, "isOffset": false, "isSlot": false, - "src": "663:6:5", + "src": "663:6:6", "valueSize": 1 } }, { "_input": { - "declaration": 1591, + "declaration": 1391, "isOffset": false, "isSlot": false, - "src": "700:6:5", + "src": "700:6:6", "valueSize": 1 } } ], - "id": 1596, + "id": 1396, "nodeType": "InlineAssembly", "operations": "{\n let index := 0\n let size := 16\n loop:\n mstore8(add(add(_output, _offst), add(16, index)), byte(index, _input))\n index := add(index, 1)\n jumpi(loop, lt(index, size))\n}", - "src": "539:269:5" + "src": "539:269:6" } ] }, - "id": 1598, + "documentation": null, + "id": 1398, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -1991,16 +2003,16 @@ "name": "bytes16ToBytesR", "nodeType": "FunctionDefinition", "parameters": { - "id": 1594, + "id": 1394, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1589, + "id": 1389, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "468:11:5", + "scope": 1398, + "src": "468:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2008,10 +2020,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1588, + "id": 1388, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "468:4:5", + "src": "468:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2022,11 +2034,11 @@ }, { "constant": false, - "id": 1591, + "id": 1391, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "481:14:5", + "scope": 1398, + "src": "481:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2034,10 +2046,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 1590, + "id": 1390, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "481:7:5", + "src": "481:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -2048,90 +2060,91 @@ }, { "constant": false, - "id": 1593, + "id": 1393, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "497:20:5", + "scope": 1398, + "src": "497:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1592, + "id": 1392, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "497:5:5", + "src": "497:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "467:51:5" + "src": "467:51:6" }, "payable": false, "returnParameters": { - "id": 1595, + "id": 1395, "nodeType": "ParameterList", "parameters": [], - "src": "528:0:5" + "src": "528:0:6" }, - "scope": 1691, - "src": "443:365:5", + "scope": 1491, + "src": "443:365:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1608, + "id": 1408, "nodeType": "Block", - "src": "898:271:5", + "src": "898:271:6", "statements": [ { "externalReferences": [ { "_output": { - "declaration": 1604, + "declaration": 1404, "isOffset": false, "isSlot": false, - "src": "1024:7:5", + "src": "1024:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1600, + "declaration": 1400, "isOffset": false, "isSlot": false, - "src": "1033:6:5", + "src": "1033:6:6", "valueSize": 1 } }, { "_input": { - "declaration": 1602, + "declaration": 1402, "isOffset": false, "isSlot": false, - "src": "1061:6:5", + "src": "1061:6:6", "valueSize": 1 } } ], - "id": 1607, + "id": 1407, "nodeType": "InlineAssembly", "operations": "{\n let index := 0\n let size := 32\n loop:\n mstore8(add(add(_output, _offst), index), byte(index, _input))\n index := add(index, 1)\n jumpi(loop, lt(index, size))\n}", - "src": "909:260:5" + "src": "909:260:6" } ] }, - "id": 1609, + "documentation": null, + "id": 1409, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -2139,16 +2152,16 @@ "name": "bytes32ToBytesR", "nodeType": "FunctionDefinition", "parameters": { - "id": 1605, + "id": 1405, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1400, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1609, - "src": "838:11:5", + "scope": 1409, + "src": "838:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2156,10 +2169,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1599, + "id": 1399, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "838:4:5", + "src": "838:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2170,11 +2183,11 @@ }, { "constant": false, - "id": 1602, + "id": 1402, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1609, - "src": "851:14:5", + "scope": 1409, + "src": "851:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2182,10 +2195,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1601, + "id": 1401, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "851:7:5", + "src": "851:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2196,117 +2209,118 @@ }, { "constant": false, - "id": 1604, + "id": 1404, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1609, - "src": "867:20:5", + "scope": 1409, + "src": "867:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1603, + "id": 1403, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "867:5:5", + "src": "867:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "837:51:5" + "src": "837:51:6" }, "payable": false, "returnParameters": { - "id": 1606, + "id": 1406, "nodeType": "ParameterList", "parameters": [], - "src": "898:0:5" + "src": "898:0:6" }, - "scope": 1691, - "src": "813:356:5", + "scope": 1491, + "src": "813:356:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1619, + "id": 1419, "nodeType": "Block", - "src": "1259:151:5", + "src": "1259:151:6", "statements": [ { "externalReferences": [ { "_input": { - "declaration": 1613, + "declaration": 1413, "isOffset": false, "isSlot": false, - "src": "1322:6:5", + "src": "1322:6:6", "valueSize": 1 } }, { "_output": { - "declaration": 1615, + "declaration": 1415, "isOffset": false, "isSlot": false, - "src": "1304:7:5", + "src": "1304:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1611, + "declaration": 1411, "isOffset": false, "isSlot": false, - "src": "1313:6:5", + "src": "1313:6:6", "valueSize": 1 } }, { "_output": { - "declaration": 1615, + "declaration": 1415, "isOffset": false, "isSlot": false, - "src": "1357:7:5", + "src": "1357:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1611, + "declaration": 1411, "isOffset": false, "isSlot": false, - "src": "1366:6:5", + "src": "1366:6:6", "valueSize": 1 } }, { "_input": { - "declaration": 1613, + "declaration": 1413, "isOffset": false, "isSlot": false, - "src": "1383:6:5", + "src": "1383:6:6", "valueSize": 1 } } ], - "id": 1618, + "id": 1418, "nodeType": "InlineAssembly", "operations": "{\n mstore(add(_output, _offst), _input)\n mstore(add(add(_output, _offst), 32), add(_input, 32))\n}", - "src": "1270:140:5" + "src": "1270:140:6" } ] }, - "id": 1620, + "documentation": null, + "id": 1420, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -2314,16 +2328,16 @@ "name": "bytes32ToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1616, + "id": 1416, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1611, + "id": 1411, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "1198:11:5", + "scope": 1420, + "src": "1198:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2331,10 +2345,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1610, + "id": 1410, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1198:4:5", + "src": "1198:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2345,11 +2359,11 @@ }, { "constant": false, - "id": 1613, + "id": 1413, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "1211:14:5", + "scope": 1420, + "src": "1211:14:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2357,10 +2371,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1612, + "id": 1412, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1211:7:5", + "src": "1211:7:6", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2371,64 +2385,64 @@ }, { "constant": false, - "id": 1615, + "id": 1415, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "1227:20:5", + "scope": 1420, + "src": "1227:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1614, + "id": 1414, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1227:5:5", + "src": "1227:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "1197:51:5" + "src": "1197:51:6" }, "payable": false, "returnParameters": { - "id": 1617, + "id": 1417, "nodeType": "ParameterList", "parameters": [], - "src": "1259:0:5" + "src": "1259:0:6" }, - "scope": 1691, - "src": "1174:236:5", + "scope": 1491, + "src": "1174:236:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1639, + "id": 1439, "nodeType": "Block", - "src": "1503:123:5", + "src": "1503:123:6", "statements": [ { "assignments": [ - 1630 + 1430 ], "declarations": [ { "constant": false, - "id": 1630, + "id": 1430, "name": "x", "nodeType": "VariableDeclaration", - "scope": 1640, - "src": "1513:7:5", + "scope": 1440, + "src": "1513:7:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2436,10 +2450,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1629, + "id": 1429, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "1513:5:5", + "src": "1513:5:6", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -2449,7 +2463,7 @@ "visibility": "internal" } ], - "id": 1637, + "id": 1437, "initialValue": { "argumentTypes": null, "condition": { @@ -2458,19 +2472,19 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1633, + "id": 1433, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1631, + "id": 1431, "name": "_input", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1624, - "src": "1523:6:5", + "referencedDeclaration": 1424, + "src": "1523:6:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2481,14 +2495,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 1632, + "id": 1432, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1533:5:5", + "src": "1533:5:6", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2496,7 +2510,7 @@ }, "value": "false" }, - "src": "1523:15:5", + "src": "1523:15:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2505,14 +2519,14 @@ "falseExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1635, + "id": 1435, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1545:1:5", + "src": "1545:1:6", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -2520,24 +2534,24 @@ }, "value": "1" }, - "id": 1636, + "id": 1436, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "1523:23:5", + "src": "1523:23:6", "trueExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1634, + "id": 1434, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1541:1:5", + "src": "1541:1:6", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -2551,46 +2565,47 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "1513:33:5" + "src": "1513:33:6" }, { "externalReferences": [ { "x": { - "declaration": 1630, + "declaration": 1430, "isOffset": false, "isSlot": false, - "src": "1608:1:5", + "src": "1608:1:6", "valueSize": 1 } }, { "_output": { - "declaration": 1626, + "declaration": 1426, "isOffset": false, "isSlot": false, - "src": "1590:7:5", + "src": "1590:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1622, + "declaration": 1422, "isOffset": false, "isSlot": false, - "src": "1599:6:5", + "src": "1599:6:6", "valueSize": 1 } } ], - "id": 1638, + "id": 1438, "nodeType": "InlineAssembly", "operations": "{\n mstore(add(_output, _offst), x)\n}", - "src": "1556:70:5" + "src": "1556:70:6" } ] }, - "id": 1640, + "documentation": null, + "id": 1440, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2598,16 +2613,16 @@ "name": "boolToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1627, + "id": 1427, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1622, + "id": 1422, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1640, - "src": "1441:11:5", + "scope": 1440, + "src": "1441:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2615,10 +2630,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1621, + "id": 1421, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1441:4:5", + "src": "1441:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2629,11 +2644,11 @@ }, { "constant": false, - "id": 1624, + "id": 1424, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1640, - "src": "1454:11:5", + "scope": 1440, + "src": "1454:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2641,10 +2656,10 @@ "typeString": "bool" }, "typeName": { - "id": 1623, + "id": 1423, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1454:4:5", + "src": "1454:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2655,64 +2670,64 @@ }, { "constant": false, - "id": 1626, + "id": 1426, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1640, - "src": "1467:20:5", + "scope": 1440, + "src": "1467:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1625, + "id": 1425, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1467:5:5", + "src": "1467:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "1440:48:5" + "src": "1440:48:6" }, "payable": false, "returnParameters": { - "id": 1628, + "id": 1428, "nodeType": "ParameterList", "parameters": [], - "src": "1503:0:5" + "src": "1503:0:6" }, - "scope": 1691, - "src": "1420:206:5", + "scope": 1491, + "src": "1420:206:6", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1667, + "id": 1467, "nodeType": "Block", - "src": "1724:492:5", + "src": "1724:492:6", "statements": [ { "assignments": [ - 1650 + 1450 ], "declarations": [ { "constant": false, - "id": 1650, + "id": 1450, "name": "stack_size", "nodeType": "VariableDeclaration", - "scope": 1668, - "src": "1734:18:5", + "scope": 1468, + "src": "1734:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2720,10 +2735,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1649, + "id": 1449, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1734:7:5", + "src": "1734:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2733,14 +2748,14 @@ "visibility": "internal" } ], - "id": 1655, + "id": 1455, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1654, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, @@ -2749,18 +2764,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1651, + "id": 1451, "name": "_input", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1644, - "src": "1755:6:5", + "referencedDeclaration": 1444, + "src": "1755:6:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1652, + "id": 1452, "isConstant": false, "isLValue": false, "isPure": false, @@ -2768,7 +2783,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1755:13:5", + "src": "1755:13:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2779,14 +2794,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3332", - "id": 1653, + "id": 1453, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1771:2:5", + "src": "1771:2:6", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", @@ -2794,14 +2809,14 @@ }, "value": "32" }, - "src": "1755:18:5", + "src": "1755:18:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1734:39:5" + "src": "1734:39:6" }, { "condition": { @@ -2810,7 +2825,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1661, + "id": 1461, "isConstant": false, "isLValue": false, "isPure": false, @@ -2821,7 +2836,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1659, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -2830,18 +2845,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1656, + "id": 1456, "name": "_input", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1644, - "src": "1786:6:5", + "referencedDeclaration": 1444, + "src": "1786:6:6", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1657, + "id": 1457, "isConstant": false, "isLValue": false, "isPure": false, @@ -2849,7 +2864,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1786:13:5", + "src": "1786:13:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2860,14 +2875,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3332", - "id": 1658, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1802:2:5", + "src": "1802:2:6", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", @@ -2875,7 +2890,7 @@ }, "value": "32" }, - "src": "1786:18:5", + "src": "1786:18:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2886,14 +2901,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1660, + "id": 1460, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1807:1:5", + "src": "1807:1:6", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -2901,20 +2916,20 @@ }, "value": "0" }, - "src": "1786:22:5", + "src": "1786:22:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1665, + "id": 1465, "nodeType": "IfStatement", - "src": "1783:39:5", + "src": "1783:39:6", "trueBody": { "expression": { "argumentTypes": null, - "id": 1663, + "id": 1463, "isConstant": false, "isLValue": false, "isPure": false, @@ -2922,15 +2937,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "1810:12:5", + "src": "1810:12:6", "subExpression": { "argumentTypes": null, - "id": 1662, + "id": 1462, "name": "stack_size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1650, - "src": "1810:10:5", + "referencedDeclaration": 1450, + "src": "1810:10:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2941,94 +2956,95 @@ "typeString": "uint256" } }, - "id": 1664, + "id": 1464, "nodeType": "ExpressionStatement", - "src": "1810:12:5" + "src": "1810:12:6" } }, { "externalReferences": [ { "stack_size": { - "declaration": 1650, + "declaration": 1450, "isOffset": false, "isSlot": false, - "src": "1891:10:5", + "src": "1891:10:6", "valueSize": 1 } }, { - "stack_size": { - "declaration": 1650, + "_output": { + "declaration": 1446, "isOffset": false, "isSlot": false, - "src": "1909:10:5", + "src": "2028:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1642, + "declaration": 1442, "isOffset": false, "isSlot": false, - "src": "2106:6:5", + "src": "2037:6:6", "valueSize": 1 } }, { - "_offst": { - "declaration": 1642, + "stack_size": { + "declaration": 1450, "isOffset": false, "isSlot": false, - "src": "2092:6:5", + "src": "1909:10:6", "valueSize": 1 } }, { - "_output": { - "declaration": 1646, + "_offst": { + "declaration": 1442, "isOffset": false, "isSlot": false, - "src": "2028:7:5", + "src": "2092:6:6", "valueSize": 1 } }, { - "_offst": { - "declaration": 1642, + "_input": { + "declaration": 1444, "isOffset": false, "isSlot": false, - "src": "2037:6:5", + "src": "2056:6:6", "valueSize": 1 } }, { - "_input": { - "declaration": 1644, + "_offst": { + "declaration": 1442, "isOffset": false, "isSlot": false, - "src": "2056:6:5", + "src": "2106:6:6", "valueSize": 1 } }, { "stack_size": { - "declaration": 1650, + "declaration": 1450, "isOffset": false, "isSlot": false, - "src": "2188:10:5", + "src": "2188:10:6", "valueSize": 1 } } ], - "id": 1666, + "id": 1466, "nodeType": "InlineAssembly", "operations": "{\n let index := 0\n stack_size := add(stack_size, 1)\n loop:\n mstore(add(_output, _offst), mload(add(_input, mul(index, 32))))\n _offst := sub(_offst, 32)\n index := add(index, 1)\n jumpi(loop, lt(index, stack_size))\n}", - "src": "1841:375:5" + "src": "1841:375:6" } ] }, - "id": 1668, + "documentation": null, + "id": 1468, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -3036,16 +3052,16 @@ "name": "stringToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1647, + "id": 1447, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1642, + "id": 1442, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1668, - "src": "1659:11:5", + "scope": 1468, + "src": "1659:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3053,10 +3069,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1641, + "id": 1441, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1659:4:5", + "src": "1659:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3067,25 +3083,25 @@ }, { "constant": false, - "id": 1644, + "id": 1444, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1668, - "src": "1672:19:5", + "scope": 1468, + "src": "1672:19:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1643, + "id": 1443, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1672:5:5", + "src": "1672:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, @@ -3093,90 +3109,91 @@ }, { "constant": false, - "id": 1646, + "id": 1446, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1668, - "src": "1693:20:5", + "scope": 1468, + "src": "1693:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1645, + "id": 1445, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1693:5:5", + "src": "1693:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "1658:56:5" + "src": "1658:56:6" }, "payable": false, "returnParameters": { - "id": 1648, + "id": 1448, "nodeType": "ParameterList", "parameters": [], - "src": "1724:0:5" + "src": "1724:0:6" }, - "scope": 1691, - "src": "1636:580:5", + "scope": 1491, + "src": "1636:580:6", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1678, + "id": 1478, "nodeType": "Block", - "src": "2304:86:5", + "src": "2304:86:6", "statements": [ { "externalReferences": [ { "_input": { - "declaration": 1672, + "declaration": 1472, "isOffset": false, "isSlot": false, - "src": "2367:6:5", + "src": "2367:6:6", "valueSize": 1 } }, { "_output": { - "declaration": 1674, + "declaration": 1474, "isOffset": false, "isSlot": false, - "src": "2349:7:5", + "src": "2349:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1670, + "declaration": 1470, "isOffset": false, "isSlot": false, - "src": "2358:6:5", + "src": "2358:6:6", "valueSize": 1 } } ], - "id": 1677, + "id": 1477, "nodeType": "InlineAssembly", "operations": "{\n mstore(add(_output, _offst), _input)\n}", - "src": "2315:75:5" + "src": "2315:75:6" } ] }, - "id": 1679, + "documentation": null, + "id": 1479, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3184,16 +3201,16 @@ "name": "intToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1475, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1670, + "id": 1470, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1679, - "src": "2242:11:5", + "scope": 1479, + "src": "2242:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3201,10 +3218,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1669, + "id": 1469, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2242:4:5", + "src": "2242:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3215,11 +3232,11 @@ }, { "constant": false, - "id": 1672, + "id": 1472, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1679, - "src": "2255:10:5", + "scope": 1479, + "src": "2255:10:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3227,10 +3244,10 @@ "typeString": "int256" }, "typeName": { - "id": 1671, + "id": 1471, "name": "int", "nodeType": "ElementaryTypeName", - "src": "2255:3:5", + "src": "2255:3:6", "typeDescriptions": { "typeIdentifier": "t_int256", "typeString": "int256" @@ -3241,90 +3258,91 @@ }, { "constant": false, - "id": 1674, + "id": 1474, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1679, - "src": "2267:21:5", + "scope": 1479, + "src": "2267:21:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1673, + "id": 1473, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2267:5:5", + "src": "2267:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "2241:48:5" + "src": "2241:48:6" }, "payable": false, "returnParameters": { - "id": 1676, + "id": 1476, "nodeType": "ParameterList", "parameters": [], - "src": "2304:0:5" + "src": "2304:0:6" }, - "scope": 1691, - "src": "2222:168:5", + "scope": 1491, + "src": "2222:168:6", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1689, + "id": 1489, "nodeType": "Block", - "src": "2484:86:5", + "src": "2484:86:6", "statements": [ { "externalReferences": [ { "_input": { - "declaration": 1683, + "declaration": 1483, "isOffset": false, "isSlot": false, - "src": "2547:6:5", + "src": "2547:6:6", "valueSize": 1 } }, { "_output": { - "declaration": 1685, + "declaration": 1485, "isOffset": false, "isSlot": false, - "src": "2529:7:5", + "src": "2529:7:6", "valueSize": 1 } }, { "_offst": { - "declaration": 1681, + "declaration": 1481, "isOffset": false, "isSlot": false, - "src": "2538:6:5", + "src": "2538:6:6", "valueSize": 1 } } ], - "id": 1688, + "id": 1488, "nodeType": "InlineAssembly", "operations": "{\n mstore(add(_output, _offst), _input)\n}", - "src": "2495:75:5" + "src": "2495:75:6" } ] }, - "id": 1690, + "documentation": null, + "id": 1490, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3332,16 +3350,16 @@ "name": "uintToBytes", "nodeType": "FunctionDefinition", "parameters": { - "id": 1686, + "id": 1486, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1681, + "id": 1481, "name": "_offst", "nodeType": "VariableDeclaration", - "scope": 1690, - "src": "2422:11:5", + "scope": 1490, + "src": "2422:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3349,10 +3367,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1680, + "id": 1480, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2422:4:5", + "src": "2422:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3363,11 +3381,11 @@ }, { "constant": false, - "id": 1683, + "id": 1483, "name": "_input", "nodeType": "VariableDeclaration", - "scope": 1690, - "src": "2435:11:5", + "scope": 1490, + "src": "2435:11:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3375,10 +3393,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1682, + "id": 1482, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2435:4:5", + "src": "2435:4:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3389,58 +3407,58 @@ }, { "constant": false, - "id": 1685, + "id": 1485, "name": "_output", "nodeType": "VariableDeclaration", - "scope": 1690, - "src": "2448:20:5", + "scope": 1490, + "src": "2448:20:6", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeString": "bytes" }, "typeName": { - "id": 1684, + "id": 1484, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "2448:5:5", + "src": "2448:5:6", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes storage pointer" + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "2421:48:5" + "src": "2421:48:6" }, "payable": false, "returnParameters": { - "id": 1687, + "id": 1487, "nodeType": "ParameterList", "parameters": [], - "src": "2484:0:5" + "src": "2484:0:6" }, - "scope": 1691, - "src": "2401:169:5", + "scope": 1491, + "src": "2401:169:6", "stateMutability": "pure", "superFunction": null, "visibility": "internal" } ], - "scope": 1692, - "src": "179:2397:5" + "scope": 1492, + "src": "179:2397:6" } ], - "src": "0:2577:5" + "src": "0:2577:6" }, "compiler": { "name": "solc", - "version": "0.4.19+commit.c4cbbb05.Emscripten.clang" + "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, - "schemaVersion": "2.0.0", - "updatedAt": "2018-04-11T03:43:43.235Z" + "schemaVersion": "2.0.1", + "updatedAt": "2018-09-25T04:39:56.952Z" } \ No newline at end of file diff --git a/contracts/PublicTokens.sol b/contracts/PublicTokens.sol deleted file mode 100644 index f3644b2..0000000 --- a/contracts/PublicTokens.sol +++ /dev/null @@ -1,155 +0,0 @@ -pragma solidity ^0.4.0; -import "./Seriality/Seriality.sol"; -import "./DummyToken.sol"; - -contract PublicTokens is Seriality{ - uint public tokenCount = 0; //total count of all added tokens - uint public tokenValidCount = 0; //count of all valid tokens isValid!=false - address public owner; - struct Token { - bytes16 name; // Name of the token - bytes16 symbol; // Symbol of the token - address addr; // Address of the token contract - uint8 decimals; // decimals of the token - bytes32 website; // website of the token - bytes32 email; // support email of the token - bool isValid; //whether the token is valid or not - } - mapping(uint => Token) public pubTokens; - mapping(address => bool) public moderator; - mapping(address => uint) public idMap; - modifier owner_only() { - require(owner == msg.sender); - _; - } - modifier only_mod() { - require(owner == msg.sender || moderator[msg.sender] == true); - _; - } - modifier no_null(address addr) { - require(addr != 0x0); - _; - } - function PublicTokens () public { - owner = msg.sender; - } - function addModerator(address addr) public owner_only { - moderator[addr] = true; - } - function removeModerator(address addr) public owner_only { - moderator[addr] = false; - } - function addSetToken( - bytes16 name, - bytes16 symbol, - address addr, - uint8 decimals, - bytes32 website, - bytes32 email) public only_mod no_null(addr) { - Token storage token = pubTokens[idMap[addr]]; - if(token.addr == 0x0) { - tokenCount++; - tokenValidCount++; - token = pubTokens[tokenCount]; - idMap[addr] = tokenCount; - token.isValid = true; - } - token.name = name; - token.symbol = symbol; - token.addr = addr; - token.decimals = decimals; - token.website = website; - token.email = email; - } - function disableToken(address addr) public only_mod no_null(addr) { - Token storage token = pubTokens[idMap[addr]]; - if(token.addr == addr) { - token.isValid = false; - tokenValidCount--; - } - } - function enableToken(address addr) public only_mod no_null(addr) { - Token storage token = pubTokens[idMap[addr]]; - if(token.addr == addr) { - token.isValid = false; - tokenValidCount++; - } - } - function getToken(address addr) public view returns ( - bytes16, - bytes16, - address, - uint8, - bytes32, - bytes32) { - Token memory token = pubTokens[idMap[addr]]; - return ( - token.name, - token.symbol, - token.addr, - token.decimals, - token.website, - token.email); - } - function getTokenById(uint id) public view returns ( - bytes16, - bytes16, - address, - uint8, - bytes32, - bytes32) { - Token memory token = pubTokens[id]; - return ( - token.name, - token.symbol, - token.addr, - token.decimals, - token.website, - token.email); - } - function getAllBalance(address _owner, bool name, bool website, bool email, uint count) public view returns (bytes) { - if(count == 0) count = tokenCount; - uint bufferSize = 33; //assign 32 bytes to set the total number of tokens + define start - bufferSize += 3; //set name, website, email - uint validCounter = 0; - for(uint i=1; i<=count; i++){ - Token memory token = pubTokens[i]; - if(token.isValid){ - validCounter++; - if(name) bufferSize+=16; - if(website) bufferSize+=32; - if(email) bufferSize+=32; - bufferSize+= 76; // address (20) + symbol(16) + balance(32) + decimals(8) - } - } - bytes memory result = new bytes(bufferSize); - uint offset = bufferSize; - //serialize - boolToBytes(offset, true, result); offset -= 1; - uintToBytes(offset, validCounter, result); offset -= 32; - boolToBytes(offset, name, result); offset -= 1; - boolToBytes(offset, website, result); offset -= 1; - boolToBytes(offset, email, result); offset -= 1; - for(i=1; i<=count; i++){ - token = pubTokens[i]; - DummyToken basicToken = DummyToken(token.addr); - if(token.isValid){ - bytes16ToBytesR(offset, token.symbol, result); offset -= 16; - addressToBytes(offset, token.addr, result); offset -= 20; - uintToBytes(offset, token.decimals, result); offset -= 8; - uint256 balance = basicToken.balanceOf(_owner); - uintToBytes(offset, balance, result); offset -= 32; - if(name){ - bytes16ToBytesR(offset, token.name, result); offset -= 16; - } - if(website) { - bytes32ToBytesR(offset, token.website, result); offset -= 32; - } - if(email) { - bytes32ToBytesR(offset, token.email, result); offset -= 32; - } - } - } - return result; - } -} \ No newline at end of file diff --git a/contracts/token-balances/DummyContract.sol b/contracts/token-balances/DummyContract.sol new file mode 100644 index 0000000..3f94948 --- /dev/null +++ b/contracts/token-balances/DummyContract.sol @@ -0,0 +1,7 @@ +pragma solidity ^0.4.24; +contract DummyContract { + constructor() public {} + function add(uint a, uint b) public returns (uint) { + return a+b; + } +} \ No newline at end of file diff --git a/contracts/DummyToken.sol b/contracts/token-balances/DummyToken.sol similarity index 58% rename from contracts/DummyToken.sol rename to contracts/token-balances/DummyToken.sol index 126a0b7..f5033d3 100644 --- a/contracts/DummyToken.sol +++ b/contracts/token-balances/DummyToken.sol @@ -1,19 +1,20 @@ -pragma solidity ^0.4.0; +pragma solidity ^0.4.24; contract DummyToken { - function DummyToken(address addr) public { + constructor(address addr) public { balances[addr] = 500000000000000; } function transfer(address _to, uint256 _value) public returns (bool success) { - require(balances[msg.sender] >= _value); + require(balances[msg.sender] >= _value, "low sender balance"); balances[msg.sender] -= _value; balances[_to] += _value; return true; } - - function balanceOf(address _owner) public constant returns (uint256 balance) { + function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } - + function killMe() public { + selfdestruct(this); + } mapping (address => uint256) balances; mapping (address => mapping (address => uint256)) allowed; } \ No newline at end of file diff --git a/contracts/token-balances/PublicTokens.sol b/contracts/token-balances/PublicTokens.sol new file mode 100644 index 0000000..aad1498 --- /dev/null +++ b/contracts/token-balances/PublicTokens.sol @@ -0,0 +1,115 @@ +pragma solidity ^0.4.24; +contract PublicTokens { + uint public tokenCount = 0; //total count of all added tokens + uint public tokenValidCount = 0; //count of all valid tokens isValid!=false + address public owner; + struct Token { + bytes16 name; // Name of the token + bytes16 symbol; // Symbol of the token + address addr; // Address of the token contract + uint8 decimals; // decimals of the token + bytes32 website; // website of the token + bytes32 email; // support email of the token + bool isValid; //whether the token is valid or not + } + mapping(uint => Token) public pubTokens; + mapping(address => bool) public moderator; + mapping(address => uint) public idMap; + modifier owner_only() { + require(owner == msg.sender, "only owner"); + _; + } + modifier only_mod() { + require(owner == msg.sender || moderator[msg.sender] == true, "only moderetor"); + _; + } + modifier only_contract(address addr) { + uint32 size; + assembly { + size := extcodesize(addr) + } + require(size > 0, "Not a contract"); + _; + } + modifier no_null(address addr) { + require(addr != 0x0, "invalid address"); + _; + } + constructor () public { + owner = msg.sender; + } + function addModerator(address addr) public owner_only { + moderator[addr] = true; + } + function removeModerator(address addr) public owner_only { + moderator[addr] = false; + } + function addSetToken( + bytes16 name, + bytes16 symbol, + address addr, + uint8 decimals, + bytes32 website, + bytes32 email) public only_mod no_null(addr) only_contract(addr) { + Token storage token = pubTokens[idMap[addr]]; + if(token.addr == 0x0) { + tokenCount++; + tokenValidCount++; + token = pubTokens[tokenCount]; + idMap[addr] = tokenCount; + token.isValid = true; + } + token.name = name; + token.symbol = symbol; + token.addr = addr; + token.decimals = decimals; + token.website = website; + token.email = email; + } + function disableToken(address addr) public only_mod no_null(addr) { + Token storage token = pubTokens[idMap[addr]]; + if(token.addr == addr) { + token.isValid = false; + tokenValidCount--; + } + } + function enableToken(address addr) public only_mod no_null(addr) { + Token storage token = pubTokens[idMap[addr]]; + if(token.addr == addr) { + token.isValid = false; + tokenValidCount++; + } + } + function getToken(address addr) public view returns ( + bytes16, + bytes16, + address, + uint8, + bytes32, + bytes32) { + Token memory token = pubTokens[idMap[addr]]; + return ( + token.name, + token.symbol, + token.addr, + token.decimals, + token.website, + token.email); + } + function getTokenById(uint id) public view returns ( + bytes16, + bytes16, + address, + uint8, + bytes32, + bytes32) { + Token memory token = pubTokens[id]; + return ( + token.name, + token.symbol, + token.addr, + token.decimals, + token.website, + token.email); + } +} \ No newline at end of file diff --git a/contracts/Seriality/BytesToTypes.sol b/contracts/token-balances/Seriality/BytesToTypes.sol similarity index 100% rename from contracts/Seriality/BytesToTypes.sol rename to contracts/token-balances/Seriality/BytesToTypes.sol diff --git a/contracts/Seriality/Seriality.sol b/contracts/token-balances/Seriality/Seriality.sol similarity index 100% rename from contracts/Seriality/Seriality.sol rename to contracts/token-balances/Seriality/Seriality.sol diff --git a/contracts/Seriality/SizeOf.sol b/contracts/token-balances/Seriality/SizeOf.sol similarity index 100% rename from contracts/Seriality/SizeOf.sol rename to contracts/token-balances/Seriality/SizeOf.sol diff --git a/contracts/Seriality/TypesToBytes.sol b/contracts/token-balances/Seriality/TypesToBytes.sol similarity index 100% rename from contracts/Seriality/TypesToBytes.sol rename to contracts/token-balances/Seriality/TypesToBytes.sol diff --git a/contracts/token-balances/TokenBalances.sol b/contracts/token-balances/TokenBalances.sol new file mode 100644 index 0000000..b57b5b4 --- /dev/null +++ b/contracts/token-balances/TokenBalances.sol @@ -0,0 +1,121 @@ +pragma solidity ^0.4.24; +import "./Seriality/Seriality.sol"; +import "./PublicTokens.sol"; +import "./DummyToken.sol"; +contract TokenBalances is Seriality{ + struct Token { + bytes16 name; // Name of the token + bytes16 symbol; // Symbol of the token + address addr; // Address of the token contract + uint8 decimals; // decimals of the token + bytes32 website; // website of the token + bytes32 email; // support email of the token + bool isValid; //whether the token is valid or not + } + PublicTokens pubT; + constructor(address tokenStorage) public { + pubT = PublicTokens(tokenStorage); + } + function getTokenStorage() public view returns (address){ + return pubT; + } + function isContract(address addr) internal view returns (bool) { + uint32 size; + assembly { + size := extcodesize(addr) + } + return size > 0; + } + function getToken(uint id) internal view returns (Token token) { + (token.name, token.symbol, token.addr, token.decimals, token.website, token.email, token.isValid) = pubT.pubTokens(id); + } + function getTokenBalance(address tokenAddr, address addr) internal view returns (uint bal) { + bytes4 sig = bytes4(keccak256("balanceOf(address)")); + assembly { + // move pointer to free memory spot + let ptr := mload(0x40) + // put function sig at memory spot + mstore(ptr,sig) + // append argument after function sig + mstore(add(ptr,0x04), addr) + + let result := call( + 150000, // gas limit + tokenAddr, // to addr. append var to _slot to access storage variable + 0, // not transfer any ether + ptr, // Inputs are stored at location ptr + 0x24, // Inputs are 36 bytes long + ptr, //Store output over input + 0x20) //Outputs are 32 bytes long + + if iszero(result) { + bal := 0 // return 0 on error and 0 balance + } + if gt(result, 0) { + bal := mload(ptr) // Assign output to answer var + } + mstore(0x40,add(ptr,0x20)) // Set storage pointer to new space + } + } + function getAllBalance(address _owner, bool name, bool website, bool email, uint _count) public view returns (bytes) { + uint count; + address tOwner = _owner; + if(_count == 0) count = pubT.tokenCount(); + else count = _count; + bool[] memory validTokens = new bool[](count+1); + uint bufferSize = 33; //assign 32 bytes to set the total number of tokens + define start + bufferSize += 3; //set name, website, email + uint countValidTokens = 0; + for(uint i = 1; i <= count; i++){ + Token memory token = getToken(i); + if(token.isValid && isContract(token.addr)){ + validTokens[i] = true; + countValidTokens++; + if(name) bufferSize += 16; + if(website) bufferSize += 32; + if(email) bufferSize += 32; + bufferSize += 69; // address (20) + symbol(16) + balance(32) + decimals(1) + } else { + validTokens[i] = false; + } + } + bytes memory result = new bytes(bufferSize); + uint offset = bufferSize; + //serialize + boolToBytes(offset, true, result); + offset -= 1; + uintToBytes(offset, countValidTokens, result); + offset -= 32; + boolToBytes(offset, name, result); + offset -= 1; + boolToBytes(offset, website, result); + offset -= 1; + boolToBytes(offset, email, result); + offset -= 1; + for(i = 1; i <= count; i++){ + if(!validTokens[i]) continue; + token = getToken(i); + bytes16ToBytesR(offset, token.symbol, result); + offset -= 16; + addressToBytes(offset, token.addr, result); + offset -= 20; + uintToBytes(offset, token.decimals, result); + offset -= 1; + uintToBytes(offset, getTokenBalance(token.addr, tOwner), result); + offset -= 32; + if(name){ + bytes16ToBytesR(offset, token.name, result); + offset -= 16; + } + if(website) { + bytes32ToBytesR(offset, token.website, result); + offset -= 32; + } + if(email) { + bytes32ToBytesR(offset, token.email, result); + offset -= 32; + } + } + return result; + } +} \ No newline at end of file diff --git a/libs/binaryDecoder.js b/libs/binaryDecoder.js index d66d7fb..842bcdc 100644 --- a/libs/binaryDecoder.js +++ b/libs/binaryDecoder.js @@ -1,67 +1,64 @@ -var bn = require('bignumber.js') -var Web3 = require('web3') -var web3 = new Web3() -var sizeHex = (bytes) => { - return bytes * 2; -} +var bn = require("bignumber.js"); +var Web3 = require("web3"); +var web3 = new Web3(); +var sizeHex = bytes => { + return bytes * 2; +}; function trim(str) { - return str.replace(/\0[\s\S]*$/g, '') + return str.replace(/\0[\s\S]*$/g, ""); } function getAscii(hex) { - hex = hex.substring(0, 2) == '0x' ? hex : '0x' + hex; - return trim(web3.toAscii(hex)) + hex = hex.substring(0, 2) == "0x" ? hex : "0x" + hex; + return trim(web3.toAscii(hex)); } module.exports = { - decode: (hex) => { - var tokens = [] - hex = hex.substring(0, 2) == '0x' ? hex.substring(2) : hex; - hex = hex.substring(0, (hex.lastIndexOf("1")-1)) //starting point - var offset = hex.length - offset -= sizeHex(32) - var countTokens = hex.substr(offset, sizeHex(32)) - offset -= sizeHex(1) - var isName = parseInt(hex.substr(offset, sizeHex(1))) - offset -= sizeHex(1) - var isWebSite = parseInt(hex.substr(offset, sizeHex(1))) - offset -= sizeHex(1) - var isEmail = parseInt(hex.substr(offset, sizeHex(1))) - var numTokens = new bn('0x' + countTokens).toNumber() - for (var i = 0; i < numTokens; i++) { - var token = {} - offset -= sizeHex(16) - token.symbol = getAscii(hex.substr(offset, sizeHex(16))) - offset -= sizeHex(20) - token.addr = '0x' + hex.substr(offset, sizeHex(20)) - offset -= sizeHex(8) - token.decimals = new bn('0x' + hex.substr(offset, sizeHex(8))).toNumber() - offset -= sizeHex(32) - token.balance = new bn('0x' + hex.substr(offset, sizeHex(32))).toFixed() - if (isName) { - offset -= sizeHex(16) - token.name = getAscii(hex.substr(offset, sizeHex(16))) - - } - if (isWebSite) { - offset -= sizeHex(32) - token.website = getAscii(hex.substr(offset, sizeHex(32))) - } - if (isEmail) { - offset -= sizeHex(32) - token.email = getAscii(hex.substr(offset, sizeHex(32))) - - } - tokens.push(token) - } - return tokens + decode: hex => { + var tokens = []; + hex = hex.substring(0, 2) == "0x" ? hex.substring(2) : hex; + hex = hex.substring(0, hex.lastIndexOf("1") - 1); //starting point + var offset = hex.length; + offset -= sizeHex(32); + var countTokens = hex.substr(offset, sizeHex(32)); + offset -= sizeHex(1); + var isName = parseInt(hex.substr(offset, sizeHex(1))); + offset -= sizeHex(1); + var isWebSite = parseInt(hex.substr(offset, sizeHex(1))); + offset -= sizeHex(1); + var isEmail = parseInt(hex.substr(offset, sizeHex(1))); + var numTokens = new bn("0x" + countTokens).toNumber(); + for (var i = 0; i < numTokens; i++) { + var token = {}; + offset -= sizeHex(16); + token.symbol = getAscii(hex.substr(offset, sizeHex(16))); + offset -= sizeHex(20); + token.addr = "0x" + hex.substr(offset, sizeHex(20)); + offset -= sizeHex(1); + token.decimals = new bn("0x" + hex.substr(offset, sizeHex(1))).toNumber(); + offset -= sizeHex(32); + token.balance = new bn("0x" + hex.substr(offset, sizeHex(32))).toFixed(); + if (isName) { + offset -= sizeHex(16); + token.name = getAscii(hex.substr(offset, sizeHex(16))); + } + if (isWebSite) { + offset -= sizeHex(32); + token.website = getAscii(hex.substr(offset, sizeHex(32))); + } + if (isEmail) { + offset -= sizeHex(32); + token.email = getAscii(hex.substr(offset, sizeHex(32))); + } + tokens.push(token); } -} + return tokens; + } +}; //var hex = "0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000013ed700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000534b52502028506861736520312d452900000000000000000000000000000000000000000000000000000000000000000000000000000012324a48ebcbb46e61993931ef9d35f6697cd2901b534b52502028506861736520312d4529737570706f72744064696d656e73696f6e732e6e6574776f726b00000000000068747470733a2f2f64696d656e73696f6e732e6e6574776f726b000000000000537472696b65436f696e20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000012629aee55ed49581c33ab27f9403f7992a289ffd553544300000000000000000000000000696e666f40736b726170732e696f00000000000000000000000000000000000068747470733a2f2f736b726170732e696f2f0000000000000000000000000000536b7261707300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000126e34d8d84764d40f6d7b39cd569fd017bf53177d534b5250000000000000000000000000737570706f72744062697465746865722e636f0000000000000000000000000068747470733a2f2f6279746f6d2e696f000000000000000000000000000000004269746574686572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080aa07e2c7185150d7e4da98838a8d2feac3dfc42545400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7665726f732e6f72670000000000000000000000000000005665726f73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005edbaf3c5100302dcdda53269322f3730b1f0416d5652530000000000000000000000000061646d696e40736d617274696c6c696f6e732e6368000000000000000000000068747470733a2f2f7777772e736d617274696c6c696f6e732e63680000000000504154454e545300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012694404595e3075a942397f466aacd462ff1a7bd0504154454e5453000000000000000000737570706f7274406d69747261762e636f00000000000000000000000000000068747470733a2f2f6d69747261762e636f0000000000000000000000000000004d697472617600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000087fc408011165760ee31be2bf20daf450356692af4d545200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f63727970746f67656e652e636f0000000000000000000000584754000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001230f4a3e0ab7a76733d8b60b89dd93c3d0b4c9e2f58475400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f73796e617073652e6169000000000000000000000000000053796e617073650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001210b123fddde003243199aad03522065dc05827a053594e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004444460000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012cc4ef9eeaf656ac1a2ab886743e98e97e090ed3844444600000000000000000000000000737570706f727440776f726b636f696e2e6e657400000000000000000000000068747470733a2f2f776f726b636f696e2e6e65742f0000000000000000000000576f726b436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001271e8d74ff1c923e369d0e70dfb09866629c4dd3557524b0000000000000000000000000062746362747140676d61696c2e636f6d0000000000000000000000000000000068747470733a2f2f7468656274636274712e636f6d0000000000000000000000426974636f696e20426f7574697175650000000000000000000000000000000000000000000000000000000000000000000000000000001216b0e62ac13a2faed36d18bce2356d25ab3cfad342545100000000000000000000000000707273706d6540676d61696c2e636f6d00000000000000000000000000000000687474703a2f2f7777772e707273702e6d65000000000000000000000000000050525350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000090c04d4f331da8df75f9e2e271e3f3f1494c66c3650525350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f6368726f6e6f62616e6b2e696f00000000000000000000004368726f6e6f62616e6b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000086531f133e6deebe7f2dce5a0441aa7ef330b4e5354494d45000000000000000000000000737570706f727440657468657265756d2e6c696e6b000000000000000000000068747470733a2f2f657468657265756d2e6c696e6b00000000000000000000004c696e6b20506c6174666f726d00000000000000000000000000000000000000000000000000000000000000000000000000000000000012e2e6d4be086c6938b53b22144855eef6742816394c494e4b20506c6174666f726d000000737570706f7274406f70656e6675747572652e696f00000000000000000000006f70656e6675747572652e696f000000000000000000000000000000000000004f50454e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008e9de1c630753a15d7021cc563429c21d4887506f4f50454e00000000000000000000000073616d75656c2e68724074696971752e636f6d00000000000000000000000000687474703a2f2f74696971752e636f6d0000000000000000000000000000000054696951752773205120546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000122c3c1f05187dba7a5f2dd47dca57281c4d4f183f5154510000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000524c54000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000acced5b8288086be8c38e23567e684c3740be4d48524c5400000000000000000000000000696e666f40736d6172746e6f64652e6f72670000000000000000000000000000687474703a2f2f736d6172746e6f64652e6f7267000000000000000000000000536d617274204e6f6465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000122dcfaac11c9eebd8c6c42103fe9e2a6ad237af27534d5400000000000000000000000000737570706f7274407069706c636f696e2e636f6d00000000000000000000000068747470733a2f2f7069706c636f696e2e636f6d0000000000000000000000005049504c20436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008e64509f0bf07ce2d29a7ef19a8a9bc065477c1b45049504c000000000000000000000000646f77636f696e40676d61696c2e636f6d00000000000000000000000000000068747470733a2f2f646f77636f696e2e696f2f00000000000000000000000000444f57000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001276974c7b79dc8a6a109fd71fd7ceb9e40eff5382444f57000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000706c61736d612e746f6b656e40676d61696c2e636f6d00000000000000000000504c41534d41000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000659416a25628a76b4730ec51486114c32e0b582a1504c41534d41000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043727970746f4b4545000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000072d32ac1c5e66bfc5b08806271f8eef9155451644b454500000000000000000000000000696e666f4074626974626f742e636f6d0000000000000000000000000000000068747470733a2f2f74626974626f742e636f6d0000000000000000000000000054426974426f7400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008afe60511341a37488de25bef351952562e31fcc154425400000000000000000000000000737570706f7274406d617274636f696e2e696f0000000000000000000000000068747470733a2f2f6d617274636f696e2e696f000000000000000000000000004d617274636f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012fdcc07ab60660de533b5ad26e1457b565a9d59bd4d415254000000000000000000000000696e666f40736e69702e746f646179000000000000000000000000000000000068747470733a2f2f7777772e736e69702e6e6574776f726b0000000000000000534e49500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001244f588aeeb8c44471439d1270b3603c66a9262f1534e49500000000000000000000000006865647061796c746440676d61696c2e636f6d00000000000000000000000000687474703a2f2f6865647061792e636f6d000000000000000000000000000000484564704159000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001284543f868ec1b1fac510d49d13c069f64cd2d5f94864702ed18400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004352420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008aef38fbfbf932d1aef3b808bc8fbd8cd8e1f8bc5435242000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000687474703a2f2f626974636f696e65756d2e636f6d2f6d696e65720000000000425445000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000873dd069c299a5d691e9836243bcaec9c8c1d873442544500000000000000000000000000696e666f406f7866696e612e636f6d000000000000000000000000000000000068747470733a2f2f6f7866696e612e636f6d00000000000000000000000000004f782046696e610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000365a15014964f2102ff58647e16a16a6b9e14bcf64f782046696e61000000000000000000737570706f727440776f726c647065616365636f696e2e696e666f0000000000687474703a2f2f7777772e776f726c647065616365636f696e2e696f00000000576f726c645065616365436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000001262087245087125d3db5b9a3d713d78e7bbc31e54575043000000000000000000000000006b61697a656e636f696e406b61697a656e636f696e2e696f0000000000000000687474703a2f2f6b61697a656e636f696e2e696f0000000000000000000000004b61697a656e436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000089541fd8b9b5fa97381783783cebf2f5fa793c2624b5a4e00000000000000000000000000696e666f4072656e646572746f6b656e2e636f6d00000000000000000000000068747470733a2f2f72656e646572746f6b656e2e636f6d00000000000000000052656e64657220546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000120996bfb5d057faa237640e2506be7b4f9c46de0b524e4452000000000000000000000000756e63682f00000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e647574796f662e636172652f746f6b656e2d6c6144757479206f66204361726520546f6b0000000000000000000000000000000000000000000000000000000000000000000000000000001282bd526bdb718c6d4dd2291ed013a5186cae2dca56444f43000000000000000000000000696e666f40696e74656c6c6967656e7474726164696e672e6f72670000000000687474703a2f2f696e74656c6c6967656e7474726164696e672e6f726700000049545420546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080aef06dcccc531e581f0440059e6ffcc206039ee4954540000000000000000000000000067616d6d614078617572756d2e70726f0000000000000000000000000000000068747470733a2f2f7777772e78617572756d2e6f72672f67616d6d610000000058474d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008533ef0984b2faa227acc620c67cce12aa39cd8cd58474d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000504554524f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012ec18f898b4076a3e18f1089d33376cc380bde61d504554524f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f79676764726173682e696f0000000000000000000000000059454544000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000126f7a4bac3315b5082f793161a22e26666d22717f59454544000000000000000000000000737570706f72744073696b6f62612e636f6d0000000000000000000000000000687474703a2f2f7777772e73696b6f62612e636f6d000000000000000000000053696b6f626100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124994e81897a920c0fea235eb8cedeed3c6fff697534b4f31000000000000000000000000737570706f72744062756c6c696f6e63727970746f2e696e666f0000000000007777772e62756c6c696f6e63727970746f2e696e666f0000000000000000000042756c6c696f6e2043727970746f000000000000000000000000000000000000000000000000000000000000000000000000000000000012ce59d29b09aae565feeef8e52f47c3cd5368c663424c58202842756c6c696f6e2900000061646d696e40657468506f6b65722e696f00000000000000000000000000000068747470733a2f2f657468506f6b65722e696f00000000000000000000000000657468506f6b65722e696f20455058000000000000000000000000000000000000000000000000000000000000000000000000000000000435baa72038f127f9f8c8f9b491049f64f377914d45505800000000000000000000000000737570706f7274406c69666572756e2e6363000000000000000000000000000068747470733a2f2f7777772e6c69666572756e2e6363000000000000000000004c69666552756e20436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c798cd1c49db0e297312e4c682752668ce1db2ad4c46520000000000000000000000000068656c6c6f4070697463686170706c792e636f6d00000000000000000000000068747470733a2f2f7777772e70697463686170706c792e636f6d0000000000005049544348000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012fcac7a7515e9a9d7619fa77a1fa738111f66727e50434800000000000000000000000000636f6e74616374407265616c6973746f2e696f0000000000000000000000000068747470733a2f2f7777772e7265616c6973746f2e696f0000000000000000005265616c6973746f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012767ba2915ec344015a7938e3eedfec2785195d05524541000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000687474703a2f2f736d6172746c616e64732e696f000000000000000000000000536d6172746c616e6473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037a5ff295dc8239d5c2374e4d894202aaf029cab6534c540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000524f554e440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124993cb95c7443bdc06155c5f5688be9d8f6999a5524f554e440000000000000000000000737570706f7274406e657875732e736f6369616c00000000000000000000000068747470733a2f2f69636f2e6e657875732e736f6369616c0000000000000000536f6369616c436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008d7631787b4dcc87b1254cfd1e5ce48e96823dee853434c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e62797465746865722e636f6d00000000000000004279746574686572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012fad572db566e5234ac9fc3d570c4edc0050eaa9242544800000000000000000000000000737570706f727440636f6e66696465616c2e696f00000000000000000000000068747470733a2f2f636f6e66696465616c2e696f000000000000000000000000436f6e66696465616c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000128a95ca448a52c0adf0054bb3402dc5e09cd6b23243444c0000000000000000000000000068656c6c6f40666f72746b6e6f78737465722e636f6d0000000000000000000068747470733a2f2f666f72746b6e6f78737465722e636f6d00000000000000004b6e6f7873746572746f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000012009e864923b49263c7f10d19b7f8ab7a9a5aad33464b5800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f66696c6d73636f696e2e696f00000000000000000000000046696c6d73636f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005976f7dac1525ef3277836043ba474a35e6b4272464c4d430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000047425400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000127585f835ae2d522722d2684323a0ba83401f32f5474254000000000000000000000000002e6272000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e636f696e6d61726b657462726173696c2e636f6d434d42546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000083edd235c3e840c1f29286b2e39370a255c7b6fdb434d4254000000000000000000000000636f6e74616374406163636f7264746f6b656e2e636f6d00000000000000000068747470733a2f2f6163636f7264746f6b656e2e636f6d0000000000000000004163636f7264000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001275aa7b0d02532f3833b66c7f0ad35376d373ddf841524400000000000000000000000000636f6e74616374406574686572656d6f6e2e636f6d000000000000000000000068747470733a2f2f7777772e6574686572656d6f6e2e636f6d2f0000000000004574686572656d6f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008b67b88a25708a35ae7c2d736d398d268ce4f7f83454d4f4e00000000000000000000000069676974616c2d6173736574732d706f7765722d706c6179000000000000000068747470733a2f2f636f666f756e642e69742f656e2f70726f6a656374732f644469676974616c2041737365747320500000000000000000000000000000000000000000000000000000000000000000000000000000001201b3ec4aae1b8729529beb4965f27d008788b0eb44505000000000000000000000000000696e666f407363616e64697765622e636f6d000000000000000000000000000068747470733a2f2f7363616e64697765622e636f6d00000000000000000000005363616e646977656220436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000278fe18e41f436e1981a3a60d1557c8a7a93704615343414e4449000000000000000000007465616d4070726f6a65637477797665726e2e636f6d0000000000000000000068747470733a2f2f70726f6a65637477797665726e2e636f6d0000000000000057797665726e546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012056017c55ae7ae32d12aef7c679df83a85ca75ff57595600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f6d6f6e6579726562656c2e696f2f000000000000000000004d6f6e6579526562656c20546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000001221f0f0fd3141ee9e11b3d7f13a1028cd515f459c4d5250000000000000000000000000006e74406578616e74652e6575000000000000000000000000000000000000000068747470733a2f2f6578616e74652e6575000000000000000000000000000000584e540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000572e6f318056ba0c5d47a422653113843d250691584e5400000000000000000000000000696e666f4077686f6861732e696f00000000000000000000000000000000000068747470733a2f2f77686f6861732e696f00000000000000000000000000000057686f4861730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e933c0cd9784414d5f278c114904f5a84b39691957484f000000000000000000000000007465616d4065626974636f696e636173682e696f00000000000000000000000068747470733a2f2f65626974636f696e636173682e696f0000000000000000006542434800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008afc39788c51f0c1ff7b55317f3e70299e521fff665424348000000000000000000000000737570706f7274406675746f75726973742e696f00000000000000000000000068747470733a2f2f6675746f75726973742e696f2f00000000000000000000004675746f757269737420546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000122023dcf7c438c8c8c0b0f28dbae15520b4f3ee20465452000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000047656e657669657665205643000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a22f0af8d78851b72ee799e05f54a77001586b18a4758564300000000000000000000000061646d696e4068757433342e696f00000000000000000000000000000000000068747470733a2f2f68757433342e696f2f000000000000000000000000000000487574333420456e74726f707920546f000000000000000000000000000000000000000000000000000000000000000000000000000000125bc7e5f0ab8b2e10d2d0a3f21739fce62459aef3454e5452500000000000000000000000696e666f40736d617274696c6c696f6e732e636800000000000000000000000068747470733a2f2f7777772e736d617274696c6c696f6e732e63680000000000532d4554480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000123eb91d237e491e0dee8582c402d85cb440fb6b54532d455448000000000000000000000070657465726b6540676d61696c2e636f6d00000000000000000000000000000068747470733a2f2f706f7461746f696e2e666f756e646174696f6e0000000000506f7461746f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043f6a1be992dee408721748490772b15143ce0a7504f494e000000000000000000000000737570706f727440636f616c636f696e2e74656368000000000000000000000068747470733a2f2f636f616c636f696e2e746563682f656e0000000000000000436f616c20436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012c166038705ffbab3794185b3a9d925632a1df37d43433300000000000000000000000000696e666f406765656e732e636f6d00000000000000000000000000000000000068747470733a2f2f7777772e6765656e732e636f6d00000000000000000000004765656e73204e504f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084f4f0db4de903b88f2b1a2847971e231d54f8fd3474545000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000687474703a2f2f7379646574682e636f6d0000000000000000000000000000005345540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e06eda7435ba749b047380ced49121dde93334ae5345540000000000000000000000000063726f776473616c65406d6163726f76657273652e696f00000000000000000068747470733a2f2f6d6163726f76657273652e696f00000000000000000000004d52560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012ab6cf87a50f17d7f5e1feaf81b6fe9ffbe8ebf844d525600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e646576636f6e322d746f6b656e2e636f6d000000446576636f6e3220546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000dd94de9cfe063577051a5eb7465d08317d8808b6446576636f6e3220546f6b656e0000007365727669636540736861726465722e6f72670000000000000000000000000068747470733a2f2f736861726465722e6f7267000000000000000000000000005368617264657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012bbff862d906e348e9946bfb2132ecb157da3d4b453530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f696e646f7273652e696f0000000000000000000000000000496e646f7273650000000000000000000000000000000000000000000000000000000000000000001bc16d674ec800000000000000000012f8e386eda857484f5a12e4b5daa9984e06e73705494e4400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f766962656875622e696f2f69636f2f00000000000000000056494245582045786368616e6765205400000000000000000000000000000000000000000000000000000000000000000000000000000012882448f83d90b2bf477af2ea79327fdea1335d935649424558000000000000000000000068656c6c6f407a617070726f6a6563742e6f726700000000000000000000000068747470733a2f2f7a61702e73746f72650000000000000000000000000000005a415000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000126781a0f84c7e9e846dcb84a9a5bd49333067b1045a415000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d49540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e23cd160761f63fc3a1cf78aa034b6cdf97d3e0c4d49540000000000000000000000000066757475726540626c6f636b7371756172652e696f000000000000000000000068747470733a2f2f626c6f636b7371756172652e696f00000000000000000000426c6f636b737175617265546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000012509a38b7a1cc0dcd83aa9d06214663d9ec7c7f4a42535400000000000000000000000000696e666f40636172746178692e696f000000000000000000000000000000000068747470733a2f2f636172746178692e696f00000000000000000000000000004361725461786900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012662abcad0b7f345ab7ffb1b1fbb9df7894f18e66435458000000000000000000000000006b696e672e736572736540676d782e636f6d0000000000000000000000000000687474703a2f2f7065727369616e732e6e6574776f726b0000000000000000005065727369616e73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012163733bcc28dbf26b41a8cfa83e369b5b3af741b50525300000000000000000000000000737570706f727440636f6d6d6f6469747961646e6574776f726b2e636f6d000068747470733a2f2f636f6d6d6f6469747961646e6574776f726b2e636f6d000043445800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000126fff3806bbac52a20e0d79bc538d527f6a22c96b43445800000000000000000000000000696e666f406d6f73746578636c75736976652e636f6d00000000000000000000687474703a2f2f7777772e6d6f73746578636c75736976652e636f6d000000004d2d4554480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000123f4b726668da46f5e0e75aa5d478acec9f38210f4d2d4554480000000000000000000000696e666f4063727970746f7461736b2e6f7267000000000000000000000000007777772e63727970746f7461736b2e6f7267000000000000000000000000000043727970746f5461736b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124545750f39af6be4f237b6869d4ecca928fd5a8543544600000000000000000000000000737570706f727440626f756c652e6f6e6500000000000000000000000000000068747470733a2f2f7777772e626f756c652e6f6e650000000000000000000000426f756c6520436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012c2c63f23ec5e97efbd7565df9ec764fdc7d4e91d424f5500000000000000000000000000636f787878636f696e40676d61696c2e636f6d00000000000000000000000000687474703a2f2f636f787878636f696e2e636f6d000000000000000000000000436f787878436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000122134057c0b461f898d375cead652acae62b5954143584300000000000000000000000000696e666f4070657468657265756d2e6f7267000000000000000000000000000068747470733a2f2f70657468657265756d2e6f72672f0000000000000000000050455448455245554d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000125884969ec0480556e11d119980136a4c17edded150455400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f626c6f636b6f7074696f6e732e696f000000000000000000426c6f636b4f7074696f706e7320546f000000000000000000000000000000000000000000000000000000000000000000000000000000087f1e2c7d6a69bf34824d72c53b4550e895c0d8c2424f5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e7761636f696e2e696f00000000000000000000005761426900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012286bda1413a2df81731d4930ce2f862a35a609fe57614269000000000000000000000000696e666f40636872697374636f696e732e696f0000000000000000000000000068747470733a2f2f636872697374636f696e732e696f0000000000000000000043687269737420436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008d348e07a2806505b856123045d27aeed90924b5043434c43000000000000000000000000696e666f4063726f776473746172742e6361706974616c000000000000000000687474703a2f2f63726f776473746172742e6361706974616c0000000000000058534300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120f513ffb4926ff82d7f60a05069047aca295c4135853430000000000000000000000000061646d696e407072696d616c626173652e636f6d000000000000000000000000687474703a2f2f7072696d616c626173652e636f6d2f000000000000000000005072696d616c6261736520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000004f4c07b1865bc326a3c01339492ca7538fd038cc05042540000000000000000000000000073696b68616c65766440646f6265742e696e666f000000000000000000000000687474703a2f2f7777772e646f6265746163636570746265742e636f6d000000446f426574416363657074426574000000000000000000000000000000000000000000000000000000000000000000000000000000000012386faa4703a34a7fdb19bec2e14fd427c963841644434100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000061646d696e4065617379686f6d65732e696f000000000000000000000000000045617379486f6d65730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008f9f0fc7167c311dd2f1e21e9204f87eba9012fb245485400000000000000000000000000636f6e74616374406c6f6f6b7265762e636f6d0000000000000000000000000068747470733a2f2f6c6f6f6b7265762e636f6d000000000000000000000000004c4f4b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001221ae23b882a340a22282162086bc98d3e2b730184c4f4b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043727970746f436172626f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000006e4c94d45f7aef7018a5d66f44af780ec6023378e43727970746f436172626f6e00000000737570706f727440776562657463727970746f2e696f00000000000000000000687474703a2f2f776562657463727970746f2e696f2f77626300000000000000576542657443727970746f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000774951b677de32d596ee851a233336926e6a2cd0957424100000000000000000000000000626974736964656168656c7040676d61696c2e636f6d00000000000000000000687474703a2f2f62697473696465612e6f7267000000000000000000000000004253444300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f26ef5e0545384b7dcc0f297f2674189586830df4253444300000000000000000000000074616c6b30317461353240676d61696c2e636f6d000000000000000000000000687474703a2f2f7777772e626974636f696e2d62697a2e6e6574000000000000496f54e382b3e382a4e383b30000000000000000000000000000000000000000000000000000000000000000000000000000000000000006c34b21f6f8e51cc965c2393b3ccfa3b82beb2403496f5400000000000000000000000000696e666f40736d6172747265616c74792e696f000000000000000000000000007777772e736d6172747265616c74792e696f0000000000000000000000000000534d4152545265616c7479000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008be99b09709fc753b09bcf557a992f6605d5997b0524c54590000000000000000000000006d7240657468626974732e636f6d00000000000000000000000000000000000068747470733a2f2f7777772e657468626974732e636f6d000000000000000000457468626974730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c1b9743f556d65e757c4c650b4555baf354cb8bd345544253000000000000000000000000737570706f72744069626973636f696e2e636f0000000000000000000000000068747470733a2f2f69626973636f696e2e636f00000000000000000000000000494943000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001216662f73df3e79e54c6c5938b4313f92c524c12049494300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005347540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001d248b0d48e44aaf9c49aea0312be7e13a6dc146853475400000000000000000000000000696e666f407765706f7765722e6e6574776f726b00000000000000000000000068747470733a2f2f7765706f7765722e6e6574776f726b0000000000000000005765506f776572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000126a0a97e47d15aad1d132a1ac79a480e3f207906357435400000000000000000000000000737570706f727440637265616d746f65636f696e2e636f6d0000000000000000687474703a2f2f637265616d746f65636f696e2e636f6d000000000000000000437265616d746f65436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f0da1186a4977226b9135d0613ee72e229ec3f4d435254000000000000000000000000006572633230407072696d652d65782e636f6d000000000000000000000000000068747470733a2f2f7072696d652d65782e636f6d0000000000000000000000005045582d546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000455c2a0c171d920843560594de3d6eecc09efc09850455854000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d59440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010f7e983781609012307f2514f63d526d83d24f4664d594400000000000000000000000000737570706f7274406d616b657264616f2e636f6d00000000000000000000000068747470733a2f2f6d616b657264616f2e636f6d0000000000000000000000004d616b657244414f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012c66ea802717bfb9833400264dd12c2bceaa34a6d4f4c445f4d4b52000000000000000000737570706f727440706563756c69756d2e696f0000000000000000000000000068747470733a2f2f706563756c69756d2e696f0000000000000000000000000050434c4f4c44000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000853148bb4551707edf51a1e8d7a93698d1893122550434c4f4c440000000000000000000062696c6c79407465746865722e746f000000000000000000000000000000000068747470733a2f2f7465746865722e746f0000000000000000000000000000005553442054657468657220286572633200000000000000000000000000000000000000000000000000000000000000000000000000000006dac17f958d2ee523a2206206994597c13d831ec755534454000000000000000000000000737570706f727440706f726e746f6b656e2e696f00000000000000000000000068747470733a2f2f7777772e706f726e746f6b656e2e696f0000000000000000506f726e546f6b656e56320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000125512e1d6a7be424b4323126b4f9e86d023f957645054574f000000000000000000000000737570706f727440626c6f636b636861696e6c6561642e636f6d000000000000687474703a2f2f63727970746f6372617368636f757273652e636f6d0000000043727970746f4372617368436f7572730000000000000000000000000000000000000000000000000000000000000000000000000000001228577a6d31559bd265ce3adb62d0458550f7b8a7434343202843727970746f4372617368737570706f727440646162636f2e696e0000000000000000000000000000000068747470733a2f2f646162636f2e696e000000000000000000000000000000004441420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dab0c31bf34c897fb0fe90d12ec9401caf5c36ec44414200000000000000000000000000636f6e74616374406c75636b79746f6b656e2e696e666f000000000000000000687474703a2f2f7777772e6c75636b79746f6b656e2e696e666f0000000000004c55434b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fb12e3cca983b9f59d90912fd17f8d745a8b29534c55434b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046414d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c190e569be071f40c704e15825f285481cb74b6cc46414d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000687474703a2f2f7374616b65706f6f6c2e636f000000000000000000000000005374616b6520506f6f6c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008779b7b713c86e3e6774f5040d9ccc2d43ad375f8504f4f4c000000000000000000000000737570706f727440706f726e746f6b656e2e696f00000000000000000000000068747470733a2f2f7777772e706f726e746f6b656e2e696f0000000000000000506f726e546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001266497a283e0a007ba3974e837784c6ae323447de5054000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000494d54000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022e5f62d0fa19974749faa194e3d3ef6d89c08d7494d5400000000000000000000000000737570706f7274407175616e74756d70726f6a6563742e6f7267000000000000687474703a2f2f7777772e7175616e74756d70726f6a6563742e6f72670000005141550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008671abbe5ce652491985342e85428eb1b07bc6c6451415500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f73617475726e2e6e6574776f726b0000000000000000000053617475726e204e6574776f726b000000000000000000000000000000000000000000000000000000000000000000000000000000000004599346779e90fc3f5f997b5ea715349820f9157153544e000000000000000000000000006953656e7361746f726940676d61696c2e636f6d000000000000000000000000687474703a2f2f746865676c6f62616c626974636f696e2e636f6d000000000053656e5361746f724920546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000124ca74185532dc1789527194e5b9c866dd33f4e8253656e5361746f72490000000000000068656c7040626974636c6176652e636f6d00000000000000000000000000000068747470733a2f2f7777772e626974636c6176652e636f6d0000000000000000434154732028426974436c617665295f0000000000000000000000000000000000000000000000000000000000000000000000000000001268e14bb5a45b9681327e16e528084b9d962c1a39434154732028426974436c617665295f6d757369636f6e6f6d69406d757369636f6e6f6d692e636f6d0000000000000068747470733a2f2f6d757369636f6e6f6d692e636f6d2f0000000000000000004d757369636f6e6f6d6900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012138a8752093f4f9a79aaedf48d4b9248fab93c9c4d4349000000000000000000000000006d61696c746f3a737570706f727440736b72696c6c612e636f6d00000000000068747470733a2f2f746f6b656e73616c652e736b72696c6c612e636f6d000000534b5220546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064c382f8e09615ac86e08ce58266cc227e7d4d913534b5200000000000000000000000000696e666f40783863757272656e63792e636f6d0000000000000000000000000068747470733a2f2f783863757272656e63792e636f6d000000000000000000005838580000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012910dfc18d6ea3d6a7124a6f8b5458f281060fa4c5838580000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000535452430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000846492473755e8df960f8034877f61732d718ce965354524300000000000000000000000068656c6c6f4064656e636974792e6c696665000000000000000000000000000068747470733a2f2f64656e636974792e6c69666500000000000000000000000044656e4369747900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e43e2041dc3786e166961ed9484a5539033d10fb444e58000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044414f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010bb9bc244d798123fde783fcc1c72d3bb8c18941344414f00000000000000000000000000737570706f727467656c64657240676d61696c2e636f6d00000000000000000068747470733a2f2f7777772e736f6572656e67656c6465722e636f6d000000005347454c44455200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012a1ccc166faf0e998b3e33225a1a0301b1c86119d5347454c00000000000000000000000068656c6c6f4072656c65782e696f0000000000000000000000000000000000007777772e72656c65782e696f000000000000000000000000000000000000000052656c65780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124a42d2c580f83dce404acad18dab26db11a1750e524c58000000000000000000000000006a616d657340656d6265726d696e652e636f6d00000000000000000000000000687474703a2f2f7777772e69646561746f6b656e2e696f2f00000000000000004944454120546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000814cafd4782d2e728170fda68257983f03321c5849444541000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004152430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012ac709fcb44a43c35f0da4e3163b117a17f3770f541524300000000000000000000000000737570706f7274406e6578787573756e69766572736974792e636f6d0000000068747470733a2f2f7777772e6e6578787573636f696e2e636f6d0000000000004e585800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000087627de4b93263a6a7570b8dafa64bae812e5c3944e5858000000000000000000000000004d455348404d455348424f582e4e4554574f524b00000000000000000000000068747470733a2f2f6d657368626f782e6e6574776f726b0000000000000000004d657368626f780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001201f2acf2914860331c1cb1a9acecda7475e06af84d455348000000000000000000000000642f232f6461612f43434300000000000000000000000000000000000000000068747470733a2f2f7777772e69636f6e6f6d692e6e65742f64617368626f6172434343202849434f4e4f4d492900000000000000000000000000000000000000000000000000000000000000000000000000000000000012be11eeb186e624b8f26a5045575a1340e4054552434343202849434f4e4f4d4929000000737570706f72744073696d706c65746f6b656e2e6f726700000000000000000068747470733a2f2f73696d706c65746f6b656e2e6f726700000000000000000053696d706c6520546f6b656e20274f53000000000000000000000000000000000000000000000000000000000000000000000000000000122c4e8f2d746113d0696ce89b35f0d8bf88e0aeca4f53540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007469626f79764073657a6e616d2e637a0000000000000000000000000000000059555049450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120f33bb20a282a7649c7b3aff644f084a9348e93359555049450000000000000000000000737570706f727440676176656c636f696e2e636f6d0000000000000000000000687474703a2f2f676176656c636f696e2e636f6d000000000000000000000000474156454c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012708876f486e448ee89eb332bfbc8e593553058b9474156454c0000000000000000000000796f7372612e68656c616c40726f636b636861696e2e6f72670000000000000068747470733a2f2f726f636b636861696e2e6f72670000000000000000000000526f636b6574636861696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012c9de4b7f0c3d991e967158e4d4bfa4b51ec0b114524f4b00000000000000000000000000626f62406e6578787573706172746e6572732e636f6d0000000000000000000068747470733a2f2f7777772e6e6578787573636f696e2e636f6d0000000000004e5858204f4c44000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085c6183d10a00cd747a6dbb5f658ad514383e94194e5858204f4c44000000000000000000696e666f4068656467652d63727970746f2e636f6d000000000000000000000068747470733a2f2f7777772e68656467652d63727970746f2e636f6d0000000048656467652043727970746f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000012ffe8196bc259e8dedc544d935786aa4709ec3e6448444700000000000000000000000000636f6e746163744062656572636861696e2e746563686e6f6c6f67790000000068747470733a2f2f7777772e62656572636861696e2e746563686e6f6c6f677942656572636f696e000000000000000000000000000000000000000000000000000000000000000d8d726b7177a8000000000000000000127367a68039d4704f30bfbf6d948020c3b07dfc5942434243000000000000000000000000696e666f406569646f6f2e696f0000000000000000000000000000000000000068747470733a2f2f6569646f6f2e696f000000000000000000000000000000004569646f6f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012ced4e93198734ddaff8492d525bd258d49eb388e45444f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000737570706f727440667463636f696e732e6f72670000000000000000000000004654430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e6f74dcfa0e20883008d8c16b6d9a329189d0c3046544300000000000000000000000000737570706f7274406a626f78636f696e2e6f726700000000000000000000000068747470733a2f2f7777772e6a626f78636f696e2e6f726700000000000000004a425800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aaf561eff5bd9c8f911616933f84166a17cfe0c4a425800000000000000000000000000696e666f406b70726d732e636f6d00000000000000000000000000000000000068747470733a2f2f7777772e6b70726d732e636f6d2f000000000000000000004b5052436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b5c33f965c8899d255c34cdd2a3efa8abcbb3dea4b505200000000000000000000000000636f6e74616374406d6f6e61636f6573746174652e696f00000000000000000068747470733a2f2f6d6f6e61636f6573746174652e696f2f00000000000000004d6f6e61636f20457374617465000000000000000000000000000000000000000000000000000000000000000000000000000000000000125b8d43ffde4a2982b9a5387cdf21d54ead64ac8d4d45535400000000000000000000000068656c6c6f40637237636f696e2e6f726700000000000000000000000000000068747470733a2f2f637237636f696e2e6f726700000000000000000000000000435237436f696e00000000000000000000000000000000000000000000000000000000000000001158e460913d00000000000000000000127f585b9130c64e9e9f470b618a7badd03d79ca7e43523700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f333030746f6b656e7370617274612e636f6d00000000000033303020546f6b656e2053706172746100000000000000000000000000000000000000000000000000000000000000000000000000000012aec98a708810414878c3bcdf46aad31ded4a4557333030000000000000000000000000007465616d40616c617269636f696e2e6f7267000000000000000000000000000068747470733a2f2f616c617269636f696e2e6f72670000000000000000000000414c434f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008181a63746d3adcf356cbc73ace22832ffbb1ee5a414c434f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043544c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002bf4cfd7d1edeeea5f6600827411b41a21eb08abd43544c00000000000000000000000000737570706f727440626d636861696e2e696f000000000000000000000000000068747470733a2f2f626d636861696e2e696f0000000000000000000000000000424d540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f028adee51533b1b47beaa890feb54a457f51e89424d540000000000000000000000000068656c6c6f406176616c6f6e2e6e75000000000000000000000000000000000068747470733a2f2f6176616c6f6e2e6e750000000000000000000000000000004156410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004ed247980396b10169bb1d36f6e278ed16700a60f41564100000000000000000000000000636f6e746163744078656e6f6e2e6e6574776f726b000000000000000000000068747470733a2f2f78656e6f6e2e6e6574776f726b000000000000000000000058454e4f4e000000000000000000000000000000000000000000000000000000000000000000004e87d4b2f8048386f70000000000000012ab95e915c123fded5bdfb6325e35ef5515f1ea69584e4e0000000000000000000000000069636f62694069636f62692e636f6d0000000000000000000000000000000000687474703a2f2f69636f636f696e2e6f7267000000000000000000000000000049434f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa33e729bf4fdeb868b534e1f20523463d9c46bee49434f000000000000000000000000006572757065654070726f746f6e6d61696c2e636f6d000000000000000000000068747470733a2f2f6572757065652e776f726470726573732e636f6d000000006552757065650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b67734521eabbe9c773729db73e16cc2dfb20a5845e282b9000000000000000000000000737570706f72744067617a65636f696e2e696f0000000000000000000000000068747470733a2f2f67617a65636f696e2e696f0000000000000000000000000047617a65436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000128c65e992297d5f092a756def24f4781a280198ff475a4500000000000000000000000000657468636f32403136332e636f6d000000000000000000000000000000000000687474703a2f2f7777772e657468636f322e636f6d00000000000000000000004574686572434f3200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000217f93475d2a978f527c3f7c44abf44adfba60d5c45434f320000000000000000000000006163636f756e7440626c61636b6d6f6f6e63727970746f2e636f6d000000000068747470733a2f2f626c61636b6d6f6f6e63727970746f2e636f6d0000000000426c61636b6d6f6f6e2043727970746f00000000000000000000000000000000000000000000000000000000000000000000000000000008df6ef343350780bf8c3410bf062e0c015b1dd671424d4300000000000000000000000000737570706f72744076656e7573636f696e2e6e65740000000000000000000000687474703a2f2f76656e7573636f696e2e6e657400000000000000000000000056454e5553000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ebed4ff9fe34413db8fc8294556bbd1528a4daca56454e55530000000000000000000000737570706f7274407769636b6e6f74652e636f6d00000000000000000000000068747470733a2f2f7769636b6e6f74652e636f6d0000000000000000000000005769636b4e6f746500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062cd07d414ec50b68c7ecaa863a23d344f2d062f57494300000000000000000000000000696e666f4063657772642e636f6d0000000000000000000000000000000000007777772e63657772642e636f6d0000000000000000000000000000000000000045434e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a578acc0cb7875781b7880903f4594d13cfa8b9845434e00000000000000000000000000737570706f72744073657879746f6b656e2e636f000000000000000000000000687474703a2f2f73657879746f6b656e2e636f000000000000000000000000005365787920546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001298f5e9b7f0e33956c0443e81bf7deb8b5b1ed54553455859000000000000000000000000737570706f72744064616c65636f696e2e6f7267000000000000000000000000687474703a2f2f7777772e64616c65636f696e2e6f726700000000000000000044616c65436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000807d9e49ea402194bf48a8276dafb16e4ed63331744414c43000000000000000000000000636f6e7461637440706f73746f6b656e2e6f726700000000000000000000000068747470733a2f2f706f73746f6b656e2e6f7267000000000000000000000000506f53546f6b656e0000000000000000000000000000000000000000000000000000000000000001158e460913d000000000000000000012ee609fe292128cad03b786dbb9bc2634ccdbe7fc504f5300000000000000000000000000616563656e61730000000000000000000000000000000000000000000000000068747470733a2f2f636f666f756e642e69742f656e2f70726f6a656374732f6d4152540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012fec0cf7fe078a500abf15f1284958f22049c2c7e41525400000000000000000000000000737570706f72744064726f706c65782e6f72670000000000000000000000000068747470733a2f2f64726f706c65782e6f72670000000000000000000000000044726f706c6578000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003c75226555fc496168d48b88df83b95f16771f3744524f50202864726f706c6578290000737570706f727440706f6c796d6174682e7a656e6465736b2e636f6d0000000068747470733a2f2f706f6c796d6174682e6e6574776f726b0000000000000000506f6c796d617468204e6574776f726b00000000000000000000000000000000000000000000000d8d726b7177a8000000000000000000129992ec3cf6a55b00978cddf2b27bc6882d88d1ec504f4c59000000000000000000000000737570706f727440756e696b6f696e676f6c642e636f6d00000000000000000068747470733a2f2f756e696b6f696e676f6c642e636f6d000000000000000000556e696b6f696e476f6c6400000000000000000000000000000000000000000000000000000000000000000000000000000000000000001224692791bc444c5cd0b81e3cbcaba4b04acd1f3b554b4700000000000000000000000000696e666f404469734c65646765722e636f6d000000000000000000000000000068747470733a2f2f7777772e4469734c65646765722e636f6d0000000000000044434c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003399a0e6fbeb3d74c85357439f4c8aed9678a5cbf44434c00000000000000000000000000636f6e746163744061706f6c6c6f31382e636f2e696e0000000000000000000068747470733a2f2f61706f6c6c6f31382e636f2e696e0000000000000000000041706f6c6c6f3138000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bde8f7820b5544a49d34f9ddeacabedc7c0b5adc41313800000000000000000000000000737570706f727440636f62696e686f6f642e636f6d000000000000000000000068747470733a2f2f636f62696e686f6f642e636f6d0000000000000000000000436f62696e686f6f6420546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000012b2f7eb1f2c37645be61d73953035360e768d81e6434f420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b686f767261746f7669636840676d61696c2e636f6d0000000000000000000049434f5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006014b50466590340d41307cc54dcee990c8d58aa849434f53000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e6467782e696f0000000000000000000000000000444758000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000955b9a11c2e8351b4ffc7b11561148bfac99778554447580000000000000000000000000069636f40736d6172746966742e636f6d0000000000000000000000000000000068747470733a2f2f736d6172746966742e636f6d00000000000000000000000053494654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008a187d5285d316bcbc9adafc08b51d70a0d8e00053494654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e45552046756e64000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012a823e6722006afe99e91c30ff5295052fe6b8e324e455500000000000000000000000000737570706f72744061727465782e676c6f62616c00000000000000000000000068747470733a2f2f61727465782e676c6f62616c00000000000000000000000041525800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000087705faa34b16eb6d77dfc7812be2367ba6b0248e415258000000000000000000000000007465616d40737065637472652e616900000000000000000000000000000000007777772e737065637472652e6169000000000000000000000000000000000000537065637472652e616920552d546f6b000000000000000000000000000000000000000000000000000000000000000000000000000000122c82c73d5b34aa015989462b2948cd616a37641f5358555400000000000000000000000064657640616c74636f696e7374616c6b732e636f6d0000000000000000000000687474703a2f2f7777772e616c74636f696e7374616c6b732e636f6d00000000414c545320546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012638ac149ea8ef9a1286c41b977017aa7359e6cfa414c5453000000000000000000000000737570706f72744077696e64696e67747265652e636f6d00000000000000000068747470733a2f2f77696e64696e67747265652e636f6d2f00000000000000004c49460000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012eb9951021698b42e4399f9cbb6267aa35f82d59d4c4946000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000047544b5400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025abad9e518516fdaafbdcdb9701b37fb7ef0fa47544b54000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f66756e666169722e696f000000000000000000000000000046756e6661697200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008419d0d8bdd9af5e606ae2232ed285aff190e711b46554e000000000000000000000000006572633230636c756240676d61696c2e636f6d0000000000000000000000000068747470733a2f2f7777772e7462632e65726332302e636c75620000000000005442433200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008faccd5fc83c3e4c3c1ac1ef35d15adf06bcf209c54424332000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f617468656e69616e77617272696f72746f6b656e2e636f6d417468656e69616e2057617272696f720000000000000000000000000000000000000000000000000000000000000000000000000000001217052d51e954592c1046320c2371abab6c73ef1041544800000000000000000000000000636f72706f7261746540616972666f782e696f0000000000000000000000000068747470733a2f2f616972746f6b656e2e636f6d000000000000000000000000416972546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000827dce1ec4d3f72c3e457cc50354f1f975ddef48841495200000000000000000000000000696e666f40636f696e6a6f6b65722e636f6d000000000000000000000000000068747470733a2f2f636f696e6a6f6b65722e636f6d00000000000000000000004d65646961204e6574776f726b20546f00000000000000000000000000000000000000000000000000000000000000000000000000000012a9877b1e05d035899131dbd1e403825166d09f924d4e540000000000000000000000000069636f4031636163616f7368617265732e636f6d000000000000000000000000687474703a2f2f7777772e636163616f7368617265732e636f6d000000000000436163616f536861726573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012315ce59fafd3a8d562b7ec1c8542382d2710b06c434353000000000000000000000000006b696e672e736572736540676d782e636f6d0000000000000000000000000000687474703a2f2f7065727369616e732e6e6574776f726b00000000000000000042544c2028426174746c652900000000000000000000000000000000000000000000000000000000000000000000000000000000000000122accab9cb7a48c3e82286f0b2f8798d201f4ec3f42544c2028426174746c6529000000007269646572636f696e6f6666696369616c40676d61696c2e636f6d0000000000687474703a2f2f7269646572746f6b656e2e636f6d00000000000000000000005269646572546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001254b293226000ccbfc04df902eec567cb4c35a90352544e00000000000000000000000000636f696e0000000000000000000000000000000000000000000000000000000068747470733a2f2f6769746875622e636f6d2f61726163686e69642f686f646c484f444c436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b45d7bc4cebcab98ad09babdf8c818b2292b672c484f444c00000000000000000000000068656c6c6f406461746162726f6b657264616f2e636f6d00000000000000000068747470733a2f2f6461746162726f6b657264616f2e636f6d00000000000000446154612065586368616e676520546f00000000000000000000000000000000000000000000000000000000000000000000000000000012765f0c16d1ddc279295c1a7c24b0883f62d33f754454580000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000556e69636f726e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000089205a3a3b2a69de6dbf7f01ed13b2108b2c43e7556e69636f726e000000000000000000737570706f72744073746172626173652e636f00000000000000000000000000687474703a2f2f73746172626173652e636f00000000000000000000000000005374617220546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f70a642bd387f94380ffb90451c2c81d4eb82cbc53544152000000000000000000000000737570706f727440626565756e6974792e6f726700000000000000000000000068747470733a2f2f626565756e6974792e6f7267000000000000000000000000426565556e69747920436861696e000000000000000000000000000000000000000000000000000000000000000000000000000000000012ca3c18a65b802ec267f8f4802545e7f53d24c75e4255430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000424e43000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cdd6bf56ca2ada24c683fac50e37783e55b57af9f424e43000000000000000000000000006865647061796c746440676d61696c2e636f6d00000000000000000000000000687474703a2f2f6865647061792e636f6d0000000000000000000000000000004845647041590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e9ff07809ccff05dae74990e25831d0bc5cbe5754864700000000000000000000000000061646d696e407571756964636f696e2e636f6d0000000000000000000000000068747470733a2f2f7571756964636f696e2e636f6d0000000000000000000000557175696420436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012d01db73e047855efb414e6202098c4be4cd2423b5551430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006d69746368656c6c666368616e40676d61696c2e636f6d000000000000000000494b42000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000088ae96845e157558ef59e9ff90e766e22e480390494b4200000000000000000000000000636f6e7461637440636861696e74726164652e6e65740000000000000000000068747470733a2f2f636861696e74726164652e6e657400000000000000000000436861696e547261646520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000012e3fa177acecfb86721cf6f9f4206bd3bd672d7d54354540000000000000000000000000067656e6572616c406e6974726f2e6c697665000000000000000000000000000068747470733a2f2f6e6974726f2e6c69766500000000000000000000000000004e4f580000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012ec46f8207d766012454c408de210bcbc2243e71c4e4f58000000000000000000000000006465767465616d40657468657265756d686967682e6f7267000000000000000068747470733a2f2f7777772e657468657265756d686967682e6f72672f000000657468657265756d686967682000000000000000000000000000000000000000000000000000000000000000000000000000000000000012a9240fbcac1f0b9a6adfb04a53c8e3b0cc1d1444484947000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000687474703a2f2f7777772e65746865722e63616d700000000000000000000000484b47000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000314f37b574242d366558db61f3335289a5035c506484b47000000000000000000000000006a616d6573406f686e692e757300000000000000000000000000000000000000687474703a2f2f6f686e692e75730000000000000000000000000000000000004f686e69000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000126f539a9456a5bcb6334a1a41207c3788f58252074f484e49000000000000000000000000737570706f727467656c64657240676d61696c2e636f6d00000000000000000068747470733a2f2f7777772e736f6572656e67656c6465722e636f6d0000000047454c440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001224083bb30072643c3bb90b44b7285860a755e68747454c4400000000000000000000000000000000000000000000000000000000000000000000000000000000000000007777772e6c616d7069782e636f0000000000000000000000000000000000000050495800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008effd494eb698cc399af6231fccd39e08fd20b1550495800000000000000000000000000696d63746f6b656e3230313740676d61696c2e636f6d00000000000000000000687474703a2f2f696d6d756e65636f696e2e696e666f00000000000000000000496d6d756e6520436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006e3831c5a982b279a198456d577cfb90424cb6340494d430000000000000000000000000072616974686540676d61696c2e636f6d00000000000000000000000000000000687474703a2f2f67616d62697463727970746f2e636f6d00000000000000000047616d6269740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008f67451dc8421f0e0afeb52faa8101034ed081ed947414d0000000000000000000000000062696c6c79407465746865722e746f000000000000000000000000000000000068747470733a2f2f7465746865722e746f0000000000000000000000000000004555522054657468657220286572633200000000000000000000000000000000000000000000000000000000000000000000000000000006abdf147870235fcfc34153828c769a70b3fae01f45555254000000000000000000000000696e666f4077696c6463727970746f2e636f6d00000000000000000000000000687474703a2f2f7777772e77696c6463727970746f2e636f6d0000000000000057494c4420546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012d3c00772b24d997a812249ca637a921e8135770157494c44000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f73746b746f6b656e2e636f6d00000000000000000000000053544b20546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012ae73b38d1c9a8b274127ec30160a4927c4d7182453544b0000000000000000000000000068656c7040626974636c6176652e636f6d00000000000000000000000000000068747470733a2f2f7777772e626974636c6176652e636f6d000000000000000042434c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012bc1234552ebea32b5121190356bba6d3bb225bb542434c00000000000000000000000000737570706f727440706f6c79626975732e696f0000000000000000000000000068747470733a2f2f706f6c79626975732e696f00000000000000000000000000506f6c79626975730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060affa06e7fbe5bc9a764c979aa66e8256a631f02504c4254000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f746161732e66756e64000000000000000000000000000000546f6b656e2d61732d612d536572766900000000000000000000000000000000000000000000000000000000000000000000000000000006e7775a6e9bcf904eb39da2b68c5efb4f9360e08c54616153000000000000000000000000736572766963657340776f6c6b2e636f6d00000000000000000000000000000068747470733a2f2f7777772e776f6c6b2e636f6d000000000000000000000000576f6c6b20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f6b55acbbc49f4524aa48d19281a9a77c54de10f574f4c4b00000000000000000000000067726964706c757340636f6e73656e7379732e6e65740000000000000000000068747470733a2f2f67726964706c75732e696f2f746f6b656e2d73616c650000475249440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c12b19d3e2ccc14da04fae33e63652ce469b3f2fd47524944000000000000000000000000666f756e646174696f6e406c656d6f636861696e2e636f6d00000000000000007777772e6c656d6f636861696e2e636f6d0000000000000000000000000000004c656d6f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d6e354f07319e2474491d8c7c712137bee6862a24c454d4f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004a6574436f696e73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012773450335ed4ec3db45af74f34f2c85348645d394a6574436f696e7300000000000000006f6e656b746f6b656e40676d61696c2e636f6d00000000000000000000000000687474703a2f2f6f6e656b2e6f6e6500000000000000000000000000000000004f6e65204b20546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b23be73573bc7e03db6e5dfc62405368716d28a84f4e454b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004847540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008ba2184520a1cc49a6159c57e61e1844e085615b648475400000000000000000000000000436f6e74616374407468657265616c636f696e7a2e636f6d0000000000000000687474703a2f2f7777772e7468657265616c636f696e7a2e636f6d0000000000546865205265616c20436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000012566fd7999b1fc3988022bd38507a48f0bcf22c775452434e000000000000000000000000737570706f727440736d617274636f6e74726163742e636f6d0000000000000068747470733a2f2f6c696e6b2e736d617274636f6e74726163742e636f6d00004c494e4b20436861696e6c696e6b000000000000000000000000000000000000000000000000000000000000000000000000000000000012514910771af9ca656af840dff83e8264ecf986ca4c494e4b2028436861696e6c696e6b2972657140726571756573742e6e6574776f726b0000000000000000000000000068747470733a2f2f726571756573742e6e6574776f726b00000000000000000052657175657374204e6574776f726b00000000000000000000000000000000000000000000000003cb71f51fc558000000000000000000128f8221afbb33998d8584a2b05749ba73c37a938a524551000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000051524c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008697beac28b09e122c4332d163985e8a73121b97f51524c00000000000000000000000000696e666f407a6575732e65786368616e67650000000000000000000000000000687474703a2f2f7a6575732e65786368616e67650000000000000000000000005a6575732045786368616e676500000000000000000000000000000000000000000000000000000000000000000000000000000000000008e386b139ed3715ca4b18fd52671bdcea1cdfe4b15a535400000000000000000000000000696e666f40696e732e776f726c6400000000000000000000000000000000000068747470733a2f2f696e732e776f726c64000000000000000000000000000000494e53000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a5b2e4a700dfbc560061e957edec8f6eeeb74a320494e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f676e6f7369732e706d000000000000000000000000000000476e6f73697300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000126810e776880c02933d47db1b9fc05908e5386b96474e4f00000000000000000000000000737570706f7274407072657365617263682e696f00000000000000000000000068747470733a2f2f7072657365617263682e696f000000000000000000000000507265736561726368000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001288a3e4f35d64aad41a6d4030ac9afe4356cb84fa50524500000000000000000000000000696e666f40656e6a696e2e636f6d00000000000000000000000000000000000068747470733a2f2f656e6a696e636f696e2e696f000000000000000000000000454e4a494e000000000000000000000000000000000000000000000000000000000000000000000000000000001a00000000000000000012f629cbd94d3791c9250152bd8dfbdf380e2a3b9c454e4a000000000000000000000000006a65737369636140626c6f636b762e696f00000000000000000000000000000068747470733a2f2f626c6f636b762e696f000000000000000000000000000000424c4f434b760000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012340d2bde5eb28c1eed91b2f790723e3b160613b756454500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f706c757475732e6974000000000000000000000000000000506c757475730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012d8912c10681d8b21fd3742244f44658dba12264e504c5500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005348495400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ef2e9966eb61bb494e5375d5df8d67b7db8a780d53484954000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f74727565666c69702e696f0000000000000000000000000054727565466c6970000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008a7f976c360ebbed4465c2855684d1aae5271efa954464c000000000000000000000000007465616d40616967616e672e6e6574776f726b0000000000000000000000000068747470733a2f2f616967616e672e6e6574776f726b00000000000000000000414947616e67000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001223ae3c5b39b12f0693e05435eeaa1e51d8c615304150540000000000000000000000000068656c6c6f406d6f74686572736869702e63780000000000000000000000000068747470733a2f2f6d6f74686572736869702e637800000000000000000000004d6f74686572736869700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001268aa3f232da9bdc2343465545794ef3eea5209bd4d53500000000000000000000000000068656c7040647270636f696e2e636f6d00000000000000000000000000000000687474703a2f2f647270636f696e2e636f6d000000000000000000000000000044726970636f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002799d90c6d44cb9aa5fbc377177f16c33e056b8244525000000000000000000000000000737570706f7274406e696d66616d6f6e65792e696f000000000000000000000068747470733a2f2f6e696d66616d6f6e65792e696f00000000000000000000004e696e6661204d6f6e6579000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e26517a9967299453d3f1b48aa005e6127e672104e494d46410000000000000000000000737570706f727440756e6976657273612e696f0000000000000000000000000068747470733a2f2f7777772e756e6976657273612e696f2f0000000000000000556e6976657273610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000129e3319636e2126e3c0bc9e3134aec5e1508a46c755544e2d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f65746865726f6c6c2e636f6d00000000000000000000000045746865726f6c6c00000000000000000000000000000000000000000000000000000000000000000214ee2ba55cd58e00000000000000102e071d2966aa7d8decb1005885ba1977d6038a6544494345000000000000000000000000696e666f406865726f636f696e2e696f000000000000000000000000000000007777772e6865726f636f696e2e696f00000000000000000000000000000000004865726f436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e477292f1b3268687a29376116b0ed27a9c76170504c4159000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f61746d61747269782e6f72672f3f6c6f63616c653d656e0041746d617472697820546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000012887834d3b8d450b6bab109c252df3da286d73ce441545400000000000000000000000000696e666f40686177616c612e746f64617900000000000000000000000000000068747470733a2f2f7777772e686177616c612e746f6461792f00000000000000486177616c6120546f646179000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c9002d4485b7594e3e850f0a206713b305113f69e4841540000000000000000000000000068656c6c6f406c616c61776f726c642e696f000000000000000000000000000068747470733a2f2f6c616c61776f726c642e696f2f00000000000000000000004c414c4120576f726c6420546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000012fd107b473ab90e8fbd89872144a3dc92c40fa8c94c414c41000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7175616e747374616d702e636f6d2f0000000000000000005175616e747374616d7020546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000001299ea4db9ee77acd40b119bd1dc4e33e1c070b80d515350000000000000000000000000007465616d406c6f636b636861696e2e636f00000000000000000000000000000068747470733a2f2f4c6f636b436861696e2e636f0000000000000000000000004c6f636b436861696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000125e3346444010135322268a4630d2ed5f8d09446c4c4f430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000534e4d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012983f6d60db79ea8ca4eb9968c6aff8cfa04b3c63534e4d00000000000000000000000000696e666f406269746c6c652e636f6d000000000000000000000000000000000068747470733a2f2f6269746c6c652e636f6d00000000000000000000000000004269746c6c6520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000492685e93956537c25bb75d5d47fca4266dd628b842544c20284269746c6c652900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4341500000000000000000000000000000000000000000000000000000000000000000000000000000000ad44bcb50000000000000000893e682107d1e9defb0b5ee701c71707a4b2e46bc4d434150000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e76646963652e696f00000000000000000000000056646963650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000125c543e7ae0a1104f78406c340e9c64fd9fce517056534c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e6f70656e616e782e6f72672f656e0000000000004f41580000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012701c244b988a513c945973defa05de933b23fe1d4f41580000000000000000000000000069636f406469676974616c73616665636f696e2e636f6d00000000000000000068747470733a2f2f6469676974616c73616665636f696e2e636f6d2f000000004469676974616c205361666520436f69000000000000000000000000000000000000000000000000000000000000000000000000000000011e09bd8cadb441632e441db3e1d79909ee0a225644534300000000000000000000000000737461666640636f696e63726f77642e6974000000000000000000000000000068747470733a2f2f7777772e636f696e63726f77642e69740000000000000000436f696e43726f776400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124d829f8c92a6691c56300d020c9e0db984cfe2ba5843430000000000000000000000000063726f776473616c6540736972696e6c6162732e636f6d00000000000000000068747470733a2f2f736972696e6c6162732e636f6d0000000000000000000000536972696e204c6162730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001268d57c9a1c35f63e2c83ee8e49a64e9d70528d2553524e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7377697373626f72672e636f6d000000000000000000000043485342000000000000000000000000000000000000000000000000000000000000000000000000000002e13c71fb400000000000000008ba9d4199fab4f26efe3551d490e3821486f135ba43485342000000000000000000000000696e666f40636172766572746963616c2e636f6d00000000000000000000000068747470733a2f2f7777772e636172766572746963616c2e636f6d0000000000636172566572746963616c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012da6cb58a0d0c01610a29c5a65c303e13e885887c63560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f6c65676f6c61732e65786368616e67652f000000000000004c474f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008123ab195dd38b1b40510d467a6a359b201af056f4c474f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000737570706f7274406b69636b69636f2e636f6d000000000000000000000000004b49434b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000827695e09149adc738a978e9a678f99e4c39e9eb94b49434b0000000000000000000000006f6d2f000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e4f726967696e616c43727970746f436f696e2e634f726967696e616c2043727970746f20000000000000000000000000000000000000000000000000000000000000000000000000000000120235fe624e044a05eed7a43e16e3083bc8a4287a4f43430000000000000000000000000068656e72794063727970746f6c656e64696e672e6f726700000000000000000068747470733a2f2f63727970746f6c656e64696e672e6f72670000000000000043727970746f4c656e64696e67000000000000000000000000000000000000000000000000000000000000000000000000000000000000097fce2856899a6806eeef70807985fc7554c66340434c5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e63727970746f6d6172742e6d650000000000000043727970746f4d617274000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000127e667525521cf61352e2e01b50faaae7df39749a434d4300000000000000000000000000737570706f727440636f696e737461727465722e636f6d00000000000000000068747470733a2f2f636f696e737461727465722e636f6d0000000000000000005374617274657220436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000129a005c9a89bd72a4bd27721e7a09a3c11d2b03c45354414300000000000000000000000073746577617274407465616d2e626974626f756e63652e696f0000000000000068747470733a2f2f626974626f756e63652e696f000000000000000000000000437265646f202f20426974626f756e63000000000000000000000000000000000000000000000000000000000000000000000000000000124e0603e2a27a30480e5e3a4fe548e29ef12f64be435245444f0000000000000000000000696e666f406d65726375727970726f746f636f6c2e636f6d0000000000000000687474703a2f2f7777772e6d65726375727970726f746f636f6c2e636f6d0000474d540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b3bd49e28f8f832b8d1e246106991e546c323502474d5400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7370616e6b636861696e2e636f6d000000000000000000005370616e6b436861696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001242d6622dece394b54999fbd73d108123806f6a185350414e4b0000000000000000000000737570706f72744067656e657369732e766973696f6e0000000000000000000068747470733a2f2f67656e657369732e766973696f6e0000000000000000000047656e6573697320566973696f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000012103c3a209da59d3e7c4a89307e66521e081cfdf047565400000000000000000000000000737570706f727440646174756d2e6f726700000000000000000000000000000068747470733a2f2f646174756d2e6f7267000000000000000000000000000000446174756d20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000001281c9151de0c8bafcd325a57e3db5a5df1cebf79c444154000000000000000000000000007075634070726963652d732e696e666f00000000000000000000000000000000687474703a2f2f70726963652d732e696e666f00000000000000000000000000506f757220436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ef6b4ce8c9bc83744fbcde2657b32ec18790458a50554300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f73616c746c656e64696e672e636f6d00000000000000000053616c74204c656e64696e6720546f6b000000000000000000000000000000000000000000000000000000000000000000000000000000084156d3342d5c385a87d264f9065373359200058153414c5400000000000000000000000062746365746f6b656e40676d61696c2e636f6d0000000000000000000000000068747470733a2f2f62746365746f6b656e2e636f6d0000000000000000000000457468657265756d426974636f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000080886949c1b8c412860c4264ceb8083d1365e86cf42544345000000000000000000000000696e666f407075626c6963612e696f000000000000000000000000000000000068747470733a2f2f7075626c6963612e696f000000000000000000000000000050424c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001255648de19836338549130b1af587f16bea46f66b50424c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e70696c6c617270726f6a6563742e696f0000000050696c6c61722050726f6a656374000000000000000000000000000000000000000000000000000098cb60aaa10cf82a0000000000000012e3818504c1b32bf1557b16c238b2e01fd3149c17504c5200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c554e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012fa05a73ffe78ef8f1a739473e462c54bae6567d94c554e00000000000000000000000000737570706f727440656173796d696e652e696f0000000000000000000000000068747470733a2f2f656173796d696e652e696f00000000000000000000000000656173794d494e4520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000129501bfc48897dceeadf73113ef635d2ff7ee4b97454d5400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e726562656c6c696f75732e696f00000000000000526562656c6c696f75730000000000000000000000000000000000000000000000000000000000a2a15d09519be0000000000000000000125f53f7a8075614b699baad0bc2c899f4bad8fbbf5245424c00000000000000000000000072656163686f75744073706172746169636f2e636f6d0000000000000000000068747470733a2f2f7777772e73706172746169636f2e636f6d00000000000000535041525441000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000424aef3bf1a47561500f9430d74ed4097c47f51f253504152544100000000000000000000636f6e74616374406661726d6174727573742e636f6d0000000000000000000068747470733a2f2f7777772e6661726d6174727573742e696f000000000000004661726d61547275737420546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000122aec18c5500f21359ce1bea5dc1777344df4c0dc46545400000000000000000000000000696e666f40706f6c79737761726d2e696f00000000000000000000000000000068747470733a2f2f706f6c79737761726d2e696f0000000000000000000000004e656374617200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000129e46a38f5daabe8683e10793b06749eef7d733d14e435400000000000000000000000000696e666f4073746f726d746f6b656e2e636f6d0000000000000000000000000068747470733a2f2f7777772e73746f726d746f6b656e2e636f6d00000000000053746f726d20546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012d0a4b8946cb52f0661273bfbc6fd0e0c75fc643353544f524d00000000000000000000006c756d696e6f636f696e4070726f746f6e6d61696c2e636f6d0000000000000068747470733a2f2f7777772e6c756d696e6f636f696e2e636f6d0000000000004c756d696e6f20436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012a89b5934863447f6e4fc53b315a93e873bda69a34c554d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007468657265616c636f696e3230313740676d61696c2e636f6d00000000000000546865205265616c20436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000012cb3f902bf97626391bf8ba87264bbc3dc13469be54524300000000000000000000000000696e666f406f7075732d666f756e646174696f6e2e636f6d000000000000000068747470733a2f2f6f7075732d666f756e646174696f6e2e6f726700000000004f70757320466f756e646174696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000124355fc160f74328f9b383df2ec589bb3dfd82ba04f505400000000000000000000000000737570706f72744073746173687061792e696f0000000000000000000000000068747470733a2f2f73746173687061792e696f000000000000000000000000005374617368506179000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008ecd570bbf74761b960fa04cc10fe2c4e86ffda36535450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042415400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120d8775f648430679a709e98d2b0cb6250d2887ef42415400000000000000000000000000636f6e746163744072616964656e2e6e6574776f726b0000000000000000000068747470733a2f2f72616964656e2e6e6574776f726b0000000000000000000052616469656e204e6574776f726b000000000000000000000000000000000000000000000000000000000000000000000000000000000012255aa6df07540cb5d3d297f0d0d4d84cb52bc8e652444e00000000000000000000000000737570706f72744075726c2e616900000000000000000000000000000000000068747470733a2f2f77696e67732e61690000000000000000000000000000000057494e4753000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012667088b212ce3d06a1b553a7221e1fd19000d9af57494e47530000000000000000000000737570706f7274407761782e696f00000000000000000000000000000000000068747470733a2f2f7761782e696f000000000000000000000000000000000000574158000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000839bb259f66e1c59d5abef88375979b4d20d9802257415800000000000000000000000000737570706f7274406d79636172636f696e2e636f6d000000000000000000000068747470733a2f2f6d79636172636f696e2e636f6d00000000000000000000004361722053686172696e6720436f6d6d00000000000000000000000000000000000000000000000000000000000000000000000000000009423e4322cdda29156b49a17dfbd2acc4b280600d4341520000000000000000000000000069636f40736e6f762e696f00000000000000000000000000000000000000000068747470733a2f2f746f6b656e73616c652e736e6f762e696f00000000000000534e4f5600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012bdc5bac39dbe132b1e030e898ae3830017d7d969534e4f56000000000000000000000000696e666f40706f70756c6f75732e636f0000000000000000000000000000000068747470733a2f2f706f70756c6f75732e636f00000000000000000000000000506f70756c6f75730000000000000000000000000000000000000000000000000000000000000000000000004597c8a00000000000000008d4fa1460f537bb9085d22c7bccb5dd450ef28e3a505054000000000000000000000000006d61696c746f3a696e666f40737761726d2e66756e640000000000000000000068747470733a2f2f737761726d2e66756e640000000000000000000000000000537761726d2046756e6420546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000129e88613418cf03dca54d6a2cf6ad934a78c7a17a53574d00000000000000000000000000496e666f4067656e657669657665636f2e636f6d00000000000000000000000068747470733a2f2f67656e657669657665636f2e636f6d000000000000000000475843000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a58ca3065c0f24c7c96aee8d6056b5b5decf9c2f8475843000000000000000000000000007465616d40737065637472652e616900000000000000000000000000000000007777772e737065637472652e6169000000000000000000000000000000000000537065637472652e616920442d546f6b0000000000000000000000000000000000000000000000000000000000000000000000000000001212b306fa98f4cbb8d4457fdff3a0a0a56f07ccdf5358445400000000000000000000000073756363657373406f6e672e736f6369616c000000000000000000000000000068747470733a2f2f6f6e67636f696e2e696f00000000000000000000000000006f6e470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012d341d1680eeee3255b8c4c75bcce7eb57f144dae6f6e470000000000000000000000000061646d696e4063727970746f77692e636f6d000000000000000000000000000068747470733a2f2f7777772e63727970746f77692e636f6d2f00000000000000576920436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000125e4abe6419650ca839ce5bb7db422b881a6064bb57694300000000000000000000000000436172640000000000000000000000000000000000000000000000000000000068747470733a2f2f65746865727363616e2e696f2f746f6b656e2f546f6b656e546f6b656e436172640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008aaaf91d9b90df800df4f55c205fd6989c977e73a544b4e00000000000000000000000000746f6d63617440736d6172746d6573682e696f00000000000000000000000000687474703a2f2f736d6172746d6573682e696f00000000000000000000000000536d6172744d657368000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001255f93985431fc9304077687a35a1ba103dc1e081534d5400000000000000000000000000636f6e7461637440736d61727462696c6c696f6e732e636f6d00000000000000687474703a2f2f736d61727462696c6c696f6e732e636f6d0000000000000000536d6172742042696c6c696f6e730000000000000000000000000000000000000000000000000000000000000000000000000000000000006f6deb5db0c4994a8283a01d6cfeeb27fc3bbe9c534d415254000000000000000000000061646d696e40736d617274696c6c696f6e732e6368000000000000000000000068747470733a2f2f7777772e736d617274696c6c696f6e732e63680000000000532d412d504154000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000121ec8fe51a9b6a3a6c427d17d9ecc3060fbc4a45c532d412d504154000000000000000000696e666f40736b726170732e696f00000000000000000000000000000000000068747470733a2f2f736b726170732e696f000000000000000000000000000000536b726170730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012fdfe8b7ab6cf1bd1e3d14538ef40686296c42052534b5250000000000000000000000000737570706f7274407665636861696e2e636f6d0000000000000000000000000068747470733a2f2f746f6b656e73616c652e7665636861696e2e636f6d2f656e5665636861696e0000000000000000000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000012d850942ef8811f2a866692a623011bde52a462c156454e00000000000000000000000000696e666f40696e7369676874732e6e6574776f726b000000000000000000000068747470733a2f2f696e7369676874732e6e6574776f726b0000000000000000496e736967687473204e6574776f726b00000000000000000000000000000000000000000000000000000000000000000000000000000012c72fe8e3dd5bef0f9f31f259399f301272ef2a2d494e5354415200000000000000000000636f6e74616374757340626c6f636b636861696e63657274696669656464617468747470733a2f2f7777772e62636469706c6f6d612e636f6d00000000000000426c6f636b636861696e20436572746900000000000000000000000000000000000000000000000000000000000000000000000000000012acfa209fb73bf3dd5bbfb1101b9bc999c49062a5424344540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000049434500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000125a84969bb663fb64f6d015dcf9f622aedc79675049434500000000000000000000000000636c6e40636f6c752e636f6d000000000000000000000000000000000000000068747470733a2f2f636c6e2e6e6574776f726b00000000000000000000000000436f6c754c6f63616c4e6574776f726b000000000000000000000000000000000000000000000000000000000000000000000000000000124162178b78d6985480a308b2190ee5517460406d434c4e0000000000000000000000000065676173406574686761732e73747265616d0000000000000000000000000000687474703a2f2f7777772e6574686761732e73747265616d00000000000000004554482047415300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008b53a96bcbdd9cf78dff20bab6c2be7baec8f00f8654741530000000000000000000000007465616d40626c6f636b6361742e696f0000000000000000000000000000000068747470733a2f2f626c6f636b6361742e696f000000000000000000000000004341542028426c6f636b6361742900000000000000000000000000000000000000000000000000000000000000000000000000000000001256ba2ee7890461f463f7be02aac3099f6d5811a84341542028426c6f636b636174290000636f6e746163744069702e73780000000000000000000000000000000000000068747470733a2f2f69702e7378000000000000000000000000000000000000004950535800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012001f0aa5da15585e5b2305dbab2bac425ea7100749505358000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f6c69717569642e706c7573000000000000000000000000005141534800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006618e75ac90b12c6049ba3b27f5d5f8651b0037f6514153480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000656f7340626c6f636b2e6f6e6500000000000000000000000000000000000000454f530000000000000000000000000000000000000000000000000000000000000000000000000000000298215db358000000000000001286fa049857e0209aa7d9e616f7eb3b3b78ecfdb0454f5300000000000000000000000000737570706f72744072657075626c696370726f746f636f6c2e636f6d0000000068747470733a2f2f72657075626c696370726f746f636f6c2e636f6d0000000052657075626c69632050726f746f636f00000000000000000000000000000000000000000000000000000000000000000000000000000012408e41876cccdc0f92210600ef50372656052a3852454e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f73656e7361792e697400000000000000000000000000000053656e73617900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000086745fab6801e376cd24f03572b9c9b0d4edddccf53454e53450000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f6d65646963616c636861696e2e636f6d00000000000000004d6564546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001241dbecc1cdc5517c6f76f6a6e836adbee2754de34d544e00000000000000000000000000737570706f727440666c757870726f6a6563742e78797a000000000000000000666c757870726f6a6563742e78797a0000000000000000000000000000000000426974466c75780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001270b147e01e9285e7ce68b9ba437fe3a9190e756a464c5800000000000000000000000000737570706f7274406c6966656c6162732e696f000000000000000000000000007777772e6c6966656c6162732e696f00000000000000000000000000000000004c49464500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012ff18dbc487b4c2e3222d115952babfda8ba52f5f4c494645000000000000000000000000737570706f72744072697074696465636f696e2e636f6d00000000000000000068747470733a2f2f72697074696465636f696e2e636f6d00000000000000000052697074696465436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008dd007278b667f6bef52fd0a4c23604aa1f96039a524950540000000000000000000000007400000000000000000000000000000000000000000000000000000000000000687474703a2f2f65726332302d616d69732e616d69736f6c7574696f6e2e6e65414d495300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009949bed886c739f1a3273629b3320db0c5024c719414d49530000000000000000000000007175657374696f6e7340686f72697a6f6e73746174652e636f6d00000000000068747470733a2f2f686f72697a6f6e73746174652e636f6d00000000000000004853540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012554c20b7c486beee439277b4540a434566dc4c02485354000000000000000000000000007465616d4074696572696f6e2e636f6d0000000000000000000000000000000068747470733a2f2f74696572696f6e2e636f6d0000000000000000000000000054696572696f6e204e6574776f726b200000000000000000000000000000000000000000000000000000000000000000000000000000000808f5a9235b08173b7569f83645d2c7fb55e8ccd8544e5400000000000000000000000000737570706f7274406e61676169636f2e636f6d0000000000000000000000000068747470733a2f2f7777772e6e61676169636f2e636f6d0000000000000000004e41474120436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001272dd4b6bd852a3aa172be4d6c5a6dbec588cf1314e474300000000000000000000000000696e666f4070617261676f6e636f696e2e636f6d00000000000000000000000068747470733a2f2f70617261676f6e636f696e2e636f6d00000000000000000050524700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000067728dfef5abd468669eb7f9b48a7f70a501ed29d505247000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044454e540000000000000000000000000000000000000000000000000000000000000000000000000000012c3c307f0000000000000000083597bfd533a99c9aa083587b074434e61eb0a25844454e54000000000000000000000000636f6e74616374406265796f6e642d7468652d766f69642e6e6574000000000068747470733a2f2f6265796f6e642d7468652d766f69642e6e657400000000004e657869756d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000345e42d659d9f9466cd5df622506033145a9b89bc4e7843000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000687474703a2f2f7777772e78617572756d2e6f7267000000000000000000000058617572756d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084df812f6064def1e5e029f1ca858777cc98d2d8158415552000000000000000000000000737570706f72744067616d696e67666f72676f6f642e6e65740000000000000068747470733a2f2f707270732e696f0000000000000000000000000000000000507572706f7365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000127641b2ca9ddd58addf6e3381c1f994aac5f1a32f505250530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050544f59000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000088ae4bf2c33a8e667de34b54938b0ccd03eb8cc0650544f59000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f6e696d69712e636f6d0000000000000000000000000000004e494d4951000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012cfb98637bcae43c13323eaa1731ced2b716962fd4e4554000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000053544f524a000000000000000000000000000000000000000000000000000000000000000000000000000000248643890000000000000008b64ef51c888972c908cfacf59b47c1afbc0ab8ac53544f524a0000000000000000000000696e666f406c69766573746172732e696f00000000000000000000000000000068747470733a2f2f6c69766573746172732e696f0000000000000000000000004c49564520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001224a77c1f17c547105e14813e517be06b0040aa764c495645000000000000000000000000656e7175697279407a696c6c6971612e636f6d0000000000000000000000000068747470733a2f2f7777772e7a696c6c6971612e636f6d2f00000000000000005a696c6c6971610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c05f4a42e251f2d52b8ed15e9fedaacfcef1fad275a494c00000000000000000000000000737570706f727440646d61726b65742e696f000000000000000000000000000068747470733a2f2f646d61726b65742e636f6d00000000000000000000000000444d61726b657420546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000082ccbff3a042c68716ed2a2cb0c544a9f1d1935e1444d5400000000000000000000000000696e7665737440676f6c646d696e742e696f000000000000000000000000000068747470733a2f2f676f6c646d696e742e696f00000000000000000000000000476f6c646d696e74204d4e54205072650000000000000000000000000000000000000000000000000000000000000000000000000000001283cee9e086a77e492ee0bb93c2b0437ad6fdeccc4d4e545000000000000000000000000061646d696e406265746b696e672e696f0000000000000000000000000000000068747470733a2f2f6265746b696e672e696f00000000000000000000000000004265744b696e672042616e6b726f6c6c00000000000000000000000000000000000000000000000000000000000000000000000000000008b2bfeb70b903f1baac7f2ba2c62934c7e5b974c4424b4200000000000000000000000000636f6e74616374407574727573742e696f00000000000000000000000000000068747470733a2f2f7574727573742e696f00000000000000000000000000000055544b000000000000000000000000000000000000000000000000000000000000000000000000056bc75e2d63100000000000000000001270a72833d6bf7f508c8224ce59ea1ef3d0ea3a3855544b00000000000000000000000000736572766963654074726f6e6c61622e636f6d0000000000000000000000000068747470733a2f2f74726f6e6c61622e636f6d2f656e2e68746d6c000000000054726f6e204c616220546f6b656e0000000000000000000000000000000000000000000000000000000000003be715400000000000000006f230b790e05390fc8295f4d3f60332c93bed42e254525800000000000000000000000000737570706f72744074726164652e696f0000000000000000000000000000000068747470733a2f2f74726164652e696f0000000000000000000000000000000054494f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001280bc5512561c7f85a3a9508c7df7901b370fa1df54494f0000000000000000000000000073616c65734072657374617274656e657267792e696f0000000000000000000068747470733a2f2f7777772e72657374617274656e657267792e696f00000000524544204d5741540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000126425c6be902d692ae2db752b3c268afadb099d3b4d574154000000000000000000000000746f6b656e737570706f72744074656c636f2e696e000000000000000000000068747470733a2f2f7777772e74656c636f2e696e00000000000000000000000054656c636f696e0000000000000000000000000000000000000000000000000000000000000000000000000000006f2a000000000000000285e076361cc813a908ff672f9bad1541474402b254454c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005849440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008b110ec7b1dcb8fab8dedbf28f53bc63ea5bedd84584944000000000000000000000000006465782e70687000000000000000000000000000000000000000000000000000687474703a2f2f766572697461732e7665726974617365756d2e636f6d2f696e56657269746173000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000128f3470a7388c05ee4e7af3d01d8c722b0ff5237456455249000000000000000000000000737570706f7274406d61696c2e726f636b6574706f6f6c2e6e6574000000000068747470733a2f2f7777772e726f636b6574706f6f6c2e6e6574000000000000526f636b657420506f6f6c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b4efd85c19999d84251304bda99e90b92300bd9352504c0000000000000000000000000068656c6c6f40696e7465726e78742e696f00000000000000000000000000000068747470733a2f2f696e7465726e78742e696f00000000000000000000000000496e7465726e7874000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008a8006c4ca56f24d6836727d106349320db7fef82494e5854000000000000000000000000737570706f72744061726269747261676563742e636f6d00000000000000000068747470733a2f2f7777772e61726269747261676563742e636f6d000000000041726269747261676543540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000081245ef80f4d9e02ed9425375e8f649b9221b31d841524354000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f696e76657374666565642e636f6d00000000000000000000496e7665737446656564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000127654915a1b82d6d2d0afc37c52af556ea8983c7e494654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030782050726f6a65637400000000000000000000000000000000000000000000000000000000000000045edc4200b0000000000000000012e41d2489571d322189246dafa5ebde1f4699f4985a525800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f6d797374657269756d2e6e6574776f726b000000000000004d797374657269756d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008a645264c5603e96c3b0b078cdab68733794b0a714d595354000000000000000000000000737570706f72744073616e64636f696e2e696f0000000000000000000000000068747470733a2f2f7777772e73616e64636f696e2e696f00000000000000000053616e64636f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f333b2ace992ac2bbd8798bf57bc65a06184afba534e4400000000000000000000000000696e666f40706c6179326c6976652c696f00000000000000000000000000000068747470733a2f2f706c6179326c6976652e696f0000000000000000000000004c5543546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000125dbe296f97b23c4a6aa6183d73e574d02ba5c7194c554300000000000000000000000000737570706f72744073706f72747966692e696f0000000000000000000000000068747470733a2f2f73706f72747966692e696f0000000000000000000000000053706f727469667900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001285089389c14bd9c77fc2b8f0c3d1dc3363bf06ef535046000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054656e5800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b97048628db6b661d4c2aa833e95dbe1a905b28050415900000000000000000000000000737570706f7274406469766970726f6a6563742e6f726700000000000000000068747470733a2f2f7777772e6469766970726f6a6563742e6f72670000000000444956580000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001213f11c9905a08ca76e3e853be63d4f0944326c72444956580000000000000000000000007465616d407765706f7765722e6e6574776f726b00000000000000000000000068747470733a2f2f7765706f7765722e6e6574776f726b0000000000000000005765506f77657220546f6b656e0000000000000000000000000000000000000000000000000000056bc75e2d6310000000000000000000124cf488387f035ff08c371515562cba712f9015d4575052000000000000000000000000007465616d4062657468657265756d2e636f6d000000000000000000000000000068747470733a2f2f7777772e62657468657265756d2e636f6d2f00000000000042657468657265756d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012a02e3bb9cebc03952601b3724b4940e0845bebcf42544852000000000000000000000000696e666f407370656374697676722e636f6d000000000000000000000000000068747470733a2f2f7370656374697676722e636f6d00000000000000000000005369676e616c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000126888a16ea9792c15a4dcf2f6c623d055c8ede7925349470000000000000000000000000073746166664061726f6e6c696e652e696f00000000000000000000000000000068747470733a2f2f61726f6e6c696e652e696f00000000000000000000000000417373697374697665205265616c697400000000000000000000000000000000000000000000000000000000000000000000000000000012b0d926c1bc3d78064f3e1075d5bd9a24f35ae6c5415258540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000058524c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009b24754be79281553dc1adc160ddf5cd9b74361a458524c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f63616e79612e696f0000000000000000000000000000000043414e000000000000000000000000000000000000000000000000000000000000000000000000000000000000a7d8c000000000000000061d462414fe14cf489c7a21cac78509f4bf8cd7c043414e0000000000000000000000000068656c70407061797069652e636f6d000000000000000000000000000000000068747470733a2f2f7777772e7061797069652e636f6d000000000000000000005061795069650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012c42209accc14029c1012fb5680d95fbd6036e2a050505000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f61696f6e2e6e6574776f726b2f000000000000000000000041696f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084ceda7906a5ed2179785cd3a40a69ee8bc99c46641494f4e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e73746f782e636f6d00000000000000000000000053746f78546f6b656e00000000000000000000000000000000000000000000000000000000000000136dcc951d8c00000000000000000012006bea43baa3f7a6f765f14f10a1a1b08334ef45535458000000000000000000000000007465616d406561676c657061792e696f0000000000000000000000000000000068747470733a2f2f6561676c657061792e696f000000000000000000000000004561676c65436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012994f0dffdbae0bbf09b652d6f11a493fd33f42b94541474c450000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e776574727573742e696f000000000000000000005452535400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006cb94be6f13a1182e4a4b6140cb7bf2025d28e41b54525354000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f61656c662e696f2f00000000000000000000000000000000454c4620546f6b656e000000000000000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000012bf2179859fc6d5bee9bf9158632dc51678a4100e454c4600000000000000000000000000737570706f7274407261696e626f7763757272656e63792e636f6d000000000068747470733a2f2f7777772e7261696e626f7763757272656e63792e636f6d2f5477696e6b6c6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003fbd0d1c77b501796a35d86cf91d65d9778eee69554574e4b4c0000000000000000000000696e666f40766962656875622e696f0000000000000000000000000000000000687474703a2f2f766962656875622e696f0000000000000000000000000000005649424520436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e8ff5c9c75deb346acac493c463c8950be03dfba56494245000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f656467656c6573732e696f00000000000000000000000000456467656c65737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008711d3b02c8758f2fb3ab4e80228418a7f8e39c45444700000000000000000000000000696e666f4073616e74696d656e742e6e6574000000000000000000000000000068747470733a2f2f73616e74696d656e742e6e6574000000000000000000000053616e74696d656e7400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000127c5a0ce9267ed19b22f8cae653f198e3e8daf09853414e00000000000000000000000000737570706f7274407669756c792e636f6d00000000000000000000000000000068747470733a2f2f7669756c792e696f0000000000000000000000000000000056495500000000000000000000000000000000000000000000000000000000000000000000000002a9d7430e1b90c9240000000000000012519475b31653e46d20cd09f9fdcf3b12bdacb4f55649550000000000000000000000000068656c6c6f406469676970756c73652e696f000000000000000000000000000068747470733a2f2f7777772e6469676970756c73652e696f00000000000000004469676950756c73650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f6cfe53d6febaeea051f400ff5fc14f0cbbdaca144475054000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004755500000000000000000000000000000000000000000000000000000000000000000000000000000000000000059d80000000000000003f7b098298f7c69fc14610bf71d5e02c60792894c4755500000000000000000000000000064616e406c6f63692e696f00000000000000000000000000000000000000000068747470733a2f2f6c6f636970726f2e636f6d000000000000000000000000004c4f4349636f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000129c23d67aea7b95d80942e3836bcdf7e708a747c24c4f43490000000000000000000000006e6465782d656e2e68746d6c000000000000000000000000000000000000000068747470733a2f2f73696e6572676961626c6f636b636861696e2e6f72672f6953494e4552474941000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008cfd6ae8bf13f42de14867351eaff7a8a3b9fbbe7534e4700000000000000000000000000636f6e7461637440626c6f636b6c616e6365722e6e657400000000000000000068747470733a2f2f626c6f636b6c616e6365722e6e65740000000000000000004c616e63657220546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000001263e634330a20150dbb61b15648bc73855d6ccf074c4e430000000000000000000000000068656c6c6f4070617265746f2e6e6574776f726b00000000000000000000000068747470733a2f2f70617265746f2e6e6574776f726b0000000000000000000050415245544f000000000000000000000000000000000000000000000000000000000000000000015af1d78b58c400000000000000000012ea5f88e54d982cbb0c441cde4e79bc305e5b43bc50415245544f00000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7374617475732e696d000000000000000000000000000000537461747573204e6574776f726b20540000000000000000000000000000000000000000000000000003370805d1acda0000000000000012744d70fdbe2ba4cf95131626614a1763df805b9e534e5400000000000000000000000000696e666f40626c6f636b7469782e696f0000000000000000000000000000000068747470733a2f2f7777772e626c6f636b7469782e696f000000000000000000426c6f636b746978000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012ea1f346faf023f974eb5adaf088bbcdf02d761f45449580000000000000000000000000061646d696e4070617977697468696e6b2e636f6d00000000000000000000000068747470733a2f2f70617977697468696e6b2e636f6d00000000000000000000496e6b2050726f746f636f6c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000012bc86727e770de68b1060c91f6bb6945c73e10388584e4b00000000000000000000000000737570706f727440646164692e636f000000000000000000000000000000000068747470733a2f2f646164692e636c6f756400000000000000000000000000004441444900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012fb2f26f266fb2805a387230f2aa0a331b4d96fba444144490000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042656572436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074c1e4b8cae59269ec1d85d3d4f324396048f4ac42656572436f696e000000000000000061646d696e406b696e677364732e6e6574776f726b000000000000000000000068747470733a2f2f6b696e677364732e6e6574776f726b000000000000000000535041524300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001258bf7df57d9da7113c4ccb49d8463d4908c735cb53504152430000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f73756e636f6e74726163742e6f7267000000000000000000534e430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f4134146af2d511dd5ea8cdb1c4ac88c57d60404534e4300000000000000000000000000696e666f4066756e64726571756573742e696f0000000000000000000000000068747470733a2f2f66756e64726571756573742e696f0000000000000000000046756e64526571756573740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124df47b4969b2911c966506e3592c41389493953b464e4400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4e4500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000081a95b271b0535d15fa49932daba31ba612b529464d4e4500000000000000000000000000737570706f727440766f6973652e69740000000000000000000000000000000068747470733a2f2f766f6973652e697400000000000000000000000000000000566f69736500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000883eea00d838f92dec4d1475697b9f4d3537b56e3564f4953450000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f696e7375726570616c2e696f2f0000000000000000000000496e7375726550616c20746f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000001264cdf819d3e75ac8ec217b3496d7ce167be42e8049504c00000000000000000000000000636f6e746163744065626974636f696e2e6f726700000000000000000000000068747470733a2f2f65626974636f696e2e6f72670000000000000000000000006542544300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008eb7c20027172e5d143fb030d50f91cece2d1485d654254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000687474703a2f2f737761726d2e63697479000000000000000000000000000000537761726d204369747920546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000012b9e7f8568e08d5659f5d29c4997173d84cdf260753575400000000000000000000000000696e666f40706f70756c6f75732e636f0000000000000000000000000000000068747470733a2f2f706f70756c6f75732e636f00000000000000000000000000506f70756c6f7573205842524c20546f00000000000000000000000000000000000000000000000000000000000000000000000000000008c14830e53aa344e8c14603a91229a0b925b0b262505854000000000000000000000000006869406e756c732e696f0000000000000000000000000000000000000000000068747470733a2f2f6e756c732e696f00000000000000000000000000000000004e554c5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b91318f35bdb262e9423bc7c7c2a3a93dd93c92c4e554c53000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f73696e67756c61726474762e636f6d00000000000000000053696e67756c6172445456000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aec2e87e0a235266d9c5adc9deb4b2e29b54d009534e474c530000000000000000000000737570706f72744065786d722e696f000000000000000000000000000000000068747470733a2f2f65786d722e696f2f0000000000000000000000000000000065584d52636f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008c98e0639c6d2ec037a615341c369666b110e80e545584d52000000000000000000000000676f6c64784068656c6c6f676f6c642e6f72670000000000000000000000000068747470733a2f2f7777772e68656c6c6f676f6c642e6f72672f000000000000474f4c4458000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012eab43193cf0623073ca89db9b712796356fa7414474f4c44580000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f616d62726f7375732e636f6d2f696e6465782e68746d6c00416d62657220546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124dc3643dbc642b72c158e7f3d2ff232df61cb6ce414d4200000000000000000000000000696e666f40656d6265726d696e652e636f6d000000000000000000000000000068747470733a2f2f656d6265726d696e652e636f6d2f00000000000000000000456d626572730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000386467f1f3ddbe832448650418311a479eecfc574d425253000000000000000000000000746f6b656e73616c65406d6f64756c74726164652e696f00000000000000000068747470733a2f2f6d6f64756c74726164652e696f00000000000000000000004d545243546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000121e49ff77c355a3e38d6651ce8404af0e48c5395f4d545263000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f6d656c6f6e706f72742e636f6d00000000000000000000004d656c6f6e706f72740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012beb9ef514a379b997e0798fdcc901ee474b6d9a14d4c4e00000000000000000000000000746f6b656e406d6f64756d2e696f00000000000000000000000000000000000068747470733a2f2f6d6f64756d2e696f000000000000000000000000000000004d6f64756d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000957c30ab0426e0c93cd8241e2c60392d08c6ac8e4d4f44000000000000000000000000007465616d406c616d64656e2e696f00000000000000000000000000000000000068747470733a2f2f7777772e6c616d64656e2e696f00000000000000000000004c616d64656e2054617500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012c27a2f05fa577a83ba0fdb4c38443c071835650154415500000000000000000000000000737570706f72744073656c666b65792e6f72670000000000000000000000000068747470733a2f2f73656c666b65792e6f72670000000000000000000000000053656c664b6579000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124cc19356f2d37338b9802aa8e8fc58b0373296e74b4559000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000687474703a2f2f7777772e656c74636f696e2e746563682f0000000000000000454c54434f494e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000844197a4c44d6a059297caf6be4f7e172bd56caaf454c54434f494e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004a455400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000128727c112c712c4a03371ac87a74dd6ab104af7684a4554000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000687474703a2f2f7777772e6d6f6e657468612e696f00000000000000000000004d6f6e6574686100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005af4dce16da2877f8c9e00544c93b62ac40631f164d544800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005245580000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f05a9382a4c3f29e2784502754293d88b835109c524558000000000000000000000000006d6340706f7765726c65646765722e696f00000000000000000000000000000068747470733a2f2f706f7765726c65646765722e696f00000000000000000000506f7765724c6564676572000000000000000000000000000000000000000000000000000000000000000000074fbc100000000000000006595832f8fc6bf59c85c527fec3740a1b7a361269504f575200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000534b494e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062bdc0d42996017fce214b21607a515da41a9e0c5534b494e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000049434e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012888666ca69e0f178ded6d75b5726cee99a87d69849434e00000000000000000000000000636f6e74616374406465766572792e696f00000000000000000000000000000068747470733a2f2f6465766572792e696f0000000000000000000000000000004556450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012923108a439c4e8c2315c4f6521e5ce95b44e9b4c45564500000000000000000000000000737570706f7274406465626974756d2e6e6574776f726b00000000000000000068747470733a2f2f6465626974756d2e6e6574776f726b2f00000000000000004445424954554d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012151202c9c18e495656f372281f493eb7698961d544454200000000000000000000000000686940736f6c612e666f756e646174696f6e000000000000000000000000000068747470733a2f2f736f6c612e666f756e646174696f6e000000000000000000536f6c6120546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000061f54638b7737193ffd86c19ec51907a7c41755d8534f4c00000000000000000000000000737570706f7274406d6574616c7061792e636f0000000000000000000000000068747470733a2f2f7777772e6d6574616c7061792e636f6d00000000000000004d6574616c506179000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008f433089366899d83a9f26a773d59ec7ecf30355e4d544c00000000000000000000000000737570706f7274406c656e64696e67626c6f636b2e636f6d000000000000000068747470733a2f2f6c656e64696e67626c6f636b2e636f6d00000000000000004c656e64696e67626c6f636b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000120947b0e6d821378805c9598291385ce7c791a6b24c4e4400000000000000000000000000696e666f407669727475652e66696e616e63650000000000000000000000000068747470733a2f2f66617261642e656e6572677900000000000000000000000046415241442043727970746f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000120abefb7611cb3a01ea3fad85f33c3c934f8e2cf446524400000000000000000000000000696e666f406c656164636f696e2e6e6574776f726b000000000000000000000068747470733a2f2f7777772e6c656164636f696e2e6e6574776f726b2f0000004c454144434f494e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000125102791ca02fc3595398400bfe0e33d7b6c822674c444300000000000000000000000000737570706f7274406574686f7273652e636f6d0000000000000000000000000068747470733a2f2f6574686f7273652e636f6d00000000000000000000000000484f5253450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000125b0751713b2527d7f002c0c4e2a37e1219610a6b484f5253450000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f646563656e7472616c616e642e6f72670000000000000000446563656e7472616c616e64204d414e000000000000000000000000000000000000000000000000000000000000000000000000000000120f5d2fb29fb7d3cfee444a200298f468908cc9424d414e41000000000000000000000000737570706f727440706563756c69756d2e696f0000000000000000000000000068747470733a2f2f706563756c69756d2e696f0000000000000000000000000050434c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000083618516f45cd3c913f81f9987af41077932bc40d50434c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f61756775722e6e65740000000000000000000000000000004175677572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e94327d07fc17907b4db788e5adf2ed424addff652455000000000000000000000000000696e666f40636f73732e696f000000000000000000000000000000000000000068747470733a2f2f636f73732e696f0000000000000000000000000000000000436f737320546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000129e96604445ec19ffed9a5e8dd7b50a29c899a10c434f5353000000000000000000000000636f6e74616374406574686572656d6f6e2e636f6d000000000000000000000068747470733a2f2f7777772e6574686572656d6f6e2e636f6d000000000000004574686572656d6f6e20546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000895daaab98046846bf4b2853e23cba236fa394a31454d4f4e540000000000000000000000737570706f7274406d616b657264616f2e636f6d00000000000000000000000068747470733a2f2f6d616b657264616f2e636f6d0000000000000000000000004d616b657244414f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000129f8f72aa9304c8b593d555f12ef6589cc3a579a24d4b5200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d474f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000840395044ac3c0c57051906da938b54bd6557f2124d474f00000000000000000000000000737570706f72744067616d65666c69702e636f6d00000000000000000000000068747470733a2f2f67616d65666c69702e636f6d000000000000000000000000464c495020546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000123a1bda28adb5b0a812a7cf10a1950c920f79bcd3464c5000000000000000000000000000696e666f40746865776f726c646e6577732e6e6574000000000000000000000068747470733a2f2f69636f2e746865776f726c646e6577732e6e65740000000054686520576f726c64204e6577730000000000000000000000000000000000000000000000000000000000000000000000000000000000122ef1ab8a26187c58bb8aaeb11b2fc6d25c5c071654574e0000000000000000000000000069636f40666c757a666c757a2e636f6d0000000000000000000000000000000068747470733a2f2f69636f2e666c757a666c757a2e636f6d0000000000000000466c757a20466c757a20476c6f62616c00000000000000000000000000000000000000000000000000000000000000000000000000000012954b5de09a55e59755acbda29e1eb74a45d30175464c555a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000666c6978786f2e636f6d00000000000000000000000000000000000000000000464c495858000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f04a8ac553fcedb5ba99a64799155826c136b0be464c4958580000000000000000000000666f756e646174696f6e406c6f6f7072696e672e6f726700000000000000000068747470733a2f2f6c6f6f7072696e672e6f72670000000000000000000000004c5243000000000000000000000000000000000000000000000000000000000000000000000000004563ec75556e40000000000000000012ef68e7c694f40c8202821edf525de3782458639f4c524300000000000000000000000000636f6e74616374406279746f6d2e696f0000000000000000000000000000000068747470733a2f2f6279746f6d2e696f000000000000000000000000000000004279746f6d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008cb97e65f07da24d46bcdd078ebebd7c6e6e3d75042544d00000000000000000000000000696e666f4068756d616e69712e636f6d0000000000000000000000000000000068747470733a2f2f68756d616e69712e636f0000000000000000000000000000484d510000000000000000000000000000000000000000000000000000000000000000000000000000000000832156000000000000000008cbcc0f036ed4788f63fc0fee32873d6a7487b908484d5100000000000000000000000000696e666f406164697475732e6e6574000000000000000000000000000000000068747470733a2f2f6164697475732e6e6574000000000000000000000000000041646974757300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000128810c63470d38639954c6b41aac545848c46484a414449000000000000000000000000006f6e65406765746c6f6761726974686d2e636f6d00000000000000000000000068747470733a2f2f6765746c6f6761726974686d2e636f6d00000000000000004c6f6761726974686d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082eb86e8fc520e0f6bb5d9af08f924fe70558ab894c475200000000000000000000000000737570706f727440656d6f76696576656e747572652e636f6d00000000000000687474703a2f2f656d6f76696576656e747572652e636f6d0000000000000000454d6f76696556656e7475726500000000000000000000000000000000000000000000000000000000000000000000000000000000000002b802b24e0637c2b87d2e8b7784c055bbe921011a454d5600000000000000000000000000636f6e74616374406f79737465722e777300000000000000000000000000000068747470733a2f2f6f79737465722e77730000000000000000000000000000004f797374657220506561726c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000121844b21593262668b7248d0f57a220caaba46ab950524c000000000000000000000000007061796d656e74734065746865726274632e696f00000000000000000000000068747470733a2f2f65746865726274632e696f2f66617100000000000000000045746865724254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000083a26746ddb79b1b8e4450e3f4ffe3285a307387e45544842000000000000000000000000737570706f7274406c6976656564752e7476000000000000000000000000000068747470733a2f2f746f6b656e73616c652e6c6976656564752e7476000000004c454455000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085b26c5d0772e5bbac8b3182ae9a13f9bb2d037654c45445500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000434649000000000000000000000000000000000000000000000000000000000000000000000000000001b1b970ff538e000000000000001212fef5e57bf45873cd9b62e9dbd7bfb99e32d73e43464900000000000000000000000000636f6e7461637440706f2e65740000000000000000000000000000000000000068747470733a2f2f706f2e657400000000000000000000000000000000000000506f2e657420546f6b656e7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000080e0989b1f9b8a38983c2ba8053269ca62ec9b195504f450000000000000000000000000069636f4070726f70792e636f6d0000000000000000000000000000000000000068747470733a2f2f70726f70792e636f6d00000000000000000000000000000050726f707900000000000000000000000000000000000000000000000000000000000000000000000000000005f5ffda0000000000000008226bb599a12c826476e3a771454697ea52e9e22050524f00000000000000000000000000666f756e646174696f6e407174756d2e6f72670000000000000000000000000068747470733a2f2f7174756d2e6f72672f0000000000000000000000000000005174756d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000129a642d6b3368ddc662ca244badf32cda716005bc5154554d000000000000000000000000737570706f72744076696265726174652e636f6d00000000000000000000000068747470733a2f2f7777772e76696265726174652e696f00000000000000000056494200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000122c974b2d0ba1716e644c1fc59982a89ddd2ff7245649420000000000000000000000000073616c65734072697665747a696e746c2e636f6d00000000000000000000000068747470733a2f2f72697665747a696e746c2e636f6d0000000000000000000052697665747a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000123d1ba9be9f66b8ee101911bc36d3fb562eac2244525654000000000000000000000000007175657374696f6e40656e76696f6e2e6f72670000000000000000000000000068747470733a2f2f656e76696f6e2e6f72670000000000000000000000000000456e76696f6e2041470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012d780ae2bf04cd96e577d3d014762f831d97129d045564e00000000000000000000000000737570706f727440657468657270617274792e696f000000000000000000000068747470733a2f2f657468657270617274792e696f000000000000000000000045746865727061727479204655454c0000000000000000000000000000000000000000000000000000000000000000000000000000000012ea38eaa3c86c8f9b751533ba2e562deb9acded404655454c0000000000000000000000006c6962756b616e6740646465782e696f0000000000000000000000000000000068747470733a2f2f746865687964726f666f756e646174696f6e2e636f6d2f00487964726f2050726f746f636f6c000000000000000000000000000000000000000000000000000053444835ec58000000000000000000129af839687f6c94542ac5ece2e317daae355493a1484f54000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000687474703a2f2f63726f776473616c652e6965782e65630000000000000000004945782e65630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009607f4c5bb672230e8672085532f7e901544a7375524c4300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e636f696e646173682e696f000000000000000000436f696e446173680000000000000000000000000000000000000000000000000000000000000008f42e2a65aa7e80000000000000000012177d39ac676ed1c67a2b268ad7f1e58826e5b0af434454000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042455400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000128aa33a7899fcc8ea5fbe6a608a109c3893a1b8b242455400000000000000000000000000746f6b656e406a6574382e696f0000000000000000000000000000000000000068747470733a2f2f6a6574382e696f00000000000000000000000000000000004a385420546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080d262e5dc4a06a0f1c90ce79c7a60c09dfc884e44a385400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f676f6c656d2e6e6574776f726b0000000000000000000000476f6c656d00000000000000000000000000000000000000000000000000000000000000000000066aff9099e5e0d0000000000000000012a74476443119a942de498590fe1f2454d7d4ac0d474e5400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e4d5200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000121776e1f26f98b1a5df9cd347953a26dd3cb466714e4d5200000000000000000000000000737570706f7274406372797074657269756d2e696f000000000000000000000068747470733a2f2f6372797074657269756d2e696f00000000000000000000004372797074657269756d546f6b656e00000000000000000000000000000000000000000000000015a214896f94350300000000000000001280a7e048f37a50500351c204cb407766fa3bae7f435250540000000000000000000000007374616666406c696e6b6572636f696e2e636f6d00000000000000000000000068747470733a2f2f7777772e6c696e6b6572636f696e2e636f6d2f656e0000004c696e6b657220436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000126beb418fc6e1958204ac8baddcf109b8e96949664c4e432d4c696e6b657220436f696e0061646d696e4064656e7461636f696e2e636f6d0000000000000000000000000068747470733a2f2f64656e7461636f696e2e636f6d000000000000000000000044656e7461636f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008d32b0da63e2c3bcf8019c9c5d849d7a9d791e644434e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7375627374726174756d2e6e6574000000000000000000005375627374726174756d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000212480e24eb5bec1a9d4369cab6a80cad3c0a377a53554200000000000000000000000000737570706f7274406d616b657264616f2e636f6d00000000000000000000000068747470733a2f2f776574682e696f00000000000000000000000000000000005745544800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012c02aaa39b223fe8d0a0e5c4f27ead9083c756cc257455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004f4d47000000000000000000000000000000000000000000000000000000000000000000000000000020e22e00da4dbd0000000000000012d26114cd6ee289accf82350c8d8487fedb8a0c074f4d4700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f6e657665726469652e636f6d0000000000000000000000004e65766572646965000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012a54ddc7b3cce7fc8b1e3fa0256d0db80d2c109704e444300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e6d61747279782e616900000000000000000000004d545800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120af44e2784637218dd1d32a322d44e603a8f0c6a4d545800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d4441000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001251db5ad35c671a87207d88fc11d593ac0c8415bd4d444100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d434f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008b63b606ac810a52cca15e44bb630fd42d8d1d83d4d434f00000000000000000000000000696e666f406c61746f6b656e2e636f6d0000000000000000000000000000000068747470733a2f2f6c61746f6b656e2e636f6d2f0000000000000000000000004c41544f4b454e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e50365f5d679cb98a1dd62d6f6e58e59321bcddf4c41000000000000000000000000000068656c6c6f406b796265722e6e6574776f726b0000000000000000000000000068747470733a2f2f6b796265722e6e6574776f726b00000000000000000000004b79626572204e6574776f726b00000000000000000000000000000000000000000000000000000000000000000000000000000000000012dd974d5c2e2928dea5f71b9825b8b646686bd2004b4e43000000000000000000000000006b696e406b696b2e636f6d00000000000000000000000000000000000000000068747470733a2f2f6b696e2e6b696b2e636f6d000000000000000000000000004b696e20466f756e646174696f6e0000000000000000000000000000000000000000000000007f0e10af47c1c70000000000000000000012818fc6c2ec5986bc6e2cbf00939d90556ab12ce54b494e00000000000000000000000000737570706f7274406a696272656c2e6e6574776f726b0000000000000000000068747470733a2f2f6a696272656c2e6e6574776f726b000000000000000000004a4e540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012a5fd1a791c4dfcaacc963d4f73c6ae5824149ea74a4e5400000000000000000000000000696e666f40696e73757265782e636f000000000000000000000000000000000068747470733a2f2f7777772e696e73757265782e636f00000000000000000000496e737572655800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008fca47962d45adfdfd1ab2d972315db4ce7ccf09449585400000000000000000000000000737570706f727440696f74636861696e2e696f0000000000000000000000000068747470733a2f2f696f74636861696e2e696f2f000000000000000000000000496f5420436861696e000000000000000000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000125e6b6d9abad9093fdc861ea1600eba1b355cd9404954430000000000000000000000000068656c6c6f4069636f6e2e666f756e646174696f6e000000000000000000000068747470733a2f2f7777772e69636f6e2e666f756e646174696f6e000000000049434f4e00000000000000000000000000000000000000000000000000000000000000000000000698e175aef06280000000000000000012b5a5f22694352c15b00323844ad545abb2b1102849435800000000000000000000000000737570706f727440686976652d70726f6a6563742e6e6574000000000000000068747470733a2f2f686976652d70726f6a6563742e6e65740000000000000000486976652050726f6a6563740000000000000000000000000000000000000000000000000000000000000000000000000000000000000008c0eb85285d83217cd7c891702bcbc0fc401e2d9d48564e0000000000000000000000000067726f75704067616d652e636f6d00000000000000000000000000000000000068747470733a2f2f67616d652e636f6d0000000000000000000000000000000047544320546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b70835d7822ebb9426b56543e391846c107bd32c47544300000000000000000000000000636f6e746163744067696d6c692e696f0000000000000000000000000000000068747470733a2f2f67696d6c692e696f0000000000000000000000000000000047696d6c69000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008ae4f56f072c34c0a65b3ae3e4db797d831439d9347494d00000000000000000000000000636f6e746163744066756e64796f757273656c666e6f772e636f6d00000000007777772e66756e64796f757273656c666e6f772e636f6d00000000000000000046756e6420596f757273656c66204e6f0000000000000000000000000000000000000000000000000000000000000000000000000000001288fcfbc22c6d3dbaa25af478c578978339bde77a46594e00000000000000000000000000636f6e74616374406675636b746f6b656e2e636f6d000000000000000000000068747470733a2f2f6675636b746f6b656e2e636f6d000000000000000000000046696e616c6c7920557361626c6520430000000000000000000000000000000000000000000000000000000000000176000000000000000465be44c747988fbf606207698c944df4442efe194655434b000000000000000000000000636f6e74616374406576657265782e696f00000000000000000000000000000068747470733a2f2f6576657265782e696f20000000000000000000000000000045565820546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004f3db5fa2c66b7af3eb0c0b782510816cbe4813b845565800000000000000000000000000696e666f40657468657273706f72747a2e636f6d00000000000000000000000068747470733a2f2f657468657273706f72747a2e636f6d00000000000000000045535a436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e8a1df958be379045e2b46a31a98b93a2ecdfded45535a00000000000000000000000000696e666f40656c69786972746f6b656e2e696f0000000000000000000000000068747470733a2f2f656c69786972746f6b656e2e696f00000000000000000000456c6978697220546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000012c8c6a31a4a806d3710a7b38b7b296d2fabccdba8454c4958000000000000000000000000737570706f72744067616d696e67666f72676f6f642e6e65740000000000000068747470733a2f2f707270732e696f0000000000000000000000000000000000446563656e7472616c697a656420556e00000000000000000000000000000000000000000000000000000000000000000000000000000012d4cffeef10f60eca581b5e1146b5aca4194a4c3b44554249000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e746f6b656e732e6e6574000000000000000000004454520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008d234bf2410a0009df9c3c63b610c09738f18ccd744545200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e64636f72702e697400000000000000000000000044436f7270000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002621d78f2ef2fd937bfca696cabaf9a779f59b3ed44525000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f64726f70696c2e636f6d000000000000000000000000000044726f70696c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124672bad527107471cb5067a887f4656d585a8a3144524f50202864726f70696c29000000737570706f727440647261676f6e636861696e2e636f6d00000000000000000068747470733a2f2f647261676f6e636861696e2e636f6d000000000000000000447261676f6e0000000000000000000000000000000000000000000000000000000000000000000083d6c7aab63600000000000000000012419c4db4b9e25d6db2ad9691ccb832c8d9fda05e4452474e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f646973747269637430782e696f000000000000000000000044697374726963744f78000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120abdace70d3790235af448c88547603b945604ea444e5400000000000000000000000000737570706f727440616772656c6c6f2e6f72670000000000000000000000000068747470733a2f2f7777772e616772656c6c6f2e6f7267000000000000000000416772656c6c6f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001207e3c70653548b04f0a75970c1f81b4cbbfb606f444c5400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e6467782e696f000000000000000000000000000044696769782044414f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009e0b7927c4af23765cb51314a0e0521a9645f0e2a44474400000000000000000000000000636f6e746163744073747265616d722e636f6d0000000000000000000000000068747470733a2f2f7777772e73747265616d722e636f6d00000000000000000044415441436f696e00000000000000000000000000000000000000000000000000000000000000000947b7a7e327371800000000000000120cf0ee63788a0849fe5297f3407f701e122cc02344415441436f696e0000000000000000696e666f726d6174696f6e4064616e65656c2e696f000000000000000000000068747470733a2f2f64616e65656c2e696f00000000000000000000000000000044616e65656c546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a9b70740e708a083c6ff38df52297020f5dfaa5ee44414e00000000000000000000000000737570706f7274406d616b657264616f2e636f6d00000000000000000000000068747470733a2f2f6d616b657264616f2e636f6d00000000000000000000000044616920537461626c65636f696e20760000000000000000000000000000000000000000000000000000000000000000000000000000001289d24a6b4ccb1b6faa2625fe562bdd9a2326035944414900000000000000000000000000696e666f40636172676f782e696f00000000000000000000000000000000000068747470733a2f2f636172676f782e696f000000000000000000000000000000436172676f580000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b6ee9668771a79be7967ee29a63d4184f809714343584f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043564300000000000000000000000000000000000000000000000000000000000000000000000000000000003b9aca00000000000000000841e5560054824ea6b0732e656e3ad64e20e94e45435643000000000000000000000000007465616d407665726966792e617300000000000000000000000000000000000068747470733a2f2f7665726966792e61730000000000000000000000000000004352454400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012672a1ad4f667fb18a333af13667aa0af1f5b5bdd43524544000000000000000000000000737570706f727440636f7079747261636b2e696f00000000000000000000000068747470733a2f2f636f7079747261636b2e696f000000000000000000000000434f5059545241434b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f44745fbd41f6a1ba151df190db0564c5fcc441043505900000000000000000000000000636f6e7461637440636f696e66692e636f6d000000000000000000000000000068747470733a2f2f7777772e636f696e66692e636f6d00000000000000000000436f696e466920546f6b656e0000000000000000000000000000000000000000000000000000001b1ae4d6e2ef50000000000000000000123136ef851592acf49ca4c825131e364170fa32b3434f4649000000000000000000000000696e666f40636c696d617465636f696e2e636f6d00000000000000000000000068747470733a2f2f636c696d617465636f696e2e696f00000000000000000000436c696d617465636f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b4b1d2c217ec0776584ce08d3dd98f90ededa44b434f3200000000000000000000000000737570706f72744063696e64696361746f722e636f6d0000000000000000000068747470733a2f2f63696e64696361746f722e636f6d0000000000000000000043696e64696361746f7200000000000000000000000000000000000000000000000000000000001f231893d09f5100000000000000000012d4c435f5b09f855c3317c8524cb1f586e42795fa434e4400000000000000000000000000636f6e7461637440356d696c65732e636f6d000000000000000000000000000068747470733a2f2f636d2e356d696c65732e636f6d000000000000000000000043796265724d696c657320546f6b656e000000000000000000000000000000000000000000000003cb7c9d9bb3ab80000000000000000012f85feea2fdd81d51177f6b8f35f0e6734ce45f5f434d5400000000000000000000000000636f6e7461637475734063727970746f6c6976656c65616b2e636f6d0000000068747470733a2f2f7777772e63727970746f6c6976656c65616b2e636f6d2f0043727970746f4c6976654c65616b0000000000000000000000000000000000000000000000000000000000000000000000000000000000123dc9a42fa7afe57be03c58fd7f4411b1e466c508434c4c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f63727970746f6b6974746965732e636f0000000000000000434b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006012c8cf97bead5deae237070f9587f8e7a266d434b000000000000000000000000000068656c7040626974636c6176652e636f6d00000000000000000000000000000068747470733a2f2f7777772e626974636c6176652e636f6d00000000000000004341542028426974436c6176652900000000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000121234567461d3f8db7496581774bd869c83d51c934341542028426974436c617665290000737570706f7274406368616e67652d62616e6b2e636f6d00000000000000000068747470733a2f2f6368616e67652d62616e6b2e636f6d0000000000000000004368616e67652042616e6b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000127d4b8cce0591c9044a22ee543533b72e976e36c34341470000000000000000000000000068656c6c6f406361736861612e636f6d0000000000000000000000000000000068747470733a2f2f6361736861612e636f6d00000000000000000000000000004361736861610000000000000000000000000000000000000000000000000000000000000000004eac274771526b80000000000000000012e8780b48bdb05f928697a5e8155f672ed91462f7434153000000000000000000000000007465616d4063727970746f32302e636f6d00000000000000000000000000000068747470733a2f2f63727970746f32302e636f6d00000000000000000000000043727970746f3230277320546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000001226e75307fc0c021472feb8f727839531f112f3174332300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000426974636f696e20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000012db8646f5b487b5dd979fac618350e85018f557d442544b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000696e666f40627261742e7265640000000000000000000000000000000000000042524154000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000089e77d5a1251b6f7d456722a6eac6d2d5980bd89142524154000000000000000000000000696e666f406269747175656e63652e636f6d000000000000000000000000000068747470733a2f2f7777772e6269747175656e63652e636f6d000000000000004269747175656e636500000000000000000000000000000000000000000000000000000000000000000000005f5e100000000000000000085af2be193a6abca9c8817001f45744777db3075642515800000000000000000000000000737570706f727440626c6f636b706f72742e696f00000000000000000000000068747470733a2f2f626c6f636b706f72742e696f000000000000000000000000426c6f636b706f727420546f6b656e0000000000000000000000000000000000000000000000000098a7d9b8314c00000000000000000012327682779bab2bf4d1337e8974ab9de8275a7ca842505400000000000000000000000000737570706f727440626f6e7061792e636f6d000000000000000000000000000068747470733a2f2f626f6e7061792e636f6d0000000000000000000000000000426f6e7061790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012cc34366e3842ca1bd36c1f324d15257960fcc801424f4e00000000000000000000000000636f6e7461637440626f756e747930782e696f0000000000000000000000000068747470733a2f2f626f756e747930782e696f00000000000000000000000000426f756e7479307820546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000012d2d6158683aee4cc838067727209a0aaf4359de3424e54590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042616e636f7200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000121f573d6fb3f13d689ff844b4ce37794d79a7ff1c424e5400000000000000000000000000737570706f72744062696e616e63652e7a656e6465736b2e636f6d000000000068747470733a2f2f7777772e62696e616e63652e636f6d000000000000000000424e420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b8c77482e45f1f44de1745f52c74426c631bdd52424e4200000000000000000000000000737570706f7274406269746d6172742e636f6d0000000000000000000000000068747470733a2f2f6269746d6172742e636f6d000000000000000000000000004269744d617274546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000012986ee2b944c42d017f52af21c4c69b84dbea35d8424d58000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000049636f6e6f6d6900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012e5a7c12972f3bbfe70ed29521c8949b8af6a0970424c58202849636f6e6f6d69290000007465616d4068656c6c6f626c6f6f6d2e696f000000000000000000000000000068747470733a2f2f68656c6c6f626c6f6f6d2e696f0000000000000000000000426c6f6f6d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012107c4504cd79c5d2696ea0030a8dd4e92601b82e424c540000000000000000000000000062616e6b65784062616e6b65782e636f6d00000000000000000000000000000068747470733a2f2f62616e6b65782e636f6d2f0000000000000000000000000042414e4b4558000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001245245bc59219eeaaf6cd3f382e078a461ff9de7b424b5800000000000000000000000000696e666f4062657474657262657474696e672e6f72670000000000000000000068747470733a2f2f7777772e62657474657262657474696e672e6f72670000004245545200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012763186eb8d4856d536ed4478302971214febc6a94245545200000000000000000000000068656c6c6f406269746465677265652e6f72670000000000000000000000000068747470733a2f2f6269746465677265652e6f7267000000000000000000000042697444656772656520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000121961b3331969ed52770751fc718ef530838b6dee42444700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f7777772e626565746f6b656e2e636f6d000000000000000042656520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124d8fc1453a0f359e99c9675954e656d80d996fbf42454500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068747470733a2f2f62697463762e6f6e652f00000000000000000000000000004269744361706974616c56656e646f72000000000000000000000000000000000000000000000000000000000000000000000000000000081014613e2b3cbc4d575054d4982e580d9b99d7b142435600000000000000000000000000737570706f727440626c6f636b6d61736f6e2e696f000000000000000000000068747470733a2f2f626c6f636b6d61736f6e2e696f0000000000000000000000424350540000000000000000000000000000000000000000000000000000000000000000000000003782dace9d90000000000000000000121c4481750daa5ff521a2a7490d9981ed46465dbd42435054000000000000000000000000737570706f7274407562616e782e696f0000000000000000000000000000000068747470733a2f2f7072652e7562616e782e696f00000000000000000000000042414e5800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f87f0d9153fea549c728ad61cb801595a68b73de42414e58000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004243444e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f1e797ce986c3cff4472f7d38d5c4aba55dfefe404243444e000000000000000000000000696e666f406176656e7475732e696f000000000000000000000000000000000068747470733a2f2f6176656e7475732e696f000000000000000000000000000041565400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120d88ed6e74bbfd96b831231638b66c05571e824f41565400000000000000000000000000696e666f406178706972652e636f6d000000000000000000000000000000000068747470733a2f2f7777772e6178706972652e696f2f0000000000000000000041585000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000089af2c6b1a28d3d6bc084bd267f70e90d49741d5b41585000000000000000000000000000636f6e7461637440617474656e74696f6e6e6574776f726b2e696f000000000068747470733a2f2f617474656e74696f6e6e6574776f726b2e696f0000000000417474656e74696f6e20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000126339784d9478da43106a429196772a029c2f177d4154544e00000000000000000000000068656c704061746c616e742e696f00000000000000000000000000000000000068747470733a2f2f61746c616e742e696f00000000000000000000000000000041544c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001278b7fada55a64dd895d8c8c35779dd8b67fa8a0541544c00000000000000000000000000696e666f40617070636f696e732e696f0000000000000000000000000000000068747470733a2f2f617070636f696e732e696f00000000000000000000000000417070436f696e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000121a7a8bd9106f2b8d977e08582dc7d24c723ab0db415050430000000000000000000000007465616d40616972737761702e696f000000000000000000000000000000000068747470733a2f2f616972737761702e696f0000000000000000000000000000416972737761700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000427054b13b1b798b345b591a4d22e6562d47ea75a41535400000000000000000000000000696e666f406165726f6e2e6165726f000000000000000000000000000000000068747470733a2f2f6165726f6e2e6165726f00000000000000000000000000004165726f6e20546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008ba5f11b16b155792cf3b2e6880e8706859a8aeb641524e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000414e540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012960b236a07cf122663c4303350609a66a7b288c0414e5400000000000000000000000000010101000000000000000000000000000000000000000000000000000000000000020b010000000000000000" //console.log(abc.decode(hex)) - /* 737570706f72744064746f6b656e322e65746800000000000000000000000000 687474703a2f2f7777772e64746f6b656e322e65746800000000000000000000 @@ -83,4 +80,4 @@ module.exports = { 0000000000000000000000000000000000000000000000000000000000000002 */ -//var hex = "737570706f72744064746f6b656e322e65746800000000000000000000000000687474703a2f2f7777772e64746f6b656e322e6574680000000000000000000044756d6d7920546f6b656e20320000000000000000000000000000000000000000000000000000000000000000000000000000000000000627aa52389b5f55012870441670705c6e24efa6b144543200000000000000000000000000737570706f72744064746f6b656e312e65746800000000000000000000000000687474703a2f2f7777772e64746f6b656e312e6574680000000000000000000044756d6d7920546f6b656e20310000000000000000000000000000000000000000000000000000000001c6bf52634000000000000000000531284dd9b04450ac07d44f3d4f93c71a536a6971445431000000000000000000000000000101010000000000000000000000000000000000000000000000000000000000000002" \ No newline at end of file +//var hex = "737570706f72744064746f6b656e322e65746800000000000000000000000000687474703a2f2f7777772e64746f6b656e322e6574680000000000000000000044756d6d7920546f6b656e20320000000000000000000000000000000000000000000000000000000000000000000000000000000000000627aa52389b5f55012870441670705c6e24efa6b144543200000000000000000000000000737570706f72744064746f6b656e312e65746800000000000000000000000000687474703a2f2f7777772e64746f6b656e312e6574680000000000000000000044756d6d7920546f6b656e20310000000000000000000000000000000000000000000000000000000001c6bf52634000000000000000000531284dd9b04450ac07d44f3d4f93c71a536a6971445431000000000000000000000000000101010000000000000000000000000000000000000000000000000000000000000002" diff --git a/migrations/2_deploy_contracts.js b/migrations/2_deploy_contracts.js index b34c343..48f773e 100644 --- a/migrations/2_deploy_contracts.js +++ b/migrations/2_deploy_contracts.js @@ -1,37 +1,82 @@ -var Web3 = require("web3") -var web3 = new Web3() -var PublicTokens = artifacts.require("PublicTokens") -var DT1 = artifacts.require("DummyToken") -var DT2 = artifacts.require("DummyToken") -var DT3 = artifacts.require("DummyToken") -var ethTokens = require("../tokens/tokens-eth.json") -var getHex = (str) => { - return '0x' + Buffer.from(str, 'utf8').toString('hex') -} +var Web3 = require("web3"); +var web3 = new Web3(); +var PublicTokens = artifacts.require("PublicTokens"); +var TokenBalances = artifacts.require("TokenBalances"); +var DT1 = artifacts.require("DummyToken"); +var DT2 = artifacts.require("DummyToken"); +var DT3 = artifacts.require("DummyToken"); +var DC = artifacts.require("DummyContract"); +var ethTokens = require("../tokens/tokens-eth.json"); +var getHex = str => { + return "0x" + Buffer.from(str, "utf8").toString("hex"); +}; module.exports = function(deployer, network, accounts) { - if (network == 'development') { - deployer.deploy(PublicTokens).then(function() { - return PublicTokens.deployed(); - }).then(function(pt) { - return deployer.deploy([ - [DT1, accounts[0]], - [DT2, accounts[1]], - [DT3, accounts[2]] - ]).then(function() { - return [DT1.deployed(), DT2.deployed(), DT3.deployed()] - }).then(function(dTokens) {}) - }) - } else if(network == 'live'){ - deployer.deploy(PublicTokens).then(function() { - return PublicTokens.deployed({gas:"0x7a120"}) - }).then(function(pt) { - ethTokens.forEach(async(_token) => { - try { - await pt.addSetToken(getHex(_token.name.substr(0, 16)), getHex(_token.symbol), _token.address, _token.decimals, getHex(_token.website), getHex(_token.support.email), {gas:"0x493e0"}) - } catch (e) { - console.log(_token, e) - } - }) - }) - } -}; \ No newline at end of file + if (network == "development") { + deployer + .deploy(PublicTokens) + .then(function() { + return PublicTokens.deployed(); + }) + .then(function(pt) { + return deployer + .deploy([[DT1, accounts[0]], [DT2, accounts[1]], [DT3, accounts[2]]]) + .then(function() { + return [DT1.deployed(), DT2.deployed(), DT3.deployed()]; + }) + .then(function(dTokens) { + return deployer.deploy(TokenBalances, pt.address).then(function() { + return deployer.deploy(DC); + }); + }); + }); + } else if (network == "live") { + deployer + .deploy(PublicTokens) + .then(function() { + return PublicTokens.deployed({ gas: "0x7a120" }); + }) + .then(function(pt) { + ethTokens.forEach(async _token => { + try { + await pt.addSetToken( + getHex(_token.name.substr(0, 16)), + getHex(_token.symbol), + _token.address, + _token.decimals, + getHex(_token.website), + getHex(_token.support.email), + { gas: "0x493e0" } + ); + } catch (e) { + console.log(_token, e); + } + }); + }) + .then(function() { + deployer.deploy(TokenBalances, pt.address); + }); + } else if (network == "ropsten") { + deployer + .deploy(PublicTokens) + .then(function() { + return PublicTokens.deployed({ gas: "0x7a120" }); + }) + .then(function(pt) { + ethTokens.forEach(async _token => { + try { + await pt.addSetToken( + getHex(_token.name.substr(0, 16)), + getHex(_token.symbol), + _token.address, + _token.decimals, + getHex(_token.website), + getHex(_token.support.email), + { gas: "0x493e0" } + ); + } catch (e) { + console.log(_token, e); + } + }); + }); + } +}; diff --git a/package-lock.json b/package-lock.json index 26c870c..56ccf09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,14 +25,15 @@ "integrity": "sha1-PpcwauAk+yThCj11yIQwJWIhUSA=", "requires": { "bignumber.js": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", - "crypto-js": "3.1.8", - "utf8": "2.1.2", - "xhr2": "0.1.4", - "xmlhttprequest": "1.8.0" + "crypto-js": "^3.1.4", + "utf8": "^2.1.1", + "xhr2": "*", + "xmlhttprequest": "*" }, "dependencies": { "bignumber.js": { - "version": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934" + "version": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", + "from": "git+https://github.com/frozeman/bignumber.js-nolookahead.git" } } }, diff --git a/test/PublicTokens.js b/test/PublicTokens.js index df4b1e2..63e4151 100644 --- a/test/PublicTokens.js +++ b/test/PublicTokens.js @@ -1,95 +1,135 @@ -var PublicTokens = artifacts.require("PublicTokens") -var DummyToken = artifacts.require("DummyToken") -var Web3 = require('web3') -var web3 = new Web3() -var bd = require('../libs/binaryDecoder.js') +var PublicTokens = artifacts.require("PublicTokens"); +var TokenBalances = artifacts.require("TokenBalances"); +var DummyToken = artifacts.require("DummyToken"); +var DummyContract = artifacts.require("DummyContract"); +var Web3 = require("web3"); +var web3 = new Web3(); +var bd = require("../libs/binaryDecoder.js"); function trim(str) { - return str.replace(/\0[\s\S]*$/g, '') + return str.replace(/\0[\s\S]*$/g, ""); } -var getHex = (str) => { - return '0x' + Buffer.from(str, 'utf8').toString('hex') -} -contract('PublicTokens', function(accounts) { - var pt = null - var dt1 = null - var dt2 = null - var dt3 = null - before(async function() { - pt = await PublicTokens.deployed() - dt1 = await DummyToken.deployed(accounts[1], { - from: accounts[1] - }) - dt2 = await DummyToken.new(accounts[2], { - from: accounts[2] - }) - dt3 = await DummyToken.new(accounts[3], { - from: accounts[3] - }) - }) - it('should add token contracts', async function() { - await pt.addSetToken( - getHex("Dummy Token 1"), - getHex("DT1"), - dt1.address, - 5, - getHex("http://www.dtoken1.eth"), - getHex("support@dtoken1.eth"), { - from: accounts[0] - }) - console.log(dt1.address) - await pt.addSetToken( - "Dummy Token 2", - "DT2", - dt2.address, - 6, - "http://www.dtoken2.eth", - "support@dtoken2.eth", { - from: accounts[0] - }) - var tokenInfo1 = await pt.getToken(dt1.address) - var tokenInfo2 = await pt.getToken(dt2.address) - - assert.equal(trim(web3.toAscii(tokenInfo1[0])), "Dummy Token 1") - assert.equal(trim(web3.toAscii(tokenInfo1[1])), "DT1") - assert.equal(tokenInfo1[2], dt1.address) - assert.equal(tokenInfo1[3].toNumber(), 5) - assert.equal(trim(web3.toAscii(tokenInfo1[4])), "http://www.dtoken1.eth") - assert.equal(trim(web3.toAscii(tokenInfo1[5])), "support@dtoken1.eth") - - assert.equal(trim(web3.toAscii(tokenInfo2[0])), "Dummy Token 2") - assert.equal(trim(web3.toAscii(tokenInfo2[1])), "DT2") - assert.equal(tokenInfo2[2], dt2.address) - assert.equal(tokenInfo2[3].toNumber(), 6) - assert.equal(trim(web3.toAscii(tokenInfo2[4])), "http://www.dtoken2.eth") - assert.equal(trim(web3.toAscii(tokenInfo2[5])), "support@dtoken2.eth") - }) - it("should fail to register a token from other addresses", async function() { - try { - var failingTx = await pt.addSetToken( - "Dummy Token 3", - "DT3", - dt3.address, - 7, - "http://www.dtoken3.eth", - "support@dtoken3.eth", { - from: accounts[1] - }) - assert.fail("didnt fail the tx") - } catch (e) {} +var getHex = str => { + return "0x" + Buffer.from(str, "utf8").toString("hex"); +}; +contract("PublicTokens", function(accounts) { + var pt = null; + var tb = null; + var dt1 = null; + var dt2 = null; + var dt3 = null; + var dc = null; + before(async function() { + pt = await PublicTokens.new(); + console.log(pt.address, "public token address"); + tb = await TokenBalances.new(pt.address); + dt1 = await DummyToken.new(accounts[1], { + from: accounts[1] }); - it("should have correct balances", async function() { - var balance1 = await dt1.balanceOf(accounts[1]) - var balance2 = await dt2.balanceOf(accounts[2]) - assert.equal(balance1.toNumber(), 500000000000000) - assert.equal(balance2.toNumber(), 500000000000000) + dt2 = await DummyToken.new(accounts[2], { + from: accounts[2] }); - it("should get correct encoded string", async function() { - var allBalance = await pt.getAllBalance(accounts[1], true, true, true, 0) - var tokens = bd.decode(allBalance) - assert.equal(tokens.length, 2) - assert.equal(tokens[0].balance, 500000000000000) - assert.equal(tokens[0].symbol, 'DT1') - assert.equal(tokens[1].balance, 0) + dt3 = await DummyToken.new(accounts[3], { + from: accounts[3] }); -}) \ No newline at end of file + dc = await DummyContract.new(); + }); + it("should add token contracts", async function() { + await pt.addSetToken( + getHex("Dummy Token 1"), + getHex("DT1"), + dt1.address, + 5, + getHex("http://www.dtoken1.eth"), + getHex("support@dtoken1.eth"), + { + from: accounts[0] + } + ); + await pt.addSetToken( + "Dummy Token 2", + "DT2", + dt2.address, + 6, + "http://www.dtoken2.eth", + "support@dtoken2.eth", + { + from: accounts[0] + } + ); + var tokenInfo1 = await pt.getToken(dt1.address); + var tokenInfo2 = await pt.getToken(dt2.address); + + assert.equal(trim(web3.toAscii(tokenInfo1[0])), "Dummy Token 1"); + assert.equal(trim(web3.toAscii(tokenInfo1[1])), "DT1"); + assert.equal(tokenInfo1[2], dt1.address); + assert.equal(tokenInfo1[3].toNumber(), 5); + assert.equal(trim(web3.toAscii(tokenInfo1[4])), "http://www.dtoken1.eth"); + assert.equal(trim(web3.toAscii(tokenInfo1[5])), "support@dtoken1.eth"); + + assert.equal(trim(web3.toAscii(tokenInfo2[0])), "Dummy Token 2"); + assert.equal(trim(web3.toAscii(tokenInfo2[1])), "DT2"); + assert.equal(tokenInfo2[2], dt2.address); + assert.equal(tokenInfo2[3].toNumber(), 6); + assert.equal(trim(web3.toAscii(tokenInfo2[4])), "http://www.dtoken2.eth"); + assert.equal(trim(web3.toAscii(tokenInfo2[5])), "support@dtoken2.eth"); + }); + it("should fail to register a token from other addresses", async function() { + try { + var failingTx = await pt.addSetToken( + "Dummy Token 3", + "DT3", + dt3.address, + 7, + "http://www.dtoken3.eth", + "support@dtoken3.eth", + { + from: accounts[1] + } + ); + assert.fail("didnt fail the tx"); + } catch (e) {} + }); + it("should have correct balances", async function() { + var balance1 = await dt1.balanceOf(accounts[1]); + var balance2 = await dt2.balanceOf(accounts[2]); + assert.equal(balance1.toNumber(), 500000000000000); + assert.equal(balance2.toNumber(), 500000000000000); + }); + it("should get correct encoded string", async function() { + var allBalance = await tb.getAllBalance(accounts[1], true, true, true, 0); + var tokens = bd.decode(allBalance); + assert.equal(tokens.length, 2); + assert.equal(tokens[0].balance, 500000000000000); + assert.equal(tokens[0].symbol, "DT1"); + assert.equal(tokens[1].balance, 0); + }); + it("kill one contract and should still work", async function() { + await dt2.killMe(); + var allBalance = await tb.getAllBalance(accounts[1], true, true, true, 0); + var tokens = bd.decode(allBalance); + assert.equal(tokens.length, 1); + assert.equal(tokens[0].balance, 500000000000000); + assert.equal(tokens[0].symbol, "DT1"); + }); + it("set random contract and should still work", async function() { + await pt.addSetToken( + "Dummy Contract", + "DC", + dc.address, + 6, + "http://www.dcontract.eth", + "support@dcontract.eth", + { + from: accounts[0] + } + ); + var allBalance = await tb.getAllBalance(accounts[1], true, true, true, 0); + var tokens = bd.decode(allBalance); + assert.equal(tokens.length, 2); + assert.equal(tokens[0].balance, 500000000000000); + assert.equal(tokens[0].symbol, "DT1"); + assert.equal(tokens[1].balance, 0); + assert.equal(tokens[1].symbol, "DC"); + }); +}); diff --git a/truffle.js b/truffle.js index a9270bb..461fcd9 100644 --- a/truffle.js +++ b/truffle.js @@ -11,6 +11,12 @@ module.exports = { port: 8545, network_id: "*", // Match any network id gasPrice: "0x3b9aca00" + }, + ropsten: { + host: "https://api.myetherapi.com/rop", + port: 443, + network_id: "*", // Match any network id + gasPrice: "0x3b9aca00" } } }; \ No newline at end of file