From 139f5330214878346232684a65ed0ee5633cafa2 Mon Sep 17 00:00:00 2001 From: "gfijr@i.ua" <1q2w3e4r5t6A> Date: Wed, 20 Dec 2017 19:32:32 +0200 Subject: [PATCH 1/4] add func changeDiscount --- contracts/StreamityCrowdsale.sol | 11 +++++++++++ src/Streamity Token (STM).sol | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/contracts/StreamityCrowdsale.sol b/contracts/StreamityCrowdsale.sol index 9e9e572..6d6e16a 100644 --- a/contracts/StreamityCrowdsale.sol +++ b/contracts/StreamityCrowdsale.sol @@ -21,6 +21,17 @@ contract StreamityCrowdsale is Pauseble Ico public ICO; + /** + * Function for change discount if need + * + */ + function changeDiscount(uint8 _discount) public onlyOwner + returns (bool) + { + ICO = Ico (ICO.tokens, ICO.startDate, ICO.endDate, _discount, ICO.discountFirstDayICO); + return true; + } + /** * Expanding of the functionality * diff --git a/src/Streamity Token (STM).sol b/src/Streamity Token (STM).sol index 99a1c47..d34ada7 100644 --- a/src/Streamity Token (STM).sol +++ b/src/Streamity Token (STM).sol @@ -387,6 +387,17 @@ contract StreamityCrowdsale is Pauseble Ico public ICO; + /** + * Function for change discount if need + * + */ + function changeDiscount(uint8 _discount) public onlyOwner + returns (bool) + { + ICO = Ico (ICO.tokens, ICO.startDate, ICO.endDate, _discount, ICO.discountFirstDayICO); + return true; + } + /** * Expanding of the functionality * From 3644c8a96c626e9e09a44952ab870e8a664734ff Mon Sep 17 00:00:00 2001 From: "gfijr@i.ua" <1q2w3e4r5t6A> Date: Wed, 20 Dec 2017 23:19:36 +0200 Subject: [PATCH 2/4] change sale logic --- build/contracts/ERC20Extending.json | 102 +- build/contracts/Migrations.json | 6 +- build/contracts/Ownable.json | 10 +- build/contracts/Pauseble.json | 280 +++- build/contracts/SafeMath.json | 294 ++-- build/contracts/StreamityContract.json | 960 +++++------ build/contracts/StreamityCrowdsale.json | 2018 +++++++++++++---------- build/contracts/TokenERC20.json | 1652 +++++++++---------- build/contracts/tokenRecipient.json | 1652 +++++++++---------- contracts/StreamityContract.sol | 22 +- contracts/StreamityCrowdsale.sol | 3 +- src/Streamity Token (STM).sol | 22 +- 12 files changed, 3698 insertions(+), 3323 deletions(-) diff --git a/build/contracts/ERC20Extending.json b/build/contracts/ERC20Extending.json index ba2158e..3706cce 100644 --- a/build/contracts/ERC20Extending.json +++ b/build/contracts/ERC20Extending.json @@ -443,7 +443,7 @@ "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./TokenERC20.sol\";\r\n\r\ncontract ERC20Extending is TokenERC20\r\n{\r\n using SafeMath for uint;\r\n\r\n /**\r\n * Function for transfer ethereum from contract to any address\r\n *\r\n * @param _to - address of the recipient\r\n * @param amount - ethereum\r\n */\r\n function transferEthFromContract(address _to, uint amount) public onlyOwner\r\n {\r\n _to.transfer(amount);\r\n }\r\n\r\n /**\r\n * Function for transfer tokens from contract to any address\r\n *\r\n */\r\n function transferTokensFromContract(address _to, uint256 _value) public onlyOwner\r\n {\r\n avaliableSupply = avaliableSupply.sub(_value);\r\n _transfer(this, _to, _value);\r\n }\r\n}\r\n", + "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./TokenERC20.sol\";\r\n\r\ncontract ERC20Extending is TokenERC20\r\n{\r\n using SafeMath for uint;\r\n\r\n /**\r\n * Function for transfer ethereum from contract to any address\r\n *\r\n * @param _to - address of the recipient\r\n * @param amount - ethereum\r\n */\r\n function transferEthFromContract(address _to, uint256 amount) public onlyOwner\r\n {\r\n _to.transfer(amount);\r\n }\r\n\r\n /**\r\n * Function for transfer tokens from contract to any address\r\n *\r\n */\r\n function transferTokensFromContract(address _to, uint256 _value) public onlyOwner\r\n {\r\n avaliableSupply = avaliableSupply.sub(_value);\r\n _transfer(this, _to, _value);\r\n }\r\n}\r\n", "sourcePath": "C:\\Users\\pirno\\Desktop\\stm-smartcontract origina\\contracts\\ERC20Extending.sol", "ast": { "attributes": { @@ -470,7 +470,7 @@ }, { "attributes": { - "SourceUnit": 1308, + "SourceUnit": 1332, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/TokenERC20.sol", "file": "./TokenERC20.sol", "scope": 48, @@ -487,14 +487,14 @@ "attributes": { "contractDependencies": [ 160, - 1307 + 1331 ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ 47, - 1307, + 1331, 160 ], "name": "ERC20Extending", @@ -512,7 +512,7 @@ "attributes": { "contractScope": null, "name": "TokenERC20", - "referencedDeclaration": 1307, + "referencedDeclaration": 1331, "type": "contract TokenERC20" }, "id": 3, @@ -530,7 +530,7 @@ "attributes": { "contractScope": null, "name": "SafeMath", - "referencedDeclaration": 325, + "referencedDeclaration": 336, "type": "library SafeMath" }, "id": 5, @@ -606,22 +606,22 @@ "children": [ { "attributes": { - "name": "uint", + "name": "uint256", "type": "uint256" }, "id": 10, "name": "ElementaryTypeName", - "src": "350:4:0" + "src": "350:7:0" } ], "id": 11, "name": "VariableDeclaration", - "src": "350:11:0" + "src": "350:14:0" } ], "id": 12, "name": "ParameterList", - "src": "336:26:0" + "src": "336:29:0" }, { "attributes": { @@ -632,7 +632,7 @@ "children": [], "id": 15, "name": "ParameterList", - "src": "385:0:0" + "src": "388:0:0" }, { "attributes": { @@ -653,12 +653,12 @@ }, "id": 13, "name": "Identifier", - "src": "370:9:0" + "src": "373:9:0" } ], "id": 14, "name": "ModifierInvocation", - "src": "370:9:0" + "src": "373:9:0" }, { "children": [ @@ -708,12 +708,12 @@ }, "id": 16, "name": "Identifier", - "src": "396:3:0" + "src": "399:3:0" } ], "id": 18, "name": "MemberAccess", - "src": "396:12:0" + "src": "399:12:0" }, { "attributes": { @@ -727,27 +727,27 @@ }, "id": 19, "name": "Identifier", - "src": "409:6:0" + "src": "412:6:0" } ], "id": 20, "name": "FunctionCall", - "src": "396:20:0" + "src": "399:20:0" } ], "id": 21, "name": "ExpressionStatement", - "src": "396:20:0" + "src": "399:20:0" } ], "id": 22, "name": "Block", - "src": "385:39:0" + "src": "388:39:0" } ], "id": 23, "name": "FunctionDefinition", - "src": "304:120:0" + "src": "304:123:0" }, { "attributes": { @@ -783,12 +783,12 @@ }, "id": 24, "name": "ElementaryTypeName", - "src": "557:7:0" + "src": "560:7:0" } ], "id": 25, "name": "VariableDeclaration", - "src": "557:11:0" + "src": "560:11:0" }, { "attributes": { @@ -809,17 +809,17 @@ }, "id": 26, "name": "ElementaryTypeName", - "src": "570:7:0" + "src": "573:7:0" } ], "id": 27, "name": "VariableDeclaration", - "src": "570:14:0" + "src": "573:14:0" } ], "id": 28, "name": "ParameterList", - "src": "556:29:0" + "src": "559:29:0" }, { "attributes": { @@ -830,7 +830,7 @@ "children": [], "id": 31, "name": "ParameterList", - "src": "608:0:0" + "src": "611:0:0" }, { "attributes": { @@ -851,12 +851,12 @@ }, "id": 29, "name": "Identifier", - "src": "593:9:0" + "src": "596:9:0" } ], "id": 30, "name": "ModifierInvocation", - "src": "593:9:0" + "src": "596:9:0" }, { "children": [ @@ -879,13 +879,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, "id": 32, "name": "Identifier", - "src": "619:15:0" + "src": "622:15:0" }, { "attributes": { @@ -915,7 +915,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -925,18 +925,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, "id": 33, "name": "Identifier", - "src": "637:15:0" + "src": "640:15:0" } ], "id": 34, "name": "MemberAccess", - "src": "637:19:0" + "src": "640:19:0" }, { "attributes": { @@ -950,22 +950,22 @@ }, "id": 35, "name": "Identifier", - "src": "657:6:0" + "src": "660:6:0" } ], "id": 36, "name": "FunctionCall", - "src": "637:27:0" + "src": "640:27:0" } ], "id": 37, "name": "Assignment", - "src": "619:45:0" + "src": "622:45:0" } ], "id": 38, "name": "ExpressionStatement", - "src": "619:45:0" + "src": "622:45:0" }, { "children": [ @@ -1003,13 +1003,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 949, + "referencedDeclaration": 973, "type": "function (address,address,uint256)", "value": "_transfer" }, "id": 39, "name": "Identifier", - "src": "675:9:0" + "src": "678:9:0" }, { "attributes": { @@ -1017,13 +1017,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1338, + "referencedDeclaration": 1362, "type": "contract ERC20Extending", "value": "this" }, "id": 40, "name": "Identifier", - "src": "685:4:0" + "src": "688:4:0" }, { "attributes": { @@ -1037,7 +1037,7 @@ }, "id": 41, "name": "Identifier", - "src": "691:3:0" + "src": "694:3:0" }, { "attributes": { @@ -1051,37 +1051,37 @@ }, "id": 42, "name": "Identifier", - "src": "696:6:0" + "src": "699:6:0" } ], "id": 43, "name": "FunctionCall", - "src": "675:28:0" + "src": "678:28:0" } ], "id": 44, "name": "ExpressionStatement", - "src": "675:28:0" + "src": "678:28:0" } ], "id": 45, "name": "Block", - "src": "608:103:0" + "src": "611:103:0" } ], "id": 46, "name": "FunctionDefinition", - "src": "521:190:0" + "src": "524:190:0" } ], "id": 47, "name": "ContractDefinition", - "src": "58:656:0" + "src": "58:659:0" } ], "id": 48, "name": "SourceUnit", - "src": "0:716:0" + "src": "0:719:0" }, "compiler": { "name": "solc", @@ -1089,5 +1089,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-12T17:32:23.389Z" + "updatedAt": "2017-12-20T21:19:00.177Z" } \ No newline at end of file diff --git a/build/contracts/Migrations.json b/build/contracts/Migrations.json index 7223189..dc55da5 100644 --- a/build/contracts/Migrations.json +++ b/build/contracts/Migrations.json @@ -220,7 +220,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, @@ -357,7 +357,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, @@ -817,5 +817,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-12T17:32:23.390Z" + "updatedAt": "2017-12-20T21:19:00.178Z" } \ No newline at end of file diff --git a/build/contracts/Ownable.json b/build/contracts/Ownable.json index 02f3901..01ea6e7 100644 --- a/build/contracts/Ownable.json +++ b/build/contracts/Ownable.json @@ -269,7 +269,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, @@ -349,7 +349,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, @@ -390,7 +390,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, @@ -560,7 +560,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, @@ -823,5 +823,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-12T17:32:23.391Z" + "updatedAt": "2017-12-20T21:19:00.178Z" } \ No newline at end of file diff --git a/build/contracts/Pauseble.json b/build/contracts/Pauseble.json index 6d8fdcc..2687b33 100644 --- a/build/contracts/Pauseble.json +++ b/build/contracts/Pauseble.json @@ -465,14 +465,14 @@ "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./TokenERC20.sol\";\r\n\r\ncontract Pauseble is TokenERC20\r\n{\r\n event EPause();\r\n event EUnpause();\r\n\r\n bool public paused = true;\r\n uint public startIcoDate = 0;\r\n\r\n modifier whenNotPaused()\r\n {\r\n require(!paused);\r\n _;\r\n }\r\n\r\n modifier whenPaused()\r\n {\r\n require(paused);\r\n _;\r\n }\r\n\r\n function pause() public onlyOwner\r\n {\r\n paused = true;\r\n\r\n EPause();\r\n }\r\n\r\n function pauseInternal() internal\r\n {\r\n paused = true;\r\n\r\n EPause();\r\n }\r\n\r\n function unpause() public onlyOwner\r\n {\r\n paused = false;\r\n\r\n EUnpause();\r\n }\r\n}\r\n", + "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./TokenERC20.sol\";\r\n\r\ncontract Pauseble is TokenERC20\r\n{\r\n event EPause();\r\n event EUnpause();\r\n\r\n bool public paused = true;\r\n uint public startIcoDate = 0;\r\n\r\n modifier whenNotPaused()\r\n {\r\n require(!paused);\r\n _;\r\n }\r\n\r\n modifier whenPaused()\r\n {\r\n require(paused);\r\n _;\r\n }\r\n\r\n function pause() public onlyOwner\r\n {\r\n paused = true;\r\n EPause();\r\n }\r\n\r\n function pauseInternal() internal\r\n {\r\n paused = true;\r\n EPause();\r\n }\r\n\r\n function unpause() public onlyOwner\r\n {\r\n paused = false;\r\n EUnpause();\r\n }\r\n\r\n function unpauseInternal() internal\r\n {\r\n paused = false;\r\n EUnpause();\r\n }\r\n}\r\n", "sourcePath": "C:\\Users\\pirno\\Desktop\\stm-smartcontract origina\\contracts\\Pauseble.sol", "ast": { "attributes": { "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/Pauseble.sol", "exportedSymbols": { "Pauseble": [ - 230 + 241 ] } }, @@ -492,10 +492,10 @@ }, { "attributes": { - "SourceUnit": 1308, + "SourceUnit": 1332, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/TokenERC20.sol", "file": "./TokenERC20.sol", - "scope": 231, + "scope": 242, "symbolAliases": [ null ], @@ -509,18 +509,18 @@ "attributes": { "contractDependencies": [ 160, - 1307 + 1331 ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ - 230, - 1307, + 241, + 1331, 160 ], "name": "Pauseble", - "scope": 231 + "scope": 242 }, "children": [ { @@ -534,7 +534,7 @@ "attributes": { "contractScope": null, "name": "TokenERC20", - "referencedDeclaration": 1307, + "referencedDeclaration": 1331, "type": "contract TokenERC20" }, "id": 164, @@ -594,7 +594,7 @@ "attributes": { "constant": false, "name": "paused", - "scope": 230, + "scope": 241, "stateVariable": true, "storageLocation": "default", "type": "bool", @@ -636,7 +636,7 @@ "attributes": { "constant": false, "name": "startIcoDate", - "scope": 230, + "scope": 241, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -721,13 +721,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, "id": 177, "name": "Identifier", - "src": "252:7:3" + "src": "254:7:3" }, { "attributes": { @@ -753,37 +753,37 @@ }, "id": 178, "name": "Identifier", - "src": "261:6:3" + "src": "263:6:3" } ], "id": 179, "name": "UnaryOperation", - "src": "260:7:3" + "src": "262:7:3" } ], "id": 180, "name": "FunctionCall", - "src": "252:16:3" + "src": "254:16:3" } ], "id": 181, "name": "ExpressionStatement", - "src": "252:16:3" + "src": "254:16:3" }, { "id": 182, "name": "PlaceholderStatement", - "src": "277:1:3" + "src": "281:1:3" } ], "id": 183, "name": "Block", - "src": "243:43:3" + "src": "243:47:3" } ], "id": 184, "name": "ModifierDefinition", - "src": "213:73:3" + "src": "213:77:3" }, { "attributes": { @@ -800,7 +800,7 @@ "children": [], "id": 185, "name": "ParameterList", - "src": "313:2:3" + "src": "317:2:3" }, { "children": [ @@ -832,13 +832,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, "id": 186, "name": "Identifier", - "src": "334:7:3" + "src": "336:7:3" }, { "attributes": { @@ -852,32 +852,32 @@ }, "id": 187, "name": "Identifier", - "src": "342:6:3" + "src": "344:6:3" } ], "id": 188, "name": "FunctionCall", - "src": "334:15:3" + "src": "336:15:3" } ], "id": 189, "name": "ExpressionStatement", - "src": "334:15:3" + "src": "336:15:3" }, { "id": 190, "name": "PlaceholderStatement", - "src": "360:1:3" + "src": "362:1:3" } ], "id": 191, "name": "Block", - "src": "321:48:3" + "src": "325:46:3" } ], "id": 192, "name": "ModifierDefinition", - "src": "294:75:3" + "src": "298:73:3" }, { "attributes": { @@ -886,7 +886,7 @@ "isConstructor": false, "name": "pause", "payable": false, - "scope": 230, + "scope": 241, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -901,7 +901,7 @@ "children": [], "id": 193, "name": "ParameterList", - "src": "391:2:3" + "src": "393:2:3" }, { "attributes": { @@ -912,7 +912,7 @@ "children": [], "id": 196, "name": "ParameterList", - "src": "416:0:3" + "src": "418:0:3" }, { "attributes": { @@ -933,12 +933,12 @@ }, "id": 194, "name": "Identifier", - "src": "401:9:3" + "src": "403:9:3" } ], "id": 195, "name": "ModifierInvocation", - "src": "401:9:3" + "src": "403:9:3" }, { "children": [ @@ -967,7 +967,7 @@ }, "id": 197, "name": "Identifier", - "src": "427:6:3" + "src": "429:6:3" }, { "attributes": { @@ -984,17 +984,17 @@ }, "id": 198, "name": "Literal", - "src": "436:4:3" + "src": "438:4:3" } ], "id": 199, "name": "Assignment", - "src": "427:13:3" + "src": "429:13:3" } ], "id": 200, "name": "ExpressionStatement", - "src": "427:13:3" + "src": "429:13:3" }, { "children": [ @@ -1045,12 +1045,12 @@ ], "id": 204, "name": "Block", - "src": "416:53:3" + "src": "418:51:3" } ], "id": 205, "name": "FunctionDefinition", - "src": "377:92:3" + "src": "379:90:3" }, { "attributes": { @@ -1062,7 +1062,7 @@ ], "name": "pauseInternal", "payable": false, - "scope": 230, + "scope": 241, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -1180,27 +1180,27 @@ }, "id": 212, "name": "Identifier", - "src": "553:6:3" + "src": "551:6:3" } ], "id": 213, "name": "FunctionCall", - "src": "553:8:3" + "src": "551:8:3" } ], "id": 214, "name": "ExpressionStatement", - "src": "553:8:3" + "src": "551:8:3" } ], "id": 215, "name": "Block", - "src": "516:53:3" + "src": "516:51:3" } ], "id": 216, "name": "FunctionDefinition", - "src": "477:92:3" + "src": "477:90:3" }, { "attributes": { @@ -1209,7 +1209,7 @@ "isConstructor": false, "name": "unpause", "payable": false, - "scope": 230, + "scope": 241, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1224,7 +1224,7 @@ "children": [], "id": 217, "name": "ParameterList", - "src": "593:2:3" + "src": "591:2:3" }, { "attributes": { @@ -1235,7 +1235,7 @@ "children": [], "id": 220, "name": "ParameterList", - "src": "618:0:3" + "src": "616:0:3" }, { "attributes": { @@ -1256,12 +1256,12 @@ }, "id": 218, "name": "Identifier", - "src": "603:9:3" + "src": "601:9:3" } ], "id": 219, "name": "ModifierInvocation", - "src": "603:9:3" + "src": "601:9:3" }, { "children": [ @@ -1290,7 +1290,7 @@ }, "id": 221, "name": "Identifier", - "src": "629:6:3" + "src": "627:6:3" }, { "attributes": { @@ -1307,17 +1307,17 @@ }, "id": 222, "name": "Literal", - "src": "638:5:3" + "src": "636:5:3" } ], "id": 223, "name": "Assignment", - "src": "629:14:3" + "src": "627:14:3" } ], "id": 224, "name": "ExpressionStatement", - "src": "629:14:3" + "src": "627:14:3" }, { "children": [ @@ -1353,37 +1353,187 @@ }, "id": 225, "name": "Identifier", - "src": "656:8:3" + "src": "652:8:3" } ], "id": 226, "name": "FunctionCall", - "src": "656:10:3" + "src": "652:10:3" } ], "id": 227, "name": "ExpressionStatement", - "src": "656:10:3" + "src": "652:10:3" } ], "id": 228, "name": "Block", - "src": "618:56:3" + "src": "616:54:3" } ], "id": 229, "name": "FunctionDefinition", - "src": "577:97:3" + "src": "575:95:3" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "unpauseInternal", + "payable": false, + "scope": 241, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 230, + "name": "ParameterList", + "src": "702:2:3" + }, + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 231, + "name": "ParameterList", + "src": "719:0:3" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 172, + "type": "bool", + "value": "paused" + }, + "id": 232, + "name": "Identifier", + "src": "730:6:3" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "66616c7365", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "false" + }, + "id": 233, + "name": "Literal", + "src": "739:5:3" + } + ], + "id": 234, + "name": "Assignment", + "src": "730:14:3" + } + ], + "id": 235, + "name": "ExpressionStatement", + "src": "730:14:3" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "arguments": [ + null + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + null + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 169, + "type": "function ()", + "value": "EUnpause" + }, + "id": 236, + "name": "Identifier", + "src": "755:8:3" + } + ], + "id": 237, + "name": "FunctionCall", + "src": "755:10:3" + } + ], + "id": 238, + "name": "ExpressionStatement", + "src": "755:10:3" + } + ], + "id": 239, + "name": "Block", + "src": "719:54:3" + } + ], + "id": 240, + "name": "FunctionDefinition", + "src": "678:95:3" } ], - "id": 230, + "id": 241, "name": "ContractDefinition", - "src": "58:619:3" + "src": "58:718:3" } ], - "id": 231, + "id": 242, "name": "SourceUnit", - "src": "0:679:3" + "src": "0:778:3" }, "compiler": { "name": "solc", @@ -1391,5 +1541,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-12T17:32:23.391Z" + "updatedAt": "2017-12-20T21:19:00.178Z" } \ No newline at end of file diff --git a/build/contracts/SafeMath.json b/build/contracts/SafeMath.json index 898f09c..c78a9c9 100644 --- a/build/contracts/SafeMath.json +++ b/build/contracts/SafeMath.json @@ -12,7 +12,7 @@ "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/SafeMath.sol", "exportedSymbols": { "SafeMath": [ - 325 + 336 ] } }, @@ -26,7 +26,7 @@ ".18" ] }, - "id": 232, + "id": 243, "name": "PragmaDirective", "src": "0:24:4" }, @@ -42,10 +42,10 @@ "documentation": null, "fullyImplemented": true, "linearizedBaseContracts": [ - 325 + 336 ], "name": "SafeMath", - "scope": 326 + "scope": 337 }, "children": [ { @@ -58,7 +58,7 @@ ], "name": "mul", "payable": false, - "scope": 325, + "scope": 336, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -70,7 +70,7 @@ "attributes": { "constant": false, "name": "a", - "scope": 262, + "scope": 273, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -83,12 +83,12 @@ "name": "uint256", "type": "uint256" }, - "id": 233, + "id": 244, "name": "ElementaryTypeName", "src": "66:7:4" } ], - "id": 234, + "id": 245, "name": "VariableDeclaration", "src": "66:9:4" }, @@ -96,7 +96,7 @@ "attributes": { "constant": false, "name": "b", - "scope": 262, + "scope": 273, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -109,17 +109,17 @@ "name": "uint256", "type": "uint256" }, - "id": 235, + "id": 246, "name": "ElementaryTypeName", "src": "77:7:4" } ], - "id": 236, + "id": 247, "name": "VariableDeclaration", "src": "77:9:4" } ], - "id": 237, + "id": 248, "name": "ParameterList", "src": "65:22:4" }, @@ -129,7 +129,7 @@ "attributes": { "constant": false, "name": "", - "scope": 262, + "scope": 273, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -142,17 +142,17 @@ "name": "uint256", "type": "uint256" }, - "id": 238, + "id": 249, "name": "ElementaryTypeName", "src": "120:7:4" } ], - "id": 239, + "id": 250, "name": "VariableDeclaration", "src": "120:7:4" } ], - "id": 240, + "id": 251, "name": "ParameterList", "src": "119:9:4" }, @@ -161,7 +161,7 @@ { "attributes": { "assignments": [ - 242 + 253 ] }, "children": [ @@ -169,7 +169,7 @@ "attributes": { "constant": false, "name": "c", - "scope": 262, + "scope": 273, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -182,12 +182,12 @@ "name": "uint256", "type": "uint256" }, - "id": 241, + "id": 252, "name": "ElementaryTypeName", "src": "145:7:4" } ], - "id": 242, + "id": 253, "name": "VariableDeclaration", "src": "145:9:4" }, @@ -212,11 +212,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 234, + "referencedDeclaration": 245, "type": "uint256", "value": "a" }, - "id": 243, + "id": 254, "name": "Identifier", "src": "157:1:4" }, @@ -226,21 +226,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 236, + "referencedDeclaration": 247, "type": "uint256", "value": "b" }, - "id": 244, + "id": 255, "name": "Identifier", "src": "161:1:4" } ], - "id": 245, + "id": 256, "name": "BinaryOperation", "src": "157:5:4" } ], - "id": 246, + "id": 257, "name": "VariableDeclarationStatement", "src": "145:17:4" }, @@ -272,11 +272,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1310, + "referencedDeclaration": 1334, "type": "function (bool) pure", "value": "assert" }, - "id": 247, + "id": 258, "name": "Identifier", "src": "175:6:4" }, @@ -316,11 +316,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 234, + "referencedDeclaration": 245, "type": "uint256", "value": "a" }, - "id": 248, + "id": 259, "name": "Identifier", "src": "182:1:4" }, @@ -337,12 +337,12 @@ "type": "int_const 0", "value": "0" }, - "id": 249, + "id": 260, "name": "Literal", "src": "187:1:4" } ], - "id": 250, + "id": 261, "name": "BinaryOperation", "src": "182:6:4" }, @@ -382,11 +382,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 242, + "referencedDeclaration": 253, "type": "uint256", "value": "c" }, - "id": 251, + "id": 262, "name": "Identifier", "src": "192:1:4" }, @@ -396,16 +396,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 234, + "referencedDeclaration": 245, "type": "uint256", "value": "a" }, - "id": 252, + "id": 263, "name": "Identifier", "src": "196:1:4" } ], - "id": 253, + "id": 264, "name": "BinaryOperation", "src": "192:5:4" }, @@ -415,37 +415,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 236, + "referencedDeclaration": 247, "type": "uint256", "value": "b" }, - "id": 254, + "id": 265, "name": "Identifier", "src": "201:1:4" } ], - "id": 255, + "id": 266, "name": "BinaryOperation", "src": "192:10:4" } ], - "id": 256, + "id": 267, "name": "BinaryOperation", "src": "182:20:4" } ], - "id": 257, + "id": 268, "name": "FunctionCall", "src": "175:28:4" } ], - "id": 258, + "id": 269, "name": "ExpressionStatement", "src": "175:28:4" }, { "attributes": { - "functionReturnParameters": 240 + "functionReturnParameters": 251 }, "children": [ { @@ -454,26 +454,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 242, + "referencedDeclaration": 253, "type": "uint256", "value": "c" }, - "id": 259, + "id": 270, "name": "Identifier", "src": "223:1:4" } ], - "id": 260, + "id": 271, "name": "Return", "src": "216:8:4" } ], - "id": 261, + "id": 272, "name": "Block", "src": "134:98:4" } ], - "id": 262, + "id": 273, "name": "FunctionDefinition", "src": "53:179:4" }, @@ -487,7 +487,7 @@ ], "name": "div", "payable": false, - "scope": 325, + "scope": 336, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -499,7 +499,7 @@ "attributes": { "constant": false, "name": "a", - "scope": 280, + "scope": 291, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -512,12 +512,12 @@ "name": "uint256", "type": "uint256" }, - "id": 263, + "id": 274, "name": "ElementaryTypeName", "src": "253:7:4" } ], - "id": 264, + "id": 275, "name": "VariableDeclaration", "src": "253:9:4" }, @@ -525,7 +525,7 @@ "attributes": { "constant": false, "name": "b", - "scope": 280, + "scope": 291, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -538,17 +538,17 @@ "name": "uint256", "type": "uint256" }, - "id": 265, + "id": 276, "name": "ElementaryTypeName", "src": "264:7:4" } ], - "id": 266, + "id": 277, "name": "VariableDeclaration", "src": "264:9:4" } ], - "id": 267, + "id": 278, "name": "ParameterList", "src": "252:22:4" }, @@ -558,7 +558,7 @@ "attributes": { "constant": false, "name": "", - "scope": 280, + "scope": 291, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -571,17 +571,17 @@ "name": "uint256", "type": "uint256" }, - "id": 268, + "id": 279, "name": "ElementaryTypeName", "src": "307:7:4" } ], - "id": 269, + "id": 280, "name": "VariableDeclaration", "src": "307:7:4" } ], - "id": 270, + "id": 281, "name": "ParameterList", "src": "306:9:4" }, @@ -590,7 +590,7 @@ { "attributes": { "assignments": [ - 272 + 283 ] }, "children": [ @@ -598,7 +598,7 @@ "attributes": { "constant": false, "name": "c", - "scope": 280, + "scope": 291, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -611,12 +611,12 @@ "name": "uint256", "type": "uint256" }, - "id": 271, + "id": 282, "name": "ElementaryTypeName", "src": "411:7:4" } ], - "id": 272, + "id": 283, "name": "VariableDeclaration", "src": "411:9:4" }, @@ -641,11 +641,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 264, + "referencedDeclaration": 275, "type": "uint256", "value": "a" }, - "id": 273, + "id": 284, "name": "Identifier", "src": "423:1:4" }, @@ -655,27 +655,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 266, + "referencedDeclaration": 277, "type": "uint256", "value": "b" }, - "id": 274, + "id": 285, "name": "Identifier", "src": "427:1:4" } ], - "id": 275, + "id": 286, "name": "BinaryOperation", "src": "423:5:4" } ], - "id": 276, + "id": 287, "name": "VariableDeclarationStatement", "src": "411:17:4" }, { "attributes": { - "functionReturnParameters": 270 + "functionReturnParameters": 281 }, "children": [ { @@ -684,26 +684,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 272, + "referencedDeclaration": 283, "type": "uint256", "value": "c" }, - "id": 277, + "id": 288, "name": "Identifier", "src": "533:1:4" } ], - "id": 278, + "id": 289, "name": "Return", "src": "526:8:4" } ], - "id": 279, + "id": 290, "name": "Block", "src": "321:221:4" } ], - "id": 280, + "id": 291, "name": "FunctionDefinition", "src": "240:302:4" }, @@ -717,7 +717,7 @@ ], "name": "sub", "payable": false, - "scope": 325, + "scope": 336, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -729,7 +729,7 @@ "attributes": { "constant": false, "name": "a", - "scope": 300, + "scope": 311, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -742,12 +742,12 @@ "name": "uint256", "type": "uint256" }, - "id": 281, + "id": 292, "name": "ElementaryTypeName", "src": "563:7:4" } ], - "id": 282, + "id": 293, "name": "VariableDeclaration", "src": "563:9:4" }, @@ -755,7 +755,7 @@ "attributes": { "constant": false, "name": "b", - "scope": 300, + "scope": 311, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -768,17 +768,17 @@ "name": "uint256", "type": "uint256" }, - "id": 283, + "id": 294, "name": "ElementaryTypeName", "src": "574:7:4" } ], - "id": 284, + "id": 295, "name": "VariableDeclaration", "src": "574:9:4" } ], - "id": 285, + "id": 296, "name": "ParameterList", "src": "562:22:4" }, @@ -788,7 +788,7 @@ "attributes": { "constant": false, "name": "", - "scope": 300, + "scope": 311, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -801,17 +801,17 @@ "name": "uint256", "type": "uint256" }, - "id": 286, + "id": 297, "name": "ElementaryTypeName", "src": "617:7:4" } ], - "id": 287, + "id": 298, "name": "VariableDeclaration", "src": "617:7:4" } ], - "id": 288, + "id": 299, "name": "ParameterList", "src": "616:9:4" }, @@ -845,11 +845,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1310, + "referencedDeclaration": 1334, "type": "function (bool) pure", "value": "assert" }, - "id": 289, + "id": 300, "name": "Identifier", "src": "642:6:4" }, @@ -874,11 +874,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 284, + "referencedDeclaration": 295, "type": "uint256", "value": "b" }, - "id": 290, + "id": 301, "name": "Identifier", "src": "649:1:4" }, @@ -888,32 +888,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 282, + "referencedDeclaration": 293, "type": "uint256", "value": "a" }, - "id": 291, + "id": 302, "name": "Identifier", "src": "654:1:4" } ], - "id": 292, + "id": 303, "name": "BinaryOperation", "src": "649:6:4" } ], - "id": 293, + "id": 304, "name": "FunctionCall", "src": "642:14:4" } ], - "id": 294, + "id": 305, "name": "ExpressionStatement", "src": "642:14:4" }, { "attributes": { - "functionReturnParameters": 288 + "functionReturnParameters": 299 }, "children": [ { @@ -937,11 +937,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 282, + "referencedDeclaration": 293, "type": "uint256", "value": "a" }, - "id": 295, + "id": 306, "name": "Identifier", "src": "676:1:4" }, @@ -951,31 +951,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 284, + "referencedDeclaration": 295, "type": "uint256", "value": "b" }, - "id": 296, + "id": 307, "name": "Identifier", "src": "680:1:4" } ], - "id": 297, + "id": 308, "name": "BinaryOperation", "src": "676:5:4" } ], - "id": 298, + "id": 309, "name": "Return", "src": "669:12:4" } ], - "id": 299, + "id": 310, "name": "Block", "src": "631:58:4" } ], - "id": 300, + "id": 311, "name": "FunctionDefinition", "src": "550:139:4" }, @@ -989,7 +989,7 @@ ], "name": "add", "payable": false, - "scope": 325, + "scope": 336, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -1001,7 +1001,7 @@ "attributes": { "constant": false, "name": "a", - "scope": 324, + "scope": 335, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1014,12 +1014,12 @@ "name": "uint256", "type": "uint256" }, - "id": 301, + "id": 312, "name": "ElementaryTypeName", "src": "710:7:4" } ], - "id": 302, + "id": 313, "name": "VariableDeclaration", "src": "710:9:4" }, @@ -1027,7 +1027,7 @@ "attributes": { "constant": false, "name": "b", - "scope": 324, + "scope": 335, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1040,17 +1040,17 @@ "name": "uint256", "type": "uint256" }, - "id": 303, + "id": 314, "name": "ElementaryTypeName", "src": "721:7:4" } ], - "id": 304, + "id": 315, "name": "VariableDeclaration", "src": "721:9:4" } ], - "id": 305, + "id": 316, "name": "ParameterList", "src": "709:22:4" }, @@ -1060,7 +1060,7 @@ "attributes": { "constant": false, "name": "", - "scope": 324, + "scope": 335, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1073,17 +1073,17 @@ "name": "uint256", "type": "uint256" }, - "id": 306, + "id": 317, "name": "ElementaryTypeName", "src": "764:7:4" } ], - "id": 307, + "id": 318, "name": "VariableDeclaration", "src": "764:7:4" } ], - "id": 308, + "id": 319, "name": "ParameterList", "src": "763:9:4" }, @@ -1092,7 +1092,7 @@ { "attributes": { "assignments": [ - 310 + 321 ] }, "children": [ @@ -1100,7 +1100,7 @@ "attributes": { "constant": false, "name": "c", - "scope": 324, + "scope": 335, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1113,12 +1113,12 @@ "name": "uint256", "type": "uint256" }, - "id": 309, + "id": 320, "name": "ElementaryTypeName", "src": "789:7:4" } ], - "id": 310, + "id": 321, "name": "VariableDeclaration", "src": "789:9:4" }, @@ -1143,11 +1143,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 302, + "referencedDeclaration": 313, "type": "uint256", "value": "a" }, - "id": 311, + "id": 322, "name": "Identifier", "src": "801:1:4" }, @@ -1157,21 +1157,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 304, + "referencedDeclaration": 315, "type": "uint256", "value": "b" }, - "id": 312, + "id": 323, "name": "Identifier", "src": "805:1:4" } ], - "id": 313, + "id": 324, "name": "BinaryOperation", "src": "801:5:4" } ], - "id": 314, + "id": 325, "name": "VariableDeclarationStatement", "src": "789:17:4" }, @@ -1203,11 +1203,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1310, + "referencedDeclaration": 1334, "type": "function (bool) pure", "value": "assert" }, - "id": 315, + "id": 326, "name": "Identifier", "src": "819:6:4" }, @@ -1232,11 +1232,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 310, + "referencedDeclaration": 321, "type": "uint256", "value": "c" }, - "id": 316, + "id": 327, "name": "Identifier", "src": "826:1:4" }, @@ -1246,32 +1246,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 302, + "referencedDeclaration": 313, "type": "uint256", "value": "a" }, - "id": 317, + "id": 328, "name": "Identifier", "src": "831:1:4" } ], - "id": 318, + "id": 329, "name": "BinaryOperation", "src": "826:6:4" } ], - "id": 319, + "id": 330, "name": "FunctionCall", "src": "819:14:4" } ], - "id": 320, + "id": 331, "name": "ExpressionStatement", "src": "819:14:4" }, { "attributes": { - "functionReturnParameters": 308 + "functionReturnParameters": 319 }, "children": [ { @@ -1280,36 +1280,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 310, + "referencedDeclaration": 321, "type": "uint256", "value": "c" }, - "id": 321, + "id": 332, "name": "Identifier", "src": "853:1:4" } ], - "id": 322, + "id": 333, "name": "Return", "src": "846:8:4" } ], - "id": 323, + "id": 334, "name": "Block", "src": "778:84:4" } ], - "id": 324, + "id": 335, "name": "FunctionDefinition", "src": "697:165:4" } ], - "id": 325, + "id": 336, "name": "ContractDefinition", "src": "28:837:4" } ], - "id": 326, + "id": 337, "name": "SourceUnit", "src": "0:867:4" }, @@ -1319,5 +1319,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-12T17:32:23.392Z" + "updatedAt": "2017-12-20T21:19:00.179Z" } \ No newline at end of file diff --git a/build/contracts/StreamityContract.json b/build/contracts/StreamityContract.json index a951813..26054c2 100644 --- a/build/contracts/StreamityContract.json +++ b/build/contracts/StreamityContract.json @@ -503,6 +503,25 @@ "stateMutability": "view", "type": "function" }, + { + "constant": false, + "inputs": [ + { + "name": "_discount", + "type": "uint8" + } + ], + "name": "changeDiscount", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, { "constant": false, "inputs": [ @@ -649,18 +668,18 @@ "type": "event" } ], - "bytecode": "0x60606040526012600355600354600a0a600455670de0b6b3a76400006007556001600a60006101000a81548160ff0219169083151502179055506000600b556000600c5534156200004f57600080fd5b6307bfa4806040805190810160405280600981526020017f53747265616d69747900000000000000000000000000000000000000000000008152506040805190810160405280600381526020017f53544d0000000000000000000000000000000000000000000000000000000000815250336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200012560045484620001f26401000000000262002512179091906401000000009004565b600581905550600554600860003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600860003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546006819055508160019080519060200190620001cf92919062000228565b508060029080519060200190620001e892919062000228565b50505050620002d7565b600080828402905060008414806200021557508284828115156200021257fe5b04145b15156200021e57fe5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200026b57805160ff19168380011785556200029c565b828001600101855582156200029c579182015b828111156200029b5782518255916020019190600101906200027e565b5b509050620002ab9190620002af565b5090565b620002d491905b80821115620002d0576000816000905550600101620002b6565b5090565b90565b6129bf80620002e76000396000f300606060405260043610610175576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806304a84938146102a157806306fdde03146102ca578063095ea7b31461035857806318160ddd146103b257806323b872dd146103db578063273ba6bb1461045457806331198d19146104a5578063313ce567146104e75780633f4ba83a1461051057806342966c68146105255780635bda1af0146105605780635c975abb146105ad57806366188463146105da57806370a082311461063457806379cc6790146106815780638456cb59146106db5780638620410b146106f057806395d89b4114610719578063a883b0c4146107a7578063a9059cbb146107eb578063c040e6b81461082d578063c99d9ef714610856578063cae9ca511461087f578063d0973af81461091c578063d73dd6231461095e578063da5f838d146109b8578063dd62ed3e146109e1578063ee67575f14610a4d578063f2fde38b14610a8f575b67016345785d8a0000341015151561018957fe5b600d60010154421015151561019d57600080fd5b600d60020154421115610256576101b2610ac8565b7f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c6101db610b11565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561021b578082015181840152602081019050610200565b50505050905090810190601f1680156102485780820380516001836020036101000a031916815260200191505b509250505060405180910390a15b600b54600014151561027a57600b5442101561027157600080fd5b6000600b819055505b6102843334610c76565b61029934601154610efd90919063ffffffff16565b601181905550005b34156102ac57600080fd5b6102b4610f1b565b6040518082815260200191505060405180910390f35b34156102d557600080fd5b6102dd610f21565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561031d578082015181840152602081019050610302565b50505050905090810190601f16801561034a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561036357600080fd5b610398600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610fbf565b604051808215151515815260200191505060405180910390f35b34156103bd57600080fd5b6103c561104c565b6040518082815260200191505060405180910390f35b34156103e657600080fd5b61043a600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611052565b604051808215151515815260200191505060405180910390f35b341561045f57600080fd5b610467611204565b604051808681526020018581526020018481526020018360ff1660ff1681526020018260ff1660ff1681526020019550505050505060405180910390f35b34156104b057600080fd5b6104e5600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611242565b005b34156104f257600080fd5b6104fa6112e1565b6040518082815260200191505060405180910390f35b341561051b57600080fd5b6105236112e7565b005b341561053057600080fd5b610546600480803590602001909190505061138b565b604051808215151515815260200191505060405180910390f35b341561056b57600080fd5b6105ab600480803590602001909190803590602001909190803590602001909190803560ff1690602001909190803560ff16906020019091905050611558565b005b34156105b857600080fd5b6105c0611698565b604051808215151515815260200191505060405180910390f35b34156105e557600080fd5b61061a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506116ab565b604051808215151515815260200191505060405180910390f35b341561063f57600080fd5b61066b600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061193c565b6040518082815260200191505060405180910390f35b341561068c57600080fd5b6106c1600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611954565b604051808215151515815260200191505060405180910390f35b34156106e657600080fd5b6106ee611cbc565b005b34156106fb57600080fd5b610703611d60565b6040518082815260200191505060405180910390f35b341561072457600080fd5b61072c611d66565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561076c578082015181840152602081019050610751565b50505050905090810190601f1680156107995780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156107b257600080fd5b6107d16004808035906020019091908035906020019091905050611e04565b604051808215151515815260200191505060405180910390f35b34156107f657600080fd5b61082b600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611eb4565b005b341561083857600080fd5b610840611ec3565b6040518082815260200191505060405180910390f35b341561086157600080fd5b610869611ec9565b6040518082815260200191505060405180910390f35b341561088a57600080fd5b610902600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050611ecf565b604051808215151515815260200191505060405180910390f35b341561092757600080fd5b61095c600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506120a8565b005b341561096957600080fd5b61099e600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061212d565b604051808215151515815260200191505060405180910390f35b34156109c357600080fd5b6109cb612329565b6040518082815260200191505060405180910390f35b34156109ec57600080fd5b610a37600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061232f565b6040518082815260200191505060405180910390f35b3415610a5857600080fd5b610a8d600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050612354565b005b3415610a9a57600080fd5b610ac6600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506123bd565b005b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b610b1961297f565b600c5460011415610b61576040805190810160405280600781526020017f5072652d49434f000000000000000000000000000000000000000000000000008152509050610c73565b600c5460021415610ba9576040805190810160405280600f81526020017f49434f20666972737420737461676500000000000000000000000000000000008152509050610c73565b600c5460031415610bf1576040805190810160405280601081526020017f49434f207365636f6e64207374616765000000000000000000000000000000008152509050610c73565b600c546004101515610c3a576040805190810160405280600d81526020017f66656174757265207374616765000000000000000000000000000000000000008152509050610c73565b6040805190810160405280601c81526020017f7468657265206973206e6f2073746167652061742070726573656e740000000081525090505b90565b6000610ca1600754610c936004548561251290919063ffffffff16565b61254590919063ffffffff16565b9050600c5460011415610ce657610cdf610cd082600d60030160009054906101000a900460ff1660ff16612560565b82610efd90919063ffffffff16565b9050610df4565b600c5460021415610db35762015180600d600101540142111515610d7a57600d60030160019054906101000a900460ff1660ff1660001415610d42576014600d60030160016101000a81548160ff021916908360ff1602179055505b610d73610d6482600d60030160019054906101000a900460ff1660ff16612560565b82610efd90919063ffffffff16565b9050610dae565b610dab610d9c82600d60030160009054906101000a900460ff1660ff16612560565b82610efd90919063ffffffff16565b90505b610df3565b600c5460031415610df257610def610de082600d60030160009054906101000a900460ff1660ff16612560565b82610efd90919063ffffffff16565b90505b5b5b80600d600001541015610eb1577f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610e2a610b11565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610e6a578082015181840152602081019050610e4f565b50505050905090810190601f168015610e975780820380516001836020036101000a031916815260200191505b509250505060405180910390a1610eac610ac8565b600080fd5b610ec981600d6000015461259090919063ffffffff16565b600d60000181905550610ee78160065461259090919063ffffffff16565b600681905550610ef83084836125a9565b505050565b6000808284019050838110151515610f1157fe5b8091505092915050565b60065481565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fb75780601f10610f8c57610100808354040283529160200191610fb7565b820191906000526020600020905b815481529060010190602001808311610f9a57829003601f168201915b505050505081565b600081600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001905092915050565b60055481565b6000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482111515156110df57600080fd5b61116e82600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259090919063ffffffff16565b600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506111f98484846125a9565b600190509392505050565b600d8060000154908060010154908060020154908060030160009054906101000a900460ff16908060030160019054906101000a900460ff16905085565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561129d57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156112dd57600080fd5b5050565b60035481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561134257600080fd5b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156113e857600080fd5b81600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561143657600080fd5b61148882600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259090919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506114e08260055461259090919063ffffffff16565b6005819055506114fb8260065461259090919063ffffffff16565b6006819055503373ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a260019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156115b357600080fd5b6006546004548602111515156115c857600080fd5b83600b8190555060a06040519081016040528060045487028152602001858152602001620151808502860181526020018360ff1681526020018260ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff1602179055509050506116836001600c54610efd90919063ffffffff16565b600c819055506116916112e7565b5050505050565b600a60009054906101000a900460ff1681565b600080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050808311156117bc576000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611850565b6117cf838261259090919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a3600191505092915050565b60086020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156119b157600080fd5b81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101515156119ff57600080fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211151515611a8a57600080fd5b611adc82600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259090919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611bae82600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259090919063ffffffff16565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c438260055461259090919063ffffffff16565b600581905550611c5e8260065461259090919063ffffffff16565b6006819055508273ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a26001905092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611d1757600080fd5b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b60075481565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611dfc5780601f10611dd157610100808354040283529160200191611dfc565b820191906000526020600020905b815481529060010190602001808311611ddf57829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611e6157600080fd5b6000831415611e6f57600192505b6000821415611e7d57600191505b611ea482611e966004548661251290919063ffffffff16565b61254590919063ffffffff16565b6007819055506001905092915050565b611ebf3383836125a9565b5050565b600c5481565b600b5481565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611f2d57600080fd5b849050611f3a8585610fbf565b1561209f578073ffffffffffffffffffffffffffffffffffffffff16638f4ffcb1338630876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612034578082015181840152602081019050612019565b50505050905090810190601f1680156120615780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b151561208257600080fd5b6102c65a03f1151561209357600080fd5b505050600191506120a0565b5b509392505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561210357600080fd5b6121188160065461259090919063ffffffff16565b6006819055506121293083836125a9565b5050565b60006121be82600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610efd90919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b60115481565b6009602052816000526040600020602052806000526040600020600091509150505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156123af57600080fd5b6123b98282610c76565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561241857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561245457600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008082840290506000841480612533575082848281151561253057fe5b04145b151561253b57fe5b8091505092915050565b600080828481151561255357fe5b0490508091505092915050565b6000612588606461257a848661251290919063ffffffff16565b61254590919063ffffffff16565b905092915050565b600082821115151561259e57fe5b818303905092915050565b6000808373ffffffffffffffffffffffffffffffffffffffff16141515156125d057600080fd5b81600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561261e57600080fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126b083600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610efd90919063ffffffff16565b1115156126bc57600080fd5b61274d600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610efd90919063ffffffff16565b90506127a182600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259090919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061283682600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610efd90919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a380612970600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610efd90919063ffffffff16565b14151561297957fe5b50505050565b6020604051908101604052806000815250905600a165627a7a72305820940dc588f9fee511f3ee48b829297705bf282bc960288246097e7c6c469b99c90029", - "deployedBytecode": "0x606060405260043610610175576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806304a84938146102a157806306fdde03146102ca578063095ea7b31461035857806318160ddd146103b257806323b872dd146103db578063273ba6bb1461045457806331198d19146104a5578063313ce567146104e75780633f4ba83a1461051057806342966c68146105255780635bda1af0146105605780635c975abb146105ad57806366188463146105da57806370a082311461063457806379cc6790146106815780638456cb59146106db5780638620410b146106f057806395d89b4114610719578063a883b0c4146107a7578063a9059cbb146107eb578063c040e6b81461082d578063c99d9ef714610856578063cae9ca511461087f578063d0973af81461091c578063d73dd6231461095e578063da5f838d146109b8578063dd62ed3e146109e1578063ee67575f14610a4d578063f2fde38b14610a8f575b67016345785d8a0000341015151561018957fe5b600d60010154421015151561019d57600080fd5b600d60020154421115610256576101b2610ac8565b7f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c6101db610b11565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561021b578082015181840152602081019050610200565b50505050905090810190601f1680156102485780820380516001836020036101000a031916815260200191505b509250505060405180910390a15b600b54600014151561027a57600b5442101561027157600080fd5b6000600b819055505b6102843334610c76565b61029934601154610efd90919063ffffffff16565b601181905550005b34156102ac57600080fd5b6102b4610f1b565b6040518082815260200191505060405180910390f35b34156102d557600080fd5b6102dd610f21565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561031d578082015181840152602081019050610302565b50505050905090810190601f16801561034a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561036357600080fd5b610398600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610fbf565b604051808215151515815260200191505060405180910390f35b34156103bd57600080fd5b6103c561104c565b6040518082815260200191505060405180910390f35b34156103e657600080fd5b61043a600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611052565b604051808215151515815260200191505060405180910390f35b341561045f57600080fd5b610467611204565b604051808681526020018581526020018481526020018360ff1660ff1681526020018260ff1660ff1681526020019550505050505060405180910390f35b34156104b057600080fd5b6104e5600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611242565b005b34156104f257600080fd5b6104fa6112e1565b6040518082815260200191505060405180910390f35b341561051b57600080fd5b6105236112e7565b005b341561053057600080fd5b610546600480803590602001909190505061138b565b604051808215151515815260200191505060405180910390f35b341561056b57600080fd5b6105ab600480803590602001909190803590602001909190803590602001909190803560ff1690602001909190803560ff16906020019091905050611558565b005b34156105b857600080fd5b6105c0611698565b604051808215151515815260200191505060405180910390f35b34156105e557600080fd5b61061a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506116ab565b604051808215151515815260200191505060405180910390f35b341561063f57600080fd5b61066b600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061193c565b6040518082815260200191505060405180910390f35b341561068c57600080fd5b6106c1600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611954565b604051808215151515815260200191505060405180910390f35b34156106e657600080fd5b6106ee611cbc565b005b34156106fb57600080fd5b610703611d60565b6040518082815260200191505060405180910390f35b341561072457600080fd5b61072c611d66565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561076c578082015181840152602081019050610751565b50505050905090810190601f1680156107995780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156107b257600080fd5b6107d16004808035906020019091908035906020019091905050611e04565b604051808215151515815260200191505060405180910390f35b34156107f657600080fd5b61082b600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611eb4565b005b341561083857600080fd5b610840611ec3565b6040518082815260200191505060405180910390f35b341561086157600080fd5b610869611ec9565b6040518082815260200191505060405180910390f35b341561088a57600080fd5b610902600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050611ecf565b604051808215151515815260200191505060405180910390f35b341561092757600080fd5b61095c600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506120a8565b005b341561096957600080fd5b61099e600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061212d565b604051808215151515815260200191505060405180910390f35b34156109c357600080fd5b6109cb612329565b6040518082815260200191505060405180910390f35b34156109ec57600080fd5b610a37600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061232f565b6040518082815260200191505060405180910390f35b3415610a5857600080fd5b610a8d600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050612354565b005b3415610a9a57600080fd5b610ac6600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506123bd565b005b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b610b1961297f565b600c5460011415610b61576040805190810160405280600781526020017f5072652d49434f000000000000000000000000000000000000000000000000008152509050610c73565b600c5460021415610ba9576040805190810160405280600f81526020017f49434f20666972737420737461676500000000000000000000000000000000008152509050610c73565b600c5460031415610bf1576040805190810160405280601081526020017f49434f207365636f6e64207374616765000000000000000000000000000000008152509050610c73565b600c546004101515610c3a576040805190810160405280600d81526020017f66656174757265207374616765000000000000000000000000000000000000008152509050610c73565b6040805190810160405280601c81526020017f7468657265206973206e6f2073746167652061742070726573656e740000000081525090505b90565b6000610ca1600754610c936004548561251290919063ffffffff16565b61254590919063ffffffff16565b9050600c5460011415610ce657610cdf610cd082600d60030160009054906101000a900460ff1660ff16612560565b82610efd90919063ffffffff16565b9050610df4565b600c5460021415610db35762015180600d600101540142111515610d7a57600d60030160019054906101000a900460ff1660ff1660001415610d42576014600d60030160016101000a81548160ff021916908360ff1602179055505b610d73610d6482600d60030160019054906101000a900460ff1660ff16612560565b82610efd90919063ffffffff16565b9050610dae565b610dab610d9c82600d60030160009054906101000a900460ff1660ff16612560565b82610efd90919063ffffffff16565b90505b610df3565b600c5460031415610df257610def610de082600d60030160009054906101000a900460ff1660ff16612560565b82610efd90919063ffffffff16565b90505b5b5b80600d600001541015610eb1577f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610e2a610b11565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610e6a578082015181840152602081019050610e4f565b50505050905090810190601f168015610e975780820380516001836020036101000a031916815260200191505b509250505060405180910390a1610eac610ac8565b600080fd5b610ec981600d6000015461259090919063ffffffff16565b600d60000181905550610ee78160065461259090919063ffffffff16565b600681905550610ef83084836125a9565b505050565b6000808284019050838110151515610f1157fe5b8091505092915050565b60065481565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fb75780601f10610f8c57610100808354040283529160200191610fb7565b820191906000526020600020905b815481529060010190602001808311610f9a57829003601f168201915b505050505081565b600081600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001905092915050565b60055481565b6000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482111515156110df57600080fd5b61116e82600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259090919063ffffffff16565b600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506111f98484846125a9565b600190509392505050565b600d8060000154908060010154908060020154908060030160009054906101000a900460ff16908060030160019054906101000a900460ff16905085565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561129d57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156112dd57600080fd5b5050565b60035481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561134257600080fd5b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156113e857600080fd5b81600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561143657600080fd5b61148882600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259090919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506114e08260055461259090919063ffffffff16565b6005819055506114fb8260065461259090919063ffffffff16565b6006819055503373ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a260019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156115b357600080fd5b6006546004548602111515156115c857600080fd5b83600b8190555060a06040519081016040528060045487028152602001858152602001620151808502860181526020018360ff1681526020018260ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff1602179055509050506116836001600c54610efd90919063ffffffff16565b600c819055506116916112e7565b5050505050565b600a60009054906101000a900460ff1681565b600080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050808311156117bc576000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611850565b6117cf838261259090919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a3600191505092915050565b60086020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156119b157600080fd5b81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101515156119ff57600080fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211151515611a8a57600080fd5b611adc82600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259090919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611bae82600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259090919063ffffffff16565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c438260055461259090919063ffffffff16565b600581905550611c5e8260065461259090919063ffffffff16565b6006819055508273ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a26001905092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611d1757600080fd5b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b60075481565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611dfc5780601f10611dd157610100808354040283529160200191611dfc565b820191906000526020600020905b815481529060010190602001808311611ddf57829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611e6157600080fd5b6000831415611e6f57600192505b6000821415611e7d57600191505b611ea482611e966004548661251290919063ffffffff16565b61254590919063ffffffff16565b6007819055506001905092915050565b611ebf3383836125a9565b5050565b600c5481565b600b5481565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611f2d57600080fd5b849050611f3a8585610fbf565b1561209f578073ffffffffffffffffffffffffffffffffffffffff16638f4ffcb1338630876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612034578082015181840152602081019050612019565b50505050905090810190601f1680156120615780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b151561208257600080fd5b6102c65a03f1151561209357600080fd5b505050600191506120a0565b5b509392505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561210357600080fd5b6121188160065461259090919063ffffffff16565b6006819055506121293083836125a9565b5050565b60006121be82600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610efd90919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b60115481565b6009602052816000526040600020602052806000526040600020600091509150505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156123af57600080fd5b6123b98282610c76565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561241857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561245457600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008082840290506000841480612533575082848281151561253057fe5b04145b151561253b57fe5b8091505092915050565b600080828481151561255357fe5b0490508091505092915050565b6000612588606461257a848661251290919063ffffffff16565b61254590919063ffffffff16565b905092915050565b600082821115151561259e57fe5b818303905092915050565b6000808373ffffffffffffffffffffffffffffffffffffffff16141515156125d057600080fd5b81600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561261e57600080fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126b083600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610efd90919063ffffffff16565b1115156126bc57600080fd5b61274d600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610efd90919063ffffffff16565b90506127a182600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259090919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061283682600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610efd90919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a380612970600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610efd90919063ffffffff16565b14151561297957fe5b50505050565b6020604051908101604052806000815250905600a165627a7a72305820940dc588f9fee511f3ee48b829297705bf282bc960288246097e7c6c469b99c90029", - "sourceMap": "98:879:5:-;;;405:2:7;379:28;;442:8;;428:2;:23;414:37;;554:23;528:49;;165:4:3;144:25;;;;;;;;;;;;;;;;;;;;203:1;176:28;;182:1:6;162:21;;276:80:5;;;;;;;;323:9;1204:573:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;535:10:2;527:5;;:18;;;;;;;;;;;;;;;;;;1356:22:7;1374:3;;1356:13;:17;;;;;;:22;;;;;:::i;:::-;1342:11;:36;;;;1455:11;;1437:9;:15;1447:4;1437:15;;;;;;;;;;;;;;;:29;;;;1542:9;:15;1552:4;1542:15;;;;;;;;;;;;;;;;1524;:33;;;;1615:9;1608:4;:16;;;;;;;;;;;;:::i;:::-;;1702:11;1693:6;:20;;;;;;;;;;;;:::i;:::-;;1204:573;;;98:879:5;;53:179:4;120:7;145:9;161:1;157;:5;145:17;;187:1;182;:6;:20;;;;201:1;196;192;:5;;;;;;;;:10;182:20;175:28;;;;;;223:1;216:8;;53:179;;;;;:::o;98:879:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "98:879:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;509:12;496:9;:25;;489:33;;;;;;548:3;:13;;;541:3;:20;;533:29;;;;;;;;585:3;:11;;;579:3;:17;575:116;;;613:15;:13;:15::i;:::-;643:36;661:17;:15;:17::i;:::-;643:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;575:116:5;712:12;;707:1;:17;;703:173;;;751:12;;745:3;:18;741:124;;;784:8;;;741:124;848:1;833:12;:16;;;;703:173;888:27;893:10;905:9;888:4;:27::i;:::-;941:25;956:9;941:10;;:14;;:25;;;;:::i;:::-;928:10;:38;;;;98:879;491:30:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;327:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4129:178:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;458:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3513:347;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;645:14:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;379:28:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;577:97:3;;;;;;;;;;;;;;6298:487:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3441:447:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;144:25:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5641:482:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;634:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7048:716;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;377:92:3;;;;;;;;;;;;;;528:49:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;352:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;914:307:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3121:112:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;162:21:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;176:28:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4706:357:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;521:190:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5325:308:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;203:22:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;686:66:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4128:127:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;903:187:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;477:92:3;536:4;527:6;;:13;;;;;;;;;;;;;;;;;;553:8;;;;;;;;;;477:92::o;1297:420:6:-;1360:6;;:::i;:::-;1393:5;;1388:1;:10;1384:276;;;1415:16;;;;;;;;;;;;;;;;;;;;;;1384:276;1457:5;;1452:1;:10;1449:211;;;1479:24;;;;;;;;;;;;;;;;;;;;;;1449:211;1530:5;;1525:1;:10;1521:139;;;1552:25;;;;;;;;;;;;;;;;;;;;;;1521:139;1604:5;;1599:1;:10;;1595:65;;;1626:22;;;;;;;;;;;;;;;;;;;;;;1595:65;1672:37;;;;;;;;;;;;;;;;;;;;1297:420;;:::o;1798:1120::-;1872:15;1890:31;1912:8;;1891:15;1902:3;;1891:6;:10;;:15;;;;:::i;:::-;1890:21;;:31;;;;:::i;:::-;1872:49;;1943:5;;1938:1;:10;1934:658;;;1975:48;1987:35;2000:7;2009:3;:12;;;;;;;;;;;;1987:35;;:12;:35::i;:::-;1975:7;:11;;:48;;;;:::i;:::-;1965:58;;1934:658;;;2059:5;;2054:1;:10;2050:542;;;2117:6;2101:3;:13;;;:22;2094:3;:29;;2090:384;;;2168:3;:23;;;;;;;;;;;;2163:28;;:1;:28;2159:109;;;2244:2;2218:3;:23;;;:28;;;;;;;;;;;;;;;;;;2159:109;2300:59;2312:46;2325:7;2334:3;:23;;;;;;;;;;;;2312:46;;:12;:46::i;:::-;2300:7;:11;;:59;;;;:::i;:::-;2290:69;;2090:384;;;2410:48;2422:35;2435:7;2444:3;:12;;;;;;;;;;;;2422:35;;:12;:35::i;:::-;2410:7;:11;;:48;;;;:::i;:::-;2400:58;;2090:384;2050:542;;;2500:5;;2495:1;:10;2491:101;;;2532:48;2544:35;2557:7;2566:3;:12;;;;;;;;;;;;2544:35;;:12;:35::i;:::-;2532:7;:11;;:48;;;;:::i;:::-;2522:58;;2491:101;2050:542;1934:658;2621:7;2608:3;:10;;;:20;2604:153;;;2654:36;2672:17;:15;:17::i;:::-;2654:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2705:15:6;:13;:15::i;:::-;2737:8;;;2604:153;2782:23;2797:7;2782:3;:10;;;:14;;:23;;;;:::i;:::-;2769:3;:10;;:36;;;;2834:28;2854:7;2834:15;;:19;;:28;;;;:::i;:::-;2816:15;:46;;;;2875:35;2885:4;2891:9;2902:7;2875:9;:35::i;:::-;1798:1120;;;:::o;697:165:4:-;764:7;789:9;805:1;801;:5;789:17;;831:1;826;:6;;819:14;;;;;;853:1;846:8;;697:165;;;;;:::o;491:30:7:-;;;;:::o;327:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4129:178::-;4205:12;4269:6;4235:9;:21;4245:10;4235:21;;;;;;;;;;;;;;;:31;4257:8;4235:31;;;;;;;;;;;;;;;:40;;;;4295:4;4288:11;;4129:178;;;;:::o;458:26::-;;;;:::o;3513:347::-;3604:12;3652:9;:16;3662:5;3652:16;;;;;;;;;;;;;;;:28;3669:10;3652:28;;;;;;;;;;;;;;;;3642:6;:38;;3634:47;;;;;;;;3748:40;3781:6;3748:9;:16;3758:5;3748:16;;;;;;;;;;;;;;;:28;3765:10;3748:28;;;;;;;;;;;;;;;;:32;;:40;;;;:::i;:::-;3717:9;:16;3727:5;3717:16;;;;;;;;;;;;;;;:28;3734:10;3717:28;;;;;;;;;;;;;;;:71;;;;3799:29;3809:5;3816:3;3821:6;3799:9;:29::i;:::-;3848:4;3841:11;;3513:347;;;;;:::o;645:14:6:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;304:120:0:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;396:3:0;:12;;:20;409:6;396:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:120;;:::o;379:28:7:-;;;;:::o;577:97:3:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;638:5:3;629:6;;:14;;;;;;;;;;;;;;;;;;656:10;;;;;;;;;;577:97::o;6298:487:7:-;6363:12;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;6426:6:7;6401:9;:21;6411:10;6401:21;;;;;;;;;;;;;;;;:31;;6393:40;;;;;;;;6506:33;6532:6;6506:9;:21;6516:10;6506:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;6482:9;:21;6492:10;6482:21;;;;;;;;;;;;;;;:57;;;;6593:23;6609:6;6593:11;;:15;;:23;;;;:::i;:::-;6579:11;:37;;;;6689:27;6709:6;6689:15;;:19;;:27;;;;:::i;:::-;6671:15;:45;;;;6734:10;6729:24;;;6746:6;6729:24;;;;;;;;;;;;;;;;;;6773:4;6766:11;;6298:487;;;:::o;3441:447:6:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;3613:15:6;;3606:3;;3596:7;:13;:32;;3588:41;;;;;;;;3705:10;3690:12;:25;;;;3732:97;;;;;;;;;3747:3;;3737:7;:13;3732:97;;;;3752:10;3732:97;;;;3788:6;3777:8;:17;3764:10;:30;3732:97;;;;3797:9;3732:97;;;;;;3808:20;3732:97;;;;;3726:3;:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3848:12;3858:1;3848:5;;:9;;:12;;;;:::i;:::-;3840:5;:20;;;;3871:9;:7;:9::i;:::-;3441:447;;;;;:::o;144:25:3:-;;;;;;;;;;;;;:::o;5641:482:7:-;5734:12;5764:13;5780:9;:21;5790:10;5780:21;;;;;;;;;;;;;;;:31;5802:8;5780:31;;;;;;;;;;;;;;;;5764:47;;5847:8;5828:16;:27;5824:192;;;5906:1;5872:9;:21;5882:10;5872:21;;;;;;;;;;;;;;;:31;5894:8;5872:31;;;;;;;;;;;;;;;:35;;;;5824:192;;;5974:30;5987:16;5974:8;:12;;:30;;;;:::i;:::-;5940:9;:21;5950:10;5940:21;;;;;;;;;;;;;;;:31;5962:8;5940:31;;;;;;;;;;;;;;;:64;;;;5824:192;6049:8;6028:63;;6037:10;6028:63;;;6059:9;:21;6069:10;6059:21;;;;;;;;;;;;;;;:31;6081:8;6059:31;;;;;;;;;;;;;;;;6028:63;;;;;;;;;;;;;;;;;;6111:4;6104:11;;5641:482;;;;;:::o;634:45::-;;;;;;;;;;;;;;;;;:::o;7048:716::-;7132:12;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;7190:6:7;7170:9;:16;7180:5;7170:16;;;;;;;;;;;;;;;;:26;;7162:35;;;;;;;;7284:9;:16;7294:5;7284:16;;;;;;;;;;;;;;;:28;7301:10;7284:28;;;;;;;;;;;;;;;;7274:6;:38;;7266:47;;;;;;;;7367:28;7388:6;7367:9;:16;7377:5;7367:16;;;;;;;;;;;;;;;;:20;;:28;;;;:::i;:::-;7348:9;:16;7358:5;7348:16;;;;;;;;;;;;;;;:47;;;;7478:40;7511:6;7478:9;:16;7488:5;7478:16;;;;;;;;;;;;;;;:28;7495:10;7478:28;;;;;;;;;;;;;;;;:32;;:40;;;;:::i;:::-;7447:9;:16;7457:5;7447:16;;;;;;;;;;;;;;;:28;7464:10;7447:28;;;;;;;;;;;;;;;:71;;;;7586:23;7602:6;7586:11;;:15;;:23;;;;:::i;:::-;7572:11;:37;;;;7673:27;7693:6;7673:15;;:19;;:27;;;;:::i;:::-;7655:15;:45;;;;7718:5;7713:19;;;7725:6;7713:19;;;;;;;;;;;;;;;;;;7752:4;7745:11;;7048:716;;;;:::o;377:92:3:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;436:4:3;427:6;;:13;;;;;;;;;;;;;;;;;;453:8;;;;;;;;;;377:92::o;528:49:7:-;;;;:::o;352:20::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;914:307:6:-;1011:12;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;1059:1:6;1045:10;:15;1041:35;;;1075:1;1062:14;;1041:35;1107:1;1091:12;:17;1087:39;;;1125:1;1110:16;;1087:39;1150;1176:12;1151:19;1166:3;;1151:10;:14;;:19;;;;:::i;:::-;1150:25;;:39;;;;:::i;:::-;1139:8;:50;;;;1209:4;1202:11;;914:307;;;;:::o;3121:112:7:-;3191:34;3201:10;3213:3;3218:6;3191:9;:34::i;:::-;3121:112;;:::o;162:21:6:-;;;;:::o;176:28:3:-;;;;:::o;4706:357:7:-;4817:12;4847:22;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;4887:8:7;4847:49;;4913:25;4921:8;4931:6;4913:7;:25::i;:::-;4909:147;;;4955:7;:23;;;4979:10;4991:6;4999:4;5005:10;4955:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5040:4:7;5033:11;;;;4909:147;717:1:2;4706:357:7;;;;;;:::o;521:190:0:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;637:27:0;657:6;637:15;;:19;;:27;;;;:::i;:::-;619:15;:45;;;;675:28;685:4;691:3;696:6;675:9;:28::i;:::-;521:190;;:::o;5325:308:7:-;5413:12;5477:48;5513:11;5477:9;:21;5487:10;5477:21;;;;;;;;;;;;;;;:31;5499:8;5477:31;;;;;;;;;;;;;;;;:35;;:48;;;;:::i;:::-;5443:9;:21;5453:10;5443:21;;;;;;;;;;;;;;;:31;5465:8;5443:31;;;;;;;;;;;;;;;:82;;;;5559:8;5538:63;;5547:10;5538:63;;;5569:9;:21;5579:10;5569:21;;;;;;;;;;;;;;;:31;5591:8;5569:31;;;;;;;;;;;;;;;;5538:63;;;;;;;;;;;;;;;;;;5621:4;5614:11;;5325:308;;;;:::o;203:22:5:-;;;;:::o;686:66:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4128:127:6:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;4223:24:6;4228:9;4239:7;4223:4;:24::i;:::-;4128:127;;:::o;903:187:2:-;700:5;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;1004:1;984:22;;:8;:22;;;;976:31;;;;;;;;1046:8;1018:37;;1039:5;;;;;;;;;;;1018:37;;;;;;;;;;;;1074:8;1066:5;;:16;;;;;;;;;;;;;;;;;;903:187;:::o;53:179:4:-;120:7;145:9;161:1;157;:5;145:17;;187:1;182;:6;:20;;;;201:1;196;192;:5;;;;;;;;:10;182:20;175:28;;;;;;223:1;216:8;;53:179;;;;;:::o;240:302::-;307:7;411:9;427:1;423;:5;;;;;;;;411:17;;533:1;526:8;;240:302;;;;;:::o;4323:158:6:-;4409:7;4441:32;4469:3;4442:21;4454:8;4442:7;:11;;:21;;;;:::i;:::-;4441:27;;:32;;;;:::i;:::-;4434:39;;4323:158;;;;:::o;550:139:4:-;617:7;654:1;649;:6;;642:14;;;;;;680:1;676;:5;669:12;;550:139;;;;:::o;2014:896:7:-;2433:21;2181:3;2174;:10;;;;2166:19;;;;;;;;2267:6;2247:9;:16;2257:5;2247:16;;;;;;;;;;;;;;;;:26;;2239:35;;;;;;;;2354:9;:14;2364:3;2354:14;;;;;;;;;;;;;;;;2325:26;2344:6;2325:9;:14;2335:3;2325:14;;;;;;;;;;;;;;;;:18;;:26;;;;:::i;:::-;:43;2317:52;;;;;;;;2457:36;2478:9;:14;2488:3;2478:14;;;;;;;;;;;;;;;;2457:9;:16;2467:5;2457:16;;;;;;;;;;;;;;;;:20;;:36;;;;:::i;:::-;2433:60;;2560:28;2581:6;2560:9;:16;2570:5;2560:16;;;;;;;;;;;;;;;;:20;;:28;;;;:::i;:::-;2541:9;:16;2551:5;2541:16;;;;;;;;;;;;;;;:47;;;;2658:26;2677:6;2658:9;:14;2668:3;2658:14;;;;;;;;;;;;;;;;:18;;:26;;;;:::i;:::-;2641:9;:14;2651:3;2641:14;;;;;;;;;;;;;;;:43;;;;2713:3;2697:28;;2706:5;2697:28;;;2718:6;2697:28;;;;;;;;;;;;;;;;;;2885:16;2845:36;2866:9;:14;2876:3;2866:14;;;;;;;;;;;;;;;;2845:9;:16;2855:5;2845:16;;;;;;;;;;;;;;;;:20;;:36;;;;:::i;:::-;:56;2838:64;;;;;;2014:896;;;;:::o;98:879:5:-;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./ERC20Extending.sol\";\r\nimport \"./StreamityCrowdsale.sol\";\r\n\r\ncontract StreamityContract is ERC20Extending, StreamityCrowdsale\r\n{\r\n using SafeMath for uint;\r\n\r\n uint public weisRaised; // how many weis was raised on crowdsale\r\n\r\n function StreamityContract() public TokenERC20(130000000, \"Streamity\", \"STM\") {} //change before send !!!\r\n\r\n /**\r\n * Function payments handler\r\n *\r\n */\r\n function () public payable\r\n {\r\n assert(msg.value >= 1 ether / 10);\r\n require(now >= ICO.startDate);\r\n\r\n if (now > ICO.endDate) {\r\n pauseInternal();\r\n CrowdSaleFinished(crowdSaleStatus());\r\n }\r\n\r\n if (0 != startIcoDate) {\r\n if (now < startIcoDate) {\r\n revert();\r\n } else {\r\n startIcoDate = 0;\r\n }\r\n }\r\n\r\n sell(msg.sender, msg.value);\r\n\r\n weisRaised = weisRaised.add(msg.value);\r\n }\r\n}\r\n", + "bytecode": "0x60606040526012600355600354600a0a600455670de0b6b3a76400006007556001600a60006101000a81548160ff0219169083151502179055506000600b556000600c5534156200004f57600080fd5b630aba95006040805190810160405280600981526020017f53747265616d69747900000000000000000000000000000000000000000000008152506040805190810160405280600381526020017f53544d0000000000000000000000000000000000000000000000000000000000815250336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200012560045484620001f26401000000000262002671179091906401000000009004565b600581905550600554600860003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600860003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546006819055508160019080519060200190620001cf92919062000228565b508060029080519060200190620001e892919062000228565b50505050620002d7565b600080828402905060008414806200021557508284828115156200021257fe5b04145b15156200021e57fe5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200026b57805160ff19168380011785556200029c565b828001600101855582156200029c579182015b828111156200029b5782518255916020019190600101906200027e565b5b509050620002ab9190620002af565b5090565b620002d491905b80821115620002d0576000816000905550600101620002b6565b5090565b90565b612b6780620002e76000396000f300606060405260043610610180576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806304a84938146102af57806306fdde03146102d8578063095ea7b31461036657806318160ddd146103c057806323b872dd146103e9578063273ba6bb1461046257806331198d19146104b3578063313ce567146104f55780633f4ba83a1461051e57806342966c68146105335780635bda1af01461056e5780635c975abb146105bb57806366188463146105e857806370a082311461064257806379cc67901461068f5780638456cb59146106e95780638620410b146106fe57806395d89b4114610727578063a883b0c4146107b5578063a9059cbb146107f9578063c040e6b81461083b578063c99d9ef714610864578063cae9ca511461088d578063d0973af81461092a578063d73dd6231461096c578063da5f838d146109c6578063dd62ed3e146109ef578063ec993f3d14610a5b578063ee67575f14610a99578063f2fde38b14610adb575b67016345785d8a0000341015151561019457fe5b600d6001015442101515156101a857600080fd5b60001515600a60009054906101000a900460ff16151514156102a8576101ce3334610b14565b6101e334601154610d9b90919063ffffffff16565b601181905550600d60020154421015156102a3576101ff610db9565b7f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610228610e02565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561026857808201518184015260208101905061024d565b50505050905090810190601f1680156102955780820380516001836020036101000a031916815260200191505b509250505060405180910390a15b6102ad565b600080fd5b005b34156102ba57600080fd5b6102c2610f67565b6040518082815260200191505060405180910390f35b34156102e357600080fd5b6102eb610f6d565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561032b578082015181840152602081019050610310565b50505050905090810190601f1680156103585780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037157600080fd5b6103a6600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061100b565b604051808215151515815260200191505060405180910390f35b34156103cb57600080fd5b6103d3611098565b6040518082815260200191505060405180910390f35b34156103f457600080fd5b610448600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061109e565b604051808215151515815260200191505060405180910390f35b341561046d57600080fd5b610475611250565b604051808681526020018581526020018481526020018360ff1660ff1681526020018260ff1660ff1681526020019550505050505060405180910390f35b34156104be57600080fd5b6104f3600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061128e565b005b341561050057600080fd5b61050861132d565b6040518082815260200191505060405180910390f35b341561052957600080fd5b610531611333565b005b341561053e57600080fd5b61055460048080359060200190919050506113d7565b604051808215151515815260200191505060405180910390f35b341561057957600080fd5b6105b9600480803590602001909190803590602001909190803590602001909190803560ff1690602001909190803560ff169060200190919050506115a4565b005b34156105c657600080fd5b6105ce6116dd565b604051808215151515815260200191505060405180910390f35b34156105f357600080fd5b610628600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506116f0565b604051808215151515815260200191505060405180910390f35b341561064d57600080fd5b610679600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611981565b6040518082815260200191505060405180910390f35b341561069a57600080fd5b6106cf600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611999565b604051808215151515815260200191505060405180910390f35b34156106f457600080fd5b6106fc611d01565b005b341561070957600080fd5b610711611da5565b6040518082815260200191505060405180910390f35b341561073257600080fd5b61073a611dab565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561077a57808201518184015260208101905061075f565b50505050905090810190601f1680156107a75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156107c057600080fd5b6107df6004808035906020019091908035906020019091905050611e49565b604051808215151515815260200191505060405180910390f35b341561080457600080fd5b610839600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611ef9565b005b341561084657600080fd5b61084e611f08565b6040518082815260200191505060405180910390f35b341561086f57600080fd5b610877611f0e565b6040518082815260200191505060405180910390f35b341561089857600080fd5b610910600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050611f14565b604051808215151515815260200191505060405180910390f35b341561093557600080fd5b61096a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506120ed565b005b341561097757600080fd5b6109ac600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050612172565b604051808215151515815260200191505060405180910390f35b34156109d157600080fd5b6109d961236e565b6040518082815260200191505060405180910390f35b34156109fa57600080fd5b610a45600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050612374565b6040518082815260200191505060405180910390f35b3415610a6657600080fd5b610a7f600480803560ff16906020019091905050612399565b604051808215151515815260200191505060405180910390f35b3415610aa457600080fd5b610ad9600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506124b3565b005b3415610ae657600080fd5b610b12600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061251c565b005b6000610b3f600754610b316004548561267190919063ffffffff16565b6126a490919063ffffffff16565b9050600c5460011415610b8457610b7d610b6e82600d60030160009054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b9050610c92565b600c5460021415610c515762015180600d600101540142111515610c1857600d60030160019054906101000a900460ff1660ff1660001415610be0576014600d60030160016101000a81548160ff021916908360ff1602179055505b610c11610c0282600d60030160019054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b9050610c4c565b610c49610c3a82600d60030160009054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b90505b610c91565b600c5460031415610c9057610c8d610c7e82600d60030160009054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b90505b5b5b80600d600001541015610d4f577f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610cc8610e02565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610d08578082015181840152602081019050610ced565b50505050905090810190601f168015610d355780820380516001836020036101000a031916815260200191505b509250505060405180910390a1610d4a610db9565b600080fd5b610d6781600d600001546126ef90919063ffffffff16565b600d60000181905550610d85816006546126ef90919063ffffffff16565b600681905550610d96308483612708565b505050565b6000808284019050838110151515610daf57fe5b8091505092915050565b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b610e0a612b27565b600c5460011415610e52576040805190810160405280600781526020017f5072652d49434f000000000000000000000000000000000000000000000000008152509050610f64565b600c5460021415610e9a576040805190810160405280600f81526020017f49434f20666972737420737461676500000000000000000000000000000000008152509050610f64565b600c5460031415610ee2576040805190810160405280601081526020017f49434f207365636f6e64207374616765000000000000000000000000000000008152509050610f64565b600c546004101515610f2b576040805190810160405280600d81526020017f66656174757265207374616765000000000000000000000000000000000000008152509050610f64565b6040805190810160405280601c81526020017f7468657265206973206e6f2073746167652061742070726573656e740000000081525090505b90565b60065481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110035780601f10610fd857610100808354040283529160200191611003565b820191906000526020600020905b815481529060010190602001808311610fe657829003601f168201915b505050505081565b600081600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001905092915050565b60055481565b6000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054821115151561112b57600080fd5b6111ba82600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611245848484612708565b600190509392505050565b600d8060000154908060010154908060020154908060030160009054906101000a900460ff16908060030160019054906101000a900460ff16905085565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156112e957600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561132957600080fd5b5050565b60035481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561138e57600080fd5b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561143457600080fd5b81600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561148257600080fd5b6114d482600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061152c826005546126ef90919063ffffffff16565b600581905550611547826006546126ef90919063ffffffff16565b6006819055503373ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a260019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156115ff57600080fd5b60065460045486021115151561161457600080fd5b60a06040519081016040528060045487028152602001858152602001620151808502860181526020018360ff1681526020018260ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff1602179055509050506116c86001600c54610d9b90919063ffffffff16565b600c819055506116d6612ade565b5050505050565b600a60009054906101000a900460ff1681565b600080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080831115611801576000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611895565b61181483826126ef90919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a3600191505092915050565b60086020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156119f657600080fd5b81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410151515611a4457600080fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211151515611acf57600080fd5b611b2182600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611bf382600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c88826005546126ef90919063ffffffff16565b600581905550611ca3826006546126ef90919063ffffffff16565b6006819055508273ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a26001905092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611d5c57600080fd5b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b60075481565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611e415780601f10611e1657610100808354040283529160200191611e41565b820191906000526020600020905b815481529060010190602001808311611e2457829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611ea657600080fd5b6000831415611eb457600192505b6000821415611ec257600191505b611ee982611edb6004548661267190919063ffffffff16565b6126a490919063ffffffff16565b6007819055506001905092915050565b611f04338383612708565b5050565b600c5481565b600b5481565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611f7257600080fd5b849050611f7f858561100b565b156120e4578073ffffffffffffffffffffffffffffffffffffffff16638f4ffcb1338630876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561207957808201518184015260208101905061205e565b50505050905090810190601f1680156120a65780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15156120c757600080fd5b6102c65a03f115156120d857600080fd5b505050600191506120e5565b5b509392505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561214857600080fd5b61215d816006546126ef90919063ffffffff16565b60068190555061216e308383612708565b5050565b600061220382600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b60115481565b6009602052816000526040600020602052806000526040600020600091509150505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156123f657600080fd5b60a060405190810160405280600d600001548152602001600d600101548152602001600d6002015481526020018360ff168152602001600d60030160019054906101000a900460ff1660ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff16021790555090505060019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561250e57600080fd5b6125188282610b14565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561257757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156125b357600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008082840290506000841480612692575082848281151561268f57fe5b04145b151561269a57fe5b8091505092915050565b60008082848115156126b257fe5b0490508091505092915050565b60006126e760646126d9848661267190919063ffffffff16565b6126a490919063ffffffff16565b905092915050565b60008282111515156126fd57fe5b818303905092915050565b6000808373ffffffffffffffffffffffffffffffffffffffff161415151561272f57600080fd5b81600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561277d57600080fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461280f83600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b11151561281b57600080fd5b6128ac600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b905061290082600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061299582600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a380612acf600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b141515612ad857fe5b50505050565b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b6020604051908101604052806000815250905600a165627a7a72305820cc596d9f22655cb0f8706e78b78b3bb34aac388e1f848849991db24869642b160029", + "deployedBytecode": "0x606060405260043610610180576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806304a84938146102af57806306fdde03146102d8578063095ea7b31461036657806318160ddd146103c057806323b872dd146103e9578063273ba6bb1461046257806331198d19146104b3578063313ce567146104f55780633f4ba83a1461051e57806342966c68146105335780635bda1af01461056e5780635c975abb146105bb57806366188463146105e857806370a082311461064257806379cc67901461068f5780638456cb59146106e95780638620410b146106fe57806395d89b4114610727578063a883b0c4146107b5578063a9059cbb146107f9578063c040e6b81461083b578063c99d9ef714610864578063cae9ca511461088d578063d0973af81461092a578063d73dd6231461096c578063da5f838d146109c6578063dd62ed3e146109ef578063ec993f3d14610a5b578063ee67575f14610a99578063f2fde38b14610adb575b67016345785d8a0000341015151561019457fe5b600d6001015442101515156101a857600080fd5b60001515600a60009054906101000a900460ff16151514156102a8576101ce3334610b14565b6101e334601154610d9b90919063ffffffff16565b601181905550600d60020154421015156102a3576101ff610db9565b7f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610228610e02565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561026857808201518184015260208101905061024d565b50505050905090810190601f1680156102955780820380516001836020036101000a031916815260200191505b509250505060405180910390a15b6102ad565b600080fd5b005b34156102ba57600080fd5b6102c2610f67565b6040518082815260200191505060405180910390f35b34156102e357600080fd5b6102eb610f6d565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561032b578082015181840152602081019050610310565b50505050905090810190601f1680156103585780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037157600080fd5b6103a6600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061100b565b604051808215151515815260200191505060405180910390f35b34156103cb57600080fd5b6103d3611098565b6040518082815260200191505060405180910390f35b34156103f457600080fd5b610448600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061109e565b604051808215151515815260200191505060405180910390f35b341561046d57600080fd5b610475611250565b604051808681526020018581526020018481526020018360ff1660ff1681526020018260ff1660ff1681526020019550505050505060405180910390f35b34156104be57600080fd5b6104f3600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061128e565b005b341561050057600080fd5b61050861132d565b6040518082815260200191505060405180910390f35b341561052957600080fd5b610531611333565b005b341561053e57600080fd5b61055460048080359060200190919050506113d7565b604051808215151515815260200191505060405180910390f35b341561057957600080fd5b6105b9600480803590602001909190803590602001909190803590602001909190803560ff1690602001909190803560ff169060200190919050506115a4565b005b34156105c657600080fd5b6105ce6116dd565b604051808215151515815260200191505060405180910390f35b34156105f357600080fd5b610628600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506116f0565b604051808215151515815260200191505060405180910390f35b341561064d57600080fd5b610679600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611981565b6040518082815260200191505060405180910390f35b341561069a57600080fd5b6106cf600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611999565b604051808215151515815260200191505060405180910390f35b34156106f457600080fd5b6106fc611d01565b005b341561070957600080fd5b610711611da5565b6040518082815260200191505060405180910390f35b341561073257600080fd5b61073a611dab565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561077a57808201518184015260208101905061075f565b50505050905090810190601f1680156107a75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156107c057600080fd5b6107df6004808035906020019091908035906020019091905050611e49565b604051808215151515815260200191505060405180910390f35b341561080457600080fd5b610839600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611ef9565b005b341561084657600080fd5b61084e611f08565b6040518082815260200191505060405180910390f35b341561086f57600080fd5b610877611f0e565b6040518082815260200191505060405180910390f35b341561089857600080fd5b610910600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050611f14565b604051808215151515815260200191505060405180910390f35b341561093557600080fd5b61096a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506120ed565b005b341561097757600080fd5b6109ac600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050612172565b604051808215151515815260200191505060405180910390f35b34156109d157600080fd5b6109d961236e565b6040518082815260200191505060405180910390f35b34156109fa57600080fd5b610a45600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050612374565b6040518082815260200191505060405180910390f35b3415610a6657600080fd5b610a7f600480803560ff16906020019091905050612399565b604051808215151515815260200191505060405180910390f35b3415610aa457600080fd5b610ad9600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506124b3565b005b3415610ae657600080fd5b610b12600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061251c565b005b6000610b3f600754610b316004548561267190919063ffffffff16565b6126a490919063ffffffff16565b9050600c5460011415610b8457610b7d610b6e82600d60030160009054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b9050610c92565b600c5460021415610c515762015180600d600101540142111515610c1857600d60030160019054906101000a900460ff1660ff1660001415610be0576014600d60030160016101000a81548160ff021916908360ff1602179055505b610c11610c0282600d60030160019054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b9050610c4c565b610c49610c3a82600d60030160009054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b90505b610c91565b600c5460031415610c9057610c8d610c7e82600d60030160009054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b90505b5b5b80600d600001541015610d4f577f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610cc8610e02565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610d08578082015181840152602081019050610ced565b50505050905090810190601f168015610d355780820380516001836020036101000a031916815260200191505b509250505060405180910390a1610d4a610db9565b600080fd5b610d6781600d600001546126ef90919063ffffffff16565b600d60000181905550610d85816006546126ef90919063ffffffff16565b600681905550610d96308483612708565b505050565b6000808284019050838110151515610daf57fe5b8091505092915050565b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b610e0a612b27565b600c5460011415610e52576040805190810160405280600781526020017f5072652d49434f000000000000000000000000000000000000000000000000008152509050610f64565b600c5460021415610e9a576040805190810160405280600f81526020017f49434f20666972737420737461676500000000000000000000000000000000008152509050610f64565b600c5460031415610ee2576040805190810160405280601081526020017f49434f207365636f6e64207374616765000000000000000000000000000000008152509050610f64565b600c546004101515610f2b576040805190810160405280600d81526020017f66656174757265207374616765000000000000000000000000000000000000008152509050610f64565b6040805190810160405280601c81526020017f7468657265206973206e6f2073746167652061742070726573656e740000000081525090505b90565b60065481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110035780601f10610fd857610100808354040283529160200191611003565b820191906000526020600020905b815481529060010190602001808311610fe657829003601f168201915b505050505081565b600081600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001905092915050565b60055481565b6000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054821115151561112b57600080fd5b6111ba82600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611245848484612708565b600190509392505050565b600d8060000154908060010154908060020154908060030160009054906101000a900460ff16908060030160019054906101000a900460ff16905085565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156112e957600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561132957600080fd5b5050565b60035481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561138e57600080fd5b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561143457600080fd5b81600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561148257600080fd5b6114d482600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061152c826005546126ef90919063ffffffff16565b600581905550611547826006546126ef90919063ffffffff16565b6006819055503373ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a260019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156115ff57600080fd5b60065460045486021115151561161457600080fd5b60a06040519081016040528060045487028152602001858152602001620151808502860181526020018360ff1681526020018260ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff1602179055509050506116c86001600c54610d9b90919063ffffffff16565b600c819055506116d6612ade565b5050505050565b600a60009054906101000a900460ff1681565b600080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080831115611801576000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611895565b61181483826126ef90919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a3600191505092915050565b60086020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156119f657600080fd5b81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410151515611a4457600080fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211151515611acf57600080fd5b611b2182600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611bf382600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c88826005546126ef90919063ffffffff16565b600581905550611ca3826006546126ef90919063ffffffff16565b6006819055508273ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a26001905092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611d5c57600080fd5b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b60075481565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611e415780601f10611e1657610100808354040283529160200191611e41565b820191906000526020600020905b815481529060010190602001808311611e2457829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611ea657600080fd5b6000831415611eb457600192505b6000821415611ec257600191505b611ee982611edb6004548661267190919063ffffffff16565b6126a490919063ffffffff16565b6007819055506001905092915050565b611f04338383612708565b5050565b600c5481565b600b5481565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611f7257600080fd5b849050611f7f858561100b565b156120e4578073ffffffffffffffffffffffffffffffffffffffff16638f4ffcb1338630876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561207957808201518184015260208101905061205e565b50505050905090810190601f1680156120a65780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15156120c757600080fd5b6102c65a03f115156120d857600080fd5b505050600191506120e5565b5b509392505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561214857600080fd5b61215d816006546126ef90919063ffffffff16565b60068190555061216e308383612708565b5050565b600061220382600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b60115481565b6009602052816000526040600020602052806000526040600020600091509150505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156123f657600080fd5b60a060405190810160405280600d600001548152602001600d600101548152602001600d6002015481526020018360ff168152602001600d60030160019054906101000a900460ff1660ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff16021790555090505060019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561250e57600080fd5b6125188282610b14565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561257757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156125b357600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008082840290506000841480612692575082848281151561268f57fe5b04145b151561269a57fe5b8091505092915050565b60008082848115156126b257fe5b0490508091505092915050565b60006126e760646126d9848661267190919063ffffffff16565b6126a490919063ffffffff16565b905092915050565b60008282111515156126fd57fe5b818303905092915050565b6000808373ffffffffffffffffffffffffffffffffffffffff161415151561272f57600080fd5b81600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561277d57600080fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461280f83600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b11151561281b57600080fd5b6128ac600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b905061290082600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061299582600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a380612acf600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b141515612ad857fe5b50505050565b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b6020604051908101604052806000815250905600a165627a7a72305820cc596d9f22655cb0f8706e78b78b3bb34aac388e1f848849991db24869642b160029", + "sourceMap": "98:839:5:-;;;405:2:7;379:28;;442:8;;428:2;:23;414:37;;554:23;528:49;;165:4:3;144:25;;;;;;;;;;;;;;;;;;;;203:1;176:28;;182:1:6;162:21;;316:80:5;;;;;;;;363:9;1204:573:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;535:10:2;527:5;;:18;;;;;;;;;;;;;;;;;;1356:22:7;1374:3;;1356:13;:17;;;;;;:22;;;;;:::i;:::-;1342:11;:36;;;;1455:11;;1437:9;:15;1447:4;1437:15;;;;;;;;;;;;;;;:29;;;;1542:9;:15;1552:4;1542:15;;;;;;;;;;;;;;;;1524;:33;;;;1615:9;1608:4;:16;;;;;;;;;;;;:::i;:::-;;1702:11;1693:6;:20;;;;;;;;;;;;:::i;:::-;;1204:573;;;98:839:5;;53:179:4;120:7;145:9;161:1;157;:5;145:17;;187:1;182;:6;:20;;;;201:1;196;192;:5;;;;;;;;:10;182:20;175:28;;;;;;223:1;216:8;;53:179;;;;;:::o;98:839:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "98:839:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;549:12;536:9;:25;;529:33;;;;;;588:3;:13;;;581:3;:20;;573:29;;;;;;;;629:5;619:15;;:6;;;;;;;;;;;:15;;;615:312;;;651:27;656:10;668:9;651:4;:27::i;:::-;706:25;721:9;706:10;;:14;;:25;;;;:::i;:::-;693:10;:38;;;;757:3;:11;;;750:3;:18;;746:129;;;789:15;:13;:15::i;:::-;823:36;841:17;:15;:17::i;:::-;823:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;746:129:5;615:312;;;907:8;;;615:312;98:839;491:30:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;327:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4129:178:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;458:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3513:347;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;645:14:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;379:28:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;575:95:3;;;;;;;;;;;;;;6298:487:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3731:419:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;144:25:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5641:482:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;634:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7048:716;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;379:90:3;;;;;;;;;;;;;;528:49:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;352:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1204:307:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3121:112:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;162:21:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;176:28:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4706:357:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;524:190:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5325:308:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;203:22:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;686:66:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;736:214:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4390:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;903:187:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;2088:1120:6;2162:15;2180:31;2202:8;;2181:15;2192:3;;2181:6;:10;;:15;;;;:::i;:::-;2180:21;;:31;;;;:::i;:::-;2162:49;;2233:5;;2228:1;:10;2224:658;;;2265:48;2277:35;2290:7;2299:3;:12;;;;;;;;;;;;2277:35;;:12;:35::i;:::-;2265:7;:11;;:48;;;;:::i;:::-;2255:58;;2224:658;;;2349:5;;2344:1;:10;2340:542;;;2407:6;2391:3;:13;;;:22;2384:3;:29;;2380:384;;;2458:3;:23;;;;;;;;;;;;2453:28;;:1;:28;2449:109;;;2534:2;2508:3;:23;;;:28;;;;;;;;;;;;;;;;;;2449:109;2590:59;2602:46;2615:7;2624:3;:23;;;;;;;;;;;;2602:46;;:12;:46::i;:::-;2590:7;:11;;:59;;;;:::i;:::-;2580:69;;2380:384;;;2700:48;2712:35;2725:7;2734:3;:12;;;;;;;;;;;;2712:35;;:12;:35::i;:::-;2700:7;:11;;:48;;;;:::i;:::-;2690:58;;2380:384;2340:542;;;2790:5;;2785:1;:10;2781:101;;;2822:48;2834:35;2847:7;2856:3;:12;;;;;;;;;;;;2834:35;;:12;:35::i;:::-;2822:7;:11;;:48;;;;:::i;:::-;2812:58;;2781:101;2340:542;2224:658;2911:7;2898:3;:10;;;:20;2894:153;;;2944:36;2962:17;:15;:17::i;:::-;2944:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2995:15:6;:13;:15::i;:::-;3027:8;;;2894:153;3072:23;3087:7;3072:3;:10;;;:14;;:23;;;;:::i;:::-;3059:3;:10;;:36;;;;3124:28;3144:7;3124:15;;:19;;:28;;;;:::i;:::-;3106:15;:46;;;;3165:35;3175:4;3181:9;3192:7;3165:9;:35::i;:::-;2088:1120;;;:::o;697:165:4:-;764:7;789:9;805:1;801;:5;789:17;;831:1;826;:6;;819:14;;;;;;853:1;846:8;;697:165;;;;;:::o;477:90:3:-;536:4;527:6;;:13;;;;;;;;;;;;;;;;;;551:8;;;;;;;;;;477:90::o;1587:420:6:-;1650:6;;:::i;:::-;1683:5;;1678:1;:10;1674:276;;;1705:16;;;;;;;;;;;;;;;;;;;;;;1674:276;1747:5;;1742:1;:10;1739:211;;;1769:24;;;;;;;;;;;;;;;;;;;;;;1739:211;1820:5;;1815:1;:10;1811:139;;;1842:25;;;;;;;;;;;;;;;;;;;;;;1811:139;1894:5;;1889:1;:10;;1885:65;;;1916:22;;;;;;;;;;;;;;;;;;;;;;1885:65;1962:37;;;;;;;;;;;;;;;;;;;;1587:420;;:::o;491:30:7:-;;;;:::o;327:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4129:178::-;4205:12;4269:6;4235:9;:21;4245:10;4235:21;;;;;;;;;;;;;;;:31;4257:8;4235:31;;;;;;;;;;;;;;;:40;;;;4295:4;4288:11;;4129:178;;;;:::o;458:26::-;;;;:::o;3513:347::-;3604:12;3652:9;:16;3662:5;3652:16;;;;;;;;;;;;;;;:28;3669:10;3652:28;;;;;;;;;;;;;;;;3642:6;:38;;3634:47;;;;;;;;3748:40;3781:6;3748:9;:16;3758:5;3748:16;;;;;;;;;;;;;;;:28;3765:10;3748:28;;;;;;;;;;;;;;;;:32;;:40;;;;:::i;:::-;3717:9;:16;3727:5;3717:16;;;;;;;;;;;;;;;:28;3734:10;3717:28;;;;;;;;;;;;;;;:71;;;;3799:29;3809:5;3816:3;3821:6;3799:9;:29::i;:::-;3848:4;3841:11;;3513:347;;;;;:::o;645:14:6:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;304:123:0:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;399:3:0;:12;;:20;412:6;399:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:123;;:::o;379:28:7:-;;;;:::o;575:95:3:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;636:5:3;627:6;;:14;;;;;;;;;;;;;;;;;;652:10;;;;;;;;;;575:95::o;6298:487:7:-;6363:12;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;6426:6:7;6401:9;:21;6411:10;6401:21;;;;;;;;;;;;;;;;:31;;6393:40;;;;;;;;6506:33;6532:6;6506:9;:21;6516:10;6506:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;6482:9;:21;6492:10;6482:21;;;;;;;;;;;;;;;:57;;;;6593:23;6609:6;6593:11;;:15;;:23;;;;:::i;:::-;6579:11;:37;;;;6689:27;6709:6;6689:15;;:19;;:27;;;;:::i;:::-;6671:15;:45;;;;6734:10;6729:24;;;6746:6;6729:24;;;;;;;;;;;;;;;;;;6773:4;6766:11;;6298:487;;;:::o;3731:419:6:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;3903:15:6;;3896:3;;3886:7;:13;:32;;3878:41;;;;;;;;3986:97;;;;;;;;;4001:3;;3991:7;:13;3986:97;;;;4006:10;3986:97;;;;4042:6;4031:8;:17;4018:10;:30;3986:97;;;;4051:9;3986:97;;;;;;4062:20;3986:97;;;;;3980:3;:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4102:12;4112:1;4102:5;;:9;;:12;;;;:::i;:::-;4094:5;:20;;;;4125:17;:15;:17::i;:::-;3731:419;;;;;:::o;144:25:3:-;;;;;;;;;;;;;:::o;5641:482:7:-;5734:12;5764:13;5780:9;:21;5790:10;5780:21;;;;;;;;;;;;;;;:31;5802:8;5780:31;;;;;;;;;;;;;;;;5764:47;;5847:8;5828:16;:27;5824:192;;;5906:1;5872:9;:21;5882:10;5872:21;;;;;;;;;;;;;;;:31;5894:8;5872:31;;;;;;;;;;;;;;;:35;;;;5824:192;;;5974:30;5987:16;5974:8;:12;;:30;;;;:::i;:::-;5940:9;:21;5950:10;5940:21;;;;;;;;;;;;;;;:31;5962:8;5940:31;;;;;;;;;;;;;;;:64;;;;5824:192;6049:8;6028:63;;6037:10;6028:63;;;6059:9;:21;6069:10;6059:21;;;;;;;;;;;;;;;:31;6081:8;6059:31;;;;;;;;;;;;;;;;6028:63;;;;;;;;;;;;;;;;;;6111:4;6104:11;;5641:482;;;;;:::o;634:45::-;;;;;;;;;;;;;;;;;:::o;7048:716::-;7132:12;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;7190:6:7;7170:9;:16;7180:5;7170:16;;;;;;;;;;;;;;;;:26;;7162:35;;;;;;;;7284:9;:16;7294:5;7284:16;;;;;;;;;;;;;;;:28;7301:10;7284:28;;;;;;;;;;;;;;;;7274:6;:38;;7266:47;;;;;;;;7367:28;7388:6;7367:9;:16;7377:5;7367:16;;;;;;;;;;;;;;;;:20;;:28;;;;:::i;:::-;7348:9;:16;7358:5;7348:16;;;;;;;;;;;;;;;:47;;;;7478:40;7511:6;7478:9;:16;7488:5;7478:16;;;;;;;;;;;;;;;:28;7495:10;7478:28;;;;;;;;;;;;;;;;:32;;:40;;;;:::i;:::-;7447:9;:16;7457:5;7447:16;;;;;;;;;;;;;;;:28;7464:10;7447:28;;;;;;;;;;;;;;;:71;;;;7586:23;7602:6;7586:11;;:15;;:23;;;;:::i;:::-;7572:11;:37;;;;7673:27;7693:6;7673:15;;:19;;:27;;;;:::i;:::-;7655:15;:45;;;;7718:5;7713:19;;;7725:6;7713:19;;;;;;;;;;;;;;;;;;7752:4;7745:11;;7048:716;;;;:::o;379:90:3:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;438:4:3;429:6;;:13;;;;;;;;;;;;;;;;;;453:8;;;;;;;;;;379:90::o;528:49:7:-;;;;:::o;352:20::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1204:307:6:-;1301:12;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;1349:1:6;1335:10;:15;1331:35;;;1365:1;1352:14;;1331:35;1397:1;1381:12;:17;1377:39;;;1415:1;1400:16;;1377:39;1440;1466:12;1441:19;1456:3;;1441:10;:14;;:19;;;;:::i;:::-;1440:25;;:39;;;;:::i;:::-;1429:8;:50;;;;1499:4;1492:11;;1204:307;;;;:::o;3121:112:7:-;3191:34;3201:10;3213:3;3218:6;3191:9;:34::i;:::-;3121:112;;:::o;162:21:6:-;;;;:::o;176:28:3:-;;;;:::o;4706:357:7:-;4817:12;4847:22;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;4887:8:7;4847:49;;4913:25;4921:8;4931:6;4913:7;:25::i;:::-;4909:147;;;4955:7;:23;;;4979:10;4991:6;4999:4;5005:10;4955:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5040:4:7;5033:11;;;;4909:147;717:1:2;4706:357:7;;;;;;:::o;524:190:0:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;640:27:0;660:6;640:15;;:19;;:27;;;;:::i;:::-;622:15;:45;;;;678:28;688:4;694:3;699:6;678:9;:28::i;:::-;524:190;;:::o;5325:308:7:-;5413:12;5477:48;5513:11;5477:9;:21;5487:10;5477:21;;;;;;;;;;;;;;;:31;5499:8;5477:31;;;;;;;;;;;;;;;;:35;;:48;;;;:::i;:::-;5443:9;:21;5453:10;5443:21;;;;;;;;;;;;;;;:31;5465:8;5443:31;;;;;;;;;;;;;;;:82;;;;5559:8;5538:63;;5547:10;5538:63;;;5569:9;:21;5579:10;5569:21;;;;;;;;;;;;;;;:31;5591:8;5569:31;;;;;;;;;;;;;;;;5538:63;;;;;;;;;;;;;;;;;;5621:4;5614:11;;5325:308;;;;:::o;203:22:5:-;;;;:::o;686:66:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;736:214:6:-;812:4;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;840:80:6;;;;;;;;;845:3;:10;;;840:80;;;;857:3;:13;;;840:80;;;;872:3;:11;;;840:80;;;;885:9;840:80;;;;;;896:3;:23;;;;;;;;;;;;840:80;;;;;834:3;:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;938:4;931:11;;736:214;;;:::o;4390:127::-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;4485:24:6;4490:9;4501:7;4485:4;:24::i;:::-;4390:127;;:::o;903:187:2:-;700:5;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;1004:1;984:22;;:8;:22;;;;976:31;;;;;;;;1046:8;1018:37;;1039:5;;;;;;;;;;;1018:37;;;;;;;;;;;;1074:8;1066:5;;:16;;;;;;;;;;;;;;;;;;903:187;:::o;53:179:4:-;120:7;145:9;161:1;157;:5;145:17;;187:1;182;:6;:20;;;;201:1;196;192;:5;;;;;;;;:10;182:20;175:28;;;;;;223:1;216:8;;53:179;;;;;:::o;240:302::-;307:7;411:9;427:1;423;:5;;;;;;;;411:17;;533:1;526:8;;240:302;;;;;:::o;4585:158:6:-;4671:7;4703:32;4731:3;4704:21;4716:8;4704:7;:11;;:21;;;;:::i;:::-;4703:27;;:32;;;;:::i;:::-;4696:39;;4585:158;;;;:::o;550:139:4:-;617:7;654:1;649;:6;;642:14;;;;;;680:1;676;:5;669:12;;550:139;;;;:::o;2014:896:7:-;2433:21;2181:3;2174;:10;;;;2166:19;;;;;;;;2267:6;2247:9;:16;2257:5;2247:16;;;;;;;;;;;;;;;;:26;;2239:35;;;;;;;;2354:9;:14;2364:3;2354:14;;;;;;;;;;;;;;;;2325:26;2344:6;2325:9;:14;2335:3;2325:14;;;;;;;;;;;;;;;;:18;;:26;;;;:::i;:::-;:43;2317:52;;;;;;;;2457:36;2478:9;:14;2488:3;2478:14;;;;;;;;;;;;;;;;2457:9;:16;2467:5;2457:16;;;;;;;;;;;;;;;;:20;;:36;;;;:::i;:::-;2433:60;;2560:28;2581:6;2560:9;:16;2570:5;2560:16;;;;;;;;;;;;;;;;:20;;:28;;;;:::i;:::-;2541:9;:16;2551:5;2541:16;;;;;;;;;;;;;;;:47;;;;2658:26;2677:6;2658:9;:14;2668:3;2658:14;;;;;;;;;;;;;;;;:18;;:26;;;;:::i;:::-;2641:9;:14;2651:3;2641:14;;;;;;;;;;;;;;;:43;;;;2713:3;2697:28;;2706:5;2697:28;;;2718:6;2697:28;;;;;;;;;;;;;;;;;;2885:16;2845:36;2866:9;:14;2876:3;2866:14;;;;;;;;;;;;;;;;2845:9;:16;2855:5;2845:16;;;;;;;;;;;;;;;;:20;;:36;;;;:::i;:::-;:56;2838:64;;;;;;2014:896;;;;:::o;678:95:3:-;739:5;730:6;;:14;;;;;;;;;;;;;;;;;;755:10;;;;;;;;;;678:95::o;98:839:5:-;;;;;;;;;;;;;;;:::o", + "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./ERC20Extending.sol\";\r\nimport \"./StreamityCrowdsale.sol\";\r\n\r\ncontract StreamityContract is ERC20Extending, StreamityCrowdsale\r\n{\r\n using SafeMath for uint;\r\n\r\n uint public weisRaised; // how many weis was raised on crowdsale\r\n\r\n /* Streamity tokens Constructor */\r\n function StreamityContract() public TokenERC20(180000000, \"Streamity\", \"STM\") {} //change before send !!!\r\n\r\n /**\r\n * Function payments handler\r\n *\r\n */\r\n function () public payable\r\n {\r\n assert(msg.value >= 1 ether / 10);\r\n require(now >= ICO.startDate);\r\n\r\n if (paused == false) {\r\n sell(msg.sender, msg.value);\r\n weisRaised = weisRaised.add(msg.value);\r\n if (now >= ICO.endDate) {\r\n pauseInternal();\r\n CrowdSaleFinished(crowdSaleStatus());\r\n }\r\n } else {\r\n revert();\r\n }\r\n }\r\n}\r\n", "sourcePath": "C:\\Users\\pirno\\Desktop\\stm-smartcontract origina\\contracts\\StreamityContract.sol", "ast": { "attributes": { "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/StreamityContract.sol", "exportedSymbols": { "StreamityContract": [ - 415 + 417 ] } }, @@ -674,7 +693,7 @@ ".18" ] }, - "id": 327, + "id": 338, "name": "PragmaDirective", "src": "0:24:5" }, @@ -683,28 +702,28 @@ "SourceUnit": 48, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/ERC20Extending.sol", "file": "./ERC20Extending.sol", - "scope": 416, + "scope": 418, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 328, + "id": 339, "name": "ImportDirective", "src": "28:30:5" }, { "attributes": { - "SourceUnit": 750, + "SourceUnit": 774, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/StreamityCrowdsale.sol", "file": "./StreamityCrowdsale.sol", - "scope": 416, + "scope": 418, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 329, + "id": 340, "name": "ImportDirective", "src": "60:34:5" }, @@ -712,24 +731,24 @@ "attributes": { "contractDependencies": [ 47, - 230, 160, - 749, - 1307 + 241, + 773, + 1331 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "linearizedBaseContracts": [ - 415, - 749, - 230, + 417, + 773, + 241, 47, - 1307, + 1331, 160 ], "name": "StreamityContract", - "scope": 416 + "scope": 418 }, "children": [ { @@ -746,12 +765,12 @@ "referencedDeclaration": 47, "type": "contract ERC20Extending" }, - "id": 330, + "id": 341, "name": "UserDefinedTypeName", "src": "128:14:5" } ], - "id": 331, + "id": 342, "name": "InheritanceSpecifier", "src": "128:14:5" }, @@ -766,15 +785,15 @@ "attributes": { "contractScope": null, "name": "StreamityCrowdsale", - "referencedDeclaration": 749, + "referencedDeclaration": 773, "type": "contract StreamityCrowdsale" }, - "id": 332, + "id": 343, "name": "UserDefinedTypeName", "src": "144:18:5" } ], - "id": 333, + "id": 344, "name": "InheritanceSpecifier", "src": "144:18:5" }, @@ -784,10 +803,10 @@ "attributes": { "contractScope": null, "name": "SafeMath", - "referencedDeclaration": 325, + "referencedDeclaration": 336, "type": "library SafeMath" }, - "id": 334, + "id": 345, "name": "UserDefinedTypeName", "src": "177:8:5" }, @@ -796,12 +815,12 @@ "name": "uint", "type": "uint256" }, - "id": 335, + "id": 346, "name": "ElementaryTypeName", "src": "190:4:5" } ], - "id": 336, + "id": 347, "name": "UsingForDirective", "src": "171:24:5" }, @@ -809,7 +828,7 @@ "attributes": { "constant": false, "name": "weisRaised", - "scope": 415, + "scope": 417, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -822,12 +841,12 @@ "name": "uint", "type": "uint256" }, - "id": 337, + "id": 348, "name": "ElementaryTypeName", "src": "203:4:5" } ], - "id": 338, + "id": 349, "name": "VariableDeclaration", "src": "203:22:5" }, @@ -838,7 +857,7 @@ "isConstructor": true, "name": "StreamityContract", "payable": false, - "scope": 415, + "scope": 417, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -851,9 +870,9 @@ ] }, "children": [], - "id": 339, + "id": 350, "name": "ParameterList", - "src": "302:2:5" + "src": "342:2:5" }, { "attributes": { @@ -862,9 +881,9 @@ ] }, "children": [], - "id": 345, + "id": 356, "name": "ParameterList", - "src": "354:0:5" + "src": "394:0:5" }, { "children": [ @@ -874,30 +893,30 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1307, + "referencedDeclaration": 1331, "type": "type(contract TokenERC20)", "value": "TokenERC20" }, - "id": 340, + "id": 351, "name": "Identifier", - "src": "312:10:5" + "src": "352:10:5" }, { "attributes": { "argumentTypes": null, - "hexvalue": "313330303030303030", + "hexvalue": "313830303030303030", "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "subdenomination": null, "token": "number", - "type": "int_const 130000000", - "value": "130000000" + "type": "int_const 180000000", + "value": "180000000" }, - "id": 341, + "id": 352, "name": "Literal", - "src": "323:9:5" + "src": "363:9:5" }, { "attributes": { @@ -912,9 +931,9 @@ "type": "literal_string \"Streamity\"", "value": "Streamity" }, - "id": 342, + "id": 353, "name": "Literal", - "src": "334:11:5" + "src": "374:11:5" }, { "attributes": { @@ -929,14 +948,14 @@ "type": "literal_string \"STM\"", "value": "STM" }, - "id": 343, + "id": 354, "name": "Literal", - "src": "347:5:5" + "src": "387:5:5" } ], - "id": 344, + "id": 355, "name": "ModifierInvocation", - "src": "312:41:5" + "src": "352:41:5" }, { "attributes": { @@ -945,14 +964,14 @@ ] }, "children": [], - "id": 346, + "id": 357, "name": "Block", - "src": "354:2:5" + "src": "394:2:5" } ], - "id": 347, + "id": 358, "name": "FunctionDefinition", - "src": "276:80:5" + "src": "316:80:5" }, { "attributes": { @@ -964,7 +983,7 @@ ], "name": "", "payable": true, - "scope": 415, + "scope": 417, "stateMutability": "payable", "superFunction": null, "visibility": "public" @@ -977,9 +996,9 @@ ] }, "children": [], - "id": 348, + "id": 359, "name": "ParameterList", - "src": "455:2:5" + "src": "495:2:5" }, { "attributes": { @@ -988,9 +1007,9 @@ ] }, "children": [], - "id": 349, + "id": 360, "name": "ParameterList", - "src": "478:0:5" + "src": "518:0:5" }, { "children": [ @@ -1022,13 +1041,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1310, + "referencedDeclaration": 1334, "type": "function (bool) pure", "value": "assert" }, - "id": 350, + "id": 361, "name": "Identifier", - "src": "489:6:5" + "src": "529:6:5" }, { "attributes": { @@ -1063,18 +1082,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 351, + "id": 362, "name": "Identifier", - "src": "496:3:5" + "src": "536:3:5" } ], - "id": 352, + "id": 363, "name": "MemberAccess", - "src": "496:9:5" + "src": "536:9:5" }, { "attributes": { @@ -1104,9 +1123,9 @@ "type": "int_const 1000000000000000000", "value": "1" }, - "id": 353, + "id": 364, "name": "Literal", - "src": "509:7:5" + "src": "549:7:5" }, { "attributes": { @@ -1121,29 +1140,29 @@ "type": "int_const 10", "value": "10" }, - "id": 354, + "id": 365, "name": "Literal", - "src": "519:2:5" + "src": "559:2:5" } ], - "id": 355, + "id": 366, "name": "BinaryOperation", - "src": "509:12:5" + "src": "549:12:5" } ], - "id": 356, + "id": 367, "name": "BinaryOperation", - "src": "496:25:5" + "src": "536:25:5" } ], - "id": 357, + "id": 368, "name": "FunctionCall", - "src": "489:33:5" + "src": "529:33:5" } ], - "id": 358, + "id": 369, "name": "ExpressionStatement", - "src": "489:33:5" + "src": "529:33:5" }, { "children": [ @@ -1173,13 +1192,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 359, + "id": 370, "name": "Identifier", - "src": "533:7:5" + "src": "573:7:5" }, { "attributes": { @@ -1202,13 +1221,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1321, + "referencedDeclaration": 1345, "type": "uint256", "value": "now" }, - "id": 360, + "id": 371, "name": "Identifier", - "src": "541:3:5" + "src": "581:3:5" }, { "attributes": { @@ -1218,7 +1237,7 @@ "isPure": false, "lValueRequested": false, "member_name": "startDate", - "referencedDeclaration": 435, + "referencedDeclaration": 437, "type": "uint256" }, "children": [ @@ -1228,51 +1247,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 446, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 361, + "id": 372, "name": "Identifier", - "src": "548:3:5" + "src": "588:3:5" } ], - "id": 362, + "id": 373, "name": "MemberAccess", - "src": "548:13:5" + "src": "588:13:5" } ], - "id": 363, + "id": 374, "name": "BinaryOperation", - "src": "541:20:5" + "src": "581:20:5" } ], - "id": 364, + "id": 375, "name": "FunctionCall", - "src": "533:29:5" + "src": "573:29:5" } ], - "id": 365, + "id": 376, "name": "ExpressionStatement", - "src": "533:29:5" + "src": "573:29:5" }, { - "attributes": { - "falseBody": null - }, "children": [ { "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" }, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "operator": ">", + "operator": "==", "type": "bool" }, "children": [ @@ -1282,49 +1298,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1321, - "type": "uint256", - "value": "now" + "referencedDeclaration": 172, + "type": "bool", + "value": "paused" }, - "id": 366, + "id": 377, "name": "Identifier", - "src": "579:3:5" + "src": "619:6:5" }, { "attributes": { "argumentTypes": null, + "hexvalue": "66616c7365", "isConstant": false, - "isLValue": true, - "isPure": false, + "isLValue": false, + "isPure": true, "lValueRequested": false, - "member_name": "endDate", - "referencedDeclaration": 437, - "type": "uint256" + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "false" }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 444, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" - }, - "id": 367, - "name": "Identifier", - "src": "585:3:5" - } - ], - "id": 368, - "name": "MemberAccess", - "src": "585:11:5" + "id": 378, + "name": "Literal", + "src": "629:5:5" } ], - "id": 369, + "id": 379, "name": "BinaryOperation", - "src": "579:17:5" + "src": "619:15:5" }, { "children": [ @@ -1333,9 +1335,6 @@ { "attributes": { "argumentTypes": null, - "arguments": [ - null - ], "isConstant": false, "isLValue": false, "isPure": false, @@ -1351,28 +1350,97 @@ { "attributes": { "argumentTypes": [ - null + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 216, - "type": "function ()", - "value": "pauseInternal" + "referencedDeclaration": 688, + "type": "function (address,uint256)", + "value": "sell" }, - "id": 370, + "id": 380, "name": "Identifier", - "src": "613:13:5" + "src": "651:4:5" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "referencedDeclaration": null, + "type": "address" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 1343, + "type": "msg", + "value": "msg" + }, + "id": 381, + "name": "Identifier", + "src": "656:3:5" + } + ], + "id": 382, + "name": "MemberAccess", + "src": "656:10:5" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "value", + "referencedDeclaration": null, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 1343, + "type": "msg", + "value": "msg" + }, + "id": 383, + "name": "Identifier", + "src": "668:3:5" + } + ], + "id": 384, + "name": "MemberAccess", + "src": "668:9:5" } ], - "id": 371, + "id": 385, "name": "FunctionCall", - "src": "613:15:5" + "src": "651:27:5" } ], - "id": 372, + "id": 386, "name": "ExpressionStatement", - "src": "613:15:5" + "src": "651:27:5" }, { "children": [ @@ -1382,40 +1450,28 @@ "isConstant": false, "isLValue": false, "isPure": false, - "isStructConstructorCall": false, "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false + "operator": "=", + "type": "uint256" }, "children": [ { "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], + "argumentTypes": null, "overloadedDeclarations": [ null ], - "referencedDeclaration": 431, - "type": "function (string memory)", - "value": "CrowdSaleFinished" + "referencedDeclaration": 349, + "type": "uint256", + "value": "weisRaised" }, - "id": 373, + "id": 387, "name": "Identifier", - "src": "643:17:5" + "src": "693:10:5" }, { "attributes": { "argumentTypes": null, - "arguments": [ - null - ], "isConstant": false, "isLValue": false, "isPure": false, @@ -1424,110 +1480,96 @@ "names": [ null ], - "type": "string memory", + "type": "uint256", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } ], - "referencedDeclaration": 521, - "type": "function () view returns (string memory)", - "value": "crowdSaleStatus" + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "add", + "referencedDeclaration": 335, + "type": "function (uint256,uint256) pure returns (uint256)" }, - "id": 374, - "name": "Identifier", - "src": "661:15:5" + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 349, + "type": "uint256", + "value": "weisRaised" + }, + "id": 388, + "name": "Identifier", + "src": "706:10:5" + } + ], + "id": 389, + "name": "MemberAccess", + "src": "706:14:5" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "value", + "referencedDeclaration": null, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 1343, + "type": "msg", + "value": "msg" + }, + "id": 390, + "name": "Identifier", + "src": "721:3:5" + } + ], + "id": 391, + "name": "MemberAccess", + "src": "721:9:5" } ], - "id": 375, + "id": 392, "name": "FunctionCall", - "src": "661:17:5" + "src": "706:25:5" } ], - "id": 376, - "name": "FunctionCall", - "src": "643:36:5" + "id": 393, + "name": "Assignment", + "src": "693:38:5" } ], - "id": 377, + "id": 394, "name": "ExpressionStatement", - "src": "643:36:5" - } - ], - "id": 378, - "name": "Block", - "src": "598:93:5" - } - ], - "id": 379, - "name": "IfStatement", - "src": "575:116:5" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 380, - "name": "Literal", - "src": "707:1:5" + "src": "693:38:5" }, { "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 175, - "type": "uint256", - "value": "startIcoDate" + "falseBody": null }, - "id": 381, - "name": "Identifier", - "src": "712:12:5" - } - ], - "id": 382, - "name": "BinaryOperation", - "src": "707:17:5" - }, - { - "children": [ - { "children": [ { "attributes": { @@ -1540,7 +1582,7 @@ "isLValue": false, "isPure": false, "lValueRequested": false, - "operator": "<", + "operator": ">=", "type": "bool" }, "children": [ @@ -1550,32 +1592,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1321, + "referencedDeclaration": 1345, "type": "uint256", "value": "now" }, - "id": 383, + "id": 395, "name": "Identifier", - "src": "745:3:5" + "src": "750:3:5" }, { "attributes": { "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 175, - "type": "uint256", - "value": "startIcoDate" + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "endDate", + "referencedDeclaration": 439, + "type": "uint256" }, - "id": 384, - "name": "Identifier", - "src": "751:12:5" + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 446, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 396, + "name": "Identifier", + "src": "757:3:5" + } + ], + "id": 397, + "name": "MemberAccess", + "src": "757:11:5" } ], - "id": 385, + "id": 398, "name": "BinaryOperation", - "src": "745:18:5" + "src": "750:18:5" }, { "children": [ @@ -1607,31 +1666,24 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1323, - "type": "function () pure", - "value": "revert" + "referencedDeclaration": 216, + "type": "function ()", + "value": "pauseInternal" }, - "id": 386, + "id": 399, "name": "Identifier", - "src": "784:6:5" + "src": "789:13:5" } ], - "id": 387, + "id": 400, "name": "FunctionCall", - "src": "784:8:5" + "src": "789:15:5" } ], - "id": 388, + "id": 401, "name": "ExpressionStatement", - "src": "784:8:5" - } - ], - "id": 389, - "name": "Block", - "src": "765:43:5" - }, - { - "children": [ + "src": "789:15:5" + }, { "children": [ { @@ -1640,327 +1692,175 @@ "isConstant": false, "isLValue": false, "isPure": false, + "isStructConstructorCall": false, "lValueRequested": false, - "operator": "=", - "type": "uint256" + "names": [ + null + ], + "type": "tuple()", + "type_conversion": false }, "children": [ { "attributes": { - "argumentTypes": null, + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 175, - "type": "uint256", - "value": "startIcoDate" + "referencedDeclaration": 433, + "type": "function (string memory)", + "value": "CrowdSaleFinished" }, - "id": 390, + "id": 402, "name": "Identifier", - "src": "833:12:5" + "src": "823:17:5" }, { "attributes": { "argumentTypes": null, - "hexvalue": "30", + "arguments": [ + null + ], "isConstant": false, "isLValue": false, - "isPure": true, + "isPure": false, + "isStructConstructorCall": false, "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" + "names": [ + null + ], + "type": "string memory", + "type_conversion": false }, - "id": 391, - "name": "Literal", - "src": "848:1:5" + "children": [ + { + "attributes": { + "argumentTypes": [ + null + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 549, + "type": "function () view returns (string memory)", + "value": "crowdSaleStatus" + }, + "id": 403, + "name": "Identifier", + "src": "841:15:5" + } + ], + "id": 404, + "name": "FunctionCall", + "src": "841:17:5" } ], - "id": 392, - "name": "Assignment", - "src": "833:16:5" + "id": 405, + "name": "FunctionCall", + "src": "823:36:5" } ], - "id": 393, + "id": 406, "name": "ExpressionStatement", - "src": "833:16:5" + "src": "823:36:5" } ], - "id": 394, + "id": 407, "name": "Block", - "src": "814:51:5" + "src": "770:105:5" } ], - "id": 395, + "id": 408, "name": "IfStatement", - "src": "741:124:5" + "src": "746:129:5" } ], - "id": 396, + "id": 409, "name": "Block", - "src": "726:150:5" - } - ], - "id": 397, - "name": "IfStatement", - "src": "703:173:5" - }, - { - "children": [ + "src": "636:250:5" + }, { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, "children": [ { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 660, - "type": "function (address,uint256)", - "value": "sell" - }, - "id": 398, - "name": "Identifier", - "src": "888:4:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1319, - "type": "msg", - "value": "msg" - }, - "id": 399, - "name": "Identifier", - "src": "893:3:5" - } - ], - "id": 400, - "name": "MemberAccess", - "src": "893:10:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, "children": [ { "attributes": { "argumentTypes": null, - "overloadedDeclarations": [ + "arguments": [ null ], - "referencedDeclaration": 1319, - "type": "msg", - "value": "msg" - }, - "id": 401, - "name": "Identifier", - "src": "905:3:5" - } - ], - "id": 402, - "name": "MemberAccess", - "src": "905:9:5" - } - ], - "id": 403, - "name": "FunctionCall", - "src": "888:27:5" - } - ], - "id": 404, - "name": "ExpressionStatement", - "src": "888:27:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 338, - "type": "uint256", - "value": "weisRaised" - }, - "id": 405, - "name": "Identifier", - "src": "928:10:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], "isConstant": false, "isLValue": false, "isPure": false, + "isStructConstructorCall": false, "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 324, - "type": "function (uint256,uint256) pure returns (uint256)" + "names": [ + null + ], + "type": "tuple()", + "type_conversion": false }, "children": [ { "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ + "argumentTypes": [ null ], - "referencedDeclaration": 338, - "type": "uint256", - "value": "weisRaised" - }, - "id": 406, - "name": "Identifier", - "src": "941:10:5" - } - ], - "id": 407, - "name": "MemberAccess", - "src": "941:14:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, - "type": "msg", - "value": "msg" + "referencedDeclaration": 1347, + "type": "function () pure", + "value": "revert" }, - "id": 408, + "id": 410, "name": "Identifier", - "src": "956:3:5" + "src": "907:6:5" } ], - "id": 409, - "name": "MemberAccess", - "src": "956:9:5" + "id": 411, + "name": "FunctionCall", + "src": "907:8:5" } ], - "id": 410, - "name": "FunctionCall", - "src": "941:25:5" + "id": 412, + "name": "ExpressionStatement", + "src": "907:8:5" } ], - "id": 411, - "name": "Assignment", - "src": "928:38:5" + "id": 413, + "name": "Block", + "src": "892:35:5" } ], - "id": 412, - "name": "ExpressionStatement", - "src": "928:38:5" + "id": 414, + "name": "IfStatement", + "src": "615:312:5" } ], - "id": 413, + "id": 415, "name": "Block", - "src": "478:496:5" + "src": "518:416:5" } ], - "id": 414, + "id": 416, "name": "FunctionDefinition", - "src": "446:528:5" + "src": "486:448:5" } ], - "id": 415, + "id": 417, "name": "ContractDefinition", - "src": "98:879:5" + "src": "98:839:5" } ], - "id": 416, + "id": 418, "name": "SourceUnit", - "src": "0:979:5" + "src": "0:939:5" }, "compiler": { "name": "solc", @@ -1968,5 +1868,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-12T17:32:23.392Z" + "updatedAt": "2017-12-20T21:19:00.179Z" } \ No newline at end of file diff --git a/build/contracts/StreamityCrowdsale.json b/build/contracts/StreamityCrowdsale.json index a123599..305a140 100644 --- a/build/contracts/StreamityCrowdsale.json +++ b/build/contracts/StreamityCrowdsale.json @@ -453,6 +453,25 @@ "stateMutability": "view", "type": "function" }, + { + "constant": false, + "inputs": [ + { + "name": "_discount", + "type": "uint8" + } + ], + "name": "changeDiscount", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, { "constant": false, "inputs": [ @@ -592,14 +611,14 @@ "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./SafeMath.sol\";\r\nimport \"./Pauseble.sol\";\r\n\r\ncontract StreamityCrowdsale is Pauseble\r\n{\r\n using SafeMath for uint;\r\n\r\n uint public stage = 0;\r\n\r\n event CrowdSaleFinished(string info);\r\n\r\n struct Ico {\r\n uint256 tokens; // Tokens in crowdsale\r\n uint startDate; // Date when crowsale will be starting, after its starting that property will be the 0\r\n uint endDate; // Date when crowdsale will be stop\r\n uint8 discount; // Discount\r\n uint8 discountFirstDayICO; // Discount. Only for first stage ico\r\n }\r\n\r\n Ico public ICO;\r\n\r\n /**\r\n * Expanding of the functionality\r\n *\r\n * @param _numerator - Numerator - value (10000)\r\n * @param _denominator - Denominator - value (10000)\r\n *\r\n * example: price 1000 tokens by 1 ether = changeRate(1, 1000)\r\n */\r\n function changeRate(uint256 _numerator, uint256 _denominator) public onlyOwner\r\n returns (bool success)\r\n {\r\n if (_numerator == 0) _numerator = 1;\r\n if (_denominator == 0) _denominator = 1;\r\n\r\n buyPrice = (_numerator.mul(DEC)).div(_denominator);\r\n\r\n return true;\r\n }\r\n\r\n /*\r\n * Function show in contract what is now\r\n *\r\n */\r\n function crowdSaleStatus() internal constant\r\n returns (string)\r\n {\r\n if (1 == stage) {\r\n return \"Pre-ICO\";\r\n } else if(2 == stage) {\r\n return \"ICO first stage\";\r\n } else if (3 == stage) {\r\n return \"ICO second stage\";\r\n } else if (4 >= stage) {\r\n return \"feature stage\";\r\n }\r\n\r\n return \"there is no stage at present\";\r\n }\r\n\r\n /*\r\n * Function for selling tokens in crowd time.\r\n *\r\n */\r\n function sell(address _investor, uint256 amount) internal\r\n {\r\n uint256 _amount = (amount.mul(DEC)).div(buyPrice);\r\n\r\n if (1 == stage) {\r\n _amount = _amount.add(withDiscount(_amount, ICO.discount));\r\n }\r\n else if (2 == stage)\r\n {\r\n if (now <= ICO.startDate + 1 days)\r\n {\r\n if (0 == ICO.discountFirstDayICO) {\r\n ICO.discountFirstDayICO = 20;\r\n }\r\n\r\n _amount = _amount.add(withDiscount(_amount, ICO.discountFirstDayICO));\r\n } else {\r\n _amount = _amount.add(withDiscount(_amount, ICO.discount));\r\n }\r\n } else if (3 == stage) {\r\n _amount = _amount.add(withDiscount(_amount, ICO.discount));\r\n }\r\n\r\n if (ICO.tokens < _amount)\r\n {\r\n CrowdSaleFinished(crowdSaleStatus());\r\n pauseInternal();\r\n\r\n revert();\r\n }\r\n\r\n ICO.tokens = ICO.tokens.sub(_amount);\r\n avaliableSupply = avaliableSupply.sub(_amount);\r\n\r\n _transfer(this, _investor, _amount);\r\n }\r\n\r\n /*\r\n * Function for start crowdsale (any)\r\n *\r\n * @param _tokens - How much tokens will have the crowdsale - amount humanlike value (10000)\r\n * @param _startDate - When crowdsale will be start - unix timestamp (1512231703 )\r\n * @param _endDate - When crowdsale will be end - humanlike value (7) same as 7 days\r\n * @param _discount - Discount for the crowd - humanlive value (7) same as 7 %\r\n * @param _discount - Discount for the crowds first day - humanlive value (7) same as 7 %\r\n */\r\n function startCrowd(uint256 _tokens, uint _startDate, uint _endDate, uint8 _discount, uint8 _discountFirstDayICO) public onlyOwner\r\n {\r\n require(_tokens * DEC <= avaliableSupply); // require to set correct tokens value for crowd\r\n startIcoDate = _startDate;\r\n ICO = Ico (_tokens * DEC, _startDate, _startDate + _endDate * 1 days , _discount, _discountFirstDayICO);\r\n stage = stage.add(1);\r\n unpause();\r\n }\r\n\r\n /**\r\n * Function for web3js, should be call when somebody will buy tokens from website. This function only delegator.\r\n *\r\n * @param _investor - address of investor (who payed)\r\n * @param _amount - ethereum\r\n */\r\n function transferWeb3js(address _investor, uint256 _amount) external onlyOwner\r\n {\r\n sell(_investor, _amount);\r\n }\r\n\r\n /**\r\n * Function for adding discount\r\n *\r\n */\r\n function withDiscount(uint256 _amount, uint _percent) internal pure\r\n returns (uint256)\r\n {\r\n return (_amount.mul(_percent)).div(100);\r\n }\r\n}\r\n", + "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./SafeMath.sol\";\r\nimport \"./Pauseble.sol\";\r\n\r\ncontract StreamityCrowdsale is Pauseble\r\n{\r\n using SafeMath for uint;\r\n\r\n uint public stage = 0;\r\n\r\n event CrowdSaleFinished(string info);\r\n\r\n struct Ico {\r\n uint256 tokens; // Tokens in crowdsale\r\n uint startDate; // Date when crowsale will be starting, after its starting that property will be the 0\r\n uint endDate; // Date when crowdsale will be stop\r\n uint8 discount; // Discount\r\n uint8 discountFirstDayICO; // Discount. Only for first stage ico\r\n }\r\n\r\n Ico public ICO;\r\n\r\n /**\r\n * Function for change discount if need\r\n *\r\n */\r\n function changeDiscount(uint8 _discount) public onlyOwner\r\n returns (bool)\r\n {\r\n ICO = Ico (ICO.tokens, ICO.startDate, ICO.endDate, _discount, ICO.discountFirstDayICO);\r\n return true;\r\n }\r\n\r\n /**\r\n * Expanding of the functionality\r\n *\r\n * @param _numerator - Numerator - value (10000)\r\n * @param _denominator - Denominator - value (10000)\r\n *\r\n * example: price 1000 tokens by 1 ether = changeRate(1, 1000)\r\n */\r\n function changeRate(uint256 _numerator, uint256 _denominator) public onlyOwner\r\n returns (bool success)\r\n {\r\n if (_numerator == 0) _numerator = 1;\r\n if (_denominator == 0) _denominator = 1;\r\n\r\n buyPrice = (_numerator.mul(DEC)).div(_denominator);\r\n\r\n return true;\r\n }\r\n\r\n /*\r\n * Function show in contract what is now\r\n *\r\n */\r\n function crowdSaleStatus() internal constant\r\n returns (string)\r\n {\r\n if (1 == stage) {\r\n return \"Pre-ICO\";\r\n } else if(2 == stage) {\r\n return \"ICO first stage\";\r\n } else if (3 == stage) {\r\n return \"ICO second stage\";\r\n } else if (4 >= stage) {\r\n return \"feature stage\";\r\n }\r\n\r\n return \"there is no stage at present\";\r\n }\r\n\r\n /*\r\n * Function for selling tokens in crowd time.\r\n *\r\n */\r\n function sell(address _investor, uint256 amount) internal\r\n {\r\n uint256 _amount = (amount.mul(DEC)).div(buyPrice);\r\n\r\n if (1 == stage) {\r\n _amount = _amount.add(withDiscount(_amount, ICO.discount));\r\n }\r\n else if (2 == stage)\r\n {\r\n if (now <= ICO.startDate + 1 days)\r\n {\r\n if (0 == ICO.discountFirstDayICO) {\r\n ICO.discountFirstDayICO = 20;\r\n }\r\n\r\n _amount = _amount.add(withDiscount(_amount, ICO.discountFirstDayICO));\r\n } else {\r\n _amount = _amount.add(withDiscount(_amount, ICO.discount));\r\n }\r\n } else if (3 == stage) {\r\n _amount = _amount.add(withDiscount(_amount, ICO.discount));\r\n }\r\n\r\n if (ICO.tokens < _amount)\r\n {\r\n CrowdSaleFinished(crowdSaleStatus());\r\n pauseInternal();\r\n\r\n revert();\r\n }\r\n\r\n ICO.tokens = ICO.tokens.sub(_amount);\r\n avaliableSupply = avaliableSupply.sub(_amount);\r\n\r\n _transfer(this, _investor, _amount);\r\n }\r\n\r\n /*\r\n * Function for start crowdsale (any)\r\n *\r\n * @param _tokens - How much tokens will have the crowdsale - amount humanlike value (10000)\r\n * @param _startDate - When crowdsale will be start - unix timestamp (1512231703 )\r\n * @param _endDate - When crowdsale will be end - humanlike value (7) same as 7 days\r\n * @param _discount - Discount for the crowd - humanlive value (7) same as 7 %\r\n * @param _discount - Discount for the crowds first day - humanlive value (7) same as 7 %\r\n */\r\n function startCrowd(uint256 _tokens, uint _startDate, uint _endDate, uint8 _discount, uint8 _discountFirstDayICO) public onlyOwner\r\n {\r\n require(_tokens * DEC <= avaliableSupply); // require to set correct tokens value for crowd\r\n ICO = Ico (_tokens * DEC, _startDate, _startDate + _endDate * 1 days , _discount, _discountFirstDayICO);\r\n stage = stage.add(1);\r\n unpauseInternal();\r\n }\r\n\r\n /**\r\n * Function for web3js, should be call when somebody will buy tokens from website. This function only delegator.\r\n *\r\n * @param _investor - address of investor (who payed)\r\n * @param _amount - ethereum\r\n */\r\n function transferWeb3js(address _investor, uint256 _amount) external onlyOwner\r\n {\r\n sell(_investor, _amount);\r\n }\r\n\r\n /**\r\n * Function for adding discount\r\n *\r\n */\r\n function withDiscount(uint256 _amount, uint _percent) internal pure\r\n returns (uint256)\r\n {\r\n return (_amount.mul(_percent)).div(100);\r\n }\r\n}\r\n", "sourcePath": "C:\\Users\\pirno\\Desktop\\stm-smartcontract origina\\contracts\\StreamityCrowdsale.sol", "ast": { "attributes": { "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/StreamityCrowdsale.sol", "exportedSymbols": { "StreamityCrowdsale": [ - 749 + 773 ] } }, @@ -613,58 +632,58 @@ ".18" ] }, - "id": 417, + "id": 419, "name": "PragmaDirective", "src": "0:24:6" }, { "attributes": { - "SourceUnit": 326, + "SourceUnit": 337, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/SafeMath.sol", "file": "./SafeMath.sol", - "scope": 750, + "scope": 774, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 418, + "id": 420, "name": "ImportDirective", "src": "28:24:6" }, { "attributes": { - "SourceUnit": 231, + "SourceUnit": 242, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/Pauseble.sol", "file": "./Pauseble.sol", - "scope": 750, + "scope": 774, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 419, + "id": 421, "name": "ImportDirective", "src": "54:24:6" }, { "attributes": { "contractDependencies": [ - 230, 160, - 1307 + 241, + 1331 ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ - 749, - 230, - 1307, + 773, + 241, + 1331, 160 ], "name": "StreamityCrowdsale", - "scope": 750 + "scope": 774 }, "children": [ { @@ -678,15 +697,15 @@ "attributes": { "contractScope": null, "name": "Pauseble", - "referencedDeclaration": 230, + "referencedDeclaration": 241, "type": "contract Pauseble" }, - "id": 420, + "id": 422, "name": "UserDefinedTypeName", "src": "113:8:6" } ], - "id": 421, + "id": 423, "name": "InheritanceSpecifier", "src": "113:8:6" }, @@ -696,10 +715,10 @@ "attributes": { "contractScope": null, "name": "SafeMath", - "referencedDeclaration": 325, + "referencedDeclaration": 336, "type": "library SafeMath" }, - "id": 422, + "id": 424, "name": "UserDefinedTypeName", "src": "136:8:6" }, @@ -708,12 +727,12 @@ "name": "uint", "type": "uint256" }, - "id": 423, + "id": 425, "name": "ElementaryTypeName", "src": "149:4:6" } ], - "id": 424, + "id": 426, "name": "UsingForDirective", "src": "130:24:6" }, @@ -721,7 +740,7 @@ "attributes": { "constant": false, "name": "stage", - "scope": 749, + "scope": 773, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -733,7 +752,7 @@ "name": "uint", "type": "uint256" }, - "id": 425, + "id": 427, "name": "ElementaryTypeName", "src": "162:4:6" }, @@ -750,12 +769,12 @@ "type": "int_const 0", "value": "0" }, - "id": 426, + "id": 428, "name": "Literal", "src": "182:1:6" } ], - "id": 427, + "id": 429, "name": "VariableDeclaration", "src": "162:21:6" }, @@ -772,7 +791,7 @@ "constant": false, "indexed": false, "name": "info", - "scope": 431, + "scope": 433, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -785,22 +804,22 @@ "name": "string", "type": "string storage pointer" }, - "id": 428, + "id": 430, "name": "ElementaryTypeName", "src": "216:6:6" } ], - "id": 429, + "id": 431, "name": "VariableDeclaration", "src": "216:11:6" } ], - "id": 430, + "id": 432, "name": "ParameterList", "src": "215:13:6" } ], - "id": 431, + "id": 433, "name": "EventDefinition", "src": "192:37:6" }, @@ -808,7 +827,7 @@ "attributes": { "canonicalName": "StreamityCrowdsale.Ico", "name": "Ico", - "scope": 749, + "scope": 773, "visibility": "public" }, "children": [ @@ -816,7 +835,7 @@ "attributes": { "constant": false, "name": "tokens", - "scope": 442, + "scope": 444, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -829,12 +848,12 @@ "name": "uint256", "type": "uint256" }, - "id": 432, + "id": 434, "name": "ElementaryTypeName", "src": "259:7:6" } ], - "id": 433, + "id": 435, "name": "VariableDeclaration", "src": "259:14:6" }, @@ -842,7 +861,7 @@ "attributes": { "constant": false, "name": "startDate", - "scope": 442, + "scope": 444, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -855,12 +874,12 @@ "name": "uint", "type": "uint256" }, - "id": 434, + "id": 436, "name": "ElementaryTypeName", "src": "319:4:6" } ], - "id": 435, + "id": 437, "name": "VariableDeclaration", "src": "319:14:6" }, @@ -868,7 +887,7 @@ "attributes": { "constant": false, "name": "endDate", - "scope": 442, + "scope": 444, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -881,12 +900,12 @@ "name": "uint", "type": "uint256" }, - "id": 436, + "id": 438, "name": "ElementaryTypeName", "src": "443:4:6" } ], - "id": 437, + "id": 439, "name": "VariableDeclaration", "src": "443:12:6" }, @@ -894,7 +913,7 @@ "attributes": { "constant": false, "name": "discount", - "scope": 442, + "scope": 444, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -907,12 +926,12 @@ "name": "uint8", "type": "uint8" }, - "id": 438, + "id": 440, "name": "ElementaryTypeName", "src": "516:5:6" } ], - "id": 439, + "id": 441, "name": "VariableDeclaration", "src": "516:14:6" }, @@ -920,7 +939,7 @@ "attributes": { "constant": false, "name": "discountFirstDayICO", - "scope": 442, + "scope": 444, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -933,17 +952,17 @@ "name": "uint8", "type": "uint8" }, - "id": 440, + "id": 442, "name": "ElementaryTypeName", "src": "565:5:6" } ], - "id": 441, + "id": 443, "name": "VariableDeclaration", "src": "565:25:6" } ], - "id": 442, + "id": 444, "name": "StructDefinition", "src": "237:400:6" }, @@ -951,7 +970,7 @@ "attributes": { "constant": false, "name": "ICO", - "scope": 749, + "scope": 773, "stateVariable": true, "storageLocation": "default", "type": "struct StreamityCrowdsale.Ico storage ref", @@ -963,18 +982,392 @@ "attributes": { "contractScope": null, "name": "Ico", - "referencedDeclaration": 442, + "referencedDeclaration": 444, "type": "struct StreamityCrowdsale.Ico storage pointer" }, - "id": 443, + "id": 445, "name": "UserDefinedTypeName", "src": "645:3:6" } ], - "id": 444, + "id": 446, "name": "VariableDeclaration", "src": "645:14:6" }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "name": "changeDiscount", + "payable": false, + "scope": 773, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "_discount", + "scope": 472, + "stateVariable": false, + "storageLocation": "default", + "type": "uint8", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint8", + "type": "uint8" + }, + "id": 447, + "name": "ElementaryTypeName", + "src": "760:5:6" + } + ], + "id": 448, + "name": "VariableDeclaration", + "src": "760:15:6" + } + ], + "id": 449, + "name": "ParameterList", + "src": "759:17:6" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 472, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 452, + "name": "ElementaryTypeName", + "src": "812:4:6" + } + ], + "id": 453, + "name": "VariableDeclaration", + "src": "812:4:6" + } + ], + "id": 454, + "name": "ParameterList", + "src": "811:6:6" + }, + { + "attributes": { + "arguments": [ + null + ] + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 134, + "type": "modifier ()", + "value": "onlyOwner" + }, + "id": 450, + "name": "Identifier", + "src": "784:9:6" + } + ], + "id": 451, + "name": "ModifierInvocation", + "src": "784:9:6" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "struct StreamityCrowdsale.Ico storage ref" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 446, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 455, + "name": "Identifier", + "src": "834:3:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": true, + "lValueRequested": false, + "names": [ + null + ], + "type": "struct StreamityCrowdsale.Ico memory", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 444, + "type": "type(struct StreamityCrowdsale.Ico storage pointer)", + "value": "Ico" + }, + "id": 456, + "name": "Identifier", + "src": "840:3:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "tokens", + "referencedDeclaration": 435, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 446, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 457, + "name": "Identifier", + "src": "845:3:6" + } + ], + "id": 458, + "name": "MemberAccess", + "src": "845:10:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "startDate", + "referencedDeclaration": 437, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 446, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 459, + "name": "Identifier", + "src": "857:3:6" + } + ], + "id": 460, + "name": "MemberAccess", + "src": "857:13:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "endDate", + "referencedDeclaration": 439, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 446, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 461, + "name": "Identifier", + "src": "872:3:6" + } + ], + "id": 462, + "name": "MemberAccess", + "src": "872:11:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 448, + "type": "uint8", + "value": "_discount" + }, + "id": 463, + "name": "Identifier", + "src": "885:9:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "discountFirstDayICO", + "referencedDeclaration": 443, + "type": "uint8" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 446, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 464, + "name": "Identifier", + "src": "896:3:6" + } + ], + "id": 465, + "name": "MemberAccess", + "src": "896:23:6" + } + ], + "id": 466, + "name": "FunctionCall", + "src": "840:80:6" + } + ], + "id": 467, + "name": "Assignment", + "src": "834:86:6" + } + ], + "id": 468, + "name": "ExpressionStatement", + "src": "834:86:6" + }, + { + "attributes": { + "functionReturnParameters": 454 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 469, + "name": "Literal", + "src": "938:4:6" + } + ], + "id": 470, + "name": "Return", + "src": "931:11:6" + } + ], + "id": 471, + "name": "Block", + "src": "823:127:6" + } + ], + "id": 472, + "name": "FunctionDefinition", + "src": "736:214:6" + }, { "attributes": { "constant": false, @@ -982,7 +1375,7 @@ "isConstructor": false, "name": "changeRate", "payable": false, - "scope": 749, + "scope": 773, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -994,7 +1387,7 @@ "attributes": { "constant": false, "name": "_numerator", - "scope": 485, + "scope": 513, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1007,20 +1400,20 @@ "name": "uint256", "type": "uint256" }, - "id": 445, + "id": 473, "name": "ElementaryTypeName", - "src": "934:7:6" + "src": "1224:7:6" } ], - "id": 446, + "id": 474, "name": "VariableDeclaration", - "src": "934:18:6" + "src": "1224:18:6" }, { "attributes": { "constant": false, "name": "_denominator", - "scope": 485, + "scope": 513, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1033,19 +1426,19 @@ "name": "uint256", "type": "uint256" }, - "id": 447, + "id": 475, "name": "ElementaryTypeName", - "src": "954:7:6" + "src": "1244:7:6" } ], - "id": 448, + "id": 476, "name": "VariableDeclaration", - "src": "954:20:6" + "src": "1244:20:6" } ], - "id": 449, + "id": 477, "name": "ParameterList", - "src": "933:42:6" + "src": "1223:42:6" }, { "children": [ @@ -1053,7 +1446,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 485, + "scope": 513, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -1066,19 +1459,19 @@ "name": "bool", "type": "bool" }, - "id": 452, + "id": 480, "name": "ElementaryTypeName", - "src": "1011:4:6" + "src": "1301:4:6" } ], - "id": 453, + "id": 481, "name": "VariableDeclaration", - "src": "1011:12:6" + "src": "1301:12:6" } ], - "id": 454, + "id": 482, "name": "ParameterList", - "src": "1010:14:6" + "src": "1300:14:6" }, { "attributes": { @@ -1097,14 +1490,14 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 450, + "id": 478, "name": "Identifier", - "src": "983:9:6" + "src": "1273:9:6" } ], - "id": 451, + "id": 479, "name": "ModifierInvocation", - "src": "983:9:6" + "src": "1273:9:6" }, { "children": [ @@ -1134,13 +1527,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 446, + "referencedDeclaration": 474, "type": "uint256", "value": "_numerator" }, - "id": 455, + "id": 483, "name": "Identifier", - "src": "1045:10:6" + "src": "1335:10:6" }, { "attributes": { @@ -1155,14 +1548,14 @@ "type": "int_const 0", "value": "0" }, - "id": 456, + "id": 484, "name": "Literal", - "src": "1059:1:6" + "src": "1349:1:6" } ], - "id": 457, + "id": 485, "name": "BinaryOperation", - "src": "1045:15:6" + "src": "1335:15:6" }, { "children": [ @@ -1183,13 +1576,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 446, + "referencedDeclaration": 474, "type": "uint256", "value": "_numerator" }, - "id": 458, + "id": 486, "name": "Identifier", - "src": "1062:10:6" + "src": "1352:10:6" }, { "attributes": { @@ -1204,24 +1597,24 @@ "type": "int_const 1", "value": "1" }, - "id": 459, + "id": 487, "name": "Literal", - "src": "1075:1:6" + "src": "1365:1:6" } ], - "id": 460, + "id": 488, "name": "Assignment", - "src": "1062:14:6" + "src": "1352:14:6" } ], - "id": 461, + "id": 489, "name": "ExpressionStatement", - "src": "1062:14:6" + "src": "1352:14:6" } ], - "id": 462, + "id": 490, "name": "IfStatement", - "src": "1041:35:6" + "src": "1331:35:6" }, { "attributes": { @@ -1249,13 +1642,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 448, + "referencedDeclaration": 476, "type": "uint256", "value": "_denominator" }, - "id": 463, + "id": 491, "name": "Identifier", - "src": "1091:12:6" + "src": "1381:12:6" }, { "attributes": { @@ -1270,14 +1663,14 @@ "type": "int_const 0", "value": "0" }, - "id": 464, + "id": 492, "name": "Literal", - "src": "1107:1:6" + "src": "1397:1:6" } ], - "id": 465, + "id": 493, "name": "BinaryOperation", - "src": "1091:17:6" + "src": "1381:17:6" }, { "children": [ @@ -1298,13 +1691,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 448, + "referencedDeclaration": 476, "type": "uint256", "value": "_denominator" }, - "id": 466, + "id": 494, "name": "Identifier", - "src": "1110:12:6" + "src": "1400:12:6" }, { "attributes": { @@ -1319,24 +1712,24 @@ "type": "int_const 1", "value": "1" }, - "id": 467, + "id": 495, "name": "Literal", - "src": "1125:1:6" + "src": "1415:1:6" } ], - "id": 468, + "id": 496, "name": "Assignment", - "src": "1110:16:6" + "src": "1400:16:6" } ], - "id": 469, + "id": 497, "name": "ExpressionStatement", - "src": "1110:16:6" + "src": "1400:16:6" } ], - "id": 470, + "id": 498, "name": "IfStatement", - "src": "1087:39:6" + "src": "1377:39:6" }, { "children": [ @@ -1357,13 +1750,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 791, + "referencedDeclaration": 815, "type": "uint256", "value": "buyPrice" }, - "id": 471, + "id": 499, "name": "Identifier", - "src": "1139:8:6" + "src": "1429:8:6" }, { "attributes": { @@ -1393,7 +1786,7 @@ "isPure": false, "lValueRequested": false, "member_name": "div", - "referencedDeclaration": 280, + "referencedDeclaration": 291, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1436,7 +1829,7 @@ "isPure": false, "lValueRequested": false, "member_name": "mul", - "referencedDeclaration": 262, + "referencedDeclaration": 273, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1446,18 +1839,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 446, + "referencedDeclaration": 474, "type": "uint256", "value": "_numerator" }, - "id": 472, + "id": 500, "name": "Identifier", - "src": "1151:10:6" + "src": "1441:10:6" } ], - "id": 473, + "id": 501, "name": "MemberAccess", - "src": "1151:14:6" + "src": "1441:14:6" }, { "attributes": { @@ -1465,28 +1858,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 784, + "referencedDeclaration": 808, "type": "uint256", "value": "DEC" }, - "id": 474, + "id": 502, "name": "Identifier", - "src": "1166:3:6" + "src": "1456:3:6" } ], - "id": 475, + "id": 503, "name": "FunctionCall", - "src": "1151:19:6" + "src": "1441:19:6" } ], - "id": 476, + "id": 504, "name": "TupleExpression", - "src": "1150:21:6" + "src": "1440:21:6" } ], - "id": 477, + "id": 505, "name": "MemberAccess", - "src": "1150:25:6" + "src": "1440:25:6" }, { "attributes": { @@ -1494,32 +1887,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 448, + "referencedDeclaration": 476, "type": "uint256", "value": "_denominator" }, - "id": 478, + "id": 506, "name": "Identifier", - "src": "1176:12:6" + "src": "1466:12:6" } ], - "id": 479, + "id": 507, "name": "FunctionCall", - "src": "1150:39:6" + "src": "1440:39:6" } ], - "id": 480, + "id": 508, "name": "Assignment", - "src": "1139:50:6" + "src": "1429:50:6" } ], - "id": 481, + "id": 509, "name": "ExpressionStatement", - "src": "1139:50:6" + "src": "1429:50:6" }, { "attributes": { - "functionReturnParameters": 454 + "functionReturnParameters": 482 }, "children": [ { @@ -1535,24 +1928,24 @@ "type": "bool", "value": "true" }, - "id": 482, + "id": 510, "name": "Literal", - "src": "1209:4:6" + "src": "1499:4:6" } ], - "id": 483, + "id": 511, "name": "Return", - "src": "1202:11:6" + "src": "1492:11:6" } ], - "id": 484, + "id": 512, "name": "Block", - "src": "1030:191:6" + "src": "1320:191:6" } ], - "id": 485, + "id": 513, "name": "FunctionDefinition", - "src": "914:307:6" + "src": "1204:307:6" }, { "attributes": { @@ -1564,7 +1957,7 @@ ], "name": "crowdSaleStatus", "payable": false, - "scope": 749, + "scope": 773, "stateMutability": "view", "superFunction": null, "visibility": "internal" @@ -1577,9 +1970,9 @@ ] }, "children": [], - "id": 486, + "id": 514, "name": "ParameterList", - "src": "1321:2:6" + "src": "1611:2:6" }, { "children": [ @@ -1587,7 +1980,7 @@ "attributes": { "constant": false, "name": "", - "scope": 521, + "scope": 549, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -1600,19 +1993,19 @@ "name": "string", "type": "string storage pointer" }, - "id": 487, + "id": 515, "name": "ElementaryTypeName", - "src": "1360:6:6" + "src": "1650:6:6" } ], - "id": 488, + "id": 516, "name": "VariableDeclaration", - "src": "1360:6:6" + "src": "1650:6:6" } ], - "id": 489, + "id": 517, "name": "ParameterList", - "src": "1359:8:6" + "src": "1649:8:6" }, { "children": [ @@ -1646,9 +2039,9 @@ "type": "int_const 1", "value": "1" }, - "id": 490, + "id": 518, "name": "Literal", - "src": "1388:1:6" + "src": "1678:1:6" }, { "attributes": { @@ -1656,24 +2049,24 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 427, + "referencedDeclaration": 429, "type": "uint256", "value": "stage" }, - "id": 491, + "id": 519, "name": "Identifier", - "src": "1393:5:6" + "src": "1683:5:6" } ], - "id": 492, + "id": 520, "name": "BinaryOperation", - "src": "1388:10:6" + "src": "1678:10:6" }, { "children": [ { "attributes": { - "functionReturnParameters": 489 + "functionReturnParameters": 517 }, "children": [ { @@ -1689,19 +2082,19 @@ "type": "literal_string \"Pre-ICO\"", "value": "Pre-ICO" }, - "id": 493, + "id": 521, "name": "Literal", - "src": "1422:9:6" + "src": "1712:9:6" } ], - "id": 494, + "id": 522, "name": "Return", - "src": "1415:16:6" + "src": "1705:16:6" } ], - "id": 495, + "id": 523, "name": "Block", - "src": "1400:43:6" + "src": "1690:43:6" }, { "children": [ @@ -1733,9 +2126,9 @@ "type": "int_const 2", "value": "2" }, - "id": 496, + "id": 524, "name": "Literal", - "src": "1452:1:6" + "src": "1742:1:6" }, { "attributes": { @@ -1743,24 +2136,24 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 427, + "referencedDeclaration": 429, "type": "uint256", "value": "stage" }, - "id": 497, + "id": 525, "name": "Identifier", - "src": "1457:5:6" + "src": "1747:5:6" } ], - "id": 498, + "id": 526, "name": "BinaryOperation", - "src": "1452:10:6" + "src": "1742:10:6" }, { "children": [ { "attributes": { - "functionReturnParameters": 489 + "functionReturnParameters": 517 }, "children": [ { @@ -1776,19 +2169,19 @@ "type": "literal_string \"ICO first stage\"", "value": "ICO first stage" }, - "id": 499, + "id": 527, "name": "Literal", - "src": "1486:17:6" + "src": "1776:17:6" } ], - "id": 500, + "id": 528, "name": "Return", - "src": "1479:24:6" + "src": "1769:24:6" } ], - "id": 501, + "id": 529, "name": "Block", - "src": "1464:51:6" + "src": "1754:51:6" }, { "children": [ @@ -1820,9 +2213,9 @@ "type": "int_const 3", "value": "3" }, - "id": 502, + "id": 530, "name": "Literal", - "src": "1525:1:6" + "src": "1815:1:6" }, { "attributes": { @@ -1830,24 +2223,24 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 427, + "referencedDeclaration": 429, "type": "uint256", "value": "stage" }, - "id": 503, + "id": 531, "name": "Identifier", - "src": "1530:5:6" + "src": "1820:5:6" } ], - "id": 504, + "id": 532, "name": "BinaryOperation", - "src": "1525:10:6" + "src": "1815:10:6" }, { "children": [ { "attributes": { - "functionReturnParameters": 489 + "functionReturnParameters": 517 }, "children": [ { @@ -1863,19 +2256,19 @@ "type": "literal_string \"ICO second stage\"", "value": "ICO second stage" }, - "id": 505, + "id": 533, "name": "Literal", - "src": "1559:18:6" + "src": "1849:18:6" } ], - "id": 506, + "id": 534, "name": "Return", - "src": "1552:25:6" + "src": "1842:25:6" } ], - "id": 507, + "id": 535, "name": "Block", - "src": "1537:52:6" + "src": "1827:52:6" }, { "attributes": { @@ -1910,9 +2303,9 @@ "type": "int_const 4", "value": "4" }, - "id": 508, + "id": 536, "name": "Literal", - "src": "1599:1:6" + "src": "1889:1:6" }, { "attributes": { @@ -1920,24 +2313,24 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 427, + "referencedDeclaration": 429, "type": "uint256", "value": "stage" }, - "id": 509, + "id": 537, "name": "Identifier", - "src": "1604:5:6" + "src": "1894:5:6" } ], - "id": 510, + "id": 538, "name": "BinaryOperation", - "src": "1599:10:6" + "src": "1889:10:6" }, { "children": [ { "attributes": { - "functionReturnParameters": 489 + "functionReturnParameters": 517 }, "children": [ { @@ -1953,43 +2346,43 @@ "type": "literal_string \"feature stage\"", "value": "feature stage" }, - "id": 511, + "id": 539, "name": "Literal", - "src": "1633:15:6" + "src": "1923:15:6" } ], - "id": 512, + "id": 540, "name": "Return", - "src": "1626:22:6" + "src": "1916:22:6" } ], - "id": 513, + "id": 541, "name": "Block", - "src": "1611:49:6" + "src": "1901:49:6" } ], - "id": 514, + "id": 542, "name": "IfStatement", - "src": "1595:65:6" + "src": "1885:65:6" } ], - "id": 515, + "id": 543, "name": "IfStatement", - "src": "1521:139:6" + "src": "1811:139:6" } ], - "id": 516, + "id": 544, "name": "IfStatement", - "src": "1449:211:6" + "src": "1739:211:6" } ], - "id": 517, + "id": 545, "name": "IfStatement", - "src": "1384:276:6" + "src": "1674:276:6" }, { "attributes": { - "functionReturnParameters": 489 + "functionReturnParameters": 517 }, "children": [ { @@ -2005,24 +2398,24 @@ "type": "literal_string \"there is no stage at present\"", "value": "there is no stage at present" }, - "id": 518, + "id": 546, "name": "Literal", - "src": "1679:30:6" + "src": "1969:30:6" } ], - "id": 519, + "id": 547, "name": "Return", - "src": "1672:37:6" + "src": "1962:37:6" } ], - "id": 520, + "id": 548, "name": "Block", - "src": "1373:344:6" + "src": "1663:344:6" } ], - "id": 521, + "id": 549, "name": "FunctionDefinition", - "src": "1297:420:6" + "src": "1587:420:6" }, { "attributes": { @@ -2034,7 +2427,7 @@ ], "name": "sell", "payable": false, - "scope": 749, + "scope": 773, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -2046,7 +2439,7 @@ "attributes": { "constant": false, "name": "_investor", - "scope": 660, + "scope": 688, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2059,20 +2452,20 @@ "name": "address", "type": "address" }, - "id": 522, + "id": 550, "name": "ElementaryTypeName", - "src": "1812:7:6" + "src": "2102:7:6" } ], - "id": 523, + "id": 551, "name": "VariableDeclaration", - "src": "1812:17:6" + "src": "2102:17:6" }, { "attributes": { "constant": false, "name": "amount", - "scope": 660, + "scope": 688, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2085,19 +2478,19 @@ "name": "uint256", "type": "uint256" }, - "id": 524, + "id": 552, "name": "ElementaryTypeName", - "src": "1831:7:6" + "src": "2121:7:6" } ], - "id": 525, + "id": 553, "name": "VariableDeclaration", - "src": "1831:14:6" + "src": "2121:14:6" } ], - "id": 526, + "id": 554, "name": "ParameterList", - "src": "1811:35:6" + "src": "2101:35:6" }, { "attributes": { @@ -2106,16 +2499,16 @@ ] }, "children": [], - "id": 527, + "id": 555, "name": "ParameterList", - "src": "1861:0:6" + "src": "2151:0:6" }, { "children": [ { "attributes": { "assignments": [ - 529 + 557 ] }, "children": [ @@ -2123,7 +2516,7 @@ "attributes": { "constant": false, "name": "_amount", - "scope": 660, + "scope": 688, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2136,14 +2529,14 @@ "name": "uint256", "type": "uint256" }, - "id": 528, + "id": 556, "name": "ElementaryTypeName", - "src": "1872:7:6" + "src": "2162:7:6" } ], - "id": 529, + "id": 557, "name": "VariableDeclaration", - "src": "1872:15:6" + "src": "2162:15:6" }, { "attributes": { @@ -2173,7 +2566,7 @@ "isPure": false, "lValueRequested": false, "member_name": "div", - "referencedDeclaration": 280, + "referencedDeclaration": 291, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2216,7 +2609,7 @@ "isPure": false, "lValueRequested": false, "member_name": "mul", - "referencedDeclaration": 262, + "referencedDeclaration": 273, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2226,18 +2619,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 525, + "referencedDeclaration": 553, "type": "uint256", "value": "amount" }, - "id": 530, + "id": 558, "name": "Identifier", - "src": "1891:6:6" + "src": "2181:6:6" } ], - "id": 531, + "id": 559, "name": "MemberAccess", - "src": "1891:10:6" + "src": "2181:10:6" }, { "attributes": { @@ -2245,28 +2638,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 784, + "referencedDeclaration": 808, "type": "uint256", "value": "DEC" }, - "id": 532, + "id": 560, "name": "Identifier", - "src": "1902:3:6" + "src": "2192:3:6" } ], - "id": 533, + "id": 561, "name": "FunctionCall", - "src": "1891:15:6" + "src": "2181:15:6" } ], - "id": 534, + "id": 562, "name": "TupleExpression", - "src": "1890:17:6" + "src": "2180:17:6" } ], - "id": 535, + "id": 563, "name": "MemberAccess", - "src": "1890:21:6" + "src": "2180:21:6" }, { "attributes": { @@ -2274,23 +2667,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 791, + "referencedDeclaration": 815, "type": "uint256", "value": "buyPrice" }, - "id": 536, + "id": 564, "name": "Identifier", - "src": "1912:8:6" + "src": "2202:8:6" } ], - "id": 537, + "id": 565, "name": "FunctionCall", - "src": "1890:31:6" + "src": "2180:31:6" } ], - "id": 538, + "id": 566, "name": "VariableDeclarationStatement", - "src": "1872:49:6" + "src": "2162:49:6" }, { "children": [ @@ -2322,9 +2715,9 @@ "type": "int_const 1", "value": "1" }, - "id": 539, + "id": 567, "name": "Literal", - "src": "1938:1:6" + "src": "2228:1:6" }, { "attributes": { @@ -2332,18 +2725,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 427, + "referencedDeclaration": 429, "type": "uint256", "value": "stage" }, - "id": 540, + "id": 568, "name": "Identifier", - "src": "1943:5:6" + "src": "2233:5:6" } ], - "id": 541, + "id": 569, "name": "BinaryOperation", - "src": "1938:10:6" + "src": "2228:10:6" }, { "children": [ @@ -2366,13 +2759,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 542, + "id": 570, "name": "Identifier", - "src": "1965:7:6" + "src": "2255:7:6" }, { "attributes": { @@ -2402,7 +2795,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2412,18 +2805,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 543, + "id": 571, "name": "Identifier", - "src": "1975:7:6" + "src": "2265:7:6" } ], - "id": 544, + "id": 572, "name": "MemberAccess", - "src": "1975:11:6" + "src": "2265:11:6" }, { "attributes": { @@ -2455,13 +2848,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 748, + "referencedDeclaration": 772, "type": "function (uint256,uint256) pure returns (uint256)", "value": "withDiscount" }, - "id": 545, + "id": 573, "name": "Identifier", - "src": "1987:12:6" + "src": "2277:12:6" }, { "attributes": { @@ -2469,13 +2862,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 546, + "id": 574, "name": "Identifier", - "src": "2000:7:6" + "src": "2290:7:6" }, { "attributes": { @@ -2485,7 +2878,7 @@ "isPure": false, "lValueRequested": false, "member_name": "discount", - "referencedDeclaration": 439, + "referencedDeclaration": 441, "type": "uint8" }, "children": [ @@ -2495,43 +2888,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 446, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 547, + "id": 575, "name": "Identifier", - "src": "2009:3:6" + "src": "2299:3:6" } ], - "id": 548, + "id": 576, "name": "MemberAccess", - "src": "2009:12:6" + "src": "2299:12:6" } ], - "id": 549, + "id": 577, "name": "FunctionCall", - "src": "1987:35:6" + "src": "2277:35:6" } ], - "id": 550, + "id": 578, "name": "FunctionCall", - "src": "1975:48:6" + "src": "2265:48:6" } ], - "id": 551, + "id": 579, "name": "Assignment", - "src": "1965:58:6" + "src": "2255:58:6" } ], - "id": 552, + "id": 580, "name": "ExpressionStatement", - "src": "1965:58:6" + "src": "2255:58:6" } ], - "id": 553, + "id": 581, "name": "Block", - "src": "1950:85:6" + "src": "2240:85:6" }, { "children": [ @@ -2563,9 +2956,9 @@ "type": "int_const 2", "value": "2" }, - "id": 554, + "id": 582, "name": "Literal", - "src": "2054:1:6" + "src": "2344:1:6" }, { "attributes": { @@ -2573,18 +2966,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 427, + "referencedDeclaration": 429, "type": "uint256", "value": "stage" }, - "id": 555, + "id": 583, "name": "Identifier", - "src": "2059:5:6" + "src": "2349:5:6" } ], - "id": 556, + "id": 584, "name": "BinaryOperation", - "src": "2054:10:6" + "src": "2344:10:6" }, { "children": [ @@ -2611,13 +3004,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1321, + "referencedDeclaration": 1345, "type": "uint256", "value": "now" }, - "id": 557, + "id": 585, "name": "Identifier", - "src": "2094:3:6" + "src": "2384:3:6" }, { "attributes": { @@ -2642,7 +3035,7 @@ "isPure": false, "lValueRequested": false, "member_name": "startDate", - "referencedDeclaration": 435, + "referencedDeclaration": 437, "type": "uint256" }, "children": [ @@ -2652,18 +3045,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 446, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 558, + "id": 586, "name": "Identifier", - "src": "2101:3:6" + "src": "2391:3:6" } ], - "id": 559, + "id": 587, "name": "MemberAccess", - "src": "2101:13:6" + "src": "2391:13:6" }, { "attributes": { @@ -2678,19 +3071,19 @@ "type": "int_const 86400", "value": "1" }, - "id": 560, + "id": 588, "name": "Literal", - "src": "2117:6:6" + "src": "2407:6:6" } ], - "id": 561, + "id": 589, "name": "BinaryOperation", - "src": "2101:22:6" + "src": "2391:22:6" } ], - "id": 562, + "id": 590, "name": "BinaryOperation", - "src": "2094:29:6" + "src": "2384:29:6" }, { "children": [ @@ -2727,9 +3120,9 @@ "type": "int_const 0", "value": "0" }, - "id": 563, + "id": 591, "name": "Literal", - "src": "2163:1:6" + "src": "2453:1:6" }, { "attributes": { @@ -2739,7 +3132,7 @@ "isPure": false, "lValueRequested": false, "member_name": "discountFirstDayICO", - "referencedDeclaration": 441, + "referencedDeclaration": 443, "type": "uint8" }, "children": [ @@ -2749,23 +3142,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 446, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 564, + "id": 592, "name": "Identifier", - "src": "2168:3:6" + "src": "2458:3:6" } ], - "id": 565, + "id": 593, "name": "MemberAccess", - "src": "2168:23:6" + "src": "2458:23:6" } ], - "id": 566, + "id": 594, "name": "BinaryOperation", - "src": "2163:28:6" + "src": "2453:28:6" }, { "children": [ @@ -2790,7 +3183,7 @@ "isPure": false, "lValueRequested": true, "member_name": "discountFirstDayICO", - "referencedDeclaration": 441, + "referencedDeclaration": 443, "type": "uint8" }, "children": [ @@ -2800,18 +3193,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 446, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 567, + "id": 595, "name": "Identifier", - "src": "2218:3:6" + "src": "2508:3:6" } ], - "id": 569, + "id": 597, "name": "MemberAccess", - "src": "2218:23:6" + "src": "2508:23:6" }, { "attributes": { @@ -2826,29 +3219,29 @@ "type": "int_const 20", "value": "20" }, - "id": 570, + "id": 598, "name": "Literal", - "src": "2244:2:6" + "src": "2534:2:6" } ], - "id": 571, + "id": 599, "name": "Assignment", - "src": "2218:28:6" + "src": "2508:28:6" } ], - "id": 572, + "id": 600, "name": "ExpressionStatement", - "src": "2218:28:6" + "src": "2508:28:6" } ], - "id": 573, + "id": 601, "name": "Block", - "src": "2193:75:6" + "src": "2483:75:6" } ], - "id": 574, + "id": 602, "name": "IfStatement", - "src": "2159:109:6" + "src": "2449:109:6" }, { "children": [ @@ -2869,13 +3262,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 575, + "id": 603, "name": "Identifier", - "src": "2290:7:6" + "src": "2580:7:6" }, { "attributes": { @@ -2905,7 +3298,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2915,18 +3308,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 576, + "id": 604, "name": "Identifier", - "src": "2300:7:6" + "src": "2590:7:6" } ], - "id": 577, + "id": 605, "name": "MemberAccess", - "src": "2300:11:6" + "src": "2590:11:6" }, { "attributes": { @@ -2958,13 +3351,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 748, + "referencedDeclaration": 772, "type": "function (uint256,uint256) pure returns (uint256)", "value": "withDiscount" }, - "id": 578, + "id": 606, "name": "Identifier", - "src": "2312:12:6" + "src": "2602:12:6" }, { "attributes": { @@ -2972,13 +3365,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 579, + "id": 607, "name": "Identifier", - "src": "2325:7:6" + "src": "2615:7:6" }, { "attributes": { @@ -2988,7 +3381,7 @@ "isPure": false, "lValueRequested": false, "member_name": "discountFirstDayICO", - "referencedDeclaration": 441, + "referencedDeclaration": 443, "type": "uint8" }, "children": [ @@ -2998,43 +3391,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 446, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 580, + "id": 608, "name": "Identifier", - "src": "2334:3:6" + "src": "2624:3:6" } ], - "id": 581, + "id": 609, "name": "MemberAccess", - "src": "2334:23:6" + "src": "2624:23:6" } ], - "id": 582, + "id": 610, "name": "FunctionCall", - "src": "2312:46:6" + "src": "2602:46:6" } ], - "id": 583, + "id": 611, "name": "FunctionCall", - "src": "2300:59:6" + "src": "2590:59:6" } ], - "id": 584, + "id": 612, "name": "Assignment", - "src": "2290:69:6" + "src": "2580:69:6" } ], - "id": 585, + "id": 613, "name": "ExpressionStatement", - "src": "2290:69:6" + "src": "2580:69:6" } ], - "id": 586, + "id": 614, "name": "Block", - "src": "2138:237:6" + "src": "2428:237:6" }, { "children": [ @@ -3057,13 +3450,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 587, + "id": 615, "name": "Identifier", - "src": "2400:7:6" + "src": "2690:7:6" }, { "attributes": { @@ -3093,7 +3486,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -3103,18 +3496,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 588, + "id": 616, "name": "Identifier", - "src": "2410:7:6" + "src": "2700:7:6" } ], - "id": 589, + "id": 617, "name": "MemberAccess", - "src": "2410:11:6" + "src": "2700:11:6" }, { "attributes": { @@ -3146,13 +3539,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 748, + "referencedDeclaration": 772, "type": "function (uint256,uint256) pure returns (uint256)", "value": "withDiscount" }, - "id": 590, + "id": 618, "name": "Identifier", - "src": "2422:12:6" + "src": "2712:12:6" }, { "attributes": { @@ -3160,13 +3553,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 591, + "id": 619, "name": "Identifier", - "src": "2435:7:6" + "src": "2725:7:6" }, { "attributes": { @@ -3176,7 +3569,7 @@ "isPure": false, "lValueRequested": false, "member_name": "discount", - "referencedDeclaration": 439, + "referencedDeclaration": 441, "type": "uint8" }, "children": [ @@ -3186,53 +3579,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 446, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 592, + "id": 620, "name": "Identifier", - "src": "2444:3:6" + "src": "2734:3:6" } ], - "id": 593, + "id": 621, "name": "MemberAccess", - "src": "2444:12:6" + "src": "2734:12:6" } ], - "id": 594, + "id": 622, "name": "FunctionCall", - "src": "2422:35:6" + "src": "2712:35:6" } ], - "id": 595, + "id": 623, "name": "FunctionCall", - "src": "2410:48:6" + "src": "2700:48:6" } ], - "id": 596, + "id": 624, "name": "Assignment", - "src": "2400:58:6" + "src": "2690:58:6" } ], - "id": 597, + "id": 625, "name": "ExpressionStatement", - "src": "2400:58:6" + "src": "2690:58:6" } ], - "id": 598, + "id": 626, "name": "Block", - "src": "2381:93:6" + "src": "2671:93:6" } ], - "id": 599, + "id": 627, "name": "IfStatement", - "src": "2090:384:6" + "src": "2380:384:6" } ], - "id": 600, + "id": 628, "name": "Block", - "src": "2075:410:6" + "src": "2365:410:6" }, { "attributes": { @@ -3267,9 +3660,9 @@ "type": "int_const 3", "value": "3" }, - "id": 601, + "id": 629, "name": "Literal", - "src": "2495:1:6" + "src": "2785:1:6" }, { "attributes": { @@ -3277,18 +3670,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 427, + "referencedDeclaration": 429, "type": "uint256", "value": "stage" }, - "id": 602, + "id": 630, "name": "Identifier", - "src": "2500:5:6" + "src": "2790:5:6" } ], - "id": 603, + "id": 631, "name": "BinaryOperation", - "src": "2495:10:6" + "src": "2785:10:6" }, { "children": [ @@ -3311,13 +3704,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 604, + "id": 632, "name": "Identifier", - "src": "2522:7:6" + "src": "2812:7:6" }, { "attributes": { @@ -3347,7 +3740,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -3357,18 +3750,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 605, + "id": 633, "name": "Identifier", - "src": "2532:7:6" + "src": "2822:7:6" } ], - "id": 606, + "id": 634, "name": "MemberAccess", - "src": "2532:11:6" + "src": "2822:11:6" }, { "attributes": { @@ -3400,13 +3793,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 748, + "referencedDeclaration": 772, "type": "function (uint256,uint256) pure returns (uint256)", "value": "withDiscount" }, - "id": 607, + "id": 635, "name": "Identifier", - "src": "2544:12:6" + "src": "2834:12:6" }, { "attributes": { @@ -3414,13 +3807,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 608, + "id": 636, "name": "Identifier", - "src": "2557:7:6" + "src": "2847:7:6" }, { "attributes": { @@ -3430,7 +3823,7 @@ "isPure": false, "lValueRequested": false, "member_name": "discount", - "referencedDeclaration": 439, + "referencedDeclaration": 441, "type": "uint8" }, "children": [ @@ -3440,58 +3833,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 446, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 609, + "id": 637, "name": "Identifier", - "src": "2566:3:6" + "src": "2856:3:6" } ], - "id": 610, + "id": 638, "name": "MemberAccess", - "src": "2566:12:6" + "src": "2856:12:6" } ], - "id": 611, + "id": 639, "name": "FunctionCall", - "src": "2544:35:6" + "src": "2834:35:6" } ], - "id": 612, + "id": 640, "name": "FunctionCall", - "src": "2532:48:6" + "src": "2822:48:6" } ], - "id": 613, + "id": 641, "name": "Assignment", - "src": "2522:58:6" + "src": "2812:58:6" } ], - "id": 614, + "id": 642, "name": "ExpressionStatement", - "src": "2522:58:6" + "src": "2812:58:6" } ], - "id": 615, + "id": 643, "name": "Block", - "src": "2507:85:6" + "src": "2797:85:6" } ], - "id": 616, + "id": 644, "name": "IfStatement", - "src": "2491:101:6" + "src": "2781:101:6" } ], - "id": 617, + "id": 645, "name": "IfStatement", - "src": "2050:542:6" + "src": "2340:542:6" } ], - "id": 618, + "id": 646, "name": "IfStatement", - "src": "1934:658:6" + "src": "2224:658:6" }, { "attributes": { @@ -3521,7 +3914,7 @@ "isPure": false, "lValueRequested": false, "member_name": "tokens", - "referencedDeclaration": 433, + "referencedDeclaration": 435, "type": "uint256" }, "children": [ @@ -3531,18 +3924,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 446, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 619, + "id": 647, "name": "Identifier", - "src": "2608:3:6" + "src": "2898:3:6" } ], - "id": 620, + "id": 648, "name": "MemberAccess", - "src": "2608:10:6" + "src": "2898:10:6" }, { "attributes": { @@ -3550,18 +3943,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 621, + "id": 649, "name": "Identifier", - "src": "2621:7:6" + "src": "2911:7:6" } ], - "id": 622, + "id": 650, "name": "BinaryOperation", - "src": "2608:20:6" + "src": "2898:20:6" }, { "children": [ @@ -3593,13 +3986,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 431, + "referencedDeclaration": 433, "type": "function (string memory)", "value": "CrowdSaleFinished" }, - "id": 623, + "id": 651, "name": "Identifier", - "src": "2654:17:6" + "src": "2944:17:6" }, { "attributes": { @@ -3627,28 +4020,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 521, + "referencedDeclaration": 549, "type": "function () view returns (string memory)", "value": "crowdSaleStatus" }, - "id": 624, + "id": 652, "name": "Identifier", - "src": "2672:15:6" + "src": "2962:15:6" } ], - "id": 625, + "id": 653, "name": "FunctionCall", - "src": "2672:17:6" + "src": "2962:17:6" } ], - "id": 626, + "id": 654, "name": "FunctionCall", - "src": "2654:36:6" + "src": "2944:36:6" } ], - "id": 627, + "id": 655, "name": "ExpressionStatement", - "src": "2654:36:6" + "src": "2944:36:6" }, { "children": [ @@ -3682,19 +4075,19 @@ "type": "function ()", "value": "pauseInternal" }, - "id": 628, + "id": 656, "name": "Identifier", - "src": "2705:13:6" + "src": "2995:13:6" } ], - "id": 629, + "id": 657, "name": "FunctionCall", - "src": "2705:15:6" + "src": "2995:15:6" } ], - "id": 630, + "id": 658, "name": "ExpressionStatement", - "src": "2705:15:6" + "src": "2995:15:6" }, { "children": [ @@ -3724,33 +4117,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1323, + "referencedDeclaration": 1347, "type": "function () pure", "value": "revert" }, - "id": 631, + "id": 659, "name": "Identifier", - "src": "2737:6:6" + "src": "3027:6:6" } ], - "id": 632, + "id": 660, "name": "FunctionCall", - "src": "2737:8:6" + "src": "3027:8:6" } ], - "id": 633, + "id": 661, "name": "ExpressionStatement", - "src": "2737:8:6" + "src": "3027:8:6" } ], - "id": 634, + "id": 662, "name": "Block", - "src": "2639:118:6" + "src": "2929:118:6" } ], - "id": 635, + "id": 663, "name": "IfStatement", - "src": "2604:153:6" + "src": "2894:153:6" }, { "children": [ @@ -3773,7 +4166,7 @@ "isPure": false, "lValueRequested": true, "member_name": "tokens", - "referencedDeclaration": 433, + "referencedDeclaration": 435, "type": "uint256" }, "children": [ @@ -3783,18 +4176,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 446, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 636, + "id": 664, "name": "Identifier", - "src": "2769:3:6" + "src": "3059:3:6" } ], - "id": 638, + "id": 666, "name": "MemberAccess", - "src": "2769:10:6" + "src": "3059:10:6" }, { "attributes": { @@ -3824,7 +4217,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -3836,7 +4229,7 @@ "isPure": false, "lValueRequested": false, "member_name": "tokens", - "referencedDeclaration": 433, + "referencedDeclaration": 435, "type": "uint256" }, "children": [ @@ -3846,23 +4239,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 446, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 639, + "id": 667, "name": "Identifier", - "src": "2782:3:6" + "src": "3072:3:6" } ], - "id": 640, + "id": 668, "name": "MemberAccess", - "src": "2782:10:6" + "src": "3072:10:6" } ], - "id": 641, + "id": 669, "name": "MemberAccess", - "src": "2782:14:6" + "src": "3072:14:6" }, { "attributes": { @@ -3870,28 +4263,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 642, + "id": 670, "name": "Identifier", - "src": "2797:7:6" + "src": "3087:7:6" } ], - "id": 643, + "id": 671, "name": "FunctionCall", - "src": "2782:23:6" + "src": "3072:23:6" } ], - "id": 644, + "id": 672, "name": "Assignment", - "src": "2769:36:6" + "src": "3059:36:6" } ], - "id": 645, + "id": 673, "name": "ExpressionStatement", - "src": "2769:36:6" + "src": "3059:36:6" }, { "children": [ @@ -3912,13 +4305,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 646, + "id": 674, "name": "Identifier", - "src": "2816:15:6" + "src": "3106:15:6" }, { "attributes": { @@ -3948,7 +4341,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -3958,18 +4351,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 647, + "id": 675, "name": "Identifier", - "src": "2834:15:6" + "src": "3124:15:6" } ], - "id": 648, + "id": 676, "name": "MemberAccess", - "src": "2834:19:6" + "src": "3124:19:6" }, { "attributes": { @@ -3977,28 +4370,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 649, + "id": 677, "name": "Identifier", - "src": "2854:7:6" + "src": "3144:7:6" } ], - "id": 650, + "id": 678, "name": "FunctionCall", - "src": "2834:28:6" + "src": "3124:28:6" } ], - "id": 651, + "id": 679, "name": "Assignment", - "src": "2816:46:6" + "src": "3106:46:6" } ], - "id": 652, + "id": 680, "name": "ExpressionStatement", - "src": "2816:46:6" + "src": "3106:46:6" }, { "children": [ @@ -4021,7 +4414,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_StreamityCrowdsale_$749", + "typeIdentifier": "t_contract$_StreamityCrowdsale_$773", "typeString": "contract StreamityCrowdsale" }, { @@ -4036,13 +4429,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 949, + "referencedDeclaration": 973, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 653, + "id": 681, "name": "Identifier", - "src": "2875:9:6" + "src": "3165:9:6" }, { "attributes": { @@ -4050,13 +4443,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1344, + "referencedDeclaration": 1368, "type": "contract StreamityCrowdsale", "value": "this" }, - "id": 654, + "id": 682, "name": "Identifier", - "src": "2885:4:6" + "src": "3175:4:6" }, { "attributes": { @@ -4064,13 +4457,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 523, + "referencedDeclaration": 551, "type": "address", "value": "_investor" }, - "id": 655, + "id": 683, "name": "Identifier", - "src": "2891:9:6" + "src": "3181:9:6" }, { "attributes": { @@ -4078,33 +4471,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 529, + "referencedDeclaration": 557, "type": "uint256", "value": "_amount" }, - "id": 656, + "id": 684, "name": "Identifier", - "src": "2902:7:6" + "src": "3192:7:6" } ], - "id": 657, + "id": 685, "name": "FunctionCall", - "src": "2875:35:6" + "src": "3165:35:6" } ], - "id": 658, + "id": 686, "name": "ExpressionStatement", - "src": "2875:35:6" + "src": "3165:35:6" } ], - "id": 659, + "id": 687, "name": "Block", - "src": "1861:1057:6" + "src": "2151:1057:6" } ], - "id": 660, + "id": 688, "name": "FunctionDefinition", - "src": "1798:1120:6" + "src": "2088:1120:6" }, { "attributes": { @@ -4113,7 +4506,7 @@ "isConstructor": false, "name": "startCrowd", "payable": false, - "scope": 749, + "scope": 773, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4125,7 +4518,7 @@ "attributes": { "constant": false, "name": "_tokens", - "scope": 714, + "scope": 738, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4138,20 +4531,20 @@ "name": "uint256", "type": "uint256" }, - "id": 661, + "id": 689, "name": "ElementaryTypeName", - "src": "3461:7:6" + "src": "3751:7:6" } ], - "id": 662, + "id": 690, "name": "VariableDeclaration", - "src": "3461:15:6" + "src": "3751:15:6" }, { "attributes": { "constant": false, "name": "_startDate", - "scope": 714, + "scope": 738, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4164,20 +4557,20 @@ "name": "uint", "type": "uint256" }, - "id": 663, + "id": 691, "name": "ElementaryTypeName", - "src": "3478:4:6" + "src": "3768:4:6" } ], - "id": 664, + "id": 692, "name": "VariableDeclaration", - "src": "3478:15:6" + "src": "3768:15:6" }, { "attributes": { "constant": false, "name": "_endDate", - "scope": 714, + "scope": 738, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4190,20 +4583,20 @@ "name": "uint", "type": "uint256" }, - "id": 665, + "id": 693, "name": "ElementaryTypeName", - "src": "3495:4:6" + "src": "3785:4:6" } ], - "id": 666, + "id": 694, "name": "VariableDeclaration", - "src": "3495:13:6" + "src": "3785:13:6" }, { "attributes": { "constant": false, "name": "_discount", - "scope": 714, + "scope": 738, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -4216,20 +4609,20 @@ "name": "uint8", "type": "uint8" }, - "id": 667, + "id": 695, "name": "ElementaryTypeName", - "src": "3510:5:6" + "src": "3800:5:6" } ], - "id": 668, + "id": 696, "name": "VariableDeclaration", - "src": "3510:15:6" + "src": "3800:15:6" }, { "attributes": { "constant": false, "name": "_discountFirstDayICO", - "scope": 714, + "scope": 738, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -4242,19 +4635,19 @@ "name": "uint8", "type": "uint8" }, - "id": 669, + "id": 697, "name": "ElementaryTypeName", - "src": "3527:5:6" + "src": "3817:5:6" } ], - "id": 670, + "id": 698, "name": "VariableDeclaration", - "src": "3527:26:6" + "src": "3817:26:6" } ], - "id": 671, + "id": 699, "name": "ParameterList", - "src": "3460:94:6" + "src": "3750:94:6" }, { "attributes": { @@ -4263,9 +4656,9 @@ ] }, "children": [], - "id": 674, + "id": 702, "name": "ParameterList", - "src": "3577:0:6" + "src": "3867:0:6" }, { "attributes": { @@ -4284,14 +4677,14 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 672, + "id": 700, "name": "Identifier", - "src": "3562:9:6" + "src": "3852:9:6" } ], - "id": 673, + "id": 701, "name": "ModifierInvocation", - "src": "3562:9:6" + "src": "3852:9:6" }, { "children": [ @@ -4323,13 +4716,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 675, + "id": 703, "name": "Identifier", - "src": "3588:7:6" + "src": "3878:7:6" }, { "attributes": { @@ -4367,13 +4760,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 662, + "referencedDeclaration": 690, "type": "uint256", "value": "_tokens" }, - "id": 676, + "id": 704, "name": "Identifier", - "src": "3596:7:6" + "src": "3886:7:6" }, { "attributes": { @@ -4381,18 +4774,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 784, + "referencedDeclaration": 808, "type": "uint256", "value": "DEC" }, - "id": 677, + "id": 705, "name": "Identifier", - "src": "3606:3:6" + "src": "3896:3:6" } ], - "id": 678, + "id": 706, "name": "BinaryOperation", - "src": "3596:13:6" + "src": "3886:13:6" }, { "attributes": { @@ -4400,79 +4793,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 679, + "id": 707, "name": "Identifier", - "src": "3613:15:6" + "src": "3903:15:6" } ], - "id": 680, + "id": 708, "name": "BinaryOperation", - "src": "3596:32:6" + "src": "3886:32:6" } ], - "id": 681, + "id": 709, "name": "FunctionCall", - "src": "3588:41:6" - } - ], - "id": 682, - "name": "ExpressionStatement", - "src": "3588:41:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 175, - "type": "uint256", - "value": "startIcoDate" - }, - "id": 683, - "name": "Identifier", - "src": "3690:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 664, - "type": "uint256", - "value": "_startDate" - }, - "id": 684, - "name": "Identifier", - "src": "3705:10:6" - } - ], - "id": 685, - "name": "Assignment", - "src": "3690:25:6" + "src": "3878:41:6" } ], - "id": 686, + "id": 710, "name": "ExpressionStatement", - "src": "3690:25:6" + "src": "3878:41:6" }, { "children": [ @@ -4493,13 +4835,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 446, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 687, + "id": 711, "name": "Identifier", - "src": "3726:3:6" + "src": "3980:3:6" }, { "attributes": { @@ -4543,13 +4885,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 442, + "referencedDeclaration": 444, "type": "type(struct StreamityCrowdsale.Ico storage pointer)", "value": "Ico" }, - "id": 688, + "id": 712, "name": "Identifier", - "src": "3732:3:6" + "src": "3986:3:6" }, { "attributes": { @@ -4572,13 +4914,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 662, + "referencedDeclaration": 690, "type": "uint256", "value": "_tokens" }, - "id": 689, + "id": 713, "name": "Identifier", - "src": "3737:7:6" + "src": "3991:7:6" }, { "attributes": { @@ -4586,18 +4928,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 784, + "referencedDeclaration": 808, "type": "uint256", "value": "DEC" }, - "id": 690, + "id": 714, "name": "Identifier", - "src": "3747:3:6" + "src": "4001:3:6" } ], - "id": 691, + "id": 715, "name": "BinaryOperation", - "src": "3737:13:6" + "src": "3991:13:6" }, { "attributes": { @@ -4605,13 +4947,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 664, + "referencedDeclaration": 692, "type": "uint256", "value": "_startDate" }, - "id": 692, + "id": 716, "name": "Identifier", - "src": "3752:10:6" + "src": "4006:10:6" }, { "attributes": { @@ -4634,13 +4976,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 664, + "referencedDeclaration": 692, "type": "uint256", "value": "_startDate" }, - "id": 693, + "id": 717, "name": "Identifier", - "src": "3764:10:6" + "src": "4018:10:6" }, { "attributes": { @@ -4663,13 +5005,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 666, + "referencedDeclaration": 694, "type": "uint256", "value": "_endDate" }, - "id": 694, + "id": 718, "name": "Identifier", - "src": "3777:8:6" + "src": "4031:8:6" }, { "attributes": { @@ -4684,19 +5026,19 @@ "type": "int_const 86400", "value": "1" }, - "id": 695, + "id": 719, "name": "Literal", - "src": "3788:6:6" + "src": "4042:6:6" } ], - "id": 696, + "id": 720, "name": "BinaryOperation", - "src": "3777:17:6" + "src": "4031:17:6" } ], - "id": 697, + "id": 721, "name": "BinaryOperation", - "src": "3764:30:6" + "src": "4018:30:6" }, { "attributes": { @@ -4704,13 +5046,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 668, + "referencedDeclaration": 696, "type": "uint8", "value": "_discount" }, - "id": 698, + "id": 722, "name": "Identifier", - "src": "3797:9:6" + "src": "4051:9:6" }, { "attributes": { @@ -4718,28 +5060,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 670, + "referencedDeclaration": 698, "type": "uint8", "value": "_discountFirstDayICO" }, - "id": 699, + "id": 723, "name": "Identifier", - "src": "3808:20:6" + "src": "4062:20:6" } ], - "id": 700, + "id": 724, "name": "FunctionCall", - "src": "3732:97:6" + "src": "3986:97:6" } ], - "id": 701, + "id": 725, "name": "Assignment", - "src": "3726:103:6" + "src": "3980:103:6" } ], - "id": 702, + "id": 726, "name": "ExpressionStatement", - "src": "3726:103:6" + "src": "3980:103:6" }, { "children": [ @@ -4760,13 +5102,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 427, + "referencedDeclaration": 429, "type": "uint256", "value": "stage" }, - "id": 703, + "id": 727, "name": "Identifier", - "src": "3840:5:6" + "src": "4094:5:6" }, { "attributes": { @@ -4796,7 +5138,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -4806,18 +5148,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 427, + "referencedDeclaration": 429, "type": "uint256", "value": "stage" }, - "id": 704, + "id": 728, "name": "Identifier", - "src": "3848:5:6" + "src": "4102:5:6" } ], - "id": 705, + "id": 729, "name": "MemberAccess", - "src": "3848:9:6" + "src": "4102:9:6" }, { "attributes": { @@ -4832,24 +5174,24 @@ "type": "int_const 1", "value": "1" }, - "id": 706, + "id": 730, "name": "Literal", - "src": "3858:1:6" + "src": "4112:1:6" } ], - "id": 707, + "id": 731, "name": "FunctionCall", - "src": "3848:12:6" + "src": "4102:12:6" } ], - "id": 708, + "id": 732, "name": "Assignment", - "src": "3840:20:6" + "src": "4094:20:6" } ], - "id": 709, + "id": 733, "name": "ExpressionStatement", - "src": "3840:20:6" + "src": "4094:20:6" }, { "children": [ @@ -4879,33 +5221,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 229, + "referencedDeclaration": 240, "type": "function ()", - "value": "unpause" + "value": "unpauseInternal" }, - "id": 710, + "id": 734, "name": "Identifier", - "src": "3871:7:6" + "src": "4125:15:6" } ], - "id": 711, + "id": 735, "name": "FunctionCall", - "src": "3871:9:6" + "src": "4125:17:6" } ], - "id": 712, + "id": 736, "name": "ExpressionStatement", - "src": "3871:9:6" + "src": "4125:17:6" } ], - "id": 713, + "id": 737, "name": "Block", - "src": "3577:311:6" + "src": "3867:283:6" } ], - "id": 714, + "id": 738, "name": "FunctionDefinition", - "src": "3441:447:6" + "src": "3731:419:6" }, { "attributes": { @@ -4914,7 +5256,7 @@ "isConstructor": false, "name": "transferWeb3js", "payable": false, - "scope": 749, + "scope": 773, "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" @@ -4926,7 +5268,7 @@ "attributes": { "constant": false, "name": "_investor", - "scope": 729, + "scope": 753, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4939,20 +5281,20 @@ "name": "address", "type": "address" }, - "id": 715, + "id": 739, "name": "ElementaryTypeName", - "src": "4152:7:6" + "src": "4414:7:6" } ], - "id": 716, + "id": 740, "name": "VariableDeclaration", - "src": "4152:17:6" + "src": "4414:17:6" }, { "attributes": { "constant": false, "name": "_amount", - "scope": 729, + "scope": 753, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4965,19 +5307,19 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 741, "name": "ElementaryTypeName", - "src": "4171:7:6" + "src": "4433:7:6" } ], - "id": 718, + "id": 742, "name": "VariableDeclaration", - "src": "4171:15:6" + "src": "4433:15:6" } ], - "id": 719, + "id": 743, "name": "ParameterList", - "src": "4151:36:6" + "src": "4413:36:6" }, { "attributes": { @@ -4986,9 +5328,9 @@ ] }, "children": [], - "id": 722, + "id": 746, "name": "ParameterList", - "src": "4212:0:6" + "src": "4474:0:6" }, { "attributes": { @@ -5007,14 +5349,14 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 720, + "id": 744, "name": "Identifier", - "src": "4197:9:6" + "src": "4459:9:6" } ], - "id": 721, + "id": 745, "name": "ModifierInvocation", - "src": "4197:9:6" + "src": "4459:9:6" }, { "children": [ @@ -5050,13 +5392,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 660, + "referencedDeclaration": 688, "type": "function (address,uint256)", "value": "sell" }, - "id": 723, + "id": 747, "name": "Identifier", - "src": "4223:4:6" + "src": "4485:4:6" }, { "attributes": { @@ -5064,13 +5406,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 716, + "referencedDeclaration": 740, "type": "address", "value": "_investor" }, - "id": 724, + "id": 748, "name": "Identifier", - "src": "4228:9:6" + "src": "4490:9:6" }, { "attributes": { @@ -5078,33 +5420,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 718, + "referencedDeclaration": 742, "type": "uint256", "value": "_amount" }, - "id": 725, + "id": 749, "name": "Identifier", - "src": "4239:7:6" + "src": "4501:7:6" } ], - "id": 726, + "id": 750, "name": "FunctionCall", - "src": "4223:24:6" + "src": "4485:24:6" } ], - "id": 727, + "id": 751, "name": "ExpressionStatement", - "src": "4223:24:6" + "src": "4485:24:6" } ], - "id": 728, + "id": 752, "name": "Block", - "src": "4212:43:6" + "src": "4474:43:6" } ], - "id": 729, + "id": 753, "name": "FunctionDefinition", - "src": "4128:127:6" + "src": "4390:127:6" }, { "attributes": { @@ -5116,7 +5458,7 @@ ], "name": "withDiscount", "payable": false, - "scope": 749, + "scope": 773, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -5128,7 +5470,7 @@ "attributes": { "constant": false, "name": "_amount", - "scope": 748, + "scope": 772, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5141,20 +5483,20 @@ "name": "uint256", "type": "uint256" }, - "id": 730, + "id": 754, "name": "ElementaryTypeName", - "src": "4345:7:6" + "src": "4607:7:6" } ], - "id": 731, + "id": 755, "name": "VariableDeclaration", - "src": "4345:15:6" + "src": "4607:15:6" }, { "attributes": { "constant": false, "name": "_percent", - "scope": 748, + "scope": 772, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5167,19 +5509,19 @@ "name": "uint", "type": "uint256" }, - "id": 732, + "id": 756, "name": "ElementaryTypeName", - "src": "4362:4:6" + "src": "4624:4:6" } ], - "id": 733, + "id": 757, "name": "VariableDeclaration", - "src": "4362:13:6" + "src": "4624:13:6" } ], - "id": 734, + "id": 758, "name": "ParameterList", - "src": "4344:32:6" + "src": "4606:32:6" }, { "children": [ @@ -5187,7 +5529,7 @@ "attributes": { "constant": false, "name": "", - "scope": 748, + "scope": 772, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5200,25 +5542,25 @@ "name": "uint256", "type": "uint256" }, - "id": 735, + "id": 759, "name": "ElementaryTypeName", - "src": "4409:7:6" + "src": "4671:7:6" } ], - "id": 736, + "id": 760, "name": "VariableDeclaration", - "src": "4409:7:6" + "src": "4671:7:6" } ], - "id": 737, + "id": 761, "name": "ParameterList", - "src": "4408:9:6" + "src": "4670:9:6" }, { "children": [ { "attributes": { - "functionReturnParameters": 737 + "functionReturnParameters": 761 }, "children": [ { @@ -5249,7 +5591,7 @@ "isPure": false, "lValueRequested": false, "member_name": "div", - "referencedDeclaration": 280, + "referencedDeclaration": 291, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -5292,7 +5634,7 @@ "isPure": false, "lValueRequested": false, "member_name": "mul", - "referencedDeclaration": 262, + "referencedDeclaration": 273, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -5302,18 +5644,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 731, + "referencedDeclaration": 755, "type": "uint256", "value": "_amount" }, - "id": 738, + "id": 762, "name": "Identifier", - "src": "4442:7:6" + "src": "4704:7:6" } ], - "id": 739, + "id": 763, "name": "MemberAccess", - "src": "4442:11:6" + "src": "4704:11:6" }, { "attributes": { @@ -5321,28 +5663,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 757, "type": "uint256", "value": "_percent" }, - "id": 740, + "id": 764, "name": "Identifier", - "src": "4454:8:6" + "src": "4716:8:6" } ], - "id": 741, + "id": 765, "name": "FunctionCall", - "src": "4442:21:6" + "src": "4704:21:6" } ], - "id": 742, + "id": 766, "name": "TupleExpression", - "src": "4441:23:6" + "src": "4703:23:6" } ], - "id": 743, + "id": 767, "name": "MemberAccess", - "src": "4441:27:6" + "src": "4703:27:6" }, { "attributes": { @@ -5357,39 +5699,39 @@ "type": "int_const 100", "value": "100" }, - "id": 744, + "id": 768, "name": "Literal", - "src": "4469:3:6" + "src": "4731:3:6" } ], - "id": 745, + "id": 769, "name": "FunctionCall", - "src": "4441:32:6" + "src": "4703:32:6" } ], - "id": 746, + "id": 770, "name": "Return", - "src": "4434:39:6" + "src": "4696:39:6" } ], - "id": 747, + "id": 771, "name": "Block", - "src": "4423:58:6" + "src": "4685:58:6" } ], - "id": 748, + "id": 772, "name": "FunctionDefinition", - "src": "4323:158:6" + "src": "4585:158:6" } ], - "id": 749, + "id": 773, "name": "ContractDefinition", - "src": "82:4402:6" + "src": "82:4664:6" } ], - "id": 750, + "id": 774, "name": "SourceUnit", - "src": "0:4486:6" + "src": "0:4748:6" }, "compiler": { "name": "solc", @@ -5397,5 +5739,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-12T17:32:23.393Z" + "updatedAt": "2017-12-20T21:19:00.180Z" } \ No newline at end of file diff --git a/build/contracts/TokenERC20.json b/build/contracts/TokenERC20.json index 2819eaa..5f639d4 100644 --- a/build/contracts/TokenERC20.json +++ b/build/contracts/TokenERC20.json @@ -433,10 +433,10 @@ "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/TokenERC20.sol", "exportedSymbols": { "TokenERC20": [ - 1307 + 1331 ], "tokenRecipient": [ - 765 + 789 ] } }, @@ -450,22 +450,22 @@ ".18" ] }, - "id": 751, + "id": 775, "name": "PragmaDirective", "src": "0:24:7" }, { "attributes": { - "SourceUnit": 326, + "SourceUnit": 337, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/SafeMath.sol", "file": "./SafeMath.sol", - "scope": 1308, + "scope": 1332, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 752, + "id": 776, "name": "ImportDirective", "src": "28:24:7" }, @@ -474,13 +474,13 @@ "SourceUnit": 161, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/Ownable.sol", "file": "./Ownable.sol", - "scope": 1308, + "scope": 1332, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 753, + "id": 777, "name": "ImportDirective", "src": "54:23:7" }, @@ -496,10 +496,10 @@ "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ - 765 + 789 ], "name": "tokenRecipient", - "scope": 1308 + "scope": 1332 }, "children": [ { @@ -513,7 +513,7 @@ ], "name": "receiveApproval", "payable": false, - "scope": 765, + "scope": 789, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -525,7 +525,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 764, + "scope": 788, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -538,12 +538,12 @@ "name": "address", "type": "address" }, - "id": 754, + "id": 778, "name": "ElementaryTypeName", "src": "139:7:7" } ], - "id": 755, + "id": 779, "name": "VariableDeclaration", "src": "139:13:7" }, @@ -551,7 +551,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 764, + "scope": 788, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -564,12 +564,12 @@ "name": "uint256", "type": "uint256" }, - "id": 756, + "id": 780, "name": "ElementaryTypeName", "src": "154:7:7" } ], - "id": 757, + "id": 781, "name": "VariableDeclaration", "src": "154:14:7" }, @@ -577,7 +577,7 @@ "attributes": { "constant": false, "name": "_token", - "scope": 764, + "scope": 788, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -590,12 +590,12 @@ "name": "address", "type": "address" }, - "id": 758, + "id": 782, "name": "ElementaryTypeName", "src": "170:7:7" } ], - "id": 759, + "id": 783, "name": "VariableDeclaration", "src": "170:14:7" }, @@ -603,7 +603,7 @@ "attributes": { "constant": false, "name": "_extraData", - "scope": 764, + "scope": 788, "stateVariable": false, "storageLocation": "default", "type": "bytes memory", @@ -616,17 +616,17 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 760, + "id": 784, "name": "ElementaryTypeName", "src": "186:5:7" } ], - "id": 761, + "id": 785, "name": "VariableDeclaration", "src": "186:16:7" } ], - "id": 762, + "id": 786, "name": "ParameterList", "src": "138:65:7" }, @@ -637,17 +637,17 @@ ] }, "children": [], - "id": 763, + "id": 787, "name": "ParameterList", "src": "210:0:7" } ], - "id": 764, + "id": 788, "name": "FunctionDefinition", "src": "114:97:7" } ], - "id": 765, + "id": 789, "name": "ContractDefinition", "src": "81:133:7" }, @@ -660,11 +660,11 @@ "documentation": null, "fullyImplemented": true, "linearizedBaseContracts": [ - 1307, + 1331, 160 ], "name": "TokenERC20", - "scope": 1308 + "scope": 1332 }, "children": [ { @@ -681,12 +681,12 @@ "referencedDeclaration": 160, "type": "contract Ownable" }, - "id": 766, + "id": 790, "name": "UserDefinedTypeName", "src": "241:7:7" } ], - "id": 767, + "id": 791, "name": "InheritanceSpecifier", "src": "241:7:7" }, @@ -696,10 +696,10 @@ "attributes": { "contractScope": null, "name": "SafeMath", - "referencedDeclaration": 325, + "referencedDeclaration": 336, "type": "library SafeMath" }, - "id": 768, + "id": 792, "name": "UserDefinedTypeName", "src": "263:8:7" }, @@ -708,12 +708,12 @@ "name": "uint", "type": "uint256" }, - "id": 769, + "id": 793, "name": "ElementaryTypeName", "src": "276:4:7" } ], - "id": 770, + "id": 794, "name": "UsingForDirective", "src": "257:24:7" }, @@ -721,7 +721,7 @@ "attributes": { "constant": false, "name": "name", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -734,12 +734,12 @@ "name": "string", "type": "string storage pointer" }, - "id": 771, + "id": 795, "name": "ElementaryTypeName", "src": "327:6:7" } ], - "id": 772, + "id": 796, "name": "VariableDeclaration", "src": "327:18:7" }, @@ -747,7 +747,7 @@ "attributes": { "constant": false, "name": "symbol", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -760,12 +760,12 @@ "name": "string", "type": "string storage pointer" }, - "id": 773, + "id": 797, "name": "ElementaryTypeName", "src": "352:6:7" } ], - "id": 774, + "id": 798, "name": "VariableDeclaration", "src": "352:20:7" }, @@ -773,7 +773,7 @@ "attributes": { "constant": false, "name": "decimals", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -785,7 +785,7 @@ "name": "uint256", "type": "uint256" }, - "id": 775, + "id": 799, "name": "ElementaryTypeName", "src": "379:7:7" }, @@ -802,12 +802,12 @@ "type": "int_const 18", "value": "18" }, - "id": 776, + "id": 800, "name": "Literal", "src": "405:2:7" } ], - "id": 777, + "id": 801, "name": "VariableDeclaration", "src": "379:28:7" }, @@ -815,7 +815,7 @@ "attributes": { "constant": false, "name": "DEC", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -827,7 +827,7 @@ "name": "uint256", "type": "uint256" }, - "id": 778, + "id": 802, "name": "ElementaryTypeName", "src": "414:7:7" }, @@ -859,7 +859,7 @@ "type": "int_const 10", "value": "10" }, - "id": 779, + "id": 803, "name": "Literal", "src": "428:2:7" }, @@ -893,7 +893,7 @@ "type": "type(uint256)", "value": "uint256" }, - "id": 780, + "id": 804, "name": "ElementaryTypeNameExpression", "src": "434:7:7" }, @@ -903,26 +903,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 777, + "referencedDeclaration": 801, "type": "uint256", "value": "decimals" }, - "id": 781, + "id": 805, "name": "Identifier", "src": "442:8:7" } ], - "id": 782, + "id": 806, "name": "FunctionCall", "src": "434:17:7" } ], - "id": 783, + "id": 807, "name": "BinaryOperation", "src": "428:23:7" } ], - "id": 784, + "id": 808, "name": "VariableDeclaration", "src": "414:37:7" }, @@ -930,7 +930,7 @@ "attributes": { "constant": false, "name": "totalSupply", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -943,12 +943,12 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 809, "name": "ElementaryTypeName", "src": "458:7:7" } ], - "id": 786, + "id": 810, "name": "VariableDeclaration", "src": "458:26:7" }, @@ -956,7 +956,7 @@ "attributes": { "constant": false, "name": "avaliableSupply", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -969,12 +969,12 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 811, "name": "ElementaryTypeName", "src": "491:7:7" } ], - "id": 788, + "id": 812, "name": "VariableDeclaration", "src": "491:30:7" }, @@ -982,7 +982,7 @@ "attributes": { "constant": false, "name": "buyPrice", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -994,7 +994,7 @@ "name": "uint256", "type": "uint256" }, - "id": 789, + "id": 813, "name": "ElementaryTypeName", "src": "528:7:7" }, @@ -1011,12 +1011,12 @@ "type": "int_const 1000000000000000000", "value": "1000000000000000000" }, - "id": 790, + "id": 814, "name": "Literal", "src": "554:23:7" } ], - "id": 791, + "id": 815, "name": "VariableDeclaration", "src": "528:49:7" }, @@ -1024,7 +1024,7 @@ "attributes": { "constant": false, "name": "balanceOf", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => uint256)", @@ -1042,7 +1042,7 @@ "name": "address", "type": "address" }, - "id": 792, + "id": 816, "name": "ElementaryTypeName", "src": "643:7:7" }, @@ -1051,17 +1051,17 @@ "name": "uint256", "type": "uint256" }, - "id": 793, + "id": 817, "name": "ElementaryTypeName", "src": "654:7:7" } ], - "id": 794, + "id": 818, "name": "Mapping", "src": "634:28:7" } ], - "id": 795, + "id": 819, "name": "VariableDeclaration", "src": "634:45:7" }, @@ -1069,7 +1069,7 @@ "attributes": { "constant": false, "name": "allowance", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => uint256))", @@ -1087,7 +1087,7 @@ "name": "address", "type": "address" }, - "id": 796, + "id": 820, "name": "ElementaryTypeName", "src": "695:7:7" }, @@ -1101,7 +1101,7 @@ "name": "address", "type": "address" }, - "id": 797, + "id": 821, "name": "ElementaryTypeName", "src": "715:7:7" }, @@ -1110,22 +1110,22 @@ "name": "uint256", "type": "uint256" }, - "id": 798, + "id": 822, "name": "ElementaryTypeName", "src": "726:7:7" } ], - "id": 799, + "id": 823, "name": "Mapping", "src": "706:28:7" } ], - "id": 800, + "id": 824, "name": "Mapping", "src": "686:49:7" } ], - "id": 801, + "id": 825, "name": "VariableDeclaration", "src": "686:66:7" }, @@ -1142,7 +1142,7 @@ "constant": false, "indexed": true, "name": "from", - "scope": 809, + "scope": 833, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1155,12 +1155,12 @@ "name": "address", "type": "address" }, - "id": 802, + "id": 826, "name": "ElementaryTypeName", "src": "857:7:7" } ], - "id": 803, + "id": 827, "name": "VariableDeclaration", "src": "857:20:7" }, @@ -1169,7 +1169,7 @@ "constant": false, "indexed": true, "name": "to", - "scope": 809, + "scope": 833, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1182,12 +1182,12 @@ "name": "address", "type": "address" }, - "id": 804, + "id": 828, "name": "ElementaryTypeName", "src": "879:7:7" } ], - "id": 805, + "id": 829, "name": "VariableDeclaration", "src": "879:18:7" }, @@ -1196,7 +1196,7 @@ "constant": false, "indexed": false, "name": "value", - "scope": 809, + "scope": 833, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1209,22 +1209,22 @@ "name": "uint256", "type": "uint256" }, - "id": 806, + "id": 830, "name": "ElementaryTypeName", "src": "899:7:7" } ], - "id": 807, + "id": 831, "name": "VariableDeclaration", "src": "899:13:7" } ], - "id": 808, + "id": 832, "name": "ParameterList", "src": "856:57:7" } ], - "id": 809, + "id": 833, "name": "EventDefinition", "src": "842:72:7" }, @@ -1241,7 +1241,7 @@ "constant": false, "indexed": true, "name": "from", - "scope": 815, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1254,12 +1254,12 @@ "name": "address", "type": "address" }, - "id": 810, + "id": 834, "name": "ElementaryTypeName", "src": "931:7:7" } ], - "id": 811, + "id": 835, "name": "VariableDeclaration", "src": "931:20:7" }, @@ -1268,7 +1268,7 @@ "constant": false, "indexed": false, "name": "value", - "scope": 815, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1281,22 +1281,22 @@ "name": "uint256", "type": "uint256" }, - "id": 812, + "id": 836, "name": "ElementaryTypeName", "src": "953:7:7" } ], - "id": 813, + "id": 837, "name": "VariableDeclaration", "src": "953:13:7" } ], - "id": 814, + "id": 838, "name": "ParameterList", "src": "930:37:7" } ], - "id": 815, + "id": 839, "name": "EventDefinition", "src": "920:48:7" }, @@ -1313,7 +1313,7 @@ "constant": false, "indexed": true, "name": "_owner", - "scope": 823, + "scope": 847, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1326,12 +1326,12 @@ "name": "address", "type": "address" }, - "id": 816, + "id": 840, "name": "ElementaryTypeName", "src": "989:7:7" } ], - "id": 817, + "id": 841, "name": "VariableDeclaration", "src": "989:22:7" }, @@ -1340,7 +1340,7 @@ "constant": false, "indexed": true, "name": "_spender", - "scope": 823, + "scope": 847, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1353,12 +1353,12 @@ "name": "address", "type": "address" }, - "id": 818, + "id": 842, "name": "ElementaryTypeName", "src": "1013:7:7" } ], - "id": 819, + "id": 843, "name": "VariableDeclaration", "src": "1013:24:7" }, @@ -1367,7 +1367,7 @@ "constant": false, "indexed": false, "name": "_value", - "scope": 823, + "scope": 847, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1380,22 +1380,22 @@ "name": "uint256", "type": "uint256" }, - "id": 820, + "id": 844, "name": "ElementaryTypeName", "src": "1039:7:7" } ], - "id": 821, + "id": 845, "name": "VariableDeclaration", "src": "1039:14:7" } ], - "id": 822, + "id": 846, "name": "ParameterList", "src": "988:66:7" } ], - "id": 823, + "id": 847, "name": "EventDefinition", "src": "974:81:7" }, @@ -1409,7 +1409,7 @@ ], "name": "TokenERC20", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1421,7 +1421,7 @@ "attributes": { "constant": false, "name": "initialSupply", - "scope": 860, + "scope": 884, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1434,12 +1434,12 @@ "name": "uint256", "type": "uint256" }, - "id": 824, + "id": 848, "name": "ElementaryTypeName", "src": "1234:7:7" } ], - "id": 825, + "id": 849, "name": "VariableDeclaration", "src": "1234:21:7" }, @@ -1447,7 +1447,7 @@ "attributes": { "constant": false, "name": "tokenName", - "scope": 860, + "scope": 884, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -1460,12 +1460,12 @@ "name": "string", "type": "string storage pointer" }, - "id": 826, + "id": 850, "name": "ElementaryTypeName", "src": "1266:6:7" } ], - "id": 827, + "id": 851, "name": "VariableDeclaration", "src": "1266:16:7" }, @@ -1473,7 +1473,7 @@ "attributes": { "constant": false, "name": "tokenSymbol", - "scope": 860, + "scope": 884, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -1486,17 +1486,17 @@ "name": "string", "type": "string storage pointer" }, - "id": 828, + "id": 852, "name": "ElementaryTypeName", "src": "1293:6:7" } ], - "id": 829, + "id": 853, "name": "VariableDeclaration", "src": "1293:18:7" } ], - "id": 830, + "id": 854, "name": "ParameterList", "src": "1223:95:7" }, @@ -1507,7 +1507,7 @@ ] }, "children": [], - "id": 831, + "id": 855, "name": "ParameterList", "src": "1331:0:7" }, @@ -1532,11 +1532,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 810, "type": "uint256", "value": "totalSupply" }, - "id": 832, + "id": 856, "name": "Identifier", "src": "1342:11:7" }, @@ -1568,7 +1568,7 @@ "isPure": false, "lValueRequested": false, "member_name": "mul", - "referencedDeclaration": 262, + "referencedDeclaration": 273, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1578,16 +1578,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 849, "type": "uint256", "value": "initialSupply" }, - "id": 833, + "id": 857, "name": "Identifier", "src": "1356:13:7" } ], - "id": 834, + "id": 858, "name": "MemberAccess", "src": "1356:17:7" }, @@ -1597,26 +1597,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 784, + "referencedDeclaration": 808, "type": "uint256", "value": "DEC" }, - "id": 835, + "id": 859, "name": "Identifier", "src": "1374:3:7" } ], - "id": 836, + "id": 860, "name": "FunctionCall", "src": "1356:22:7" } ], - "id": 837, + "id": 861, "name": "Assignment", "src": "1342:36:7" } ], - "id": 838, + "id": 862, "name": "ExpressionStatement", "src": "1342:36:7" }, @@ -1649,11 +1649,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 839, + "id": 863, "name": "Identifier", "src": "1437:9:7" }, @@ -1663,16 +1663,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1336, + "referencedDeclaration": 1360, "type": "contract TokenERC20", "value": "this" }, - "id": 840, + "id": 864, "name": "Identifier", "src": "1447:4:7" } ], - "id": 841, + "id": 865, "name": "IndexAccess", "src": "1437:15:7" }, @@ -1682,21 +1682,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 810, "type": "uint256", "value": "totalSupply" }, - "id": 842, + "id": 866, "name": "Identifier", "src": "1455:11:7" } ], - "id": 843, + "id": 867, "name": "Assignment", "src": "1437:29:7" } ], - "id": 844, + "id": 868, "name": "ExpressionStatement", "src": "1437:29:7" }, @@ -1719,11 +1719,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 845, + "id": 869, "name": "Identifier", "src": "1524:15:7" }, @@ -1743,11 +1743,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 846, + "id": 870, "name": "Identifier", "src": "1542:9:7" }, @@ -1757,26 +1757,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1336, + "referencedDeclaration": 1360, "type": "contract TokenERC20", "value": "this" }, - "id": 847, + "id": 871, "name": "Identifier", "src": "1552:4:7" } ], - "id": 848, + "id": 872, "name": "IndexAccess", "src": "1542:15:7" } ], - "id": 849, + "id": 873, "name": "Assignment", "src": "1524:33:7" } ], - "id": 850, + "id": 874, "name": "ExpressionStatement", "src": "1524:33:7" }, @@ -1799,11 +1799,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 772, + "referencedDeclaration": 796, "type": "string storage ref", "value": "name" }, - "id": 851, + "id": 875, "name": "Identifier", "src": "1608:4:7" }, @@ -1813,21 +1813,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 827, + "referencedDeclaration": 851, "type": "string memory", "value": "tokenName" }, - "id": 852, + "id": 876, "name": "Identifier", "src": "1615:9:7" } ], - "id": 853, + "id": 877, "name": "Assignment", "src": "1608:16:7" } ], - "id": 854, + "id": 878, "name": "ExpressionStatement", "src": "1608:16:7" }, @@ -1850,11 +1850,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 774, + "referencedDeclaration": 798, "type": "string storage ref", "value": "symbol" }, - "id": 855, + "id": 879, "name": "Identifier", "src": "1693:6:7" }, @@ -1864,31 +1864,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 829, + "referencedDeclaration": 853, "type": "string memory", "value": "tokenSymbol" }, - "id": 856, + "id": 880, "name": "Identifier", "src": "1702:11:7" } ], - "id": 857, + "id": 881, "name": "Assignment", "src": "1693:20:7" } ], - "id": 858, + "id": 882, "name": "ExpressionStatement", "src": "1693:20:7" } ], - "id": 859, + "id": 883, "name": "Block", "src": "1331:446:7" } ], - "id": 860, + "id": 884, "name": "FunctionDefinition", "src": "1204:573:7" }, @@ -1902,7 +1902,7 @@ ], "name": "_transfer", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -1914,7 +1914,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 949, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1927,12 +1927,12 @@ "name": "address", "type": "address" }, - "id": 861, + "id": 885, "name": "ElementaryTypeName", "src": "2033:7:7" } ], - "id": 862, + "id": 886, "name": "VariableDeclaration", "src": "2033:13:7" }, @@ -1940,7 +1940,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 949, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1953,12 +1953,12 @@ "name": "address", "type": "address" }, - "id": 863, + "id": 887, "name": "ElementaryTypeName", "src": "2048:7:7" } ], - "id": 864, + "id": 888, "name": "VariableDeclaration", "src": "2048:11:7" }, @@ -1966,7 +1966,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 949, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1979,17 +1979,17 @@ "name": "uint256", "type": "uint256" }, - "id": 865, + "id": 889, "name": "ElementaryTypeName", "src": "2061:7:7" } ], - "id": 866, + "id": 890, "name": "VariableDeclaration", "src": "2061:14:7" } ], - "id": 867, + "id": 891, "name": "ParameterList", "src": "2032:44:7" }, @@ -2000,7 +2000,7 @@ ] }, "children": [], - "id": 868, + "id": 892, "name": "ParameterList", "src": "2091:0:7" }, @@ -2034,11 +2034,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 869, + "id": 893, "name": "Identifier", "src": "2166:7:7" }, @@ -2063,11 +2063,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 870, + "id": 894, "name": "Identifier", "src": "2174:3:7" }, @@ -2084,22 +2084,22 @@ "type": "int_const 0", "value": "0x0" }, - "id": 871, + "id": 895, "name": "Literal", "src": "2181:3:7" } ], - "id": 872, + "id": 896, "name": "BinaryOperation", "src": "2174:10:7" } ], - "id": 873, + "id": 897, "name": "FunctionCall", "src": "2166:19:7" } ], - "id": 874, + "id": 898, "name": "ExpressionStatement", "src": "2166:19:7" }, @@ -2131,11 +2131,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 875, + "id": 899, "name": "Identifier", "src": "2239:7:7" }, @@ -2170,11 +2170,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 876, + "id": 900, "name": "Identifier", "src": "2247:9:7" }, @@ -2184,16 +2184,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 886, "type": "address", "value": "_from" }, - "id": 877, + "id": 901, "name": "Identifier", "src": "2257:5:7" } ], - "id": 878, + "id": 902, "name": "IndexAccess", "src": "2247:16:7" }, @@ -2203,26 +2203,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 866, + "referencedDeclaration": 890, "type": "uint256", "value": "_value" }, - "id": 879, + "id": 903, "name": "Identifier", "src": "2267:6:7" } ], - "id": 880, + "id": 904, "name": "BinaryOperation", "src": "2247:26:7" } ], - "id": 881, + "id": 905, "name": "FunctionCall", "src": "2239:35:7" } ], - "id": 882, + "id": 906, "name": "ExpressionStatement", "src": "2239:35:7" }, @@ -2254,11 +2254,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 883, + "id": 907, "name": "Identifier", "src": "2317:7:7" }, @@ -2305,7 +2305,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2325,11 +2325,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 884, + "id": 908, "name": "Identifier", "src": "2325:9:7" }, @@ -2339,21 +2339,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 885, + "id": 909, "name": "Identifier", "src": "2335:3:7" } ], - "id": 886, + "id": 910, "name": "IndexAccess", "src": "2325:14:7" } ], - "id": 887, + "id": 911, "name": "MemberAccess", "src": "2325:18:7" }, @@ -2363,16 +2363,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 866, + "referencedDeclaration": 890, "type": "uint256", "value": "_value" }, - "id": 888, + "id": 912, "name": "Identifier", "src": "2344:6:7" } ], - "id": 889, + "id": 913, "name": "FunctionCall", "src": "2325:26:7" }, @@ -2392,11 +2392,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 890, + "id": 914, "name": "Identifier", "src": "2354:9:7" }, @@ -2406,38 +2406,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 891, + "id": 915, "name": "Identifier", "src": "2364:3:7" } ], - "id": 892, + "id": 916, "name": "IndexAccess", "src": "2354:14:7" } ], - "id": 893, + "id": 917, "name": "BinaryOperation", "src": "2325:43:7" } ], - "id": 894, + "id": 918, "name": "FunctionCall", "src": "2317:52:7" } ], - "id": 895, + "id": 919, "name": "ExpressionStatement", "src": "2317:52:7" }, { "attributes": { "assignments": [ - 897 + 921 ] }, "children": [ @@ -2445,7 +2445,7 @@ "attributes": { "constant": false, "name": "previousBalances", - "scope": 949, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2458,12 +2458,12 @@ "name": "uint", "type": "uint256" }, - "id": 896, + "id": 920, "name": "ElementaryTypeName", "src": "2433:4:7" } ], - "id": 897, + "id": 921, "name": "VariableDeclaration", "src": "2433:21:7" }, @@ -2495,7 +2495,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2515,11 +2515,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 898, + "id": 922, "name": "Identifier", "src": "2457:9:7" }, @@ -2529,21 +2529,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 886, "type": "address", "value": "_from" }, - "id": 899, + "id": 923, "name": "Identifier", "src": "2467:5:7" } ], - "id": 900, + "id": 924, "name": "IndexAccess", "src": "2457:16:7" } ], - "id": 901, + "id": 925, "name": "MemberAccess", "src": "2457:20:7" }, @@ -2563,11 +2563,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 902, + "id": 926, "name": "Identifier", "src": "2478:9:7" }, @@ -2577,26 +2577,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 903, + "id": 927, "name": "Identifier", "src": "2488:3:7" } ], - "id": 904, + "id": 928, "name": "IndexAccess", "src": "2478:14:7" } ], - "id": 905, + "id": 929, "name": "FunctionCall", "src": "2457:36:7" } ], - "id": 906, + "id": 930, "name": "VariableDeclarationStatement", "src": "2433:60:7" }, @@ -2629,11 +2629,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 907, + "id": 931, "name": "Identifier", "src": "2541:9:7" }, @@ -2643,16 +2643,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 886, "type": "address", "value": "_from" }, - "id": 908, + "id": 932, "name": "Identifier", "src": "2551:5:7" } ], - "id": 909, + "id": 933, "name": "IndexAccess", "src": "2541:16:7" }, @@ -2684,7 +2684,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2704,11 +2704,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 910, + "id": 934, "name": "Identifier", "src": "2560:9:7" }, @@ -2718,21 +2718,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 886, "type": "address", "value": "_from" }, - "id": 911, + "id": 935, "name": "Identifier", "src": "2570:5:7" } ], - "id": 912, + "id": 936, "name": "IndexAccess", "src": "2560:16:7" } ], - "id": 913, + "id": 937, "name": "MemberAccess", "src": "2560:20:7" }, @@ -2742,26 +2742,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 866, + "referencedDeclaration": 890, "type": "uint256", "value": "_value" }, - "id": 914, + "id": 938, "name": "Identifier", "src": "2581:6:7" } ], - "id": 915, + "id": 939, "name": "FunctionCall", "src": "2560:28:7" } ], - "id": 916, + "id": 940, "name": "Assignment", "src": "2541:47:7" } ], - "id": 917, + "id": 941, "name": "ExpressionStatement", "src": "2541:47:7" }, @@ -2794,11 +2794,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 918, + "id": 942, "name": "Identifier", "src": "2641:9:7" }, @@ -2808,16 +2808,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 919, + "id": 943, "name": "Identifier", "src": "2651:3:7" } ], - "id": 920, + "id": 944, "name": "IndexAccess", "src": "2641:14:7" }, @@ -2849,7 +2849,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2869,11 +2869,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 921, + "id": 945, "name": "Identifier", "src": "2658:9:7" }, @@ -2883,21 +2883,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 922, + "id": 946, "name": "Identifier", "src": "2668:3:7" } ], - "id": 923, + "id": 947, "name": "IndexAccess", "src": "2658:14:7" } ], - "id": 924, + "id": 948, "name": "MemberAccess", "src": "2658:18:7" }, @@ -2907,26 +2907,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 866, + "referencedDeclaration": 890, "type": "uint256", "value": "_value" }, - "id": 925, + "id": 949, "name": "Identifier", "src": "2677:6:7" } ], - "id": 926, + "id": 950, "name": "FunctionCall", "src": "2658:26:7" } ], - "id": 927, + "id": 951, "name": "Assignment", "src": "2641:43:7" } ], - "id": 928, + "id": 952, "name": "ExpressionStatement", "src": "2641:43:7" }, @@ -2966,11 +2966,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 809, + "referencedDeclaration": 833, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 929, + "id": 953, "name": "Identifier", "src": "2697:8:7" }, @@ -2980,11 +2980,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 886, "type": "address", "value": "_from" }, - "id": 930, + "id": 954, "name": "Identifier", "src": "2706:5:7" }, @@ -2994,11 +2994,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 931, + "id": 955, "name": "Identifier", "src": "2713:3:7" }, @@ -3008,21 +3008,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 866, + "referencedDeclaration": 890, "type": "uint256", "value": "_value" }, - "id": 932, + "id": 956, "name": "Identifier", "src": "2718:6:7" } ], - "id": 933, + "id": 957, "name": "FunctionCall", "src": "2697:28:7" } ], - "id": 934, + "id": 958, "name": "ExpressionStatement", "src": "2697:28:7" }, @@ -3054,11 +3054,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1310, + "referencedDeclaration": 1334, "type": "function (bool) pure", "value": "assert" }, - "id": 935, + "id": 959, "name": "Identifier", "src": "2838:6:7" }, @@ -3105,7 +3105,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -3125,11 +3125,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 936, + "id": 960, "name": "Identifier", "src": "2845:9:7" }, @@ -3139,21 +3139,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 886, "type": "address", "value": "_from" }, - "id": 937, + "id": 961, "name": "Identifier", "src": "2855:5:7" } ], - "id": 938, + "id": 962, "name": "IndexAccess", "src": "2845:16:7" } ], - "id": 939, + "id": 963, "name": "MemberAccess", "src": "2845:20:7" }, @@ -3173,11 +3173,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 940, + "id": 964, "name": "Identifier", "src": "2866:9:7" }, @@ -3187,21 +3187,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 941, + "id": 965, "name": "Identifier", "src": "2876:3:7" } ], - "id": 942, + "id": 966, "name": "IndexAccess", "src": "2866:14:7" } ], - "id": 943, + "id": 967, "name": "FunctionCall", "src": "2845:36:7" }, @@ -3211,36 +3211,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 897, + "referencedDeclaration": 921, "type": "uint256", "value": "previousBalances" }, - "id": 944, + "id": 968, "name": "Identifier", "src": "2885:16:7" } ], - "id": 945, + "id": 969, "name": "BinaryOperation", "src": "2845:56:7" } ], - "id": 946, + "id": 970, "name": "FunctionCall", "src": "2838:64:7" } ], - "id": 947, + "id": 971, "name": "ExpressionStatement", "src": "2838:64:7" } ], - "id": 948, + "id": 972, "name": "Block", "src": "2091:819:7" } ], - "id": 949, + "id": 973, "name": "FunctionDefinition", "src": "2014:896:7" }, @@ -3254,7 +3254,7 @@ ], "name": "transfer", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3266,7 +3266,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 964, + "scope": 988, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3279,12 +3279,12 @@ "name": "address", "type": "address" }, - "id": 950, + "id": 974, "name": "ElementaryTypeName", "src": "3139:7:7" } ], - "id": 951, + "id": 975, "name": "VariableDeclaration", "src": "3139:11:7" }, @@ -3292,7 +3292,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 964, + "scope": 988, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3305,17 +3305,17 @@ "name": "uint256", "type": "uint256" }, - "id": 952, + "id": 976, "name": "ElementaryTypeName", "src": "3152:7:7" } ], - "id": 953, + "id": 977, "name": "VariableDeclaration", "src": "3152:14:7" } ], - "id": 954, + "id": 978, "name": "ParameterList", "src": "3138:29:7" }, @@ -3326,7 +3326,7 @@ ] }, "children": [], - "id": 955, + "id": 979, "name": "ParameterList", "src": "3180:0:7" }, @@ -3368,11 +3368,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 949, + "referencedDeclaration": 973, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 956, + "id": 980, "name": "Identifier", "src": "3191:9:7" }, @@ -3394,16 +3394,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 957, + "id": 981, "name": "Identifier", "src": "3201:3:7" } ], - "id": 958, + "id": 982, "name": "MemberAccess", "src": "3201:10:7" }, @@ -3413,11 +3413,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 951, + "referencedDeclaration": 975, "type": "address", "value": "_to" }, - "id": 959, + "id": 983, "name": "Identifier", "src": "3213:3:7" }, @@ -3427,31 +3427,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 953, + "referencedDeclaration": 977, "type": "uint256", "value": "_value" }, - "id": 960, + "id": 984, "name": "Identifier", "src": "3218:6:7" } ], - "id": 961, + "id": 985, "name": "FunctionCall", "src": "3191:34:7" } ], - "id": 962, + "id": 986, "name": "ExpressionStatement", "src": "3191:34:7" } ], - "id": 963, + "id": 987, "name": "Block", "src": "3180:53:7" } ], - "id": 964, + "id": 988, "name": "FunctionDefinition", "src": "3121:112:7" }, @@ -3465,7 +3465,7 @@ ], "name": "transferFrom", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3477,7 +3477,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 1012, + "scope": 1036, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3490,12 +3490,12 @@ "name": "address", "type": "address" }, - "id": 965, + "id": 989, "name": "ElementaryTypeName", "src": "3535:7:7" } ], - "id": 966, + "id": 990, "name": "VariableDeclaration", "src": "3535:13:7" }, @@ -3503,7 +3503,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 1012, + "scope": 1036, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3516,12 +3516,12 @@ "name": "address", "type": "address" }, - "id": 967, + "id": 991, "name": "ElementaryTypeName", "src": "3550:7:7" } ], - "id": 968, + "id": 992, "name": "VariableDeclaration", "src": "3550:11:7" }, @@ -3529,7 +3529,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1012, + "scope": 1036, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3542,17 +3542,17 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 993, "name": "ElementaryTypeName", "src": "3563:7:7" } ], - "id": 970, + "id": 994, "name": "VariableDeclaration", "src": "3563:14:7" } ], - "id": 971, + "id": 995, "name": "ParameterList", "src": "3534:44:7" }, @@ -3562,7 +3562,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1012, + "scope": 1036, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -3575,17 +3575,17 @@ "name": "bool", "type": "bool" }, - "id": 972, + "id": 996, "name": "ElementaryTypeName", "src": "3604:4:7" } ], - "id": 973, + "id": 997, "name": "VariableDeclaration", "src": "3604:12:7" } ], - "id": 974, + "id": 998, "name": "ParameterList", "src": "3603:14:7" }, @@ -3619,11 +3619,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 975, + "id": 999, "name": "Identifier", "src": "3634:7:7" }, @@ -3648,11 +3648,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 970, + "referencedDeclaration": 994, "type": "uint256", "value": "_value" }, - "id": 976, + "id": 1000, "name": "Identifier", "src": "3642:6:7" }, @@ -3682,11 +3682,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 977, + "id": 1001, "name": "Identifier", "src": "3652:9:7" }, @@ -3696,16 +3696,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 966, + "referencedDeclaration": 990, "type": "address", "value": "_from" }, - "id": 978, + "id": 1002, "name": "Identifier", "src": "3662:5:7" } ], - "id": 979, + "id": 1003, "name": "IndexAccess", "src": "3652:16:7" }, @@ -3727,36 +3727,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 980, + "id": 1004, "name": "Identifier", "src": "3669:3:7" } ], - "id": 981, + "id": 1005, "name": "MemberAccess", "src": "3669:10:7" } ], - "id": 982, + "id": 1006, "name": "IndexAccess", "src": "3652:28:7" } ], - "id": 983, + "id": 1007, "name": "BinaryOperation", "src": "3642:38:7" } ], - "id": 984, + "id": 1008, "name": "FunctionCall", "src": "3634:47:7" } ], - "id": 985, + "id": 1009, "name": "ExpressionStatement", "src": "3634:47:7" }, @@ -3799,11 +3799,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 986, + "id": 1010, "name": "Identifier", "src": "3717:9:7" }, @@ -3813,16 +3813,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 966, + "referencedDeclaration": 990, "type": "address", "value": "_from" }, - "id": 987, + "id": 1011, "name": "Identifier", "src": "3727:5:7" } ], - "id": 990, + "id": 1014, "name": "IndexAccess", "src": "3717:16:7" }, @@ -3844,21 +3844,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 988, + "id": 1012, "name": "Identifier", "src": "3734:3:7" } ], - "id": 989, + "id": 1013, "name": "MemberAccess", "src": "3734:10:7" } ], - "id": 991, + "id": 1015, "name": "IndexAccess", "src": "3717:28:7" }, @@ -3890,7 +3890,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -3920,11 +3920,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 992, + "id": 1016, "name": "Identifier", "src": "3748:9:7" }, @@ -3934,16 +3934,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 966, + "referencedDeclaration": 990, "type": "address", "value": "_from" }, - "id": 993, + "id": 1017, "name": "Identifier", "src": "3758:5:7" } ], - "id": 994, + "id": 1018, "name": "IndexAccess", "src": "3748:16:7" }, @@ -3965,26 +3965,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 995, + "id": 1019, "name": "Identifier", "src": "3765:3:7" } ], - "id": 996, + "id": 1020, "name": "MemberAccess", "src": "3765:10:7" } ], - "id": 997, + "id": 1021, "name": "IndexAccess", "src": "3748:28:7" } ], - "id": 998, + "id": 1022, "name": "MemberAccess", "src": "3748:32:7" }, @@ -3994,26 +3994,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 970, + "referencedDeclaration": 994, "type": "uint256", "value": "_value" }, - "id": 999, + "id": 1023, "name": "Identifier", "src": "3781:6:7" } ], - "id": 1000, + "id": 1024, "name": "FunctionCall", "src": "3748:40:7" } ], - "id": 1001, + "id": 1025, "name": "Assignment", "src": "3717:71:7" } ], - "id": 1002, + "id": 1026, "name": "ExpressionStatement", "src": "3717:71:7" }, @@ -4053,11 +4053,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 949, + "referencedDeclaration": 973, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 1003, + "id": 1027, "name": "Identifier", "src": "3799:9:7" }, @@ -4067,11 +4067,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 966, + "referencedDeclaration": 990, "type": "address", "value": "_from" }, - "id": 1004, + "id": 1028, "name": "Identifier", "src": "3809:5:7" }, @@ -4081,11 +4081,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 968, + "referencedDeclaration": 992, "type": "address", "value": "_to" }, - "id": 1005, + "id": 1029, "name": "Identifier", "src": "3816:3:7" }, @@ -4095,27 +4095,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 970, + "referencedDeclaration": 994, "type": "uint256", "value": "_value" }, - "id": 1006, + "id": 1030, "name": "Identifier", "src": "3821:6:7" } ], - "id": 1007, + "id": 1031, "name": "FunctionCall", "src": "3799:29:7" } ], - "id": 1008, + "id": 1032, "name": "ExpressionStatement", "src": "3799:29:7" }, { "attributes": { - "functionReturnParameters": 974 + "functionReturnParameters": 998 }, "children": [ { @@ -4131,22 +4131,22 @@ "type": "bool", "value": "true" }, - "id": 1009, + "id": 1033, "name": "Literal", "src": "3848:4:7" } ], - "id": 1010, + "id": 1034, "name": "Return", "src": "3841:11:7" } ], - "id": 1011, + "id": 1035, "name": "Block", "src": "3623:237:7" } ], - "id": 1012, + "id": 1036, "name": "FunctionDefinition", "src": "3513:347:7" }, @@ -4160,7 +4160,7 @@ ], "name": "approve", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4172,7 +4172,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1033, + "scope": 1057, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4185,12 +4185,12 @@ "name": "address", "type": "address" }, - "id": 1013, + "id": 1037, "name": "ElementaryTypeName", "src": "4146:7:7" } ], - "id": 1014, + "id": 1038, "name": "VariableDeclaration", "src": "4146:16:7" }, @@ -4198,7 +4198,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1033, + "scope": 1057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4211,17 +4211,17 @@ "name": "uint256", "type": "uint256" }, - "id": 1015, + "id": 1039, "name": "ElementaryTypeName", "src": "4164:7:7" } ], - "id": 1016, + "id": 1040, "name": "VariableDeclaration", "src": "4164:14:7" } ], - "id": 1017, + "id": 1041, "name": "ParameterList", "src": "4145:34:7" }, @@ -4231,7 +4231,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1033, + "scope": 1057, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -4244,17 +4244,17 @@ "name": "bool", "type": "bool" }, - "id": 1018, + "id": 1042, "name": "ElementaryTypeName", "src": "4205:4:7" } ], - "id": 1019, + "id": 1043, "name": "VariableDeclaration", "src": "4205:12:7" } ], - "id": 1020, + "id": 1044, "name": "ParameterList", "src": "4204:14:7" }, @@ -4299,11 +4299,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1021, + "id": 1045, "name": "Identifier", "src": "4235:9:7" }, @@ -4325,21 +4325,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1022, + "id": 1046, "name": "Identifier", "src": "4245:3:7" } ], - "id": 1023, + "id": 1047, "name": "MemberAccess", "src": "4245:10:7" } ], - "id": 1025, + "id": 1049, "name": "IndexAccess", "src": "4235:21:7" }, @@ -4349,16 +4349,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1014, + "referencedDeclaration": 1038, "type": "address", "value": "_spender" }, - "id": 1024, + "id": 1048, "name": "Identifier", "src": "4257:8:7" } ], - "id": 1026, + "id": 1050, "name": "IndexAccess", "src": "4235:31:7" }, @@ -4368,27 +4368,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1016, + "referencedDeclaration": 1040, "type": "uint256", "value": "_value" }, - "id": 1027, + "id": 1051, "name": "Identifier", "src": "4269:6:7" } ], - "id": 1028, + "id": 1052, "name": "Assignment", "src": "4235:40:7" } ], - "id": 1029, + "id": 1053, "name": "ExpressionStatement", "src": "4235:40:7" }, { "attributes": { - "functionReturnParameters": 1020 + "functionReturnParameters": 1044 }, "children": [ { @@ -4404,22 +4404,22 @@ "type": "bool", "value": "true" }, - "id": 1030, + "id": 1054, "name": "Literal", "src": "4295:4:7" } ], - "id": 1031, + "id": 1055, "name": "Return", "src": "4288:11:7" } ], - "id": 1032, + "id": 1056, "name": "Block", "src": "4224:83:7" } ], - "id": 1033, + "id": 1057, "name": "FunctionDefinition", "src": "4129:178:7" }, @@ -4430,7 +4430,7 @@ "isConstructor": false, "name": "approveAndCall", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4442,7 +4442,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1071, + "scope": 1095, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4455,12 +4455,12 @@ "name": "address", "type": "address" }, - "id": 1034, + "id": 1058, "name": "ElementaryTypeName", "src": "4730:7:7" } ], - "id": 1035, + "id": 1059, "name": "VariableDeclaration", "src": "4730:16:7" }, @@ -4468,7 +4468,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1071, + "scope": 1095, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4481,12 +4481,12 @@ "name": "uint256", "type": "uint256" }, - "id": 1036, + "id": 1060, "name": "ElementaryTypeName", "src": "4748:7:7" } ], - "id": 1037, + "id": 1061, "name": "VariableDeclaration", "src": "4748:14:7" }, @@ -4494,7 +4494,7 @@ "attributes": { "constant": false, "name": "_extraData", - "scope": 1071, + "scope": 1095, "stateVariable": false, "storageLocation": "default", "type": "bytes memory", @@ -4507,17 +4507,17 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 1038, + "id": 1062, "name": "ElementaryTypeName", "src": "4764:5:7" } ], - "id": 1039, + "id": 1063, "name": "VariableDeclaration", "src": "4764:16:7" } ], - "id": 1040, + "id": 1064, "name": "ParameterList", "src": "4729:52:7" }, @@ -4527,7 +4527,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1071, + "scope": 1095, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -4540,17 +4540,17 @@ "name": "bool", "type": "bool" }, - "id": 1043, + "id": 1067, "name": "ElementaryTypeName", "src": "4817:4:7" } ], - "id": 1044, + "id": 1068, "name": "VariableDeclaration", "src": "4817:12:7" } ], - "id": 1045, + "id": 1069, "name": "ParameterList", "src": "4816:14:7" }, @@ -4571,12 +4571,12 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 1041, + "id": 1065, "name": "Identifier", "src": "4789:9:7" } ], - "id": 1042, + "id": 1066, "name": "ModifierInvocation", "src": "4789:9:7" }, @@ -4585,7 +4585,7 @@ { "attributes": { "assignments": [ - 1047 + 1071 ] }, "children": [ @@ -4593,7 +4593,7 @@ "attributes": { "constant": false, "name": "spender", - "scope": 1071, + "scope": 1095, "stateVariable": false, "storageLocation": "default", "type": "contract tokenRecipient", @@ -4605,15 +4605,15 @@ "attributes": { "contractScope": null, "name": "tokenRecipient", - "referencedDeclaration": 765, + "referencedDeclaration": 789, "type": "contract tokenRecipient" }, - "id": 1046, + "id": 1070, "name": "UserDefinedTypeName", "src": "4847:14:7" } ], - "id": 1047, + "id": 1071, "name": "VariableDeclaration", "src": "4847:22:7" }, @@ -4643,11 +4643,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 765, + "referencedDeclaration": 789, "type": "type(contract tokenRecipient)", "value": "tokenRecipient" }, - "id": 1048, + "id": 1072, "name": "Identifier", "src": "4872:14:7" }, @@ -4657,21 +4657,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1035, + "referencedDeclaration": 1059, "type": "address", "value": "_spender" }, - "id": 1049, + "id": 1073, "name": "Identifier", "src": "4887:8:7" } ], - "id": 1050, + "id": 1074, "name": "FunctionCall", "src": "4872:24:7" } ], - "id": 1051, + "id": 1075, "name": "VariableDeclarationStatement", "src": "4847:49:7" }, @@ -4710,11 +4710,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1033, + "referencedDeclaration": 1057, "type": "function (address,uint256) returns (bool)", "value": "approve" }, - "id": 1052, + "id": 1076, "name": "Identifier", "src": "4913:7:7" }, @@ -4724,11 +4724,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1035, + "referencedDeclaration": 1059, "type": "address", "value": "_spender" }, - "id": 1053, + "id": 1077, "name": "Identifier", "src": "4921:8:7" }, @@ -4738,16 +4738,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1037, + "referencedDeclaration": 1061, "type": "uint256", "value": "_value" }, - "id": 1054, + "id": 1078, "name": "Identifier", "src": "4931:6:7" } ], - "id": 1055, + "id": 1079, "name": "FunctionCall", "src": "4913:25:7" }, @@ -4782,7 +4782,7 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_contract$_TokenERC20_$1307", + "typeIdentifier": "t_contract$_TokenERC20_$1331", "typeString": "contract TokenERC20" }, { @@ -4795,7 +4795,7 @@ "isPure": false, "lValueRequested": false, "member_name": "receiveApproval", - "referencedDeclaration": 764, + "referencedDeclaration": 788, "type": "function (address,uint256,address,bytes memory) external" }, "children": [ @@ -4805,16 +4805,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1047, + "referencedDeclaration": 1071, "type": "contract tokenRecipient", "value": "spender" }, - "id": 1056, + "id": 1080, "name": "Identifier", "src": "4955:7:7" } ], - "id": 1058, + "id": 1082, "name": "MemberAccess", "src": "4955:23:7" }, @@ -4836,16 +4836,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1059, + "id": 1083, "name": "Identifier", "src": "4979:3:7" } ], - "id": 1060, + "id": 1084, "name": "MemberAccess", "src": "4979:10:7" }, @@ -4855,11 +4855,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1037, + "referencedDeclaration": 1061, "type": "uint256", "value": "_value" }, - "id": 1061, + "id": 1085, "name": "Identifier", "src": "4991:6:7" }, @@ -4869,11 +4869,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1336, + "referencedDeclaration": 1360, "type": "contract TokenERC20", "value": "this" }, - "id": 1062, + "id": 1086, "name": "Identifier", "src": "4999:4:7" }, @@ -4883,27 +4883,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1039, + "referencedDeclaration": 1063, "type": "bytes memory", "value": "_extraData" }, - "id": 1063, + "id": 1087, "name": "Identifier", "src": "5005:10:7" } ], - "id": 1064, + "id": 1088, "name": "FunctionCall", "src": "4955:61:7" } ], - "id": 1065, + "id": 1089, "name": "ExpressionStatement", "src": "4955:61:7" }, { "attributes": { - "functionReturnParameters": 1045 + "functionReturnParameters": 1069 }, "children": [ { @@ -4919,32 +4919,32 @@ "type": "bool", "value": "true" }, - "id": 1066, + "id": 1090, "name": "Literal", "src": "5040:4:7" } ], - "id": 1067, + "id": 1091, "name": "Return", "src": "5033:11:7" } ], - "id": 1068, + "id": 1092, "name": "Block", "src": "4940:116:7" } ], - "id": 1069, + "id": 1093, "name": "IfStatement", "src": "4909:147:7" } ], - "id": 1070, + "id": 1094, "name": "Block", "src": "4836:227:7" } ], - "id": 1071, + "id": 1095, "name": "FunctionDefinition", "src": "4706:357:7" }, @@ -4958,7 +4958,7 @@ ], "name": "increaseApproval", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4970,7 +4970,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1112, + "scope": 1136, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4983,12 +4983,12 @@ "name": "address", "type": "address" }, - "id": 1072, + "id": 1096, "name": "ElementaryTypeName", "src": "5352:7:7" } ], - "id": 1073, + "id": 1097, "name": "VariableDeclaration", "src": "5352:16:7" }, @@ -4996,7 +4996,7 @@ "attributes": { "constant": false, "name": "_addedValue", - "scope": 1112, + "scope": 1136, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5009,17 +5009,17 @@ "name": "uint", "type": "uint256" }, - "id": 1074, + "id": 1098, "name": "ElementaryTypeName", "src": "5370:4:7" } ], - "id": 1075, + "id": 1099, "name": "VariableDeclaration", "src": "5370:16:7" } ], - "id": 1076, + "id": 1100, "name": "ParameterList", "src": "5351:36:7" }, @@ -5029,7 +5029,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1112, + "scope": 1136, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -5042,17 +5042,17 @@ "name": "bool", "type": "bool" }, - "id": 1077, + "id": 1101, "name": "ElementaryTypeName", "src": "5413:4:7" } ], - "id": 1078, + "id": 1102, "name": "VariableDeclaration", "src": "5413:12:7" } ], - "id": 1079, + "id": 1103, "name": "ParameterList", "src": "5412:14:7" }, @@ -5097,11 +5097,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1080, + "id": 1104, "name": "Identifier", "src": "5443:9:7" }, @@ -5123,21 +5123,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1081, + "id": 1105, "name": "Identifier", "src": "5453:3:7" } ], - "id": 1082, + "id": 1106, "name": "MemberAccess", "src": "5453:10:7" } ], - "id": 1084, + "id": 1108, "name": "IndexAccess", "src": "5443:21:7" }, @@ -5147,16 +5147,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1073, + "referencedDeclaration": 1097, "type": "address", "value": "_spender" }, - "id": 1083, + "id": 1107, "name": "Identifier", "src": "5465:8:7" } ], - "id": 1085, + "id": 1109, "name": "IndexAccess", "src": "5443:31:7" }, @@ -5188,7 +5188,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -5218,11 +5218,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1086, + "id": 1110, "name": "Identifier", "src": "5477:9:7" }, @@ -5244,21 +5244,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1087, + "id": 1111, "name": "Identifier", "src": "5487:3:7" } ], - "id": 1088, + "id": 1112, "name": "MemberAccess", "src": "5487:10:7" } ], - "id": 1089, + "id": 1113, "name": "IndexAccess", "src": "5477:21:7" }, @@ -5268,21 +5268,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1073, + "referencedDeclaration": 1097, "type": "address", "value": "_spender" }, - "id": 1090, + "id": 1114, "name": "Identifier", "src": "5499:8:7" } ], - "id": 1091, + "id": 1115, "name": "IndexAccess", "src": "5477:31:7" } ], - "id": 1092, + "id": 1116, "name": "MemberAccess", "src": "5477:35:7" }, @@ -5292,26 +5292,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1075, + "referencedDeclaration": 1099, "type": "uint256", "value": "_addedValue" }, - "id": 1093, + "id": 1117, "name": "Identifier", "src": "5513:11:7" } ], - "id": 1094, + "id": 1118, "name": "FunctionCall", "src": "5477:48:7" } ], - "id": 1095, + "id": 1119, "name": "Assignment", "src": "5443:82:7" } ], - "id": 1096, + "id": 1120, "name": "ExpressionStatement", "src": "5443:82:7" }, @@ -5351,11 +5351,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 823, + "referencedDeclaration": 847, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 1097, + "id": 1121, "name": "Identifier", "src": "5538:8:7" }, @@ -5377,16 +5377,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1098, + "id": 1122, "name": "Identifier", "src": "5547:3:7" } ], - "id": 1099, + "id": 1123, "name": "MemberAccess", "src": "5547:10:7" }, @@ -5396,11 +5396,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1073, + "referencedDeclaration": 1097, "type": "address", "value": "_spender" }, - "id": 1100, + "id": 1124, "name": "Identifier", "src": "5559:8:7" }, @@ -5430,11 +5430,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1101, + "id": 1125, "name": "Identifier", "src": "5569:9:7" }, @@ -5456,21 +5456,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1102, + "id": 1126, "name": "Identifier", "src": "5579:3:7" } ], - "id": 1103, + "id": 1127, "name": "MemberAccess", "src": "5579:10:7" } ], - "id": 1104, + "id": 1128, "name": "IndexAccess", "src": "5569:21:7" }, @@ -5480,32 +5480,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1073, + "referencedDeclaration": 1097, "type": "address", "value": "_spender" }, - "id": 1105, + "id": 1129, "name": "Identifier", "src": "5591:8:7" } ], - "id": 1106, + "id": 1130, "name": "IndexAccess", "src": "5569:31:7" } ], - "id": 1107, + "id": 1131, "name": "FunctionCall", "src": "5538:63:7" } ], - "id": 1108, + "id": 1132, "name": "ExpressionStatement", "src": "5538:63:7" }, { "attributes": { - "functionReturnParameters": 1079 + "functionReturnParameters": 1103 }, "children": [ { @@ -5521,22 +5521,22 @@ "type": "bool", "value": "true" }, - "id": 1109, + "id": 1133, "name": "Literal", "src": "5621:4:7" } ], - "id": 1110, + "id": 1134, "name": "Return", "src": "5614:11:7" } ], - "id": 1111, + "id": 1135, "name": "Block", "src": "5432:201:7" } ], - "id": 1112, + "id": 1136, "name": "FunctionDefinition", "src": "5325:308:7" }, @@ -5550,7 +5550,7 @@ ], "name": "decreaseApproval", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -5562,7 +5562,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1172, + "scope": 1196, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -5575,12 +5575,12 @@ "name": "address", "type": "address" }, - "id": 1113, + "id": 1137, "name": "ElementaryTypeName", "src": "5668:7:7" } ], - "id": 1114, + "id": 1138, "name": "VariableDeclaration", "src": "5668:16:7" }, @@ -5588,7 +5588,7 @@ "attributes": { "constant": false, "name": "_subtractedValue", - "scope": 1172, + "scope": 1196, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5601,17 +5601,17 @@ "name": "uint", "type": "uint256" }, - "id": 1115, + "id": 1139, "name": "ElementaryTypeName", "src": "5686:4:7" } ], - "id": 1116, + "id": 1140, "name": "VariableDeclaration", "src": "5686:21:7" } ], - "id": 1117, + "id": 1141, "name": "ParameterList", "src": "5667:41:7" }, @@ -5621,7 +5621,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1172, + "scope": 1196, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -5634,17 +5634,17 @@ "name": "bool", "type": "bool" }, - "id": 1118, + "id": 1142, "name": "ElementaryTypeName", "src": "5734:4:7" } ], - "id": 1119, + "id": 1143, "name": "VariableDeclaration", "src": "5734:12:7" } ], - "id": 1120, + "id": 1144, "name": "ParameterList", "src": "5733:14:7" }, @@ -5653,7 +5653,7 @@ { "attributes": { "assignments": [ - 1122 + 1146 ] }, "children": [ @@ -5661,7 +5661,7 @@ "attributes": { "constant": false, "name": "oldValue", - "scope": 1172, + "scope": 1196, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5674,12 +5674,12 @@ "name": "uint", "type": "uint256" }, - "id": 1121, + "id": 1145, "name": "ElementaryTypeName", "src": "5764:4:7" } ], - "id": 1122, + "id": 1146, "name": "VariableDeclaration", "src": "5764:13:7" }, @@ -5709,11 +5709,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1123, + "id": 1147, "name": "Identifier", "src": "5780:9:7" }, @@ -5735,21 +5735,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1124, + "id": 1148, "name": "Identifier", "src": "5790:3:7" } ], - "id": 1125, + "id": 1149, "name": "MemberAccess", "src": "5790:10:7" } ], - "id": 1126, + "id": 1150, "name": "IndexAccess", "src": "5780:21:7" }, @@ -5759,21 +5759,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1114, + "referencedDeclaration": 1138, "type": "address", "value": "_spender" }, - "id": 1127, + "id": 1151, "name": "Identifier", "src": "5802:8:7" } ], - "id": 1128, + "id": 1152, "name": "IndexAccess", "src": "5780:31:7" } ], - "id": 1129, + "id": 1153, "name": "VariableDeclarationStatement", "src": "5764:47:7" }, @@ -5800,11 +5800,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1116, + "referencedDeclaration": 1140, "type": "uint256", "value": "_subtractedValue" }, - "id": 1130, + "id": 1154, "name": "Identifier", "src": "5828:16:7" }, @@ -5814,16 +5814,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1122, + "referencedDeclaration": 1146, "type": "uint256", "value": "oldValue" }, - "id": 1131, + "id": 1155, "name": "Identifier", "src": "5847:8:7" } ], - "id": 1132, + "id": 1156, "name": "BinaryOperation", "src": "5828:27:7" }, @@ -5868,11 +5868,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1133, + "id": 1157, "name": "Identifier", "src": "5872:9:7" }, @@ -5894,21 +5894,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1134, + "id": 1158, "name": "Identifier", "src": "5882:3:7" } ], - "id": 1135, + "id": 1159, "name": "MemberAccess", "src": "5882:10:7" } ], - "id": 1137, + "id": 1161, "name": "IndexAccess", "src": "5872:21:7" }, @@ -5918,16 +5918,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1114, + "referencedDeclaration": 1138, "type": "address", "value": "_spender" }, - "id": 1136, + "id": 1160, "name": "Identifier", "src": "5894:8:7" } ], - "id": 1138, + "id": 1162, "name": "IndexAccess", "src": "5872:31:7" }, @@ -5944,22 +5944,22 @@ "type": "int_const 0", "value": "0" }, - "id": 1139, + "id": 1163, "name": "Literal", "src": "5906:1:7" } ], - "id": 1140, + "id": 1164, "name": "Assignment", "src": "5872:35:7" } ], - "id": 1141, + "id": 1165, "name": "ExpressionStatement", "src": "5872:35:7" } ], - "id": 1142, + "id": 1166, "name": "Block", "src": "5857:62:7" }, @@ -6004,11 +6004,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1143, + "id": 1167, "name": "Identifier", "src": "5940:9:7" }, @@ -6030,21 +6030,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1144, + "id": 1168, "name": "Identifier", "src": "5950:3:7" } ], - "id": 1145, + "id": 1169, "name": "MemberAccess", "src": "5950:10:7" } ], - "id": 1147, + "id": 1171, "name": "IndexAccess", "src": "5940:21:7" }, @@ -6054,16 +6054,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1114, + "referencedDeclaration": 1138, "type": "address", "value": "_spender" }, - "id": 1146, + "id": 1170, "name": "Identifier", "src": "5962:8:7" } ], - "id": 1148, + "id": 1172, "name": "IndexAccess", "src": "5940:31:7" }, @@ -6095,7 +6095,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -6105,16 +6105,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1122, + "referencedDeclaration": 1146, "type": "uint256", "value": "oldValue" }, - "id": 1149, + "id": 1173, "name": "Identifier", "src": "5974:8:7" } ], - "id": 1150, + "id": 1174, "name": "MemberAccess", "src": "5974:12:7" }, @@ -6124,36 +6124,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1116, + "referencedDeclaration": 1140, "type": "uint256", "value": "_subtractedValue" }, - "id": 1151, + "id": 1175, "name": "Identifier", "src": "5987:16:7" } ], - "id": 1152, + "id": 1176, "name": "FunctionCall", "src": "5974:30:7" } ], - "id": 1153, + "id": 1177, "name": "Assignment", "src": "5940:64:7" } ], - "id": 1154, + "id": 1178, "name": "ExpressionStatement", "src": "5940:64:7" } ], - "id": 1155, + "id": 1179, "name": "Block", "src": "5925:91:7" } ], - "id": 1156, + "id": 1180, "name": "IfStatement", "src": "5824:192:7" }, @@ -6193,11 +6193,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 823, + "referencedDeclaration": 847, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 1157, + "id": 1181, "name": "Identifier", "src": "6028:8:7" }, @@ -6219,16 +6219,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1158, + "id": 1182, "name": "Identifier", "src": "6037:3:7" } ], - "id": 1159, + "id": 1183, "name": "MemberAccess", "src": "6037:10:7" }, @@ -6238,11 +6238,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1114, + "referencedDeclaration": 1138, "type": "address", "value": "_spender" }, - "id": 1160, + "id": 1184, "name": "Identifier", "src": "6049:8:7" }, @@ -6272,11 +6272,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1161, + "id": 1185, "name": "Identifier", "src": "6059:9:7" }, @@ -6298,21 +6298,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1162, + "id": 1186, "name": "Identifier", "src": "6069:3:7" } ], - "id": 1163, + "id": 1187, "name": "MemberAccess", "src": "6069:10:7" } ], - "id": 1164, + "id": 1188, "name": "IndexAccess", "src": "6059:21:7" }, @@ -6322,32 +6322,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1114, + "referencedDeclaration": 1138, "type": "address", "value": "_spender" }, - "id": 1165, + "id": 1189, "name": "Identifier", "src": "6081:8:7" } ], - "id": 1166, + "id": 1190, "name": "IndexAccess", "src": "6059:31:7" } ], - "id": 1167, + "id": 1191, "name": "FunctionCall", "src": "6028:63:7" } ], - "id": 1168, + "id": 1192, "name": "ExpressionStatement", "src": "6028:63:7" }, { "attributes": { - "functionReturnParameters": 1120 + "functionReturnParameters": 1144 }, "children": [ { @@ -6363,22 +6363,22 @@ "type": "bool", "value": "true" }, - "id": 1169, + "id": 1193, "name": "Literal", "src": "6111:4:7" } ], - "id": 1170, + "id": 1194, "name": "Return", "src": "6104:11:7" } ], - "id": 1171, + "id": 1195, "name": "Block", "src": "5753:370:7" } ], - "id": 1172, + "id": 1196, "name": "FunctionDefinition", "src": "5641:482:7" }, @@ -6389,7 +6389,7 @@ "isConstructor": false, "name": "burn", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6401,7 +6401,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1226, + "scope": 1250, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6414,17 +6414,17 @@ "name": "uint256", "type": "uint256" }, - "id": 1173, + "id": 1197, "name": "ElementaryTypeName", "src": "6312:7:7" } ], - "id": 1174, + "id": 1198, "name": "VariableDeclaration", "src": "6312:14:7" } ], - "id": 1175, + "id": 1199, "name": "ParameterList", "src": "6311:16:7" }, @@ -6434,7 +6434,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1226, + "scope": 1250, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -6447,17 +6447,17 @@ "name": "bool", "type": "bool" }, - "id": 1178, + "id": 1202, "name": "ElementaryTypeName", "src": "6363:4:7" } ], - "id": 1179, + "id": 1203, "name": "VariableDeclaration", "src": "6363:12:7" } ], - "id": 1180, + "id": 1204, "name": "ParameterList", "src": "6362:14:7" }, @@ -6478,12 +6478,12 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 1176, + "id": 1200, "name": "Identifier", "src": "6335:9:7" } ], - "id": 1177, + "id": 1201, "name": "ModifierInvocation", "src": "6335:9:7" }, @@ -6517,11 +6517,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 1181, + "id": 1205, "name": "Identifier", "src": "6393:7:7" }, @@ -6556,11 +6556,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1182, + "id": 1206, "name": "Identifier", "src": "6401:9:7" }, @@ -6582,21 +6582,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1183, + "id": 1207, "name": "Identifier", "src": "6411:3:7" } ], - "id": 1184, + "id": 1208, "name": "MemberAccess", "src": "6411:10:7" } ], - "id": 1185, + "id": 1209, "name": "IndexAccess", "src": "6401:21:7" }, @@ -6606,26 +6606,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 1198, "type": "uint256", "value": "_value" }, - "id": 1186, + "id": 1210, "name": "Identifier", "src": "6426:6:7" } ], - "id": 1187, + "id": 1211, "name": "BinaryOperation", "src": "6401:31:7" } ], - "id": 1188, + "id": 1212, "name": "FunctionCall", "src": "6393:40:7" } ], - "id": 1189, + "id": 1213, "name": "ExpressionStatement", "src": "6393:40:7" }, @@ -6658,11 +6658,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1190, + "id": 1214, "name": "Identifier", "src": "6482:9:7" }, @@ -6684,21 +6684,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1191, + "id": 1215, "name": "Identifier", "src": "6492:3:7" } ], - "id": 1192, + "id": 1216, "name": "MemberAccess", "src": "6492:10:7" } ], - "id": 1193, + "id": 1217, "name": "IndexAccess", "src": "6482:21:7" }, @@ -6730,7 +6730,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -6750,11 +6750,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1194, + "id": 1218, "name": "Identifier", "src": "6506:9:7" }, @@ -6776,26 +6776,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1195, + "id": 1219, "name": "Identifier", "src": "6516:3:7" } ], - "id": 1196, + "id": 1220, "name": "MemberAccess", "src": "6516:10:7" } ], - "id": 1197, + "id": 1221, "name": "IndexAccess", "src": "6506:21:7" } ], - "id": 1198, + "id": 1222, "name": "MemberAccess", "src": "6506:25:7" }, @@ -6805,26 +6805,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 1198, "type": "uint256", "value": "_value" }, - "id": 1199, + "id": 1223, "name": "Identifier", "src": "6532:6:7" } ], - "id": 1200, + "id": 1224, "name": "FunctionCall", "src": "6506:33:7" } ], - "id": 1201, + "id": 1225, "name": "Assignment", "src": "6482:57:7" } ], - "id": 1202, + "id": 1226, "name": "ExpressionStatement", "src": "6482:57:7" }, @@ -6847,11 +6847,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 810, "type": "uint256", "value": "totalSupply" }, - "id": 1203, + "id": 1227, "name": "Identifier", "src": "6579:11:7" }, @@ -6883,7 +6883,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -6893,16 +6893,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 810, "type": "uint256", "value": "totalSupply" }, - "id": 1204, + "id": 1228, "name": "Identifier", "src": "6593:11:7" } ], - "id": 1205, + "id": 1229, "name": "MemberAccess", "src": "6593:15:7" }, @@ -6912,26 +6912,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 1198, "type": "uint256", "value": "_value" }, - "id": 1206, + "id": 1230, "name": "Identifier", "src": "6609:6:7" } ], - "id": 1207, + "id": 1231, "name": "FunctionCall", "src": "6593:23:7" } ], - "id": 1208, + "id": 1232, "name": "Assignment", "src": "6579:37:7" } ], - "id": 1209, + "id": 1233, "name": "ExpressionStatement", "src": "6579:37:7" }, @@ -6954,11 +6954,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 1210, + "id": 1234, "name": "Identifier", "src": "6671:15:7" }, @@ -6990,7 +6990,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7000,16 +7000,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 1211, + "id": 1235, "name": "Identifier", "src": "6689:15:7" } ], - "id": 1212, + "id": 1236, "name": "MemberAccess", "src": "6689:19:7" }, @@ -7019,26 +7019,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 1198, "type": "uint256", "value": "_value" }, - "id": 1213, + "id": 1237, "name": "Identifier", "src": "6709:6:7" } ], - "id": 1214, + "id": 1238, "name": "FunctionCall", "src": "6689:27:7" } ], - "id": 1215, + "id": 1239, "name": "Assignment", "src": "6671:45:7" } ], - "id": 1216, + "id": 1240, "name": "ExpressionStatement", "src": "6671:45:7" }, @@ -7074,11 +7074,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 815, + "referencedDeclaration": 839, "type": "function (address,uint256)", "value": "Burn" }, - "id": 1217, + "id": 1241, "name": "Identifier", "src": "6729:4:7" }, @@ -7100,16 +7100,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1218, + "id": 1242, "name": "Identifier", "src": "6734:3:7" } ], - "id": 1219, + "id": 1243, "name": "MemberAccess", "src": "6734:10:7" }, @@ -7119,27 +7119,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 1198, "type": "uint256", "value": "_value" }, - "id": 1220, + "id": 1244, "name": "Identifier", "src": "6746:6:7" } ], - "id": 1221, + "id": 1245, "name": "FunctionCall", "src": "6729:24:7" } ], - "id": 1222, + "id": 1246, "name": "ExpressionStatement", "src": "6729:24:7" }, { "attributes": { - "functionReturnParameters": 1180 + "functionReturnParameters": 1204 }, "children": [ { @@ -7155,22 +7155,22 @@ "type": "bool", "value": "true" }, - "id": 1223, + "id": 1247, "name": "Literal", "src": "6773:4:7" } ], - "id": 1224, + "id": 1248, "name": "Return", "src": "6766:11:7" } ], - "id": 1225, + "id": 1249, "name": "Block", "src": "6382:403:7" } ], - "id": 1226, + "id": 1250, "name": "FunctionDefinition", "src": "6298:487:7" }, @@ -7181,7 +7181,7 @@ "isConstructor": false, "name": "burnFrom", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -7193,7 +7193,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 1306, + "scope": 1330, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -7206,12 +7206,12 @@ "name": "address", "type": "address" }, - "id": 1227, + "id": 1251, "name": "ElementaryTypeName", "src": "7066:7:7" } ], - "id": 1228, + "id": 1252, "name": "VariableDeclaration", "src": "7066:13:7" }, @@ -7219,7 +7219,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1306, + "scope": 1330, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -7232,17 +7232,17 @@ "name": "uint256", "type": "uint256" }, - "id": 1229, + "id": 1253, "name": "ElementaryTypeName", "src": "7081:7:7" } ], - "id": 1230, + "id": 1254, "name": "VariableDeclaration", "src": "7081:14:7" } ], - "id": 1231, + "id": 1255, "name": "ParameterList", "src": "7065:31:7" }, @@ -7252,7 +7252,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1306, + "scope": 1330, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -7265,17 +7265,17 @@ "name": "bool", "type": "bool" }, - "id": 1234, + "id": 1258, "name": "ElementaryTypeName", "src": "7132:4:7" } ], - "id": 1235, + "id": 1259, "name": "VariableDeclaration", "src": "7132:12:7" } ], - "id": 1236, + "id": 1260, "name": "ParameterList", "src": "7131:14:7" }, @@ -7296,12 +7296,12 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 1232, + "id": 1256, "name": "Identifier", "src": "7104:9:7" } ], - "id": 1233, + "id": 1257, "name": "ModifierInvocation", "src": "7104:9:7" }, @@ -7335,11 +7335,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 1237, + "id": 1261, "name": "Identifier", "src": "7162:7:7" }, @@ -7374,11 +7374,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1238, + "id": 1262, "name": "Identifier", "src": "7170:9:7" }, @@ -7388,16 +7388,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1239, + "id": 1263, "name": "Identifier", "src": "7180:5:7" } ], - "id": 1240, + "id": 1264, "name": "IndexAccess", "src": "7170:16:7" }, @@ -7407,26 +7407,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1241, + "id": 1265, "name": "Identifier", "src": "7190:6:7" } ], - "id": 1242, + "id": 1266, "name": "BinaryOperation", "src": "7170:26:7" } ], - "id": 1243, + "id": 1267, "name": "FunctionCall", "src": "7162:35:7" } ], - "id": 1244, + "id": 1268, "name": "ExpressionStatement", "src": "7162:35:7" }, @@ -7458,11 +7458,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 1245, + "id": 1269, "name": "Identifier", "src": "7266:7:7" }, @@ -7487,11 +7487,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1246, + "id": 1270, "name": "Identifier", "src": "7274:6:7" }, @@ -7521,11 +7521,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1247, + "id": 1271, "name": "Identifier", "src": "7284:9:7" }, @@ -7535,16 +7535,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1248, + "id": 1272, "name": "Identifier", "src": "7294:5:7" } ], - "id": 1249, + "id": 1273, "name": "IndexAccess", "src": "7284:16:7" }, @@ -7566,36 +7566,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1250, + "id": 1274, "name": "Identifier", "src": "7301:3:7" } ], - "id": 1251, + "id": 1275, "name": "MemberAccess", "src": "7301:10:7" } ], - "id": 1252, + "id": 1276, "name": "IndexAccess", "src": "7284:28:7" } ], - "id": 1253, + "id": 1277, "name": "BinaryOperation", "src": "7274:38:7" } ], - "id": 1254, + "id": 1278, "name": "FunctionCall", "src": "7266:47:7" } ], - "id": 1255, + "id": 1279, "name": "ExpressionStatement", "src": "7266:47:7" }, @@ -7628,11 +7628,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1256, + "id": 1280, "name": "Identifier", "src": "7348:9:7" }, @@ -7642,16 +7642,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1257, + "id": 1281, "name": "Identifier", "src": "7358:5:7" } ], - "id": 1258, + "id": 1282, "name": "IndexAccess", "src": "7348:16:7" }, @@ -7683,7 +7683,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7703,11 +7703,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1259, + "id": 1283, "name": "Identifier", "src": "7367:9:7" }, @@ -7717,21 +7717,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1260, + "id": 1284, "name": "Identifier", "src": "7377:5:7" } ], - "id": 1261, + "id": 1285, "name": "IndexAccess", "src": "7367:16:7" } ], - "id": 1262, + "id": 1286, "name": "MemberAccess", "src": "7367:20:7" }, @@ -7741,26 +7741,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1263, + "id": 1287, "name": "Identifier", "src": "7388:6:7" } ], - "id": 1264, + "id": 1288, "name": "FunctionCall", "src": "7367:28:7" } ], - "id": 1265, + "id": 1289, "name": "Assignment", "src": "7348:47:7" } ], - "id": 1266, + "id": 1290, "name": "ExpressionStatement", "src": "7348:47:7" }, @@ -7803,11 +7803,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1267, + "id": 1291, "name": "Identifier", "src": "7447:9:7" }, @@ -7817,16 +7817,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1268, + "id": 1292, "name": "Identifier", "src": "7457:5:7" } ], - "id": 1271, + "id": 1295, "name": "IndexAccess", "src": "7447:16:7" }, @@ -7848,21 +7848,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1269, + "id": 1293, "name": "Identifier", "src": "7464:3:7" } ], - "id": 1270, + "id": 1294, "name": "MemberAccess", "src": "7464:10:7" } ], - "id": 1272, + "id": 1296, "name": "IndexAccess", "src": "7447:28:7" }, @@ -7894,7 +7894,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7924,11 +7924,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1273, + "id": 1297, "name": "Identifier", "src": "7478:9:7" }, @@ -7938,16 +7938,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1274, + "id": 1298, "name": "Identifier", "src": "7488:5:7" } ], - "id": 1275, + "id": 1299, "name": "IndexAccess", "src": "7478:16:7" }, @@ -7969,26 +7969,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1276, + "id": 1300, "name": "Identifier", "src": "7495:3:7" } ], - "id": 1277, + "id": 1301, "name": "MemberAccess", "src": "7495:10:7" } ], - "id": 1278, + "id": 1302, "name": "IndexAccess", "src": "7478:28:7" } ], - "id": 1279, + "id": 1303, "name": "MemberAccess", "src": "7478:32:7" }, @@ -7998,26 +7998,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1280, + "id": 1304, "name": "Identifier", "src": "7511:6:7" } ], - "id": 1281, + "id": 1305, "name": "FunctionCall", "src": "7478:40:7" } ], - "id": 1282, + "id": 1306, "name": "Assignment", "src": "7447:71:7" } ], - "id": 1283, + "id": 1307, "name": "ExpressionStatement", "src": "7447:71:7" }, @@ -8040,11 +8040,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 810, "type": "uint256", "value": "totalSupply" }, - "id": 1284, + "id": 1308, "name": "Identifier", "src": "7572:11:7" }, @@ -8076,7 +8076,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -8086,16 +8086,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 810, "type": "uint256", "value": "totalSupply" }, - "id": 1285, + "id": 1309, "name": "Identifier", "src": "7586:11:7" } ], - "id": 1286, + "id": 1310, "name": "MemberAccess", "src": "7586:15:7" }, @@ -8105,26 +8105,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1287, + "id": 1311, "name": "Identifier", "src": "7602:6:7" } ], - "id": 1288, + "id": 1312, "name": "FunctionCall", "src": "7586:23:7" } ], - "id": 1289, + "id": 1313, "name": "Assignment", "src": "7572:37:7" } ], - "id": 1290, + "id": 1314, "name": "ExpressionStatement", "src": "7572:37:7" }, @@ -8147,11 +8147,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 1291, + "id": 1315, "name": "Identifier", "src": "7655:15:7" }, @@ -8183,7 +8183,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -8193,16 +8193,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 1292, + "id": 1316, "name": "Identifier", "src": "7673:15:7" } ], - "id": 1293, + "id": 1317, "name": "MemberAccess", "src": "7673:19:7" }, @@ -8212,26 +8212,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1294, + "id": 1318, "name": "Identifier", "src": "7693:6:7" } ], - "id": 1295, + "id": 1319, "name": "FunctionCall", "src": "7673:27:7" } ], - "id": 1296, + "id": 1320, "name": "Assignment", "src": "7655:45:7" } ], - "id": 1297, + "id": 1321, "name": "ExpressionStatement", "src": "7655:45:7" }, @@ -8267,11 +8267,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 815, + "referencedDeclaration": 839, "type": "function (address,uint256)", "value": "Burn" }, - "id": 1298, + "id": 1322, "name": "Identifier", "src": "7713:4:7" }, @@ -8281,11 +8281,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1299, + "id": 1323, "name": "Identifier", "src": "7718:5:7" }, @@ -8295,27 +8295,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1300, + "id": 1324, "name": "Identifier", "src": "7725:6:7" } ], - "id": 1301, + "id": 1325, "name": "FunctionCall", "src": "7713:19:7" } ], - "id": 1302, + "id": 1326, "name": "ExpressionStatement", "src": "7713:19:7" }, { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 1260 }, "children": [ { @@ -8331,32 +8331,32 @@ "type": "bool", "value": "true" }, - "id": 1303, + "id": 1327, "name": "Literal", "src": "7752:4:7" } ], - "id": 1304, + "id": 1328, "name": "Return", "src": "7745:11:7" } ], - "id": 1305, + "id": 1329, "name": "Block", "src": "7151:613:7" } ], - "id": 1306, + "id": 1330, "name": "FunctionDefinition", "src": "7048:716:7" } ], - "id": 1307, + "id": 1331, "name": "ContractDefinition", "src": "218:7549:7" } ], - "id": 1308, + "id": 1332, "name": "SourceUnit", "src": "0:7769:7" }, @@ -8366,5 +8366,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-12T17:32:23.403Z" + "updatedAt": "2017-12-20T21:19:00.181Z" } \ No newline at end of file diff --git a/build/contracts/tokenRecipient.json b/build/contracts/tokenRecipient.json index f913b7e..b4df419 100644 --- a/build/contracts/tokenRecipient.json +++ b/build/contracts/tokenRecipient.json @@ -39,10 +39,10 @@ "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/TokenERC20.sol", "exportedSymbols": { "TokenERC20": [ - 1307 + 1331 ], "tokenRecipient": [ - 765 + 789 ] } }, @@ -56,22 +56,22 @@ ".18" ] }, - "id": 751, + "id": 775, "name": "PragmaDirective", "src": "0:24:7" }, { "attributes": { - "SourceUnit": 326, + "SourceUnit": 337, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/SafeMath.sol", "file": "./SafeMath.sol", - "scope": 1308, + "scope": 1332, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 752, + "id": 776, "name": "ImportDirective", "src": "28:24:7" }, @@ -80,13 +80,13 @@ "SourceUnit": 161, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/Ownable.sol", "file": "./Ownable.sol", - "scope": 1308, + "scope": 1332, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 753, + "id": 777, "name": "ImportDirective", "src": "54:23:7" }, @@ -102,10 +102,10 @@ "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ - 765 + 789 ], "name": "tokenRecipient", - "scope": 1308 + "scope": 1332 }, "children": [ { @@ -119,7 +119,7 @@ ], "name": "receiveApproval", "payable": false, - "scope": 765, + "scope": 789, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -131,7 +131,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 764, + "scope": 788, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -144,12 +144,12 @@ "name": "address", "type": "address" }, - "id": 754, + "id": 778, "name": "ElementaryTypeName", "src": "139:7:7" } ], - "id": 755, + "id": 779, "name": "VariableDeclaration", "src": "139:13:7" }, @@ -157,7 +157,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 764, + "scope": 788, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -170,12 +170,12 @@ "name": "uint256", "type": "uint256" }, - "id": 756, + "id": 780, "name": "ElementaryTypeName", "src": "154:7:7" } ], - "id": 757, + "id": 781, "name": "VariableDeclaration", "src": "154:14:7" }, @@ -183,7 +183,7 @@ "attributes": { "constant": false, "name": "_token", - "scope": 764, + "scope": 788, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -196,12 +196,12 @@ "name": "address", "type": "address" }, - "id": 758, + "id": 782, "name": "ElementaryTypeName", "src": "170:7:7" } ], - "id": 759, + "id": 783, "name": "VariableDeclaration", "src": "170:14:7" }, @@ -209,7 +209,7 @@ "attributes": { "constant": false, "name": "_extraData", - "scope": 764, + "scope": 788, "stateVariable": false, "storageLocation": "default", "type": "bytes memory", @@ -222,17 +222,17 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 760, + "id": 784, "name": "ElementaryTypeName", "src": "186:5:7" } ], - "id": 761, + "id": 785, "name": "VariableDeclaration", "src": "186:16:7" } ], - "id": 762, + "id": 786, "name": "ParameterList", "src": "138:65:7" }, @@ -243,17 +243,17 @@ ] }, "children": [], - "id": 763, + "id": 787, "name": "ParameterList", "src": "210:0:7" } ], - "id": 764, + "id": 788, "name": "FunctionDefinition", "src": "114:97:7" } ], - "id": 765, + "id": 789, "name": "ContractDefinition", "src": "81:133:7" }, @@ -266,11 +266,11 @@ "documentation": null, "fullyImplemented": true, "linearizedBaseContracts": [ - 1307, + 1331, 160 ], "name": "TokenERC20", - "scope": 1308 + "scope": 1332 }, "children": [ { @@ -287,12 +287,12 @@ "referencedDeclaration": 160, "type": "contract Ownable" }, - "id": 766, + "id": 790, "name": "UserDefinedTypeName", "src": "241:7:7" } ], - "id": 767, + "id": 791, "name": "InheritanceSpecifier", "src": "241:7:7" }, @@ -302,10 +302,10 @@ "attributes": { "contractScope": null, "name": "SafeMath", - "referencedDeclaration": 325, + "referencedDeclaration": 336, "type": "library SafeMath" }, - "id": 768, + "id": 792, "name": "UserDefinedTypeName", "src": "263:8:7" }, @@ -314,12 +314,12 @@ "name": "uint", "type": "uint256" }, - "id": 769, + "id": 793, "name": "ElementaryTypeName", "src": "276:4:7" } ], - "id": 770, + "id": 794, "name": "UsingForDirective", "src": "257:24:7" }, @@ -327,7 +327,7 @@ "attributes": { "constant": false, "name": "name", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -340,12 +340,12 @@ "name": "string", "type": "string storage pointer" }, - "id": 771, + "id": 795, "name": "ElementaryTypeName", "src": "327:6:7" } ], - "id": 772, + "id": 796, "name": "VariableDeclaration", "src": "327:18:7" }, @@ -353,7 +353,7 @@ "attributes": { "constant": false, "name": "symbol", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -366,12 +366,12 @@ "name": "string", "type": "string storage pointer" }, - "id": 773, + "id": 797, "name": "ElementaryTypeName", "src": "352:6:7" } ], - "id": 774, + "id": 798, "name": "VariableDeclaration", "src": "352:20:7" }, @@ -379,7 +379,7 @@ "attributes": { "constant": false, "name": "decimals", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -391,7 +391,7 @@ "name": "uint256", "type": "uint256" }, - "id": 775, + "id": 799, "name": "ElementaryTypeName", "src": "379:7:7" }, @@ -408,12 +408,12 @@ "type": "int_const 18", "value": "18" }, - "id": 776, + "id": 800, "name": "Literal", "src": "405:2:7" } ], - "id": 777, + "id": 801, "name": "VariableDeclaration", "src": "379:28:7" }, @@ -421,7 +421,7 @@ "attributes": { "constant": false, "name": "DEC", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -433,7 +433,7 @@ "name": "uint256", "type": "uint256" }, - "id": 778, + "id": 802, "name": "ElementaryTypeName", "src": "414:7:7" }, @@ -465,7 +465,7 @@ "type": "int_const 10", "value": "10" }, - "id": 779, + "id": 803, "name": "Literal", "src": "428:2:7" }, @@ -499,7 +499,7 @@ "type": "type(uint256)", "value": "uint256" }, - "id": 780, + "id": 804, "name": "ElementaryTypeNameExpression", "src": "434:7:7" }, @@ -509,26 +509,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 777, + "referencedDeclaration": 801, "type": "uint256", "value": "decimals" }, - "id": 781, + "id": 805, "name": "Identifier", "src": "442:8:7" } ], - "id": 782, + "id": 806, "name": "FunctionCall", "src": "434:17:7" } ], - "id": 783, + "id": 807, "name": "BinaryOperation", "src": "428:23:7" } ], - "id": 784, + "id": 808, "name": "VariableDeclaration", "src": "414:37:7" }, @@ -536,7 +536,7 @@ "attributes": { "constant": false, "name": "totalSupply", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -549,12 +549,12 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 809, "name": "ElementaryTypeName", "src": "458:7:7" } ], - "id": 786, + "id": 810, "name": "VariableDeclaration", "src": "458:26:7" }, @@ -562,7 +562,7 @@ "attributes": { "constant": false, "name": "avaliableSupply", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -575,12 +575,12 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 811, "name": "ElementaryTypeName", "src": "491:7:7" } ], - "id": 788, + "id": 812, "name": "VariableDeclaration", "src": "491:30:7" }, @@ -588,7 +588,7 @@ "attributes": { "constant": false, "name": "buyPrice", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -600,7 +600,7 @@ "name": "uint256", "type": "uint256" }, - "id": 789, + "id": 813, "name": "ElementaryTypeName", "src": "528:7:7" }, @@ -617,12 +617,12 @@ "type": "int_const 1000000000000000000", "value": "1000000000000000000" }, - "id": 790, + "id": 814, "name": "Literal", "src": "554:23:7" } ], - "id": 791, + "id": 815, "name": "VariableDeclaration", "src": "528:49:7" }, @@ -630,7 +630,7 @@ "attributes": { "constant": false, "name": "balanceOf", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => uint256)", @@ -648,7 +648,7 @@ "name": "address", "type": "address" }, - "id": 792, + "id": 816, "name": "ElementaryTypeName", "src": "643:7:7" }, @@ -657,17 +657,17 @@ "name": "uint256", "type": "uint256" }, - "id": 793, + "id": 817, "name": "ElementaryTypeName", "src": "654:7:7" } ], - "id": 794, + "id": 818, "name": "Mapping", "src": "634:28:7" } ], - "id": 795, + "id": 819, "name": "VariableDeclaration", "src": "634:45:7" }, @@ -675,7 +675,7 @@ "attributes": { "constant": false, "name": "allowance", - "scope": 1307, + "scope": 1331, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => uint256))", @@ -693,7 +693,7 @@ "name": "address", "type": "address" }, - "id": 796, + "id": 820, "name": "ElementaryTypeName", "src": "695:7:7" }, @@ -707,7 +707,7 @@ "name": "address", "type": "address" }, - "id": 797, + "id": 821, "name": "ElementaryTypeName", "src": "715:7:7" }, @@ -716,22 +716,22 @@ "name": "uint256", "type": "uint256" }, - "id": 798, + "id": 822, "name": "ElementaryTypeName", "src": "726:7:7" } ], - "id": 799, + "id": 823, "name": "Mapping", "src": "706:28:7" } ], - "id": 800, + "id": 824, "name": "Mapping", "src": "686:49:7" } ], - "id": 801, + "id": 825, "name": "VariableDeclaration", "src": "686:66:7" }, @@ -748,7 +748,7 @@ "constant": false, "indexed": true, "name": "from", - "scope": 809, + "scope": 833, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -761,12 +761,12 @@ "name": "address", "type": "address" }, - "id": 802, + "id": 826, "name": "ElementaryTypeName", "src": "857:7:7" } ], - "id": 803, + "id": 827, "name": "VariableDeclaration", "src": "857:20:7" }, @@ -775,7 +775,7 @@ "constant": false, "indexed": true, "name": "to", - "scope": 809, + "scope": 833, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -788,12 +788,12 @@ "name": "address", "type": "address" }, - "id": 804, + "id": 828, "name": "ElementaryTypeName", "src": "879:7:7" } ], - "id": 805, + "id": 829, "name": "VariableDeclaration", "src": "879:18:7" }, @@ -802,7 +802,7 @@ "constant": false, "indexed": false, "name": "value", - "scope": 809, + "scope": 833, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -815,22 +815,22 @@ "name": "uint256", "type": "uint256" }, - "id": 806, + "id": 830, "name": "ElementaryTypeName", "src": "899:7:7" } ], - "id": 807, + "id": 831, "name": "VariableDeclaration", "src": "899:13:7" } ], - "id": 808, + "id": 832, "name": "ParameterList", "src": "856:57:7" } ], - "id": 809, + "id": 833, "name": "EventDefinition", "src": "842:72:7" }, @@ -847,7 +847,7 @@ "constant": false, "indexed": true, "name": "from", - "scope": 815, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -860,12 +860,12 @@ "name": "address", "type": "address" }, - "id": 810, + "id": 834, "name": "ElementaryTypeName", "src": "931:7:7" } ], - "id": 811, + "id": 835, "name": "VariableDeclaration", "src": "931:20:7" }, @@ -874,7 +874,7 @@ "constant": false, "indexed": false, "name": "value", - "scope": 815, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -887,22 +887,22 @@ "name": "uint256", "type": "uint256" }, - "id": 812, + "id": 836, "name": "ElementaryTypeName", "src": "953:7:7" } ], - "id": 813, + "id": 837, "name": "VariableDeclaration", "src": "953:13:7" } ], - "id": 814, + "id": 838, "name": "ParameterList", "src": "930:37:7" } ], - "id": 815, + "id": 839, "name": "EventDefinition", "src": "920:48:7" }, @@ -919,7 +919,7 @@ "constant": false, "indexed": true, "name": "_owner", - "scope": 823, + "scope": 847, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -932,12 +932,12 @@ "name": "address", "type": "address" }, - "id": 816, + "id": 840, "name": "ElementaryTypeName", "src": "989:7:7" } ], - "id": 817, + "id": 841, "name": "VariableDeclaration", "src": "989:22:7" }, @@ -946,7 +946,7 @@ "constant": false, "indexed": true, "name": "_spender", - "scope": 823, + "scope": 847, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -959,12 +959,12 @@ "name": "address", "type": "address" }, - "id": 818, + "id": 842, "name": "ElementaryTypeName", "src": "1013:7:7" } ], - "id": 819, + "id": 843, "name": "VariableDeclaration", "src": "1013:24:7" }, @@ -973,7 +973,7 @@ "constant": false, "indexed": false, "name": "_value", - "scope": 823, + "scope": 847, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -986,22 +986,22 @@ "name": "uint256", "type": "uint256" }, - "id": 820, + "id": 844, "name": "ElementaryTypeName", "src": "1039:7:7" } ], - "id": 821, + "id": 845, "name": "VariableDeclaration", "src": "1039:14:7" } ], - "id": 822, + "id": 846, "name": "ParameterList", "src": "988:66:7" } ], - "id": 823, + "id": 847, "name": "EventDefinition", "src": "974:81:7" }, @@ -1015,7 +1015,7 @@ ], "name": "TokenERC20", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1027,7 +1027,7 @@ "attributes": { "constant": false, "name": "initialSupply", - "scope": 860, + "scope": 884, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1040,12 +1040,12 @@ "name": "uint256", "type": "uint256" }, - "id": 824, + "id": 848, "name": "ElementaryTypeName", "src": "1234:7:7" } ], - "id": 825, + "id": 849, "name": "VariableDeclaration", "src": "1234:21:7" }, @@ -1053,7 +1053,7 @@ "attributes": { "constant": false, "name": "tokenName", - "scope": 860, + "scope": 884, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -1066,12 +1066,12 @@ "name": "string", "type": "string storage pointer" }, - "id": 826, + "id": 850, "name": "ElementaryTypeName", "src": "1266:6:7" } ], - "id": 827, + "id": 851, "name": "VariableDeclaration", "src": "1266:16:7" }, @@ -1079,7 +1079,7 @@ "attributes": { "constant": false, "name": "tokenSymbol", - "scope": 860, + "scope": 884, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -1092,17 +1092,17 @@ "name": "string", "type": "string storage pointer" }, - "id": 828, + "id": 852, "name": "ElementaryTypeName", "src": "1293:6:7" } ], - "id": 829, + "id": 853, "name": "VariableDeclaration", "src": "1293:18:7" } ], - "id": 830, + "id": 854, "name": "ParameterList", "src": "1223:95:7" }, @@ -1113,7 +1113,7 @@ ] }, "children": [], - "id": 831, + "id": 855, "name": "ParameterList", "src": "1331:0:7" }, @@ -1138,11 +1138,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 810, "type": "uint256", "value": "totalSupply" }, - "id": 832, + "id": 856, "name": "Identifier", "src": "1342:11:7" }, @@ -1174,7 +1174,7 @@ "isPure": false, "lValueRequested": false, "member_name": "mul", - "referencedDeclaration": 262, + "referencedDeclaration": 273, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1184,16 +1184,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 849, "type": "uint256", "value": "initialSupply" }, - "id": 833, + "id": 857, "name": "Identifier", "src": "1356:13:7" } ], - "id": 834, + "id": 858, "name": "MemberAccess", "src": "1356:17:7" }, @@ -1203,26 +1203,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 784, + "referencedDeclaration": 808, "type": "uint256", "value": "DEC" }, - "id": 835, + "id": 859, "name": "Identifier", "src": "1374:3:7" } ], - "id": 836, + "id": 860, "name": "FunctionCall", "src": "1356:22:7" } ], - "id": 837, + "id": 861, "name": "Assignment", "src": "1342:36:7" } ], - "id": 838, + "id": 862, "name": "ExpressionStatement", "src": "1342:36:7" }, @@ -1255,11 +1255,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 839, + "id": 863, "name": "Identifier", "src": "1437:9:7" }, @@ -1269,16 +1269,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1336, + "referencedDeclaration": 1360, "type": "contract TokenERC20", "value": "this" }, - "id": 840, + "id": 864, "name": "Identifier", "src": "1447:4:7" } ], - "id": 841, + "id": 865, "name": "IndexAccess", "src": "1437:15:7" }, @@ -1288,21 +1288,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 810, "type": "uint256", "value": "totalSupply" }, - "id": 842, + "id": 866, "name": "Identifier", "src": "1455:11:7" } ], - "id": 843, + "id": 867, "name": "Assignment", "src": "1437:29:7" } ], - "id": 844, + "id": 868, "name": "ExpressionStatement", "src": "1437:29:7" }, @@ -1325,11 +1325,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 845, + "id": 869, "name": "Identifier", "src": "1524:15:7" }, @@ -1349,11 +1349,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 846, + "id": 870, "name": "Identifier", "src": "1542:9:7" }, @@ -1363,26 +1363,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1336, + "referencedDeclaration": 1360, "type": "contract TokenERC20", "value": "this" }, - "id": 847, + "id": 871, "name": "Identifier", "src": "1552:4:7" } ], - "id": 848, + "id": 872, "name": "IndexAccess", "src": "1542:15:7" } ], - "id": 849, + "id": 873, "name": "Assignment", "src": "1524:33:7" } ], - "id": 850, + "id": 874, "name": "ExpressionStatement", "src": "1524:33:7" }, @@ -1405,11 +1405,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 772, + "referencedDeclaration": 796, "type": "string storage ref", "value": "name" }, - "id": 851, + "id": 875, "name": "Identifier", "src": "1608:4:7" }, @@ -1419,21 +1419,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 827, + "referencedDeclaration": 851, "type": "string memory", "value": "tokenName" }, - "id": 852, + "id": 876, "name": "Identifier", "src": "1615:9:7" } ], - "id": 853, + "id": 877, "name": "Assignment", "src": "1608:16:7" } ], - "id": 854, + "id": 878, "name": "ExpressionStatement", "src": "1608:16:7" }, @@ -1456,11 +1456,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 774, + "referencedDeclaration": 798, "type": "string storage ref", "value": "symbol" }, - "id": 855, + "id": 879, "name": "Identifier", "src": "1693:6:7" }, @@ -1470,31 +1470,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 829, + "referencedDeclaration": 853, "type": "string memory", "value": "tokenSymbol" }, - "id": 856, + "id": 880, "name": "Identifier", "src": "1702:11:7" } ], - "id": 857, + "id": 881, "name": "Assignment", "src": "1693:20:7" } ], - "id": 858, + "id": 882, "name": "ExpressionStatement", "src": "1693:20:7" } ], - "id": 859, + "id": 883, "name": "Block", "src": "1331:446:7" } ], - "id": 860, + "id": 884, "name": "FunctionDefinition", "src": "1204:573:7" }, @@ -1508,7 +1508,7 @@ ], "name": "_transfer", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -1520,7 +1520,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 949, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1533,12 +1533,12 @@ "name": "address", "type": "address" }, - "id": 861, + "id": 885, "name": "ElementaryTypeName", "src": "2033:7:7" } ], - "id": 862, + "id": 886, "name": "VariableDeclaration", "src": "2033:13:7" }, @@ -1546,7 +1546,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 949, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1559,12 +1559,12 @@ "name": "address", "type": "address" }, - "id": 863, + "id": 887, "name": "ElementaryTypeName", "src": "2048:7:7" } ], - "id": 864, + "id": 888, "name": "VariableDeclaration", "src": "2048:11:7" }, @@ -1572,7 +1572,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 949, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1585,17 +1585,17 @@ "name": "uint256", "type": "uint256" }, - "id": 865, + "id": 889, "name": "ElementaryTypeName", "src": "2061:7:7" } ], - "id": 866, + "id": 890, "name": "VariableDeclaration", "src": "2061:14:7" } ], - "id": 867, + "id": 891, "name": "ParameterList", "src": "2032:44:7" }, @@ -1606,7 +1606,7 @@ ] }, "children": [], - "id": 868, + "id": 892, "name": "ParameterList", "src": "2091:0:7" }, @@ -1640,11 +1640,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 869, + "id": 893, "name": "Identifier", "src": "2166:7:7" }, @@ -1669,11 +1669,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 870, + "id": 894, "name": "Identifier", "src": "2174:3:7" }, @@ -1690,22 +1690,22 @@ "type": "int_const 0", "value": "0x0" }, - "id": 871, + "id": 895, "name": "Literal", "src": "2181:3:7" } ], - "id": 872, + "id": 896, "name": "BinaryOperation", "src": "2174:10:7" } ], - "id": 873, + "id": 897, "name": "FunctionCall", "src": "2166:19:7" } ], - "id": 874, + "id": 898, "name": "ExpressionStatement", "src": "2166:19:7" }, @@ -1737,11 +1737,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 875, + "id": 899, "name": "Identifier", "src": "2239:7:7" }, @@ -1776,11 +1776,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 876, + "id": 900, "name": "Identifier", "src": "2247:9:7" }, @@ -1790,16 +1790,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 886, "type": "address", "value": "_from" }, - "id": 877, + "id": 901, "name": "Identifier", "src": "2257:5:7" } ], - "id": 878, + "id": 902, "name": "IndexAccess", "src": "2247:16:7" }, @@ -1809,26 +1809,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 866, + "referencedDeclaration": 890, "type": "uint256", "value": "_value" }, - "id": 879, + "id": 903, "name": "Identifier", "src": "2267:6:7" } ], - "id": 880, + "id": 904, "name": "BinaryOperation", "src": "2247:26:7" } ], - "id": 881, + "id": 905, "name": "FunctionCall", "src": "2239:35:7" } ], - "id": 882, + "id": 906, "name": "ExpressionStatement", "src": "2239:35:7" }, @@ -1860,11 +1860,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 883, + "id": 907, "name": "Identifier", "src": "2317:7:7" }, @@ -1911,7 +1911,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1931,11 +1931,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 884, + "id": 908, "name": "Identifier", "src": "2325:9:7" }, @@ -1945,21 +1945,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 885, + "id": 909, "name": "Identifier", "src": "2335:3:7" } ], - "id": 886, + "id": 910, "name": "IndexAccess", "src": "2325:14:7" } ], - "id": 887, + "id": 911, "name": "MemberAccess", "src": "2325:18:7" }, @@ -1969,16 +1969,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 866, + "referencedDeclaration": 890, "type": "uint256", "value": "_value" }, - "id": 888, + "id": 912, "name": "Identifier", "src": "2344:6:7" } ], - "id": 889, + "id": 913, "name": "FunctionCall", "src": "2325:26:7" }, @@ -1998,11 +1998,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 890, + "id": 914, "name": "Identifier", "src": "2354:9:7" }, @@ -2012,38 +2012,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 891, + "id": 915, "name": "Identifier", "src": "2364:3:7" } ], - "id": 892, + "id": 916, "name": "IndexAccess", "src": "2354:14:7" } ], - "id": 893, + "id": 917, "name": "BinaryOperation", "src": "2325:43:7" } ], - "id": 894, + "id": 918, "name": "FunctionCall", "src": "2317:52:7" } ], - "id": 895, + "id": 919, "name": "ExpressionStatement", "src": "2317:52:7" }, { "attributes": { "assignments": [ - 897 + 921 ] }, "children": [ @@ -2051,7 +2051,7 @@ "attributes": { "constant": false, "name": "previousBalances", - "scope": 949, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2064,12 +2064,12 @@ "name": "uint", "type": "uint256" }, - "id": 896, + "id": 920, "name": "ElementaryTypeName", "src": "2433:4:7" } ], - "id": 897, + "id": 921, "name": "VariableDeclaration", "src": "2433:21:7" }, @@ -2101,7 +2101,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2121,11 +2121,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 898, + "id": 922, "name": "Identifier", "src": "2457:9:7" }, @@ -2135,21 +2135,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 886, "type": "address", "value": "_from" }, - "id": 899, + "id": 923, "name": "Identifier", "src": "2467:5:7" } ], - "id": 900, + "id": 924, "name": "IndexAccess", "src": "2457:16:7" } ], - "id": 901, + "id": 925, "name": "MemberAccess", "src": "2457:20:7" }, @@ -2169,11 +2169,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 902, + "id": 926, "name": "Identifier", "src": "2478:9:7" }, @@ -2183,26 +2183,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 903, + "id": 927, "name": "Identifier", "src": "2488:3:7" } ], - "id": 904, + "id": 928, "name": "IndexAccess", "src": "2478:14:7" } ], - "id": 905, + "id": 929, "name": "FunctionCall", "src": "2457:36:7" } ], - "id": 906, + "id": 930, "name": "VariableDeclarationStatement", "src": "2433:60:7" }, @@ -2235,11 +2235,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 907, + "id": 931, "name": "Identifier", "src": "2541:9:7" }, @@ -2249,16 +2249,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 886, "type": "address", "value": "_from" }, - "id": 908, + "id": 932, "name": "Identifier", "src": "2551:5:7" } ], - "id": 909, + "id": 933, "name": "IndexAccess", "src": "2541:16:7" }, @@ -2290,7 +2290,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2310,11 +2310,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 910, + "id": 934, "name": "Identifier", "src": "2560:9:7" }, @@ -2324,21 +2324,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 886, "type": "address", "value": "_from" }, - "id": 911, + "id": 935, "name": "Identifier", "src": "2570:5:7" } ], - "id": 912, + "id": 936, "name": "IndexAccess", "src": "2560:16:7" } ], - "id": 913, + "id": 937, "name": "MemberAccess", "src": "2560:20:7" }, @@ -2348,26 +2348,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 866, + "referencedDeclaration": 890, "type": "uint256", "value": "_value" }, - "id": 914, + "id": 938, "name": "Identifier", "src": "2581:6:7" } ], - "id": 915, + "id": 939, "name": "FunctionCall", "src": "2560:28:7" } ], - "id": 916, + "id": 940, "name": "Assignment", "src": "2541:47:7" } ], - "id": 917, + "id": 941, "name": "ExpressionStatement", "src": "2541:47:7" }, @@ -2400,11 +2400,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 918, + "id": 942, "name": "Identifier", "src": "2641:9:7" }, @@ -2414,16 +2414,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 919, + "id": 943, "name": "Identifier", "src": "2651:3:7" } ], - "id": 920, + "id": 944, "name": "IndexAccess", "src": "2641:14:7" }, @@ -2455,7 +2455,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2475,11 +2475,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 921, + "id": 945, "name": "Identifier", "src": "2658:9:7" }, @@ -2489,21 +2489,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 922, + "id": 946, "name": "Identifier", "src": "2668:3:7" } ], - "id": 923, + "id": 947, "name": "IndexAccess", "src": "2658:14:7" } ], - "id": 924, + "id": 948, "name": "MemberAccess", "src": "2658:18:7" }, @@ -2513,26 +2513,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 866, + "referencedDeclaration": 890, "type": "uint256", "value": "_value" }, - "id": 925, + "id": 949, "name": "Identifier", "src": "2677:6:7" } ], - "id": 926, + "id": 950, "name": "FunctionCall", "src": "2658:26:7" } ], - "id": 927, + "id": 951, "name": "Assignment", "src": "2641:43:7" } ], - "id": 928, + "id": 952, "name": "ExpressionStatement", "src": "2641:43:7" }, @@ -2572,11 +2572,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 809, + "referencedDeclaration": 833, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 929, + "id": 953, "name": "Identifier", "src": "2697:8:7" }, @@ -2586,11 +2586,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 886, "type": "address", "value": "_from" }, - "id": 930, + "id": 954, "name": "Identifier", "src": "2706:5:7" }, @@ -2600,11 +2600,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 931, + "id": 955, "name": "Identifier", "src": "2713:3:7" }, @@ -2614,21 +2614,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 866, + "referencedDeclaration": 890, "type": "uint256", "value": "_value" }, - "id": 932, + "id": 956, "name": "Identifier", "src": "2718:6:7" } ], - "id": 933, + "id": 957, "name": "FunctionCall", "src": "2697:28:7" } ], - "id": 934, + "id": 958, "name": "ExpressionStatement", "src": "2697:28:7" }, @@ -2660,11 +2660,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1310, + "referencedDeclaration": 1334, "type": "function (bool) pure", "value": "assert" }, - "id": 935, + "id": 959, "name": "Identifier", "src": "2838:6:7" }, @@ -2711,7 +2711,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2731,11 +2731,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 936, + "id": 960, "name": "Identifier", "src": "2845:9:7" }, @@ -2745,21 +2745,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 886, "type": "address", "value": "_from" }, - "id": 937, + "id": 961, "name": "Identifier", "src": "2855:5:7" } ], - "id": 938, + "id": 962, "name": "IndexAccess", "src": "2845:16:7" } ], - "id": 939, + "id": 963, "name": "MemberAccess", "src": "2845:20:7" }, @@ -2779,11 +2779,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 940, + "id": 964, "name": "Identifier", "src": "2866:9:7" }, @@ -2793,21 +2793,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 864, + "referencedDeclaration": 888, "type": "address", "value": "_to" }, - "id": 941, + "id": 965, "name": "Identifier", "src": "2876:3:7" } ], - "id": 942, + "id": 966, "name": "IndexAccess", "src": "2866:14:7" } ], - "id": 943, + "id": 967, "name": "FunctionCall", "src": "2845:36:7" }, @@ -2817,36 +2817,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 897, + "referencedDeclaration": 921, "type": "uint256", "value": "previousBalances" }, - "id": 944, + "id": 968, "name": "Identifier", "src": "2885:16:7" } ], - "id": 945, + "id": 969, "name": "BinaryOperation", "src": "2845:56:7" } ], - "id": 946, + "id": 970, "name": "FunctionCall", "src": "2838:64:7" } ], - "id": 947, + "id": 971, "name": "ExpressionStatement", "src": "2838:64:7" } ], - "id": 948, + "id": 972, "name": "Block", "src": "2091:819:7" } ], - "id": 949, + "id": 973, "name": "FunctionDefinition", "src": "2014:896:7" }, @@ -2860,7 +2860,7 @@ ], "name": "transfer", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2872,7 +2872,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 964, + "scope": 988, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2885,12 +2885,12 @@ "name": "address", "type": "address" }, - "id": 950, + "id": 974, "name": "ElementaryTypeName", "src": "3139:7:7" } ], - "id": 951, + "id": 975, "name": "VariableDeclaration", "src": "3139:11:7" }, @@ -2898,7 +2898,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 964, + "scope": 988, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2911,17 +2911,17 @@ "name": "uint256", "type": "uint256" }, - "id": 952, + "id": 976, "name": "ElementaryTypeName", "src": "3152:7:7" } ], - "id": 953, + "id": 977, "name": "VariableDeclaration", "src": "3152:14:7" } ], - "id": 954, + "id": 978, "name": "ParameterList", "src": "3138:29:7" }, @@ -2932,7 +2932,7 @@ ] }, "children": [], - "id": 955, + "id": 979, "name": "ParameterList", "src": "3180:0:7" }, @@ -2974,11 +2974,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 949, + "referencedDeclaration": 973, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 956, + "id": 980, "name": "Identifier", "src": "3191:9:7" }, @@ -3000,16 +3000,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 957, + "id": 981, "name": "Identifier", "src": "3201:3:7" } ], - "id": 958, + "id": 982, "name": "MemberAccess", "src": "3201:10:7" }, @@ -3019,11 +3019,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 951, + "referencedDeclaration": 975, "type": "address", "value": "_to" }, - "id": 959, + "id": 983, "name": "Identifier", "src": "3213:3:7" }, @@ -3033,31 +3033,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 953, + "referencedDeclaration": 977, "type": "uint256", "value": "_value" }, - "id": 960, + "id": 984, "name": "Identifier", "src": "3218:6:7" } ], - "id": 961, + "id": 985, "name": "FunctionCall", "src": "3191:34:7" } ], - "id": 962, + "id": 986, "name": "ExpressionStatement", "src": "3191:34:7" } ], - "id": 963, + "id": 987, "name": "Block", "src": "3180:53:7" } ], - "id": 964, + "id": 988, "name": "FunctionDefinition", "src": "3121:112:7" }, @@ -3071,7 +3071,7 @@ ], "name": "transferFrom", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3083,7 +3083,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 1012, + "scope": 1036, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3096,12 +3096,12 @@ "name": "address", "type": "address" }, - "id": 965, + "id": 989, "name": "ElementaryTypeName", "src": "3535:7:7" } ], - "id": 966, + "id": 990, "name": "VariableDeclaration", "src": "3535:13:7" }, @@ -3109,7 +3109,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 1012, + "scope": 1036, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3122,12 +3122,12 @@ "name": "address", "type": "address" }, - "id": 967, + "id": 991, "name": "ElementaryTypeName", "src": "3550:7:7" } ], - "id": 968, + "id": 992, "name": "VariableDeclaration", "src": "3550:11:7" }, @@ -3135,7 +3135,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1012, + "scope": 1036, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3148,17 +3148,17 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 993, "name": "ElementaryTypeName", "src": "3563:7:7" } ], - "id": 970, + "id": 994, "name": "VariableDeclaration", "src": "3563:14:7" } ], - "id": 971, + "id": 995, "name": "ParameterList", "src": "3534:44:7" }, @@ -3168,7 +3168,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1012, + "scope": 1036, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -3181,17 +3181,17 @@ "name": "bool", "type": "bool" }, - "id": 972, + "id": 996, "name": "ElementaryTypeName", "src": "3604:4:7" } ], - "id": 973, + "id": 997, "name": "VariableDeclaration", "src": "3604:12:7" } ], - "id": 974, + "id": 998, "name": "ParameterList", "src": "3603:14:7" }, @@ -3225,11 +3225,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 975, + "id": 999, "name": "Identifier", "src": "3634:7:7" }, @@ -3254,11 +3254,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 970, + "referencedDeclaration": 994, "type": "uint256", "value": "_value" }, - "id": 976, + "id": 1000, "name": "Identifier", "src": "3642:6:7" }, @@ -3288,11 +3288,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 977, + "id": 1001, "name": "Identifier", "src": "3652:9:7" }, @@ -3302,16 +3302,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 966, + "referencedDeclaration": 990, "type": "address", "value": "_from" }, - "id": 978, + "id": 1002, "name": "Identifier", "src": "3662:5:7" } ], - "id": 979, + "id": 1003, "name": "IndexAccess", "src": "3652:16:7" }, @@ -3333,36 +3333,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 980, + "id": 1004, "name": "Identifier", "src": "3669:3:7" } ], - "id": 981, + "id": 1005, "name": "MemberAccess", "src": "3669:10:7" } ], - "id": 982, + "id": 1006, "name": "IndexAccess", "src": "3652:28:7" } ], - "id": 983, + "id": 1007, "name": "BinaryOperation", "src": "3642:38:7" } ], - "id": 984, + "id": 1008, "name": "FunctionCall", "src": "3634:47:7" } ], - "id": 985, + "id": 1009, "name": "ExpressionStatement", "src": "3634:47:7" }, @@ -3405,11 +3405,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 986, + "id": 1010, "name": "Identifier", "src": "3717:9:7" }, @@ -3419,16 +3419,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 966, + "referencedDeclaration": 990, "type": "address", "value": "_from" }, - "id": 987, + "id": 1011, "name": "Identifier", "src": "3727:5:7" } ], - "id": 990, + "id": 1014, "name": "IndexAccess", "src": "3717:16:7" }, @@ -3450,21 +3450,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 988, + "id": 1012, "name": "Identifier", "src": "3734:3:7" } ], - "id": 989, + "id": 1013, "name": "MemberAccess", "src": "3734:10:7" } ], - "id": 991, + "id": 1015, "name": "IndexAccess", "src": "3717:28:7" }, @@ -3496,7 +3496,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -3526,11 +3526,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 992, + "id": 1016, "name": "Identifier", "src": "3748:9:7" }, @@ -3540,16 +3540,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 966, + "referencedDeclaration": 990, "type": "address", "value": "_from" }, - "id": 993, + "id": 1017, "name": "Identifier", "src": "3758:5:7" } ], - "id": 994, + "id": 1018, "name": "IndexAccess", "src": "3748:16:7" }, @@ -3571,26 +3571,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 995, + "id": 1019, "name": "Identifier", "src": "3765:3:7" } ], - "id": 996, + "id": 1020, "name": "MemberAccess", "src": "3765:10:7" } ], - "id": 997, + "id": 1021, "name": "IndexAccess", "src": "3748:28:7" } ], - "id": 998, + "id": 1022, "name": "MemberAccess", "src": "3748:32:7" }, @@ -3600,26 +3600,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 970, + "referencedDeclaration": 994, "type": "uint256", "value": "_value" }, - "id": 999, + "id": 1023, "name": "Identifier", "src": "3781:6:7" } ], - "id": 1000, + "id": 1024, "name": "FunctionCall", "src": "3748:40:7" } ], - "id": 1001, + "id": 1025, "name": "Assignment", "src": "3717:71:7" } ], - "id": 1002, + "id": 1026, "name": "ExpressionStatement", "src": "3717:71:7" }, @@ -3659,11 +3659,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 949, + "referencedDeclaration": 973, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 1003, + "id": 1027, "name": "Identifier", "src": "3799:9:7" }, @@ -3673,11 +3673,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 966, + "referencedDeclaration": 990, "type": "address", "value": "_from" }, - "id": 1004, + "id": 1028, "name": "Identifier", "src": "3809:5:7" }, @@ -3687,11 +3687,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 968, + "referencedDeclaration": 992, "type": "address", "value": "_to" }, - "id": 1005, + "id": 1029, "name": "Identifier", "src": "3816:3:7" }, @@ -3701,27 +3701,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 970, + "referencedDeclaration": 994, "type": "uint256", "value": "_value" }, - "id": 1006, + "id": 1030, "name": "Identifier", "src": "3821:6:7" } ], - "id": 1007, + "id": 1031, "name": "FunctionCall", "src": "3799:29:7" } ], - "id": 1008, + "id": 1032, "name": "ExpressionStatement", "src": "3799:29:7" }, { "attributes": { - "functionReturnParameters": 974 + "functionReturnParameters": 998 }, "children": [ { @@ -3737,22 +3737,22 @@ "type": "bool", "value": "true" }, - "id": 1009, + "id": 1033, "name": "Literal", "src": "3848:4:7" } ], - "id": 1010, + "id": 1034, "name": "Return", "src": "3841:11:7" } ], - "id": 1011, + "id": 1035, "name": "Block", "src": "3623:237:7" } ], - "id": 1012, + "id": 1036, "name": "FunctionDefinition", "src": "3513:347:7" }, @@ -3766,7 +3766,7 @@ ], "name": "approve", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3778,7 +3778,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1033, + "scope": 1057, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3791,12 +3791,12 @@ "name": "address", "type": "address" }, - "id": 1013, + "id": 1037, "name": "ElementaryTypeName", "src": "4146:7:7" } ], - "id": 1014, + "id": 1038, "name": "VariableDeclaration", "src": "4146:16:7" }, @@ -3804,7 +3804,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1033, + "scope": 1057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3817,17 +3817,17 @@ "name": "uint256", "type": "uint256" }, - "id": 1015, + "id": 1039, "name": "ElementaryTypeName", "src": "4164:7:7" } ], - "id": 1016, + "id": 1040, "name": "VariableDeclaration", "src": "4164:14:7" } ], - "id": 1017, + "id": 1041, "name": "ParameterList", "src": "4145:34:7" }, @@ -3837,7 +3837,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1033, + "scope": 1057, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -3850,17 +3850,17 @@ "name": "bool", "type": "bool" }, - "id": 1018, + "id": 1042, "name": "ElementaryTypeName", "src": "4205:4:7" } ], - "id": 1019, + "id": 1043, "name": "VariableDeclaration", "src": "4205:12:7" } ], - "id": 1020, + "id": 1044, "name": "ParameterList", "src": "4204:14:7" }, @@ -3905,11 +3905,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1021, + "id": 1045, "name": "Identifier", "src": "4235:9:7" }, @@ -3931,21 +3931,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1022, + "id": 1046, "name": "Identifier", "src": "4245:3:7" } ], - "id": 1023, + "id": 1047, "name": "MemberAccess", "src": "4245:10:7" } ], - "id": 1025, + "id": 1049, "name": "IndexAccess", "src": "4235:21:7" }, @@ -3955,16 +3955,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1014, + "referencedDeclaration": 1038, "type": "address", "value": "_spender" }, - "id": 1024, + "id": 1048, "name": "Identifier", "src": "4257:8:7" } ], - "id": 1026, + "id": 1050, "name": "IndexAccess", "src": "4235:31:7" }, @@ -3974,27 +3974,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1016, + "referencedDeclaration": 1040, "type": "uint256", "value": "_value" }, - "id": 1027, + "id": 1051, "name": "Identifier", "src": "4269:6:7" } ], - "id": 1028, + "id": 1052, "name": "Assignment", "src": "4235:40:7" } ], - "id": 1029, + "id": 1053, "name": "ExpressionStatement", "src": "4235:40:7" }, { "attributes": { - "functionReturnParameters": 1020 + "functionReturnParameters": 1044 }, "children": [ { @@ -4010,22 +4010,22 @@ "type": "bool", "value": "true" }, - "id": 1030, + "id": 1054, "name": "Literal", "src": "4295:4:7" } ], - "id": 1031, + "id": 1055, "name": "Return", "src": "4288:11:7" } ], - "id": 1032, + "id": 1056, "name": "Block", "src": "4224:83:7" } ], - "id": 1033, + "id": 1057, "name": "FunctionDefinition", "src": "4129:178:7" }, @@ -4036,7 +4036,7 @@ "isConstructor": false, "name": "approveAndCall", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4048,7 +4048,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1071, + "scope": 1095, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4061,12 +4061,12 @@ "name": "address", "type": "address" }, - "id": 1034, + "id": 1058, "name": "ElementaryTypeName", "src": "4730:7:7" } ], - "id": 1035, + "id": 1059, "name": "VariableDeclaration", "src": "4730:16:7" }, @@ -4074,7 +4074,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1071, + "scope": 1095, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4087,12 +4087,12 @@ "name": "uint256", "type": "uint256" }, - "id": 1036, + "id": 1060, "name": "ElementaryTypeName", "src": "4748:7:7" } ], - "id": 1037, + "id": 1061, "name": "VariableDeclaration", "src": "4748:14:7" }, @@ -4100,7 +4100,7 @@ "attributes": { "constant": false, "name": "_extraData", - "scope": 1071, + "scope": 1095, "stateVariable": false, "storageLocation": "default", "type": "bytes memory", @@ -4113,17 +4113,17 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 1038, + "id": 1062, "name": "ElementaryTypeName", "src": "4764:5:7" } ], - "id": 1039, + "id": 1063, "name": "VariableDeclaration", "src": "4764:16:7" } ], - "id": 1040, + "id": 1064, "name": "ParameterList", "src": "4729:52:7" }, @@ -4133,7 +4133,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1071, + "scope": 1095, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -4146,17 +4146,17 @@ "name": "bool", "type": "bool" }, - "id": 1043, + "id": 1067, "name": "ElementaryTypeName", "src": "4817:4:7" } ], - "id": 1044, + "id": 1068, "name": "VariableDeclaration", "src": "4817:12:7" } ], - "id": 1045, + "id": 1069, "name": "ParameterList", "src": "4816:14:7" }, @@ -4177,12 +4177,12 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 1041, + "id": 1065, "name": "Identifier", "src": "4789:9:7" } ], - "id": 1042, + "id": 1066, "name": "ModifierInvocation", "src": "4789:9:7" }, @@ -4191,7 +4191,7 @@ { "attributes": { "assignments": [ - 1047 + 1071 ] }, "children": [ @@ -4199,7 +4199,7 @@ "attributes": { "constant": false, "name": "spender", - "scope": 1071, + "scope": 1095, "stateVariable": false, "storageLocation": "default", "type": "contract tokenRecipient", @@ -4211,15 +4211,15 @@ "attributes": { "contractScope": null, "name": "tokenRecipient", - "referencedDeclaration": 765, + "referencedDeclaration": 789, "type": "contract tokenRecipient" }, - "id": 1046, + "id": 1070, "name": "UserDefinedTypeName", "src": "4847:14:7" } ], - "id": 1047, + "id": 1071, "name": "VariableDeclaration", "src": "4847:22:7" }, @@ -4249,11 +4249,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 765, + "referencedDeclaration": 789, "type": "type(contract tokenRecipient)", "value": "tokenRecipient" }, - "id": 1048, + "id": 1072, "name": "Identifier", "src": "4872:14:7" }, @@ -4263,21 +4263,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1035, + "referencedDeclaration": 1059, "type": "address", "value": "_spender" }, - "id": 1049, + "id": 1073, "name": "Identifier", "src": "4887:8:7" } ], - "id": 1050, + "id": 1074, "name": "FunctionCall", "src": "4872:24:7" } ], - "id": 1051, + "id": 1075, "name": "VariableDeclarationStatement", "src": "4847:49:7" }, @@ -4316,11 +4316,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1033, + "referencedDeclaration": 1057, "type": "function (address,uint256) returns (bool)", "value": "approve" }, - "id": 1052, + "id": 1076, "name": "Identifier", "src": "4913:7:7" }, @@ -4330,11 +4330,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1035, + "referencedDeclaration": 1059, "type": "address", "value": "_spender" }, - "id": 1053, + "id": 1077, "name": "Identifier", "src": "4921:8:7" }, @@ -4344,16 +4344,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1037, + "referencedDeclaration": 1061, "type": "uint256", "value": "_value" }, - "id": 1054, + "id": 1078, "name": "Identifier", "src": "4931:6:7" } ], - "id": 1055, + "id": 1079, "name": "FunctionCall", "src": "4913:25:7" }, @@ -4388,7 +4388,7 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_contract$_TokenERC20_$1307", + "typeIdentifier": "t_contract$_TokenERC20_$1331", "typeString": "contract TokenERC20" }, { @@ -4401,7 +4401,7 @@ "isPure": false, "lValueRequested": false, "member_name": "receiveApproval", - "referencedDeclaration": 764, + "referencedDeclaration": 788, "type": "function (address,uint256,address,bytes memory) external" }, "children": [ @@ -4411,16 +4411,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1047, + "referencedDeclaration": 1071, "type": "contract tokenRecipient", "value": "spender" }, - "id": 1056, + "id": 1080, "name": "Identifier", "src": "4955:7:7" } ], - "id": 1058, + "id": 1082, "name": "MemberAccess", "src": "4955:23:7" }, @@ -4442,16 +4442,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1059, + "id": 1083, "name": "Identifier", "src": "4979:3:7" } ], - "id": 1060, + "id": 1084, "name": "MemberAccess", "src": "4979:10:7" }, @@ -4461,11 +4461,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1037, + "referencedDeclaration": 1061, "type": "uint256", "value": "_value" }, - "id": 1061, + "id": 1085, "name": "Identifier", "src": "4991:6:7" }, @@ -4475,11 +4475,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1336, + "referencedDeclaration": 1360, "type": "contract TokenERC20", "value": "this" }, - "id": 1062, + "id": 1086, "name": "Identifier", "src": "4999:4:7" }, @@ -4489,27 +4489,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1039, + "referencedDeclaration": 1063, "type": "bytes memory", "value": "_extraData" }, - "id": 1063, + "id": 1087, "name": "Identifier", "src": "5005:10:7" } ], - "id": 1064, + "id": 1088, "name": "FunctionCall", "src": "4955:61:7" } ], - "id": 1065, + "id": 1089, "name": "ExpressionStatement", "src": "4955:61:7" }, { "attributes": { - "functionReturnParameters": 1045 + "functionReturnParameters": 1069 }, "children": [ { @@ -4525,32 +4525,32 @@ "type": "bool", "value": "true" }, - "id": 1066, + "id": 1090, "name": "Literal", "src": "5040:4:7" } ], - "id": 1067, + "id": 1091, "name": "Return", "src": "5033:11:7" } ], - "id": 1068, + "id": 1092, "name": "Block", "src": "4940:116:7" } ], - "id": 1069, + "id": 1093, "name": "IfStatement", "src": "4909:147:7" } ], - "id": 1070, + "id": 1094, "name": "Block", "src": "4836:227:7" } ], - "id": 1071, + "id": 1095, "name": "FunctionDefinition", "src": "4706:357:7" }, @@ -4564,7 +4564,7 @@ ], "name": "increaseApproval", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4576,7 +4576,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1112, + "scope": 1136, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4589,12 +4589,12 @@ "name": "address", "type": "address" }, - "id": 1072, + "id": 1096, "name": "ElementaryTypeName", "src": "5352:7:7" } ], - "id": 1073, + "id": 1097, "name": "VariableDeclaration", "src": "5352:16:7" }, @@ -4602,7 +4602,7 @@ "attributes": { "constant": false, "name": "_addedValue", - "scope": 1112, + "scope": 1136, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4615,17 +4615,17 @@ "name": "uint", "type": "uint256" }, - "id": 1074, + "id": 1098, "name": "ElementaryTypeName", "src": "5370:4:7" } ], - "id": 1075, + "id": 1099, "name": "VariableDeclaration", "src": "5370:16:7" } ], - "id": 1076, + "id": 1100, "name": "ParameterList", "src": "5351:36:7" }, @@ -4635,7 +4635,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1112, + "scope": 1136, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -4648,17 +4648,17 @@ "name": "bool", "type": "bool" }, - "id": 1077, + "id": 1101, "name": "ElementaryTypeName", "src": "5413:4:7" } ], - "id": 1078, + "id": 1102, "name": "VariableDeclaration", "src": "5413:12:7" } ], - "id": 1079, + "id": 1103, "name": "ParameterList", "src": "5412:14:7" }, @@ -4703,11 +4703,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1080, + "id": 1104, "name": "Identifier", "src": "5443:9:7" }, @@ -4729,21 +4729,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1081, + "id": 1105, "name": "Identifier", "src": "5453:3:7" } ], - "id": 1082, + "id": 1106, "name": "MemberAccess", "src": "5453:10:7" } ], - "id": 1084, + "id": 1108, "name": "IndexAccess", "src": "5443:21:7" }, @@ -4753,16 +4753,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1073, + "referencedDeclaration": 1097, "type": "address", "value": "_spender" }, - "id": 1083, + "id": 1107, "name": "Identifier", "src": "5465:8:7" } ], - "id": 1085, + "id": 1109, "name": "IndexAccess", "src": "5443:31:7" }, @@ -4794,7 +4794,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 324, + "referencedDeclaration": 335, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -4824,11 +4824,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1086, + "id": 1110, "name": "Identifier", "src": "5477:9:7" }, @@ -4850,21 +4850,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1087, + "id": 1111, "name": "Identifier", "src": "5487:3:7" } ], - "id": 1088, + "id": 1112, "name": "MemberAccess", "src": "5487:10:7" } ], - "id": 1089, + "id": 1113, "name": "IndexAccess", "src": "5477:21:7" }, @@ -4874,21 +4874,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1073, + "referencedDeclaration": 1097, "type": "address", "value": "_spender" }, - "id": 1090, + "id": 1114, "name": "Identifier", "src": "5499:8:7" } ], - "id": 1091, + "id": 1115, "name": "IndexAccess", "src": "5477:31:7" } ], - "id": 1092, + "id": 1116, "name": "MemberAccess", "src": "5477:35:7" }, @@ -4898,26 +4898,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1075, + "referencedDeclaration": 1099, "type": "uint256", "value": "_addedValue" }, - "id": 1093, + "id": 1117, "name": "Identifier", "src": "5513:11:7" } ], - "id": 1094, + "id": 1118, "name": "FunctionCall", "src": "5477:48:7" } ], - "id": 1095, + "id": 1119, "name": "Assignment", "src": "5443:82:7" } ], - "id": 1096, + "id": 1120, "name": "ExpressionStatement", "src": "5443:82:7" }, @@ -4957,11 +4957,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 823, + "referencedDeclaration": 847, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 1097, + "id": 1121, "name": "Identifier", "src": "5538:8:7" }, @@ -4983,16 +4983,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1098, + "id": 1122, "name": "Identifier", "src": "5547:3:7" } ], - "id": 1099, + "id": 1123, "name": "MemberAccess", "src": "5547:10:7" }, @@ -5002,11 +5002,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1073, + "referencedDeclaration": 1097, "type": "address", "value": "_spender" }, - "id": 1100, + "id": 1124, "name": "Identifier", "src": "5559:8:7" }, @@ -5036,11 +5036,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1101, + "id": 1125, "name": "Identifier", "src": "5569:9:7" }, @@ -5062,21 +5062,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1102, + "id": 1126, "name": "Identifier", "src": "5579:3:7" } ], - "id": 1103, + "id": 1127, "name": "MemberAccess", "src": "5579:10:7" } ], - "id": 1104, + "id": 1128, "name": "IndexAccess", "src": "5569:21:7" }, @@ -5086,32 +5086,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1073, + "referencedDeclaration": 1097, "type": "address", "value": "_spender" }, - "id": 1105, + "id": 1129, "name": "Identifier", "src": "5591:8:7" } ], - "id": 1106, + "id": 1130, "name": "IndexAccess", "src": "5569:31:7" } ], - "id": 1107, + "id": 1131, "name": "FunctionCall", "src": "5538:63:7" } ], - "id": 1108, + "id": 1132, "name": "ExpressionStatement", "src": "5538:63:7" }, { "attributes": { - "functionReturnParameters": 1079 + "functionReturnParameters": 1103 }, "children": [ { @@ -5127,22 +5127,22 @@ "type": "bool", "value": "true" }, - "id": 1109, + "id": 1133, "name": "Literal", "src": "5621:4:7" } ], - "id": 1110, + "id": 1134, "name": "Return", "src": "5614:11:7" } ], - "id": 1111, + "id": 1135, "name": "Block", "src": "5432:201:7" } ], - "id": 1112, + "id": 1136, "name": "FunctionDefinition", "src": "5325:308:7" }, @@ -5156,7 +5156,7 @@ ], "name": "decreaseApproval", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -5168,7 +5168,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1172, + "scope": 1196, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -5181,12 +5181,12 @@ "name": "address", "type": "address" }, - "id": 1113, + "id": 1137, "name": "ElementaryTypeName", "src": "5668:7:7" } ], - "id": 1114, + "id": 1138, "name": "VariableDeclaration", "src": "5668:16:7" }, @@ -5194,7 +5194,7 @@ "attributes": { "constant": false, "name": "_subtractedValue", - "scope": 1172, + "scope": 1196, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5207,17 +5207,17 @@ "name": "uint", "type": "uint256" }, - "id": 1115, + "id": 1139, "name": "ElementaryTypeName", "src": "5686:4:7" } ], - "id": 1116, + "id": 1140, "name": "VariableDeclaration", "src": "5686:21:7" } ], - "id": 1117, + "id": 1141, "name": "ParameterList", "src": "5667:41:7" }, @@ -5227,7 +5227,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1172, + "scope": 1196, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -5240,17 +5240,17 @@ "name": "bool", "type": "bool" }, - "id": 1118, + "id": 1142, "name": "ElementaryTypeName", "src": "5734:4:7" } ], - "id": 1119, + "id": 1143, "name": "VariableDeclaration", "src": "5734:12:7" } ], - "id": 1120, + "id": 1144, "name": "ParameterList", "src": "5733:14:7" }, @@ -5259,7 +5259,7 @@ { "attributes": { "assignments": [ - 1122 + 1146 ] }, "children": [ @@ -5267,7 +5267,7 @@ "attributes": { "constant": false, "name": "oldValue", - "scope": 1172, + "scope": 1196, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5280,12 +5280,12 @@ "name": "uint", "type": "uint256" }, - "id": 1121, + "id": 1145, "name": "ElementaryTypeName", "src": "5764:4:7" } ], - "id": 1122, + "id": 1146, "name": "VariableDeclaration", "src": "5764:13:7" }, @@ -5315,11 +5315,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1123, + "id": 1147, "name": "Identifier", "src": "5780:9:7" }, @@ -5341,21 +5341,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1124, + "id": 1148, "name": "Identifier", "src": "5790:3:7" } ], - "id": 1125, + "id": 1149, "name": "MemberAccess", "src": "5790:10:7" } ], - "id": 1126, + "id": 1150, "name": "IndexAccess", "src": "5780:21:7" }, @@ -5365,21 +5365,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1114, + "referencedDeclaration": 1138, "type": "address", "value": "_spender" }, - "id": 1127, + "id": 1151, "name": "Identifier", "src": "5802:8:7" } ], - "id": 1128, + "id": 1152, "name": "IndexAccess", "src": "5780:31:7" } ], - "id": 1129, + "id": 1153, "name": "VariableDeclarationStatement", "src": "5764:47:7" }, @@ -5406,11 +5406,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1116, + "referencedDeclaration": 1140, "type": "uint256", "value": "_subtractedValue" }, - "id": 1130, + "id": 1154, "name": "Identifier", "src": "5828:16:7" }, @@ -5420,16 +5420,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1122, + "referencedDeclaration": 1146, "type": "uint256", "value": "oldValue" }, - "id": 1131, + "id": 1155, "name": "Identifier", "src": "5847:8:7" } ], - "id": 1132, + "id": 1156, "name": "BinaryOperation", "src": "5828:27:7" }, @@ -5474,11 +5474,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1133, + "id": 1157, "name": "Identifier", "src": "5872:9:7" }, @@ -5500,21 +5500,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1134, + "id": 1158, "name": "Identifier", "src": "5882:3:7" } ], - "id": 1135, + "id": 1159, "name": "MemberAccess", "src": "5882:10:7" } ], - "id": 1137, + "id": 1161, "name": "IndexAccess", "src": "5872:21:7" }, @@ -5524,16 +5524,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1114, + "referencedDeclaration": 1138, "type": "address", "value": "_spender" }, - "id": 1136, + "id": 1160, "name": "Identifier", "src": "5894:8:7" } ], - "id": 1138, + "id": 1162, "name": "IndexAccess", "src": "5872:31:7" }, @@ -5550,22 +5550,22 @@ "type": "int_const 0", "value": "0" }, - "id": 1139, + "id": 1163, "name": "Literal", "src": "5906:1:7" } ], - "id": 1140, + "id": 1164, "name": "Assignment", "src": "5872:35:7" } ], - "id": 1141, + "id": 1165, "name": "ExpressionStatement", "src": "5872:35:7" } ], - "id": 1142, + "id": 1166, "name": "Block", "src": "5857:62:7" }, @@ -5610,11 +5610,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1143, + "id": 1167, "name": "Identifier", "src": "5940:9:7" }, @@ -5636,21 +5636,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1144, + "id": 1168, "name": "Identifier", "src": "5950:3:7" } ], - "id": 1145, + "id": 1169, "name": "MemberAccess", "src": "5950:10:7" } ], - "id": 1147, + "id": 1171, "name": "IndexAccess", "src": "5940:21:7" }, @@ -5660,16 +5660,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1114, + "referencedDeclaration": 1138, "type": "address", "value": "_spender" }, - "id": 1146, + "id": 1170, "name": "Identifier", "src": "5962:8:7" } ], - "id": 1148, + "id": 1172, "name": "IndexAccess", "src": "5940:31:7" }, @@ -5701,7 +5701,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -5711,16 +5711,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1122, + "referencedDeclaration": 1146, "type": "uint256", "value": "oldValue" }, - "id": 1149, + "id": 1173, "name": "Identifier", "src": "5974:8:7" } ], - "id": 1150, + "id": 1174, "name": "MemberAccess", "src": "5974:12:7" }, @@ -5730,36 +5730,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1116, + "referencedDeclaration": 1140, "type": "uint256", "value": "_subtractedValue" }, - "id": 1151, + "id": 1175, "name": "Identifier", "src": "5987:16:7" } ], - "id": 1152, + "id": 1176, "name": "FunctionCall", "src": "5974:30:7" } ], - "id": 1153, + "id": 1177, "name": "Assignment", "src": "5940:64:7" } ], - "id": 1154, + "id": 1178, "name": "ExpressionStatement", "src": "5940:64:7" } ], - "id": 1155, + "id": 1179, "name": "Block", "src": "5925:91:7" } ], - "id": 1156, + "id": 1180, "name": "IfStatement", "src": "5824:192:7" }, @@ -5799,11 +5799,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 823, + "referencedDeclaration": 847, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 1157, + "id": 1181, "name": "Identifier", "src": "6028:8:7" }, @@ -5825,16 +5825,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1158, + "id": 1182, "name": "Identifier", "src": "6037:3:7" } ], - "id": 1159, + "id": 1183, "name": "MemberAccess", "src": "6037:10:7" }, @@ -5844,11 +5844,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1114, + "referencedDeclaration": 1138, "type": "address", "value": "_spender" }, - "id": 1160, + "id": 1184, "name": "Identifier", "src": "6049:8:7" }, @@ -5878,11 +5878,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1161, + "id": 1185, "name": "Identifier", "src": "6059:9:7" }, @@ -5904,21 +5904,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1162, + "id": 1186, "name": "Identifier", "src": "6069:3:7" } ], - "id": 1163, + "id": 1187, "name": "MemberAccess", "src": "6069:10:7" } ], - "id": 1164, + "id": 1188, "name": "IndexAccess", "src": "6059:21:7" }, @@ -5928,32 +5928,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1114, + "referencedDeclaration": 1138, "type": "address", "value": "_spender" }, - "id": 1165, + "id": 1189, "name": "Identifier", "src": "6081:8:7" } ], - "id": 1166, + "id": 1190, "name": "IndexAccess", "src": "6059:31:7" } ], - "id": 1167, + "id": 1191, "name": "FunctionCall", "src": "6028:63:7" } ], - "id": 1168, + "id": 1192, "name": "ExpressionStatement", "src": "6028:63:7" }, { "attributes": { - "functionReturnParameters": 1120 + "functionReturnParameters": 1144 }, "children": [ { @@ -5969,22 +5969,22 @@ "type": "bool", "value": "true" }, - "id": 1169, + "id": 1193, "name": "Literal", "src": "6111:4:7" } ], - "id": 1170, + "id": 1194, "name": "Return", "src": "6104:11:7" } ], - "id": 1171, + "id": 1195, "name": "Block", "src": "5753:370:7" } ], - "id": 1172, + "id": 1196, "name": "FunctionDefinition", "src": "5641:482:7" }, @@ -5995,7 +5995,7 @@ "isConstructor": false, "name": "burn", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6007,7 +6007,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1226, + "scope": 1250, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6020,17 +6020,17 @@ "name": "uint256", "type": "uint256" }, - "id": 1173, + "id": 1197, "name": "ElementaryTypeName", "src": "6312:7:7" } ], - "id": 1174, + "id": 1198, "name": "VariableDeclaration", "src": "6312:14:7" } ], - "id": 1175, + "id": 1199, "name": "ParameterList", "src": "6311:16:7" }, @@ -6040,7 +6040,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1226, + "scope": 1250, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -6053,17 +6053,17 @@ "name": "bool", "type": "bool" }, - "id": 1178, + "id": 1202, "name": "ElementaryTypeName", "src": "6363:4:7" } ], - "id": 1179, + "id": 1203, "name": "VariableDeclaration", "src": "6363:12:7" } ], - "id": 1180, + "id": 1204, "name": "ParameterList", "src": "6362:14:7" }, @@ -6084,12 +6084,12 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 1176, + "id": 1200, "name": "Identifier", "src": "6335:9:7" } ], - "id": 1177, + "id": 1201, "name": "ModifierInvocation", "src": "6335:9:7" }, @@ -6123,11 +6123,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 1181, + "id": 1205, "name": "Identifier", "src": "6393:7:7" }, @@ -6162,11 +6162,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1182, + "id": 1206, "name": "Identifier", "src": "6401:9:7" }, @@ -6188,21 +6188,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1183, + "id": 1207, "name": "Identifier", "src": "6411:3:7" } ], - "id": 1184, + "id": 1208, "name": "MemberAccess", "src": "6411:10:7" } ], - "id": 1185, + "id": 1209, "name": "IndexAccess", "src": "6401:21:7" }, @@ -6212,26 +6212,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 1198, "type": "uint256", "value": "_value" }, - "id": 1186, + "id": 1210, "name": "Identifier", "src": "6426:6:7" } ], - "id": 1187, + "id": 1211, "name": "BinaryOperation", "src": "6401:31:7" } ], - "id": 1188, + "id": 1212, "name": "FunctionCall", "src": "6393:40:7" } ], - "id": 1189, + "id": 1213, "name": "ExpressionStatement", "src": "6393:40:7" }, @@ -6264,11 +6264,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1190, + "id": 1214, "name": "Identifier", "src": "6482:9:7" }, @@ -6290,21 +6290,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1191, + "id": 1215, "name": "Identifier", "src": "6492:3:7" } ], - "id": 1192, + "id": 1216, "name": "MemberAccess", "src": "6492:10:7" } ], - "id": 1193, + "id": 1217, "name": "IndexAccess", "src": "6482:21:7" }, @@ -6336,7 +6336,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -6356,11 +6356,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1194, + "id": 1218, "name": "Identifier", "src": "6506:9:7" }, @@ -6382,26 +6382,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1195, + "id": 1219, "name": "Identifier", "src": "6516:3:7" } ], - "id": 1196, + "id": 1220, "name": "MemberAccess", "src": "6516:10:7" } ], - "id": 1197, + "id": 1221, "name": "IndexAccess", "src": "6506:21:7" } ], - "id": 1198, + "id": 1222, "name": "MemberAccess", "src": "6506:25:7" }, @@ -6411,26 +6411,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 1198, "type": "uint256", "value": "_value" }, - "id": 1199, + "id": 1223, "name": "Identifier", "src": "6532:6:7" } ], - "id": 1200, + "id": 1224, "name": "FunctionCall", "src": "6506:33:7" } ], - "id": 1201, + "id": 1225, "name": "Assignment", "src": "6482:57:7" } ], - "id": 1202, + "id": 1226, "name": "ExpressionStatement", "src": "6482:57:7" }, @@ -6453,11 +6453,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 810, "type": "uint256", "value": "totalSupply" }, - "id": 1203, + "id": 1227, "name": "Identifier", "src": "6579:11:7" }, @@ -6489,7 +6489,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -6499,16 +6499,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 810, "type": "uint256", "value": "totalSupply" }, - "id": 1204, + "id": 1228, "name": "Identifier", "src": "6593:11:7" } ], - "id": 1205, + "id": 1229, "name": "MemberAccess", "src": "6593:15:7" }, @@ -6518,26 +6518,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 1198, "type": "uint256", "value": "_value" }, - "id": 1206, + "id": 1230, "name": "Identifier", "src": "6609:6:7" } ], - "id": 1207, + "id": 1231, "name": "FunctionCall", "src": "6593:23:7" } ], - "id": 1208, + "id": 1232, "name": "Assignment", "src": "6579:37:7" } ], - "id": 1209, + "id": 1233, "name": "ExpressionStatement", "src": "6579:37:7" }, @@ -6560,11 +6560,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 1210, + "id": 1234, "name": "Identifier", "src": "6671:15:7" }, @@ -6596,7 +6596,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -6606,16 +6606,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 1211, + "id": 1235, "name": "Identifier", "src": "6689:15:7" } ], - "id": 1212, + "id": 1236, "name": "MemberAccess", "src": "6689:19:7" }, @@ -6625,26 +6625,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 1198, "type": "uint256", "value": "_value" }, - "id": 1213, + "id": 1237, "name": "Identifier", "src": "6709:6:7" } ], - "id": 1214, + "id": 1238, "name": "FunctionCall", "src": "6689:27:7" } ], - "id": 1215, + "id": 1239, "name": "Assignment", "src": "6671:45:7" } ], - "id": 1216, + "id": 1240, "name": "ExpressionStatement", "src": "6671:45:7" }, @@ -6680,11 +6680,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 815, + "referencedDeclaration": 839, "type": "function (address,uint256)", "value": "Burn" }, - "id": 1217, + "id": 1241, "name": "Identifier", "src": "6729:4:7" }, @@ -6706,16 +6706,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1218, + "id": 1242, "name": "Identifier", "src": "6734:3:7" } ], - "id": 1219, + "id": 1243, "name": "MemberAccess", "src": "6734:10:7" }, @@ -6725,27 +6725,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 1198, "type": "uint256", "value": "_value" }, - "id": 1220, + "id": 1244, "name": "Identifier", "src": "6746:6:7" } ], - "id": 1221, + "id": 1245, "name": "FunctionCall", "src": "6729:24:7" } ], - "id": 1222, + "id": 1246, "name": "ExpressionStatement", "src": "6729:24:7" }, { "attributes": { - "functionReturnParameters": 1180 + "functionReturnParameters": 1204 }, "children": [ { @@ -6761,22 +6761,22 @@ "type": "bool", "value": "true" }, - "id": 1223, + "id": 1247, "name": "Literal", "src": "6773:4:7" } ], - "id": 1224, + "id": 1248, "name": "Return", "src": "6766:11:7" } ], - "id": 1225, + "id": 1249, "name": "Block", "src": "6382:403:7" } ], - "id": 1226, + "id": 1250, "name": "FunctionDefinition", "src": "6298:487:7" }, @@ -6787,7 +6787,7 @@ "isConstructor": false, "name": "burnFrom", "payable": false, - "scope": 1307, + "scope": 1331, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6799,7 +6799,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 1306, + "scope": 1330, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -6812,12 +6812,12 @@ "name": "address", "type": "address" }, - "id": 1227, + "id": 1251, "name": "ElementaryTypeName", "src": "7066:7:7" } ], - "id": 1228, + "id": 1252, "name": "VariableDeclaration", "src": "7066:13:7" }, @@ -6825,7 +6825,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1306, + "scope": 1330, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6838,17 +6838,17 @@ "name": "uint256", "type": "uint256" }, - "id": 1229, + "id": 1253, "name": "ElementaryTypeName", "src": "7081:7:7" } ], - "id": 1230, + "id": 1254, "name": "VariableDeclaration", "src": "7081:14:7" } ], - "id": 1231, + "id": 1255, "name": "ParameterList", "src": "7065:31:7" }, @@ -6858,7 +6858,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1306, + "scope": 1330, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -6871,17 +6871,17 @@ "name": "bool", "type": "bool" }, - "id": 1234, + "id": 1258, "name": "ElementaryTypeName", "src": "7132:4:7" } ], - "id": 1235, + "id": 1259, "name": "VariableDeclaration", "src": "7132:12:7" } ], - "id": 1236, + "id": 1260, "name": "ParameterList", "src": "7131:14:7" }, @@ -6902,12 +6902,12 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 1232, + "id": 1256, "name": "Identifier", "src": "7104:9:7" } ], - "id": 1233, + "id": 1257, "name": "ModifierInvocation", "src": "7104:9:7" }, @@ -6941,11 +6941,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 1237, + "id": 1261, "name": "Identifier", "src": "7162:7:7" }, @@ -6980,11 +6980,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1238, + "id": 1262, "name": "Identifier", "src": "7170:9:7" }, @@ -6994,16 +6994,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1239, + "id": 1263, "name": "Identifier", "src": "7180:5:7" } ], - "id": 1240, + "id": 1264, "name": "IndexAccess", "src": "7170:16:7" }, @@ -7013,26 +7013,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1241, + "id": 1265, "name": "Identifier", "src": "7190:6:7" } ], - "id": 1242, + "id": 1266, "name": "BinaryOperation", "src": "7170:26:7" } ], - "id": 1243, + "id": 1267, "name": "FunctionCall", "src": "7162:35:7" } ], - "id": 1244, + "id": 1268, "name": "ExpressionStatement", "src": "7162:35:7" }, @@ -7064,11 +7064,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1322, + "referencedDeclaration": 1346, "type": "function (bool) pure", "value": "require" }, - "id": 1245, + "id": 1269, "name": "Identifier", "src": "7266:7:7" }, @@ -7093,11 +7093,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1246, + "id": 1270, "name": "Identifier", "src": "7274:6:7" }, @@ -7127,11 +7127,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1247, + "id": 1271, "name": "Identifier", "src": "7284:9:7" }, @@ -7141,16 +7141,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1248, + "id": 1272, "name": "Identifier", "src": "7294:5:7" } ], - "id": 1249, + "id": 1273, "name": "IndexAccess", "src": "7284:16:7" }, @@ -7172,36 +7172,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1250, + "id": 1274, "name": "Identifier", "src": "7301:3:7" } ], - "id": 1251, + "id": 1275, "name": "MemberAccess", "src": "7301:10:7" } ], - "id": 1252, + "id": 1276, "name": "IndexAccess", "src": "7284:28:7" } ], - "id": 1253, + "id": 1277, "name": "BinaryOperation", "src": "7274:38:7" } ], - "id": 1254, + "id": 1278, "name": "FunctionCall", "src": "7266:47:7" } ], - "id": 1255, + "id": 1279, "name": "ExpressionStatement", "src": "7266:47:7" }, @@ -7234,11 +7234,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1256, + "id": 1280, "name": "Identifier", "src": "7348:9:7" }, @@ -7248,16 +7248,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1257, + "id": 1281, "name": "Identifier", "src": "7358:5:7" } ], - "id": 1258, + "id": 1282, "name": "IndexAccess", "src": "7348:16:7" }, @@ -7289,7 +7289,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7309,11 +7309,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 819, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1259, + "id": 1283, "name": "Identifier", "src": "7367:9:7" }, @@ -7323,21 +7323,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1260, + "id": 1284, "name": "Identifier", "src": "7377:5:7" } ], - "id": 1261, + "id": 1285, "name": "IndexAccess", "src": "7367:16:7" } ], - "id": 1262, + "id": 1286, "name": "MemberAccess", "src": "7367:20:7" }, @@ -7347,26 +7347,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1263, + "id": 1287, "name": "Identifier", "src": "7388:6:7" } ], - "id": 1264, + "id": 1288, "name": "FunctionCall", "src": "7367:28:7" } ], - "id": 1265, + "id": 1289, "name": "Assignment", "src": "7348:47:7" } ], - "id": 1266, + "id": 1290, "name": "ExpressionStatement", "src": "7348:47:7" }, @@ -7409,11 +7409,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1267, + "id": 1291, "name": "Identifier", "src": "7447:9:7" }, @@ -7423,16 +7423,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1268, + "id": 1292, "name": "Identifier", "src": "7457:5:7" } ], - "id": 1271, + "id": 1295, "name": "IndexAccess", "src": "7447:16:7" }, @@ -7454,21 +7454,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1269, + "id": 1293, "name": "Identifier", "src": "7464:3:7" } ], - "id": 1270, + "id": 1294, "name": "MemberAccess", "src": "7464:10:7" } ], - "id": 1272, + "id": 1296, "name": "IndexAccess", "src": "7447:28:7" }, @@ -7500,7 +7500,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7530,11 +7530,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 825, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1273, + "id": 1297, "name": "Identifier", "src": "7478:9:7" }, @@ -7544,16 +7544,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1274, + "id": 1298, "name": "Identifier", "src": "7488:5:7" } ], - "id": 1275, + "id": 1299, "name": "IndexAccess", "src": "7478:16:7" }, @@ -7575,26 +7575,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 1343, "type": "msg", "value": "msg" }, - "id": 1276, + "id": 1300, "name": "Identifier", "src": "7495:3:7" } ], - "id": 1277, + "id": 1301, "name": "MemberAccess", "src": "7495:10:7" } ], - "id": 1278, + "id": 1302, "name": "IndexAccess", "src": "7478:28:7" } ], - "id": 1279, + "id": 1303, "name": "MemberAccess", "src": "7478:32:7" }, @@ -7604,26 +7604,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1280, + "id": 1304, "name": "Identifier", "src": "7511:6:7" } ], - "id": 1281, + "id": 1305, "name": "FunctionCall", "src": "7478:40:7" } ], - "id": 1282, + "id": 1306, "name": "Assignment", "src": "7447:71:7" } ], - "id": 1283, + "id": 1307, "name": "ExpressionStatement", "src": "7447:71:7" }, @@ -7646,11 +7646,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 810, "type": "uint256", "value": "totalSupply" }, - "id": 1284, + "id": 1308, "name": "Identifier", "src": "7572:11:7" }, @@ -7682,7 +7682,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7692,16 +7692,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 810, "type": "uint256", "value": "totalSupply" }, - "id": 1285, + "id": 1309, "name": "Identifier", "src": "7586:11:7" } ], - "id": 1286, + "id": 1310, "name": "MemberAccess", "src": "7586:15:7" }, @@ -7711,26 +7711,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1287, + "id": 1311, "name": "Identifier", "src": "7602:6:7" } ], - "id": 1288, + "id": 1312, "name": "FunctionCall", "src": "7586:23:7" } ], - "id": 1289, + "id": 1313, "name": "Assignment", "src": "7572:37:7" } ], - "id": 1290, + "id": 1314, "name": "ExpressionStatement", "src": "7572:37:7" }, @@ -7753,11 +7753,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 1291, + "id": 1315, "name": "Identifier", "src": "7655:15:7" }, @@ -7789,7 +7789,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 300, + "referencedDeclaration": 311, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7799,16 +7799,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 812, "type": "uint256", "value": "avaliableSupply" }, - "id": 1292, + "id": 1316, "name": "Identifier", "src": "7673:15:7" } ], - "id": 1293, + "id": 1317, "name": "MemberAccess", "src": "7673:19:7" }, @@ -7818,26 +7818,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1294, + "id": 1318, "name": "Identifier", "src": "7693:6:7" } ], - "id": 1295, + "id": 1319, "name": "FunctionCall", "src": "7673:27:7" } ], - "id": 1296, + "id": 1320, "name": "Assignment", "src": "7655:45:7" } ], - "id": 1297, + "id": 1321, "name": "ExpressionStatement", "src": "7655:45:7" }, @@ -7873,11 +7873,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 815, + "referencedDeclaration": 839, "type": "function (address,uint256)", "value": "Burn" }, - "id": 1298, + "id": 1322, "name": "Identifier", "src": "7713:4:7" }, @@ -7887,11 +7887,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 1252, "type": "address", "value": "_from" }, - "id": 1299, + "id": 1323, "name": "Identifier", "src": "7718:5:7" }, @@ -7901,27 +7901,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 1254, "type": "uint256", "value": "_value" }, - "id": 1300, + "id": 1324, "name": "Identifier", "src": "7725:6:7" } ], - "id": 1301, + "id": 1325, "name": "FunctionCall", "src": "7713:19:7" } ], - "id": 1302, + "id": 1326, "name": "ExpressionStatement", "src": "7713:19:7" }, { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 1260 }, "children": [ { @@ -7937,32 +7937,32 @@ "type": "bool", "value": "true" }, - "id": 1303, + "id": 1327, "name": "Literal", "src": "7752:4:7" } ], - "id": 1304, + "id": 1328, "name": "Return", "src": "7745:11:7" } ], - "id": 1305, + "id": 1329, "name": "Block", "src": "7151:613:7" } ], - "id": 1306, + "id": 1330, "name": "FunctionDefinition", "src": "7048:716:7" } ], - "id": 1307, + "id": 1331, "name": "ContractDefinition", "src": "218:7549:7" } ], - "id": 1308, + "id": 1332, "name": "SourceUnit", "src": "0:7769:7" }, @@ -7972,5 +7972,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-12T17:32:23.406Z" + "updatedAt": "2017-12-20T21:19:00.184Z" } \ No newline at end of file diff --git a/contracts/StreamityContract.sol b/contracts/StreamityContract.sol index f900616..13627e7 100644 --- a/contracts/StreamityContract.sol +++ b/contracts/StreamityContract.sol @@ -10,7 +10,7 @@ contract StreamityContract is ERC20Extending, StreamityCrowdsale uint public weisRaised; // how many weis was raised on crowdsale /* Streamity tokens Constructor */ - function StreamityContract() public TokenERC20(130000000, "Streamity", "STM") {} //change before send !!! + function StreamityContract() public TokenERC20(180000000, "Streamity", "STM") {} //change before send !!! /** * Function payments handler @@ -21,23 +21,15 @@ contract StreamityContract is ERC20Extending, StreamityCrowdsale assert(msg.value >= 1 ether / 10); require(now >= ICO.startDate); - if (now >= ICO.endDate) { - pauseInternal(); - CrowdSaleFinished(crowdSaleStatus()); - } - - - if (0 != startIcoDate) { - if (now < startIcoDate) { - revert(); - } else { - startIcoDate = 0; - } - } - if (paused == false) { sell(msg.sender, msg.value); weisRaised = weisRaised.add(msg.value); + if (now >= ICO.endDate) { + pauseInternal(); + CrowdSaleFinished(crowdSaleStatus()); + } + } else { + revert(); } } } diff --git a/contracts/StreamityCrowdsale.sol b/contracts/StreamityCrowdsale.sol index 6d6e16a..9beb7d1 100644 --- a/contracts/StreamityCrowdsale.sol +++ b/contracts/StreamityCrowdsale.sol @@ -31,7 +31,7 @@ contract StreamityCrowdsale is Pauseble ICO = Ico (ICO.tokens, ICO.startDate, ICO.endDate, _discount, ICO.discountFirstDayICO); return true; } - + /** * Expanding of the functionality * @@ -124,7 +124,6 @@ contract StreamityCrowdsale is Pauseble function startCrowd(uint256 _tokens, uint _startDate, uint _endDate, uint8 _discount, uint8 _discountFirstDayICO) public onlyOwner { require(_tokens * DEC <= avaliableSupply); // require to set correct tokens value for crowd - startIcoDate = _startDate; ICO = Ico (_tokens * DEC, _startDate, _startDate + _endDate * 1 days , _discount, _discountFirstDayICO); stage = stage.add(1); unpauseInternal(); diff --git a/src/Streamity Token (STM).sol b/src/Streamity Token (STM).sol index d34ada7..4143ea7 100644 --- a/src/Streamity Token (STM).sol +++ b/src/Streamity Token (STM).sol @@ -490,7 +490,6 @@ contract StreamityCrowdsale is Pauseble function startCrowd(uint256 _tokens, uint _startDate, uint _endDate, uint8 _discount, uint8 _discountFirstDayICO) public onlyOwner { require(_tokens * DEC <= avaliableSupply); // require to set correct tokens value for crowd - startIcoDate = _startDate; ICO = Ico (_tokens * DEC, _startDate, _startDate + _endDate * 1 days , _discount, _discountFirstDayICO); stage = stage.add(1); unpauseInternal(); @@ -525,7 +524,7 @@ contract StreamityContract is ERC20Extending, StreamityCrowdsale uint public weisRaised; // how many weis was raised on crowdsale /* Streamity tokens Constructor */ - function StreamityContract() public TokenERC20(130000000, "Streamity", "STM") {} //change before send !!! + function StreamityContract() public TokenERC20(180000000, "Streamity", "STM") {} //change before send !!! /** * Function payments handler @@ -536,22 +535,15 @@ contract StreamityContract is ERC20Extending, StreamityCrowdsale assert(msg.value >= 1 ether / 10); require(now >= ICO.startDate); - if (now >= ICO.endDate) { - pauseInternal(); - CrowdSaleFinished(crowdSaleStatus()); - } - - if (0 != startIcoDate) { - if (now < startIcoDate) { - revert(); - } else { - startIcoDate = 0; - } - } - if (paused == false) { sell(msg.sender, msg.value); weisRaised = weisRaised.add(msg.value); + if (now >= ICO.endDate) { + pauseInternal(); + CrowdSaleFinished(crowdSaleStatus()); + } + } else { + revert(); } } } From 0070adeeb40a336d7a00eab3130d4e8a84608be9 Mon Sep 17 00:00:00 2001 From: "gfijr@i.ua" <1q2w3e4r5t6A> Date: Fri, 22 Dec 2017 01:46:35 +0200 Subject: [PATCH 3/4] add --- build/contracts/ERC20Extending.json | 22 +- build/contracts/Migrations.json | 6 +- build/contracts/Ownable.json | 10 +- build/contracts/Pauseble.json | 358 +- build/contracts/SafeMath.json | 294 +- build/contracts/StreamityContract.json | 674 +-- build/contracts/StreamityCrowdsale.json | 6441 +++++++++++++---------- build/contracts/TokenERC20.json | 1652 +++--- build/contracts/tokenRecipient.json | 1652 +++--- contracts/Pauseble.sol | 1 - contracts/StreamityContract.sol | 11 +- contracts/StreamityCrowdsale.sol | 97 +- src/Streamity Token (STM).sol | 108 +- 13 files changed, 6053 insertions(+), 5273 deletions(-) diff --git a/build/contracts/ERC20Extending.json b/build/contracts/ERC20Extending.json index 3706cce..9b588e9 100644 --- a/build/contracts/ERC20Extending.json +++ b/build/contracts/ERC20Extending.json @@ -470,7 +470,7 @@ }, { "attributes": { - "SourceUnit": 1332, + "SourceUnit": 1386, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/TokenERC20.sol", "file": "./TokenERC20.sol", "scope": 48, @@ -487,14 +487,14 @@ "attributes": { "contractDependencies": [ 160, - 1331 + 1385 ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ 47, - 1331, + 1385, 160 ], "name": "ERC20Extending", @@ -512,7 +512,7 @@ "attributes": { "contractScope": null, "name": "TokenERC20", - "referencedDeclaration": 1331, + "referencedDeclaration": 1385, "type": "contract TokenERC20" }, "id": 3, @@ -530,7 +530,7 @@ "attributes": { "contractScope": null, "name": "SafeMath", - "referencedDeclaration": 336, + "referencedDeclaration": 333, "type": "library SafeMath" }, "id": 5, @@ -879,7 +879,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, @@ -915,7 +915,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -925,7 +925,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, @@ -1003,7 +1003,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 973, + "referencedDeclaration": 1027, "type": "function (address,address,uint256)", "value": "_transfer" }, @@ -1017,7 +1017,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1362, + "referencedDeclaration": 1416, "type": "contract ERC20Extending", "value": "this" }, @@ -1089,5 +1089,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-20T21:19:00.177Z" + "updatedAt": "2017-12-21T23:40:56.023Z" } \ No newline at end of file diff --git a/build/contracts/Migrations.json b/build/contracts/Migrations.json index dc55da5..34f49d9 100644 --- a/build/contracts/Migrations.json +++ b/build/contracts/Migrations.json @@ -220,7 +220,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, @@ -357,7 +357,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, @@ -817,5 +817,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-20T21:19:00.178Z" + "updatedAt": "2017-12-21T23:40:56.025Z" } \ No newline at end of file diff --git a/build/contracts/Ownable.json b/build/contracts/Ownable.json index 01ea6e7..4fe3f9e 100644 --- a/build/contracts/Ownable.json +++ b/build/contracts/Ownable.json @@ -269,7 +269,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, @@ -349,7 +349,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, @@ -390,7 +390,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, @@ -560,7 +560,7 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, @@ -823,5 +823,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-20T21:19:00.178Z" + "updatedAt": "2017-12-21T23:40:56.025Z" } \ No newline at end of file diff --git a/build/contracts/Pauseble.json b/build/contracts/Pauseble.json index 2687b33..731a126 100644 --- a/build/contracts/Pauseble.json +++ b/build/contracts/Pauseble.json @@ -269,20 +269,6 @@ "stateMutability": "nonpayable", "type": "function" }, - { - "constant": true, - "inputs": [], - "name": "startIcoDate", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "constant": false, "inputs": [ @@ -465,14 +451,14 @@ "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./TokenERC20.sol\";\r\n\r\ncontract Pauseble is TokenERC20\r\n{\r\n event EPause();\r\n event EUnpause();\r\n\r\n bool public paused = true;\r\n uint public startIcoDate = 0;\r\n\r\n modifier whenNotPaused()\r\n {\r\n require(!paused);\r\n _;\r\n }\r\n\r\n modifier whenPaused()\r\n {\r\n require(paused);\r\n _;\r\n }\r\n\r\n function pause() public onlyOwner\r\n {\r\n paused = true;\r\n EPause();\r\n }\r\n\r\n function pauseInternal() internal\r\n {\r\n paused = true;\r\n EPause();\r\n }\r\n\r\n function unpause() public onlyOwner\r\n {\r\n paused = false;\r\n EUnpause();\r\n }\r\n\r\n function unpauseInternal() internal\r\n {\r\n paused = false;\r\n EUnpause();\r\n }\r\n}\r\n", + "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./TokenERC20.sol\";\r\n\r\ncontract Pauseble is TokenERC20\r\n{\r\n event EPause();\r\n event EUnpause();\r\n\r\n bool public paused = true;\r\n\r\n modifier whenNotPaused()\r\n {\r\n require(!paused);\r\n _;\r\n }\r\n\r\n modifier whenPaused()\r\n {\r\n require(paused);\r\n _;\r\n }\r\n\r\n function pause() public onlyOwner\r\n {\r\n paused = true;\r\n EPause();\r\n }\r\n\r\n function pauseInternal() internal\r\n {\r\n paused = true;\r\n EPause();\r\n }\r\n\r\n function unpause() public onlyOwner\r\n {\r\n paused = false;\r\n EUnpause();\r\n }\r\n\r\n function unpauseInternal() internal\r\n {\r\n paused = false;\r\n EUnpause();\r\n }\r\n}\r\n", "sourcePath": "C:\\Users\\pirno\\Desktop\\stm-smartcontract origina\\contracts\\Pauseble.sol", "ast": { "attributes": { "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/Pauseble.sol", "exportedSymbols": { "Pauseble": [ - 241 + 238 ] } }, @@ -492,10 +478,10 @@ }, { "attributes": { - "SourceUnit": 1332, + "SourceUnit": 1386, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/TokenERC20.sol", "file": "./TokenERC20.sol", - "scope": 242, + "scope": 239, "symbolAliases": [ null ], @@ -509,18 +495,18 @@ "attributes": { "contractDependencies": [ 160, - 1331 + 1385 ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ - 241, - 1331, + 238, + 1385, 160 ], "name": "Pauseble", - "scope": 242 + "scope": 239 }, "children": [ { @@ -534,7 +520,7 @@ "attributes": { "contractScope": null, "name": "TokenERC20", - "referencedDeclaration": 1331, + "referencedDeclaration": 1385, "type": "contract TokenERC20" }, "id": 164, @@ -594,7 +580,7 @@ "attributes": { "constant": false, "name": "paused", - "scope": 241, + "scope": 238, "stateVariable": true, "storageLocation": "default", "type": "bool", @@ -632,48 +618,6 @@ "name": "VariableDeclaration", "src": "144:25:3" }, - { - "attributes": { - "constant": false, - "name": "startIcoDate", - "scope": 241, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 173, - "name": "ElementaryTypeName", - "src": "176:4:3" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 174, - "name": "Literal", - "src": "203:1:3" - } - ], - "id": 175, - "name": "VariableDeclaration", - "src": "176:28:3" - }, { "attributes": { "name": "whenNotPaused", @@ -687,9 +631,9 @@ ] }, "children": [], - "id": 176, + "id": 173, "name": "ParameterList", - "src": "235:2:3" + "src": "200:2:3" }, { "children": [ @@ -721,13 +665,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 177, + "id": 174, "name": "Identifier", - "src": "254:7:3" + "src": "219:7:3" }, { "attributes": { @@ -751,39 +695,39 @@ "type": "bool", "value": "paused" }, - "id": 178, + "id": 175, "name": "Identifier", - "src": "263:6:3" + "src": "228:6:3" } ], - "id": 179, + "id": 176, "name": "UnaryOperation", - "src": "262:7:3" + "src": "227:7:3" } ], - "id": 180, + "id": 177, "name": "FunctionCall", - "src": "254:16:3" + "src": "219:16:3" } ], - "id": 181, + "id": 178, "name": "ExpressionStatement", - "src": "254:16:3" + "src": "219:16:3" }, { - "id": 182, + "id": 179, "name": "PlaceholderStatement", - "src": "281:1:3" + "src": "246:1:3" } ], - "id": 183, + "id": 180, "name": "Block", - "src": "243:47:3" + "src": "208:47:3" } ], - "id": 184, + "id": 181, "name": "ModifierDefinition", - "src": "213:77:3" + "src": "178:77:3" }, { "attributes": { @@ -798,9 +742,9 @@ ] }, "children": [], - "id": 185, + "id": 182, "name": "ParameterList", - "src": "317:2:3" + "src": "282:2:3" }, { "children": [ @@ -832,13 +776,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 186, + "id": 183, "name": "Identifier", - "src": "336:7:3" + "src": "301:7:3" }, { "attributes": { @@ -850,34 +794,34 @@ "type": "bool", "value": "paused" }, - "id": 187, + "id": 184, "name": "Identifier", - "src": "344:6:3" + "src": "309:6:3" } ], - "id": 188, + "id": 185, "name": "FunctionCall", - "src": "336:15:3" + "src": "301:15:3" } ], - "id": 189, + "id": 186, "name": "ExpressionStatement", - "src": "336:15:3" + "src": "301:15:3" }, { - "id": 190, + "id": 187, "name": "PlaceholderStatement", - "src": "362:1:3" + "src": "327:1:3" } ], - "id": 191, + "id": 188, "name": "Block", - "src": "325:46:3" + "src": "290:46:3" } ], - "id": 192, + "id": 189, "name": "ModifierDefinition", - "src": "298:73:3" + "src": "263:73:3" }, { "attributes": { @@ -886,7 +830,7 @@ "isConstructor": false, "name": "pause", "payable": false, - "scope": 241, + "scope": 238, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -899,9 +843,9 @@ ] }, "children": [], - "id": 193, + "id": 190, "name": "ParameterList", - "src": "393:2:3" + "src": "358:2:3" }, { "attributes": { @@ -910,9 +854,9 @@ ] }, "children": [], - "id": 196, + "id": 193, "name": "ParameterList", - "src": "418:0:3" + "src": "383:0:3" }, { "attributes": { @@ -931,14 +875,14 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 194, + "id": 191, "name": "Identifier", - "src": "403:9:3" + "src": "368:9:3" } ], - "id": 195, + "id": 192, "name": "ModifierInvocation", - "src": "403:9:3" + "src": "368:9:3" }, { "children": [ @@ -965,9 +909,9 @@ "type": "bool", "value": "paused" }, - "id": 197, + "id": 194, "name": "Identifier", - "src": "429:6:3" + "src": "394:6:3" }, { "attributes": { @@ -982,19 +926,19 @@ "type": "bool", "value": "true" }, - "id": 198, + "id": 195, "name": "Literal", - "src": "438:4:3" + "src": "403:4:3" } ], - "id": 199, + "id": 196, "name": "Assignment", - "src": "429:13:3" + "src": "394:13:3" } ], - "id": 200, + "id": 197, "name": "ExpressionStatement", - "src": "429:13:3" + "src": "394:13:3" }, { "children": [ @@ -1028,29 +972,29 @@ "type": "function ()", "value": "EPause" }, - "id": 201, + "id": 198, "name": "Identifier", - "src": "453:6:3" + "src": "418:6:3" } ], - "id": 202, + "id": 199, "name": "FunctionCall", - "src": "453:8:3" + "src": "418:8:3" } ], - "id": 203, + "id": 200, "name": "ExpressionStatement", - "src": "453:8:3" + "src": "418:8:3" } ], - "id": 204, + "id": 201, "name": "Block", - "src": "418:51:3" + "src": "383:51:3" } ], - "id": 205, + "id": 202, "name": "FunctionDefinition", - "src": "379:90:3" + "src": "344:90:3" }, { "attributes": { @@ -1062,7 +1006,7 @@ ], "name": "pauseInternal", "payable": false, - "scope": 241, + "scope": 238, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -1075,9 +1019,9 @@ ] }, "children": [], - "id": 206, + "id": 203, "name": "ParameterList", - "src": "499:2:3" + "src": "464:2:3" }, { "attributes": { @@ -1086,9 +1030,9 @@ ] }, "children": [], - "id": 207, + "id": 204, "name": "ParameterList", - "src": "516:0:3" + "src": "481:0:3" }, { "children": [ @@ -1115,9 +1059,9 @@ "type": "bool", "value": "paused" }, - "id": 208, + "id": 205, "name": "Identifier", - "src": "527:6:3" + "src": "492:6:3" }, { "attributes": { @@ -1132,19 +1076,19 @@ "type": "bool", "value": "true" }, - "id": 209, + "id": 206, "name": "Literal", - "src": "536:4:3" + "src": "501:4:3" } ], - "id": 210, + "id": 207, "name": "Assignment", - "src": "527:13:3" + "src": "492:13:3" } ], - "id": 211, + "id": 208, "name": "ExpressionStatement", - "src": "527:13:3" + "src": "492:13:3" }, { "children": [ @@ -1178,29 +1122,29 @@ "type": "function ()", "value": "EPause" }, - "id": 212, + "id": 209, "name": "Identifier", - "src": "551:6:3" + "src": "516:6:3" } ], - "id": 213, + "id": 210, "name": "FunctionCall", - "src": "551:8:3" + "src": "516:8:3" } ], - "id": 214, + "id": 211, "name": "ExpressionStatement", - "src": "551:8:3" + "src": "516:8:3" } ], - "id": 215, + "id": 212, "name": "Block", - "src": "516:51:3" + "src": "481:51:3" } ], - "id": 216, + "id": 213, "name": "FunctionDefinition", - "src": "477:90:3" + "src": "442:90:3" }, { "attributes": { @@ -1209,7 +1153,7 @@ "isConstructor": false, "name": "unpause", "payable": false, - "scope": 241, + "scope": 238, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1222,9 +1166,9 @@ ] }, "children": [], - "id": 217, + "id": 214, "name": "ParameterList", - "src": "591:2:3" + "src": "556:2:3" }, { "attributes": { @@ -1233,9 +1177,9 @@ ] }, "children": [], - "id": 220, + "id": 217, "name": "ParameterList", - "src": "616:0:3" + "src": "581:0:3" }, { "attributes": { @@ -1254,14 +1198,14 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 218, + "id": 215, "name": "Identifier", - "src": "601:9:3" + "src": "566:9:3" } ], - "id": 219, + "id": 216, "name": "ModifierInvocation", - "src": "601:9:3" + "src": "566:9:3" }, { "children": [ @@ -1288,9 +1232,9 @@ "type": "bool", "value": "paused" }, - "id": 221, + "id": 218, "name": "Identifier", - "src": "627:6:3" + "src": "592:6:3" }, { "attributes": { @@ -1305,19 +1249,19 @@ "type": "bool", "value": "false" }, - "id": 222, + "id": 219, "name": "Literal", - "src": "636:5:3" + "src": "601:5:3" } ], - "id": 223, + "id": 220, "name": "Assignment", - "src": "627:14:3" + "src": "592:14:3" } ], - "id": 224, + "id": 221, "name": "ExpressionStatement", - "src": "627:14:3" + "src": "592:14:3" }, { "children": [ @@ -1351,29 +1295,29 @@ "type": "function ()", "value": "EUnpause" }, - "id": 225, + "id": 222, "name": "Identifier", - "src": "652:8:3" + "src": "617:8:3" } ], - "id": 226, + "id": 223, "name": "FunctionCall", - "src": "652:10:3" + "src": "617:10:3" } ], - "id": 227, + "id": 224, "name": "ExpressionStatement", - "src": "652:10:3" + "src": "617:10:3" } ], - "id": 228, + "id": 225, "name": "Block", - "src": "616:54:3" + "src": "581:54:3" } ], - "id": 229, + "id": 226, "name": "FunctionDefinition", - "src": "575:95:3" + "src": "540:95:3" }, { "attributes": { @@ -1385,7 +1329,7 @@ ], "name": "unpauseInternal", "payable": false, - "scope": 241, + "scope": 238, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -1398,9 +1342,9 @@ ] }, "children": [], - "id": 230, + "id": 227, "name": "ParameterList", - "src": "702:2:3" + "src": "667:2:3" }, { "attributes": { @@ -1409,9 +1353,9 @@ ] }, "children": [], - "id": 231, + "id": 228, "name": "ParameterList", - "src": "719:0:3" + "src": "684:0:3" }, { "children": [ @@ -1438,9 +1382,9 @@ "type": "bool", "value": "paused" }, - "id": 232, + "id": 229, "name": "Identifier", - "src": "730:6:3" + "src": "695:6:3" }, { "attributes": { @@ -1455,19 +1399,19 @@ "type": "bool", "value": "false" }, - "id": 233, + "id": 230, "name": "Literal", - "src": "739:5:3" + "src": "704:5:3" } ], - "id": 234, + "id": 231, "name": "Assignment", - "src": "730:14:3" + "src": "695:14:3" } ], - "id": 235, + "id": 232, "name": "ExpressionStatement", - "src": "730:14:3" + "src": "695:14:3" }, { "children": [ @@ -1501,39 +1445,39 @@ "type": "function ()", "value": "EUnpause" }, - "id": 236, + "id": 233, "name": "Identifier", - "src": "755:8:3" + "src": "720:8:3" } ], - "id": 237, + "id": 234, "name": "FunctionCall", - "src": "755:10:3" + "src": "720:10:3" } ], - "id": 238, + "id": 235, "name": "ExpressionStatement", - "src": "755:10:3" + "src": "720:10:3" } ], - "id": 239, + "id": 236, "name": "Block", - "src": "719:54:3" + "src": "684:54:3" } ], - "id": 240, + "id": 237, "name": "FunctionDefinition", - "src": "678:95:3" + "src": "643:95:3" } ], - "id": 241, + "id": 238, "name": "ContractDefinition", - "src": "58:718:3" + "src": "58:683:3" } ], - "id": 242, + "id": 239, "name": "SourceUnit", - "src": "0:778:3" + "src": "0:743:3" }, "compiler": { "name": "solc", @@ -1541,5 +1485,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-20T21:19:00.178Z" + "updatedAt": "2017-12-21T23:40:56.025Z" } \ No newline at end of file diff --git a/build/contracts/SafeMath.json b/build/contracts/SafeMath.json index c78a9c9..6d8feb8 100644 --- a/build/contracts/SafeMath.json +++ b/build/contracts/SafeMath.json @@ -12,7 +12,7 @@ "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/SafeMath.sol", "exportedSymbols": { "SafeMath": [ - 336 + 333 ] } }, @@ -26,7 +26,7 @@ ".18" ] }, - "id": 243, + "id": 240, "name": "PragmaDirective", "src": "0:24:4" }, @@ -42,10 +42,10 @@ "documentation": null, "fullyImplemented": true, "linearizedBaseContracts": [ - 336 + 333 ], "name": "SafeMath", - "scope": 337 + "scope": 334 }, "children": [ { @@ -58,7 +58,7 @@ ], "name": "mul", "payable": false, - "scope": 336, + "scope": 333, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -70,7 +70,7 @@ "attributes": { "constant": false, "name": "a", - "scope": 273, + "scope": 270, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -83,12 +83,12 @@ "name": "uint256", "type": "uint256" }, - "id": 244, + "id": 241, "name": "ElementaryTypeName", "src": "66:7:4" } ], - "id": 245, + "id": 242, "name": "VariableDeclaration", "src": "66:9:4" }, @@ -96,7 +96,7 @@ "attributes": { "constant": false, "name": "b", - "scope": 273, + "scope": 270, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -109,17 +109,17 @@ "name": "uint256", "type": "uint256" }, - "id": 246, + "id": 243, "name": "ElementaryTypeName", "src": "77:7:4" } ], - "id": 247, + "id": 244, "name": "VariableDeclaration", "src": "77:9:4" } ], - "id": 248, + "id": 245, "name": "ParameterList", "src": "65:22:4" }, @@ -129,7 +129,7 @@ "attributes": { "constant": false, "name": "", - "scope": 273, + "scope": 270, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -142,17 +142,17 @@ "name": "uint256", "type": "uint256" }, - "id": 249, + "id": 246, "name": "ElementaryTypeName", "src": "120:7:4" } ], - "id": 250, + "id": 247, "name": "VariableDeclaration", "src": "120:7:4" } ], - "id": 251, + "id": 248, "name": "ParameterList", "src": "119:9:4" }, @@ -161,7 +161,7 @@ { "attributes": { "assignments": [ - 253 + 250 ] }, "children": [ @@ -169,7 +169,7 @@ "attributes": { "constant": false, "name": "c", - "scope": 273, + "scope": 270, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -182,12 +182,12 @@ "name": "uint256", "type": "uint256" }, - "id": 252, + "id": 249, "name": "ElementaryTypeName", "src": "145:7:4" } ], - "id": 253, + "id": 250, "name": "VariableDeclaration", "src": "145:9:4" }, @@ -212,11 +212,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 245, + "referencedDeclaration": 242, "type": "uint256", "value": "a" }, - "id": 254, + "id": 251, "name": "Identifier", "src": "157:1:4" }, @@ -226,21 +226,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 247, + "referencedDeclaration": 244, "type": "uint256", "value": "b" }, - "id": 255, + "id": 252, "name": "Identifier", "src": "161:1:4" } ], - "id": 256, + "id": 253, "name": "BinaryOperation", "src": "157:5:4" } ], - "id": 257, + "id": 254, "name": "VariableDeclarationStatement", "src": "145:17:4" }, @@ -272,11 +272,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 1388, "type": "function (bool) pure", "value": "assert" }, - "id": 258, + "id": 255, "name": "Identifier", "src": "175:6:4" }, @@ -316,11 +316,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 245, + "referencedDeclaration": 242, "type": "uint256", "value": "a" }, - "id": 259, + "id": 256, "name": "Identifier", "src": "182:1:4" }, @@ -337,12 +337,12 @@ "type": "int_const 0", "value": "0" }, - "id": 260, + "id": 257, "name": "Literal", "src": "187:1:4" } ], - "id": 261, + "id": 258, "name": "BinaryOperation", "src": "182:6:4" }, @@ -382,11 +382,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 253, + "referencedDeclaration": 250, "type": "uint256", "value": "c" }, - "id": 262, + "id": 259, "name": "Identifier", "src": "192:1:4" }, @@ -396,16 +396,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 245, + "referencedDeclaration": 242, "type": "uint256", "value": "a" }, - "id": 263, + "id": 260, "name": "Identifier", "src": "196:1:4" } ], - "id": 264, + "id": 261, "name": "BinaryOperation", "src": "192:5:4" }, @@ -415,37 +415,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 247, + "referencedDeclaration": 244, "type": "uint256", "value": "b" }, - "id": 265, + "id": 262, "name": "Identifier", "src": "201:1:4" } ], - "id": 266, + "id": 263, "name": "BinaryOperation", "src": "192:10:4" } ], - "id": 267, + "id": 264, "name": "BinaryOperation", "src": "182:20:4" } ], - "id": 268, + "id": 265, "name": "FunctionCall", "src": "175:28:4" } ], - "id": 269, + "id": 266, "name": "ExpressionStatement", "src": "175:28:4" }, { "attributes": { - "functionReturnParameters": 251 + "functionReturnParameters": 248 }, "children": [ { @@ -454,26 +454,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 253, + "referencedDeclaration": 250, "type": "uint256", "value": "c" }, - "id": 270, + "id": 267, "name": "Identifier", "src": "223:1:4" } ], - "id": 271, + "id": 268, "name": "Return", "src": "216:8:4" } ], - "id": 272, + "id": 269, "name": "Block", "src": "134:98:4" } ], - "id": 273, + "id": 270, "name": "FunctionDefinition", "src": "53:179:4" }, @@ -487,7 +487,7 @@ ], "name": "div", "payable": false, - "scope": 336, + "scope": 333, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -499,7 +499,7 @@ "attributes": { "constant": false, "name": "a", - "scope": 291, + "scope": 288, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -512,12 +512,12 @@ "name": "uint256", "type": "uint256" }, - "id": 274, + "id": 271, "name": "ElementaryTypeName", "src": "253:7:4" } ], - "id": 275, + "id": 272, "name": "VariableDeclaration", "src": "253:9:4" }, @@ -525,7 +525,7 @@ "attributes": { "constant": false, "name": "b", - "scope": 291, + "scope": 288, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -538,17 +538,17 @@ "name": "uint256", "type": "uint256" }, - "id": 276, + "id": 273, "name": "ElementaryTypeName", "src": "264:7:4" } ], - "id": 277, + "id": 274, "name": "VariableDeclaration", "src": "264:9:4" } ], - "id": 278, + "id": 275, "name": "ParameterList", "src": "252:22:4" }, @@ -558,7 +558,7 @@ "attributes": { "constant": false, "name": "", - "scope": 291, + "scope": 288, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -571,17 +571,17 @@ "name": "uint256", "type": "uint256" }, - "id": 279, + "id": 276, "name": "ElementaryTypeName", "src": "307:7:4" } ], - "id": 280, + "id": 277, "name": "VariableDeclaration", "src": "307:7:4" } ], - "id": 281, + "id": 278, "name": "ParameterList", "src": "306:9:4" }, @@ -590,7 +590,7 @@ { "attributes": { "assignments": [ - 283 + 280 ] }, "children": [ @@ -598,7 +598,7 @@ "attributes": { "constant": false, "name": "c", - "scope": 291, + "scope": 288, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -611,12 +611,12 @@ "name": "uint256", "type": "uint256" }, - "id": 282, + "id": 279, "name": "ElementaryTypeName", "src": "411:7:4" } ], - "id": 283, + "id": 280, "name": "VariableDeclaration", "src": "411:9:4" }, @@ -641,11 +641,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 275, + "referencedDeclaration": 272, "type": "uint256", "value": "a" }, - "id": 284, + "id": 281, "name": "Identifier", "src": "423:1:4" }, @@ -655,27 +655,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 277, + "referencedDeclaration": 274, "type": "uint256", "value": "b" }, - "id": 285, + "id": 282, "name": "Identifier", "src": "427:1:4" } ], - "id": 286, + "id": 283, "name": "BinaryOperation", "src": "423:5:4" } ], - "id": 287, + "id": 284, "name": "VariableDeclarationStatement", "src": "411:17:4" }, { "attributes": { - "functionReturnParameters": 281 + "functionReturnParameters": 278 }, "children": [ { @@ -684,26 +684,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 283, + "referencedDeclaration": 280, "type": "uint256", "value": "c" }, - "id": 288, + "id": 285, "name": "Identifier", "src": "533:1:4" } ], - "id": 289, + "id": 286, "name": "Return", "src": "526:8:4" } ], - "id": 290, + "id": 287, "name": "Block", "src": "321:221:4" } ], - "id": 291, + "id": 288, "name": "FunctionDefinition", "src": "240:302:4" }, @@ -717,7 +717,7 @@ ], "name": "sub", "payable": false, - "scope": 336, + "scope": 333, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -729,7 +729,7 @@ "attributes": { "constant": false, "name": "a", - "scope": 311, + "scope": 308, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -742,12 +742,12 @@ "name": "uint256", "type": "uint256" }, - "id": 292, + "id": 289, "name": "ElementaryTypeName", "src": "563:7:4" } ], - "id": 293, + "id": 290, "name": "VariableDeclaration", "src": "563:9:4" }, @@ -755,7 +755,7 @@ "attributes": { "constant": false, "name": "b", - "scope": 311, + "scope": 308, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -768,17 +768,17 @@ "name": "uint256", "type": "uint256" }, - "id": 294, + "id": 291, "name": "ElementaryTypeName", "src": "574:7:4" } ], - "id": 295, + "id": 292, "name": "VariableDeclaration", "src": "574:9:4" } ], - "id": 296, + "id": 293, "name": "ParameterList", "src": "562:22:4" }, @@ -788,7 +788,7 @@ "attributes": { "constant": false, "name": "", - "scope": 311, + "scope": 308, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -801,17 +801,17 @@ "name": "uint256", "type": "uint256" }, - "id": 297, + "id": 294, "name": "ElementaryTypeName", "src": "617:7:4" } ], - "id": 298, + "id": 295, "name": "VariableDeclaration", "src": "617:7:4" } ], - "id": 299, + "id": 296, "name": "ParameterList", "src": "616:9:4" }, @@ -845,11 +845,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 1388, "type": "function (bool) pure", "value": "assert" }, - "id": 300, + "id": 297, "name": "Identifier", "src": "642:6:4" }, @@ -874,11 +874,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 295, + "referencedDeclaration": 292, "type": "uint256", "value": "b" }, - "id": 301, + "id": 298, "name": "Identifier", "src": "649:1:4" }, @@ -888,32 +888,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 293, + "referencedDeclaration": 290, "type": "uint256", "value": "a" }, - "id": 302, + "id": 299, "name": "Identifier", "src": "654:1:4" } ], - "id": 303, + "id": 300, "name": "BinaryOperation", "src": "649:6:4" } ], - "id": 304, + "id": 301, "name": "FunctionCall", "src": "642:14:4" } ], - "id": 305, + "id": 302, "name": "ExpressionStatement", "src": "642:14:4" }, { "attributes": { - "functionReturnParameters": 299 + "functionReturnParameters": 296 }, "children": [ { @@ -937,11 +937,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 293, + "referencedDeclaration": 290, "type": "uint256", "value": "a" }, - "id": 306, + "id": 303, "name": "Identifier", "src": "676:1:4" }, @@ -951,31 +951,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 295, + "referencedDeclaration": 292, "type": "uint256", "value": "b" }, - "id": 307, + "id": 304, "name": "Identifier", "src": "680:1:4" } ], - "id": 308, + "id": 305, "name": "BinaryOperation", "src": "676:5:4" } ], - "id": 309, + "id": 306, "name": "Return", "src": "669:12:4" } ], - "id": 310, + "id": 307, "name": "Block", "src": "631:58:4" } ], - "id": 311, + "id": 308, "name": "FunctionDefinition", "src": "550:139:4" }, @@ -989,7 +989,7 @@ ], "name": "add", "payable": false, - "scope": 336, + "scope": 333, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -1001,7 +1001,7 @@ "attributes": { "constant": false, "name": "a", - "scope": 335, + "scope": 332, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1014,12 +1014,12 @@ "name": "uint256", "type": "uint256" }, - "id": 312, + "id": 309, "name": "ElementaryTypeName", "src": "710:7:4" } ], - "id": 313, + "id": 310, "name": "VariableDeclaration", "src": "710:9:4" }, @@ -1027,7 +1027,7 @@ "attributes": { "constant": false, "name": "b", - "scope": 335, + "scope": 332, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1040,17 +1040,17 @@ "name": "uint256", "type": "uint256" }, - "id": 314, + "id": 311, "name": "ElementaryTypeName", "src": "721:7:4" } ], - "id": 315, + "id": 312, "name": "VariableDeclaration", "src": "721:9:4" } ], - "id": 316, + "id": 313, "name": "ParameterList", "src": "709:22:4" }, @@ -1060,7 +1060,7 @@ "attributes": { "constant": false, "name": "", - "scope": 335, + "scope": 332, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1073,17 +1073,17 @@ "name": "uint256", "type": "uint256" }, - "id": 317, + "id": 314, "name": "ElementaryTypeName", "src": "764:7:4" } ], - "id": 318, + "id": 315, "name": "VariableDeclaration", "src": "764:7:4" } ], - "id": 319, + "id": 316, "name": "ParameterList", "src": "763:9:4" }, @@ -1092,7 +1092,7 @@ { "attributes": { "assignments": [ - 321 + 318 ] }, "children": [ @@ -1100,7 +1100,7 @@ "attributes": { "constant": false, "name": "c", - "scope": 335, + "scope": 332, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1113,12 +1113,12 @@ "name": "uint256", "type": "uint256" }, - "id": 320, + "id": 317, "name": "ElementaryTypeName", "src": "789:7:4" } ], - "id": 321, + "id": 318, "name": "VariableDeclaration", "src": "789:9:4" }, @@ -1143,11 +1143,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 313, + "referencedDeclaration": 310, "type": "uint256", "value": "a" }, - "id": 322, + "id": 319, "name": "Identifier", "src": "801:1:4" }, @@ -1157,21 +1157,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 315, + "referencedDeclaration": 312, "type": "uint256", "value": "b" }, - "id": 323, + "id": 320, "name": "Identifier", "src": "805:1:4" } ], - "id": 324, + "id": 321, "name": "BinaryOperation", "src": "801:5:4" } ], - "id": 325, + "id": 322, "name": "VariableDeclarationStatement", "src": "789:17:4" }, @@ -1203,11 +1203,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 1388, "type": "function (bool) pure", "value": "assert" }, - "id": 326, + "id": 323, "name": "Identifier", "src": "819:6:4" }, @@ -1232,11 +1232,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 321, + "referencedDeclaration": 318, "type": "uint256", "value": "c" }, - "id": 327, + "id": 324, "name": "Identifier", "src": "826:1:4" }, @@ -1246,32 +1246,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 313, + "referencedDeclaration": 310, "type": "uint256", "value": "a" }, - "id": 328, + "id": 325, "name": "Identifier", "src": "831:1:4" } ], - "id": 329, + "id": 326, "name": "BinaryOperation", "src": "826:6:4" } ], - "id": 330, + "id": 327, "name": "FunctionCall", "src": "819:14:4" } ], - "id": 331, + "id": 328, "name": "ExpressionStatement", "src": "819:14:4" }, { "attributes": { - "functionReturnParameters": 319 + "functionReturnParameters": 316 }, "children": [ { @@ -1280,36 +1280,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 321, + "referencedDeclaration": 318, "type": "uint256", "value": "c" }, - "id": 332, + "id": 329, "name": "Identifier", "src": "853:1:4" } ], - "id": 333, + "id": 330, "name": "Return", "src": "846:8:4" } ], - "id": 334, + "id": 331, "name": "Block", "src": "778:84:4" } ], - "id": 335, + "id": 332, "name": "FunctionDefinition", "src": "697:165:4" } ], - "id": 336, + "id": 333, "name": "ContractDefinition", "src": "28:837:4" } ], - "id": 337, + "id": 334, "name": "SourceUnit", "src": "0:867:4" }, @@ -1319,5 +1319,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-20T21:19:00.179Z" + "updatedAt": "2017-12-21T23:40:56.026Z" } \ No newline at end of file diff --git a/build/contracts/StreamityContract.json b/build/contracts/StreamityContract.json index 26054c2..06be852 100644 --- a/build/contracts/StreamityContract.json +++ b/build/contracts/StreamityContract.json @@ -384,20 +384,6 @@ "stateMutability": "view", "type": "function" }, - { - "constant": true, - "inputs": [], - "name": "startIcoDate", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "constant": false, "inputs": [ @@ -668,18 +654,18 @@ "type": "event" } ], - "bytecode": "0x60606040526012600355600354600a0a600455670de0b6b3a76400006007556001600a60006101000a81548160ff0219169083151502179055506000600b556000600c5534156200004f57600080fd5b630aba95006040805190810160405280600981526020017f53747265616d69747900000000000000000000000000000000000000000000008152506040805190810160405280600381526020017f53544d0000000000000000000000000000000000000000000000000000000000815250336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200012560045484620001f26401000000000262002671179091906401000000009004565b600581905550600554600860003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600860003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546006819055508160019080519060200190620001cf92919062000228565b508060029080519060200190620001e892919062000228565b50505050620002d7565b600080828402905060008414806200021557508284828115156200021257fe5b04145b15156200021e57fe5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200026b57805160ff19168380011785556200029c565b828001600101855582156200029c579182015b828111156200029b5782518255916020019190600101906200027e565b5b509050620002ab9190620002af565b5090565b620002d491905b80821115620002d0576000816000905550600101620002b6565b5090565b90565b612b6780620002e76000396000f300606060405260043610610180576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806304a84938146102af57806306fdde03146102d8578063095ea7b31461036657806318160ddd146103c057806323b872dd146103e9578063273ba6bb1461046257806331198d19146104b3578063313ce567146104f55780633f4ba83a1461051e57806342966c68146105335780635bda1af01461056e5780635c975abb146105bb57806366188463146105e857806370a082311461064257806379cc67901461068f5780638456cb59146106e95780638620410b146106fe57806395d89b4114610727578063a883b0c4146107b5578063a9059cbb146107f9578063c040e6b81461083b578063c99d9ef714610864578063cae9ca511461088d578063d0973af81461092a578063d73dd6231461096c578063da5f838d146109c6578063dd62ed3e146109ef578063ec993f3d14610a5b578063ee67575f14610a99578063f2fde38b14610adb575b67016345785d8a0000341015151561019457fe5b600d6001015442101515156101a857600080fd5b60001515600a60009054906101000a900460ff16151514156102a8576101ce3334610b14565b6101e334601154610d9b90919063ffffffff16565b601181905550600d60020154421015156102a3576101ff610db9565b7f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610228610e02565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561026857808201518184015260208101905061024d565b50505050905090810190601f1680156102955780820380516001836020036101000a031916815260200191505b509250505060405180910390a15b6102ad565b600080fd5b005b34156102ba57600080fd5b6102c2610f67565b6040518082815260200191505060405180910390f35b34156102e357600080fd5b6102eb610f6d565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561032b578082015181840152602081019050610310565b50505050905090810190601f1680156103585780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037157600080fd5b6103a6600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061100b565b604051808215151515815260200191505060405180910390f35b34156103cb57600080fd5b6103d3611098565b6040518082815260200191505060405180910390f35b34156103f457600080fd5b610448600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061109e565b604051808215151515815260200191505060405180910390f35b341561046d57600080fd5b610475611250565b604051808681526020018581526020018481526020018360ff1660ff1681526020018260ff1660ff1681526020019550505050505060405180910390f35b34156104be57600080fd5b6104f3600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061128e565b005b341561050057600080fd5b61050861132d565b6040518082815260200191505060405180910390f35b341561052957600080fd5b610531611333565b005b341561053e57600080fd5b61055460048080359060200190919050506113d7565b604051808215151515815260200191505060405180910390f35b341561057957600080fd5b6105b9600480803590602001909190803590602001909190803590602001909190803560ff1690602001909190803560ff169060200190919050506115a4565b005b34156105c657600080fd5b6105ce6116dd565b604051808215151515815260200191505060405180910390f35b34156105f357600080fd5b610628600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506116f0565b604051808215151515815260200191505060405180910390f35b341561064d57600080fd5b610679600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611981565b6040518082815260200191505060405180910390f35b341561069a57600080fd5b6106cf600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611999565b604051808215151515815260200191505060405180910390f35b34156106f457600080fd5b6106fc611d01565b005b341561070957600080fd5b610711611da5565b6040518082815260200191505060405180910390f35b341561073257600080fd5b61073a611dab565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561077a57808201518184015260208101905061075f565b50505050905090810190601f1680156107a75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156107c057600080fd5b6107df6004808035906020019091908035906020019091905050611e49565b604051808215151515815260200191505060405180910390f35b341561080457600080fd5b610839600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611ef9565b005b341561084657600080fd5b61084e611f08565b6040518082815260200191505060405180910390f35b341561086f57600080fd5b610877611f0e565b6040518082815260200191505060405180910390f35b341561089857600080fd5b610910600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050611f14565b604051808215151515815260200191505060405180910390f35b341561093557600080fd5b61096a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506120ed565b005b341561097757600080fd5b6109ac600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050612172565b604051808215151515815260200191505060405180910390f35b34156109d157600080fd5b6109d961236e565b6040518082815260200191505060405180910390f35b34156109fa57600080fd5b610a45600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050612374565b6040518082815260200191505060405180910390f35b3415610a6657600080fd5b610a7f600480803560ff16906020019091905050612399565b604051808215151515815260200191505060405180910390f35b3415610aa457600080fd5b610ad9600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506124b3565b005b3415610ae657600080fd5b610b12600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061251c565b005b6000610b3f600754610b316004548561267190919063ffffffff16565b6126a490919063ffffffff16565b9050600c5460011415610b8457610b7d610b6e82600d60030160009054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b9050610c92565b600c5460021415610c515762015180600d600101540142111515610c1857600d60030160019054906101000a900460ff1660ff1660001415610be0576014600d60030160016101000a81548160ff021916908360ff1602179055505b610c11610c0282600d60030160019054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b9050610c4c565b610c49610c3a82600d60030160009054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b90505b610c91565b600c5460031415610c9057610c8d610c7e82600d60030160009054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b90505b5b5b80600d600001541015610d4f577f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610cc8610e02565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610d08578082015181840152602081019050610ced565b50505050905090810190601f168015610d355780820380516001836020036101000a031916815260200191505b509250505060405180910390a1610d4a610db9565b600080fd5b610d6781600d600001546126ef90919063ffffffff16565b600d60000181905550610d85816006546126ef90919063ffffffff16565b600681905550610d96308483612708565b505050565b6000808284019050838110151515610daf57fe5b8091505092915050565b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b610e0a612b27565b600c5460011415610e52576040805190810160405280600781526020017f5072652d49434f000000000000000000000000000000000000000000000000008152509050610f64565b600c5460021415610e9a576040805190810160405280600f81526020017f49434f20666972737420737461676500000000000000000000000000000000008152509050610f64565b600c5460031415610ee2576040805190810160405280601081526020017f49434f207365636f6e64207374616765000000000000000000000000000000008152509050610f64565b600c546004101515610f2b576040805190810160405280600d81526020017f66656174757265207374616765000000000000000000000000000000000000008152509050610f64565b6040805190810160405280601c81526020017f7468657265206973206e6f2073746167652061742070726573656e740000000081525090505b90565b60065481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110035780601f10610fd857610100808354040283529160200191611003565b820191906000526020600020905b815481529060010190602001808311610fe657829003601f168201915b505050505081565b600081600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001905092915050565b60055481565b6000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054821115151561112b57600080fd5b6111ba82600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611245848484612708565b600190509392505050565b600d8060000154908060010154908060020154908060030160009054906101000a900460ff16908060030160019054906101000a900460ff16905085565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156112e957600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561132957600080fd5b5050565b60035481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561138e57600080fd5b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561143457600080fd5b81600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561148257600080fd5b6114d482600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061152c826005546126ef90919063ffffffff16565b600581905550611547826006546126ef90919063ffffffff16565b6006819055503373ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a260019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156115ff57600080fd5b60065460045486021115151561161457600080fd5b60a06040519081016040528060045487028152602001858152602001620151808502860181526020018360ff1681526020018260ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff1602179055509050506116c86001600c54610d9b90919063ffffffff16565b600c819055506116d6612ade565b5050505050565b600a60009054906101000a900460ff1681565b600080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080831115611801576000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611895565b61181483826126ef90919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a3600191505092915050565b60086020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156119f657600080fd5b81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410151515611a4457600080fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211151515611acf57600080fd5b611b2182600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611bf382600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c88826005546126ef90919063ffffffff16565b600581905550611ca3826006546126ef90919063ffffffff16565b6006819055508273ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a26001905092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611d5c57600080fd5b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b60075481565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611e415780601f10611e1657610100808354040283529160200191611e41565b820191906000526020600020905b815481529060010190602001808311611e2457829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611ea657600080fd5b6000831415611eb457600192505b6000821415611ec257600191505b611ee982611edb6004548661267190919063ffffffff16565b6126a490919063ffffffff16565b6007819055506001905092915050565b611f04338383612708565b5050565b600c5481565b600b5481565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611f7257600080fd5b849050611f7f858561100b565b156120e4578073ffffffffffffffffffffffffffffffffffffffff16638f4ffcb1338630876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561207957808201518184015260208101905061205e565b50505050905090810190601f1680156120a65780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15156120c757600080fd5b6102c65a03f115156120d857600080fd5b505050600191506120e5565b5b509392505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561214857600080fd5b61215d816006546126ef90919063ffffffff16565b60068190555061216e308383612708565b5050565b600061220382600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b60115481565b6009602052816000526040600020602052806000526040600020600091509150505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156123f657600080fd5b60a060405190810160405280600d600001548152602001600d600101548152602001600d6002015481526020018360ff168152602001600d60030160019054906101000a900460ff1660ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff16021790555090505060019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561250e57600080fd5b6125188282610b14565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561257757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156125b357600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008082840290506000841480612692575082848281151561268f57fe5b04145b151561269a57fe5b8091505092915050565b60008082848115156126b257fe5b0490508091505092915050565b60006126e760646126d9848661267190919063ffffffff16565b6126a490919063ffffffff16565b905092915050565b60008282111515156126fd57fe5b818303905092915050565b6000808373ffffffffffffffffffffffffffffffffffffffff161415151561272f57600080fd5b81600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561277d57600080fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461280f83600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b11151561281b57600080fd5b6128ac600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b905061290082600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061299582600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a380612acf600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b141515612ad857fe5b50505050565b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b6020604051908101604052806000815250905600a165627a7a72305820cc596d9f22655cb0f8706e78b78b3bb34aac388e1f848849991db24869642b160029", - "deployedBytecode": "0x606060405260043610610180576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806304a84938146102af57806306fdde03146102d8578063095ea7b31461036657806318160ddd146103c057806323b872dd146103e9578063273ba6bb1461046257806331198d19146104b3578063313ce567146104f55780633f4ba83a1461051e57806342966c68146105335780635bda1af01461056e5780635c975abb146105bb57806366188463146105e857806370a082311461064257806379cc67901461068f5780638456cb59146106e95780638620410b146106fe57806395d89b4114610727578063a883b0c4146107b5578063a9059cbb146107f9578063c040e6b81461083b578063c99d9ef714610864578063cae9ca511461088d578063d0973af81461092a578063d73dd6231461096c578063da5f838d146109c6578063dd62ed3e146109ef578063ec993f3d14610a5b578063ee67575f14610a99578063f2fde38b14610adb575b67016345785d8a0000341015151561019457fe5b600d6001015442101515156101a857600080fd5b60001515600a60009054906101000a900460ff16151514156102a8576101ce3334610b14565b6101e334601154610d9b90919063ffffffff16565b601181905550600d60020154421015156102a3576101ff610db9565b7f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610228610e02565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561026857808201518184015260208101905061024d565b50505050905090810190601f1680156102955780820380516001836020036101000a031916815260200191505b509250505060405180910390a15b6102ad565b600080fd5b005b34156102ba57600080fd5b6102c2610f67565b6040518082815260200191505060405180910390f35b34156102e357600080fd5b6102eb610f6d565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561032b578082015181840152602081019050610310565b50505050905090810190601f1680156103585780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037157600080fd5b6103a6600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061100b565b604051808215151515815260200191505060405180910390f35b34156103cb57600080fd5b6103d3611098565b6040518082815260200191505060405180910390f35b34156103f457600080fd5b610448600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061109e565b604051808215151515815260200191505060405180910390f35b341561046d57600080fd5b610475611250565b604051808681526020018581526020018481526020018360ff1660ff1681526020018260ff1660ff1681526020019550505050505060405180910390f35b34156104be57600080fd5b6104f3600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061128e565b005b341561050057600080fd5b61050861132d565b6040518082815260200191505060405180910390f35b341561052957600080fd5b610531611333565b005b341561053e57600080fd5b61055460048080359060200190919050506113d7565b604051808215151515815260200191505060405180910390f35b341561057957600080fd5b6105b9600480803590602001909190803590602001909190803590602001909190803560ff1690602001909190803560ff169060200190919050506115a4565b005b34156105c657600080fd5b6105ce6116dd565b604051808215151515815260200191505060405180910390f35b34156105f357600080fd5b610628600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506116f0565b604051808215151515815260200191505060405180910390f35b341561064d57600080fd5b610679600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611981565b6040518082815260200191505060405180910390f35b341561069a57600080fd5b6106cf600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611999565b604051808215151515815260200191505060405180910390f35b34156106f457600080fd5b6106fc611d01565b005b341561070957600080fd5b610711611da5565b6040518082815260200191505060405180910390f35b341561073257600080fd5b61073a611dab565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561077a57808201518184015260208101905061075f565b50505050905090810190601f1680156107a75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156107c057600080fd5b6107df6004808035906020019091908035906020019091905050611e49565b604051808215151515815260200191505060405180910390f35b341561080457600080fd5b610839600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611ef9565b005b341561084657600080fd5b61084e611f08565b6040518082815260200191505060405180910390f35b341561086f57600080fd5b610877611f0e565b6040518082815260200191505060405180910390f35b341561089857600080fd5b610910600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050611f14565b604051808215151515815260200191505060405180910390f35b341561093557600080fd5b61096a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506120ed565b005b341561097757600080fd5b6109ac600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050612172565b604051808215151515815260200191505060405180910390f35b34156109d157600080fd5b6109d961236e565b6040518082815260200191505060405180910390f35b34156109fa57600080fd5b610a45600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050612374565b6040518082815260200191505060405180910390f35b3415610a6657600080fd5b610a7f600480803560ff16906020019091905050612399565b604051808215151515815260200191505060405180910390f35b3415610aa457600080fd5b610ad9600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506124b3565b005b3415610ae657600080fd5b610b12600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061251c565b005b6000610b3f600754610b316004548561267190919063ffffffff16565b6126a490919063ffffffff16565b9050600c5460011415610b8457610b7d610b6e82600d60030160009054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b9050610c92565b600c5460021415610c515762015180600d600101540142111515610c1857600d60030160019054906101000a900460ff1660ff1660001415610be0576014600d60030160016101000a81548160ff021916908360ff1602179055505b610c11610c0282600d60030160019054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b9050610c4c565b610c49610c3a82600d60030160009054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b90505b610c91565b600c5460031415610c9057610c8d610c7e82600d60030160009054906101000a900460ff1660ff166126bf565b82610d9b90919063ffffffff16565b90505b5b5b80600d600001541015610d4f577f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610cc8610e02565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610d08578082015181840152602081019050610ced565b50505050905090810190601f168015610d355780820380516001836020036101000a031916815260200191505b509250505060405180910390a1610d4a610db9565b600080fd5b610d6781600d600001546126ef90919063ffffffff16565b600d60000181905550610d85816006546126ef90919063ffffffff16565b600681905550610d96308483612708565b505050565b6000808284019050838110151515610daf57fe5b8091505092915050565b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b610e0a612b27565b600c5460011415610e52576040805190810160405280600781526020017f5072652d49434f000000000000000000000000000000000000000000000000008152509050610f64565b600c5460021415610e9a576040805190810160405280600f81526020017f49434f20666972737420737461676500000000000000000000000000000000008152509050610f64565b600c5460031415610ee2576040805190810160405280601081526020017f49434f207365636f6e64207374616765000000000000000000000000000000008152509050610f64565b600c546004101515610f2b576040805190810160405280600d81526020017f66656174757265207374616765000000000000000000000000000000000000008152509050610f64565b6040805190810160405280601c81526020017f7468657265206973206e6f2073746167652061742070726573656e740000000081525090505b90565b60065481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110035780601f10610fd857610100808354040283529160200191611003565b820191906000526020600020905b815481529060010190602001808311610fe657829003601f168201915b505050505081565b600081600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001905092915050565b60055481565b6000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054821115151561112b57600080fd5b6111ba82600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611245848484612708565b600190509392505050565b600d8060000154908060010154908060020154908060030160009054906101000a900460ff16908060030160019054906101000a900460ff16905085565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156112e957600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561132957600080fd5b5050565b60035481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561138e57600080fd5b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561143457600080fd5b81600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561148257600080fd5b6114d482600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061152c826005546126ef90919063ffffffff16565b600581905550611547826006546126ef90919063ffffffff16565b6006819055503373ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a260019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156115ff57600080fd5b60065460045486021115151561161457600080fd5b60a06040519081016040528060045487028152602001858152602001620151808502860181526020018360ff1681526020018260ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff1602179055509050506116c86001600c54610d9b90919063ffffffff16565b600c819055506116d6612ade565b5050505050565b600a60009054906101000a900460ff1681565b600080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080831115611801576000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611895565b61181483826126ef90919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a3600191505092915050565b60086020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156119f657600080fd5b81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410151515611a4457600080fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211151515611acf57600080fd5b611b2182600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611bf382600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c88826005546126ef90919063ffffffff16565b600581905550611ca3826006546126ef90919063ffffffff16565b6006819055508273ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a26001905092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611d5c57600080fd5b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b60075481565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611e415780601f10611e1657610100808354040283529160200191611e41565b820191906000526020600020905b815481529060010190602001808311611e2457829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611ea657600080fd5b6000831415611eb457600192505b6000821415611ec257600191505b611ee982611edb6004548661267190919063ffffffff16565b6126a490919063ffffffff16565b6007819055506001905092915050565b611f04338383612708565b5050565b600c5481565b600b5481565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611f7257600080fd5b849050611f7f858561100b565b156120e4578073ffffffffffffffffffffffffffffffffffffffff16638f4ffcb1338630876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561207957808201518184015260208101905061205e565b50505050905090810190601f1680156120a65780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15156120c757600080fd5b6102c65a03f115156120d857600080fd5b505050600191506120e5565b5b509392505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561214857600080fd5b61215d816006546126ef90919063ffffffff16565b60068190555061216e308383612708565b5050565b600061220382600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b60115481565b6009602052816000526040600020602052806000526040600020600091509150505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156123f657600080fd5b60a060405190810160405280600d600001548152602001600d600101548152602001600d6002015481526020018360ff168152602001600d60030160019054906101000a900460ff1660ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff16021790555090505060019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561250e57600080fd5b6125188282610b14565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561257757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156125b357600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008082840290506000841480612692575082848281151561268f57fe5b04145b151561269a57fe5b8091505092915050565b60008082848115156126b257fe5b0490508091505092915050565b60006126e760646126d9848661267190919063ffffffff16565b6126a490919063ffffffff16565b905092915050565b60008282111515156126fd57fe5b818303905092915050565b6000808373ffffffffffffffffffffffffffffffffffffffff161415151561272f57600080fd5b81600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561277d57600080fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461280f83600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b11151561281b57600080fd5b6128ac600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b905061290082600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ef90919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061299582600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a380612acf600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d9b90919063ffffffff16565b141515612ad857fe5b50505050565b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b6020604051908101604052806000815250905600a165627a7a72305820cc596d9f22655cb0f8706e78b78b3bb34aac388e1f848849991db24869642b160029", - "sourceMap": "98:839:5:-;;;405:2:7;379:28;;442:8;;428:2;:23;414:37;;554:23;528:49;;165:4:3;144:25;;;;;;;;;;;;;;;;;;;;203:1;176:28;;182:1:6;162:21;;316:80:5;;;;;;;;363:9;1204:573:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;535:10:2;527:5;;:18;;;;;;;;;;;;;;;;;;1356:22:7;1374:3;;1356:13;:17;;;;;;:22;;;;;:::i;:::-;1342:11;:36;;;;1455:11;;1437:9;:15;1447:4;1437:15;;;;;;;;;;;;;;;:29;;;;1542:9;:15;1552:4;1542:15;;;;;;;;;;;;;;;;1524;:33;;;;1615:9;1608:4;:16;;;;;;;;;;;;:::i;:::-;;1702:11;1693:6;:20;;;;;;;;;;;;:::i;:::-;;1204:573;;;98:839:5;;53:179:4;120:7;145:9;161:1;157;:5;145:17;;187:1;182;:6;:20;;;;201:1;196;192;:5;;;;;;;;:10;182:20;175:28;;;;;;223:1;216:8;;53:179;;;;;:::o;98:839:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "98:839:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;549:12;536:9;:25;;529:33;;;;;;588:3;:13;;;581:3;:20;;573:29;;;;;;;;629:5;619:15;;:6;;;;;;;;;;;:15;;;615:312;;;651:27;656:10;668:9;651:4;:27::i;:::-;706:25;721:9;706:10;;:14;;:25;;;;:::i;:::-;693:10;:38;;;;757:3;:11;;;750:3;:18;;746:129;;;789:15;:13;:15::i;:::-;823:36;841:17;:15;:17::i;:::-;823:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;746:129:5;615:312;;;907:8;;;615:312;98:839;491:30:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;327:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4129:178:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;458:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3513:347;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;645:14:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;379:28:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;575:95:3;;;;;;;;;;;;;;6298:487:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3731:419:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;144:25:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5641:482:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;634:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7048:716;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;379:90:3;;;;;;;;;;;;;;528:49:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;352:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1204:307:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3121:112:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;162:21:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;176:28:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4706:357:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;524:190:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5325:308:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;203:22:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;686:66:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;736:214:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4390:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;903:187:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;2088:1120:6;2162:15;2180:31;2202:8;;2181:15;2192:3;;2181:6;:10;;:15;;;;:::i;:::-;2180:21;;:31;;;;:::i;:::-;2162:49;;2233:5;;2228:1;:10;2224:658;;;2265:48;2277:35;2290:7;2299:3;:12;;;;;;;;;;;;2277:35;;:12;:35::i;:::-;2265:7;:11;;:48;;;;:::i;:::-;2255:58;;2224:658;;;2349:5;;2344:1;:10;2340:542;;;2407:6;2391:3;:13;;;:22;2384:3;:29;;2380:384;;;2458:3;:23;;;;;;;;;;;;2453:28;;:1;:28;2449:109;;;2534:2;2508:3;:23;;;:28;;;;;;;;;;;;;;;;;;2449:109;2590:59;2602:46;2615:7;2624:3;:23;;;;;;;;;;;;2602:46;;:12;:46::i;:::-;2590:7;:11;;:59;;;;:::i;:::-;2580:69;;2380:384;;;2700:48;2712:35;2725:7;2734:3;:12;;;;;;;;;;;;2712:35;;:12;:35::i;:::-;2700:7;:11;;:48;;;;:::i;:::-;2690:58;;2380:384;2340:542;;;2790:5;;2785:1;:10;2781:101;;;2822:48;2834:35;2847:7;2856:3;:12;;;;;;;;;;;;2834:35;;:12;:35::i;:::-;2822:7;:11;;:48;;;;:::i;:::-;2812:58;;2781:101;2340:542;2224:658;2911:7;2898:3;:10;;;:20;2894:153;;;2944:36;2962:17;:15;:17::i;:::-;2944:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2995:15:6;:13;:15::i;:::-;3027:8;;;2894:153;3072:23;3087:7;3072:3;:10;;;:14;;:23;;;;:::i;:::-;3059:3;:10;;:36;;;;3124:28;3144:7;3124:15;;:19;;:28;;;;:::i;:::-;3106:15;:46;;;;3165:35;3175:4;3181:9;3192:7;3165:9;:35::i;:::-;2088:1120;;;:::o;697:165:4:-;764:7;789:9;805:1;801;:5;789:17;;831:1;826;:6;;819:14;;;;;;853:1;846:8;;697:165;;;;;:::o;477:90:3:-;536:4;527:6;;:13;;;;;;;;;;;;;;;;;;551:8;;;;;;;;;;477:90::o;1587:420:6:-;1650:6;;:::i;:::-;1683:5;;1678:1;:10;1674:276;;;1705:16;;;;;;;;;;;;;;;;;;;;;;1674:276;1747:5;;1742:1;:10;1739:211;;;1769:24;;;;;;;;;;;;;;;;;;;;;;1739:211;1820:5;;1815:1;:10;1811:139;;;1842:25;;;;;;;;;;;;;;;;;;;;;;1811:139;1894:5;;1889:1;:10;;1885:65;;;1916:22;;;;;;;;;;;;;;;;;;;;;;1885:65;1962:37;;;;;;;;;;;;;;;;;;;;1587:420;;:::o;491:30:7:-;;;;:::o;327:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4129:178::-;4205:12;4269:6;4235:9;:21;4245:10;4235:21;;;;;;;;;;;;;;;:31;4257:8;4235:31;;;;;;;;;;;;;;;:40;;;;4295:4;4288:11;;4129:178;;;;:::o;458:26::-;;;;:::o;3513:347::-;3604:12;3652:9;:16;3662:5;3652:16;;;;;;;;;;;;;;;:28;3669:10;3652:28;;;;;;;;;;;;;;;;3642:6;:38;;3634:47;;;;;;;;3748:40;3781:6;3748:9;:16;3758:5;3748:16;;;;;;;;;;;;;;;:28;3765:10;3748:28;;;;;;;;;;;;;;;;:32;;:40;;;;:::i;:::-;3717:9;:16;3727:5;3717:16;;;;;;;;;;;;;;;:28;3734:10;3717:28;;;;;;;;;;;;;;;:71;;;;3799:29;3809:5;3816:3;3821:6;3799:9;:29::i;:::-;3848:4;3841:11;;3513:347;;;;;:::o;645:14:6:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;304:123:0:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;399:3:0;:12;;:20;412:6;399:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:123;;:::o;379:28:7:-;;;;:::o;575:95:3:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;636:5:3;627:6;;:14;;;;;;;;;;;;;;;;;;652:10;;;;;;;;;;575:95::o;6298:487:7:-;6363:12;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;6426:6:7;6401:9;:21;6411:10;6401:21;;;;;;;;;;;;;;;;:31;;6393:40;;;;;;;;6506:33;6532:6;6506:9;:21;6516:10;6506:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;6482:9;:21;6492:10;6482:21;;;;;;;;;;;;;;;:57;;;;6593:23;6609:6;6593:11;;:15;;:23;;;;:::i;:::-;6579:11;:37;;;;6689:27;6709:6;6689:15;;:19;;:27;;;;:::i;:::-;6671:15;:45;;;;6734:10;6729:24;;;6746:6;6729:24;;;;;;;;;;;;;;;;;;6773:4;6766:11;;6298:487;;;:::o;3731:419:6:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;3903:15:6;;3896:3;;3886:7;:13;:32;;3878:41;;;;;;;;3986:97;;;;;;;;;4001:3;;3991:7;:13;3986:97;;;;4006:10;3986:97;;;;4042:6;4031:8;:17;4018:10;:30;3986:97;;;;4051:9;3986:97;;;;;;4062:20;3986:97;;;;;3980:3;:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4102:12;4112:1;4102:5;;:9;;:12;;;;:::i;:::-;4094:5;:20;;;;4125:17;:15;:17::i;:::-;3731:419;;;;;:::o;144:25:3:-;;;;;;;;;;;;;:::o;5641:482:7:-;5734:12;5764:13;5780:9;:21;5790:10;5780:21;;;;;;;;;;;;;;;:31;5802:8;5780:31;;;;;;;;;;;;;;;;5764:47;;5847:8;5828:16;:27;5824:192;;;5906:1;5872:9;:21;5882:10;5872:21;;;;;;;;;;;;;;;:31;5894:8;5872:31;;;;;;;;;;;;;;;:35;;;;5824:192;;;5974:30;5987:16;5974:8;:12;;:30;;;;:::i;:::-;5940:9;:21;5950:10;5940:21;;;;;;;;;;;;;;;:31;5962:8;5940:31;;;;;;;;;;;;;;;:64;;;;5824:192;6049:8;6028:63;;6037:10;6028:63;;;6059:9;:21;6069:10;6059:21;;;;;;;;;;;;;;;:31;6081:8;6059:31;;;;;;;;;;;;;;;;6028:63;;;;;;;;;;;;;;;;;;6111:4;6104:11;;5641:482;;;;;:::o;634:45::-;;;;;;;;;;;;;;;;;:::o;7048:716::-;7132:12;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;7190:6:7;7170:9;:16;7180:5;7170:16;;;;;;;;;;;;;;;;:26;;7162:35;;;;;;;;7284:9;:16;7294:5;7284:16;;;;;;;;;;;;;;;:28;7301:10;7284:28;;;;;;;;;;;;;;;;7274:6;:38;;7266:47;;;;;;;;7367:28;7388:6;7367:9;:16;7377:5;7367:16;;;;;;;;;;;;;;;;:20;;:28;;;;:::i;:::-;7348:9;:16;7358:5;7348:16;;;;;;;;;;;;;;;:47;;;;7478:40;7511:6;7478:9;:16;7488:5;7478:16;;;;;;;;;;;;;;;:28;7495:10;7478:28;;;;;;;;;;;;;;;;:32;;:40;;;;:::i;:::-;7447:9;:16;7457:5;7447:16;;;;;;;;;;;;;;;:28;7464:10;7447:28;;;;;;;;;;;;;;;:71;;;;7586:23;7602:6;7586:11;;:15;;:23;;;;:::i;:::-;7572:11;:37;;;;7673:27;7693:6;7673:15;;:19;;:27;;;;:::i;:::-;7655:15;:45;;;;7718:5;7713:19;;;7725:6;7713:19;;;;;;;;;;;;;;;;;;7752:4;7745:11;;7048:716;;;;:::o;379:90:3:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;438:4:3;429:6;;:13;;;;;;;;;;;;;;;;;;453:8;;;;;;;;;;379:90::o;528:49:7:-;;;;:::o;352:20::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1204:307:6:-;1301:12;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;1349:1:6;1335:10;:15;1331:35;;;1365:1;1352:14;;1331:35;1397:1;1381:12;:17;1377:39;;;1415:1;1400:16;;1377:39;1440;1466:12;1441:19;1456:3;;1441:10;:14;;:19;;;;:::i;:::-;1440:25;;:39;;;;:::i;:::-;1429:8;:50;;;;1499:4;1492:11;;1204:307;;;;:::o;3121:112:7:-;3191:34;3201:10;3213:3;3218:6;3191:9;:34::i;:::-;3121:112;;:::o;162:21:6:-;;;;:::o;176:28:3:-;;;;:::o;4706:357:7:-;4817:12;4847:22;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;4887:8:7;4847:49;;4913:25;4921:8;4931:6;4913:7;:25::i;:::-;4909:147;;;4955:7;:23;;;4979:10;4991:6;4999:4;5005:10;4955:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5040:4:7;5033:11;;;;4909:147;717:1:2;4706:357:7;;;;;;:::o;524:190:0:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;640:27:0;660:6;640:15;;:19;;:27;;;;:::i;:::-;622:15;:45;;;;678:28;688:4;694:3;699:6;678:9;:28::i;:::-;524:190;;:::o;5325:308:7:-;5413:12;5477:48;5513:11;5477:9;:21;5487:10;5477:21;;;;;;;;;;;;;;;:31;5499:8;5477:31;;;;;;;;;;;;;;;;:35;;:48;;;;:::i;:::-;5443:9;:21;5453:10;5443:21;;;;;;;;;;;;;;;:31;5465:8;5443:31;;;;;;;;;;;;;;;:82;;;;5559:8;5538:63;;5547:10;5538:63;;;5569:9;:21;5579:10;5569:21;;;;;;;;;;;;;;;:31;5591:8;5569:31;;;;;;;;;;;;;;;;5538:63;;;;;;;;;;;;;;;;;;5621:4;5614:11;;5325:308;;;;:::o;203:22:5:-;;;;:::o;686:66:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;736:214:6:-;812:4;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;840:80:6;;;;;;;;;845:3;:10;;;840:80;;;;857:3;:13;;;840:80;;;;872:3;:11;;;840:80;;;;885:9;840:80;;;;;;896:3;:23;;;;;;;;;;;;840:80;;;;;834:3;:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;938:4;931:11;;736:214;;;:::o;4390:127::-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;4485:24:6;4490:9;4501:7;4485:4;:24::i;:::-;4390:127;;:::o;903:187:2:-;700:5;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;1004:1;984:22;;:8;:22;;;;976:31;;;;;;;;1046:8;1018:37;;1039:5;;;;;;;;;;;1018:37;;;;;;;;;;;;1074:8;1066:5;;:16;;;;;;;;;;;;;;;;;;903:187;:::o;53:179:4:-;120:7;145:9;161:1;157;:5;145:17;;187:1;182;:6;:20;;;;201:1;196;192;:5;;;;;;;;:10;182:20;175:28;;;;;;223:1;216:8;;53:179;;;;;:::o;240:302::-;307:7;411:9;427:1;423;:5;;;;;;;;411:17;;533:1;526:8;;240:302;;;;;:::o;4585:158:6:-;4671:7;4703:32;4731:3;4704:21;4716:8;4704:7;:11;;:21;;;;:::i;:::-;4703:27;;:32;;;;:::i;:::-;4696:39;;4585:158;;;;:::o;550:139:4:-;617:7;654:1;649;:6;;642:14;;;;;;680:1;676;:5;669:12;;550:139;;;;:::o;2014:896:7:-;2433:21;2181:3;2174;:10;;;;2166:19;;;;;;;;2267:6;2247:9;:16;2257:5;2247:16;;;;;;;;;;;;;;;;:26;;2239:35;;;;;;;;2354:9;:14;2364:3;2354:14;;;;;;;;;;;;;;;;2325:26;2344:6;2325:9;:14;2335:3;2325:14;;;;;;;;;;;;;;;;:18;;:26;;;;:::i;:::-;:43;2317:52;;;;;;;;2457:36;2478:9;:14;2488:3;2478:14;;;;;;;;;;;;;;;;2457:9;:16;2467:5;2457:16;;;;;;;;;;;;;;;;:20;;:36;;;;:::i;:::-;2433:60;;2560:28;2581:6;2560:9;:16;2570:5;2560:16;;;;;;;;;;;;;;;;:20;;:28;;;;:::i;:::-;2541:9;:16;2551:5;2541:16;;;;;;;;;;;;;;;:47;;;;2658:26;2677:6;2658:9;:14;2668:3;2658:14;;;;;;;;;;;;;;;;:18;;:26;;;;:::i;:::-;2641:9;:14;2651:3;2641:14;;;;;;;;;;;;;;;:43;;;;2713:3;2697:28;;2706:5;2697:28;;;2718:6;2697:28;;;;;;;;;;;;;;;;;;2885:16;2845:36;2866:9;:14;2876:3;2866:14;;;;;;;;;;;;;;;;2845:9;:16;2855:5;2845:16;;;;;;;;;;;;;;;;:20;;:36;;;;:::i;:::-;:56;2838:64;;;;;;2014:896;;;;:::o;678:95:3:-;739:5;730:6;;:14;;;;;;;;;;;;;;;;;;755:10;;;;;;;;;;678:95::o;98:839:5:-;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./ERC20Extending.sol\";\r\nimport \"./StreamityCrowdsale.sol\";\r\n\r\ncontract StreamityContract is ERC20Extending, StreamityCrowdsale\r\n{\r\n using SafeMath for uint;\r\n\r\n uint public weisRaised; // how many weis was raised on crowdsale\r\n\r\n /* Streamity tokens Constructor */\r\n function StreamityContract() public TokenERC20(180000000, \"Streamity\", \"STM\") {} //change before send !!!\r\n\r\n /**\r\n * Function payments handler\r\n *\r\n */\r\n function () public payable\r\n {\r\n assert(msg.value >= 1 ether / 10);\r\n require(now >= ICO.startDate);\r\n\r\n if (paused == false) {\r\n sell(msg.sender, msg.value);\r\n weisRaised = weisRaised.add(msg.value);\r\n if (now >= ICO.endDate) {\r\n pauseInternal();\r\n CrowdSaleFinished(crowdSaleStatus());\r\n }\r\n } else {\r\n revert();\r\n }\r\n }\r\n}\r\n", + "bytecode": "0x60606040526012600355600354600a0a600455670de0b6b3a76400006007556001600a60006101000a81548160ff0219169083151502179055506000600b5534156200004a57600080fd5b630aba95006040805190810160405280600981526020017f53747265616d69747900000000000000000000000000000000000000000000008152506040805190810160405280600381526020017f53544d0000000000000000000000000000000000000000000000000000000000815250336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200012060045484620001ed6401000000000262002ae7179091906401000000009004565b600581905550600554600860003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600860003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546006819055508160019080519060200190620001ca92919062000223565b508060029080519060200190620001e392919062000223565b50505050620002d2565b600080828402905060008414806200021057508284828115156200020d57fe5b04145b15156200021957fe5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200026657805160ff191683800117855562000297565b8280016001018555821562000297579182015b828111156200029657825182559160200191906001019062000279565b5b509050620002a69190620002aa565b5090565b620002cf91905b80821115620002cb576000816000905550600101620002b1565b5090565b90565b612ba580620002e26000396000f300606060405260043610610175576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806304a84938146101cf57806306fdde03146101f8578063095ea7b31461028657806318160ddd146102e057806323b872dd14610309578063273ba6bb1461038257806331198d19146103d3578063313ce567146104155780633f4ba83a1461043e57806342966c68146104535780635bda1af01461048e5780635c975abb146104db578063661884631461050857806370a082311461056257806379cc6790146105af5780638456cb59146106095780638620410b1461061e57806395d89b4114610647578063a883b0c4146106d5578063a9059cbb14610719578063c040e6b81461075b578063cae9ca5114610784578063d0973af814610821578063d73dd62314610863578063da5f838d146108bd578063dd62ed3e146108e6578063ec993f3d14610952578063ee67575f14610990578063f2fde38b146109d2575b67016345785d8a0000341015151561018957fe5b600d60010154421015151561019d57600080fd5b60001515600a60009054906101000a900460ff16151514156101c8576101c33334610a0b565b6101cd565b600080fd5b005b34156101da57600080fd5b6101e2610bea565b6040518082815260200191505060405180910390f35b341561020357600080fd5b61020b610bf0565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561024b578082015181840152602081019050610230565b50505050905090810190601f1680156102785780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561029157600080fd5b6102c6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610c8e565b604051808215151515815260200191505060405180910390f35b34156102eb57600080fd5b6102f3610d1b565b6040518082815260200191505060405180910390f35b341561031457600080fd5b610368600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610d21565b604051808215151515815260200191505060405180910390f35b341561038d57600080fd5b610395610ed3565b604051808681526020018581526020018481526020018360ff1660ff1681526020018260ff1660ff1681526020019550505050505060405180910390f35b34156103de57600080fd5b610413600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610f11565b005b341561042057600080fd5b610428610fb0565b6040518082815260200191505060405180910390f35b341561044957600080fd5b610451610fb6565b005b341561045e57600080fd5b610474600480803590602001909190505061105a565b604051808215151515815260200191505060405180910390f35b341561049957600080fd5b6104d9600480803590602001909190803590602001909190803590602001909190803560ff1690602001909190803560ff16906020019091905050611227565b005b34156104e657600080fd5b6104ee611360565b604051808215151515815260200191505060405180910390f35b341561051357600080fd5b610548600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611373565b604051808215151515815260200191505060405180910390f35b341561056d57600080fd5b610599600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611604565b6040518082815260200191505060405180910390f35b34156105ba57600080fd5b6105ef600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061161c565b604051808215151515815260200191505060405180910390f35b341561061457600080fd5b61061c611984565b005b341561062957600080fd5b610631611a28565b6040518082815260200191505060405180910390f35b341561065257600080fd5b61065a611a2e565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561069a57808201518184015260208101905061067f565b50505050905090810190601f1680156106c75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156106e057600080fd5b6106ff6004808035906020019091908035906020019091905050611acc565b604051808215151515815260200191505060405180910390f35b341561072457600080fd5b610759600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611b7c565b005b341561076657600080fd5b61076e611b8b565b6040518082815260200191505060405180910390f35b341561078f57600080fd5b610807600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050611b91565b604051808215151515815260200191505060405180910390f35b341561082c57600080fd5b610861600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611d6a565b005b341561086e57600080fd5b6108a3600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611def565b604051808215151515815260200191505060405180910390f35b34156108c857600080fd5b6108d0611feb565b6040518082815260200191505060405180910390f35b34156108f157600080fd5b61093c600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611ff1565b6040518082815260200191505060405180910390f35b341561095d57600080fd5b610976600480803560ff16906020019091905050612016565b604051808215151515815260200191505060405180910390f35b341561099b57600080fd5b6109d0600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050612130565b005b34156109dd57600080fd5b610a09600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050612199565b005b600080610a17836122ee565b9150610a2282612476565b90508015610b0e57610a348483612498565b610a4983600c546124e390919063ffffffff16565b600c81905550600d6002015442101515610b0957610a65612501565b7f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610a8e61254a565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ace578082015181840152602081019050610ab3565b50505050905090810190601f168015610afb5780820380516001836020036101000a031916815260200191505b509250505060405180910390a15b610be4565b610b1d84600d60000154612498565b610b3283600c546124e390919063ffffffff16565b600c81905550610b40612501565b7f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610b6961254a565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ba9578082015181840152602081019050610b8e565b50505050905090810190601f168015610bd65780820380516001836020036101000a031916815260200191505b509250505060405180910390a15b50505050565b60065481565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c865780601f10610c5b57610100808354040283529160200191610c86565b820191906000526020600020905b815481529060010190602001808311610c6957829003601f168201915b505050505081565b600081600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001905092915050565b60055481565b6000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211151515610dae57600080fd5b610e3d82600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126af90919063ffffffff16565b600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ec88484846126c8565b600190509392505050565b600d8060000154908060010154908060020154908060030160009054906101000a900460ff16908060030160019054906101000a900460ff16905085565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f6c57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610fac57600080fd5b5050565b60035481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561101157600080fd5b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156110b757600080fd5b81600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561110557600080fd5b61115782600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126af90919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506111af826005546126af90919063ffffffff16565b6005819055506111ca826006546126af90919063ffffffff16565b6006819055503373ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a260019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561128257600080fd5b60065460045486021115151561129757600080fd5b60a06040519081016040528060045487028152602001858152602001620151808502860181526020018360ff1681526020018260ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff16021790555090505061134b6001600b546124e390919063ffffffff16565b600b81905550611359612a9e565b5050505050565b600a60009054906101000a900460ff1681565b600080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080831115611484576000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611518565b61149783826126af90919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a3600191505092915050565b60086020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561167957600080fd5b81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101515156116c757600080fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054821115151561175257600080fd5b6117a482600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126af90919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061187682600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126af90919063ffffffff16565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061190b826005546126af90919063ffffffff16565b600581905550611926826006546126af90919063ffffffff16565b6006819055508273ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a26001905092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156119df57600080fd5b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b60075481565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611ac45780601f10611a9957610100808354040283529160200191611ac4565b820191906000526020600020905b815481529060010190602001808311611aa757829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611b2957600080fd5b6000831415611b3757600192505b6000821415611b4557600191505b611b6c82611b5e60045486612ae790919063ffffffff16565b612b1a90919063ffffffff16565b6007819055506001905092915050565b611b873383836126c8565b5050565b600b5481565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611bef57600080fd5b849050611bfc8585610c8e565b15611d61578073ffffffffffffffffffffffffffffffffffffffff16638f4ffcb1338630876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611cf6578082015181840152602081019050611cdb565b50505050905090810190601f168015611d235780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1515611d4457600080fd5b6102c65a03f11515611d5557600080fd5b50505060019150611d62565b5b509392505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611dc557600080fd5b611dda816006546126af90919063ffffffff16565b600681905550611deb3083836126c8565b5050565b6000611e8082600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124e390919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b600c5481565b6009602052816000526040600020602052806000526040600020600091509150505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561207357600080fd5b60a060405190810160405280600d600001548152602001600d600101548152602001600d6002015481526020018360ff168152602001600d60030160019054906101000a900460ff1660ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff16021790555090505060019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561218b57600080fd5b6121958282612498565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156121f457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561223057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008061231a60075461230c60045486612ae790919063ffffffff16565b612b1a90919063ffffffff16565b9050600b546001141561235f5761235861234982600d60030160009054906101000a900460ff1660ff16612b35565b826124e390919063ffffffff16565b905061246d565b600b546002141561242c5762015180600d6001015401421115156123f357600d60030160019054906101000a900460ff1660ff16600014156123bb576014600d60030160016101000a81548160ff021916908360ff1602179055505b6123ec6123dd82600d60030160019054906101000a900460ff1660ff16612b35565b826124e390919063ffffffff16565b9050612427565b61242461241582600d60030160009054906101000a900460ff1660ff16612b35565b826124e390919063ffffffff16565b90505b61246c565b600b546003141561246b5761246861245982600d60030160009054906101000a900460ff1660ff16612b35565b826124e390919063ffffffff16565b90505b5b5b80915050919050565b600081600d60000154101561248e5760009050612493565b600190505b919050565b6124b081600d600001546126af90919063ffffffff16565b600d600001819055506124ce816006546126af90919063ffffffff16565b6006819055506124df3083836126c8565b5050565b60008082840190508381101515156124f757fe5b8091505092915050565b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b612552612b65565b600b546001141561259a576040805190810160405280600781526020017f5072652d49434f0000000000000000000000000000000000000000000000000081525090506126ac565b600b54600214156125e2576040805190810160405280600f81526020017f49434f206669727374207374616765000000000000000000000000000000000081525090506126ac565b600b546003141561262a576040805190810160405280601081526020017f49434f207365636f6e642073746167650000000000000000000000000000000081525090506126ac565b600b546004101515612673576040805190810160405280600d81526020017f666561747572652073746167650000000000000000000000000000000000000081525090506126ac565b6040805190810160405280601c81526020017f7468657265206973206e6f2073746167652061742070726573656e740000000081525090505b90565b60008282111515156126bd57fe5b818303905092915050565b6000808373ffffffffffffffffffffffffffffffffffffffff16141515156126ef57600080fd5b81600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561273d57600080fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127cf83600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124e390919063ffffffff16565b1115156127db57600080fd5b61286c600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124e390919063ffffffff16565b90506128c082600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126af90919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061295582600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124e390919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a380612a8f600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124e390919063ffffffff16565b141515612a9857fe5b50505050565b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b60008082840290506000841480612b085750828482811515612b0557fe5b04145b1515612b1057fe5b8091505092915050565b6000808284811515612b2857fe5b0490508091505092915050565b6000612b5d6064612b4f8486612ae790919063ffffffff16565b612b1a90919063ffffffff16565b905092915050565b6020604051908101604052806000815250905600a165627a7a72305820b8c80ca02ab0eb963c13ffb3255a712bab7797f5483e4516f257c832e4671b8f0029", + "deployedBytecode": "0x606060405260043610610175576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806304a84938146101cf57806306fdde03146101f8578063095ea7b31461028657806318160ddd146102e057806323b872dd14610309578063273ba6bb1461038257806331198d19146103d3578063313ce567146104155780633f4ba83a1461043e57806342966c68146104535780635bda1af01461048e5780635c975abb146104db578063661884631461050857806370a082311461056257806379cc6790146105af5780638456cb59146106095780638620410b1461061e57806395d89b4114610647578063a883b0c4146106d5578063a9059cbb14610719578063c040e6b81461075b578063cae9ca5114610784578063d0973af814610821578063d73dd62314610863578063da5f838d146108bd578063dd62ed3e146108e6578063ec993f3d14610952578063ee67575f14610990578063f2fde38b146109d2575b67016345785d8a0000341015151561018957fe5b600d60010154421015151561019d57600080fd5b60001515600a60009054906101000a900460ff16151514156101c8576101c33334610a0b565b6101cd565b600080fd5b005b34156101da57600080fd5b6101e2610bea565b6040518082815260200191505060405180910390f35b341561020357600080fd5b61020b610bf0565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561024b578082015181840152602081019050610230565b50505050905090810190601f1680156102785780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561029157600080fd5b6102c6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610c8e565b604051808215151515815260200191505060405180910390f35b34156102eb57600080fd5b6102f3610d1b565b6040518082815260200191505060405180910390f35b341561031457600080fd5b610368600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610d21565b604051808215151515815260200191505060405180910390f35b341561038d57600080fd5b610395610ed3565b604051808681526020018581526020018481526020018360ff1660ff1681526020018260ff1660ff1681526020019550505050505060405180910390f35b34156103de57600080fd5b610413600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610f11565b005b341561042057600080fd5b610428610fb0565b6040518082815260200191505060405180910390f35b341561044957600080fd5b610451610fb6565b005b341561045e57600080fd5b610474600480803590602001909190505061105a565b604051808215151515815260200191505060405180910390f35b341561049957600080fd5b6104d9600480803590602001909190803590602001909190803590602001909190803560ff1690602001909190803560ff16906020019091905050611227565b005b34156104e657600080fd5b6104ee611360565b604051808215151515815260200191505060405180910390f35b341561051357600080fd5b610548600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611373565b604051808215151515815260200191505060405180910390f35b341561056d57600080fd5b610599600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611604565b6040518082815260200191505060405180910390f35b34156105ba57600080fd5b6105ef600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061161c565b604051808215151515815260200191505060405180910390f35b341561061457600080fd5b61061c611984565b005b341561062957600080fd5b610631611a28565b6040518082815260200191505060405180910390f35b341561065257600080fd5b61065a611a2e565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561069a57808201518184015260208101905061067f565b50505050905090810190601f1680156106c75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156106e057600080fd5b6106ff6004808035906020019091908035906020019091905050611acc565b604051808215151515815260200191505060405180910390f35b341561072457600080fd5b610759600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611b7c565b005b341561076657600080fd5b61076e611b8b565b6040518082815260200191505060405180910390f35b341561078f57600080fd5b610807600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050611b91565b604051808215151515815260200191505060405180910390f35b341561082c57600080fd5b610861600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611d6a565b005b341561086e57600080fd5b6108a3600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611def565b604051808215151515815260200191505060405180910390f35b34156108c857600080fd5b6108d0611feb565b6040518082815260200191505060405180910390f35b34156108f157600080fd5b61093c600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611ff1565b6040518082815260200191505060405180910390f35b341561095d57600080fd5b610976600480803560ff16906020019091905050612016565b604051808215151515815260200191505060405180910390f35b341561099b57600080fd5b6109d0600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050612130565b005b34156109dd57600080fd5b610a09600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050612199565b005b600080610a17836122ee565b9150610a2282612476565b90508015610b0e57610a348483612498565b610a4983600c546124e390919063ffffffff16565b600c81905550600d6002015442101515610b0957610a65612501565b7f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610a8e61254a565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ace578082015181840152602081019050610ab3565b50505050905090810190601f168015610afb5780820380516001836020036101000a031916815260200191505b509250505060405180910390a15b610be4565b610b1d84600d60000154612498565b610b3283600c546124e390919063ffffffff16565b600c81905550610b40612501565b7f85b8d86f52e6555fa7f5d8f5e1fe2dbca432512924156cc733ad10ba881c121c610b6961254a565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ba9578082015181840152602081019050610b8e565b50505050905090810190601f168015610bd65780820380516001836020036101000a031916815260200191505b509250505060405180910390a15b50505050565b60065481565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c865780601f10610c5b57610100808354040283529160200191610c86565b820191906000526020600020905b815481529060010190602001808311610c6957829003601f168201915b505050505081565b600081600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001905092915050565b60055481565b6000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211151515610dae57600080fd5b610e3d82600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126af90919063ffffffff16565b600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ec88484846126c8565b600190509392505050565b600d8060000154908060010154908060020154908060030160009054906101000a900460ff16908060030160019054906101000a900460ff16905085565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f6c57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610fac57600080fd5b5050565b60035481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561101157600080fd5b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156110b757600080fd5b81600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561110557600080fd5b61115782600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126af90919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506111af826005546126af90919063ffffffff16565b6005819055506111ca826006546126af90919063ffffffff16565b6006819055503373ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a260019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561128257600080fd5b60065460045486021115151561129757600080fd5b60a06040519081016040528060045487028152602001858152602001620151808502860181526020018360ff1681526020018260ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff16021790555090505061134b6001600b546124e390919063ffffffff16565b600b81905550611359612a9e565b5050505050565b600a60009054906101000a900460ff1681565b600080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080831115611484576000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611518565b61149783826126af90919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a3600191505092915050565b60086020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561167957600080fd5b81600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101515156116c757600080fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054821115151561175257600080fd5b6117a482600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126af90919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061187682600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126af90919063ffffffff16565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061190b826005546126af90919063ffffffff16565b600581905550611926826006546126af90919063ffffffff16565b6006819055508273ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5836040518082815260200191505060405180910390a26001905092915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156119df57600080fd5b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b60075481565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611ac45780601f10611a9957610100808354040283529160200191611ac4565b820191906000526020600020905b815481529060010190602001808311611aa757829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611b2957600080fd5b6000831415611b3757600192505b6000821415611b4557600191505b611b6c82611b5e60045486612ae790919063ffffffff16565b612b1a90919063ffffffff16565b6007819055506001905092915050565b611b873383836126c8565b5050565b600b5481565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611bef57600080fd5b849050611bfc8585610c8e565b15611d61578073ffffffffffffffffffffffffffffffffffffffff16638f4ffcb1338630876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611cf6578082015181840152602081019050611cdb565b50505050905090810190601f168015611d235780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1515611d4457600080fd5b6102c65a03f11515611d5557600080fd5b50505060019150611d62565b5b509392505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611dc557600080fd5b611dda816006546126af90919063ffffffff16565b600681905550611deb3083836126c8565b5050565b6000611e8082600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124e390919063ffffffff16565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b600c5481565b6009602052816000526040600020602052806000526040600020600091509150505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561207357600080fd5b60a060405190810160405280600d600001548152602001600d600101548152602001600d6002015481526020018360ff168152602001600d60030160019054906101000a900460ff1660ff16815250600d60008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff021916908360ff16021790555060808201518160030160016101000a81548160ff021916908360ff16021790555090505060019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561218b57600080fd5b6121958282612498565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156121f457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561223057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008061231a60075461230c60045486612ae790919063ffffffff16565b612b1a90919063ffffffff16565b9050600b546001141561235f5761235861234982600d60030160009054906101000a900460ff1660ff16612b35565b826124e390919063ffffffff16565b905061246d565b600b546002141561242c5762015180600d6001015401421115156123f357600d60030160019054906101000a900460ff1660ff16600014156123bb576014600d60030160016101000a81548160ff021916908360ff1602179055505b6123ec6123dd82600d60030160019054906101000a900460ff1660ff16612b35565b826124e390919063ffffffff16565b9050612427565b61242461241582600d60030160009054906101000a900460ff1660ff16612b35565b826124e390919063ffffffff16565b90505b61246c565b600b546003141561246b5761246861245982600d60030160009054906101000a900460ff1660ff16612b35565b826124e390919063ffffffff16565b90505b5b5b80915050919050565b600081600d60000154101561248e5760009050612493565b600190505b919050565b6124b081600d600001546126af90919063ffffffff16565b600d600001819055506124ce816006546126af90919063ffffffff16565b6006819055506124df3083836126c8565b5050565b60008082840190508381101515156124f757fe5b8091505092915050565b6001600a60006101000a81548160ff0219169083151502179055507fd2ef4ae6592c2a8f5d1c602eaa8a0685727b41b23509703db861621a9614813a60405160405180910390a1565b612552612b65565b600b546001141561259a576040805190810160405280600781526020017f5072652d49434f0000000000000000000000000000000000000000000000000081525090506126ac565b600b54600214156125e2576040805190810160405280600f81526020017f49434f206669727374207374616765000000000000000000000000000000000081525090506126ac565b600b546003141561262a576040805190810160405280601081526020017f49434f207365636f6e642073746167650000000000000000000000000000000081525090506126ac565b600b546004101515612673576040805190810160405280600d81526020017f666561747572652073746167650000000000000000000000000000000000000081525090506126ac565b6040805190810160405280601c81526020017f7468657265206973206e6f2073746167652061742070726573656e740000000081525090505b90565b60008282111515156126bd57fe5b818303905092915050565b6000808373ffffffffffffffffffffffffffffffffffffffff16141515156126ef57600080fd5b81600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561273d57600080fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127cf83600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124e390919063ffffffff16565b1115156127db57600080fd5b61286c600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124e390919063ffffffff16565b90506128c082600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126af90919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061295582600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124e390919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a380612a8f600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124e390919063ffffffff16565b141515612a9857fe5b50505050565b6000600a60006101000a81548160ff0219169083151502179055507f9b1d6b460eaa8350c2f15712231e94c803e08e072db0737a0efb84745848694060405160405180910390a1565b60008082840290506000841480612b085750828482811515612b0557fe5b04145b1515612b1057fe5b8091505092915050565b6000808284811515612b2857fe5b0490508091505092915050565b6000612b5d6064612b4f8486612ae790919063ffffffff16565b612b1a90919063ffffffff16565b905092915050565b6020604051908101604052806000815250905600a165627a7a72305820b8c80ca02ab0eb963c13ffb3255a712bab7797f5483e4516f257c832e4671b8f0029", + "sourceMap": "98:548:5:-;;;405:2:7;379:28;;442:8;;428:2;:23;414:37;;554:23;528:49;;165:4:3;144:25;;;;;;;;;;;;;;;;;;;;182:1:6;162:21;;211:80:5;;;;;;;;258:9;1204:573:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;535:10:2;527:5;;:18;;;;;;;;;;;;;;;;;;1356:22:7;1374:3;;1356:13;:17;;;;;;:22;;;;;:::i;:::-;1342:11;:36;;;;1455:11;;1437:9;:15;1447:4;1437:15;;;;;;;;;;;;;;;:29;;;;1542:9;:15;1552:4;1542:15;;;;;;;;;;;;;;;;1524;:33;;;;1615:9;1608:4;:16;;;;;;;;;;;;:::i;:::-;;1702:11;1693:6;:20;;;;;;;;;;;;:::i;:::-;;1204:573;;;98:548:5;;53:179:4;120:7;145:9;161:1;157;:5;145:17;;187:1;182;:6;:20;;;;201:1;196;192;:5;;;;;;;;:10;182:20;175:28;;;;;;223:1;216:8;;53:179;;;;;:::o;98:548:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "98:548:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;444:12;431:9;:25;;424:33;;;;;;483:3;:13;;;476:3;:20;;468:29;;;;;;;;524:5;514:15;;:6;;;;;;;;;;;:15;;;510:126;;;546:37;561:10;573:9;546:14;:37::i;:::-;510:126;;;616:8;;;510:126;98:548;491:30:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;327:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4129:178:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;458:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3513:347;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;719:14:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;379:28:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;540:95:3;;;;;;;;;;;;;;6298:487:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4855:419:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;144:25:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5641:482:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;634:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7048:716;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;344:90:3;;;;;;;;;;;;;;528:49:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;352:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2445:307:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3121:112:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;162:21:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4706:357:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;524:190:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5325:308:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;190:25:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;686:66:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1977:214:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5514:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;903:187:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;3300:727:6;3380:21;3435:9;3404:20;3418:5;3404:13;:20::i;:::-;3380:44;;3447:26;3459:13;3447:11;:26::i;:::-;3435:38;;3490:4;3486:534;;;3513:27;3518:6;3526:13;3513:4;:27::i;:::-;3570:21;3585:5;3570:10;;:14;;:21;;;;:::i;:::-;3557:10;:34;;;;3619:3;:11;;;3612:3;:18;;3608:146;;;3651:15;:13;:15::i;:::-;3685:36;3703:17;:15;:17::i;:::-;3685:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3608:146:6;3486:534;;;3790:24;3795:6;3803:3;:10;;;3790:4;:24::i;:::-;3885:21;3900:5;3885:10;;:14;;:21;;;;:::i;:::-;3872:10;:34;;;;3923:15;:13;:15::i;:::-;3953:36;3971:17;:15;:17::i;:::-;3953:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3486:534:6;3300:727;;;;:::o;491:30:7:-;;;;:::o;327:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4129:178::-;4205:12;4269:6;4235:9;:21;4245:10;4235:21;;;;;;;;;;;;;;;:31;4257:8;4235:31;;;;;;;;;;;;;;;:40;;;;4295:4;4288:11;;4129:178;;;;:::o;458:26::-;;;;:::o;3513:347::-;3604:12;3652:9;:16;3662:5;3652:16;;;;;;;;;;;;;;;:28;3669:10;3652:28;;;;;;;;;;;;;;;;3642:6;:38;;3634:47;;;;;;;;3748:40;3781:6;3748:9;:16;3758:5;3748:16;;;;;;;;;;;;;;;:28;3765:10;3748:28;;;;;;;;;;;;;;;;:32;;:40;;;;:::i;:::-;3717:9;:16;3727:5;3717:16;;;;;;;;;;;;;;;:28;3734:10;3717:28;;;;;;;;;;;;;;;:71;;;;3799:29;3809:5;3816:3;3821:6;3799:9;:29::i;:::-;3848:4;3841:11;;3513:347;;;;;:::o;719:14:6:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;304:123:0:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;399:3:0;:12;;:20;412:6;399:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:123;;:::o;379:28:7:-;;;;:::o;540:95:3:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;601:5:3;592:6;;:14;;;;;;;;;;;;;;;;;;617:10;;;;;;;;;;540:95::o;6298:487:7:-;6363:12;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;6426:6:7;6401:9;:21;6411:10;6401:21;;;;;;;;;;;;;;;;:31;;6393:40;;;;;;;;6506:33;6532:6;6506:9;:21;6516:10;6506:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;6482:9;:21;6492:10;6482:21;;;;;;;;;;;;;;;:57;;;;6593:23;6609:6;6593:11;;:15;;:23;;;;:::i;:::-;6579:11;:37;;;;6689:27;6709:6;6689:15;;:19;;:27;;;;:::i;:::-;6671:15;:45;;;;6734:10;6729:24;;;6746:6;6729:24;;;;;;;;;;;;;;;;;;6773:4;6766:11;;6298:487;;;:::o;4855:419:6:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;5027:15:6;;5020:3;;5010:7;:13;:32;;5002:41;;;;;;;;5110:97;;;;;;;;;5125:3;;5115:7;:13;5110:97;;;;5130:10;5110:97;;;;5166:6;5155:8;:17;5142:10;:30;5110:97;;;;5175:9;5110:97;;;;;;5186:20;5110:97;;;;;5104:3;:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5226:12;5236:1;5226:5;;:9;;:12;;;;:::i;:::-;5218:5;:20;;;;5249:17;:15;:17::i;:::-;4855:419;;;;;:::o;144:25:3:-;;;;;;;;;;;;;:::o;5641:482:7:-;5734:12;5764:13;5780:9;:21;5790:10;5780:21;;;;;;;;;;;;;;;:31;5802:8;5780:31;;;;;;;;;;;;;;;;5764:47;;5847:8;5828:16;:27;5824:192;;;5906:1;5872:9;:21;5882:10;5872:21;;;;;;;;;;;;;;;:31;5894:8;5872:31;;;;;;;;;;;;;;;:35;;;;5824:192;;;5974:30;5987:16;5974:8;:12;;:30;;;;:::i;:::-;5940:9;:21;5950:10;5940:21;;;;;;;;;;;;;;;:31;5962:8;5940:31;;;;;;;;;;;;;;;:64;;;;5824:192;6049:8;6028:63;;6037:10;6028:63;;;6059:9;:21;6069:10;6059:21;;;;;;;;;;;;;;;:31;6081:8;6059:31;;;;;;;;;;;;;;;;6028:63;;;;;;;;;;;;;;;;;;6111:4;6104:11;;5641:482;;;;;:::o;634:45::-;;;;;;;;;;;;;;;;;:::o;7048:716::-;7132:12;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;7190:6:7;7170:9;:16;7180:5;7170:16;;;;;;;;;;;;;;;;:26;;7162:35;;;;;;;;7284:9;:16;7294:5;7284:16;;;;;;;;;;;;;;;:28;7301:10;7284:28;;;;;;;;;;;;;;;;7274:6;:38;;7266:47;;;;;;;;7367:28;7388:6;7367:9;:16;7377:5;7367:16;;;;;;;;;;;;;;;;:20;;:28;;;;:::i;:::-;7348:9;:16;7358:5;7348:16;;;;;;;;;;;;;;;:47;;;;7478:40;7511:6;7478:9;:16;7488:5;7478:16;;;;;;;;;;;;;;;:28;7495:10;7478:28;;;;;;;;;;;;;;;;:32;;:40;;;;:::i;:::-;7447:9;:16;7457:5;7447:16;;;;;;;;;;;;;;;:28;7464:10;7447:28;;;;;;;;;;;;;;;:71;;;;7586:23;7602:6;7586:11;;:15;;:23;;;;:::i;:::-;7572:11;:37;;;;7673:27;7693:6;7673:15;;:19;;:27;;;;:::i;:::-;7655:15;:45;;;;7718:5;7713:19;;;7725:6;7713:19;;;;;;;;;;;;;;;;;;7752:4;7745:11;;7048:716;;;;:::o;344:90:3:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;403:4:3;394:6;;:13;;;;;;;;;;;;;;;;;;418:8;;;;;;;;;;344:90::o;528:49:7:-;;;;:::o;352:20::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2445:307:6:-;2542:12;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;2590:1:6;2576:10;:15;2572:35;;;2606:1;2593:14;;2572:35;2638:1;2622:12;:17;2618:39;;;2656:1;2641:16;;2618:39;2681;2707:12;2682:19;2697:3;;2682:10;:14;;:19;;;;:::i;:::-;2681:25;;:39;;;;:::i;:::-;2670:8;:50;;;;2740:4;2733:11;;2445:307;;;;:::o;3121:112:7:-;3191:34;3201:10;3213:3;3218:6;3191:9;:34::i;:::-;3121:112;;:::o;162:21:6:-;;;;:::o;4706:357:7:-;4817:12;4847:22;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;4887:8:7;4847:49;;4913:25;4921:8;4931:6;4913:7;:25::i;:::-;4909:147;;;4955:7;:23;;;4979:10;4991:6;4999:4;5005:10;4955:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5040:4:7;5033:11;;;;4909:147;717:1:2;4706:357:7;;;;;;:::o;524:190:0:-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;640:27:0;660:6;640:15;;:19;;:27;;;;:::i;:::-;622:15;:45;;;;678:28;688:4;694:3;699:6;678:9;:28::i;:::-;524:190;;:::o;5325:308:7:-;5413:12;5477:48;5513:11;5477:9;:21;5487:10;5477:21;;;;;;;;;;;;;;;:31;5499:8;5477:31;;;;;;;;;;;;;;;;:35;;:48;;;;:::i;:::-;5443:9;:21;5453:10;5443:21;;;;;;;;;;;;;;;:31;5465:8;5443:31;;;;;;;;;;;;;;;:82;;;;5559:8;5538:63;;5547:10;5538:63;;;5569:9;:21;5579:10;5569:21;;;;;;;;;;;;;;;:31;5591:8;5569:31;;;;;;;;;;;;;;;;5538:63;;;;;;;;;;;;;;;;;;5621:4;5614:11;;5325:308;;;;:::o;190:25:6:-;;;;:::o;686:66:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1977:214:6:-;2053:4;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;2081:80:6;;;;;;;;;2086:3;:10;;;2081:80;;;;2098:3;:13;;;2081:80;;;;2113:3;:11;;;2081:80;;;;2126:9;2081:80;;;;;;2137:3;:23;;;;;;;;;;;;2081:80;;;;;2075:3;:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2179:4;2172:11;;1977:214;;;:::o;5514:127::-;700:5:2;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;5609:24:6;5614:9;5625:7;5609:4;:24::i;:::-;5514:127;;:::o;903:187:2:-;700:5;;;;;;;;;;;686:19;;:10;:19;;;678:28;;;;;;;;1004:1;984:22;;:8;:22;;;;976:31;;;;;;;;1046:8;1018:37;;1039:5;;;;;;;;;;;1018:37;;;;;;;;;;;;1074:8;1066:5;;:16;;;;;;;;;;;;;;;;;;903:187;:::o;1032:869:6:-;1097:7;1122:15;1140:31;1162:8;;1141:15;1152:3;;1141:6;:10;;:15;;;;:::i;:::-;1140:21;;:31;;;;:::i;:::-;1122:49;;1193:5;;1188:1;:10;1184:683;;;1225:48;1237:35;1250:7;1259:3;:12;;;;;;;;;;;;1237:35;;:12;:35::i;:::-;1225:7;:11;;:48;;;;:::i;:::-;1215:58;;1184:683;;;1309:5;;1304:1;:10;1300:567;;;1367:6;1351:3;:13;;;:22;1344:3;:29;;1340:400;;;1416:3;:23;;;;;;;;;;;;1411:28;;:1;:28;1407:105;;;1490:2;1464:3;:23;;;:28;;;;;;;;;;;;;;;;;;1407:105;1540:59;1552:46;1565:7;1574:3;:23;;;;;;;;;;;;1552:46;;:12;:46::i;:::-;1540:7;:11;;:59;;;;:::i;:::-;1530:69;;1340:400;;;1676:48;1688:35;1701:7;1710:3;:12;;;;;;;;;;;;1688:35;;:12;:35::i;:::-;1676:7;:11;;:48;;;;:::i;:::-;1666:58;;1340:400;1300:567;;;1775:5;;1770:1;:10;1766:101;;;1807:48;1819:35;1832:7;1841:3;:12;;;;;;;;;;;;1819:35;;:12;:35::i;:::-;1807:7;:11;;:48;;;;:::i;:::-;1797:58;;1766:101;1300:567;1184:683;1886:7;1879:14;;1032:869;;;;:::o;799:187::-;868:4;907:7;894:3;:10;;;:20;890:65;;;938:5;931:12;;;;890:65;974:4;967:11;;799:187;;;;:::o;4108:224::-;4196:23;4211:7;4196:3;:10;;;:14;;:23;;;;:::i;:::-;4183:3;:10;;:36;;;;4248:28;4268:7;4248:15;;:19;;:28;;;;:::i;:::-;4230:15;:46;;;;4289:35;4299:4;4305:9;4316:7;4289:9;:35::i;:::-;4108:224;;:::o;697:165:4:-;764:7;789:9;805:1;801;:5;789:17;;831:1;826;:6;;819:14;;;;;;853:1;846:8;;697:165;;;;;:::o;442:90:3:-;501:4;492:6;;:13;;;;;;;;;;;;;;;;;;516:8;;;;;;;;;;442:90::o;2828:420:6:-;2891:6;;:::i;:::-;2924:5;;2919:1;:10;2915:276;;;2946:16;;;;;;;;;;;;;;;;;;;;;;2915:276;2988:5;;2983:1;:10;2980:211;;;3010:24;;;;;;;;;;;;;;;;;;;;;;2980:211;3061:5;;3056:1;:10;3052:139;;;3083:25;;;;;;;;;;;;;;;;;;;;;;3052:139;3135:5;;3130:1;:10;;3126:65;;;3157:22;;;;;;;;;;;;;;;;;;;;;;3126:65;3203:37;;;;;;;;;;;;;;;;;;;;2828:420;;:::o;550:139:4:-;617:7;654:1;649;:6;;642:14;;;;;;680:1;676;:5;669:12;;550:139;;;;:::o;2014:896:7:-;2433:21;2181:3;2174;:10;;;;2166:19;;;;;;;;2267:6;2247:9;:16;2257:5;2247:16;;;;;;;;;;;;;;;;:26;;2239:35;;;;;;;;2354:9;:14;2364:3;2354:14;;;;;;;;;;;;;;;;2325:26;2344:6;2325:9;:14;2335:3;2325:14;;;;;;;;;;;;;;;;:18;;:26;;;;:::i;:::-;:43;2317:52;;;;;;;;2457:36;2478:9;:14;2488:3;2478:14;;;;;;;;;;;;;;;;2457:9;:16;2467:5;2457:16;;;;;;;;;;;;;;;;:20;;:36;;;;:::i;:::-;2433:60;;2560:28;2581:6;2560:9;:16;2570:5;2560:16;;;;;;;;;;;;;;;;:20;;:28;;;;:::i;:::-;2541:9;:16;2551:5;2541:16;;;;;;;;;;;;;;;:47;;;;2658:26;2677:6;2658:9;:14;2668:3;2658:14;;;;;;;;;;;;;;;;:18;;:26;;;;:::i;:::-;2641:9;:14;2651:3;2641:14;;;;;;;;;;;;;;;:43;;;;2713:3;2697:28;;2706:5;2697:28;;;2718:6;2697:28;;;;;;;;;;;;;;;;;;2885:16;2845:36;2866:9;:14;2876:3;2866:14;;;;;;;;;;;;;;;;2845:9;:16;2855:5;2845:16;;;;;;;;;;;;;;;;:20;;:36;;;;:::i;:::-;:56;2838:64;;;;;;2014:896;;;;:::o;643:95:3:-;704:5;695:6;;:14;;;;;;;;;;;;;;;;;;720:10;;;;;;;;;;643:95::o;53:179:4:-;120:7;145:9;161:1;157;:5;145:17;;187:1;182;:6;:20;;;;201:1;196;192;:5;;;;;;;;:10;182:20;175:28;;;;;;223:1;216:8;;53:179;;;;;:::o;240:302::-;307:7;411:9;427:1;423;:5;;;;;;;;411:17;;533:1;526:8;;240:302;;;;;:::o;5709:158:6:-;5795:7;5827:32;5855:3;5828:21;5840:8;5828:7;:11;;:21;;;;:::i;:::-;5827:27;;:32;;;;:::i;:::-;5820:39;;5709:158;;;;:::o;98:548:5:-;;;;;;;;;;;;;;;:::o", + "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./ERC20Extending.sol\";\r\nimport \"./StreamityCrowdsale.sol\";\r\n\r\ncontract StreamityContract is ERC20Extending, StreamityCrowdsale\r\n{\r\n /* Streamity tokens Constructor */\r\n function StreamityContract() public TokenERC20(180000000, \"Streamity\", \"STM\") {} //change before send !!!\r\n\r\n /**\r\n * Function payments handler\r\n *\r\n */\r\n function () public payable\r\n {\r\n assert(msg.value >= 1 ether / 10);\r\n require(now >= ICO.startDate);\r\n\r\n if (paused == false) {\r\n paymentManager(msg.sender, msg.value);\r\n } else {\r\n revert();\r\n }\r\n }\r\n}\r\n", "sourcePath": "C:\\Users\\pirno\\Desktop\\stm-smartcontract origina\\contracts\\StreamityContract.sol", "ast": { "attributes": { "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/StreamityContract.sol", "exportedSymbols": { "StreamityContract": [ - 417 + 387 ] } }, @@ -693,7 +679,7 @@ ".18" ] }, - "id": 338, + "id": 335, "name": "PragmaDirective", "src": "0:24:5" }, @@ -702,53 +688,53 @@ "SourceUnit": 48, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/ERC20Extending.sol", "file": "./ERC20Extending.sol", - "scope": 418, + "scope": 388, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 339, + "id": 336, "name": "ImportDirective", "src": "28:30:5" }, { "attributes": { - "SourceUnit": 774, + "SourceUnit": 828, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/StreamityCrowdsale.sol", "file": "./StreamityCrowdsale.sol", - "scope": 418, + "scope": 388, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 340, + "id": 337, "name": "ImportDirective", "src": "60:34:5" }, { "attributes": { "contractDependencies": [ - 47, 160, - 241, - 773, - 1331 + 47, + 238, + 827, + 1385 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "linearizedBaseContracts": [ - 417, - 773, - 241, + 387, + 827, + 238, 47, - 1331, + 1385, 160 ], "name": "StreamityContract", - "scope": 418 + "scope": 388 }, "children": [ { @@ -765,12 +751,12 @@ "referencedDeclaration": 47, "type": "contract ERC20Extending" }, - "id": 341, + "id": 338, "name": "UserDefinedTypeName", "src": "128:14:5" } ], - "id": 342, + "id": 339, "name": "InheritanceSpecifier", "src": "128:14:5" }, @@ -785,71 +771,18 @@ "attributes": { "contractScope": null, "name": "StreamityCrowdsale", - "referencedDeclaration": 773, + "referencedDeclaration": 827, "type": "contract StreamityCrowdsale" }, - "id": 343, + "id": 340, "name": "UserDefinedTypeName", "src": "144:18:5" } ], - "id": 344, + "id": 341, "name": "InheritanceSpecifier", "src": "144:18:5" }, - { - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SafeMath", - "referencedDeclaration": 336, - "type": "library SafeMath" - }, - "id": 345, - "name": "UserDefinedTypeName", - "src": "177:8:5" - }, - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 346, - "name": "ElementaryTypeName", - "src": "190:4:5" - } - ], - "id": 347, - "name": "UsingForDirective", - "src": "171:24:5" - }, - { - "attributes": { - "constant": false, - "name": "weisRaised", - "scope": 417, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 348, - "name": "ElementaryTypeName", - "src": "203:4:5" - } - ], - "id": 349, - "name": "VariableDeclaration", - "src": "203:22:5" - }, { "attributes": { "constant": false, @@ -857,7 +790,7 @@ "isConstructor": true, "name": "StreamityContract", "payable": false, - "scope": 417, + "scope": 387, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -870,9 +803,9 @@ ] }, "children": [], - "id": 350, + "id": 342, "name": "ParameterList", - "src": "342:2:5" + "src": "237:2:5" }, { "attributes": { @@ -881,9 +814,9 @@ ] }, "children": [], - "id": 356, + "id": 348, "name": "ParameterList", - "src": "394:0:5" + "src": "289:0:5" }, { "children": [ @@ -893,13 +826,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1331, + "referencedDeclaration": 1385, "type": "type(contract TokenERC20)", "value": "TokenERC20" }, - "id": 351, + "id": 343, "name": "Identifier", - "src": "352:10:5" + "src": "247:10:5" }, { "attributes": { @@ -914,9 +847,9 @@ "type": "int_const 180000000", "value": "180000000" }, - "id": 352, + "id": 344, "name": "Literal", - "src": "363:9:5" + "src": "258:9:5" }, { "attributes": { @@ -931,9 +864,9 @@ "type": "literal_string \"Streamity\"", "value": "Streamity" }, - "id": 353, + "id": 345, "name": "Literal", - "src": "374:11:5" + "src": "269:11:5" }, { "attributes": { @@ -948,14 +881,14 @@ "type": "literal_string \"STM\"", "value": "STM" }, - "id": 354, + "id": 346, "name": "Literal", - "src": "387:5:5" + "src": "282:5:5" } ], - "id": 355, + "id": 347, "name": "ModifierInvocation", - "src": "352:41:5" + "src": "247:41:5" }, { "attributes": { @@ -964,14 +897,14 @@ ] }, "children": [], - "id": 357, + "id": 349, "name": "Block", - "src": "394:2:5" + "src": "289:2:5" } ], - "id": 358, + "id": 350, "name": "FunctionDefinition", - "src": "316:80:5" + "src": "211:80:5" }, { "attributes": { @@ -983,7 +916,7 @@ ], "name": "", "payable": true, - "scope": 417, + "scope": 387, "stateMutability": "payable", "superFunction": null, "visibility": "public" @@ -996,9 +929,9 @@ ] }, "children": [], - "id": 359, + "id": 351, "name": "ParameterList", - "src": "495:2:5" + "src": "390:2:5" }, { "attributes": { @@ -1007,9 +940,9 @@ ] }, "children": [], - "id": 360, + "id": 352, "name": "ParameterList", - "src": "518:0:5" + "src": "413:0:5" }, { "children": [ @@ -1041,13 +974,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 1388, "type": "function (bool) pure", "value": "assert" }, - "id": 361, + "id": 353, "name": "Identifier", - "src": "529:6:5" + "src": "424:6:5" }, { "attributes": { @@ -1082,18 +1015,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 362, + "id": 354, "name": "Identifier", - "src": "536:3:5" + "src": "431:3:5" } ], - "id": 363, + "id": 355, "name": "MemberAccess", - "src": "536:9:5" + "src": "431:9:5" }, { "attributes": { @@ -1123,9 +1056,9 @@ "type": "int_const 1000000000000000000", "value": "1" }, - "id": 364, + "id": 356, "name": "Literal", - "src": "549:7:5" + "src": "444:7:5" }, { "attributes": { @@ -1140,29 +1073,29 @@ "type": "int_const 10", "value": "10" }, - "id": 365, + "id": 357, "name": "Literal", - "src": "559:2:5" + "src": "454:2:5" } ], - "id": 366, + "id": 358, "name": "BinaryOperation", - "src": "549:12:5" + "src": "444:12:5" } ], - "id": 367, + "id": 359, "name": "BinaryOperation", - "src": "536:25:5" + "src": "431:25:5" } ], - "id": 368, + "id": 360, "name": "FunctionCall", - "src": "529:33:5" + "src": "424:33:5" } ], - "id": 369, + "id": 361, "name": "ExpressionStatement", - "src": "529:33:5" + "src": "424:33:5" }, { "children": [ @@ -1192,13 +1125,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 370, + "id": 362, "name": "Identifier", - "src": "573:7:5" + "src": "468:7:5" }, { "attributes": { @@ -1221,13 +1154,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1345, + "referencedDeclaration": 1399, "type": "uint256", "value": "now" }, - "id": 371, + "id": 363, "name": "Identifier", - "src": "581:3:5" + "src": "476:3:5" }, { "attributes": { @@ -1237,7 +1170,7 @@ "isPure": false, "lValueRequested": false, "member_name": "startDate", - "referencedDeclaration": 437, + "referencedDeclaration": 409, "type": "uint256" }, "children": [ @@ -1247,33 +1180,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 446, + "referencedDeclaration": 418, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 372, + "id": 364, "name": "Identifier", - "src": "588:3:5" + "src": "483:3:5" } ], - "id": 373, + "id": 365, "name": "MemberAccess", - "src": "588:13:5" + "src": "483:13:5" } ], - "id": 374, + "id": 366, "name": "BinaryOperation", - "src": "581:20:5" + "src": "476:20:5" } ], - "id": 375, + "id": 367, "name": "FunctionCall", - "src": "573:29:5" + "src": "468:29:5" } ], - "id": 376, + "id": 368, "name": "ExpressionStatement", - "src": "573:29:5" + "src": "468:29:5" }, { "children": [ @@ -1302,9 +1235,9 @@ "type": "bool", "value": "paused" }, - "id": 377, + "id": 369, "name": "Identifier", - "src": "619:6:5" + "src": "514:6:5" }, { "attributes": { @@ -1319,14 +1252,14 @@ "type": "bool", "value": "false" }, - "id": 378, + "id": 370, "name": "Literal", - "src": "629:5:5" + "src": "524:5:5" } ], - "id": 379, + "id": 371, "name": "BinaryOperation", - "src": "619:15:5" + "src": "514:15:5" }, { "children": [ @@ -1362,13 +1295,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 688, + "referencedDeclaration": 711, "type": "function (address,uint256)", - "value": "sell" + "value": "paymentManager" }, - "id": 380, + "id": 372, "name": "Identifier", - "src": "651:4:5" + "src": "546:14:5" }, { "attributes": { @@ -1388,18 +1321,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 381, + "id": 373, "name": "Identifier", - "src": "656:3:5" + "src": "561:3:5" } ], - "id": 382, + "id": 374, "name": "MemberAccess", - "src": "656:10:5" + "src": "561:10:5" }, { "attributes": { @@ -1419,370 +1352,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 383, + "id": 375, "name": "Identifier", - "src": "668:3:5" + "src": "573:3:5" } ], - "id": 384, + "id": 376, "name": "MemberAccess", - "src": "668:9:5" + "src": "573:9:5" } ], - "id": 385, + "id": 377, "name": "FunctionCall", - "src": "651:27:5" + "src": "546:37:5" } ], - "id": 386, - "name": "ExpressionStatement", - "src": "651:27:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 349, - "type": "uint256", - "value": "weisRaised" - }, - "id": 387, - "name": "Identifier", - "src": "693:10:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 335, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 349, - "type": "uint256", - "value": "weisRaised" - }, - "id": 388, - "name": "Identifier", - "src": "706:10:5" - } - ], - "id": 389, - "name": "MemberAccess", - "src": "706:14:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1343, - "type": "msg", - "value": "msg" - }, - "id": 390, - "name": "Identifier", - "src": "721:3:5" - } - ], - "id": 391, - "name": "MemberAccess", - "src": "721:9:5" - } - ], - "id": 392, - "name": "FunctionCall", - "src": "706:25:5" - } - ], - "id": 393, - "name": "Assignment", - "src": "693:38:5" - } - ], - "id": 394, + "id": 378, "name": "ExpressionStatement", - "src": "693:38:5" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1345, - "type": "uint256", - "value": "now" - }, - "id": 395, - "name": "Identifier", - "src": "750:3:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "endDate", - "referencedDeclaration": 439, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 446, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" - }, - "id": 396, - "name": "Identifier", - "src": "757:3:5" - } - ], - "id": 397, - "name": "MemberAccess", - "src": "757:11:5" - } - ], - "id": 398, - "name": "BinaryOperation", - "src": "750:18:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 216, - "type": "function ()", - "value": "pauseInternal" - }, - "id": 399, - "name": "Identifier", - "src": "789:13:5" - } - ], - "id": 400, - "name": "FunctionCall", - "src": "789:15:5" - } - ], - "id": 401, - "name": "ExpressionStatement", - "src": "789:15:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 433, - "type": "function (string memory)", - "value": "CrowdSaleFinished" - }, - "id": 402, - "name": "Identifier", - "src": "823:17:5" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "string memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 549, - "type": "function () view returns (string memory)", - "value": "crowdSaleStatus" - }, - "id": 403, - "name": "Identifier", - "src": "841:15:5" - } - ], - "id": 404, - "name": "FunctionCall", - "src": "841:17:5" - } - ], - "id": 405, - "name": "FunctionCall", - "src": "823:36:5" - } - ], - "id": 406, - "name": "ExpressionStatement", - "src": "823:36:5" - } - ], - "id": 407, - "name": "Block", - "src": "770:105:5" - } - ], - "id": 408, - "name": "IfStatement", - "src": "746:129:5" + "src": "546:37:5" } ], - "id": 409, + "id": 379, "name": "Block", - "src": "636:250:5" + "src": "531:64:5" }, { "children": [ @@ -1814,53 +1410,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1347, + "referencedDeclaration": 1401, "type": "function () pure", "value": "revert" }, - "id": 410, + "id": 380, "name": "Identifier", - "src": "907:6:5" + "src": "616:6:5" } ], - "id": 411, + "id": 381, "name": "FunctionCall", - "src": "907:8:5" + "src": "616:8:5" } ], - "id": 412, + "id": 382, "name": "ExpressionStatement", - "src": "907:8:5" + "src": "616:8:5" } ], - "id": 413, + "id": 383, "name": "Block", - "src": "892:35:5" + "src": "601:35:5" } ], - "id": 414, + "id": 384, "name": "IfStatement", - "src": "615:312:5" + "src": "510:126:5" } ], - "id": 415, + "id": 385, "name": "Block", - "src": "518:416:5" + "src": "413:230:5" } ], - "id": 416, + "id": 386, "name": "FunctionDefinition", - "src": "486:448:5" + "src": "381:262:5" } ], - "id": 417, + "id": 387, "name": "ContractDefinition", - "src": "98:839:5" + "src": "98:548:5" } ], - "id": 418, + "id": 388, "name": "SourceUnit", - "src": "0:939:5" + "src": "0:648:5" }, "compiler": { "name": "solc", @@ -1868,5 +1464,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-20T21:19:00.179Z" + "updatedAt": "2017-12-21T23:40:56.026Z" } \ No newline at end of file diff --git a/build/contracts/StreamityCrowdsale.json b/build/contracts/StreamityCrowdsale.json index 305a140..e0cc239 100644 --- a/build/contracts/StreamityCrowdsale.json +++ b/build/contracts/StreamityCrowdsale.json @@ -366,20 +366,6 @@ "stateMutability": "view", "type": "function" }, - { - "constant": true, - "inputs": [], - "name": "startIcoDate", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "constant": false, "inputs": [ @@ -430,6 +416,20 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "constant": true, + "inputs": [], + "name": "weisRaised", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, { "constant": true, "inputs": [ @@ -611,14 +611,14 @@ "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./SafeMath.sol\";\r\nimport \"./Pauseble.sol\";\r\n\r\ncontract StreamityCrowdsale is Pauseble\r\n{\r\n using SafeMath for uint;\r\n\r\n uint public stage = 0;\r\n\r\n event CrowdSaleFinished(string info);\r\n\r\n struct Ico {\r\n uint256 tokens; // Tokens in crowdsale\r\n uint startDate; // Date when crowsale will be starting, after its starting that property will be the 0\r\n uint endDate; // Date when crowdsale will be stop\r\n uint8 discount; // Discount\r\n uint8 discountFirstDayICO; // Discount. Only for first stage ico\r\n }\r\n\r\n Ico public ICO;\r\n\r\n /**\r\n * Function for change discount if need\r\n *\r\n */\r\n function changeDiscount(uint8 _discount) public onlyOwner\r\n returns (bool)\r\n {\r\n ICO = Ico (ICO.tokens, ICO.startDate, ICO.endDate, _discount, ICO.discountFirstDayICO);\r\n return true;\r\n }\r\n\r\n /**\r\n * Expanding of the functionality\r\n *\r\n * @param _numerator - Numerator - value (10000)\r\n * @param _denominator - Denominator - value (10000)\r\n *\r\n * example: price 1000 tokens by 1 ether = changeRate(1, 1000)\r\n */\r\n function changeRate(uint256 _numerator, uint256 _denominator) public onlyOwner\r\n returns (bool success)\r\n {\r\n if (_numerator == 0) _numerator = 1;\r\n if (_denominator == 0) _denominator = 1;\r\n\r\n buyPrice = (_numerator.mul(DEC)).div(_denominator);\r\n\r\n return true;\r\n }\r\n\r\n /*\r\n * Function show in contract what is now\r\n *\r\n */\r\n function crowdSaleStatus() internal constant\r\n returns (string)\r\n {\r\n if (1 == stage) {\r\n return \"Pre-ICO\";\r\n } else if(2 == stage) {\r\n return \"ICO first stage\";\r\n } else if (3 == stage) {\r\n return \"ICO second stage\";\r\n } else if (4 >= stage) {\r\n return \"feature stage\";\r\n }\r\n\r\n return \"there is no stage at present\";\r\n }\r\n\r\n /*\r\n * Function for selling tokens in crowd time.\r\n *\r\n */\r\n function sell(address _investor, uint256 amount) internal\r\n {\r\n uint256 _amount = (amount.mul(DEC)).div(buyPrice);\r\n\r\n if (1 == stage) {\r\n _amount = _amount.add(withDiscount(_amount, ICO.discount));\r\n }\r\n else if (2 == stage)\r\n {\r\n if (now <= ICO.startDate + 1 days)\r\n {\r\n if (0 == ICO.discountFirstDayICO) {\r\n ICO.discountFirstDayICO = 20;\r\n }\r\n\r\n _amount = _amount.add(withDiscount(_amount, ICO.discountFirstDayICO));\r\n } else {\r\n _amount = _amount.add(withDiscount(_amount, ICO.discount));\r\n }\r\n } else if (3 == stage) {\r\n _amount = _amount.add(withDiscount(_amount, ICO.discount));\r\n }\r\n\r\n if (ICO.tokens < _amount)\r\n {\r\n CrowdSaleFinished(crowdSaleStatus());\r\n pauseInternal();\r\n\r\n revert();\r\n }\r\n\r\n ICO.tokens = ICO.tokens.sub(_amount);\r\n avaliableSupply = avaliableSupply.sub(_amount);\r\n\r\n _transfer(this, _investor, _amount);\r\n }\r\n\r\n /*\r\n * Function for start crowdsale (any)\r\n *\r\n * @param _tokens - How much tokens will have the crowdsale - amount humanlike value (10000)\r\n * @param _startDate - When crowdsale will be start - unix timestamp (1512231703 )\r\n * @param _endDate - When crowdsale will be end - humanlike value (7) same as 7 days\r\n * @param _discount - Discount for the crowd - humanlive value (7) same as 7 %\r\n * @param _discount - Discount for the crowds first day - humanlive value (7) same as 7 %\r\n */\r\n function startCrowd(uint256 _tokens, uint _startDate, uint _endDate, uint8 _discount, uint8 _discountFirstDayICO) public onlyOwner\r\n {\r\n require(_tokens * DEC <= avaliableSupply); // require to set correct tokens value for crowd\r\n ICO = Ico (_tokens * DEC, _startDate, _startDate + _endDate * 1 days , _discount, _discountFirstDayICO);\r\n stage = stage.add(1);\r\n unpauseInternal();\r\n }\r\n\r\n /**\r\n * Function for web3js, should be call when somebody will buy tokens from website. This function only delegator.\r\n *\r\n * @param _investor - address of investor (who payed)\r\n * @param _amount - ethereum\r\n */\r\n function transferWeb3js(address _investor, uint256 _amount) external onlyOwner\r\n {\r\n sell(_investor, _amount);\r\n }\r\n\r\n /**\r\n * Function for adding discount\r\n *\r\n */\r\n function withDiscount(uint256 _amount, uint _percent) internal pure\r\n returns (uint256)\r\n {\r\n return (_amount.mul(_percent)).div(100);\r\n }\r\n}\r\n", + "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./SafeMath.sol\";\r\nimport \"./Pauseble.sol\";\r\n\r\ncontract StreamityCrowdsale is Pauseble\r\n{\r\n using SafeMath for uint;\r\n\r\n uint public stage = 0;\r\n uint256 public weisRaised; // how many weis was raised on crowdsale\r\n\r\n event CrowdSaleFinished(string info);\r\n\r\n struct Ico {\r\n uint256 tokens; // Tokens in crowdsale\r\n uint startDate; // Date when crowsale will be starting, after its starting that property will be the 0\r\n uint endDate; // Date when crowdsale will be stop\r\n uint8 discount; // Discount\r\n uint8 discountFirstDayICO; // Discount. Only for first stage ico\r\n }\r\n\r\n Ico public ICO;\r\n\r\n /*\r\n * Function confirm autosell.\r\n *\r\n */\r\n function confirmSell(uint256 _amount) internal view\r\n returns(bool)\r\n {\r\n if (ICO.tokens < _amount) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n /*\r\n * Make discount\r\n */\r\n function countDiscount(uint256 amount) internal\r\n returns(uint256)\r\n {\r\n uint256 _amount = (amount.mul(DEC)).div(buyPrice);\r\n\r\n if (1 == stage) {\r\n _amount = _amount.add(withDiscount(_amount, ICO.discount));\r\n }\r\n else if (2 == stage)\r\n {\r\n if (now <= ICO.startDate + 1 days)\r\n {\r\n if (0 == ICO.discountFirstDayICO) {\r\n ICO.discountFirstDayICO = 20;\r\n }\r\n _amount = _amount.add(withDiscount(_amount, ICO.discountFirstDayICO));\r\n }\r\n else\r\n {\r\n _amount = _amount.add(withDiscount(_amount, ICO.discount));\r\n }\r\n }\r\n else if (3 == stage) {\r\n _amount = _amount.add(withDiscount(_amount, ICO.discount));\r\n }\r\n\r\n return _amount;\r\n }\r\n\r\n /**\r\n * Function for change discount if need\r\n *\r\n */\r\n function changeDiscount(uint8 _discount) public onlyOwner\r\n returns (bool)\r\n {\r\n ICO = Ico (ICO.tokens, ICO.startDate, ICO.endDate, _discount, ICO.discountFirstDayICO);\r\n return true;\r\n }\r\n\r\n /**\r\n * Expanding of the functionality\r\n *\r\n * @param _numerator - Numerator - value (10000)\r\n * @param _denominator - Denominator - value (10000)\r\n *\r\n * example: price 1000 tokens by 1 ether = changeRate(1, 1000)\r\n */\r\n function changeRate(uint256 _numerator, uint256 _denominator) public onlyOwner\r\n returns (bool success)\r\n {\r\n if (_numerator == 0) _numerator = 1;\r\n if (_denominator == 0) _denominator = 1;\r\n\r\n buyPrice = (_numerator.mul(DEC)).div(_denominator);\r\n\r\n return true;\r\n }\r\n\r\n /*\r\n * Function show in contract what is now\r\n *\r\n */\r\n function crowdSaleStatus() internal constant\r\n returns (string)\r\n {\r\n if (1 == stage) {\r\n return \"Pre-ICO\";\r\n } else if(2 == stage) {\r\n return \"ICO first stage\";\r\n } else if (3 == stage) {\r\n return \"ICO second stage\";\r\n } else if (4 >= stage) {\r\n return \"feature stage\";\r\n }\r\n\r\n return \"there is no stage at present\";\r\n }\r\n\r\n /*\r\n * Seles manager\r\n *\r\n */\r\n function paymentManager(address sender, uint256 value) internal\r\n {\r\n uint256 discountValue = countDiscount(value);\r\n bool conf = confirmSell(discountValue);\r\n\r\n if (conf) {\r\n\r\n sell(sender, discountValue);\r\n\r\n weisRaised = weisRaised.add(value);\r\n\r\n if (now >= ICO.endDate) {\r\n pauseInternal();\r\n CrowdSaleFinished(crowdSaleStatus()); // if time is up\r\n }\r\n\r\n } else {\r\n\r\n sell(sender, ICO.tokens); // sell tokens which has been accessible\r\n\r\n weisRaised = weisRaised.add(value);\r\n\r\n pauseInternal();\r\n CrowdSaleFinished(crowdSaleStatus()); // if tokens sold\r\n }\r\n }\r\n\r\n /*\r\n * Function for selling tokens in crowd time.\r\n *\r\n */\r\n function sell(address _investor, uint256 _amount) internal\r\n {\r\n ICO.tokens = ICO.tokens.sub(_amount);\r\n avaliableSupply = avaliableSupply.sub(_amount);\r\n\r\n _transfer(this, _investor, _amount);\r\n }\r\n\r\n /*\r\n * Function for start crowdsale (any)\r\n *\r\n * @param _tokens - How much tokens will have the crowdsale - amount humanlike value (10000)\r\n * @param _startDate - When crowdsale will be start - unix timestamp (1512231703 )\r\n * @param _endDate - When crowdsale will be end - humanlike value (7) same as 7 days\r\n * @param _discount - Discount for the crowd - humanlive value (7) same as 7 %\r\n * @param _discount - Discount for the crowds first day - humanlive value (7) same as 7 %\r\n */\r\n function startCrowd(uint256 _tokens, uint _startDate, uint _endDate, uint8 _discount, uint8 _discountFirstDayICO) public onlyOwner\r\n {\r\n require(_tokens * DEC <= avaliableSupply); // require to set correct tokens value for crowd\r\n ICO = Ico (_tokens * DEC, _startDate, _startDate + _endDate * 1 days , _discount, _discountFirstDayICO);\r\n stage = stage.add(1);\r\n unpauseInternal();\r\n }\r\n\r\n /**\r\n * Function for web3js, should be call when somebody will buy tokens from website. This function only delegator.\r\n *\r\n * @param _investor - address of investor (who payed)\r\n * @param _amount - ethereum\r\n */\r\n function transferWeb3js(address _investor, uint256 _amount) external onlyOwner\r\n {\r\n sell(_investor, _amount);\r\n }\r\n\r\n /**\r\n * Function for adding discount\r\n *\r\n */\r\n function withDiscount(uint256 _amount, uint _percent) internal pure\r\n returns (uint256)\r\n {\r\n return (_amount.mul(_percent)).div(100);\r\n }\r\n}\r\n", "sourcePath": "C:\\Users\\pirno\\Desktop\\stm-smartcontract origina\\contracts\\StreamityCrowdsale.sol", "ast": { "attributes": { "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/StreamityCrowdsale.sol", "exportedSymbols": { "StreamityCrowdsale": [ - 773 + 827 ] } }, @@ -632,37 +632,37 @@ ".18" ] }, - "id": 419, + "id": 389, "name": "PragmaDirective", "src": "0:24:6" }, { "attributes": { - "SourceUnit": 337, + "SourceUnit": 334, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/SafeMath.sol", "file": "./SafeMath.sol", - "scope": 774, + "scope": 828, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 420, + "id": 390, "name": "ImportDirective", "src": "28:24:6" }, { "attributes": { - "SourceUnit": 242, + "SourceUnit": 239, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/Pauseble.sol", "file": "./Pauseble.sol", - "scope": 774, + "scope": 828, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 421, + "id": 391, "name": "ImportDirective", "src": "54:24:6" }, @@ -670,20 +670,20 @@ "attributes": { "contractDependencies": [ 160, - 241, - 1331 + 238, + 1385 ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ - 773, - 241, - 1331, + 827, + 238, + 1385, 160 ], "name": "StreamityCrowdsale", - "scope": 774 + "scope": 828 }, "children": [ { @@ -697,15 +697,15 @@ "attributes": { "contractScope": null, "name": "Pauseble", - "referencedDeclaration": 241, + "referencedDeclaration": 238, "type": "contract Pauseble" }, - "id": 422, + "id": 392, "name": "UserDefinedTypeName", "src": "113:8:6" } ], - "id": 423, + "id": 393, "name": "InheritanceSpecifier", "src": "113:8:6" }, @@ -715,10 +715,10 @@ "attributes": { "contractScope": null, "name": "SafeMath", - "referencedDeclaration": 336, + "referencedDeclaration": 333, "type": "library SafeMath" }, - "id": 424, + "id": 394, "name": "UserDefinedTypeName", "src": "136:8:6" }, @@ -727,12 +727,12 @@ "name": "uint", "type": "uint256" }, - "id": 425, + "id": 395, "name": "ElementaryTypeName", "src": "149:4:6" } ], - "id": 426, + "id": 396, "name": "UsingForDirective", "src": "130:24:6" }, @@ -740,7 +740,7 @@ "attributes": { "constant": false, "name": "stage", - "scope": 773, + "scope": 827, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -752,7 +752,7 @@ "name": "uint", "type": "uint256" }, - "id": 427, + "id": 397, "name": "ElementaryTypeName", "src": "162:4:6" }, @@ -769,15 +769,41 @@ "type": "int_const 0", "value": "0" }, - "id": 428, + "id": 398, "name": "Literal", "src": "182:1:6" } ], - "id": 429, + "id": 399, "name": "VariableDeclaration", "src": "162:21:6" }, + { + "attributes": { + "constant": false, + "name": "weisRaised", + "scope": 827, + "stateVariable": true, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 400, + "name": "ElementaryTypeName", + "src": "190:7:6" + } + ], + "id": 401, + "name": "VariableDeclaration", + "src": "190:25:6" + }, { "attributes": { "anonymous": false, @@ -791,7 +817,7 @@ "constant": false, "indexed": false, "name": "info", - "scope": 433, + "scope": 405, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -804,30 +830,30 @@ "name": "string", "type": "string storage pointer" }, - "id": 430, + "id": 402, "name": "ElementaryTypeName", - "src": "216:6:6" + "src": "290:6:6" } ], - "id": 431, + "id": 403, "name": "VariableDeclaration", - "src": "216:11:6" + "src": "290:11:6" } ], - "id": 432, + "id": 404, "name": "ParameterList", - "src": "215:13:6" + "src": "289:13:6" } ], - "id": 433, + "id": 405, "name": "EventDefinition", - "src": "192:37:6" + "src": "266:37:6" }, { "attributes": { "canonicalName": "StreamityCrowdsale.Ico", "name": "Ico", - "scope": 773, + "scope": 827, "visibility": "public" }, "children": [ @@ -835,7 +861,7 @@ "attributes": { "constant": false, "name": "tokens", - "scope": 444, + "scope": 416, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -848,20 +874,20 @@ "name": "uint256", "type": "uint256" }, - "id": 434, + "id": 406, "name": "ElementaryTypeName", - "src": "259:7:6" + "src": "333:7:6" } ], - "id": 435, + "id": 407, "name": "VariableDeclaration", - "src": "259:14:6" + "src": "333:14:6" }, { "attributes": { "constant": false, "name": "startDate", - "scope": 444, + "scope": 416, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -874,20 +900,20 @@ "name": "uint", "type": "uint256" }, - "id": 436, + "id": 408, "name": "ElementaryTypeName", - "src": "319:4:6" + "src": "393:4:6" } ], - "id": 437, + "id": 409, "name": "VariableDeclaration", - "src": "319:14:6" + "src": "393:14:6" }, { "attributes": { "constant": false, "name": "endDate", - "scope": 444, + "scope": 416, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -900,20 +926,20 @@ "name": "uint", "type": "uint256" }, - "id": 438, + "id": 410, "name": "ElementaryTypeName", - "src": "443:4:6" + "src": "517:4:6" } ], - "id": 439, + "id": 411, "name": "VariableDeclaration", - "src": "443:12:6" + "src": "517:12:6" }, { "attributes": { "constant": false, "name": "discount", - "scope": 444, + "scope": 416, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -926,20 +952,20 @@ "name": "uint8", "type": "uint8" }, - "id": 440, + "id": 412, "name": "ElementaryTypeName", - "src": "516:5:6" + "src": "590:5:6" } ], - "id": 441, + "id": 413, "name": "VariableDeclaration", - "src": "516:14:6" + "src": "590:14:6" }, { "attributes": { "constant": false, "name": "discountFirstDayICO", - "scope": 444, + "scope": 416, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -952,25 +978,25 @@ "name": "uint8", "type": "uint8" }, - "id": 442, + "id": 414, "name": "ElementaryTypeName", - "src": "565:5:6" + "src": "639:5:6" } ], - "id": 443, + "id": 415, "name": "VariableDeclaration", - "src": "565:25:6" + "src": "639:25:6" } ], - "id": 444, + "id": 416, "name": "StructDefinition", - "src": "237:400:6" + "src": "311:400:6" }, { "attributes": { "constant": false, "name": "ICO", - "scope": 773, + "scope": 827, "stateVariable": true, "storageLocation": "default", "type": "struct StreamityCrowdsale.Ico storage ref", @@ -982,29 +1008,32 @@ "attributes": { "contractScope": null, "name": "Ico", - "referencedDeclaration": 444, + "referencedDeclaration": 416, "type": "struct StreamityCrowdsale.Ico storage pointer" }, - "id": 445, + "id": 417, "name": "UserDefinedTypeName", - "src": "645:3:6" + "src": "719:3:6" } ], - "id": 446, + "id": 418, "name": "VariableDeclaration", - "src": "645:14:6" + "src": "719:14:6" }, { "attributes": { - "constant": false, + "constant": true, "implemented": true, "isConstructor": false, - "name": "changeDiscount", + "modifiers": [ + null + ], + "name": "confirmSell", "payable": false, - "scope": 773, - "stateMutability": "nonpayable", + "scope": 827, + "stateMutability": "view", "superFunction": null, - "visibility": "public" + "visibility": "internal" }, "children": [ { @@ -1012,33 +1041,33 @@ { "attributes": { "constant": false, - "name": "_discount", - "scope": 472, + "name": "_amount", + "scope": 436, "stateVariable": false, "storageLocation": "default", - "type": "uint8", + "type": "uint256", "value": null, "visibility": "internal" }, "children": [ { "attributes": { - "name": "uint8", - "type": "uint8" + "name": "uint256", + "type": "uint256" }, - "id": 447, + "id": 419, "name": "ElementaryTypeName", - "src": "760:5:6" + "src": "820:7:6" } ], - "id": 448, + "id": 420, "name": "VariableDeclaration", - "src": "760:15:6" + "src": "820:15:6" } ], - "id": 449, + "id": 421, "name": "ParameterList", - "src": "759:17:6" + "src": "819:17:6" }, { "children": [ @@ -1046,7 +1075,7 @@ "attributes": { "constant": false, "name": "", - "scope": 472, + "scope": 436, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -1059,281 +1088,134 @@ "name": "bool", "type": "bool" }, - "id": 452, + "id": 422, "name": "ElementaryTypeName", - "src": "812:4:6" + "src": "868:4:6" } ], - "id": 453, + "id": 423, "name": "VariableDeclaration", - "src": "812:4:6" + "src": "868:4:6" } ], - "id": 454, + "id": 424, "name": "ParameterList", - "src": "811:6:6" + "src": "867:6:6" }, { - "attributes": { - "arguments": [ - null - ] - }, "children": [ { "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 134, - "type": "modifier ()", - "value": "onlyOwner" + "falseBody": null }, - "id": 450, - "name": "Identifier", - "src": "784:9:6" - } - ], - "id": 451, - "name": "ModifierInvocation", - "src": "784:9:6" - }, - { - "children": [ - { "children": [ { "attributes": { "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "operator": "=", - "type": "struct StreamityCrowdsale.Ico storage ref" + "operator": "<", + "type": "bool" }, "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 446, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" - }, - "id": 455, - "name": "Identifier", - "src": "834:3:6" - }, { "attributes": { "argumentTypes": null, "isConstant": false, - "isLValue": false, + "isLValue": true, "isPure": false, - "isStructConstructorCall": true, "lValueRequested": false, - "names": [ - null - ], - "type": "struct StreamityCrowdsale.Ico memory", - "type_conversion": false + "member_name": "tokens", + "referencedDeclaration": 407, + "type": "uint256" }, "children": [ { "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], + "argumentTypes": null, "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, - "type": "type(struct StreamityCrowdsale.Ico storage pointer)", - "value": "Ico" + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" }, - "id": 456, + "id": 425, "name": "Identifier", - "src": "840:3:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "tokens", - "referencedDeclaration": 435, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 446, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" - }, - "id": 457, - "name": "Identifier", - "src": "845:3:6" - } - ], - "id": 458, - "name": "MemberAccess", - "src": "845:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "startDate", - "referencedDeclaration": 437, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 446, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" - }, - "id": 459, - "name": "Identifier", - "src": "857:3:6" - } - ], - "id": 460, - "name": "MemberAccess", - "src": "857:13:6" - }, + "src": "894:3:6" + } + ], + "id": 426, + "name": "MemberAccess", + "src": "894:10:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 420, + "type": "uint256", + "value": "_amount" + }, + "id": 427, + "name": "Identifier", + "src": "907:7:6" + } + ], + "id": 428, + "name": "BinaryOperation", + "src": "894:20:6" + }, + { + "children": [ + { + "attributes": { + "functionReturnParameters": 424 + }, + "children": [ { "attributes": { "argumentTypes": null, + "hexvalue": "66616c7365", "isConstant": false, - "isLValue": true, - "isPure": false, + "isLValue": false, + "isPure": true, "lValueRequested": false, - "member_name": "endDate", - "referencedDeclaration": 439, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 446, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" - }, - "id": 461, - "name": "Identifier", - "src": "872:3:6" - } - ], - "id": 462, - "name": "MemberAccess", - "src": "872:11:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 448, - "type": "uint8", - "value": "_discount" + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "false" }, - "id": 463, - "name": "Identifier", - "src": "885:9:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "discountFirstDayICO", - "referencedDeclaration": 443, - "type": "uint8" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 446, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" - }, - "id": 464, - "name": "Identifier", - "src": "896:3:6" - } - ], - "id": 465, - "name": "MemberAccess", - "src": "896:23:6" + "id": 429, + "name": "Literal", + "src": "938:5:6" } ], - "id": 466, - "name": "FunctionCall", - "src": "840:80:6" + "id": 430, + "name": "Return", + "src": "931:12:6" } ], - "id": 467, - "name": "Assignment", - "src": "834:86:6" + "id": 431, + "name": "Block", + "src": "916:39:6" } ], - "id": 468, - "name": "ExpressionStatement", - "src": "834:86:6" + "id": 432, + "name": "IfStatement", + "src": "890:65:6" }, { "attributes": { - "functionReturnParameters": 454 + "functionReturnParameters": 424 }, "children": [ { @@ -1349,36 +1231,39 @@ "type": "bool", "value": "true" }, - "id": 469, + "id": 433, "name": "Literal", - "src": "938:4:6" + "src": "974:4:6" } ], - "id": 470, + "id": 434, "name": "Return", - "src": "931:11:6" + "src": "967:11:6" } ], - "id": 471, + "id": 435, "name": "Block", - "src": "823:127:6" + "src": "879:107:6" } ], - "id": 472, + "id": 436, "name": "FunctionDefinition", - "src": "736:214:6" + "src": "799:187:6" }, { "attributes": { "constant": false, "implemented": true, "isConstructor": false, - "name": "changeRate", + "modifiers": [ + null + ], + "name": "countDiscount", "payable": false, - "scope": 773, + "scope": 827, "stateMutability": "nonpayable", "superFunction": null, - "visibility": "public" + "visibility": "internal" }, "children": [ { @@ -1386,34 +1271,8 @@ { "attributes": { "constant": false, - "name": "_numerator", - "scope": 513, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 473, - "name": "ElementaryTypeName", - "src": "1224:7:6" - } - ], - "id": 474, - "name": "VariableDeclaration", - "src": "1224:18:6" - }, - { - "attributes": { - "constant": false, - "name": "_denominator", - "scope": 513, + "name": "amount", + "scope": 537, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1426,381 +1285,368 @@ "name": "uint256", "type": "uint256" }, - "id": 475, + "id": 437, "name": "ElementaryTypeName", - "src": "1244:7:6" + "src": "1055:7:6" } ], - "id": 476, + "id": 438, "name": "VariableDeclaration", - "src": "1244:20:6" + "src": "1055:14:6" } ], - "id": 477, + "id": 439, "name": "ParameterList", - "src": "1223:42:6" + "src": "1054:16:6" }, { "children": [ { "attributes": { "constant": false, - "name": "success", - "scope": 513, + "name": "", + "scope": 537, "stateVariable": false, "storageLocation": "default", - "type": "bool", + "type": "uint256", "value": null, "visibility": "internal" }, "children": [ { "attributes": { - "name": "bool", - "type": "bool" + "name": "uint256", + "type": "uint256" }, - "id": 480, + "id": 440, "name": "ElementaryTypeName", - "src": "1301:4:6" + "src": "1097:7:6" } ], - "id": 481, + "id": 441, "name": "VariableDeclaration", - "src": "1301:12:6" + "src": "1097:7:6" } ], - "id": 482, + "id": 442, "name": "ParameterList", - "src": "1300:14:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 134, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 478, - "name": "Identifier", - "src": "1273:9:6" - } - ], - "id": 479, - "name": "ModifierInvocation", - "src": "1273:9:6" + "src": "1096:9:6" }, { "children": [ { "attributes": { - "falseBody": null + "assignments": [ + 444 + ] }, "children": [ { "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" + "constant": false, + "name": "_amount", + "scope": 537, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" }, "children": [ { "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 474, - "type": "uint256", - "value": "_numerator" - }, - "id": 483, - "name": "Identifier", - "src": "1335:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 484, - "name": "Literal", - "src": "1349:1:6" - } - ], - "id": 485, - "name": "BinaryOperation", - "src": "1335:15:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", + "name": "uint256", "type": "uint256" }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 474, - "type": "uint256", - "value": "_numerator" - }, - "id": 486, - "name": "Identifier", - "src": "1352:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 487, - "name": "Literal", - "src": "1365:1:6" - } - ], - "id": 488, - "name": "Assignment", - "src": "1352:14:6" + "id": 443, + "name": "ElementaryTypeName", + "src": "1122:7:6" } ], - "id": 489, - "name": "ExpressionStatement", - "src": "1352:14:6" - } - ], - "id": 490, - "name": "IfStatement", - "src": "1331:35:6" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ + "id": 444, + "name": "VariableDeclaration", + "src": "1122:15:6" + }, { "attributes": { "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, "isConstant": false, "isLValue": false, "isPure": false, + "isStructConstructorCall": false, "lValueRequested": false, - "operator": "==", - "type": "bool" + "names": [ + null + ], + "type": "uint256", + "type_conversion": false }, "children": [ { "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } ], - "referencedDeclaration": 476, - "type": "uint256", - "value": "_denominator" - }, - "id": 491, - "name": "Identifier", - "src": "1381:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 492, - "name": "Literal", - "src": "1397:1:6" - } - ], - "id": 493, - "name": "BinaryOperation", - "src": "1381:17:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "operator": "=", - "type": "uint256" + "member_name": "div", + "referencedDeclaration": 288, + "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ { "attributes": { "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 476, - "type": "uint256", - "value": "_denominator" - }, - "id": 494, - "name": "Identifier", - "src": "1400:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", "isConstant": false, + "isInlineArray": false, "isLValue": false, - "isPure": true, + "isPure": false, "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" + "type": "uint256" }, - "id": 495, - "name": "Literal", - "src": "1415:1:6" + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "uint256", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "mul", + "referencedDeclaration": 270, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 438, + "type": "uint256", + "value": "amount" + }, + "id": 445, + "name": "Identifier", + "src": "1141:6:6" + } + ], + "id": 446, + "name": "MemberAccess", + "src": "1141:10:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 862, + "type": "uint256", + "value": "DEC" + }, + "id": 447, + "name": "Identifier", + "src": "1152:3:6" + } + ], + "id": 448, + "name": "FunctionCall", + "src": "1141:15:6" + } + ], + "id": 449, + "name": "TupleExpression", + "src": "1140:17:6" } ], - "id": 496, - "name": "Assignment", - "src": "1400:16:6" + "id": 450, + "name": "MemberAccess", + "src": "1140:21:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 869, + "type": "uint256", + "value": "buyPrice" + }, + "id": 451, + "name": "Identifier", + "src": "1162:8:6" } ], - "id": 497, - "name": "ExpressionStatement", - "src": "1400:16:6" + "id": 452, + "name": "FunctionCall", + "src": "1140:31:6" } ], - "id": 498, - "name": "IfStatement", - "src": "1377:39:6" + "id": 453, + "name": "VariableDeclarationStatement", + "src": "1122:49:6" }, { "children": [ { "attributes": { "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "operator": "=", - "type": "uint256" + "operator": "==", + "type": "bool" }, "children": [ { "attributes": { "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 815, - "type": "uint256", - "value": "buyPrice" + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 1", + "value": "1" }, - "id": 499, - "name": "Identifier", - "src": "1429:8:6" + "id": 454, + "name": "Literal", + "src": "1188:1:6" }, { "attributes": { "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ + "overloadedDeclarations": [ null ], + "referencedDeclaration": 399, "type": "uint256", - "type_conversion": false + "value": "stage" }, + "id": 455, + "name": "Identifier", + "src": "1193:5:6" + } + ], + "id": 456, + "name": "BinaryOperation", + "src": "1188:10:6" + }, + { + "children": [ + { "children": [ { "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], + "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "member_name": "div", - "referencedDeclaration": 291, - "type": "function (uint256,uint256) pure returns (uint256)" + "operator": "=", + "type": "uint256" }, "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 444, + "type": "uint256", + "value": "_amount" + }, + "id": 457, + "name": "Identifier", + "src": "1215:7:6" + }, { "attributes": { "argumentTypes": null, "isConstant": false, - "isInlineArray": false, "isLValue": false, "isPure": false, + "isStructConstructorCall": false, "lValueRequested": false, - "type": "uint256" + "names": [ + null + ], + "type": "uint256", + "type_conversion": false }, "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "add", + "referencedDeclaration": 332, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 444, + "type": "uint256", + "value": "_amount" + }, + "id": 458, + "name": "Identifier", + "src": "1225:7:6" + } + ], + "id": 459, + "name": "MemberAccess", + "src": "1225:11:6" + }, { "attributes": { "argumentTypes": null, @@ -1822,15 +1668,47 @@ { "typeIdentifier": "t_uint256", "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" } ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 826, + "type": "function (uint256,uint256) pure returns (uint256)", + "value": "withDiscount" + }, + "id": 460, + "name": "Identifier", + "src": "1237:12:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 444, + "type": "uint256", + "value": "_amount" + }, + "id": 461, + "name": "Identifier", + "src": "1250:7:6" + }, + { + "attributes": { + "argumentTypes": null, "isConstant": false, - "isLValue": false, + "isLValue": true, "isPure": false, "lValueRequested": false, - "member_name": "mul", - "referencedDeclaration": 273, - "type": "function (uint256,uint256) pure returns (uint256)" + "member_name": "discount", + "referencedDeclaration": 413, + "type": "uint8" }, "children": [ { @@ -1839,262 +1717,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 474, - "type": "uint256", - "value": "_numerator" + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" }, - "id": 500, + "id": 462, "name": "Identifier", - "src": "1441:10:6" + "src": "1259:3:6" } ], - "id": 501, + "id": 463, "name": "MemberAccess", - "src": "1441:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 808, - "type": "uint256", - "value": "DEC" - }, - "id": 502, - "name": "Identifier", - "src": "1456:3:6" + "src": "1259:12:6" } ], - "id": 503, + "id": 464, "name": "FunctionCall", - "src": "1441:19:6" + "src": "1237:35:6" } ], - "id": 504, - "name": "TupleExpression", - "src": "1440:21:6" + "id": 465, + "name": "FunctionCall", + "src": "1225:48:6" } ], - "id": 505, - "name": "MemberAccess", - "src": "1440:25:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 476, - "type": "uint256", - "value": "_denominator" - }, - "id": 506, - "name": "Identifier", - "src": "1466:12:6" - } - ], - "id": 507, - "name": "FunctionCall", - "src": "1440:39:6" - } - ], - "id": 508, - "name": "Assignment", - "src": "1429:50:6" - } - ], - "id": 509, - "name": "ExpressionStatement", - "src": "1429:50:6" - }, - { - "attributes": { - "functionReturnParameters": 482 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 510, - "name": "Literal", - "src": "1499:4:6" - } - ], - "id": 511, - "name": "Return", - "src": "1492:11:6" - } - ], - "id": 512, - "name": "Block", - "src": "1320:191:6" - } - ], - "id": 513, - "name": "FunctionDefinition", - "src": "1204:307:6" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "crowdSaleStatus", - "payable": false, - "scope": 773, - "stateMutability": "view", - "superFunction": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 514, - "name": "ParameterList", - "src": "1611:2:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 549, - "stateVariable": false, - "storageLocation": "default", - "type": "string memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "string", - "type": "string storage pointer" - }, - "id": 515, - "name": "ElementaryTypeName", - "src": "1650:6:6" - } - ], - "id": 516, - "name": "VariableDeclaration", - "src": "1650:6:6" - } - ], - "id": 517, - "name": "ParameterList", - "src": "1649:8:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 518, - "name": "Literal", - "src": "1678:1:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 429, - "type": "uint256", - "value": "stage" - }, - "id": 519, - "name": "Identifier", - "src": "1683:5:6" - } - ], - "id": 520, - "name": "BinaryOperation", - "src": "1678:10:6" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 517 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "5072652d49434f", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"Pre-ICO\"", - "value": "Pre-ICO" - }, - "id": 521, - "name": "Literal", - "src": "1712:9:6" + "id": 466, + "name": "Assignment", + "src": "1215:58:6" } ], - "id": 522, - "name": "Return", - "src": "1705:16:6" + "id": 467, + "name": "ExpressionStatement", + "src": "1215:58:6" } ], - "id": 523, + "id": 468, "name": "Block", - "src": "1690:43:6" + "src": "1200:85:6" }, { "children": [ @@ -2126,9 +1785,9 @@ "type": "int_const 2", "value": "2" }, - "id": 524, + "id": 469, "name": "Literal", - "src": "1742:1:6" + "src": "1304:1:6" }, { "attributes": { @@ -2136,750 +1795,294 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 429, + "referencedDeclaration": 399, "type": "uint256", "value": "stage" }, - "id": 525, + "id": 470, "name": "Identifier", - "src": "1747:5:6" + "src": "1309:5:6" } ], - "id": 526, + "id": 471, "name": "BinaryOperation", - "src": "1742:10:6" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 517 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "49434f206669727374207374616765", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"ICO first stage\"", - "value": "ICO first stage" - }, - "id": 527, - "name": "Literal", - "src": "1776:17:6" - } - ], - "id": 528, - "name": "Return", - "src": "1769:24:6" - } - ], - "id": 529, - "name": "Block", - "src": "1754:51:6" + "src": "1304:10:6" }, { "children": [ { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, "children": [ { "attributes": { "argumentTypes": null, - "hexvalue": "33", + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, "isConstant": false, "isLValue": false, - "isPure": true, + "isPure": false, "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 3", - "value": "3" - }, - "id": 530, - "name": "Literal", - "src": "1815:1:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 429, - "type": "uint256", - "value": "stage" - }, - "id": 531, - "name": "Identifier", - "src": "1820:5:6" - } - ], - "id": 532, - "name": "BinaryOperation", - "src": "1815:10:6" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 517 + "operator": "<=", + "type": "bool" }, "children": [ { "attributes": { "argumentTypes": null, - "hexvalue": "49434f207365636f6e64207374616765", + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 1399, + "type": "uint256", + "value": "now" + }, + "id": 472, + "name": "Identifier", + "src": "1344:3:6" + }, + { + "attributes": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, "isConstant": false, "isLValue": false, - "isPure": true, + "isPure": false, "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"ICO second stage\"", - "value": "ICO second stage" - }, - "id": 533, - "name": "Literal", - "src": "1849:18:6" - } - ], - "id": 534, - "name": "Return", - "src": "1842:25:6" - } - ], - "id": 535, - "name": "Block", - "src": "1827:52:6" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "34", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 4", - "value": "4" - }, - "id": 536, - "name": "Literal", - "src": "1889:1:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 429, - "type": "uint256", - "value": "stage" + "operator": "+", + "type": "uint256" }, - "id": 537, - "name": "Identifier", - "src": "1894:5:6" + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "startDate", + "referencedDeclaration": 409, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 473, + "name": "Identifier", + "src": "1351:3:6" + } + ], + "id": 474, + "name": "MemberAccess", + "src": "1351:13:6" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": "days", + "token": "number", + "type": "int_const 86400", + "value": "1" + }, + "id": 475, + "name": "Literal", + "src": "1367:6:6" + } + ], + "id": 476, + "name": "BinaryOperation", + "src": "1351:22:6" } ], - "id": 538, + "id": 477, "name": "BinaryOperation", - "src": "1889:10:6" + "src": "1344:29:6" }, { "children": [ { "attributes": { - "functionReturnParameters": 517 + "falseBody": null }, "children": [ { "attributes": { "argumentTypes": null, - "hexvalue": "66656174757265207374616765", + "commonType": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, "isConstant": false, "isLValue": false, - "isPure": true, + "isPure": false, "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"feature stage\"", - "value": "feature stage" + "operator": "==", + "type": "bool" }, - "id": 539, - "name": "Literal", - "src": "1923:15:6" + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "30", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 0", + "value": "0" + }, + "id": 478, + "name": "Literal", + "src": "1411:1:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "discountFirstDayICO", + "referencedDeclaration": 415, + "type": "uint8" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 479, + "name": "Identifier", + "src": "1416:3:6" + } + ], + "id": 480, + "name": "MemberAccess", + "src": "1416:23:6" + } + ], + "id": 481, + "name": "BinaryOperation", + "src": "1411:28:6" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint8" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "member_name": "discountFirstDayICO", + "referencedDeclaration": 415, + "type": "uint8" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 482, + "name": "Identifier", + "src": "1464:3:6" + } + ], + "id": 484, + "name": "MemberAccess", + "src": "1464:23:6" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "3230", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 20", + "value": "20" + }, + "id": 485, + "name": "Literal", + "src": "1490:2:6" + } + ], + "id": 486, + "name": "Assignment", + "src": "1464:28:6" + } + ], + "id": 487, + "name": "ExpressionStatement", + "src": "1464:28:6" + } + ], + "id": 488, + "name": "Block", + "src": "1441:71:6" } ], - "id": 540, - "name": "Return", - "src": "1916:22:6" - } - ], - "id": 541, - "name": "Block", - "src": "1901:49:6" - } - ], - "id": 542, - "name": "IfStatement", - "src": "1885:65:6" - } - ], - "id": 543, - "name": "IfStatement", - "src": "1811:139:6" - } - ], - "id": 544, - "name": "IfStatement", - "src": "1739:211:6" - } - ], - "id": 545, - "name": "IfStatement", - "src": "1674:276:6" - }, - { - "attributes": { - "functionReturnParameters": 517 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "7468657265206973206e6f2073746167652061742070726573656e74", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"there is no stage at present\"", - "value": "there is no stage at present" - }, - "id": 546, - "name": "Literal", - "src": "1969:30:6" - } - ], - "id": 547, - "name": "Return", - "src": "1962:37:6" - } - ], - "id": 548, - "name": "Block", - "src": "1663:344:6" - } - ], - "id": 549, - "name": "FunctionDefinition", - "src": "1587:420:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "sell", - "payable": false, - "scope": 773, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_investor", - "scope": 688, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 550, - "name": "ElementaryTypeName", - "src": "2102:7:6" - } - ], - "id": 551, - "name": "VariableDeclaration", - "src": "2102:17:6" - }, - { - "attributes": { - "constant": false, - "name": "amount", - "scope": 688, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 552, - "name": "ElementaryTypeName", - "src": "2121:7:6" - } - ], - "id": 553, - "name": "VariableDeclaration", - "src": "2121:14:6" - } - ], - "id": 554, - "name": "ParameterList", - "src": "2101:35:6" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 555, - "name": "ParameterList", - "src": "2151:0:6" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 557 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "_amount", - "scope": 688, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 556, - "name": "ElementaryTypeName", - "src": "2162:7:6" - } - ], - "id": 557, - "name": "VariableDeclaration", - "src": "2162:15:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "div", - "referencedDeclaration": 291, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ + "id": 489, + "name": "IfStatement", + "src": "1407:105:6" + }, { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mul", - "referencedDeclaration": 273, - "type": "function (uint256,uint256) pure returns (uint256)" - }, "children": [ { "attributes": { "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 553, - "type": "uint256", - "value": "amount" - }, - "id": 558, - "name": "Identifier", - "src": "2181:6:6" - } - ], - "id": 559, - "name": "MemberAccess", - "src": "2181:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 808, - "type": "uint256", - "value": "DEC" - }, - "id": 560, - "name": "Identifier", - "src": "2192:3:6" - } - ], - "id": 561, - "name": "FunctionCall", - "src": "2181:15:6" - } - ], - "id": 562, - "name": "TupleExpression", - "src": "2180:17:6" - } - ], - "id": 563, - "name": "MemberAccess", - "src": "2180:21:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 815, - "type": "uint256", - "value": "buyPrice" - }, - "id": 564, - "name": "Identifier", - "src": "2202:8:6" - } - ], - "id": 565, - "name": "FunctionCall", - "src": "2180:31:6" - } - ], - "id": 566, - "name": "VariableDeclarationStatement", - "src": "2162:49:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 567, - "name": "Literal", - "src": "2228:1:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 429, - "type": "uint256", - "value": "stage" - }, - "id": 568, - "name": "Identifier", - "src": "2233:5:6" - } - ], - "id": 569, - "name": "BinaryOperation", - "src": "2228:10:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 557, - "type": "uint256", - "value": "_amount" - }, - "id": 570, - "name": "Identifier", - "src": "2255:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 335, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 557, - "type": "uint256", - "value": "_amount" - }, - "id": 571, - "name": "Identifier", - "src": "2265:7:6" - } - ], - "id": 572, - "name": "MemberAccess", - "src": "2265:11:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 772, - "type": "function (uint256,uint256) pure returns (uint256)", - "value": "withDiscount" - }, - "id": 573, - "name": "Identifier", - "src": "2277:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 557, - "type": "uint256", - "value": "_amount" - }, - "id": 574, - "name": "Identifier", - "src": "2290:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "discount", - "referencedDeclaration": 441, - "type": "uint8" + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" }, "children": [ { @@ -2888,302 +2091,126 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 446, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" + "referencedDeclaration": 444, + "type": "uint256", + "value": "_amount" }, - "id": 575, + "id": 490, "name": "Identifier", - "src": "2299:3:6" - } - ], - "id": 576, - "name": "MemberAccess", - "src": "2299:12:6" - } - ], - "id": 577, - "name": "FunctionCall", - "src": "2277:35:6" - } - ], - "id": 578, - "name": "FunctionCall", - "src": "2265:48:6" - } - ], - "id": 579, - "name": "Assignment", - "src": "2255:58:6" - } - ], - "id": 580, - "name": "ExpressionStatement", - "src": "2255:58:6" - } - ], - "id": 581, - "name": "Block", - "src": "2240:85:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 582, - "name": "Literal", - "src": "2344:1:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 429, - "type": "uint256", - "value": "stage" - }, - "id": 583, - "name": "Identifier", - "src": "2349:5:6" - } - ], - "id": 584, - "name": "BinaryOperation", - "src": "2344:10:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1345, - "type": "uint256", - "value": "now" - }, - "id": 585, - "name": "Identifier", - "src": "2384:3:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "+", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "startDate", - "referencedDeclaration": 437, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 446, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" - }, - "id": 586, - "name": "Identifier", - "src": "2391:3:6" - } - ], - "id": 587, - "name": "MemberAccess", - "src": "2391:13:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": "days", - "token": "number", - "type": "int_const 86400", - "value": "1" - }, - "id": 588, - "name": "Literal", - "src": "2407:6:6" - } - ], - "id": 589, - "name": "BinaryOperation", - "src": "2391:22:6" - } - ], - "id": 590, - "name": "BinaryOperation", - "src": "2384:29:6" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" + "src": "1530:7:6" }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ { "attributes": { "argumentTypes": null, - "hexvalue": "30", "isConstant": false, "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 591, - "name": "Literal", - "src": "2453:1:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, "isPure": false, + "isStructConstructorCall": false, "lValueRequested": false, - "member_name": "discountFirstDayICO", - "referencedDeclaration": 443, - "type": "uint8" + "names": [ + null + ], + "type": "uint256", + "type_conversion": false }, "children": [ { "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } ], - "referencedDeclaration": 446, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "add", + "referencedDeclaration": 332, + "type": "function (uint256,uint256) pure returns (uint256)" }, - "id": 592, - "name": "Identifier", - "src": "2458:3:6" - } - ], - "id": 593, - "name": "MemberAccess", - "src": "2458:23:6" - } - ], - "id": 594, - "name": "BinaryOperation", - "src": "2453:28:6" - }, - { - "children": [ - { - "children": [ + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 444, + "type": "uint256", + "value": "_amount" + }, + "id": 491, + "name": "Identifier", + "src": "1540:7:6" + } + ], + "id": 492, + "name": "MemberAccess", + "src": "1540:11:6" + }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, + "isStructConstructorCall": false, "lValueRequested": false, - "operator": "=", - "type": "uint8" + "names": [ + null + ], + "type": "uint256", + "type_conversion": false }, "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 826, + "type": "function (uint256,uint256) pure returns (uint256)", + "value": "withDiscount" + }, + "id": 493, + "name": "Identifier", + "src": "1552:12:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 444, + "type": "uint256", + "value": "_amount" + }, + "id": 494, + "name": "Identifier", + "src": "1565:7:6" + }, { "attributes": { "argumentTypes": null, "isConstant": false, "isLValue": true, "isPure": false, - "lValueRequested": true, + "lValueRequested": false, "member_name": "discountFirstDayICO", - "referencedDeclaration": 443, + "referencedDeclaration": 415, "type": "uint8" }, "children": [ @@ -3193,56 +2220,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 446, + "referencedDeclaration": 418, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 595, + "id": 495, "name": "Identifier", - "src": "2508:3:6" + "src": "1574:3:6" } ], - "id": 597, + "id": 496, "name": "MemberAccess", - "src": "2508:23:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3230", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 20", - "value": "20" - }, - "id": 598, - "name": "Literal", - "src": "2534:2:6" + "src": "1574:23:6" } ], - "id": 599, - "name": "Assignment", - "src": "2508:28:6" + "id": 497, + "name": "FunctionCall", + "src": "1552:46:6" } ], - "id": 600, - "name": "ExpressionStatement", - "src": "2508:28:6" + "id": 498, + "name": "FunctionCall", + "src": "1540:59:6" } ], - "id": 601, - "name": "Block", - "src": "2483:75:6" + "id": 499, + "name": "Assignment", + "src": "1530:69:6" } ], - "id": 602, - "name": "IfStatement", - "src": "2449:109:6" - }, + "id": 500, + "name": "ExpressionStatement", + "src": "1530:69:6" + } + ], + "id": 501, + "name": "Block", + "src": "1388:227:6" + }, + { + "children": [ { "children": [ { @@ -3262,13 +2279,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 557, + "referencedDeclaration": 444, "type": "uint256", "value": "_amount" }, - "id": 603, + "id": 502, "name": "Identifier", - "src": "2580:7:6" + "src": "1666:7:6" }, { "attributes": { @@ -3298,7 +2315,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 335, + "referencedDeclaration": 332, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -3308,18 +2325,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 557, + "referencedDeclaration": 444, "type": "uint256", "value": "_amount" }, - "id": 604, + "id": 503, "name": "Identifier", - "src": "2590:7:6" + "src": "1676:7:6" } ], - "id": 605, + "id": 504, "name": "MemberAccess", - "src": "2590:11:6" + "src": "1676:11:6" }, { "attributes": { @@ -3351,13 +2368,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 772, + "referencedDeclaration": 826, "type": "function (uint256,uint256) pure returns (uint256)", "value": "withDiscount" }, - "id": 606, + "id": 505, "name": "Identifier", - "src": "2602:12:6" + "src": "1688:12:6" }, { "attributes": { @@ -3365,13 +2382,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 557, + "referencedDeclaration": 444, "type": "uint256", "value": "_amount" }, - "id": 607, + "id": 506, "name": "Identifier", - "src": "2615:7:6" + "src": "1701:7:6" }, { "attributes": { @@ -3380,8 +2397,8 @@ "isLValue": true, "isPure": false, "lValueRequested": false, - "member_name": "discountFirstDayICO", - "referencedDeclaration": 443, + "member_name": "discount", + "referencedDeclaration": 413, "type": "uint8" }, "children": [ @@ -3391,241 +2408,2242 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 446, + "referencedDeclaration": 418, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 608, + "id": 507, "name": "Identifier", - "src": "2624:3:6" + "src": "1710:3:6" } ], - "id": 609, + "id": 508, "name": "MemberAccess", - "src": "2624:23:6" + "src": "1710:12:6" } ], - "id": 610, + "id": 509, "name": "FunctionCall", - "src": "2602:46:6" + "src": "1688:35:6" } ], - "id": 611, + "id": 510, "name": "FunctionCall", - "src": "2590:59:6" + "src": "1676:48:6" } ], - "id": 612, + "id": 511, "name": "Assignment", - "src": "2580:69:6" + "src": "1666:58:6" } ], - "id": 613, + "id": 512, "name": "ExpressionStatement", - "src": "2580:69:6" + "src": "1666:58:6" } ], - "id": 614, + "id": 513, "name": "Block", - "src": "2428:237:6" + "src": "1647:93:6" + } + ], + "id": 514, + "name": "IfStatement", + "src": "1340:400:6" + } + ], + "id": 515, + "name": "Block", + "src": "1325:426:6" + }, + { + "attributes": { + "falseBody": null + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "==", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "33", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 3", + "value": "3" + }, + "id": 516, + "name": "Literal", + "src": "1770:1:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 399, + "type": "uint256", + "value": "stage" + }, + "id": 517, + "name": "Identifier", + "src": "1775:5:6" + } + ], + "id": 518, + "name": "BinaryOperation", + "src": "1770:10:6" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 444, + "type": "uint256", + "value": "_amount" + }, + "id": 519, + "name": "Identifier", + "src": "1797:7:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "uint256", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "add", + "referencedDeclaration": 332, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 444, + "type": "uint256", + "value": "_amount" + }, + "id": 520, + "name": "Identifier", + "src": "1807:7:6" + } + ], + "id": 521, + "name": "MemberAccess", + "src": "1807:11:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "uint256", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 826, + "type": "function (uint256,uint256) pure returns (uint256)", + "value": "withDiscount" + }, + "id": 522, + "name": "Identifier", + "src": "1819:12:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 444, + "type": "uint256", + "value": "_amount" + }, + "id": 523, + "name": "Identifier", + "src": "1832:7:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "discount", + "referencedDeclaration": 413, + "type": "uint8" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 524, + "name": "Identifier", + "src": "1841:3:6" + } + ], + "id": 525, + "name": "MemberAccess", + "src": "1841:12:6" + } + ], + "id": 526, + "name": "FunctionCall", + "src": "1819:35:6" + } + ], + "id": 527, + "name": "FunctionCall", + "src": "1807:48:6" + } + ], + "id": 528, + "name": "Assignment", + "src": "1797:58:6" + } + ], + "id": 529, + "name": "ExpressionStatement", + "src": "1797:58:6" + } + ], + "id": 530, + "name": "Block", + "src": "1782:85:6" + } + ], + "id": 531, + "name": "IfStatement", + "src": "1766:101:6" + } + ], + "id": 532, + "name": "IfStatement", + "src": "1300:567:6" + } + ], + "id": 533, + "name": "IfStatement", + "src": "1184:683:6" + }, + { + "attributes": { + "functionReturnParameters": 442 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 444, + "type": "uint256", + "value": "_amount" + }, + "id": 534, + "name": "Identifier", + "src": "1886:7:6" + } + ], + "id": 535, + "name": "Return", + "src": "1879:14:6" + } + ], + "id": 536, + "name": "Block", + "src": "1111:790:6" + } + ], + "id": 537, + "name": "FunctionDefinition", + "src": "1032:869:6" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "name": "changeDiscount", + "payable": false, + "scope": 827, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "_discount", + "scope": 563, + "stateVariable": false, + "storageLocation": "default", + "type": "uint8", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint8", + "type": "uint8" + }, + "id": 538, + "name": "ElementaryTypeName", + "src": "2001:5:6" + } + ], + "id": 539, + "name": "VariableDeclaration", + "src": "2001:15:6" + } + ], + "id": 540, + "name": "ParameterList", + "src": "2000:17:6" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 563, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 543, + "name": "ElementaryTypeName", + "src": "2053:4:6" + } + ], + "id": 544, + "name": "VariableDeclaration", + "src": "2053:4:6" + } + ], + "id": 545, + "name": "ParameterList", + "src": "2052:6:6" + }, + { + "attributes": { + "arguments": [ + null + ] + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 134, + "type": "modifier ()", + "value": "onlyOwner" + }, + "id": 541, + "name": "Identifier", + "src": "2025:9:6" + } + ], + "id": 542, + "name": "ModifierInvocation", + "src": "2025:9:6" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "struct StreamityCrowdsale.Ico storage ref" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 546, + "name": "Identifier", + "src": "2075:3:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": true, + "lValueRequested": false, + "names": [ + null + ], + "type": "struct StreamityCrowdsale.Ico memory", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 416, + "type": "type(struct StreamityCrowdsale.Ico storage pointer)", + "value": "Ico" + }, + "id": 547, + "name": "Identifier", + "src": "2081:3:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "tokens", + "referencedDeclaration": 407, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 548, + "name": "Identifier", + "src": "2086:3:6" + } + ], + "id": 549, + "name": "MemberAccess", + "src": "2086:10:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "startDate", + "referencedDeclaration": 409, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 550, + "name": "Identifier", + "src": "2098:3:6" + } + ], + "id": 551, + "name": "MemberAccess", + "src": "2098:13:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "endDate", + "referencedDeclaration": 411, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 552, + "name": "Identifier", + "src": "2113:3:6" + } + ], + "id": 553, + "name": "MemberAccess", + "src": "2113:11:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 539, + "type": "uint8", + "value": "_discount" + }, + "id": 554, + "name": "Identifier", + "src": "2126:9:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "discountFirstDayICO", + "referencedDeclaration": 415, + "type": "uint8" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 555, + "name": "Identifier", + "src": "2137:3:6" + } + ], + "id": 556, + "name": "MemberAccess", + "src": "2137:23:6" + } + ], + "id": 557, + "name": "FunctionCall", + "src": "2081:80:6" + } + ], + "id": 558, + "name": "Assignment", + "src": "2075:86:6" + } + ], + "id": 559, + "name": "ExpressionStatement", + "src": "2075:86:6" + }, + { + "attributes": { + "functionReturnParameters": 545 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 560, + "name": "Literal", + "src": "2179:4:6" + } + ], + "id": 561, + "name": "Return", + "src": "2172:11:6" + } + ], + "id": 562, + "name": "Block", + "src": "2064:127:6" + } + ], + "id": 563, + "name": "FunctionDefinition", + "src": "1977:214:6" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "name": "changeRate", + "payable": false, + "scope": 827, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "_numerator", + "scope": 604, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 564, + "name": "ElementaryTypeName", + "src": "2465:7:6" + } + ], + "id": 565, + "name": "VariableDeclaration", + "src": "2465:18:6" + }, + { + "attributes": { + "constant": false, + "name": "_denominator", + "scope": 604, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 566, + "name": "ElementaryTypeName", + "src": "2485:7:6" + } + ], + "id": 567, + "name": "VariableDeclaration", + "src": "2485:20:6" + } + ], + "id": 568, + "name": "ParameterList", + "src": "2464:42:6" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "success", + "scope": 604, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 571, + "name": "ElementaryTypeName", + "src": "2542:4:6" + } + ], + "id": 572, + "name": "VariableDeclaration", + "src": "2542:12:6" + } + ], + "id": 573, + "name": "ParameterList", + "src": "2541:14:6" + }, + { + "attributes": { + "arguments": [ + null + ] + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 134, + "type": "modifier ()", + "value": "onlyOwner" + }, + "id": 569, + "name": "Identifier", + "src": "2514:9:6" + } + ], + "id": 570, + "name": "ModifierInvocation", + "src": "2514:9:6" + }, + { + "children": [ + { + "attributes": { + "falseBody": null + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "==", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 565, + "type": "uint256", + "value": "_numerator" + }, + "id": 574, + "name": "Identifier", + "src": "2576:10:6" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "30", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 0", + "value": "0" + }, + "id": 575, + "name": "Literal", + "src": "2590:1:6" + } + ], + "id": 576, + "name": "BinaryOperation", + "src": "2576:15:6" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 565, + "type": "uint256", + "value": "_numerator" + }, + "id": 577, + "name": "Identifier", + "src": "2593:10:6" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 1", + "value": "1" + }, + "id": 578, + "name": "Literal", + "src": "2606:1:6" + } + ], + "id": 579, + "name": "Assignment", + "src": "2593:14:6" + } + ], + "id": 580, + "name": "ExpressionStatement", + "src": "2593:14:6" + } + ], + "id": 581, + "name": "IfStatement", + "src": "2572:35:6" + }, + { + "attributes": { + "falseBody": null + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "==", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 567, + "type": "uint256", + "value": "_denominator" + }, + "id": 582, + "name": "Identifier", + "src": "2622:12:6" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "30", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 0", + "value": "0" + }, + "id": 583, + "name": "Literal", + "src": "2638:1:6" + } + ], + "id": 584, + "name": "BinaryOperation", + "src": "2622:17:6" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 567, + "type": "uint256", + "value": "_denominator" + }, + "id": 585, + "name": "Identifier", + "src": "2641:12:6" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 1", + "value": "1" + }, + "id": 586, + "name": "Literal", + "src": "2656:1:6" + } + ], + "id": 587, + "name": "Assignment", + "src": "2641:16:6" + } + ], + "id": 588, + "name": "ExpressionStatement", + "src": "2641:16:6" + } + ], + "id": 589, + "name": "IfStatement", + "src": "2618:39:6" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 869, + "type": "uint256", + "value": "buyPrice" + }, + "id": 590, + "name": "Identifier", + "src": "2670:8:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "uint256", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "div", + "referencedDeclaration": 288, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "uint256", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "mul", + "referencedDeclaration": 270, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 565, + "type": "uint256", + "value": "_numerator" + }, + "id": 591, + "name": "Identifier", + "src": "2682:10:6" + } + ], + "id": 592, + "name": "MemberAccess", + "src": "2682:14:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 862, + "type": "uint256", + "value": "DEC" + }, + "id": 593, + "name": "Identifier", + "src": "2697:3:6" + } + ], + "id": 594, + "name": "FunctionCall", + "src": "2682:19:6" + } + ], + "id": 595, + "name": "TupleExpression", + "src": "2681:21:6" + } + ], + "id": 596, + "name": "MemberAccess", + "src": "2681:25:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 567, + "type": "uint256", + "value": "_denominator" + }, + "id": 597, + "name": "Identifier", + "src": "2707:12:6" + } + ], + "id": 598, + "name": "FunctionCall", + "src": "2681:39:6" + } + ], + "id": 599, + "name": "Assignment", + "src": "2670:50:6" + } + ], + "id": 600, + "name": "ExpressionStatement", + "src": "2670:50:6" + }, + { + "attributes": { + "functionReturnParameters": 573 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 601, + "name": "Literal", + "src": "2740:4:6" + } + ], + "id": 602, + "name": "Return", + "src": "2733:11:6" + } + ], + "id": 603, + "name": "Block", + "src": "2561:191:6" + } + ], + "id": 604, + "name": "FunctionDefinition", + "src": "2445:307:6" + }, + { + "attributes": { + "constant": true, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "crowdSaleStatus", + "payable": false, + "scope": 827, + "stateMutability": "view", + "superFunction": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 605, + "name": "ParameterList", + "src": "2852:2:6" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 640, + "stateVariable": false, + "storageLocation": "default", + "type": "string memory", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string storage pointer" + }, + "id": 606, + "name": "ElementaryTypeName", + "src": "2891:6:6" + } + ], + "id": 607, + "name": "VariableDeclaration", + "src": "2891:6:6" + } + ], + "id": 608, + "name": "ParameterList", + "src": "2890:8:6" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "==", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 1", + "value": "1" + }, + "id": 609, + "name": "Literal", + "src": "2919:1:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 399, + "type": "uint256", + "value": "stage" + }, + "id": 610, + "name": "Identifier", + "src": "2924:5:6" + } + ], + "id": 611, + "name": "BinaryOperation", + "src": "2919:10:6" + }, + { + "children": [ + { + "attributes": { + "functionReturnParameters": 608 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "5072652d49434f", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "string", + "type": "literal_string \"Pre-ICO\"", + "value": "Pre-ICO" + }, + "id": 612, + "name": "Literal", + "src": "2953:9:6" + } + ], + "id": 613, + "name": "Return", + "src": "2946:16:6" + } + ], + "id": 614, + "name": "Block", + "src": "2931:43:6" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "==", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "32", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 2", + "value": "2" + }, + "id": 615, + "name": "Literal", + "src": "2983:1:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 399, + "type": "uint256", + "value": "stage" + }, + "id": 616, + "name": "Identifier", + "src": "2988:5:6" + } + ], + "id": 617, + "name": "BinaryOperation", + "src": "2983:10:6" + }, + { + "children": [ + { + "attributes": { + "functionReturnParameters": 608 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "49434f206669727374207374616765", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "string", + "type": "literal_string \"ICO first stage\"", + "value": "ICO first stage" + }, + "id": 618, + "name": "Literal", + "src": "3017:17:6" + } + ], + "id": 619, + "name": "Return", + "src": "3010:24:6" + } + ], + "id": 620, + "name": "Block", + "src": "2995:51:6" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "==", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "33", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 3", + "value": "3" + }, + "id": 621, + "name": "Literal", + "src": "3056:1:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 399, + "type": "uint256", + "value": "stage" + }, + "id": 622, + "name": "Identifier", + "src": "3061:5:6" + } + ], + "id": 623, + "name": "BinaryOperation", + "src": "3056:10:6" + }, + { + "children": [ + { + "attributes": { + "functionReturnParameters": 608 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "49434f207365636f6e64207374616765", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "string", + "type": "literal_string \"ICO second stage\"", + "value": "ICO second stage" + }, + "id": 624, + "name": "Literal", + "src": "3090:18:6" + } + ], + "id": 625, + "name": "Return", + "src": "3083:25:6" + } + ], + "id": 626, + "name": "Block", + "src": "3068:52:6" + }, + { + "attributes": { + "falseBody": null + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": ">=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "34", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 4", + "value": "4" + }, + "id": 627, + "name": "Literal", + "src": "3130:1:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 399, + "type": "uint256", + "value": "stage" + }, + "id": 628, + "name": "Identifier", + "src": "3135:5:6" + } + ], + "id": 629, + "name": "BinaryOperation", + "src": "3130:10:6" + }, + { + "children": [ + { + "attributes": { + "functionReturnParameters": 608 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "66656174757265207374616765", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "string", + "type": "literal_string \"feature stage\"", + "value": "feature stage" + }, + "id": 630, + "name": "Literal", + "src": "3164:15:6" + } + ], + "id": 631, + "name": "Return", + "src": "3157:22:6" + } + ], + "id": 632, + "name": "Block", + "src": "3142:49:6" + } + ], + "id": 633, + "name": "IfStatement", + "src": "3126:65:6" + } + ], + "id": 634, + "name": "IfStatement", + "src": "3052:139:6" + } + ], + "id": 635, + "name": "IfStatement", + "src": "2980:211:6" + } + ], + "id": 636, + "name": "IfStatement", + "src": "2915:276:6" + }, + { + "attributes": { + "functionReturnParameters": 608 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "7468657265206973206e6f2073746167652061742070726573656e74", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "string", + "type": "literal_string \"there is no stage at present\"", + "value": "there is no stage at present" + }, + "id": 637, + "name": "Literal", + "src": "3210:30:6" + } + ], + "id": 638, + "name": "Return", + "src": "3203:37:6" + } + ], + "id": 639, + "name": "Block", + "src": "2904:344:6" + } + ], + "id": 640, + "name": "FunctionDefinition", + "src": "2828:420:6" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "paymentManager", + "payable": false, + "scope": 827, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "internal" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "sender", + "scope": 711, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 641, + "name": "ElementaryTypeName", + "src": "3324:7:6" + } + ], + "id": 642, + "name": "VariableDeclaration", + "src": "3324:14:6" + }, + { + "attributes": { + "constant": false, + "name": "value", + "scope": 711, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 643, + "name": "ElementaryTypeName", + "src": "3340:7:6" + } + ], + "id": 644, + "name": "VariableDeclaration", + "src": "3340:13:6" + } + ], + "id": 645, + "name": "ParameterList", + "src": "3323:31:6" + }, + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 646, + "name": "ParameterList", + "src": "3369:0:6" + }, + { + "children": [ + { + "attributes": { + "assignments": [ + 648 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "discountValue", + "scope": 711, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 647, + "name": "ElementaryTypeName", + "src": "3380:7:6" + } + ], + "id": 648, + "name": "VariableDeclaration", + "src": "3380:21:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "uint256", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 537, + "type": "function (uint256) returns (uint256)", + "value": "countDiscount" + }, + "id": 649, + "name": "Identifier", + "src": "3404:13:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 644, + "type": "uint256", + "value": "value" + }, + "id": 650, + "name": "Identifier", + "src": "3418:5:6" + } + ], + "id": 651, + "name": "FunctionCall", + "src": "3404:20:6" + } + ], + "id": 652, + "name": "VariableDeclarationStatement", + "src": "3380:44:6" + }, + { + "attributes": { + "assignments": [ + 654 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "conf", + "scope": 711, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 653, + "name": "ElementaryTypeName", + "src": "3435:4:6" + } + ], + "id": 654, + "name": "VariableDeclaration", + "src": "3435:9:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "bool", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 436, + "type": "function (uint256) view returns (bool)", + "value": "confirmSell" + }, + "id": 655, + "name": "Identifier", + "src": "3447:11:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 648, + "type": "uint256", + "value": "discountValue" + }, + "id": 656, + "name": "Identifier", + "src": "3459:13:6" + } + ], + "id": 657, + "name": "FunctionCall", + "src": "3447:26:6" + } + ], + "id": 658, + "name": "VariableDeclarationStatement", + "src": "3435:38:6" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 654, + "type": "bool", + "value": "conf" + }, + "id": 659, + "name": "Identifier", + "src": "3490:4:6" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 742, + "type": "function (address,uint256)", + "value": "sell" + }, + "id": 660, + "name": "Identifier", + "src": "3513:4:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 642, + "type": "address", + "value": "sender" + }, + "id": 661, + "name": "Identifier", + "src": "3518:6:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 648, + "type": "uint256", + "value": "discountValue" + }, + "id": 662, + "name": "Identifier", + "src": "3526:13:6" + } + ], + "id": 663, + "name": "FunctionCall", + "src": "3513:27:6" + } + ], + "id": 664, + "name": "ExpressionStatement", + "src": "3513:27:6" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 401, + "type": "uint256", + "value": "weisRaised" + }, + "id": 665, + "name": "Identifier", + "src": "3557:10:6" }, { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "uint256", + "type_conversion": false + }, "children": [ { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "add", + "referencedDeclaration": 332, + "type": "function (uint256,uint256) pure returns (uint256)" + }, "children": [ { "attributes": { "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 401, + "type": "uint256", + "value": "weisRaised" }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 557, - "type": "uint256", - "value": "_amount" - }, - "id": 615, - "name": "Identifier", - "src": "2690:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 335, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 557, - "type": "uint256", - "value": "_amount" - }, - "id": 616, - "name": "Identifier", - "src": "2700:7:6" - } - ], - "id": 617, - "name": "MemberAccess", - "src": "2700:11:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 772, - "type": "function (uint256,uint256) pure returns (uint256)", - "value": "withDiscount" - }, - "id": 618, - "name": "Identifier", - "src": "2712:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 557, - "type": "uint256", - "value": "_amount" - }, - "id": 619, - "name": "Identifier", - "src": "2725:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "discount", - "referencedDeclaration": 441, - "type": "uint8" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 446, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" - }, - "id": 620, - "name": "Identifier", - "src": "2734:3:6" - } - ], - "id": 621, - "name": "MemberAccess", - "src": "2734:12:6" - } - ], - "id": 622, - "name": "FunctionCall", - "src": "2712:35:6" - } - ], - "id": 623, - "name": "FunctionCall", - "src": "2700:48:6" - } - ], - "id": 624, - "name": "Assignment", - "src": "2690:58:6" + "id": 666, + "name": "Identifier", + "src": "3570:10:6" } ], - "id": 625, - "name": "ExpressionStatement", - "src": "2690:58:6" + "id": 667, + "name": "MemberAccess", + "src": "3570:14:6" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 644, + "type": "uint256", + "value": "value" + }, + "id": 668, + "name": "Identifier", + "src": "3585:5:6" } ], - "id": 626, - "name": "Block", - "src": "2671:93:6" + "id": 669, + "name": "FunctionCall", + "src": "3570:21:6" } ], - "id": 627, - "name": "IfStatement", - "src": "2380:384:6" + "id": 670, + "name": "Assignment", + "src": "3557:34:6" } ], - "id": 628, - "name": "Block", - "src": "2365:410:6" + "id": 671, + "name": "ExpressionStatement", + "src": "3557:34:6" }, { "attributes": { @@ -3635,53 +4653,67 @@ { "attributes": { "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "33", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 3", - "value": "3" - }, - "id": 629, - "name": "Literal", - "src": "2785:1:6" + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": ">=", + "type": "bool" + }, + "children": [ { "attributes": { "argumentTypes": null, "overloadedDeclarations": [ null ], - "referencedDeclaration": 429, + "referencedDeclaration": 1399, "type": "uint256", - "value": "stage" + "value": "now" }, - "id": 630, + "id": 672, "name": "Identifier", - "src": "2790:5:6" + "src": "3612:3:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "endDate", + "referencedDeclaration": 411, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 673, + "name": "Identifier", + "src": "3619:3:6" + } + ], + "id": 674, + "name": "MemberAccess", + "src": "3619:11:6" } ], - "id": 631, + "id": 675, "name": "BinaryOperation", - "src": "2785:10:6" + "src": "3612:18:6" }, { "children": [ @@ -3690,31 +4722,89 @@ { "attributes": { "argumentTypes": null, + "arguments": [ + null + ], "isConstant": false, "isLValue": false, "isPure": false, + "isStructConstructorCall": false, "lValueRequested": false, - "operator": "=", - "type": "uint256" + "names": [ + null + ], + "type": "tuple()", + "type_conversion": false }, "children": [ { "attributes": { - "argumentTypes": null, + "argumentTypes": [ + null + ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 557, - "type": "uint256", - "value": "_amount" + "referencedDeclaration": 213, + "type": "function ()", + "value": "pauseInternal" + }, + "id": 676, + "name": "Identifier", + "src": "3651:13:6" + } + ], + "id": 677, + "name": "FunctionCall", + "src": "3651:15:6" + } + ], + "id": 678, + "name": "ExpressionStatement", + "src": "3651:15:6" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 405, + "type": "function (string memory)", + "value": "CrowdSaleFinished" }, - "id": 632, + "id": 679, "name": "Identifier", - "src": "2812:7:6" + "src": "3685:17:6" }, { "attributes": { "argumentTypes": null, + "arguments": [ + null + ], "isConstant": false, "isLValue": false, "isPure": false, @@ -3723,238 +4813,55 @@ "names": [ null ], - "type": "uint256", + "type": "string memory", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } + null ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 335, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 557, - "type": "uint256", - "value": "_amount" - }, - "id": 633, - "name": "Identifier", - "src": "2822:7:6" - } - ], - "id": 634, - "name": "MemberAccess", - "src": "2822:11:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ + "overloadedDeclarations": [ null ], - "type": "uint256", - "type_conversion": false + "referencedDeclaration": 640, + "type": "function () view returns (string memory)", + "value": "crowdSaleStatus" }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 772, - "type": "function (uint256,uint256) pure returns (uint256)", - "value": "withDiscount" - }, - "id": 635, - "name": "Identifier", - "src": "2834:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 557, - "type": "uint256", - "value": "_amount" - }, - "id": 636, - "name": "Identifier", - "src": "2847:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "discount", - "referencedDeclaration": 441, - "type": "uint8" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 446, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" - }, - "id": 637, - "name": "Identifier", - "src": "2856:3:6" - } - ], - "id": 638, - "name": "MemberAccess", - "src": "2856:12:6" - } - ], - "id": 639, - "name": "FunctionCall", - "src": "2834:35:6" + "id": 680, + "name": "Identifier", + "src": "3703:15:6" } ], - "id": 640, + "id": 681, "name": "FunctionCall", - "src": "2822:48:6" + "src": "3703:17:6" } ], - "id": 641, - "name": "Assignment", - "src": "2812:58:6" + "id": 682, + "name": "FunctionCall", + "src": "3685:36:6" } ], - "id": 642, + "id": 683, "name": "ExpressionStatement", - "src": "2812:58:6" + "src": "3685:36:6" } - ], - "id": 643, - "name": "Block", - "src": "2797:85:6" - } - ], - "id": 644, - "name": "IfStatement", - "src": "2781:101:6" - } - ], - "id": 645, - "name": "IfStatement", - "src": "2340:542:6" - } - ], - "id": 646, - "name": "IfStatement", - "src": "2224:658:6" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "tokens", - "referencedDeclaration": 435, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 446, - "type": "struct StreamityCrowdsale.Ico storage ref", - "value": "ICO" - }, - "id": 647, - "name": "Identifier", - "src": "2898:3:6" - } - ], - "id": 648, - "name": "MemberAccess", - "src": "2898:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 557, - "type": "uint256", - "value": "_amount" - }, - "id": 649, - "name": "Identifier", - "src": "2911:7:6" + ], + "id": 684, + "name": "Block", + "src": "3632:122:6" + } + ], + "id": 685, + "name": "IfStatement", + "src": "3608:146:6" } ], - "id": 650, - "name": "BinaryOperation", - "src": "2898:20:6" + "id": 686, + "name": "Block", + "src": "3496:271:6" }, { "children": [ @@ -3979,27 +4886,110 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 433, - "type": "function (string memory)", - "value": "CrowdSaleFinished" + "referencedDeclaration": 742, + "type": "function (address,uint256)", + "value": "sell" }, - "id": 651, + "id": 687, "name": "Identifier", - "src": "2944:17:6" + "src": "3790:4:6" }, { "attributes": { "argumentTypes": null, - "arguments": [ + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 642, + "type": "address", + "value": "sender" + }, + "id": 688, + "name": "Identifier", + "src": "3795:6:6" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "tokens", + "referencedDeclaration": 407, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 418, + "type": "struct StreamityCrowdsale.Ico storage ref", + "value": "ICO" + }, + "id": 689, + "name": "Identifier", + "src": "3803:3:6" + } + ], + "id": 690, + "name": "MemberAccess", + "src": "3803:10:6" + } + ], + "id": 691, + "name": "FunctionCall", + "src": "3790:24:6" + } + ], + "id": 692, + "name": "ExpressionStatement", + "src": "3790:24:6" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ null ], + "referencedDeclaration": 401, + "type": "uint256", + "value": "weisRaised" + }, + "id": 693, + "name": "Identifier", + "src": "3872:10:6" + }, + { + "attributes": { + "argumentTypes": null, "isConstant": false, "isLValue": false, "isPure": false, @@ -4008,40 +4998,74 @@ "names": [ null ], - "type": "string memory", + "type": "uint256", "type_conversion": false }, "children": [ { "attributes": { "argumentTypes": [ - null + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "add", + "referencedDeclaration": 332, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 401, + "type": "uint256", + "value": "weisRaised" + }, + "id": 694, + "name": "Identifier", + "src": "3885:10:6" + } + ], + "id": 695, + "name": "MemberAccess", + "src": "3885:14:6" + }, + { + "attributes": { + "argumentTypes": null, "overloadedDeclarations": [ null ], - "referencedDeclaration": 549, - "type": "function () view returns (string memory)", - "value": "crowdSaleStatus" + "referencedDeclaration": 644, + "type": "uint256", + "value": "value" }, - "id": 652, + "id": 696, "name": "Identifier", - "src": "2962:15:6" + "src": "3900:5:6" } ], - "id": 653, + "id": 697, "name": "FunctionCall", - "src": "2962:17:6" + "src": "3885:21:6" } ], - "id": 654, - "name": "FunctionCall", - "src": "2944:36:6" + "id": 698, + "name": "Assignment", + "src": "3872:34:6" } ], - "id": 655, + "id": 699, "name": "ExpressionStatement", - "src": "2944:36:6" + "src": "3872:34:6" }, { "children": [ @@ -4071,32 +5095,29 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 216, + "referencedDeclaration": 213, "type": "function ()", "value": "pauseInternal" }, - "id": 656, + "id": 700, "name": "Identifier", - "src": "2995:13:6" + "src": "3923:13:6" } ], - "id": 657, + "id": 701, "name": "FunctionCall", - "src": "2995:15:6" + "src": "3923:15:6" } ], - "id": 658, + "id": 702, "name": "ExpressionStatement", - "src": "2995:15:6" + "src": "3923:15:6" }, { "children": [ { "attributes": { "argumentTypes": null, - "arguments": [ - null - ], "isConstant": false, "isLValue": false, "isPure": false, @@ -4112,39 +5133,179 @@ { "attributes": { "argumentTypes": [ - null + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1347, - "type": "function () pure", - "value": "revert" + "referencedDeclaration": 405, + "type": "function (string memory)", + "value": "CrowdSaleFinished" }, - "id": 659, + "id": 703, "name": "Identifier", - "src": "3027:6:6" + "src": "3953:17:6" + }, + { + "attributes": { + "argumentTypes": null, + "arguments": [ + null + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "string memory", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + null + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 640, + "type": "function () view returns (string memory)", + "value": "crowdSaleStatus" + }, + "id": 704, + "name": "Identifier", + "src": "3971:15:6" + } + ], + "id": 705, + "name": "FunctionCall", + "src": "3971:17:6" } ], - "id": 660, + "id": 706, "name": "FunctionCall", - "src": "3027:8:6" + "src": "3953:36:6" } ], - "id": 661, + "id": 707, "name": "ExpressionStatement", - "src": "3027:8:6" + "src": "3953:36:6" } ], - "id": 662, + "id": 708, "name": "Block", - "src": "2929:118:6" + "src": "3773:247:6" } ], - "id": 663, + "id": 709, "name": "IfStatement", - "src": "2894:153:6" + "src": "3486:534:6" + } + ], + "id": 710, + "name": "Block", + "src": "3369:658:6" + } + ], + "id": 711, + "name": "FunctionDefinition", + "src": "3300:727:6" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "sell", + "payable": false, + "scope": 827, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "internal" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "_investor", + "scope": 742, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 712, + "name": "ElementaryTypeName", + "src": "4122:7:6" + } + ], + "id": 713, + "name": "VariableDeclaration", + "src": "4122:17:6" }, + { + "attributes": { + "constant": false, + "name": "_amount", + "scope": 742, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 714, + "name": "ElementaryTypeName", + "src": "4141:7:6" + } + ], + "id": 715, + "name": "VariableDeclaration", + "src": "4141:15:6" + } + ], + "id": 716, + "name": "ParameterList", + "src": "4121:36:6" + }, + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 717, + "name": "ParameterList", + "src": "4172:0:6" + }, + { + "children": [ { "children": [ { @@ -4166,7 +5327,7 @@ "isPure": false, "lValueRequested": true, "member_name": "tokens", - "referencedDeclaration": 435, + "referencedDeclaration": 407, "type": "uint256" }, "children": [ @@ -4176,18 +5337,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 446, + "referencedDeclaration": 418, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 664, + "id": 718, "name": "Identifier", - "src": "3059:3:6" + "src": "4183:3:6" } ], - "id": 666, + "id": 720, "name": "MemberAccess", - "src": "3059:10:6" + "src": "4183:10:6" }, { "attributes": { @@ -4217,7 +5378,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -4229,7 +5390,7 @@ "isPure": false, "lValueRequested": false, "member_name": "tokens", - "referencedDeclaration": 435, + "referencedDeclaration": 407, "type": "uint256" }, "children": [ @@ -4239,23 +5400,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 446, + "referencedDeclaration": 418, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 667, + "id": 721, "name": "Identifier", - "src": "3072:3:6" + "src": "4196:3:6" } ], - "id": 668, + "id": 722, "name": "MemberAccess", - "src": "3072:10:6" + "src": "4196:10:6" } ], - "id": 669, + "id": 723, "name": "MemberAccess", - "src": "3072:14:6" + "src": "4196:14:6" }, { "attributes": { @@ -4263,28 +5424,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 557, + "referencedDeclaration": 715, "type": "uint256", "value": "_amount" }, - "id": 670, + "id": 724, "name": "Identifier", - "src": "3087:7:6" + "src": "4211:7:6" } ], - "id": 671, + "id": 725, "name": "FunctionCall", - "src": "3072:23:6" + "src": "4196:23:6" } ], - "id": 672, + "id": 726, "name": "Assignment", - "src": "3059:36:6" + "src": "4183:36:6" } ], - "id": 673, + "id": 727, "name": "ExpressionStatement", - "src": "3059:36:6" + "src": "4183:36:6" }, { "children": [ @@ -4305,13 +5466,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 674, + "id": 728, "name": "Identifier", - "src": "3106:15:6" + "src": "4230:15:6" }, { "attributes": { @@ -4341,7 +5502,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -4351,18 +5512,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 675, + "id": 729, "name": "Identifier", - "src": "3124:15:6" + "src": "4248:15:6" } ], - "id": 676, + "id": 730, "name": "MemberAccess", - "src": "3124:19:6" + "src": "4248:19:6" }, { "attributes": { @@ -4370,28 +5531,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 557, + "referencedDeclaration": 715, "type": "uint256", "value": "_amount" }, - "id": 677, + "id": 731, "name": "Identifier", - "src": "3144:7:6" + "src": "4268:7:6" } ], - "id": 678, + "id": 732, "name": "FunctionCall", - "src": "3124:28:6" + "src": "4248:28:6" } ], - "id": 679, + "id": 733, "name": "Assignment", - "src": "3106:46:6" + "src": "4230:46:6" } ], - "id": 680, + "id": 734, "name": "ExpressionStatement", - "src": "3106:46:6" + "src": "4230:46:6" }, { "children": [ @@ -4414,7 +5575,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_StreamityCrowdsale_$773", + "typeIdentifier": "t_contract$_StreamityCrowdsale_$827", "typeString": "contract StreamityCrowdsale" }, { @@ -4429,13 +5590,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 973, + "referencedDeclaration": 1027, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 681, + "id": 735, "name": "Identifier", - "src": "3165:9:6" + "src": "4289:9:6" }, { "attributes": { @@ -4443,13 +5604,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1368, + "referencedDeclaration": 1422, "type": "contract StreamityCrowdsale", "value": "this" }, - "id": 682, + "id": 736, "name": "Identifier", - "src": "3175:4:6" + "src": "4299:4:6" }, { "attributes": { @@ -4457,13 +5618,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 551, + "referencedDeclaration": 713, "type": "address", "value": "_investor" }, - "id": 683, + "id": 737, "name": "Identifier", - "src": "3181:9:6" + "src": "4305:9:6" }, { "attributes": { @@ -4471,33 +5632,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 557, + "referencedDeclaration": 715, "type": "uint256", "value": "_amount" }, - "id": 684, + "id": 738, "name": "Identifier", - "src": "3192:7:6" + "src": "4316:7:6" } ], - "id": 685, + "id": 739, "name": "FunctionCall", - "src": "3165:35:6" + "src": "4289:35:6" } ], - "id": 686, + "id": 740, "name": "ExpressionStatement", - "src": "3165:35:6" + "src": "4289:35:6" } ], - "id": 687, + "id": 741, "name": "Block", - "src": "2151:1057:6" + "src": "4172:160:6" } ], - "id": 688, + "id": 742, "name": "FunctionDefinition", - "src": "2088:1120:6" + "src": "4108:224:6" }, { "attributes": { @@ -4506,7 +5667,7 @@ "isConstructor": false, "name": "startCrowd", "payable": false, - "scope": 773, + "scope": 827, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4518,7 +5679,7 @@ "attributes": { "constant": false, "name": "_tokens", - "scope": 738, + "scope": 792, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4531,20 +5692,20 @@ "name": "uint256", "type": "uint256" }, - "id": 689, + "id": 743, "name": "ElementaryTypeName", - "src": "3751:7:6" + "src": "4875:7:6" } ], - "id": 690, + "id": 744, "name": "VariableDeclaration", - "src": "3751:15:6" + "src": "4875:15:6" }, { "attributes": { "constant": false, "name": "_startDate", - "scope": 738, + "scope": 792, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4557,20 +5718,20 @@ "name": "uint", "type": "uint256" }, - "id": 691, + "id": 745, "name": "ElementaryTypeName", - "src": "3768:4:6" + "src": "4892:4:6" } ], - "id": 692, + "id": 746, "name": "VariableDeclaration", - "src": "3768:15:6" + "src": "4892:15:6" }, { "attributes": { "constant": false, "name": "_endDate", - "scope": 738, + "scope": 792, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4583,20 +5744,20 @@ "name": "uint", "type": "uint256" }, - "id": 693, + "id": 747, "name": "ElementaryTypeName", - "src": "3785:4:6" + "src": "4909:4:6" } ], - "id": 694, + "id": 748, "name": "VariableDeclaration", - "src": "3785:13:6" + "src": "4909:13:6" }, { "attributes": { "constant": false, "name": "_discount", - "scope": 738, + "scope": 792, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -4609,20 +5770,20 @@ "name": "uint8", "type": "uint8" }, - "id": 695, + "id": 749, "name": "ElementaryTypeName", - "src": "3800:5:6" + "src": "4924:5:6" } ], - "id": 696, + "id": 750, "name": "VariableDeclaration", - "src": "3800:15:6" + "src": "4924:15:6" }, { "attributes": { "constant": false, "name": "_discountFirstDayICO", - "scope": 738, + "scope": 792, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -4635,19 +5796,19 @@ "name": "uint8", "type": "uint8" }, - "id": 697, + "id": 751, "name": "ElementaryTypeName", - "src": "3817:5:6" + "src": "4941:5:6" } ], - "id": 698, + "id": 752, "name": "VariableDeclaration", - "src": "3817:26:6" + "src": "4941:26:6" } ], - "id": 699, + "id": 753, "name": "ParameterList", - "src": "3750:94:6" + "src": "4874:94:6" }, { "attributes": { @@ -4656,9 +5817,9 @@ ] }, "children": [], - "id": 702, + "id": 756, "name": "ParameterList", - "src": "3867:0:6" + "src": "4991:0:6" }, { "attributes": { @@ -4677,14 +5838,14 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 700, + "id": 754, "name": "Identifier", - "src": "3852:9:6" + "src": "4976:9:6" } ], - "id": 701, + "id": 755, "name": "ModifierInvocation", - "src": "3852:9:6" + "src": "4976:9:6" }, { "children": [ @@ -4716,13 +5877,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 703, + "id": 757, "name": "Identifier", - "src": "3878:7:6" + "src": "5002:7:6" }, { "attributes": { @@ -4760,13 +5921,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 690, + "referencedDeclaration": 744, "type": "uint256", "value": "_tokens" }, - "id": 704, + "id": 758, "name": "Identifier", - "src": "3886:7:6" + "src": "5010:7:6" }, { "attributes": { @@ -4774,18 +5935,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 808, + "referencedDeclaration": 862, "type": "uint256", "value": "DEC" }, - "id": 705, + "id": 759, "name": "Identifier", - "src": "3896:3:6" + "src": "5020:3:6" } ], - "id": 706, + "id": 760, "name": "BinaryOperation", - "src": "3886:13:6" + "src": "5010:13:6" }, { "attributes": { @@ -4793,28 +5954,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 707, + "id": 761, "name": "Identifier", - "src": "3903:15:6" + "src": "5027:15:6" } ], - "id": 708, + "id": 762, "name": "BinaryOperation", - "src": "3886:32:6" + "src": "5010:32:6" } ], - "id": 709, + "id": 763, "name": "FunctionCall", - "src": "3878:41:6" + "src": "5002:41:6" } ], - "id": 710, + "id": 764, "name": "ExpressionStatement", - "src": "3878:41:6" + "src": "5002:41:6" }, { "children": [ @@ -4835,13 +5996,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 446, + "referencedDeclaration": 418, "type": "struct StreamityCrowdsale.Ico storage ref", "value": "ICO" }, - "id": 711, + "id": 765, "name": "Identifier", - "src": "3980:3:6" + "src": "5104:3:6" }, { "attributes": { @@ -4885,13 +6046,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 444, + "referencedDeclaration": 416, "type": "type(struct StreamityCrowdsale.Ico storage pointer)", "value": "Ico" }, - "id": 712, + "id": 766, "name": "Identifier", - "src": "3986:3:6" + "src": "5110:3:6" }, { "attributes": { @@ -4914,13 +6075,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 690, + "referencedDeclaration": 744, "type": "uint256", "value": "_tokens" }, - "id": 713, + "id": 767, "name": "Identifier", - "src": "3991:7:6" + "src": "5115:7:6" }, { "attributes": { @@ -4928,18 +6089,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 808, + "referencedDeclaration": 862, "type": "uint256", "value": "DEC" }, - "id": 714, + "id": 768, "name": "Identifier", - "src": "4001:3:6" + "src": "5125:3:6" } ], - "id": 715, + "id": 769, "name": "BinaryOperation", - "src": "3991:13:6" + "src": "5115:13:6" }, { "attributes": { @@ -4947,13 +6108,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 692, + "referencedDeclaration": 746, "type": "uint256", "value": "_startDate" }, - "id": 716, + "id": 770, "name": "Identifier", - "src": "4006:10:6" + "src": "5130:10:6" }, { "attributes": { @@ -4976,13 +6137,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 692, + "referencedDeclaration": 746, "type": "uint256", "value": "_startDate" }, - "id": 717, + "id": 771, "name": "Identifier", - "src": "4018:10:6" + "src": "5142:10:6" }, { "attributes": { @@ -5005,13 +6166,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 694, + "referencedDeclaration": 748, "type": "uint256", "value": "_endDate" }, - "id": 718, + "id": 772, "name": "Identifier", - "src": "4031:8:6" + "src": "5155:8:6" }, { "attributes": { @@ -5026,19 +6187,19 @@ "type": "int_const 86400", "value": "1" }, - "id": 719, + "id": 773, "name": "Literal", - "src": "4042:6:6" + "src": "5166:6:6" } ], - "id": 720, + "id": 774, "name": "BinaryOperation", - "src": "4031:17:6" + "src": "5155:17:6" } ], - "id": 721, + "id": 775, "name": "BinaryOperation", - "src": "4018:30:6" + "src": "5142:30:6" }, { "attributes": { @@ -5046,13 +6207,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 696, + "referencedDeclaration": 750, "type": "uint8", "value": "_discount" }, - "id": 722, + "id": 776, "name": "Identifier", - "src": "4051:9:6" + "src": "5175:9:6" }, { "attributes": { @@ -5060,28 +6221,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 698, + "referencedDeclaration": 752, "type": "uint8", "value": "_discountFirstDayICO" }, - "id": 723, + "id": 777, "name": "Identifier", - "src": "4062:20:6" + "src": "5186:20:6" } ], - "id": 724, + "id": 778, "name": "FunctionCall", - "src": "3986:97:6" + "src": "5110:97:6" } ], - "id": 725, + "id": 779, "name": "Assignment", - "src": "3980:103:6" + "src": "5104:103:6" } ], - "id": 726, + "id": 780, "name": "ExpressionStatement", - "src": "3980:103:6" + "src": "5104:103:6" }, { "children": [ @@ -5102,13 +6263,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 429, + "referencedDeclaration": 399, "type": "uint256", "value": "stage" }, - "id": 727, + "id": 781, "name": "Identifier", - "src": "4094:5:6" + "src": "5218:5:6" }, { "attributes": { @@ -5138,7 +6299,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 335, + "referencedDeclaration": 332, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -5148,18 +6309,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 429, + "referencedDeclaration": 399, "type": "uint256", "value": "stage" }, - "id": 728, + "id": 782, "name": "Identifier", - "src": "4102:5:6" + "src": "5226:5:6" } ], - "id": 729, + "id": 783, "name": "MemberAccess", - "src": "4102:9:6" + "src": "5226:9:6" }, { "attributes": { @@ -5174,24 +6335,24 @@ "type": "int_const 1", "value": "1" }, - "id": 730, + "id": 784, "name": "Literal", - "src": "4112:1:6" + "src": "5236:1:6" } ], - "id": 731, + "id": 785, "name": "FunctionCall", - "src": "4102:12:6" + "src": "5226:12:6" } ], - "id": 732, + "id": 786, "name": "Assignment", - "src": "4094:20:6" + "src": "5218:20:6" } ], - "id": 733, + "id": 787, "name": "ExpressionStatement", - "src": "4094:20:6" + "src": "5218:20:6" }, { "children": [ @@ -5221,33 +6382,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 240, + "referencedDeclaration": 237, "type": "function ()", "value": "unpauseInternal" }, - "id": 734, + "id": 788, "name": "Identifier", - "src": "4125:15:6" + "src": "5249:15:6" } ], - "id": 735, + "id": 789, "name": "FunctionCall", - "src": "4125:17:6" + "src": "5249:17:6" } ], - "id": 736, + "id": 790, "name": "ExpressionStatement", - "src": "4125:17:6" + "src": "5249:17:6" } ], - "id": 737, + "id": 791, "name": "Block", - "src": "3867:283:6" + "src": "4991:283:6" } ], - "id": 738, + "id": 792, "name": "FunctionDefinition", - "src": "3731:419:6" + "src": "4855:419:6" }, { "attributes": { @@ -5256,7 +6417,7 @@ "isConstructor": false, "name": "transferWeb3js", "payable": false, - "scope": 773, + "scope": 827, "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" @@ -5268,7 +6429,7 @@ "attributes": { "constant": false, "name": "_investor", - "scope": 753, + "scope": 807, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -5281,20 +6442,20 @@ "name": "address", "type": "address" }, - "id": 739, + "id": 793, "name": "ElementaryTypeName", - "src": "4414:7:6" + "src": "5538:7:6" } ], - "id": 740, + "id": 794, "name": "VariableDeclaration", - "src": "4414:17:6" + "src": "5538:17:6" }, { "attributes": { "constant": false, "name": "_amount", - "scope": 753, + "scope": 807, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5307,19 +6468,19 @@ "name": "uint256", "type": "uint256" }, - "id": 741, + "id": 795, "name": "ElementaryTypeName", - "src": "4433:7:6" + "src": "5557:7:6" } ], - "id": 742, + "id": 796, "name": "VariableDeclaration", - "src": "4433:15:6" + "src": "5557:15:6" } ], - "id": 743, + "id": 797, "name": "ParameterList", - "src": "4413:36:6" + "src": "5537:36:6" }, { "attributes": { @@ -5328,9 +6489,9 @@ ] }, "children": [], - "id": 746, + "id": 800, "name": "ParameterList", - "src": "4474:0:6" + "src": "5598:0:6" }, { "attributes": { @@ -5349,14 +6510,14 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 744, + "id": 798, "name": "Identifier", - "src": "4459:9:6" + "src": "5583:9:6" } ], - "id": 745, + "id": 799, "name": "ModifierInvocation", - "src": "4459:9:6" + "src": "5583:9:6" }, { "children": [ @@ -5392,13 +6553,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 688, + "referencedDeclaration": 742, "type": "function (address,uint256)", "value": "sell" }, - "id": 747, + "id": 801, "name": "Identifier", - "src": "4485:4:6" + "src": "5609:4:6" }, { "attributes": { @@ -5406,13 +6567,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 740, + "referencedDeclaration": 794, "type": "address", "value": "_investor" }, - "id": 748, + "id": 802, "name": "Identifier", - "src": "4490:9:6" + "src": "5614:9:6" }, { "attributes": { @@ -5420,33 +6581,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 742, + "referencedDeclaration": 796, "type": "uint256", "value": "_amount" }, - "id": 749, + "id": 803, "name": "Identifier", - "src": "4501:7:6" + "src": "5625:7:6" } ], - "id": 750, + "id": 804, "name": "FunctionCall", - "src": "4485:24:6" + "src": "5609:24:6" } ], - "id": 751, + "id": 805, "name": "ExpressionStatement", - "src": "4485:24:6" + "src": "5609:24:6" } ], - "id": 752, + "id": 806, "name": "Block", - "src": "4474:43:6" + "src": "5598:43:6" } ], - "id": 753, + "id": 807, "name": "FunctionDefinition", - "src": "4390:127:6" + "src": "5514:127:6" }, { "attributes": { @@ -5458,7 +6619,7 @@ ], "name": "withDiscount", "payable": false, - "scope": 773, + "scope": 827, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -5470,7 +6631,7 @@ "attributes": { "constant": false, "name": "_amount", - "scope": 772, + "scope": 826, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5483,20 +6644,20 @@ "name": "uint256", "type": "uint256" }, - "id": 754, + "id": 808, "name": "ElementaryTypeName", - "src": "4607:7:6" + "src": "5731:7:6" } ], - "id": 755, + "id": 809, "name": "VariableDeclaration", - "src": "4607:15:6" + "src": "5731:15:6" }, { "attributes": { "constant": false, "name": "_percent", - "scope": 772, + "scope": 826, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5509,19 +6670,19 @@ "name": "uint", "type": "uint256" }, - "id": 756, + "id": 810, "name": "ElementaryTypeName", - "src": "4624:4:6" + "src": "5748:4:6" } ], - "id": 757, + "id": 811, "name": "VariableDeclaration", - "src": "4624:13:6" + "src": "5748:13:6" } ], - "id": 758, + "id": 812, "name": "ParameterList", - "src": "4606:32:6" + "src": "5730:32:6" }, { "children": [ @@ -5529,7 +6690,7 @@ "attributes": { "constant": false, "name": "", - "scope": 772, + "scope": 826, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5542,25 +6703,25 @@ "name": "uint256", "type": "uint256" }, - "id": 759, + "id": 813, "name": "ElementaryTypeName", - "src": "4671:7:6" + "src": "5795:7:6" } ], - "id": 760, + "id": 814, "name": "VariableDeclaration", - "src": "4671:7:6" + "src": "5795:7:6" } ], - "id": 761, + "id": 815, "name": "ParameterList", - "src": "4670:9:6" + "src": "5794:9:6" }, { "children": [ { "attributes": { - "functionReturnParameters": 761 + "functionReturnParameters": 815 }, "children": [ { @@ -5591,7 +6752,7 @@ "isPure": false, "lValueRequested": false, "member_name": "div", - "referencedDeclaration": 291, + "referencedDeclaration": 288, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -5634,7 +6795,7 @@ "isPure": false, "lValueRequested": false, "member_name": "mul", - "referencedDeclaration": 273, + "referencedDeclaration": 270, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -5644,18 +6805,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 755, + "referencedDeclaration": 809, "type": "uint256", "value": "_amount" }, - "id": 762, + "id": 816, "name": "Identifier", - "src": "4704:7:6" + "src": "5828:7:6" } ], - "id": 763, + "id": 817, "name": "MemberAccess", - "src": "4704:11:6" + "src": "5828:11:6" }, { "attributes": { @@ -5663,28 +6824,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 757, + "referencedDeclaration": 811, "type": "uint256", "value": "_percent" }, - "id": 764, + "id": 818, "name": "Identifier", - "src": "4716:8:6" + "src": "5840:8:6" } ], - "id": 765, + "id": 819, "name": "FunctionCall", - "src": "4704:21:6" + "src": "5828:21:6" } ], - "id": 766, + "id": 820, "name": "TupleExpression", - "src": "4703:23:6" + "src": "5827:23:6" } ], - "id": 767, + "id": 821, "name": "MemberAccess", - "src": "4703:27:6" + "src": "5827:27:6" }, { "attributes": { @@ -5699,39 +6860,39 @@ "type": "int_const 100", "value": "100" }, - "id": 768, + "id": 822, "name": "Literal", - "src": "4731:3:6" + "src": "5855:3:6" } ], - "id": 769, + "id": 823, "name": "FunctionCall", - "src": "4703:32:6" + "src": "5827:32:6" } ], - "id": 770, + "id": 824, "name": "Return", - "src": "4696:39:6" + "src": "5820:39:6" } ], - "id": 771, + "id": 825, "name": "Block", - "src": "4685:58:6" + "src": "5809:58:6" } ], - "id": 772, + "id": 826, "name": "FunctionDefinition", - "src": "4585:158:6" + "src": "5709:158:6" } ], - "id": 773, + "id": 827, "name": "ContractDefinition", - "src": "82:4664:6" + "src": "82:5788:6" } ], - "id": 774, + "id": 828, "name": "SourceUnit", - "src": "0:4748:6" + "src": "0:5872:6" }, "compiler": { "name": "solc", @@ -5739,5 +6900,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-20T21:19:00.180Z" + "updatedAt": "2017-12-21T23:40:56.027Z" } \ No newline at end of file diff --git a/build/contracts/TokenERC20.json b/build/contracts/TokenERC20.json index 5f639d4..a1f8bf3 100644 --- a/build/contracts/TokenERC20.json +++ b/build/contracts/TokenERC20.json @@ -433,10 +433,10 @@ "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/TokenERC20.sol", "exportedSymbols": { "TokenERC20": [ - 1331 + 1385 ], "tokenRecipient": [ - 789 + 843 ] } }, @@ -450,22 +450,22 @@ ".18" ] }, - "id": 775, + "id": 829, "name": "PragmaDirective", "src": "0:24:7" }, { "attributes": { - "SourceUnit": 337, + "SourceUnit": 334, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/SafeMath.sol", "file": "./SafeMath.sol", - "scope": 1332, + "scope": 1386, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 776, + "id": 830, "name": "ImportDirective", "src": "28:24:7" }, @@ -474,13 +474,13 @@ "SourceUnit": 161, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/Ownable.sol", "file": "./Ownable.sol", - "scope": 1332, + "scope": 1386, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 777, + "id": 831, "name": "ImportDirective", "src": "54:23:7" }, @@ -496,10 +496,10 @@ "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ - 789 + 843 ], "name": "tokenRecipient", - "scope": 1332 + "scope": 1386 }, "children": [ { @@ -513,7 +513,7 @@ ], "name": "receiveApproval", "payable": false, - "scope": 789, + "scope": 843, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -525,7 +525,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 788, + "scope": 842, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -538,12 +538,12 @@ "name": "address", "type": "address" }, - "id": 778, + "id": 832, "name": "ElementaryTypeName", "src": "139:7:7" } ], - "id": 779, + "id": 833, "name": "VariableDeclaration", "src": "139:13:7" }, @@ -551,7 +551,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 788, + "scope": 842, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -564,12 +564,12 @@ "name": "uint256", "type": "uint256" }, - "id": 780, + "id": 834, "name": "ElementaryTypeName", "src": "154:7:7" } ], - "id": 781, + "id": 835, "name": "VariableDeclaration", "src": "154:14:7" }, @@ -577,7 +577,7 @@ "attributes": { "constant": false, "name": "_token", - "scope": 788, + "scope": 842, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -590,12 +590,12 @@ "name": "address", "type": "address" }, - "id": 782, + "id": 836, "name": "ElementaryTypeName", "src": "170:7:7" } ], - "id": 783, + "id": 837, "name": "VariableDeclaration", "src": "170:14:7" }, @@ -603,7 +603,7 @@ "attributes": { "constant": false, "name": "_extraData", - "scope": 788, + "scope": 842, "stateVariable": false, "storageLocation": "default", "type": "bytes memory", @@ -616,17 +616,17 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 784, + "id": 838, "name": "ElementaryTypeName", "src": "186:5:7" } ], - "id": 785, + "id": 839, "name": "VariableDeclaration", "src": "186:16:7" } ], - "id": 786, + "id": 840, "name": "ParameterList", "src": "138:65:7" }, @@ -637,17 +637,17 @@ ] }, "children": [], - "id": 787, + "id": 841, "name": "ParameterList", "src": "210:0:7" } ], - "id": 788, + "id": 842, "name": "FunctionDefinition", "src": "114:97:7" } ], - "id": 789, + "id": 843, "name": "ContractDefinition", "src": "81:133:7" }, @@ -660,11 +660,11 @@ "documentation": null, "fullyImplemented": true, "linearizedBaseContracts": [ - 1331, + 1385, 160 ], "name": "TokenERC20", - "scope": 1332 + "scope": 1386 }, "children": [ { @@ -681,12 +681,12 @@ "referencedDeclaration": 160, "type": "contract Ownable" }, - "id": 790, + "id": 844, "name": "UserDefinedTypeName", "src": "241:7:7" } ], - "id": 791, + "id": 845, "name": "InheritanceSpecifier", "src": "241:7:7" }, @@ -696,10 +696,10 @@ "attributes": { "contractScope": null, "name": "SafeMath", - "referencedDeclaration": 336, + "referencedDeclaration": 333, "type": "library SafeMath" }, - "id": 792, + "id": 846, "name": "UserDefinedTypeName", "src": "263:8:7" }, @@ -708,12 +708,12 @@ "name": "uint", "type": "uint256" }, - "id": 793, + "id": 847, "name": "ElementaryTypeName", "src": "276:4:7" } ], - "id": 794, + "id": 848, "name": "UsingForDirective", "src": "257:24:7" }, @@ -721,7 +721,7 @@ "attributes": { "constant": false, "name": "name", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -734,12 +734,12 @@ "name": "string", "type": "string storage pointer" }, - "id": 795, + "id": 849, "name": "ElementaryTypeName", "src": "327:6:7" } ], - "id": 796, + "id": 850, "name": "VariableDeclaration", "src": "327:18:7" }, @@ -747,7 +747,7 @@ "attributes": { "constant": false, "name": "symbol", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -760,12 +760,12 @@ "name": "string", "type": "string storage pointer" }, - "id": 797, + "id": 851, "name": "ElementaryTypeName", "src": "352:6:7" } ], - "id": 798, + "id": 852, "name": "VariableDeclaration", "src": "352:20:7" }, @@ -773,7 +773,7 @@ "attributes": { "constant": false, "name": "decimals", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -785,7 +785,7 @@ "name": "uint256", "type": "uint256" }, - "id": 799, + "id": 853, "name": "ElementaryTypeName", "src": "379:7:7" }, @@ -802,12 +802,12 @@ "type": "int_const 18", "value": "18" }, - "id": 800, + "id": 854, "name": "Literal", "src": "405:2:7" } ], - "id": 801, + "id": 855, "name": "VariableDeclaration", "src": "379:28:7" }, @@ -815,7 +815,7 @@ "attributes": { "constant": false, "name": "DEC", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -827,7 +827,7 @@ "name": "uint256", "type": "uint256" }, - "id": 802, + "id": 856, "name": "ElementaryTypeName", "src": "414:7:7" }, @@ -859,7 +859,7 @@ "type": "int_const 10", "value": "10" }, - "id": 803, + "id": 857, "name": "Literal", "src": "428:2:7" }, @@ -893,7 +893,7 @@ "type": "type(uint256)", "value": "uint256" }, - "id": 804, + "id": 858, "name": "ElementaryTypeNameExpression", "src": "434:7:7" }, @@ -903,26 +903,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 855, "type": "uint256", "value": "decimals" }, - "id": 805, + "id": 859, "name": "Identifier", "src": "442:8:7" } ], - "id": 806, + "id": 860, "name": "FunctionCall", "src": "434:17:7" } ], - "id": 807, + "id": 861, "name": "BinaryOperation", "src": "428:23:7" } ], - "id": 808, + "id": 862, "name": "VariableDeclaration", "src": "414:37:7" }, @@ -930,7 +930,7 @@ "attributes": { "constant": false, "name": "totalSupply", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -943,12 +943,12 @@ "name": "uint256", "type": "uint256" }, - "id": 809, + "id": 863, "name": "ElementaryTypeName", "src": "458:7:7" } ], - "id": 810, + "id": 864, "name": "VariableDeclaration", "src": "458:26:7" }, @@ -956,7 +956,7 @@ "attributes": { "constant": false, "name": "avaliableSupply", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -969,12 +969,12 @@ "name": "uint256", "type": "uint256" }, - "id": 811, + "id": 865, "name": "ElementaryTypeName", "src": "491:7:7" } ], - "id": 812, + "id": 866, "name": "VariableDeclaration", "src": "491:30:7" }, @@ -982,7 +982,7 @@ "attributes": { "constant": false, "name": "buyPrice", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -994,7 +994,7 @@ "name": "uint256", "type": "uint256" }, - "id": 813, + "id": 867, "name": "ElementaryTypeName", "src": "528:7:7" }, @@ -1011,12 +1011,12 @@ "type": "int_const 1000000000000000000", "value": "1000000000000000000" }, - "id": 814, + "id": 868, "name": "Literal", "src": "554:23:7" } ], - "id": 815, + "id": 869, "name": "VariableDeclaration", "src": "528:49:7" }, @@ -1024,7 +1024,7 @@ "attributes": { "constant": false, "name": "balanceOf", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => uint256)", @@ -1042,7 +1042,7 @@ "name": "address", "type": "address" }, - "id": 816, + "id": 870, "name": "ElementaryTypeName", "src": "643:7:7" }, @@ -1051,17 +1051,17 @@ "name": "uint256", "type": "uint256" }, - "id": 817, + "id": 871, "name": "ElementaryTypeName", "src": "654:7:7" } ], - "id": 818, + "id": 872, "name": "Mapping", "src": "634:28:7" } ], - "id": 819, + "id": 873, "name": "VariableDeclaration", "src": "634:45:7" }, @@ -1069,7 +1069,7 @@ "attributes": { "constant": false, "name": "allowance", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => uint256))", @@ -1087,7 +1087,7 @@ "name": "address", "type": "address" }, - "id": 820, + "id": 874, "name": "ElementaryTypeName", "src": "695:7:7" }, @@ -1101,7 +1101,7 @@ "name": "address", "type": "address" }, - "id": 821, + "id": 875, "name": "ElementaryTypeName", "src": "715:7:7" }, @@ -1110,22 +1110,22 @@ "name": "uint256", "type": "uint256" }, - "id": 822, + "id": 876, "name": "ElementaryTypeName", "src": "726:7:7" } ], - "id": 823, + "id": 877, "name": "Mapping", "src": "706:28:7" } ], - "id": 824, + "id": 878, "name": "Mapping", "src": "686:49:7" } ], - "id": 825, + "id": 879, "name": "VariableDeclaration", "src": "686:66:7" }, @@ -1142,7 +1142,7 @@ "constant": false, "indexed": true, "name": "from", - "scope": 833, + "scope": 887, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1155,12 +1155,12 @@ "name": "address", "type": "address" }, - "id": 826, + "id": 880, "name": "ElementaryTypeName", "src": "857:7:7" } ], - "id": 827, + "id": 881, "name": "VariableDeclaration", "src": "857:20:7" }, @@ -1169,7 +1169,7 @@ "constant": false, "indexed": true, "name": "to", - "scope": 833, + "scope": 887, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1182,12 +1182,12 @@ "name": "address", "type": "address" }, - "id": 828, + "id": 882, "name": "ElementaryTypeName", "src": "879:7:7" } ], - "id": 829, + "id": 883, "name": "VariableDeclaration", "src": "879:18:7" }, @@ -1196,7 +1196,7 @@ "constant": false, "indexed": false, "name": "value", - "scope": 833, + "scope": 887, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1209,22 +1209,22 @@ "name": "uint256", "type": "uint256" }, - "id": 830, + "id": 884, "name": "ElementaryTypeName", "src": "899:7:7" } ], - "id": 831, + "id": 885, "name": "VariableDeclaration", "src": "899:13:7" } ], - "id": 832, + "id": 886, "name": "ParameterList", "src": "856:57:7" } ], - "id": 833, + "id": 887, "name": "EventDefinition", "src": "842:72:7" }, @@ -1241,7 +1241,7 @@ "constant": false, "indexed": true, "name": "from", - "scope": 839, + "scope": 893, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1254,12 +1254,12 @@ "name": "address", "type": "address" }, - "id": 834, + "id": 888, "name": "ElementaryTypeName", "src": "931:7:7" } ], - "id": 835, + "id": 889, "name": "VariableDeclaration", "src": "931:20:7" }, @@ -1268,7 +1268,7 @@ "constant": false, "indexed": false, "name": "value", - "scope": 839, + "scope": 893, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1281,22 +1281,22 @@ "name": "uint256", "type": "uint256" }, - "id": 836, + "id": 890, "name": "ElementaryTypeName", "src": "953:7:7" } ], - "id": 837, + "id": 891, "name": "VariableDeclaration", "src": "953:13:7" } ], - "id": 838, + "id": 892, "name": "ParameterList", "src": "930:37:7" } ], - "id": 839, + "id": 893, "name": "EventDefinition", "src": "920:48:7" }, @@ -1313,7 +1313,7 @@ "constant": false, "indexed": true, "name": "_owner", - "scope": 847, + "scope": 901, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1326,12 +1326,12 @@ "name": "address", "type": "address" }, - "id": 840, + "id": 894, "name": "ElementaryTypeName", "src": "989:7:7" } ], - "id": 841, + "id": 895, "name": "VariableDeclaration", "src": "989:22:7" }, @@ -1340,7 +1340,7 @@ "constant": false, "indexed": true, "name": "_spender", - "scope": 847, + "scope": 901, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1353,12 +1353,12 @@ "name": "address", "type": "address" }, - "id": 842, + "id": 896, "name": "ElementaryTypeName", "src": "1013:7:7" } ], - "id": 843, + "id": 897, "name": "VariableDeclaration", "src": "1013:24:7" }, @@ -1367,7 +1367,7 @@ "constant": false, "indexed": false, "name": "_value", - "scope": 847, + "scope": 901, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1380,22 +1380,22 @@ "name": "uint256", "type": "uint256" }, - "id": 844, + "id": 898, "name": "ElementaryTypeName", "src": "1039:7:7" } ], - "id": 845, + "id": 899, "name": "VariableDeclaration", "src": "1039:14:7" } ], - "id": 846, + "id": 900, "name": "ParameterList", "src": "988:66:7" } ], - "id": 847, + "id": 901, "name": "EventDefinition", "src": "974:81:7" }, @@ -1409,7 +1409,7 @@ ], "name": "TokenERC20", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1421,7 +1421,7 @@ "attributes": { "constant": false, "name": "initialSupply", - "scope": 884, + "scope": 938, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1434,12 +1434,12 @@ "name": "uint256", "type": "uint256" }, - "id": 848, + "id": 902, "name": "ElementaryTypeName", "src": "1234:7:7" } ], - "id": 849, + "id": 903, "name": "VariableDeclaration", "src": "1234:21:7" }, @@ -1447,7 +1447,7 @@ "attributes": { "constant": false, "name": "tokenName", - "scope": 884, + "scope": 938, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -1460,12 +1460,12 @@ "name": "string", "type": "string storage pointer" }, - "id": 850, + "id": 904, "name": "ElementaryTypeName", "src": "1266:6:7" } ], - "id": 851, + "id": 905, "name": "VariableDeclaration", "src": "1266:16:7" }, @@ -1473,7 +1473,7 @@ "attributes": { "constant": false, "name": "tokenSymbol", - "scope": 884, + "scope": 938, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -1486,17 +1486,17 @@ "name": "string", "type": "string storage pointer" }, - "id": 852, + "id": 906, "name": "ElementaryTypeName", "src": "1293:6:7" } ], - "id": 853, + "id": 907, "name": "VariableDeclaration", "src": "1293:18:7" } ], - "id": 854, + "id": 908, "name": "ParameterList", "src": "1223:95:7" }, @@ -1507,7 +1507,7 @@ ] }, "children": [], - "id": 855, + "id": 909, "name": "ParameterList", "src": "1331:0:7" }, @@ -1532,11 +1532,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 810, + "referencedDeclaration": 864, "type": "uint256", "value": "totalSupply" }, - "id": 856, + "id": 910, "name": "Identifier", "src": "1342:11:7" }, @@ -1568,7 +1568,7 @@ "isPure": false, "lValueRequested": false, "member_name": "mul", - "referencedDeclaration": 273, + "referencedDeclaration": 270, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1578,16 +1578,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 849, + "referencedDeclaration": 903, "type": "uint256", "value": "initialSupply" }, - "id": 857, + "id": 911, "name": "Identifier", "src": "1356:13:7" } ], - "id": 858, + "id": 912, "name": "MemberAccess", "src": "1356:17:7" }, @@ -1597,26 +1597,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 808, + "referencedDeclaration": 862, "type": "uint256", "value": "DEC" }, - "id": 859, + "id": 913, "name": "Identifier", "src": "1374:3:7" } ], - "id": 860, + "id": 914, "name": "FunctionCall", "src": "1356:22:7" } ], - "id": 861, + "id": 915, "name": "Assignment", "src": "1342:36:7" } ], - "id": 862, + "id": 916, "name": "ExpressionStatement", "src": "1342:36:7" }, @@ -1649,11 +1649,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 863, + "id": 917, "name": "Identifier", "src": "1437:9:7" }, @@ -1663,16 +1663,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1360, + "referencedDeclaration": 1414, "type": "contract TokenERC20", "value": "this" }, - "id": 864, + "id": 918, "name": "Identifier", "src": "1447:4:7" } ], - "id": 865, + "id": 919, "name": "IndexAccess", "src": "1437:15:7" }, @@ -1682,21 +1682,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 810, + "referencedDeclaration": 864, "type": "uint256", "value": "totalSupply" }, - "id": 866, + "id": 920, "name": "Identifier", "src": "1455:11:7" } ], - "id": 867, + "id": 921, "name": "Assignment", "src": "1437:29:7" } ], - "id": 868, + "id": 922, "name": "ExpressionStatement", "src": "1437:29:7" }, @@ -1719,11 +1719,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 869, + "id": 923, "name": "Identifier", "src": "1524:15:7" }, @@ -1743,11 +1743,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 870, + "id": 924, "name": "Identifier", "src": "1542:9:7" }, @@ -1757,26 +1757,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1360, + "referencedDeclaration": 1414, "type": "contract TokenERC20", "value": "this" }, - "id": 871, + "id": 925, "name": "Identifier", "src": "1552:4:7" } ], - "id": 872, + "id": 926, "name": "IndexAccess", "src": "1542:15:7" } ], - "id": 873, + "id": 927, "name": "Assignment", "src": "1524:33:7" } ], - "id": 874, + "id": 928, "name": "ExpressionStatement", "src": "1524:33:7" }, @@ -1799,11 +1799,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 850, "type": "string storage ref", "value": "name" }, - "id": 875, + "id": 929, "name": "Identifier", "src": "1608:4:7" }, @@ -1813,21 +1813,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 851, + "referencedDeclaration": 905, "type": "string memory", "value": "tokenName" }, - "id": 876, + "id": 930, "name": "Identifier", "src": "1615:9:7" } ], - "id": 877, + "id": 931, "name": "Assignment", "src": "1608:16:7" } ], - "id": 878, + "id": 932, "name": "ExpressionStatement", "src": "1608:16:7" }, @@ -1850,11 +1850,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 798, + "referencedDeclaration": 852, "type": "string storage ref", "value": "symbol" }, - "id": 879, + "id": 933, "name": "Identifier", "src": "1693:6:7" }, @@ -1864,31 +1864,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 853, + "referencedDeclaration": 907, "type": "string memory", "value": "tokenSymbol" }, - "id": 880, + "id": 934, "name": "Identifier", "src": "1702:11:7" } ], - "id": 881, + "id": 935, "name": "Assignment", "src": "1693:20:7" } ], - "id": 882, + "id": 936, "name": "ExpressionStatement", "src": "1693:20:7" } ], - "id": 883, + "id": 937, "name": "Block", "src": "1331:446:7" } ], - "id": 884, + "id": 938, "name": "FunctionDefinition", "src": "1204:573:7" }, @@ -1902,7 +1902,7 @@ ], "name": "_transfer", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -1914,7 +1914,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 973, + "scope": 1027, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1927,12 +1927,12 @@ "name": "address", "type": "address" }, - "id": 885, + "id": 939, "name": "ElementaryTypeName", "src": "2033:7:7" } ], - "id": 886, + "id": 940, "name": "VariableDeclaration", "src": "2033:13:7" }, @@ -1940,7 +1940,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 973, + "scope": 1027, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1953,12 +1953,12 @@ "name": "address", "type": "address" }, - "id": 887, + "id": 941, "name": "ElementaryTypeName", "src": "2048:7:7" } ], - "id": 888, + "id": 942, "name": "VariableDeclaration", "src": "2048:11:7" }, @@ -1966,7 +1966,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 973, + "scope": 1027, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1979,17 +1979,17 @@ "name": "uint256", "type": "uint256" }, - "id": 889, + "id": 943, "name": "ElementaryTypeName", "src": "2061:7:7" } ], - "id": 890, + "id": 944, "name": "VariableDeclaration", "src": "2061:14:7" } ], - "id": 891, + "id": 945, "name": "ParameterList", "src": "2032:44:7" }, @@ -2000,7 +2000,7 @@ ] }, "children": [], - "id": 892, + "id": 946, "name": "ParameterList", "src": "2091:0:7" }, @@ -2034,11 +2034,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 893, + "id": 947, "name": "Identifier", "src": "2166:7:7" }, @@ -2063,11 +2063,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 894, + "id": 948, "name": "Identifier", "src": "2174:3:7" }, @@ -2084,22 +2084,22 @@ "type": "int_const 0", "value": "0x0" }, - "id": 895, + "id": 949, "name": "Literal", "src": "2181:3:7" } ], - "id": 896, + "id": 950, "name": "BinaryOperation", "src": "2174:10:7" } ], - "id": 897, + "id": 951, "name": "FunctionCall", "src": "2166:19:7" } ], - "id": 898, + "id": 952, "name": "ExpressionStatement", "src": "2166:19:7" }, @@ -2131,11 +2131,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 899, + "id": 953, "name": "Identifier", "src": "2239:7:7" }, @@ -2170,11 +2170,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 900, + "id": 954, "name": "Identifier", "src": "2247:9:7" }, @@ -2184,16 +2184,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 940, "type": "address", "value": "_from" }, - "id": 901, + "id": 955, "name": "Identifier", "src": "2257:5:7" } ], - "id": 902, + "id": 956, "name": "IndexAccess", "src": "2247:16:7" }, @@ -2203,26 +2203,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 944, "type": "uint256", "value": "_value" }, - "id": 903, + "id": 957, "name": "Identifier", "src": "2267:6:7" } ], - "id": 904, + "id": 958, "name": "BinaryOperation", "src": "2247:26:7" } ], - "id": 905, + "id": 959, "name": "FunctionCall", "src": "2239:35:7" } ], - "id": 906, + "id": 960, "name": "ExpressionStatement", "src": "2239:35:7" }, @@ -2254,11 +2254,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 907, + "id": 961, "name": "Identifier", "src": "2317:7:7" }, @@ -2305,7 +2305,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 335, + "referencedDeclaration": 332, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2325,11 +2325,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 908, + "id": 962, "name": "Identifier", "src": "2325:9:7" }, @@ -2339,21 +2339,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 909, + "id": 963, "name": "Identifier", "src": "2335:3:7" } ], - "id": 910, + "id": 964, "name": "IndexAccess", "src": "2325:14:7" } ], - "id": 911, + "id": 965, "name": "MemberAccess", "src": "2325:18:7" }, @@ -2363,16 +2363,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 944, "type": "uint256", "value": "_value" }, - "id": 912, + "id": 966, "name": "Identifier", "src": "2344:6:7" } ], - "id": 913, + "id": 967, "name": "FunctionCall", "src": "2325:26:7" }, @@ -2392,11 +2392,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 914, + "id": 968, "name": "Identifier", "src": "2354:9:7" }, @@ -2406,38 +2406,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 915, + "id": 969, "name": "Identifier", "src": "2364:3:7" } ], - "id": 916, + "id": 970, "name": "IndexAccess", "src": "2354:14:7" } ], - "id": 917, + "id": 971, "name": "BinaryOperation", "src": "2325:43:7" } ], - "id": 918, + "id": 972, "name": "FunctionCall", "src": "2317:52:7" } ], - "id": 919, + "id": 973, "name": "ExpressionStatement", "src": "2317:52:7" }, { "attributes": { "assignments": [ - 921 + 975 ] }, "children": [ @@ -2445,7 +2445,7 @@ "attributes": { "constant": false, "name": "previousBalances", - "scope": 973, + "scope": 1027, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2458,12 +2458,12 @@ "name": "uint", "type": "uint256" }, - "id": 920, + "id": 974, "name": "ElementaryTypeName", "src": "2433:4:7" } ], - "id": 921, + "id": 975, "name": "VariableDeclaration", "src": "2433:21:7" }, @@ -2495,7 +2495,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 335, + "referencedDeclaration": 332, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2515,11 +2515,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 922, + "id": 976, "name": "Identifier", "src": "2457:9:7" }, @@ -2529,21 +2529,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 940, "type": "address", "value": "_from" }, - "id": 923, + "id": 977, "name": "Identifier", "src": "2467:5:7" } ], - "id": 924, + "id": 978, "name": "IndexAccess", "src": "2457:16:7" } ], - "id": 925, + "id": 979, "name": "MemberAccess", "src": "2457:20:7" }, @@ -2563,11 +2563,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 926, + "id": 980, "name": "Identifier", "src": "2478:9:7" }, @@ -2577,26 +2577,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 927, + "id": 981, "name": "Identifier", "src": "2488:3:7" } ], - "id": 928, + "id": 982, "name": "IndexAccess", "src": "2478:14:7" } ], - "id": 929, + "id": 983, "name": "FunctionCall", "src": "2457:36:7" } ], - "id": 930, + "id": 984, "name": "VariableDeclarationStatement", "src": "2433:60:7" }, @@ -2629,11 +2629,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 931, + "id": 985, "name": "Identifier", "src": "2541:9:7" }, @@ -2643,16 +2643,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 940, "type": "address", "value": "_from" }, - "id": 932, + "id": 986, "name": "Identifier", "src": "2551:5:7" } ], - "id": 933, + "id": 987, "name": "IndexAccess", "src": "2541:16:7" }, @@ -2684,7 +2684,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2704,11 +2704,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 934, + "id": 988, "name": "Identifier", "src": "2560:9:7" }, @@ -2718,21 +2718,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 940, "type": "address", "value": "_from" }, - "id": 935, + "id": 989, "name": "Identifier", "src": "2570:5:7" } ], - "id": 936, + "id": 990, "name": "IndexAccess", "src": "2560:16:7" } ], - "id": 937, + "id": 991, "name": "MemberAccess", "src": "2560:20:7" }, @@ -2742,26 +2742,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 944, "type": "uint256", "value": "_value" }, - "id": 938, + "id": 992, "name": "Identifier", "src": "2581:6:7" } ], - "id": 939, + "id": 993, "name": "FunctionCall", "src": "2560:28:7" } ], - "id": 940, + "id": 994, "name": "Assignment", "src": "2541:47:7" } ], - "id": 941, + "id": 995, "name": "ExpressionStatement", "src": "2541:47:7" }, @@ -2794,11 +2794,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 942, + "id": 996, "name": "Identifier", "src": "2641:9:7" }, @@ -2808,16 +2808,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 943, + "id": 997, "name": "Identifier", "src": "2651:3:7" } ], - "id": 944, + "id": 998, "name": "IndexAccess", "src": "2641:14:7" }, @@ -2849,7 +2849,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 335, + "referencedDeclaration": 332, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2869,11 +2869,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 945, + "id": 999, "name": "Identifier", "src": "2658:9:7" }, @@ -2883,21 +2883,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 946, + "id": 1000, "name": "Identifier", "src": "2668:3:7" } ], - "id": 947, + "id": 1001, "name": "IndexAccess", "src": "2658:14:7" } ], - "id": 948, + "id": 1002, "name": "MemberAccess", "src": "2658:18:7" }, @@ -2907,26 +2907,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 944, "type": "uint256", "value": "_value" }, - "id": 949, + "id": 1003, "name": "Identifier", "src": "2677:6:7" } ], - "id": 950, + "id": 1004, "name": "FunctionCall", "src": "2658:26:7" } ], - "id": 951, + "id": 1005, "name": "Assignment", "src": "2641:43:7" } ], - "id": 952, + "id": 1006, "name": "ExpressionStatement", "src": "2641:43:7" }, @@ -2966,11 +2966,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 833, + "referencedDeclaration": 887, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 953, + "id": 1007, "name": "Identifier", "src": "2697:8:7" }, @@ -2980,11 +2980,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 940, "type": "address", "value": "_from" }, - "id": 954, + "id": 1008, "name": "Identifier", "src": "2706:5:7" }, @@ -2994,11 +2994,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 955, + "id": 1009, "name": "Identifier", "src": "2713:3:7" }, @@ -3008,21 +3008,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 944, "type": "uint256", "value": "_value" }, - "id": 956, + "id": 1010, "name": "Identifier", "src": "2718:6:7" } ], - "id": 957, + "id": 1011, "name": "FunctionCall", "src": "2697:28:7" } ], - "id": 958, + "id": 1012, "name": "ExpressionStatement", "src": "2697:28:7" }, @@ -3054,11 +3054,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 1388, "type": "function (bool) pure", "value": "assert" }, - "id": 959, + "id": 1013, "name": "Identifier", "src": "2838:6:7" }, @@ -3105,7 +3105,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 335, + "referencedDeclaration": 332, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -3125,11 +3125,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 960, + "id": 1014, "name": "Identifier", "src": "2845:9:7" }, @@ -3139,21 +3139,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 940, "type": "address", "value": "_from" }, - "id": 961, + "id": 1015, "name": "Identifier", "src": "2855:5:7" } ], - "id": 962, + "id": 1016, "name": "IndexAccess", "src": "2845:16:7" } ], - "id": 963, + "id": 1017, "name": "MemberAccess", "src": "2845:20:7" }, @@ -3173,11 +3173,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 964, + "id": 1018, "name": "Identifier", "src": "2866:9:7" }, @@ -3187,21 +3187,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 965, + "id": 1019, "name": "Identifier", "src": "2876:3:7" } ], - "id": 966, + "id": 1020, "name": "IndexAccess", "src": "2866:14:7" } ], - "id": 967, + "id": 1021, "name": "FunctionCall", "src": "2845:36:7" }, @@ -3211,36 +3211,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 921, + "referencedDeclaration": 975, "type": "uint256", "value": "previousBalances" }, - "id": 968, + "id": 1022, "name": "Identifier", "src": "2885:16:7" } ], - "id": 969, + "id": 1023, "name": "BinaryOperation", "src": "2845:56:7" } ], - "id": 970, + "id": 1024, "name": "FunctionCall", "src": "2838:64:7" } ], - "id": 971, + "id": 1025, "name": "ExpressionStatement", "src": "2838:64:7" } ], - "id": 972, + "id": 1026, "name": "Block", "src": "2091:819:7" } ], - "id": 973, + "id": 1027, "name": "FunctionDefinition", "src": "2014:896:7" }, @@ -3254,7 +3254,7 @@ ], "name": "transfer", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3266,7 +3266,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 988, + "scope": 1042, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3279,12 +3279,12 @@ "name": "address", "type": "address" }, - "id": 974, + "id": 1028, "name": "ElementaryTypeName", "src": "3139:7:7" } ], - "id": 975, + "id": 1029, "name": "VariableDeclaration", "src": "3139:11:7" }, @@ -3292,7 +3292,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 988, + "scope": 1042, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3305,17 +3305,17 @@ "name": "uint256", "type": "uint256" }, - "id": 976, + "id": 1030, "name": "ElementaryTypeName", "src": "3152:7:7" } ], - "id": 977, + "id": 1031, "name": "VariableDeclaration", "src": "3152:14:7" } ], - "id": 978, + "id": 1032, "name": "ParameterList", "src": "3138:29:7" }, @@ -3326,7 +3326,7 @@ ] }, "children": [], - "id": 979, + "id": 1033, "name": "ParameterList", "src": "3180:0:7" }, @@ -3368,11 +3368,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 973, + "referencedDeclaration": 1027, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 980, + "id": 1034, "name": "Identifier", "src": "3191:9:7" }, @@ -3394,16 +3394,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 981, + "id": 1035, "name": "Identifier", "src": "3201:3:7" } ], - "id": 982, + "id": 1036, "name": "MemberAccess", "src": "3201:10:7" }, @@ -3413,11 +3413,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 975, + "referencedDeclaration": 1029, "type": "address", "value": "_to" }, - "id": 983, + "id": 1037, "name": "Identifier", "src": "3213:3:7" }, @@ -3427,31 +3427,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 977, + "referencedDeclaration": 1031, "type": "uint256", "value": "_value" }, - "id": 984, + "id": 1038, "name": "Identifier", "src": "3218:6:7" } ], - "id": 985, + "id": 1039, "name": "FunctionCall", "src": "3191:34:7" } ], - "id": 986, + "id": 1040, "name": "ExpressionStatement", "src": "3191:34:7" } ], - "id": 987, + "id": 1041, "name": "Block", "src": "3180:53:7" } ], - "id": 988, + "id": 1042, "name": "FunctionDefinition", "src": "3121:112:7" }, @@ -3465,7 +3465,7 @@ ], "name": "transferFrom", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3477,7 +3477,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 1036, + "scope": 1090, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3490,12 +3490,12 @@ "name": "address", "type": "address" }, - "id": 989, + "id": 1043, "name": "ElementaryTypeName", "src": "3535:7:7" } ], - "id": 990, + "id": 1044, "name": "VariableDeclaration", "src": "3535:13:7" }, @@ -3503,7 +3503,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 1036, + "scope": 1090, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3516,12 +3516,12 @@ "name": "address", "type": "address" }, - "id": 991, + "id": 1045, "name": "ElementaryTypeName", "src": "3550:7:7" } ], - "id": 992, + "id": 1046, "name": "VariableDeclaration", "src": "3550:11:7" }, @@ -3529,7 +3529,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1036, + "scope": 1090, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3542,17 +3542,17 @@ "name": "uint256", "type": "uint256" }, - "id": 993, + "id": 1047, "name": "ElementaryTypeName", "src": "3563:7:7" } ], - "id": 994, + "id": 1048, "name": "VariableDeclaration", "src": "3563:14:7" } ], - "id": 995, + "id": 1049, "name": "ParameterList", "src": "3534:44:7" }, @@ -3562,7 +3562,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1036, + "scope": 1090, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -3575,17 +3575,17 @@ "name": "bool", "type": "bool" }, - "id": 996, + "id": 1050, "name": "ElementaryTypeName", "src": "3604:4:7" } ], - "id": 997, + "id": 1051, "name": "VariableDeclaration", "src": "3604:12:7" } ], - "id": 998, + "id": 1052, "name": "ParameterList", "src": "3603:14:7" }, @@ -3619,11 +3619,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 999, + "id": 1053, "name": "Identifier", "src": "3634:7:7" }, @@ -3648,11 +3648,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 994, + "referencedDeclaration": 1048, "type": "uint256", "value": "_value" }, - "id": 1000, + "id": 1054, "name": "Identifier", "src": "3642:6:7" }, @@ -3682,11 +3682,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1001, + "id": 1055, "name": "Identifier", "src": "3652:9:7" }, @@ -3696,16 +3696,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 990, + "referencedDeclaration": 1044, "type": "address", "value": "_from" }, - "id": 1002, + "id": 1056, "name": "Identifier", "src": "3662:5:7" } ], - "id": 1003, + "id": 1057, "name": "IndexAccess", "src": "3652:16:7" }, @@ -3727,36 +3727,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1004, + "id": 1058, "name": "Identifier", "src": "3669:3:7" } ], - "id": 1005, + "id": 1059, "name": "MemberAccess", "src": "3669:10:7" } ], - "id": 1006, + "id": 1060, "name": "IndexAccess", "src": "3652:28:7" } ], - "id": 1007, + "id": 1061, "name": "BinaryOperation", "src": "3642:38:7" } ], - "id": 1008, + "id": 1062, "name": "FunctionCall", "src": "3634:47:7" } ], - "id": 1009, + "id": 1063, "name": "ExpressionStatement", "src": "3634:47:7" }, @@ -3799,11 +3799,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1010, + "id": 1064, "name": "Identifier", "src": "3717:9:7" }, @@ -3813,16 +3813,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 990, + "referencedDeclaration": 1044, "type": "address", "value": "_from" }, - "id": 1011, + "id": 1065, "name": "Identifier", "src": "3727:5:7" } ], - "id": 1014, + "id": 1068, "name": "IndexAccess", "src": "3717:16:7" }, @@ -3844,21 +3844,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1012, + "id": 1066, "name": "Identifier", "src": "3734:3:7" } ], - "id": 1013, + "id": 1067, "name": "MemberAccess", "src": "3734:10:7" } ], - "id": 1015, + "id": 1069, "name": "IndexAccess", "src": "3717:28:7" }, @@ -3890,7 +3890,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -3920,11 +3920,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1016, + "id": 1070, "name": "Identifier", "src": "3748:9:7" }, @@ -3934,16 +3934,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 990, + "referencedDeclaration": 1044, "type": "address", "value": "_from" }, - "id": 1017, + "id": 1071, "name": "Identifier", "src": "3758:5:7" } ], - "id": 1018, + "id": 1072, "name": "IndexAccess", "src": "3748:16:7" }, @@ -3965,26 +3965,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1019, + "id": 1073, "name": "Identifier", "src": "3765:3:7" } ], - "id": 1020, + "id": 1074, "name": "MemberAccess", "src": "3765:10:7" } ], - "id": 1021, + "id": 1075, "name": "IndexAccess", "src": "3748:28:7" } ], - "id": 1022, + "id": 1076, "name": "MemberAccess", "src": "3748:32:7" }, @@ -3994,26 +3994,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 994, + "referencedDeclaration": 1048, "type": "uint256", "value": "_value" }, - "id": 1023, + "id": 1077, "name": "Identifier", "src": "3781:6:7" } ], - "id": 1024, + "id": 1078, "name": "FunctionCall", "src": "3748:40:7" } ], - "id": 1025, + "id": 1079, "name": "Assignment", "src": "3717:71:7" } ], - "id": 1026, + "id": 1080, "name": "ExpressionStatement", "src": "3717:71:7" }, @@ -4053,11 +4053,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 973, + "referencedDeclaration": 1027, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 1027, + "id": 1081, "name": "Identifier", "src": "3799:9:7" }, @@ -4067,11 +4067,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 990, + "referencedDeclaration": 1044, "type": "address", "value": "_from" }, - "id": 1028, + "id": 1082, "name": "Identifier", "src": "3809:5:7" }, @@ -4081,11 +4081,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 992, + "referencedDeclaration": 1046, "type": "address", "value": "_to" }, - "id": 1029, + "id": 1083, "name": "Identifier", "src": "3816:3:7" }, @@ -4095,27 +4095,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 994, + "referencedDeclaration": 1048, "type": "uint256", "value": "_value" }, - "id": 1030, + "id": 1084, "name": "Identifier", "src": "3821:6:7" } ], - "id": 1031, + "id": 1085, "name": "FunctionCall", "src": "3799:29:7" } ], - "id": 1032, + "id": 1086, "name": "ExpressionStatement", "src": "3799:29:7" }, { "attributes": { - "functionReturnParameters": 998 + "functionReturnParameters": 1052 }, "children": [ { @@ -4131,22 +4131,22 @@ "type": "bool", "value": "true" }, - "id": 1033, + "id": 1087, "name": "Literal", "src": "3848:4:7" } ], - "id": 1034, + "id": 1088, "name": "Return", "src": "3841:11:7" } ], - "id": 1035, + "id": 1089, "name": "Block", "src": "3623:237:7" } ], - "id": 1036, + "id": 1090, "name": "FunctionDefinition", "src": "3513:347:7" }, @@ -4160,7 +4160,7 @@ ], "name": "approve", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4172,7 +4172,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1057, + "scope": 1111, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4185,12 +4185,12 @@ "name": "address", "type": "address" }, - "id": 1037, + "id": 1091, "name": "ElementaryTypeName", "src": "4146:7:7" } ], - "id": 1038, + "id": 1092, "name": "VariableDeclaration", "src": "4146:16:7" }, @@ -4198,7 +4198,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1057, + "scope": 1111, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4211,17 +4211,17 @@ "name": "uint256", "type": "uint256" }, - "id": 1039, + "id": 1093, "name": "ElementaryTypeName", "src": "4164:7:7" } ], - "id": 1040, + "id": 1094, "name": "VariableDeclaration", "src": "4164:14:7" } ], - "id": 1041, + "id": 1095, "name": "ParameterList", "src": "4145:34:7" }, @@ -4231,7 +4231,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1057, + "scope": 1111, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -4244,17 +4244,17 @@ "name": "bool", "type": "bool" }, - "id": 1042, + "id": 1096, "name": "ElementaryTypeName", "src": "4205:4:7" } ], - "id": 1043, + "id": 1097, "name": "VariableDeclaration", "src": "4205:12:7" } ], - "id": 1044, + "id": 1098, "name": "ParameterList", "src": "4204:14:7" }, @@ -4299,11 +4299,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1045, + "id": 1099, "name": "Identifier", "src": "4235:9:7" }, @@ -4325,21 +4325,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1046, + "id": 1100, "name": "Identifier", "src": "4245:3:7" } ], - "id": 1047, + "id": 1101, "name": "MemberAccess", "src": "4245:10:7" } ], - "id": 1049, + "id": 1103, "name": "IndexAccess", "src": "4235:21:7" }, @@ -4349,16 +4349,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1038, + "referencedDeclaration": 1092, "type": "address", "value": "_spender" }, - "id": 1048, + "id": 1102, "name": "Identifier", "src": "4257:8:7" } ], - "id": 1050, + "id": 1104, "name": "IndexAccess", "src": "4235:31:7" }, @@ -4368,27 +4368,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1040, + "referencedDeclaration": 1094, "type": "uint256", "value": "_value" }, - "id": 1051, + "id": 1105, "name": "Identifier", "src": "4269:6:7" } ], - "id": 1052, + "id": 1106, "name": "Assignment", "src": "4235:40:7" } ], - "id": 1053, + "id": 1107, "name": "ExpressionStatement", "src": "4235:40:7" }, { "attributes": { - "functionReturnParameters": 1044 + "functionReturnParameters": 1098 }, "children": [ { @@ -4404,22 +4404,22 @@ "type": "bool", "value": "true" }, - "id": 1054, + "id": 1108, "name": "Literal", "src": "4295:4:7" } ], - "id": 1055, + "id": 1109, "name": "Return", "src": "4288:11:7" } ], - "id": 1056, + "id": 1110, "name": "Block", "src": "4224:83:7" } ], - "id": 1057, + "id": 1111, "name": "FunctionDefinition", "src": "4129:178:7" }, @@ -4430,7 +4430,7 @@ "isConstructor": false, "name": "approveAndCall", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4442,7 +4442,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1095, + "scope": 1149, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4455,12 +4455,12 @@ "name": "address", "type": "address" }, - "id": 1058, + "id": 1112, "name": "ElementaryTypeName", "src": "4730:7:7" } ], - "id": 1059, + "id": 1113, "name": "VariableDeclaration", "src": "4730:16:7" }, @@ -4468,7 +4468,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1095, + "scope": 1149, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4481,12 +4481,12 @@ "name": "uint256", "type": "uint256" }, - "id": 1060, + "id": 1114, "name": "ElementaryTypeName", "src": "4748:7:7" } ], - "id": 1061, + "id": 1115, "name": "VariableDeclaration", "src": "4748:14:7" }, @@ -4494,7 +4494,7 @@ "attributes": { "constant": false, "name": "_extraData", - "scope": 1095, + "scope": 1149, "stateVariable": false, "storageLocation": "default", "type": "bytes memory", @@ -4507,17 +4507,17 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 1062, + "id": 1116, "name": "ElementaryTypeName", "src": "4764:5:7" } ], - "id": 1063, + "id": 1117, "name": "VariableDeclaration", "src": "4764:16:7" } ], - "id": 1064, + "id": 1118, "name": "ParameterList", "src": "4729:52:7" }, @@ -4527,7 +4527,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1095, + "scope": 1149, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -4540,17 +4540,17 @@ "name": "bool", "type": "bool" }, - "id": 1067, + "id": 1121, "name": "ElementaryTypeName", "src": "4817:4:7" } ], - "id": 1068, + "id": 1122, "name": "VariableDeclaration", "src": "4817:12:7" } ], - "id": 1069, + "id": 1123, "name": "ParameterList", "src": "4816:14:7" }, @@ -4571,12 +4571,12 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 1065, + "id": 1119, "name": "Identifier", "src": "4789:9:7" } ], - "id": 1066, + "id": 1120, "name": "ModifierInvocation", "src": "4789:9:7" }, @@ -4585,7 +4585,7 @@ { "attributes": { "assignments": [ - 1071 + 1125 ] }, "children": [ @@ -4593,7 +4593,7 @@ "attributes": { "constant": false, "name": "spender", - "scope": 1095, + "scope": 1149, "stateVariable": false, "storageLocation": "default", "type": "contract tokenRecipient", @@ -4605,15 +4605,15 @@ "attributes": { "contractScope": null, "name": "tokenRecipient", - "referencedDeclaration": 789, + "referencedDeclaration": 843, "type": "contract tokenRecipient" }, - "id": 1070, + "id": 1124, "name": "UserDefinedTypeName", "src": "4847:14:7" } ], - "id": 1071, + "id": 1125, "name": "VariableDeclaration", "src": "4847:22:7" }, @@ -4643,11 +4643,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 789, + "referencedDeclaration": 843, "type": "type(contract tokenRecipient)", "value": "tokenRecipient" }, - "id": 1072, + "id": 1126, "name": "Identifier", "src": "4872:14:7" }, @@ -4657,21 +4657,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1059, + "referencedDeclaration": 1113, "type": "address", "value": "_spender" }, - "id": 1073, + "id": 1127, "name": "Identifier", "src": "4887:8:7" } ], - "id": 1074, + "id": 1128, "name": "FunctionCall", "src": "4872:24:7" } ], - "id": 1075, + "id": 1129, "name": "VariableDeclarationStatement", "src": "4847:49:7" }, @@ -4710,11 +4710,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1057, + "referencedDeclaration": 1111, "type": "function (address,uint256) returns (bool)", "value": "approve" }, - "id": 1076, + "id": 1130, "name": "Identifier", "src": "4913:7:7" }, @@ -4724,11 +4724,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1059, + "referencedDeclaration": 1113, "type": "address", "value": "_spender" }, - "id": 1077, + "id": 1131, "name": "Identifier", "src": "4921:8:7" }, @@ -4738,16 +4738,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1061, + "referencedDeclaration": 1115, "type": "uint256", "value": "_value" }, - "id": 1078, + "id": 1132, "name": "Identifier", "src": "4931:6:7" } ], - "id": 1079, + "id": 1133, "name": "FunctionCall", "src": "4913:25:7" }, @@ -4782,7 +4782,7 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_contract$_TokenERC20_$1331", + "typeIdentifier": "t_contract$_TokenERC20_$1385", "typeString": "contract TokenERC20" }, { @@ -4795,7 +4795,7 @@ "isPure": false, "lValueRequested": false, "member_name": "receiveApproval", - "referencedDeclaration": 788, + "referencedDeclaration": 842, "type": "function (address,uint256,address,bytes memory) external" }, "children": [ @@ -4805,16 +4805,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1071, + "referencedDeclaration": 1125, "type": "contract tokenRecipient", "value": "spender" }, - "id": 1080, + "id": 1134, "name": "Identifier", "src": "4955:7:7" } ], - "id": 1082, + "id": 1136, "name": "MemberAccess", "src": "4955:23:7" }, @@ -4836,16 +4836,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1083, + "id": 1137, "name": "Identifier", "src": "4979:3:7" } ], - "id": 1084, + "id": 1138, "name": "MemberAccess", "src": "4979:10:7" }, @@ -4855,11 +4855,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1061, + "referencedDeclaration": 1115, "type": "uint256", "value": "_value" }, - "id": 1085, + "id": 1139, "name": "Identifier", "src": "4991:6:7" }, @@ -4869,11 +4869,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1360, + "referencedDeclaration": 1414, "type": "contract TokenERC20", "value": "this" }, - "id": 1086, + "id": 1140, "name": "Identifier", "src": "4999:4:7" }, @@ -4883,27 +4883,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1063, + "referencedDeclaration": 1117, "type": "bytes memory", "value": "_extraData" }, - "id": 1087, + "id": 1141, "name": "Identifier", "src": "5005:10:7" } ], - "id": 1088, + "id": 1142, "name": "FunctionCall", "src": "4955:61:7" } ], - "id": 1089, + "id": 1143, "name": "ExpressionStatement", "src": "4955:61:7" }, { "attributes": { - "functionReturnParameters": 1069 + "functionReturnParameters": 1123 }, "children": [ { @@ -4919,32 +4919,32 @@ "type": "bool", "value": "true" }, - "id": 1090, + "id": 1144, "name": "Literal", "src": "5040:4:7" } ], - "id": 1091, + "id": 1145, "name": "Return", "src": "5033:11:7" } ], - "id": 1092, + "id": 1146, "name": "Block", "src": "4940:116:7" } ], - "id": 1093, + "id": 1147, "name": "IfStatement", "src": "4909:147:7" } ], - "id": 1094, + "id": 1148, "name": "Block", "src": "4836:227:7" } ], - "id": 1095, + "id": 1149, "name": "FunctionDefinition", "src": "4706:357:7" }, @@ -4958,7 +4958,7 @@ ], "name": "increaseApproval", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4970,7 +4970,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1136, + "scope": 1190, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4983,12 +4983,12 @@ "name": "address", "type": "address" }, - "id": 1096, + "id": 1150, "name": "ElementaryTypeName", "src": "5352:7:7" } ], - "id": 1097, + "id": 1151, "name": "VariableDeclaration", "src": "5352:16:7" }, @@ -4996,7 +4996,7 @@ "attributes": { "constant": false, "name": "_addedValue", - "scope": 1136, + "scope": 1190, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5009,17 +5009,17 @@ "name": "uint", "type": "uint256" }, - "id": 1098, + "id": 1152, "name": "ElementaryTypeName", "src": "5370:4:7" } ], - "id": 1099, + "id": 1153, "name": "VariableDeclaration", "src": "5370:16:7" } ], - "id": 1100, + "id": 1154, "name": "ParameterList", "src": "5351:36:7" }, @@ -5029,7 +5029,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1136, + "scope": 1190, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -5042,17 +5042,17 @@ "name": "bool", "type": "bool" }, - "id": 1101, + "id": 1155, "name": "ElementaryTypeName", "src": "5413:4:7" } ], - "id": 1102, + "id": 1156, "name": "VariableDeclaration", "src": "5413:12:7" } ], - "id": 1103, + "id": 1157, "name": "ParameterList", "src": "5412:14:7" }, @@ -5097,11 +5097,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1104, + "id": 1158, "name": "Identifier", "src": "5443:9:7" }, @@ -5123,21 +5123,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1105, + "id": 1159, "name": "Identifier", "src": "5453:3:7" } ], - "id": 1106, + "id": 1160, "name": "MemberAccess", "src": "5453:10:7" } ], - "id": 1108, + "id": 1162, "name": "IndexAccess", "src": "5443:21:7" }, @@ -5147,16 +5147,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1151, "type": "address", "value": "_spender" }, - "id": 1107, + "id": 1161, "name": "Identifier", "src": "5465:8:7" } ], - "id": 1109, + "id": 1163, "name": "IndexAccess", "src": "5443:31:7" }, @@ -5188,7 +5188,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 335, + "referencedDeclaration": 332, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -5218,11 +5218,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1110, + "id": 1164, "name": "Identifier", "src": "5477:9:7" }, @@ -5244,21 +5244,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1111, + "id": 1165, "name": "Identifier", "src": "5487:3:7" } ], - "id": 1112, + "id": 1166, "name": "MemberAccess", "src": "5487:10:7" } ], - "id": 1113, + "id": 1167, "name": "IndexAccess", "src": "5477:21:7" }, @@ -5268,21 +5268,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1151, "type": "address", "value": "_spender" }, - "id": 1114, + "id": 1168, "name": "Identifier", "src": "5499:8:7" } ], - "id": 1115, + "id": 1169, "name": "IndexAccess", "src": "5477:31:7" } ], - "id": 1116, + "id": 1170, "name": "MemberAccess", "src": "5477:35:7" }, @@ -5292,26 +5292,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1099, + "referencedDeclaration": 1153, "type": "uint256", "value": "_addedValue" }, - "id": 1117, + "id": 1171, "name": "Identifier", "src": "5513:11:7" } ], - "id": 1118, + "id": 1172, "name": "FunctionCall", "src": "5477:48:7" } ], - "id": 1119, + "id": 1173, "name": "Assignment", "src": "5443:82:7" } ], - "id": 1120, + "id": 1174, "name": "ExpressionStatement", "src": "5443:82:7" }, @@ -5351,11 +5351,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 901, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 1121, + "id": 1175, "name": "Identifier", "src": "5538:8:7" }, @@ -5377,16 +5377,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1122, + "id": 1176, "name": "Identifier", "src": "5547:3:7" } ], - "id": 1123, + "id": 1177, "name": "MemberAccess", "src": "5547:10:7" }, @@ -5396,11 +5396,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1151, "type": "address", "value": "_spender" }, - "id": 1124, + "id": 1178, "name": "Identifier", "src": "5559:8:7" }, @@ -5430,11 +5430,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1125, + "id": 1179, "name": "Identifier", "src": "5569:9:7" }, @@ -5456,21 +5456,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1126, + "id": 1180, "name": "Identifier", "src": "5579:3:7" } ], - "id": 1127, + "id": 1181, "name": "MemberAccess", "src": "5579:10:7" } ], - "id": 1128, + "id": 1182, "name": "IndexAccess", "src": "5569:21:7" }, @@ -5480,32 +5480,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1151, "type": "address", "value": "_spender" }, - "id": 1129, + "id": 1183, "name": "Identifier", "src": "5591:8:7" } ], - "id": 1130, + "id": 1184, "name": "IndexAccess", "src": "5569:31:7" } ], - "id": 1131, + "id": 1185, "name": "FunctionCall", "src": "5538:63:7" } ], - "id": 1132, + "id": 1186, "name": "ExpressionStatement", "src": "5538:63:7" }, { "attributes": { - "functionReturnParameters": 1103 + "functionReturnParameters": 1157 }, "children": [ { @@ -5521,22 +5521,22 @@ "type": "bool", "value": "true" }, - "id": 1133, + "id": 1187, "name": "Literal", "src": "5621:4:7" } ], - "id": 1134, + "id": 1188, "name": "Return", "src": "5614:11:7" } ], - "id": 1135, + "id": 1189, "name": "Block", "src": "5432:201:7" } ], - "id": 1136, + "id": 1190, "name": "FunctionDefinition", "src": "5325:308:7" }, @@ -5550,7 +5550,7 @@ ], "name": "decreaseApproval", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -5562,7 +5562,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1196, + "scope": 1250, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -5575,12 +5575,12 @@ "name": "address", "type": "address" }, - "id": 1137, + "id": 1191, "name": "ElementaryTypeName", "src": "5668:7:7" } ], - "id": 1138, + "id": 1192, "name": "VariableDeclaration", "src": "5668:16:7" }, @@ -5588,7 +5588,7 @@ "attributes": { "constant": false, "name": "_subtractedValue", - "scope": 1196, + "scope": 1250, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5601,17 +5601,17 @@ "name": "uint", "type": "uint256" }, - "id": 1139, + "id": 1193, "name": "ElementaryTypeName", "src": "5686:4:7" } ], - "id": 1140, + "id": 1194, "name": "VariableDeclaration", "src": "5686:21:7" } ], - "id": 1141, + "id": 1195, "name": "ParameterList", "src": "5667:41:7" }, @@ -5621,7 +5621,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1196, + "scope": 1250, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -5634,17 +5634,17 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 1196, "name": "ElementaryTypeName", "src": "5734:4:7" } ], - "id": 1143, + "id": 1197, "name": "VariableDeclaration", "src": "5734:12:7" } ], - "id": 1144, + "id": 1198, "name": "ParameterList", "src": "5733:14:7" }, @@ -5653,7 +5653,7 @@ { "attributes": { "assignments": [ - 1146 + 1200 ] }, "children": [ @@ -5661,7 +5661,7 @@ "attributes": { "constant": false, "name": "oldValue", - "scope": 1196, + "scope": 1250, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5674,12 +5674,12 @@ "name": "uint", "type": "uint256" }, - "id": 1145, + "id": 1199, "name": "ElementaryTypeName", "src": "5764:4:7" } ], - "id": 1146, + "id": 1200, "name": "VariableDeclaration", "src": "5764:13:7" }, @@ -5709,11 +5709,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1147, + "id": 1201, "name": "Identifier", "src": "5780:9:7" }, @@ -5735,21 +5735,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1148, + "id": 1202, "name": "Identifier", "src": "5790:3:7" } ], - "id": 1149, + "id": 1203, "name": "MemberAccess", "src": "5790:10:7" } ], - "id": 1150, + "id": 1204, "name": "IndexAccess", "src": "5780:21:7" }, @@ -5759,21 +5759,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1138, + "referencedDeclaration": 1192, "type": "address", "value": "_spender" }, - "id": 1151, + "id": 1205, "name": "Identifier", "src": "5802:8:7" } ], - "id": 1152, + "id": 1206, "name": "IndexAccess", "src": "5780:31:7" } ], - "id": 1153, + "id": 1207, "name": "VariableDeclarationStatement", "src": "5764:47:7" }, @@ -5800,11 +5800,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1140, + "referencedDeclaration": 1194, "type": "uint256", "value": "_subtractedValue" }, - "id": 1154, + "id": 1208, "name": "Identifier", "src": "5828:16:7" }, @@ -5814,16 +5814,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 1200, "type": "uint256", "value": "oldValue" }, - "id": 1155, + "id": 1209, "name": "Identifier", "src": "5847:8:7" } ], - "id": 1156, + "id": 1210, "name": "BinaryOperation", "src": "5828:27:7" }, @@ -5868,11 +5868,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1157, + "id": 1211, "name": "Identifier", "src": "5872:9:7" }, @@ -5894,21 +5894,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1158, + "id": 1212, "name": "Identifier", "src": "5882:3:7" } ], - "id": 1159, + "id": 1213, "name": "MemberAccess", "src": "5882:10:7" } ], - "id": 1161, + "id": 1215, "name": "IndexAccess", "src": "5872:21:7" }, @@ -5918,16 +5918,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1138, + "referencedDeclaration": 1192, "type": "address", "value": "_spender" }, - "id": 1160, + "id": 1214, "name": "Identifier", "src": "5894:8:7" } ], - "id": 1162, + "id": 1216, "name": "IndexAccess", "src": "5872:31:7" }, @@ -5944,22 +5944,22 @@ "type": "int_const 0", "value": "0" }, - "id": 1163, + "id": 1217, "name": "Literal", "src": "5906:1:7" } ], - "id": 1164, + "id": 1218, "name": "Assignment", "src": "5872:35:7" } ], - "id": 1165, + "id": 1219, "name": "ExpressionStatement", "src": "5872:35:7" } ], - "id": 1166, + "id": 1220, "name": "Block", "src": "5857:62:7" }, @@ -6004,11 +6004,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1167, + "id": 1221, "name": "Identifier", "src": "5940:9:7" }, @@ -6030,21 +6030,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1168, + "id": 1222, "name": "Identifier", "src": "5950:3:7" } ], - "id": 1169, + "id": 1223, "name": "MemberAccess", "src": "5950:10:7" } ], - "id": 1171, + "id": 1225, "name": "IndexAccess", "src": "5940:21:7" }, @@ -6054,16 +6054,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1138, + "referencedDeclaration": 1192, "type": "address", "value": "_spender" }, - "id": 1170, + "id": 1224, "name": "Identifier", "src": "5962:8:7" } ], - "id": 1172, + "id": 1226, "name": "IndexAccess", "src": "5940:31:7" }, @@ -6095,7 +6095,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -6105,16 +6105,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 1200, "type": "uint256", "value": "oldValue" }, - "id": 1173, + "id": 1227, "name": "Identifier", "src": "5974:8:7" } ], - "id": 1174, + "id": 1228, "name": "MemberAccess", "src": "5974:12:7" }, @@ -6124,36 +6124,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1140, + "referencedDeclaration": 1194, "type": "uint256", "value": "_subtractedValue" }, - "id": 1175, + "id": 1229, "name": "Identifier", "src": "5987:16:7" } ], - "id": 1176, + "id": 1230, "name": "FunctionCall", "src": "5974:30:7" } ], - "id": 1177, + "id": 1231, "name": "Assignment", "src": "5940:64:7" } ], - "id": 1178, + "id": 1232, "name": "ExpressionStatement", "src": "5940:64:7" } ], - "id": 1179, + "id": 1233, "name": "Block", "src": "5925:91:7" } ], - "id": 1180, + "id": 1234, "name": "IfStatement", "src": "5824:192:7" }, @@ -6193,11 +6193,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 901, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 1181, + "id": 1235, "name": "Identifier", "src": "6028:8:7" }, @@ -6219,16 +6219,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1182, + "id": 1236, "name": "Identifier", "src": "6037:3:7" } ], - "id": 1183, + "id": 1237, "name": "MemberAccess", "src": "6037:10:7" }, @@ -6238,11 +6238,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1138, + "referencedDeclaration": 1192, "type": "address", "value": "_spender" }, - "id": 1184, + "id": 1238, "name": "Identifier", "src": "6049:8:7" }, @@ -6272,11 +6272,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1185, + "id": 1239, "name": "Identifier", "src": "6059:9:7" }, @@ -6298,21 +6298,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1186, + "id": 1240, "name": "Identifier", "src": "6069:3:7" } ], - "id": 1187, + "id": 1241, "name": "MemberAccess", "src": "6069:10:7" } ], - "id": 1188, + "id": 1242, "name": "IndexAccess", "src": "6059:21:7" }, @@ -6322,32 +6322,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1138, + "referencedDeclaration": 1192, "type": "address", "value": "_spender" }, - "id": 1189, + "id": 1243, "name": "Identifier", "src": "6081:8:7" } ], - "id": 1190, + "id": 1244, "name": "IndexAccess", "src": "6059:31:7" } ], - "id": 1191, + "id": 1245, "name": "FunctionCall", "src": "6028:63:7" } ], - "id": 1192, + "id": 1246, "name": "ExpressionStatement", "src": "6028:63:7" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 1198 }, "children": [ { @@ -6363,22 +6363,22 @@ "type": "bool", "value": "true" }, - "id": 1193, + "id": 1247, "name": "Literal", "src": "6111:4:7" } ], - "id": 1194, + "id": 1248, "name": "Return", "src": "6104:11:7" } ], - "id": 1195, + "id": 1249, "name": "Block", "src": "5753:370:7" } ], - "id": 1196, + "id": 1250, "name": "FunctionDefinition", "src": "5641:482:7" }, @@ -6389,7 +6389,7 @@ "isConstructor": false, "name": "burn", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6401,7 +6401,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1250, + "scope": 1304, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6414,17 +6414,17 @@ "name": "uint256", "type": "uint256" }, - "id": 1197, + "id": 1251, "name": "ElementaryTypeName", "src": "6312:7:7" } ], - "id": 1198, + "id": 1252, "name": "VariableDeclaration", "src": "6312:14:7" } ], - "id": 1199, + "id": 1253, "name": "ParameterList", "src": "6311:16:7" }, @@ -6434,7 +6434,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1250, + "scope": 1304, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -6447,17 +6447,17 @@ "name": "bool", "type": "bool" }, - "id": 1202, + "id": 1256, "name": "ElementaryTypeName", "src": "6363:4:7" } ], - "id": 1203, + "id": 1257, "name": "VariableDeclaration", "src": "6363:12:7" } ], - "id": 1204, + "id": 1258, "name": "ParameterList", "src": "6362:14:7" }, @@ -6478,12 +6478,12 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 1200, + "id": 1254, "name": "Identifier", "src": "6335:9:7" } ], - "id": 1201, + "id": 1255, "name": "ModifierInvocation", "src": "6335:9:7" }, @@ -6517,11 +6517,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 1205, + "id": 1259, "name": "Identifier", "src": "6393:7:7" }, @@ -6556,11 +6556,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1206, + "id": 1260, "name": "Identifier", "src": "6401:9:7" }, @@ -6582,21 +6582,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1207, + "id": 1261, "name": "Identifier", "src": "6411:3:7" } ], - "id": 1208, + "id": 1262, "name": "MemberAccess", "src": "6411:10:7" } ], - "id": 1209, + "id": 1263, "name": "IndexAccess", "src": "6401:21:7" }, @@ -6606,26 +6606,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1198, + "referencedDeclaration": 1252, "type": "uint256", "value": "_value" }, - "id": 1210, + "id": 1264, "name": "Identifier", "src": "6426:6:7" } ], - "id": 1211, + "id": 1265, "name": "BinaryOperation", "src": "6401:31:7" } ], - "id": 1212, + "id": 1266, "name": "FunctionCall", "src": "6393:40:7" } ], - "id": 1213, + "id": 1267, "name": "ExpressionStatement", "src": "6393:40:7" }, @@ -6658,11 +6658,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1214, + "id": 1268, "name": "Identifier", "src": "6482:9:7" }, @@ -6684,21 +6684,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1215, + "id": 1269, "name": "Identifier", "src": "6492:3:7" } ], - "id": 1216, + "id": 1270, "name": "MemberAccess", "src": "6492:10:7" } ], - "id": 1217, + "id": 1271, "name": "IndexAccess", "src": "6482:21:7" }, @@ -6730,7 +6730,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -6750,11 +6750,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1218, + "id": 1272, "name": "Identifier", "src": "6506:9:7" }, @@ -6776,26 +6776,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1219, + "id": 1273, "name": "Identifier", "src": "6516:3:7" } ], - "id": 1220, + "id": 1274, "name": "MemberAccess", "src": "6516:10:7" } ], - "id": 1221, + "id": 1275, "name": "IndexAccess", "src": "6506:21:7" } ], - "id": 1222, + "id": 1276, "name": "MemberAccess", "src": "6506:25:7" }, @@ -6805,26 +6805,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1198, + "referencedDeclaration": 1252, "type": "uint256", "value": "_value" }, - "id": 1223, + "id": 1277, "name": "Identifier", "src": "6532:6:7" } ], - "id": 1224, + "id": 1278, "name": "FunctionCall", "src": "6506:33:7" } ], - "id": 1225, + "id": 1279, "name": "Assignment", "src": "6482:57:7" } ], - "id": 1226, + "id": 1280, "name": "ExpressionStatement", "src": "6482:57:7" }, @@ -6847,11 +6847,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 810, + "referencedDeclaration": 864, "type": "uint256", "value": "totalSupply" }, - "id": 1227, + "id": 1281, "name": "Identifier", "src": "6579:11:7" }, @@ -6883,7 +6883,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -6893,16 +6893,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 810, + "referencedDeclaration": 864, "type": "uint256", "value": "totalSupply" }, - "id": 1228, + "id": 1282, "name": "Identifier", "src": "6593:11:7" } ], - "id": 1229, + "id": 1283, "name": "MemberAccess", "src": "6593:15:7" }, @@ -6912,26 +6912,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1198, + "referencedDeclaration": 1252, "type": "uint256", "value": "_value" }, - "id": 1230, + "id": 1284, "name": "Identifier", "src": "6609:6:7" } ], - "id": 1231, + "id": 1285, "name": "FunctionCall", "src": "6593:23:7" } ], - "id": 1232, + "id": 1286, "name": "Assignment", "src": "6579:37:7" } ], - "id": 1233, + "id": 1287, "name": "ExpressionStatement", "src": "6579:37:7" }, @@ -6954,11 +6954,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 1234, + "id": 1288, "name": "Identifier", "src": "6671:15:7" }, @@ -6990,7 +6990,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7000,16 +7000,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 1235, + "id": 1289, "name": "Identifier", "src": "6689:15:7" } ], - "id": 1236, + "id": 1290, "name": "MemberAccess", "src": "6689:19:7" }, @@ -7019,26 +7019,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1198, + "referencedDeclaration": 1252, "type": "uint256", "value": "_value" }, - "id": 1237, + "id": 1291, "name": "Identifier", "src": "6709:6:7" } ], - "id": 1238, + "id": 1292, "name": "FunctionCall", "src": "6689:27:7" } ], - "id": 1239, + "id": 1293, "name": "Assignment", "src": "6671:45:7" } ], - "id": 1240, + "id": 1294, "name": "ExpressionStatement", "src": "6671:45:7" }, @@ -7074,11 +7074,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 839, + "referencedDeclaration": 893, "type": "function (address,uint256)", "value": "Burn" }, - "id": 1241, + "id": 1295, "name": "Identifier", "src": "6729:4:7" }, @@ -7100,16 +7100,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1242, + "id": 1296, "name": "Identifier", "src": "6734:3:7" } ], - "id": 1243, + "id": 1297, "name": "MemberAccess", "src": "6734:10:7" }, @@ -7119,27 +7119,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1198, + "referencedDeclaration": 1252, "type": "uint256", "value": "_value" }, - "id": 1244, + "id": 1298, "name": "Identifier", "src": "6746:6:7" } ], - "id": 1245, + "id": 1299, "name": "FunctionCall", "src": "6729:24:7" } ], - "id": 1246, + "id": 1300, "name": "ExpressionStatement", "src": "6729:24:7" }, { "attributes": { - "functionReturnParameters": 1204 + "functionReturnParameters": 1258 }, "children": [ { @@ -7155,22 +7155,22 @@ "type": "bool", "value": "true" }, - "id": 1247, + "id": 1301, "name": "Literal", "src": "6773:4:7" } ], - "id": 1248, + "id": 1302, "name": "Return", "src": "6766:11:7" } ], - "id": 1249, + "id": 1303, "name": "Block", "src": "6382:403:7" } ], - "id": 1250, + "id": 1304, "name": "FunctionDefinition", "src": "6298:487:7" }, @@ -7181,7 +7181,7 @@ "isConstructor": false, "name": "burnFrom", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -7193,7 +7193,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 1330, + "scope": 1384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -7206,12 +7206,12 @@ "name": "address", "type": "address" }, - "id": 1251, + "id": 1305, "name": "ElementaryTypeName", "src": "7066:7:7" } ], - "id": 1252, + "id": 1306, "name": "VariableDeclaration", "src": "7066:13:7" }, @@ -7219,7 +7219,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1330, + "scope": 1384, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -7232,17 +7232,17 @@ "name": "uint256", "type": "uint256" }, - "id": 1253, + "id": 1307, "name": "ElementaryTypeName", "src": "7081:7:7" } ], - "id": 1254, + "id": 1308, "name": "VariableDeclaration", "src": "7081:14:7" } ], - "id": 1255, + "id": 1309, "name": "ParameterList", "src": "7065:31:7" }, @@ -7252,7 +7252,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1330, + "scope": 1384, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -7265,17 +7265,17 @@ "name": "bool", "type": "bool" }, - "id": 1258, + "id": 1312, "name": "ElementaryTypeName", "src": "7132:4:7" } ], - "id": 1259, + "id": 1313, "name": "VariableDeclaration", "src": "7132:12:7" } ], - "id": 1260, + "id": 1314, "name": "ParameterList", "src": "7131:14:7" }, @@ -7296,12 +7296,12 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 1256, + "id": 1310, "name": "Identifier", "src": "7104:9:7" } ], - "id": 1257, + "id": 1311, "name": "ModifierInvocation", "src": "7104:9:7" }, @@ -7335,11 +7335,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 1261, + "id": 1315, "name": "Identifier", "src": "7162:7:7" }, @@ -7374,11 +7374,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1262, + "id": 1316, "name": "Identifier", "src": "7170:9:7" }, @@ -7388,16 +7388,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1263, + "id": 1317, "name": "Identifier", "src": "7180:5:7" } ], - "id": 1264, + "id": 1318, "name": "IndexAccess", "src": "7170:16:7" }, @@ -7407,26 +7407,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1265, + "id": 1319, "name": "Identifier", "src": "7190:6:7" } ], - "id": 1266, + "id": 1320, "name": "BinaryOperation", "src": "7170:26:7" } ], - "id": 1267, + "id": 1321, "name": "FunctionCall", "src": "7162:35:7" } ], - "id": 1268, + "id": 1322, "name": "ExpressionStatement", "src": "7162:35:7" }, @@ -7458,11 +7458,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 1269, + "id": 1323, "name": "Identifier", "src": "7266:7:7" }, @@ -7487,11 +7487,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1270, + "id": 1324, "name": "Identifier", "src": "7274:6:7" }, @@ -7521,11 +7521,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1271, + "id": 1325, "name": "Identifier", "src": "7284:9:7" }, @@ -7535,16 +7535,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1272, + "id": 1326, "name": "Identifier", "src": "7294:5:7" } ], - "id": 1273, + "id": 1327, "name": "IndexAccess", "src": "7284:16:7" }, @@ -7566,36 +7566,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1274, + "id": 1328, "name": "Identifier", "src": "7301:3:7" } ], - "id": 1275, + "id": 1329, "name": "MemberAccess", "src": "7301:10:7" } ], - "id": 1276, + "id": 1330, "name": "IndexAccess", "src": "7284:28:7" } ], - "id": 1277, + "id": 1331, "name": "BinaryOperation", "src": "7274:38:7" } ], - "id": 1278, + "id": 1332, "name": "FunctionCall", "src": "7266:47:7" } ], - "id": 1279, + "id": 1333, "name": "ExpressionStatement", "src": "7266:47:7" }, @@ -7628,11 +7628,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1280, + "id": 1334, "name": "Identifier", "src": "7348:9:7" }, @@ -7642,16 +7642,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1281, + "id": 1335, "name": "Identifier", "src": "7358:5:7" } ], - "id": 1282, + "id": 1336, "name": "IndexAccess", "src": "7348:16:7" }, @@ -7683,7 +7683,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7703,11 +7703,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1283, + "id": 1337, "name": "Identifier", "src": "7367:9:7" }, @@ -7717,21 +7717,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1284, + "id": 1338, "name": "Identifier", "src": "7377:5:7" } ], - "id": 1285, + "id": 1339, "name": "IndexAccess", "src": "7367:16:7" } ], - "id": 1286, + "id": 1340, "name": "MemberAccess", "src": "7367:20:7" }, @@ -7741,26 +7741,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1287, + "id": 1341, "name": "Identifier", "src": "7388:6:7" } ], - "id": 1288, + "id": 1342, "name": "FunctionCall", "src": "7367:28:7" } ], - "id": 1289, + "id": 1343, "name": "Assignment", "src": "7348:47:7" } ], - "id": 1290, + "id": 1344, "name": "ExpressionStatement", "src": "7348:47:7" }, @@ -7803,11 +7803,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1291, + "id": 1345, "name": "Identifier", "src": "7447:9:7" }, @@ -7817,16 +7817,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1292, + "id": 1346, "name": "Identifier", "src": "7457:5:7" } ], - "id": 1295, + "id": 1349, "name": "IndexAccess", "src": "7447:16:7" }, @@ -7848,21 +7848,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1293, + "id": 1347, "name": "Identifier", "src": "7464:3:7" } ], - "id": 1294, + "id": 1348, "name": "MemberAccess", "src": "7464:10:7" } ], - "id": 1296, + "id": 1350, "name": "IndexAccess", "src": "7447:28:7" }, @@ -7894,7 +7894,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7924,11 +7924,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1297, + "id": 1351, "name": "Identifier", "src": "7478:9:7" }, @@ -7938,16 +7938,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1298, + "id": 1352, "name": "Identifier", "src": "7488:5:7" } ], - "id": 1299, + "id": 1353, "name": "IndexAccess", "src": "7478:16:7" }, @@ -7969,26 +7969,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1300, + "id": 1354, "name": "Identifier", "src": "7495:3:7" } ], - "id": 1301, + "id": 1355, "name": "MemberAccess", "src": "7495:10:7" } ], - "id": 1302, + "id": 1356, "name": "IndexAccess", "src": "7478:28:7" } ], - "id": 1303, + "id": 1357, "name": "MemberAccess", "src": "7478:32:7" }, @@ -7998,26 +7998,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1304, + "id": 1358, "name": "Identifier", "src": "7511:6:7" } ], - "id": 1305, + "id": 1359, "name": "FunctionCall", "src": "7478:40:7" } ], - "id": 1306, + "id": 1360, "name": "Assignment", "src": "7447:71:7" } ], - "id": 1307, + "id": 1361, "name": "ExpressionStatement", "src": "7447:71:7" }, @@ -8040,11 +8040,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 810, + "referencedDeclaration": 864, "type": "uint256", "value": "totalSupply" }, - "id": 1308, + "id": 1362, "name": "Identifier", "src": "7572:11:7" }, @@ -8076,7 +8076,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -8086,16 +8086,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 810, + "referencedDeclaration": 864, "type": "uint256", "value": "totalSupply" }, - "id": 1309, + "id": 1363, "name": "Identifier", "src": "7586:11:7" } ], - "id": 1310, + "id": 1364, "name": "MemberAccess", "src": "7586:15:7" }, @@ -8105,26 +8105,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1311, + "id": 1365, "name": "Identifier", "src": "7602:6:7" } ], - "id": 1312, + "id": 1366, "name": "FunctionCall", "src": "7586:23:7" } ], - "id": 1313, + "id": 1367, "name": "Assignment", "src": "7572:37:7" } ], - "id": 1314, + "id": 1368, "name": "ExpressionStatement", "src": "7572:37:7" }, @@ -8147,11 +8147,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 1315, + "id": 1369, "name": "Identifier", "src": "7655:15:7" }, @@ -8183,7 +8183,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -8193,16 +8193,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 1316, + "id": 1370, "name": "Identifier", "src": "7673:15:7" } ], - "id": 1317, + "id": 1371, "name": "MemberAccess", "src": "7673:19:7" }, @@ -8212,26 +8212,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1318, + "id": 1372, "name": "Identifier", "src": "7693:6:7" } ], - "id": 1319, + "id": 1373, "name": "FunctionCall", "src": "7673:27:7" } ], - "id": 1320, + "id": 1374, "name": "Assignment", "src": "7655:45:7" } ], - "id": 1321, + "id": 1375, "name": "ExpressionStatement", "src": "7655:45:7" }, @@ -8267,11 +8267,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 839, + "referencedDeclaration": 893, "type": "function (address,uint256)", "value": "Burn" }, - "id": 1322, + "id": 1376, "name": "Identifier", "src": "7713:4:7" }, @@ -8281,11 +8281,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1323, + "id": 1377, "name": "Identifier", "src": "7718:5:7" }, @@ -8295,27 +8295,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1324, + "id": 1378, "name": "Identifier", "src": "7725:6:7" } ], - "id": 1325, + "id": 1379, "name": "FunctionCall", "src": "7713:19:7" } ], - "id": 1326, + "id": 1380, "name": "ExpressionStatement", "src": "7713:19:7" }, { "attributes": { - "functionReturnParameters": 1260 + "functionReturnParameters": 1314 }, "children": [ { @@ -8331,32 +8331,32 @@ "type": "bool", "value": "true" }, - "id": 1327, + "id": 1381, "name": "Literal", "src": "7752:4:7" } ], - "id": 1328, + "id": 1382, "name": "Return", "src": "7745:11:7" } ], - "id": 1329, + "id": 1383, "name": "Block", "src": "7151:613:7" } ], - "id": 1330, + "id": 1384, "name": "FunctionDefinition", "src": "7048:716:7" } ], - "id": 1331, + "id": 1385, "name": "ContractDefinition", "src": "218:7549:7" } ], - "id": 1332, + "id": 1386, "name": "SourceUnit", "src": "0:7769:7" }, @@ -8366,5 +8366,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-20T21:19:00.181Z" + "updatedAt": "2017-12-21T23:40:56.028Z" } \ No newline at end of file diff --git a/build/contracts/tokenRecipient.json b/build/contracts/tokenRecipient.json index b4df419..951ea81 100644 --- a/build/contracts/tokenRecipient.json +++ b/build/contracts/tokenRecipient.json @@ -39,10 +39,10 @@ "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/TokenERC20.sol", "exportedSymbols": { "TokenERC20": [ - 1331 + 1385 ], "tokenRecipient": [ - 789 + 843 ] } }, @@ -56,22 +56,22 @@ ".18" ] }, - "id": 775, + "id": 829, "name": "PragmaDirective", "src": "0:24:7" }, { "attributes": { - "SourceUnit": 337, + "SourceUnit": 334, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/SafeMath.sol", "file": "./SafeMath.sol", - "scope": 1332, + "scope": 1386, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 776, + "id": 830, "name": "ImportDirective", "src": "28:24:7" }, @@ -80,13 +80,13 @@ "SourceUnit": 161, "absolutePath": "/C/Users/pirno/Desktop/stm-smartcontract origina/contracts/Ownable.sol", "file": "./Ownable.sol", - "scope": 1332, + "scope": 1386, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 777, + "id": 831, "name": "ImportDirective", "src": "54:23:7" }, @@ -102,10 +102,10 @@ "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ - 789 + 843 ], "name": "tokenRecipient", - "scope": 1332 + "scope": 1386 }, "children": [ { @@ -119,7 +119,7 @@ ], "name": "receiveApproval", "payable": false, - "scope": 789, + "scope": 843, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -131,7 +131,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 788, + "scope": 842, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -144,12 +144,12 @@ "name": "address", "type": "address" }, - "id": 778, + "id": 832, "name": "ElementaryTypeName", "src": "139:7:7" } ], - "id": 779, + "id": 833, "name": "VariableDeclaration", "src": "139:13:7" }, @@ -157,7 +157,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 788, + "scope": 842, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -170,12 +170,12 @@ "name": "uint256", "type": "uint256" }, - "id": 780, + "id": 834, "name": "ElementaryTypeName", "src": "154:7:7" } ], - "id": 781, + "id": 835, "name": "VariableDeclaration", "src": "154:14:7" }, @@ -183,7 +183,7 @@ "attributes": { "constant": false, "name": "_token", - "scope": 788, + "scope": 842, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -196,12 +196,12 @@ "name": "address", "type": "address" }, - "id": 782, + "id": 836, "name": "ElementaryTypeName", "src": "170:7:7" } ], - "id": 783, + "id": 837, "name": "VariableDeclaration", "src": "170:14:7" }, @@ -209,7 +209,7 @@ "attributes": { "constant": false, "name": "_extraData", - "scope": 788, + "scope": 842, "stateVariable": false, "storageLocation": "default", "type": "bytes memory", @@ -222,17 +222,17 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 784, + "id": 838, "name": "ElementaryTypeName", "src": "186:5:7" } ], - "id": 785, + "id": 839, "name": "VariableDeclaration", "src": "186:16:7" } ], - "id": 786, + "id": 840, "name": "ParameterList", "src": "138:65:7" }, @@ -243,17 +243,17 @@ ] }, "children": [], - "id": 787, + "id": 841, "name": "ParameterList", "src": "210:0:7" } ], - "id": 788, + "id": 842, "name": "FunctionDefinition", "src": "114:97:7" } ], - "id": 789, + "id": 843, "name": "ContractDefinition", "src": "81:133:7" }, @@ -266,11 +266,11 @@ "documentation": null, "fullyImplemented": true, "linearizedBaseContracts": [ - 1331, + 1385, 160 ], "name": "TokenERC20", - "scope": 1332 + "scope": 1386 }, "children": [ { @@ -287,12 +287,12 @@ "referencedDeclaration": 160, "type": "contract Ownable" }, - "id": 790, + "id": 844, "name": "UserDefinedTypeName", "src": "241:7:7" } ], - "id": 791, + "id": 845, "name": "InheritanceSpecifier", "src": "241:7:7" }, @@ -302,10 +302,10 @@ "attributes": { "contractScope": null, "name": "SafeMath", - "referencedDeclaration": 336, + "referencedDeclaration": 333, "type": "library SafeMath" }, - "id": 792, + "id": 846, "name": "UserDefinedTypeName", "src": "263:8:7" }, @@ -314,12 +314,12 @@ "name": "uint", "type": "uint256" }, - "id": 793, + "id": 847, "name": "ElementaryTypeName", "src": "276:4:7" } ], - "id": 794, + "id": 848, "name": "UsingForDirective", "src": "257:24:7" }, @@ -327,7 +327,7 @@ "attributes": { "constant": false, "name": "name", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -340,12 +340,12 @@ "name": "string", "type": "string storage pointer" }, - "id": 795, + "id": 849, "name": "ElementaryTypeName", "src": "327:6:7" } ], - "id": 796, + "id": 850, "name": "VariableDeclaration", "src": "327:18:7" }, @@ -353,7 +353,7 @@ "attributes": { "constant": false, "name": "symbol", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -366,12 +366,12 @@ "name": "string", "type": "string storage pointer" }, - "id": 797, + "id": 851, "name": "ElementaryTypeName", "src": "352:6:7" } ], - "id": 798, + "id": 852, "name": "VariableDeclaration", "src": "352:20:7" }, @@ -379,7 +379,7 @@ "attributes": { "constant": false, "name": "decimals", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -391,7 +391,7 @@ "name": "uint256", "type": "uint256" }, - "id": 799, + "id": 853, "name": "ElementaryTypeName", "src": "379:7:7" }, @@ -408,12 +408,12 @@ "type": "int_const 18", "value": "18" }, - "id": 800, + "id": 854, "name": "Literal", "src": "405:2:7" } ], - "id": 801, + "id": 855, "name": "VariableDeclaration", "src": "379:28:7" }, @@ -421,7 +421,7 @@ "attributes": { "constant": false, "name": "DEC", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -433,7 +433,7 @@ "name": "uint256", "type": "uint256" }, - "id": 802, + "id": 856, "name": "ElementaryTypeName", "src": "414:7:7" }, @@ -465,7 +465,7 @@ "type": "int_const 10", "value": "10" }, - "id": 803, + "id": 857, "name": "Literal", "src": "428:2:7" }, @@ -499,7 +499,7 @@ "type": "type(uint256)", "value": "uint256" }, - "id": 804, + "id": 858, "name": "ElementaryTypeNameExpression", "src": "434:7:7" }, @@ -509,26 +509,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 855, "type": "uint256", "value": "decimals" }, - "id": 805, + "id": 859, "name": "Identifier", "src": "442:8:7" } ], - "id": 806, + "id": 860, "name": "FunctionCall", "src": "434:17:7" } ], - "id": 807, + "id": 861, "name": "BinaryOperation", "src": "428:23:7" } ], - "id": 808, + "id": 862, "name": "VariableDeclaration", "src": "414:37:7" }, @@ -536,7 +536,7 @@ "attributes": { "constant": false, "name": "totalSupply", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -549,12 +549,12 @@ "name": "uint256", "type": "uint256" }, - "id": 809, + "id": 863, "name": "ElementaryTypeName", "src": "458:7:7" } ], - "id": 810, + "id": 864, "name": "VariableDeclaration", "src": "458:26:7" }, @@ -562,7 +562,7 @@ "attributes": { "constant": false, "name": "avaliableSupply", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -575,12 +575,12 @@ "name": "uint256", "type": "uint256" }, - "id": 811, + "id": 865, "name": "ElementaryTypeName", "src": "491:7:7" } ], - "id": 812, + "id": 866, "name": "VariableDeclaration", "src": "491:30:7" }, @@ -588,7 +588,7 @@ "attributes": { "constant": false, "name": "buyPrice", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -600,7 +600,7 @@ "name": "uint256", "type": "uint256" }, - "id": 813, + "id": 867, "name": "ElementaryTypeName", "src": "528:7:7" }, @@ -617,12 +617,12 @@ "type": "int_const 1000000000000000000", "value": "1000000000000000000" }, - "id": 814, + "id": 868, "name": "Literal", "src": "554:23:7" } ], - "id": 815, + "id": 869, "name": "VariableDeclaration", "src": "528:49:7" }, @@ -630,7 +630,7 @@ "attributes": { "constant": false, "name": "balanceOf", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => uint256)", @@ -648,7 +648,7 @@ "name": "address", "type": "address" }, - "id": 816, + "id": 870, "name": "ElementaryTypeName", "src": "643:7:7" }, @@ -657,17 +657,17 @@ "name": "uint256", "type": "uint256" }, - "id": 817, + "id": 871, "name": "ElementaryTypeName", "src": "654:7:7" } ], - "id": 818, + "id": 872, "name": "Mapping", "src": "634:28:7" } ], - "id": 819, + "id": 873, "name": "VariableDeclaration", "src": "634:45:7" }, @@ -675,7 +675,7 @@ "attributes": { "constant": false, "name": "allowance", - "scope": 1331, + "scope": 1385, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => uint256))", @@ -693,7 +693,7 @@ "name": "address", "type": "address" }, - "id": 820, + "id": 874, "name": "ElementaryTypeName", "src": "695:7:7" }, @@ -707,7 +707,7 @@ "name": "address", "type": "address" }, - "id": 821, + "id": 875, "name": "ElementaryTypeName", "src": "715:7:7" }, @@ -716,22 +716,22 @@ "name": "uint256", "type": "uint256" }, - "id": 822, + "id": 876, "name": "ElementaryTypeName", "src": "726:7:7" } ], - "id": 823, + "id": 877, "name": "Mapping", "src": "706:28:7" } ], - "id": 824, + "id": 878, "name": "Mapping", "src": "686:49:7" } ], - "id": 825, + "id": 879, "name": "VariableDeclaration", "src": "686:66:7" }, @@ -748,7 +748,7 @@ "constant": false, "indexed": true, "name": "from", - "scope": 833, + "scope": 887, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -761,12 +761,12 @@ "name": "address", "type": "address" }, - "id": 826, + "id": 880, "name": "ElementaryTypeName", "src": "857:7:7" } ], - "id": 827, + "id": 881, "name": "VariableDeclaration", "src": "857:20:7" }, @@ -775,7 +775,7 @@ "constant": false, "indexed": true, "name": "to", - "scope": 833, + "scope": 887, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -788,12 +788,12 @@ "name": "address", "type": "address" }, - "id": 828, + "id": 882, "name": "ElementaryTypeName", "src": "879:7:7" } ], - "id": 829, + "id": 883, "name": "VariableDeclaration", "src": "879:18:7" }, @@ -802,7 +802,7 @@ "constant": false, "indexed": false, "name": "value", - "scope": 833, + "scope": 887, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -815,22 +815,22 @@ "name": "uint256", "type": "uint256" }, - "id": 830, + "id": 884, "name": "ElementaryTypeName", "src": "899:7:7" } ], - "id": 831, + "id": 885, "name": "VariableDeclaration", "src": "899:13:7" } ], - "id": 832, + "id": 886, "name": "ParameterList", "src": "856:57:7" } ], - "id": 833, + "id": 887, "name": "EventDefinition", "src": "842:72:7" }, @@ -847,7 +847,7 @@ "constant": false, "indexed": true, "name": "from", - "scope": 839, + "scope": 893, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -860,12 +860,12 @@ "name": "address", "type": "address" }, - "id": 834, + "id": 888, "name": "ElementaryTypeName", "src": "931:7:7" } ], - "id": 835, + "id": 889, "name": "VariableDeclaration", "src": "931:20:7" }, @@ -874,7 +874,7 @@ "constant": false, "indexed": false, "name": "value", - "scope": 839, + "scope": 893, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -887,22 +887,22 @@ "name": "uint256", "type": "uint256" }, - "id": 836, + "id": 890, "name": "ElementaryTypeName", "src": "953:7:7" } ], - "id": 837, + "id": 891, "name": "VariableDeclaration", "src": "953:13:7" } ], - "id": 838, + "id": 892, "name": "ParameterList", "src": "930:37:7" } ], - "id": 839, + "id": 893, "name": "EventDefinition", "src": "920:48:7" }, @@ -919,7 +919,7 @@ "constant": false, "indexed": true, "name": "_owner", - "scope": 847, + "scope": 901, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -932,12 +932,12 @@ "name": "address", "type": "address" }, - "id": 840, + "id": 894, "name": "ElementaryTypeName", "src": "989:7:7" } ], - "id": 841, + "id": 895, "name": "VariableDeclaration", "src": "989:22:7" }, @@ -946,7 +946,7 @@ "constant": false, "indexed": true, "name": "_spender", - "scope": 847, + "scope": 901, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -959,12 +959,12 @@ "name": "address", "type": "address" }, - "id": 842, + "id": 896, "name": "ElementaryTypeName", "src": "1013:7:7" } ], - "id": 843, + "id": 897, "name": "VariableDeclaration", "src": "1013:24:7" }, @@ -973,7 +973,7 @@ "constant": false, "indexed": false, "name": "_value", - "scope": 847, + "scope": 901, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -986,22 +986,22 @@ "name": "uint256", "type": "uint256" }, - "id": 844, + "id": 898, "name": "ElementaryTypeName", "src": "1039:7:7" } ], - "id": 845, + "id": 899, "name": "VariableDeclaration", "src": "1039:14:7" } ], - "id": 846, + "id": 900, "name": "ParameterList", "src": "988:66:7" } ], - "id": 847, + "id": 901, "name": "EventDefinition", "src": "974:81:7" }, @@ -1015,7 +1015,7 @@ ], "name": "TokenERC20", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1027,7 +1027,7 @@ "attributes": { "constant": false, "name": "initialSupply", - "scope": 884, + "scope": 938, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1040,12 +1040,12 @@ "name": "uint256", "type": "uint256" }, - "id": 848, + "id": 902, "name": "ElementaryTypeName", "src": "1234:7:7" } ], - "id": 849, + "id": 903, "name": "VariableDeclaration", "src": "1234:21:7" }, @@ -1053,7 +1053,7 @@ "attributes": { "constant": false, "name": "tokenName", - "scope": 884, + "scope": 938, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -1066,12 +1066,12 @@ "name": "string", "type": "string storage pointer" }, - "id": 850, + "id": 904, "name": "ElementaryTypeName", "src": "1266:6:7" } ], - "id": 851, + "id": 905, "name": "VariableDeclaration", "src": "1266:16:7" }, @@ -1079,7 +1079,7 @@ "attributes": { "constant": false, "name": "tokenSymbol", - "scope": 884, + "scope": 938, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -1092,17 +1092,17 @@ "name": "string", "type": "string storage pointer" }, - "id": 852, + "id": 906, "name": "ElementaryTypeName", "src": "1293:6:7" } ], - "id": 853, + "id": 907, "name": "VariableDeclaration", "src": "1293:18:7" } ], - "id": 854, + "id": 908, "name": "ParameterList", "src": "1223:95:7" }, @@ -1113,7 +1113,7 @@ ] }, "children": [], - "id": 855, + "id": 909, "name": "ParameterList", "src": "1331:0:7" }, @@ -1138,11 +1138,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 810, + "referencedDeclaration": 864, "type": "uint256", "value": "totalSupply" }, - "id": 856, + "id": 910, "name": "Identifier", "src": "1342:11:7" }, @@ -1174,7 +1174,7 @@ "isPure": false, "lValueRequested": false, "member_name": "mul", - "referencedDeclaration": 273, + "referencedDeclaration": 270, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1184,16 +1184,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 849, + "referencedDeclaration": 903, "type": "uint256", "value": "initialSupply" }, - "id": 857, + "id": 911, "name": "Identifier", "src": "1356:13:7" } ], - "id": 858, + "id": 912, "name": "MemberAccess", "src": "1356:17:7" }, @@ -1203,26 +1203,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 808, + "referencedDeclaration": 862, "type": "uint256", "value": "DEC" }, - "id": 859, + "id": 913, "name": "Identifier", "src": "1374:3:7" } ], - "id": 860, + "id": 914, "name": "FunctionCall", "src": "1356:22:7" } ], - "id": 861, + "id": 915, "name": "Assignment", "src": "1342:36:7" } ], - "id": 862, + "id": 916, "name": "ExpressionStatement", "src": "1342:36:7" }, @@ -1255,11 +1255,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 863, + "id": 917, "name": "Identifier", "src": "1437:9:7" }, @@ -1269,16 +1269,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1360, + "referencedDeclaration": 1414, "type": "contract TokenERC20", "value": "this" }, - "id": 864, + "id": 918, "name": "Identifier", "src": "1447:4:7" } ], - "id": 865, + "id": 919, "name": "IndexAccess", "src": "1437:15:7" }, @@ -1288,21 +1288,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 810, + "referencedDeclaration": 864, "type": "uint256", "value": "totalSupply" }, - "id": 866, + "id": 920, "name": "Identifier", "src": "1455:11:7" } ], - "id": 867, + "id": 921, "name": "Assignment", "src": "1437:29:7" } ], - "id": 868, + "id": 922, "name": "ExpressionStatement", "src": "1437:29:7" }, @@ -1325,11 +1325,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 869, + "id": 923, "name": "Identifier", "src": "1524:15:7" }, @@ -1349,11 +1349,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 870, + "id": 924, "name": "Identifier", "src": "1542:9:7" }, @@ -1363,26 +1363,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1360, + "referencedDeclaration": 1414, "type": "contract TokenERC20", "value": "this" }, - "id": 871, + "id": 925, "name": "Identifier", "src": "1552:4:7" } ], - "id": 872, + "id": 926, "name": "IndexAccess", "src": "1542:15:7" } ], - "id": 873, + "id": 927, "name": "Assignment", "src": "1524:33:7" } ], - "id": 874, + "id": 928, "name": "ExpressionStatement", "src": "1524:33:7" }, @@ -1405,11 +1405,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 850, "type": "string storage ref", "value": "name" }, - "id": 875, + "id": 929, "name": "Identifier", "src": "1608:4:7" }, @@ -1419,21 +1419,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 851, + "referencedDeclaration": 905, "type": "string memory", "value": "tokenName" }, - "id": 876, + "id": 930, "name": "Identifier", "src": "1615:9:7" } ], - "id": 877, + "id": 931, "name": "Assignment", "src": "1608:16:7" } ], - "id": 878, + "id": 932, "name": "ExpressionStatement", "src": "1608:16:7" }, @@ -1456,11 +1456,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 798, + "referencedDeclaration": 852, "type": "string storage ref", "value": "symbol" }, - "id": 879, + "id": 933, "name": "Identifier", "src": "1693:6:7" }, @@ -1470,31 +1470,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 853, + "referencedDeclaration": 907, "type": "string memory", "value": "tokenSymbol" }, - "id": 880, + "id": 934, "name": "Identifier", "src": "1702:11:7" } ], - "id": 881, + "id": 935, "name": "Assignment", "src": "1693:20:7" } ], - "id": 882, + "id": 936, "name": "ExpressionStatement", "src": "1693:20:7" } ], - "id": 883, + "id": 937, "name": "Block", "src": "1331:446:7" } ], - "id": 884, + "id": 938, "name": "FunctionDefinition", "src": "1204:573:7" }, @@ -1508,7 +1508,7 @@ ], "name": "_transfer", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -1520,7 +1520,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 973, + "scope": 1027, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1533,12 +1533,12 @@ "name": "address", "type": "address" }, - "id": 885, + "id": 939, "name": "ElementaryTypeName", "src": "2033:7:7" } ], - "id": 886, + "id": 940, "name": "VariableDeclaration", "src": "2033:13:7" }, @@ -1546,7 +1546,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 973, + "scope": 1027, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1559,12 +1559,12 @@ "name": "address", "type": "address" }, - "id": 887, + "id": 941, "name": "ElementaryTypeName", "src": "2048:7:7" } ], - "id": 888, + "id": 942, "name": "VariableDeclaration", "src": "2048:11:7" }, @@ -1572,7 +1572,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 973, + "scope": 1027, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1585,17 +1585,17 @@ "name": "uint256", "type": "uint256" }, - "id": 889, + "id": 943, "name": "ElementaryTypeName", "src": "2061:7:7" } ], - "id": 890, + "id": 944, "name": "VariableDeclaration", "src": "2061:14:7" } ], - "id": 891, + "id": 945, "name": "ParameterList", "src": "2032:44:7" }, @@ -1606,7 +1606,7 @@ ] }, "children": [], - "id": 892, + "id": 946, "name": "ParameterList", "src": "2091:0:7" }, @@ -1640,11 +1640,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 893, + "id": 947, "name": "Identifier", "src": "2166:7:7" }, @@ -1669,11 +1669,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 894, + "id": 948, "name": "Identifier", "src": "2174:3:7" }, @@ -1690,22 +1690,22 @@ "type": "int_const 0", "value": "0x0" }, - "id": 895, + "id": 949, "name": "Literal", "src": "2181:3:7" } ], - "id": 896, + "id": 950, "name": "BinaryOperation", "src": "2174:10:7" } ], - "id": 897, + "id": 951, "name": "FunctionCall", "src": "2166:19:7" } ], - "id": 898, + "id": 952, "name": "ExpressionStatement", "src": "2166:19:7" }, @@ -1737,11 +1737,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 899, + "id": 953, "name": "Identifier", "src": "2239:7:7" }, @@ -1776,11 +1776,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 900, + "id": 954, "name": "Identifier", "src": "2247:9:7" }, @@ -1790,16 +1790,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 940, "type": "address", "value": "_from" }, - "id": 901, + "id": 955, "name": "Identifier", "src": "2257:5:7" } ], - "id": 902, + "id": 956, "name": "IndexAccess", "src": "2247:16:7" }, @@ -1809,26 +1809,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 944, "type": "uint256", "value": "_value" }, - "id": 903, + "id": 957, "name": "Identifier", "src": "2267:6:7" } ], - "id": 904, + "id": 958, "name": "BinaryOperation", "src": "2247:26:7" } ], - "id": 905, + "id": 959, "name": "FunctionCall", "src": "2239:35:7" } ], - "id": 906, + "id": 960, "name": "ExpressionStatement", "src": "2239:35:7" }, @@ -1860,11 +1860,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 907, + "id": 961, "name": "Identifier", "src": "2317:7:7" }, @@ -1911,7 +1911,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 335, + "referencedDeclaration": 332, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1931,11 +1931,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 908, + "id": 962, "name": "Identifier", "src": "2325:9:7" }, @@ -1945,21 +1945,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 909, + "id": 963, "name": "Identifier", "src": "2335:3:7" } ], - "id": 910, + "id": 964, "name": "IndexAccess", "src": "2325:14:7" } ], - "id": 911, + "id": 965, "name": "MemberAccess", "src": "2325:18:7" }, @@ -1969,16 +1969,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 944, "type": "uint256", "value": "_value" }, - "id": 912, + "id": 966, "name": "Identifier", "src": "2344:6:7" } ], - "id": 913, + "id": 967, "name": "FunctionCall", "src": "2325:26:7" }, @@ -1998,11 +1998,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 914, + "id": 968, "name": "Identifier", "src": "2354:9:7" }, @@ -2012,38 +2012,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 915, + "id": 969, "name": "Identifier", "src": "2364:3:7" } ], - "id": 916, + "id": 970, "name": "IndexAccess", "src": "2354:14:7" } ], - "id": 917, + "id": 971, "name": "BinaryOperation", "src": "2325:43:7" } ], - "id": 918, + "id": 972, "name": "FunctionCall", "src": "2317:52:7" } ], - "id": 919, + "id": 973, "name": "ExpressionStatement", "src": "2317:52:7" }, { "attributes": { "assignments": [ - 921 + 975 ] }, "children": [ @@ -2051,7 +2051,7 @@ "attributes": { "constant": false, "name": "previousBalances", - "scope": 973, + "scope": 1027, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2064,12 +2064,12 @@ "name": "uint", "type": "uint256" }, - "id": 920, + "id": 974, "name": "ElementaryTypeName", "src": "2433:4:7" } ], - "id": 921, + "id": 975, "name": "VariableDeclaration", "src": "2433:21:7" }, @@ -2101,7 +2101,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 335, + "referencedDeclaration": 332, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2121,11 +2121,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 922, + "id": 976, "name": "Identifier", "src": "2457:9:7" }, @@ -2135,21 +2135,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 940, "type": "address", "value": "_from" }, - "id": 923, + "id": 977, "name": "Identifier", "src": "2467:5:7" } ], - "id": 924, + "id": 978, "name": "IndexAccess", "src": "2457:16:7" } ], - "id": 925, + "id": 979, "name": "MemberAccess", "src": "2457:20:7" }, @@ -2169,11 +2169,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 926, + "id": 980, "name": "Identifier", "src": "2478:9:7" }, @@ -2183,26 +2183,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 927, + "id": 981, "name": "Identifier", "src": "2488:3:7" } ], - "id": 928, + "id": 982, "name": "IndexAccess", "src": "2478:14:7" } ], - "id": 929, + "id": 983, "name": "FunctionCall", "src": "2457:36:7" } ], - "id": 930, + "id": 984, "name": "VariableDeclarationStatement", "src": "2433:60:7" }, @@ -2235,11 +2235,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 931, + "id": 985, "name": "Identifier", "src": "2541:9:7" }, @@ -2249,16 +2249,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 940, "type": "address", "value": "_from" }, - "id": 932, + "id": 986, "name": "Identifier", "src": "2551:5:7" } ], - "id": 933, + "id": 987, "name": "IndexAccess", "src": "2541:16:7" }, @@ -2290,7 +2290,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2310,11 +2310,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 934, + "id": 988, "name": "Identifier", "src": "2560:9:7" }, @@ -2324,21 +2324,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 940, "type": "address", "value": "_from" }, - "id": 935, + "id": 989, "name": "Identifier", "src": "2570:5:7" } ], - "id": 936, + "id": 990, "name": "IndexAccess", "src": "2560:16:7" } ], - "id": 937, + "id": 991, "name": "MemberAccess", "src": "2560:20:7" }, @@ -2348,26 +2348,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 944, "type": "uint256", "value": "_value" }, - "id": 938, + "id": 992, "name": "Identifier", "src": "2581:6:7" } ], - "id": 939, + "id": 993, "name": "FunctionCall", "src": "2560:28:7" } ], - "id": 940, + "id": 994, "name": "Assignment", "src": "2541:47:7" } ], - "id": 941, + "id": 995, "name": "ExpressionStatement", "src": "2541:47:7" }, @@ -2400,11 +2400,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 942, + "id": 996, "name": "Identifier", "src": "2641:9:7" }, @@ -2414,16 +2414,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 943, + "id": 997, "name": "Identifier", "src": "2651:3:7" } ], - "id": 944, + "id": 998, "name": "IndexAccess", "src": "2641:14:7" }, @@ -2455,7 +2455,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 335, + "referencedDeclaration": 332, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2475,11 +2475,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 945, + "id": 999, "name": "Identifier", "src": "2658:9:7" }, @@ -2489,21 +2489,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 946, + "id": 1000, "name": "Identifier", "src": "2668:3:7" } ], - "id": 947, + "id": 1001, "name": "IndexAccess", "src": "2658:14:7" } ], - "id": 948, + "id": 1002, "name": "MemberAccess", "src": "2658:18:7" }, @@ -2513,26 +2513,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 944, "type": "uint256", "value": "_value" }, - "id": 949, + "id": 1003, "name": "Identifier", "src": "2677:6:7" } ], - "id": 950, + "id": 1004, "name": "FunctionCall", "src": "2658:26:7" } ], - "id": 951, + "id": 1005, "name": "Assignment", "src": "2641:43:7" } ], - "id": 952, + "id": 1006, "name": "ExpressionStatement", "src": "2641:43:7" }, @@ -2572,11 +2572,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 833, + "referencedDeclaration": 887, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 953, + "id": 1007, "name": "Identifier", "src": "2697:8:7" }, @@ -2586,11 +2586,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 940, "type": "address", "value": "_from" }, - "id": 954, + "id": 1008, "name": "Identifier", "src": "2706:5:7" }, @@ -2600,11 +2600,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 955, + "id": 1009, "name": "Identifier", "src": "2713:3:7" }, @@ -2614,21 +2614,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 944, "type": "uint256", "value": "_value" }, - "id": 956, + "id": 1010, "name": "Identifier", "src": "2718:6:7" } ], - "id": 957, + "id": 1011, "name": "FunctionCall", "src": "2697:28:7" } ], - "id": 958, + "id": 1012, "name": "ExpressionStatement", "src": "2697:28:7" }, @@ -2660,11 +2660,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 1388, "type": "function (bool) pure", "value": "assert" }, - "id": 959, + "id": 1013, "name": "Identifier", "src": "2838:6:7" }, @@ -2711,7 +2711,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 335, + "referencedDeclaration": 332, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2731,11 +2731,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 960, + "id": 1014, "name": "Identifier", "src": "2845:9:7" }, @@ -2745,21 +2745,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 940, "type": "address", "value": "_from" }, - "id": 961, + "id": 1015, "name": "Identifier", "src": "2855:5:7" } ], - "id": 962, + "id": 1016, "name": "IndexAccess", "src": "2845:16:7" } ], - "id": 963, + "id": 1017, "name": "MemberAccess", "src": "2845:20:7" }, @@ -2779,11 +2779,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 964, + "id": 1018, "name": "Identifier", "src": "2866:9:7" }, @@ -2793,21 +2793,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 942, "type": "address", "value": "_to" }, - "id": 965, + "id": 1019, "name": "Identifier", "src": "2876:3:7" } ], - "id": 966, + "id": 1020, "name": "IndexAccess", "src": "2866:14:7" } ], - "id": 967, + "id": 1021, "name": "FunctionCall", "src": "2845:36:7" }, @@ -2817,36 +2817,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 921, + "referencedDeclaration": 975, "type": "uint256", "value": "previousBalances" }, - "id": 968, + "id": 1022, "name": "Identifier", "src": "2885:16:7" } ], - "id": 969, + "id": 1023, "name": "BinaryOperation", "src": "2845:56:7" } ], - "id": 970, + "id": 1024, "name": "FunctionCall", "src": "2838:64:7" } ], - "id": 971, + "id": 1025, "name": "ExpressionStatement", "src": "2838:64:7" } ], - "id": 972, + "id": 1026, "name": "Block", "src": "2091:819:7" } ], - "id": 973, + "id": 1027, "name": "FunctionDefinition", "src": "2014:896:7" }, @@ -2860,7 +2860,7 @@ ], "name": "transfer", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2872,7 +2872,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 988, + "scope": 1042, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2885,12 +2885,12 @@ "name": "address", "type": "address" }, - "id": 974, + "id": 1028, "name": "ElementaryTypeName", "src": "3139:7:7" } ], - "id": 975, + "id": 1029, "name": "VariableDeclaration", "src": "3139:11:7" }, @@ -2898,7 +2898,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 988, + "scope": 1042, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2911,17 +2911,17 @@ "name": "uint256", "type": "uint256" }, - "id": 976, + "id": 1030, "name": "ElementaryTypeName", "src": "3152:7:7" } ], - "id": 977, + "id": 1031, "name": "VariableDeclaration", "src": "3152:14:7" } ], - "id": 978, + "id": 1032, "name": "ParameterList", "src": "3138:29:7" }, @@ -2932,7 +2932,7 @@ ] }, "children": [], - "id": 979, + "id": 1033, "name": "ParameterList", "src": "3180:0:7" }, @@ -2974,11 +2974,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 973, + "referencedDeclaration": 1027, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 980, + "id": 1034, "name": "Identifier", "src": "3191:9:7" }, @@ -3000,16 +3000,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 981, + "id": 1035, "name": "Identifier", "src": "3201:3:7" } ], - "id": 982, + "id": 1036, "name": "MemberAccess", "src": "3201:10:7" }, @@ -3019,11 +3019,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 975, + "referencedDeclaration": 1029, "type": "address", "value": "_to" }, - "id": 983, + "id": 1037, "name": "Identifier", "src": "3213:3:7" }, @@ -3033,31 +3033,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 977, + "referencedDeclaration": 1031, "type": "uint256", "value": "_value" }, - "id": 984, + "id": 1038, "name": "Identifier", "src": "3218:6:7" } ], - "id": 985, + "id": 1039, "name": "FunctionCall", "src": "3191:34:7" } ], - "id": 986, + "id": 1040, "name": "ExpressionStatement", "src": "3191:34:7" } ], - "id": 987, + "id": 1041, "name": "Block", "src": "3180:53:7" } ], - "id": 988, + "id": 1042, "name": "FunctionDefinition", "src": "3121:112:7" }, @@ -3071,7 +3071,7 @@ ], "name": "transferFrom", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3083,7 +3083,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 1036, + "scope": 1090, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3096,12 +3096,12 @@ "name": "address", "type": "address" }, - "id": 989, + "id": 1043, "name": "ElementaryTypeName", "src": "3535:7:7" } ], - "id": 990, + "id": 1044, "name": "VariableDeclaration", "src": "3535:13:7" }, @@ -3109,7 +3109,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 1036, + "scope": 1090, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3122,12 +3122,12 @@ "name": "address", "type": "address" }, - "id": 991, + "id": 1045, "name": "ElementaryTypeName", "src": "3550:7:7" } ], - "id": 992, + "id": 1046, "name": "VariableDeclaration", "src": "3550:11:7" }, @@ -3135,7 +3135,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1036, + "scope": 1090, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3148,17 +3148,17 @@ "name": "uint256", "type": "uint256" }, - "id": 993, + "id": 1047, "name": "ElementaryTypeName", "src": "3563:7:7" } ], - "id": 994, + "id": 1048, "name": "VariableDeclaration", "src": "3563:14:7" } ], - "id": 995, + "id": 1049, "name": "ParameterList", "src": "3534:44:7" }, @@ -3168,7 +3168,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1036, + "scope": 1090, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -3181,17 +3181,17 @@ "name": "bool", "type": "bool" }, - "id": 996, + "id": 1050, "name": "ElementaryTypeName", "src": "3604:4:7" } ], - "id": 997, + "id": 1051, "name": "VariableDeclaration", "src": "3604:12:7" } ], - "id": 998, + "id": 1052, "name": "ParameterList", "src": "3603:14:7" }, @@ -3225,11 +3225,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 999, + "id": 1053, "name": "Identifier", "src": "3634:7:7" }, @@ -3254,11 +3254,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 994, + "referencedDeclaration": 1048, "type": "uint256", "value": "_value" }, - "id": 1000, + "id": 1054, "name": "Identifier", "src": "3642:6:7" }, @@ -3288,11 +3288,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1001, + "id": 1055, "name": "Identifier", "src": "3652:9:7" }, @@ -3302,16 +3302,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 990, + "referencedDeclaration": 1044, "type": "address", "value": "_from" }, - "id": 1002, + "id": 1056, "name": "Identifier", "src": "3662:5:7" } ], - "id": 1003, + "id": 1057, "name": "IndexAccess", "src": "3652:16:7" }, @@ -3333,36 +3333,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1004, + "id": 1058, "name": "Identifier", "src": "3669:3:7" } ], - "id": 1005, + "id": 1059, "name": "MemberAccess", "src": "3669:10:7" } ], - "id": 1006, + "id": 1060, "name": "IndexAccess", "src": "3652:28:7" } ], - "id": 1007, + "id": 1061, "name": "BinaryOperation", "src": "3642:38:7" } ], - "id": 1008, + "id": 1062, "name": "FunctionCall", "src": "3634:47:7" } ], - "id": 1009, + "id": 1063, "name": "ExpressionStatement", "src": "3634:47:7" }, @@ -3405,11 +3405,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1010, + "id": 1064, "name": "Identifier", "src": "3717:9:7" }, @@ -3419,16 +3419,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 990, + "referencedDeclaration": 1044, "type": "address", "value": "_from" }, - "id": 1011, + "id": 1065, "name": "Identifier", "src": "3727:5:7" } ], - "id": 1014, + "id": 1068, "name": "IndexAccess", "src": "3717:16:7" }, @@ -3450,21 +3450,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1012, + "id": 1066, "name": "Identifier", "src": "3734:3:7" } ], - "id": 1013, + "id": 1067, "name": "MemberAccess", "src": "3734:10:7" } ], - "id": 1015, + "id": 1069, "name": "IndexAccess", "src": "3717:28:7" }, @@ -3496,7 +3496,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -3526,11 +3526,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1016, + "id": 1070, "name": "Identifier", "src": "3748:9:7" }, @@ -3540,16 +3540,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 990, + "referencedDeclaration": 1044, "type": "address", "value": "_from" }, - "id": 1017, + "id": 1071, "name": "Identifier", "src": "3758:5:7" } ], - "id": 1018, + "id": 1072, "name": "IndexAccess", "src": "3748:16:7" }, @@ -3571,26 +3571,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1019, + "id": 1073, "name": "Identifier", "src": "3765:3:7" } ], - "id": 1020, + "id": 1074, "name": "MemberAccess", "src": "3765:10:7" } ], - "id": 1021, + "id": 1075, "name": "IndexAccess", "src": "3748:28:7" } ], - "id": 1022, + "id": 1076, "name": "MemberAccess", "src": "3748:32:7" }, @@ -3600,26 +3600,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 994, + "referencedDeclaration": 1048, "type": "uint256", "value": "_value" }, - "id": 1023, + "id": 1077, "name": "Identifier", "src": "3781:6:7" } ], - "id": 1024, + "id": 1078, "name": "FunctionCall", "src": "3748:40:7" } ], - "id": 1025, + "id": 1079, "name": "Assignment", "src": "3717:71:7" } ], - "id": 1026, + "id": 1080, "name": "ExpressionStatement", "src": "3717:71:7" }, @@ -3659,11 +3659,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 973, + "referencedDeclaration": 1027, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 1027, + "id": 1081, "name": "Identifier", "src": "3799:9:7" }, @@ -3673,11 +3673,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 990, + "referencedDeclaration": 1044, "type": "address", "value": "_from" }, - "id": 1028, + "id": 1082, "name": "Identifier", "src": "3809:5:7" }, @@ -3687,11 +3687,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 992, + "referencedDeclaration": 1046, "type": "address", "value": "_to" }, - "id": 1029, + "id": 1083, "name": "Identifier", "src": "3816:3:7" }, @@ -3701,27 +3701,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 994, + "referencedDeclaration": 1048, "type": "uint256", "value": "_value" }, - "id": 1030, + "id": 1084, "name": "Identifier", "src": "3821:6:7" } ], - "id": 1031, + "id": 1085, "name": "FunctionCall", "src": "3799:29:7" } ], - "id": 1032, + "id": 1086, "name": "ExpressionStatement", "src": "3799:29:7" }, { "attributes": { - "functionReturnParameters": 998 + "functionReturnParameters": 1052 }, "children": [ { @@ -3737,22 +3737,22 @@ "type": "bool", "value": "true" }, - "id": 1033, + "id": 1087, "name": "Literal", "src": "3848:4:7" } ], - "id": 1034, + "id": 1088, "name": "Return", "src": "3841:11:7" } ], - "id": 1035, + "id": 1089, "name": "Block", "src": "3623:237:7" } ], - "id": 1036, + "id": 1090, "name": "FunctionDefinition", "src": "3513:347:7" }, @@ -3766,7 +3766,7 @@ ], "name": "approve", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3778,7 +3778,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1057, + "scope": 1111, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3791,12 +3791,12 @@ "name": "address", "type": "address" }, - "id": 1037, + "id": 1091, "name": "ElementaryTypeName", "src": "4146:7:7" } ], - "id": 1038, + "id": 1092, "name": "VariableDeclaration", "src": "4146:16:7" }, @@ -3804,7 +3804,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1057, + "scope": 1111, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3817,17 +3817,17 @@ "name": "uint256", "type": "uint256" }, - "id": 1039, + "id": 1093, "name": "ElementaryTypeName", "src": "4164:7:7" } ], - "id": 1040, + "id": 1094, "name": "VariableDeclaration", "src": "4164:14:7" } ], - "id": 1041, + "id": 1095, "name": "ParameterList", "src": "4145:34:7" }, @@ -3837,7 +3837,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1057, + "scope": 1111, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -3850,17 +3850,17 @@ "name": "bool", "type": "bool" }, - "id": 1042, + "id": 1096, "name": "ElementaryTypeName", "src": "4205:4:7" } ], - "id": 1043, + "id": 1097, "name": "VariableDeclaration", "src": "4205:12:7" } ], - "id": 1044, + "id": 1098, "name": "ParameterList", "src": "4204:14:7" }, @@ -3905,11 +3905,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1045, + "id": 1099, "name": "Identifier", "src": "4235:9:7" }, @@ -3931,21 +3931,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1046, + "id": 1100, "name": "Identifier", "src": "4245:3:7" } ], - "id": 1047, + "id": 1101, "name": "MemberAccess", "src": "4245:10:7" } ], - "id": 1049, + "id": 1103, "name": "IndexAccess", "src": "4235:21:7" }, @@ -3955,16 +3955,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1038, + "referencedDeclaration": 1092, "type": "address", "value": "_spender" }, - "id": 1048, + "id": 1102, "name": "Identifier", "src": "4257:8:7" } ], - "id": 1050, + "id": 1104, "name": "IndexAccess", "src": "4235:31:7" }, @@ -3974,27 +3974,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1040, + "referencedDeclaration": 1094, "type": "uint256", "value": "_value" }, - "id": 1051, + "id": 1105, "name": "Identifier", "src": "4269:6:7" } ], - "id": 1052, + "id": 1106, "name": "Assignment", "src": "4235:40:7" } ], - "id": 1053, + "id": 1107, "name": "ExpressionStatement", "src": "4235:40:7" }, { "attributes": { - "functionReturnParameters": 1044 + "functionReturnParameters": 1098 }, "children": [ { @@ -4010,22 +4010,22 @@ "type": "bool", "value": "true" }, - "id": 1054, + "id": 1108, "name": "Literal", "src": "4295:4:7" } ], - "id": 1055, + "id": 1109, "name": "Return", "src": "4288:11:7" } ], - "id": 1056, + "id": 1110, "name": "Block", "src": "4224:83:7" } ], - "id": 1057, + "id": 1111, "name": "FunctionDefinition", "src": "4129:178:7" }, @@ -4036,7 +4036,7 @@ "isConstructor": false, "name": "approveAndCall", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4048,7 +4048,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1095, + "scope": 1149, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4061,12 +4061,12 @@ "name": "address", "type": "address" }, - "id": 1058, + "id": 1112, "name": "ElementaryTypeName", "src": "4730:7:7" } ], - "id": 1059, + "id": 1113, "name": "VariableDeclaration", "src": "4730:16:7" }, @@ -4074,7 +4074,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1095, + "scope": 1149, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4087,12 +4087,12 @@ "name": "uint256", "type": "uint256" }, - "id": 1060, + "id": 1114, "name": "ElementaryTypeName", "src": "4748:7:7" } ], - "id": 1061, + "id": 1115, "name": "VariableDeclaration", "src": "4748:14:7" }, @@ -4100,7 +4100,7 @@ "attributes": { "constant": false, "name": "_extraData", - "scope": 1095, + "scope": 1149, "stateVariable": false, "storageLocation": "default", "type": "bytes memory", @@ -4113,17 +4113,17 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 1062, + "id": 1116, "name": "ElementaryTypeName", "src": "4764:5:7" } ], - "id": 1063, + "id": 1117, "name": "VariableDeclaration", "src": "4764:16:7" } ], - "id": 1064, + "id": 1118, "name": "ParameterList", "src": "4729:52:7" }, @@ -4133,7 +4133,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1095, + "scope": 1149, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -4146,17 +4146,17 @@ "name": "bool", "type": "bool" }, - "id": 1067, + "id": 1121, "name": "ElementaryTypeName", "src": "4817:4:7" } ], - "id": 1068, + "id": 1122, "name": "VariableDeclaration", "src": "4817:12:7" } ], - "id": 1069, + "id": 1123, "name": "ParameterList", "src": "4816:14:7" }, @@ -4177,12 +4177,12 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 1065, + "id": 1119, "name": "Identifier", "src": "4789:9:7" } ], - "id": 1066, + "id": 1120, "name": "ModifierInvocation", "src": "4789:9:7" }, @@ -4191,7 +4191,7 @@ { "attributes": { "assignments": [ - 1071 + 1125 ] }, "children": [ @@ -4199,7 +4199,7 @@ "attributes": { "constant": false, "name": "spender", - "scope": 1095, + "scope": 1149, "stateVariable": false, "storageLocation": "default", "type": "contract tokenRecipient", @@ -4211,15 +4211,15 @@ "attributes": { "contractScope": null, "name": "tokenRecipient", - "referencedDeclaration": 789, + "referencedDeclaration": 843, "type": "contract tokenRecipient" }, - "id": 1070, + "id": 1124, "name": "UserDefinedTypeName", "src": "4847:14:7" } ], - "id": 1071, + "id": 1125, "name": "VariableDeclaration", "src": "4847:22:7" }, @@ -4249,11 +4249,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 789, + "referencedDeclaration": 843, "type": "type(contract tokenRecipient)", "value": "tokenRecipient" }, - "id": 1072, + "id": 1126, "name": "Identifier", "src": "4872:14:7" }, @@ -4263,21 +4263,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1059, + "referencedDeclaration": 1113, "type": "address", "value": "_spender" }, - "id": 1073, + "id": 1127, "name": "Identifier", "src": "4887:8:7" } ], - "id": 1074, + "id": 1128, "name": "FunctionCall", "src": "4872:24:7" } ], - "id": 1075, + "id": 1129, "name": "VariableDeclarationStatement", "src": "4847:49:7" }, @@ -4316,11 +4316,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1057, + "referencedDeclaration": 1111, "type": "function (address,uint256) returns (bool)", "value": "approve" }, - "id": 1076, + "id": 1130, "name": "Identifier", "src": "4913:7:7" }, @@ -4330,11 +4330,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1059, + "referencedDeclaration": 1113, "type": "address", "value": "_spender" }, - "id": 1077, + "id": 1131, "name": "Identifier", "src": "4921:8:7" }, @@ -4344,16 +4344,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1061, + "referencedDeclaration": 1115, "type": "uint256", "value": "_value" }, - "id": 1078, + "id": 1132, "name": "Identifier", "src": "4931:6:7" } ], - "id": 1079, + "id": 1133, "name": "FunctionCall", "src": "4913:25:7" }, @@ -4388,7 +4388,7 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_contract$_TokenERC20_$1331", + "typeIdentifier": "t_contract$_TokenERC20_$1385", "typeString": "contract TokenERC20" }, { @@ -4401,7 +4401,7 @@ "isPure": false, "lValueRequested": false, "member_name": "receiveApproval", - "referencedDeclaration": 788, + "referencedDeclaration": 842, "type": "function (address,uint256,address,bytes memory) external" }, "children": [ @@ -4411,16 +4411,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1071, + "referencedDeclaration": 1125, "type": "contract tokenRecipient", "value": "spender" }, - "id": 1080, + "id": 1134, "name": "Identifier", "src": "4955:7:7" } ], - "id": 1082, + "id": 1136, "name": "MemberAccess", "src": "4955:23:7" }, @@ -4442,16 +4442,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1083, + "id": 1137, "name": "Identifier", "src": "4979:3:7" } ], - "id": 1084, + "id": 1138, "name": "MemberAccess", "src": "4979:10:7" }, @@ -4461,11 +4461,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1061, + "referencedDeclaration": 1115, "type": "uint256", "value": "_value" }, - "id": 1085, + "id": 1139, "name": "Identifier", "src": "4991:6:7" }, @@ -4475,11 +4475,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1360, + "referencedDeclaration": 1414, "type": "contract TokenERC20", "value": "this" }, - "id": 1086, + "id": 1140, "name": "Identifier", "src": "4999:4:7" }, @@ -4489,27 +4489,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1063, + "referencedDeclaration": 1117, "type": "bytes memory", "value": "_extraData" }, - "id": 1087, + "id": 1141, "name": "Identifier", "src": "5005:10:7" } ], - "id": 1088, + "id": 1142, "name": "FunctionCall", "src": "4955:61:7" } ], - "id": 1089, + "id": 1143, "name": "ExpressionStatement", "src": "4955:61:7" }, { "attributes": { - "functionReturnParameters": 1069 + "functionReturnParameters": 1123 }, "children": [ { @@ -4525,32 +4525,32 @@ "type": "bool", "value": "true" }, - "id": 1090, + "id": 1144, "name": "Literal", "src": "5040:4:7" } ], - "id": 1091, + "id": 1145, "name": "Return", "src": "5033:11:7" } ], - "id": 1092, + "id": 1146, "name": "Block", "src": "4940:116:7" } ], - "id": 1093, + "id": 1147, "name": "IfStatement", "src": "4909:147:7" } ], - "id": 1094, + "id": 1148, "name": "Block", "src": "4836:227:7" } ], - "id": 1095, + "id": 1149, "name": "FunctionDefinition", "src": "4706:357:7" }, @@ -4564,7 +4564,7 @@ ], "name": "increaseApproval", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4576,7 +4576,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1136, + "scope": 1190, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4589,12 +4589,12 @@ "name": "address", "type": "address" }, - "id": 1096, + "id": 1150, "name": "ElementaryTypeName", "src": "5352:7:7" } ], - "id": 1097, + "id": 1151, "name": "VariableDeclaration", "src": "5352:16:7" }, @@ -4602,7 +4602,7 @@ "attributes": { "constant": false, "name": "_addedValue", - "scope": 1136, + "scope": 1190, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4615,17 +4615,17 @@ "name": "uint", "type": "uint256" }, - "id": 1098, + "id": 1152, "name": "ElementaryTypeName", "src": "5370:4:7" } ], - "id": 1099, + "id": 1153, "name": "VariableDeclaration", "src": "5370:16:7" } ], - "id": 1100, + "id": 1154, "name": "ParameterList", "src": "5351:36:7" }, @@ -4635,7 +4635,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1136, + "scope": 1190, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -4648,17 +4648,17 @@ "name": "bool", "type": "bool" }, - "id": 1101, + "id": 1155, "name": "ElementaryTypeName", "src": "5413:4:7" } ], - "id": 1102, + "id": 1156, "name": "VariableDeclaration", "src": "5413:12:7" } ], - "id": 1103, + "id": 1157, "name": "ParameterList", "src": "5412:14:7" }, @@ -4703,11 +4703,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1104, + "id": 1158, "name": "Identifier", "src": "5443:9:7" }, @@ -4729,21 +4729,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1105, + "id": 1159, "name": "Identifier", "src": "5453:3:7" } ], - "id": 1106, + "id": 1160, "name": "MemberAccess", "src": "5453:10:7" } ], - "id": 1108, + "id": 1162, "name": "IndexAccess", "src": "5443:21:7" }, @@ -4753,16 +4753,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1151, "type": "address", "value": "_spender" }, - "id": 1107, + "id": 1161, "name": "Identifier", "src": "5465:8:7" } ], - "id": 1109, + "id": 1163, "name": "IndexAccess", "src": "5443:31:7" }, @@ -4794,7 +4794,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 335, + "referencedDeclaration": 332, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -4824,11 +4824,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1110, + "id": 1164, "name": "Identifier", "src": "5477:9:7" }, @@ -4850,21 +4850,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1111, + "id": 1165, "name": "Identifier", "src": "5487:3:7" } ], - "id": 1112, + "id": 1166, "name": "MemberAccess", "src": "5487:10:7" } ], - "id": 1113, + "id": 1167, "name": "IndexAccess", "src": "5477:21:7" }, @@ -4874,21 +4874,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1151, "type": "address", "value": "_spender" }, - "id": 1114, + "id": 1168, "name": "Identifier", "src": "5499:8:7" } ], - "id": 1115, + "id": 1169, "name": "IndexAccess", "src": "5477:31:7" } ], - "id": 1116, + "id": 1170, "name": "MemberAccess", "src": "5477:35:7" }, @@ -4898,26 +4898,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1099, + "referencedDeclaration": 1153, "type": "uint256", "value": "_addedValue" }, - "id": 1117, + "id": 1171, "name": "Identifier", "src": "5513:11:7" } ], - "id": 1118, + "id": 1172, "name": "FunctionCall", "src": "5477:48:7" } ], - "id": 1119, + "id": 1173, "name": "Assignment", "src": "5443:82:7" } ], - "id": 1120, + "id": 1174, "name": "ExpressionStatement", "src": "5443:82:7" }, @@ -4957,11 +4957,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 901, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 1121, + "id": 1175, "name": "Identifier", "src": "5538:8:7" }, @@ -4983,16 +4983,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1122, + "id": 1176, "name": "Identifier", "src": "5547:3:7" } ], - "id": 1123, + "id": 1177, "name": "MemberAccess", "src": "5547:10:7" }, @@ -5002,11 +5002,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1151, "type": "address", "value": "_spender" }, - "id": 1124, + "id": 1178, "name": "Identifier", "src": "5559:8:7" }, @@ -5036,11 +5036,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1125, + "id": 1179, "name": "Identifier", "src": "5569:9:7" }, @@ -5062,21 +5062,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1126, + "id": 1180, "name": "Identifier", "src": "5579:3:7" } ], - "id": 1127, + "id": 1181, "name": "MemberAccess", "src": "5579:10:7" } ], - "id": 1128, + "id": 1182, "name": "IndexAccess", "src": "5569:21:7" }, @@ -5086,32 +5086,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1151, "type": "address", "value": "_spender" }, - "id": 1129, + "id": 1183, "name": "Identifier", "src": "5591:8:7" } ], - "id": 1130, + "id": 1184, "name": "IndexAccess", "src": "5569:31:7" } ], - "id": 1131, + "id": 1185, "name": "FunctionCall", "src": "5538:63:7" } ], - "id": 1132, + "id": 1186, "name": "ExpressionStatement", "src": "5538:63:7" }, { "attributes": { - "functionReturnParameters": 1103 + "functionReturnParameters": 1157 }, "children": [ { @@ -5127,22 +5127,22 @@ "type": "bool", "value": "true" }, - "id": 1133, + "id": 1187, "name": "Literal", "src": "5621:4:7" } ], - "id": 1134, + "id": 1188, "name": "Return", "src": "5614:11:7" } ], - "id": 1135, + "id": 1189, "name": "Block", "src": "5432:201:7" } ], - "id": 1136, + "id": 1190, "name": "FunctionDefinition", "src": "5325:308:7" }, @@ -5156,7 +5156,7 @@ ], "name": "decreaseApproval", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -5168,7 +5168,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 1196, + "scope": 1250, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -5181,12 +5181,12 @@ "name": "address", "type": "address" }, - "id": 1137, + "id": 1191, "name": "ElementaryTypeName", "src": "5668:7:7" } ], - "id": 1138, + "id": 1192, "name": "VariableDeclaration", "src": "5668:16:7" }, @@ -5194,7 +5194,7 @@ "attributes": { "constant": false, "name": "_subtractedValue", - "scope": 1196, + "scope": 1250, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5207,17 +5207,17 @@ "name": "uint", "type": "uint256" }, - "id": 1139, + "id": 1193, "name": "ElementaryTypeName", "src": "5686:4:7" } ], - "id": 1140, + "id": 1194, "name": "VariableDeclaration", "src": "5686:21:7" } ], - "id": 1141, + "id": 1195, "name": "ParameterList", "src": "5667:41:7" }, @@ -5227,7 +5227,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1196, + "scope": 1250, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -5240,17 +5240,17 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 1196, "name": "ElementaryTypeName", "src": "5734:4:7" } ], - "id": 1143, + "id": 1197, "name": "VariableDeclaration", "src": "5734:12:7" } ], - "id": 1144, + "id": 1198, "name": "ParameterList", "src": "5733:14:7" }, @@ -5259,7 +5259,7 @@ { "attributes": { "assignments": [ - 1146 + 1200 ] }, "children": [ @@ -5267,7 +5267,7 @@ "attributes": { "constant": false, "name": "oldValue", - "scope": 1196, + "scope": 1250, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5280,12 +5280,12 @@ "name": "uint", "type": "uint256" }, - "id": 1145, + "id": 1199, "name": "ElementaryTypeName", "src": "5764:4:7" } ], - "id": 1146, + "id": 1200, "name": "VariableDeclaration", "src": "5764:13:7" }, @@ -5315,11 +5315,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1147, + "id": 1201, "name": "Identifier", "src": "5780:9:7" }, @@ -5341,21 +5341,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1148, + "id": 1202, "name": "Identifier", "src": "5790:3:7" } ], - "id": 1149, + "id": 1203, "name": "MemberAccess", "src": "5790:10:7" } ], - "id": 1150, + "id": 1204, "name": "IndexAccess", "src": "5780:21:7" }, @@ -5365,21 +5365,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1138, + "referencedDeclaration": 1192, "type": "address", "value": "_spender" }, - "id": 1151, + "id": 1205, "name": "Identifier", "src": "5802:8:7" } ], - "id": 1152, + "id": 1206, "name": "IndexAccess", "src": "5780:31:7" } ], - "id": 1153, + "id": 1207, "name": "VariableDeclarationStatement", "src": "5764:47:7" }, @@ -5406,11 +5406,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1140, + "referencedDeclaration": 1194, "type": "uint256", "value": "_subtractedValue" }, - "id": 1154, + "id": 1208, "name": "Identifier", "src": "5828:16:7" }, @@ -5420,16 +5420,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 1200, "type": "uint256", "value": "oldValue" }, - "id": 1155, + "id": 1209, "name": "Identifier", "src": "5847:8:7" } ], - "id": 1156, + "id": 1210, "name": "BinaryOperation", "src": "5828:27:7" }, @@ -5474,11 +5474,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1157, + "id": 1211, "name": "Identifier", "src": "5872:9:7" }, @@ -5500,21 +5500,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1158, + "id": 1212, "name": "Identifier", "src": "5882:3:7" } ], - "id": 1159, + "id": 1213, "name": "MemberAccess", "src": "5882:10:7" } ], - "id": 1161, + "id": 1215, "name": "IndexAccess", "src": "5872:21:7" }, @@ -5524,16 +5524,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1138, + "referencedDeclaration": 1192, "type": "address", "value": "_spender" }, - "id": 1160, + "id": 1214, "name": "Identifier", "src": "5894:8:7" } ], - "id": 1162, + "id": 1216, "name": "IndexAccess", "src": "5872:31:7" }, @@ -5550,22 +5550,22 @@ "type": "int_const 0", "value": "0" }, - "id": 1163, + "id": 1217, "name": "Literal", "src": "5906:1:7" } ], - "id": 1164, + "id": 1218, "name": "Assignment", "src": "5872:35:7" } ], - "id": 1165, + "id": 1219, "name": "ExpressionStatement", "src": "5872:35:7" } ], - "id": 1166, + "id": 1220, "name": "Block", "src": "5857:62:7" }, @@ -5610,11 +5610,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1167, + "id": 1221, "name": "Identifier", "src": "5940:9:7" }, @@ -5636,21 +5636,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1168, + "id": 1222, "name": "Identifier", "src": "5950:3:7" } ], - "id": 1169, + "id": 1223, "name": "MemberAccess", "src": "5950:10:7" } ], - "id": 1171, + "id": 1225, "name": "IndexAccess", "src": "5940:21:7" }, @@ -5660,16 +5660,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1138, + "referencedDeclaration": 1192, "type": "address", "value": "_spender" }, - "id": 1170, + "id": 1224, "name": "Identifier", "src": "5962:8:7" } ], - "id": 1172, + "id": 1226, "name": "IndexAccess", "src": "5940:31:7" }, @@ -5701,7 +5701,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -5711,16 +5711,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 1200, "type": "uint256", "value": "oldValue" }, - "id": 1173, + "id": 1227, "name": "Identifier", "src": "5974:8:7" } ], - "id": 1174, + "id": 1228, "name": "MemberAccess", "src": "5974:12:7" }, @@ -5730,36 +5730,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1140, + "referencedDeclaration": 1194, "type": "uint256", "value": "_subtractedValue" }, - "id": 1175, + "id": 1229, "name": "Identifier", "src": "5987:16:7" } ], - "id": 1176, + "id": 1230, "name": "FunctionCall", "src": "5974:30:7" } ], - "id": 1177, + "id": 1231, "name": "Assignment", "src": "5940:64:7" } ], - "id": 1178, + "id": 1232, "name": "ExpressionStatement", "src": "5940:64:7" } ], - "id": 1179, + "id": 1233, "name": "Block", "src": "5925:91:7" } ], - "id": 1180, + "id": 1234, "name": "IfStatement", "src": "5824:192:7" }, @@ -5799,11 +5799,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 901, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 1181, + "id": 1235, "name": "Identifier", "src": "6028:8:7" }, @@ -5825,16 +5825,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1182, + "id": 1236, "name": "Identifier", "src": "6037:3:7" } ], - "id": 1183, + "id": 1237, "name": "MemberAccess", "src": "6037:10:7" }, @@ -5844,11 +5844,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1138, + "referencedDeclaration": 1192, "type": "address", "value": "_spender" }, - "id": 1184, + "id": 1238, "name": "Identifier", "src": "6049:8:7" }, @@ -5878,11 +5878,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1185, + "id": 1239, "name": "Identifier", "src": "6059:9:7" }, @@ -5904,21 +5904,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1186, + "id": 1240, "name": "Identifier", "src": "6069:3:7" } ], - "id": 1187, + "id": 1241, "name": "MemberAccess", "src": "6069:10:7" } ], - "id": 1188, + "id": 1242, "name": "IndexAccess", "src": "6059:21:7" }, @@ -5928,32 +5928,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1138, + "referencedDeclaration": 1192, "type": "address", "value": "_spender" }, - "id": 1189, + "id": 1243, "name": "Identifier", "src": "6081:8:7" } ], - "id": 1190, + "id": 1244, "name": "IndexAccess", "src": "6059:31:7" } ], - "id": 1191, + "id": 1245, "name": "FunctionCall", "src": "6028:63:7" } ], - "id": 1192, + "id": 1246, "name": "ExpressionStatement", "src": "6028:63:7" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 1198 }, "children": [ { @@ -5969,22 +5969,22 @@ "type": "bool", "value": "true" }, - "id": 1193, + "id": 1247, "name": "Literal", "src": "6111:4:7" } ], - "id": 1194, + "id": 1248, "name": "Return", "src": "6104:11:7" } ], - "id": 1195, + "id": 1249, "name": "Block", "src": "5753:370:7" } ], - "id": 1196, + "id": 1250, "name": "FunctionDefinition", "src": "5641:482:7" }, @@ -5995,7 +5995,7 @@ "isConstructor": false, "name": "burn", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6007,7 +6007,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1250, + "scope": 1304, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6020,17 +6020,17 @@ "name": "uint256", "type": "uint256" }, - "id": 1197, + "id": 1251, "name": "ElementaryTypeName", "src": "6312:7:7" } ], - "id": 1198, + "id": 1252, "name": "VariableDeclaration", "src": "6312:14:7" } ], - "id": 1199, + "id": 1253, "name": "ParameterList", "src": "6311:16:7" }, @@ -6040,7 +6040,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1250, + "scope": 1304, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -6053,17 +6053,17 @@ "name": "bool", "type": "bool" }, - "id": 1202, + "id": 1256, "name": "ElementaryTypeName", "src": "6363:4:7" } ], - "id": 1203, + "id": 1257, "name": "VariableDeclaration", "src": "6363:12:7" } ], - "id": 1204, + "id": 1258, "name": "ParameterList", "src": "6362:14:7" }, @@ -6084,12 +6084,12 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 1200, + "id": 1254, "name": "Identifier", "src": "6335:9:7" } ], - "id": 1201, + "id": 1255, "name": "ModifierInvocation", "src": "6335:9:7" }, @@ -6123,11 +6123,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 1205, + "id": 1259, "name": "Identifier", "src": "6393:7:7" }, @@ -6162,11 +6162,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1206, + "id": 1260, "name": "Identifier", "src": "6401:9:7" }, @@ -6188,21 +6188,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1207, + "id": 1261, "name": "Identifier", "src": "6411:3:7" } ], - "id": 1208, + "id": 1262, "name": "MemberAccess", "src": "6411:10:7" } ], - "id": 1209, + "id": 1263, "name": "IndexAccess", "src": "6401:21:7" }, @@ -6212,26 +6212,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1198, + "referencedDeclaration": 1252, "type": "uint256", "value": "_value" }, - "id": 1210, + "id": 1264, "name": "Identifier", "src": "6426:6:7" } ], - "id": 1211, + "id": 1265, "name": "BinaryOperation", "src": "6401:31:7" } ], - "id": 1212, + "id": 1266, "name": "FunctionCall", "src": "6393:40:7" } ], - "id": 1213, + "id": 1267, "name": "ExpressionStatement", "src": "6393:40:7" }, @@ -6264,11 +6264,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1214, + "id": 1268, "name": "Identifier", "src": "6482:9:7" }, @@ -6290,21 +6290,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1215, + "id": 1269, "name": "Identifier", "src": "6492:3:7" } ], - "id": 1216, + "id": 1270, "name": "MemberAccess", "src": "6492:10:7" } ], - "id": 1217, + "id": 1271, "name": "IndexAccess", "src": "6482:21:7" }, @@ -6336,7 +6336,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -6356,11 +6356,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1218, + "id": 1272, "name": "Identifier", "src": "6506:9:7" }, @@ -6382,26 +6382,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1219, + "id": 1273, "name": "Identifier", "src": "6516:3:7" } ], - "id": 1220, + "id": 1274, "name": "MemberAccess", "src": "6516:10:7" } ], - "id": 1221, + "id": 1275, "name": "IndexAccess", "src": "6506:21:7" } ], - "id": 1222, + "id": 1276, "name": "MemberAccess", "src": "6506:25:7" }, @@ -6411,26 +6411,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1198, + "referencedDeclaration": 1252, "type": "uint256", "value": "_value" }, - "id": 1223, + "id": 1277, "name": "Identifier", "src": "6532:6:7" } ], - "id": 1224, + "id": 1278, "name": "FunctionCall", "src": "6506:33:7" } ], - "id": 1225, + "id": 1279, "name": "Assignment", "src": "6482:57:7" } ], - "id": 1226, + "id": 1280, "name": "ExpressionStatement", "src": "6482:57:7" }, @@ -6453,11 +6453,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 810, + "referencedDeclaration": 864, "type": "uint256", "value": "totalSupply" }, - "id": 1227, + "id": 1281, "name": "Identifier", "src": "6579:11:7" }, @@ -6489,7 +6489,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -6499,16 +6499,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 810, + "referencedDeclaration": 864, "type": "uint256", "value": "totalSupply" }, - "id": 1228, + "id": 1282, "name": "Identifier", "src": "6593:11:7" } ], - "id": 1229, + "id": 1283, "name": "MemberAccess", "src": "6593:15:7" }, @@ -6518,26 +6518,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1198, + "referencedDeclaration": 1252, "type": "uint256", "value": "_value" }, - "id": 1230, + "id": 1284, "name": "Identifier", "src": "6609:6:7" } ], - "id": 1231, + "id": 1285, "name": "FunctionCall", "src": "6593:23:7" } ], - "id": 1232, + "id": 1286, "name": "Assignment", "src": "6579:37:7" } ], - "id": 1233, + "id": 1287, "name": "ExpressionStatement", "src": "6579:37:7" }, @@ -6560,11 +6560,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 1234, + "id": 1288, "name": "Identifier", "src": "6671:15:7" }, @@ -6596,7 +6596,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -6606,16 +6606,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 1235, + "id": 1289, "name": "Identifier", "src": "6689:15:7" } ], - "id": 1236, + "id": 1290, "name": "MemberAccess", "src": "6689:19:7" }, @@ -6625,26 +6625,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1198, + "referencedDeclaration": 1252, "type": "uint256", "value": "_value" }, - "id": 1237, + "id": 1291, "name": "Identifier", "src": "6709:6:7" } ], - "id": 1238, + "id": 1292, "name": "FunctionCall", "src": "6689:27:7" } ], - "id": 1239, + "id": 1293, "name": "Assignment", "src": "6671:45:7" } ], - "id": 1240, + "id": 1294, "name": "ExpressionStatement", "src": "6671:45:7" }, @@ -6680,11 +6680,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 839, + "referencedDeclaration": 893, "type": "function (address,uint256)", "value": "Burn" }, - "id": 1241, + "id": 1295, "name": "Identifier", "src": "6729:4:7" }, @@ -6706,16 +6706,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1242, + "id": 1296, "name": "Identifier", "src": "6734:3:7" } ], - "id": 1243, + "id": 1297, "name": "MemberAccess", "src": "6734:10:7" }, @@ -6725,27 +6725,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1198, + "referencedDeclaration": 1252, "type": "uint256", "value": "_value" }, - "id": 1244, + "id": 1298, "name": "Identifier", "src": "6746:6:7" } ], - "id": 1245, + "id": 1299, "name": "FunctionCall", "src": "6729:24:7" } ], - "id": 1246, + "id": 1300, "name": "ExpressionStatement", "src": "6729:24:7" }, { "attributes": { - "functionReturnParameters": 1204 + "functionReturnParameters": 1258 }, "children": [ { @@ -6761,22 +6761,22 @@ "type": "bool", "value": "true" }, - "id": 1247, + "id": 1301, "name": "Literal", "src": "6773:4:7" } ], - "id": 1248, + "id": 1302, "name": "Return", "src": "6766:11:7" } ], - "id": 1249, + "id": 1303, "name": "Block", "src": "6382:403:7" } ], - "id": 1250, + "id": 1304, "name": "FunctionDefinition", "src": "6298:487:7" }, @@ -6787,7 +6787,7 @@ "isConstructor": false, "name": "burnFrom", "payable": false, - "scope": 1331, + "scope": 1385, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6799,7 +6799,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 1330, + "scope": 1384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -6812,12 +6812,12 @@ "name": "address", "type": "address" }, - "id": 1251, + "id": 1305, "name": "ElementaryTypeName", "src": "7066:7:7" } ], - "id": 1252, + "id": 1306, "name": "VariableDeclaration", "src": "7066:13:7" }, @@ -6825,7 +6825,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 1330, + "scope": 1384, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6838,17 +6838,17 @@ "name": "uint256", "type": "uint256" }, - "id": 1253, + "id": 1307, "name": "ElementaryTypeName", "src": "7081:7:7" } ], - "id": 1254, + "id": 1308, "name": "VariableDeclaration", "src": "7081:14:7" } ], - "id": 1255, + "id": 1309, "name": "ParameterList", "src": "7065:31:7" }, @@ -6858,7 +6858,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 1330, + "scope": 1384, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -6871,17 +6871,17 @@ "name": "bool", "type": "bool" }, - "id": 1258, + "id": 1312, "name": "ElementaryTypeName", "src": "7132:4:7" } ], - "id": 1259, + "id": 1313, "name": "VariableDeclaration", "src": "7132:12:7" } ], - "id": 1260, + "id": 1314, "name": "ParameterList", "src": "7131:14:7" }, @@ -6902,12 +6902,12 @@ "type": "modifier ()", "value": "onlyOwner" }, - "id": 1256, + "id": 1310, "name": "Identifier", "src": "7104:9:7" } ], - "id": 1257, + "id": 1311, "name": "ModifierInvocation", "src": "7104:9:7" }, @@ -6941,11 +6941,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 1261, + "id": 1315, "name": "Identifier", "src": "7162:7:7" }, @@ -6980,11 +6980,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1262, + "id": 1316, "name": "Identifier", "src": "7170:9:7" }, @@ -6994,16 +6994,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1263, + "id": 1317, "name": "Identifier", "src": "7180:5:7" } ], - "id": 1264, + "id": 1318, "name": "IndexAccess", "src": "7170:16:7" }, @@ -7013,26 +7013,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1265, + "id": 1319, "name": "Identifier", "src": "7190:6:7" } ], - "id": 1266, + "id": 1320, "name": "BinaryOperation", "src": "7170:26:7" } ], - "id": 1267, + "id": 1321, "name": "FunctionCall", "src": "7162:35:7" } ], - "id": 1268, + "id": 1322, "name": "ExpressionStatement", "src": "7162:35:7" }, @@ -7064,11 +7064,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1346, + "referencedDeclaration": 1400, "type": "function (bool) pure", "value": "require" }, - "id": 1269, + "id": 1323, "name": "Identifier", "src": "7266:7:7" }, @@ -7093,11 +7093,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1270, + "id": 1324, "name": "Identifier", "src": "7274:6:7" }, @@ -7127,11 +7127,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1271, + "id": 1325, "name": "Identifier", "src": "7284:9:7" }, @@ -7141,16 +7141,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1272, + "id": 1326, "name": "Identifier", "src": "7294:5:7" } ], - "id": 1273, + "id": 1327, "name": "IndexAccess", "src": "7284:16:7" }, @@ -7172,36 +7172,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1274, + "id": 1328, "name": "Identifier", "src": "7301:3:7" } ], - "id": 1275, + "id": 1329, "name": "MemberAccess", "src": "7301:10:7" } ], - "id": 1276, + "id": 1330, "name": "IndexAccess", "src": "7284:28:7" } ], - "id": 1277, + "id": 1331, "name": "BinaryOperation", "src": "7274:38:7" } ], - "id": 1278, + "id": 1332, "name": "FunctionCall", "src": "7266:47:7" } ], - "id": 1279, + "id": 1333, "name": "ExpressionStatement", "src": "7266:47:7" }, @@ -7234,11 +7234,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1280, + "id": 1334, "name": "Identifier", "src": "7348:9:7" }, @@ -7248,16 +7248,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1281, + "id": 1335, "name": "Identifier", "src": "7358:5:7" } ], - "id": 1282, + "id": 1336, "name": "IndexAccess", "src": "7348:16:7" }, @@ -7289,7 +7289,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7309,11 +7309,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 873, "type": "mapping(address => uint256)", "value": "balanceOf" }, - "id": 1283, + "id": 1337, "name": "Identifier", "src": "7367:9:7" }, @@ -7323,21 +7323,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1284, + "id": 1338, "name": "Identifier", "src": "7377:5:7" } ], - "id": 1285, + "id": 1339, "name": "IndexAccess", "src": "7367:16:7" } ], - "id": 1286, + "id": 1340, "name": "MemberAccess", "src": "7367:20:7" }, @@ -7347,26 +7347,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1287, + "id": 1341, "name": "Identifier", "src": "7388:6:7" } ], - "id": 1288, + "id": 1342, "name": "FunctionCall", "src": "7367:28:7" } ], - "id": 1289, + "id": 1343, "name": "Assignment", "src": "7348:47:7" } ], - "id": 1290, + "id": 1344, "name": "ExpressionStatement", "src": "7348:47:7" }, @@ -7409,11 +7409,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1291, + "id": 1345, "name": "Identifier", "src": "7447:9:7" }, @@ -7423,16 +7423,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1292, + "id": 1346, "name": "Identifier", "src": "7457:5:7" } ], - "id": 1295, + "id": 1349, "name": "IndexAccess", "src": "7447:16:7" }, @@ -7454,21 +7454,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1293, + "id": 1347, "name": "Identifier", "src": "7464:3:7" } ], - "id": 1294, + "id": 1348, "name": "MemberAccess", "src": "7464:10:7" } ], - "id": 1296, + "id": 1350, "name": "IndexAccess", "src": "7447:28:7" }, @@ -7500,7 +7500,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7530,11 +7530,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 825, + "referencedDeclaration": 879, "type": "mapping(address => mapping(address => uint256))", "value": "allowance" }, - "id": 1297, + "id": 1351, "name": "Identifier", "src": "7478:9:7" }, @@ -7544,16 +7544,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1298, + "id": 1352, "name": "Identifier", "src": "7488:5:7" } ], - "id": 1299, + "id": 1353, "name": "IndexAccess", "src": "7478:16:7" }, @@ -7575,26 +7575,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1343, + "referencedDeclaration": 1397, "type": "msg", "value": "msg" }, - "id": 1300, + "id": 1354, "name": "Identifier", "src": "7495:3:7" } ], - "id": 1301, + "id": 1355, "name": "MemberAccess", "src": "7495:10:7" } ], - "id": 1302, + "id": 1356, "name": "IndexAccess", "src": "7478:28:7" } ], - "id": 1303, + "id": 1357, "name": "MemberAccess", "src": "7478:32:7" }, @@ -7604,26 +7604,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1304, + "id": 1358, "name": "Identifier", "src": "7511:6:7" } ], - "id": 1305, + "id": 1359, "name": "FunctionCall", "src": "7478:40:7" } ], - "id": 1306, + "id": 1360, "name": "Assignment", "src": "7447:71:7" } ], - "id": 1307, + "id": 1361, "name": "ExpressionStatement", "src": "7447:71:7" }, @@ -7646,11 +7646,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 810, + "referencedDeclaration": 864, "type": "uint256", "value": "totalSupply" }, - "id": 1308, + "id": 1362, "name": "Identifier", "src": "7572:11:7" }, @@ -7682,7 +7682,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7692,16 +7692,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 810, + "referencedDeclaration": 864, "type": "uint256", "value": "totalSupply" }, - "id": 1309, + "id": 1363, "name": "Identifier", "src": "7586:11:7" } ], - "id": 1310, + "id": 1364, "name": "MemberAccess", "src": "7586:15:7" }, @@ -7711,26 +7711,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1311, + "id": 1365, "name": "Identifier", "src": "7602:6:7" } ], - "id": 1312, + "id": 1366, "name": "FunctionCall", "src": "7586:23:7" } ], - "id": 1313, + "id": 1367, "name": "Assignment", "src": "7572:37:7" } ], - "id": 1314, + "id": 1368, "name": "ExpressionStatement", "src": "7572:37:7" }, @@ -7753,11 +7753,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 1315, + "id": 1369, "name": "Identifier", "src": "7655:15:7" }, @@ -7789,7 +7789,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 311, + "referencedDeclaration": 308, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -7799,16 +7799,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 812, + "referencedDeclaration": 866, "type": "uint256", "value": "avaliableSupply" }, - "id": 1316, + "id": 1370, "name": "Identifier", "src": "7673:15:7" } ], - "id": 1317, + "id": 1371, "name": "MemberAccess", "src": "7673:19:7" }, @@ -7818,26 +7818,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1318, + "id": 1372, "name": "Identifier", "src": "7693:6:7" } ], - "id": 1319, + "id": 1373, "name": "FunctionCall", "src": "7673:27:7" } ], - "id": 1320, + "id": 1374, "name": "Assignment", "src": "7655:45:7" } ], - "id": 1321, + "id": 1375, "name": "ExpressionStatement", "src": "7655:45:7" }, @@ -7873,11 +7873,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 839, + "referencedDeclaration": 893, "type": "function (address,uint256)", "value": "Burn" }, - "id": 1322, + "id": 1376, "name": "Identifier", "src": "7713:4:7" }, @@ -7887,11 +7887,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 1306, "type": "address", "value": "_from" }, - "id": 1323, + "id": 1377, "name": "Identifier", "src": "7718:5:7" }, @@ -7901,27 +7901,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 1308, "type": "uint256", "value": "_value" }, - "id": 1324, + "id": 1378, "name": "Identifier", "src": "7725:6:7" } ], - "id": 1325, + "id": 1379, "name": "FunctionCall", "src": "7713:19:7" } ], - "id": 1326, + "id": 1380, "name": "ExpressionStatement", "src": "7713:19:7" }, { "attributes": { - "functionReturnParameters": 1260 + "functionReturnParameters": 1314 }, "children": [ { @@ -7937,32 +7937,32 @@ "type": "bool", "value": "true" }, - "id": 1327, + "id": 1381, "name": "Literal", "src": "7752:4:7" } ], - "id": 1328, + "id": 1382, "name": "Return", "src": "7745:11:7" } ], - "id": 1329, + "id": 1383, "name": "Block", "src": "7151:613:7" } ], - "id": 1330, + "id": 1384, "name": "FunctionDefinition", "src": "7048:716:7" } ], - "id": 1331, + "id": 1385, "name": "ContractDefinition", "src": "218:7549:7" } ], - "id": 1332, + "id": 1386, "name": "SourceUnit", "src": "0:7769:7" }, @@ -7972,5 +7972,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2017-12-20T21:19:00.184Z" + "updatedAt": "2017-12-21T23:40:56.031Z" } \ No newline at end of file diff --git a/contracts/Pauseble.sol b/contracts/Pauseble.sol index 7785e8e..6cade76 100644 --- a/contracts/Pauseble.sol +++ b/contracts/Pauseble.sol @@ -8,7 +8,6 @@ contract Pauseble is TokenERC20 event EUnpause(); bool public paused = true; - uint public startIcoDate = 0; modifier whenNotPaused() { diff --git a/contracts/StreamityContract.sol b/contracts/StreamityContract.sol index 13627e7..9f2c2b4 100644 --- a/contracts/StreamityContract.sol +++ b/contracts/StreamityContract.sol @@ -5,10 +5,6 @@ import "./StreamityCrowdsale.sol"; contract StreamityContract is ERC20Extending, StreamityCrowdsale { - using SafeMath for uint; - - uint public weisRaised; // how many weis was raised on crowdsale - /* Streamity tokens Constructor */ function StreamityContract() public TokenERC20(180000000, "Streamity", "STM") {} //change before send !!! @@ -22,12 +18,7 @@ contract StreamityContract is ERC20Extending, StreamityCrowdsale require(now >= ICO.startDate); if (paused == false) { - sell(msg.sender, msg.value); - weisRaised = weisRaised.add(msg.value); - if (now >= ICO.endDate) { - pauseInternal(); - CrowdSaleFinished(crowdSaleStatus()); - } + paymentManager(msg.sender, msg.value); } else { revert(); } diff --git a/contracts/StreamityCrowdsale.sol b/contracts/StreamityCrowdsale.sol index 9beb7d1..0ed3f1c 100644 --- a/contracts/StreamityCrowdsale.sol +++ b/contracts/StreamityCrowdsale.sol @@ -8,6 +8,7 @@ contract StreamityCrowdsale is Pauseble using SafeMath for uint; uint public stage = 0; + uint256 public weisRaised; // how many weis was raised on crowdsale event CrowdSaleFinished(string info); @@ -21,6 +22,52 @@ contract StreamityCrowdsale is Pauseble Ico public ICO; + /* + * Function confirm autosell. + * + */ + function confirmSell(uint256 _amount) internal view + returns(bool) + { + if (ICO.tokens < _amount) { + return false; + } + + return true; + } + + /* + * Make discount + */ + function countDiscount(uint256 amount) internal + returns(uint256) + { + uint256 _amount = (amount.mul(DEC)).div(buyPrice); + + if (1 == stage) { + _amount = _amount.add(withDiscount(_amount, ICO.discount)); + } + else if (2 == stage) + { + if (now <= ICO.startDate + 1 days) + { + if (0 == ICO.discountFirstDayICO) { + ICO.discountFirstDayICO = 20; + } + _amount = _amount.add(withDiscount(_amount, ICO.discountFirstDayICO)); + } + else + { + _amount = _amount.add(withDiscount(_amount, ICO.discount)); + } + } + else if (3 == stage) { + _amount = _amount.add(withDiscount(_amount, ICO.discount)); + } + + return _amount; + } + /** * Function for change discount if need * @@ -72,40 +119,42 @@ contract StreamityCrowdsale is Pauseble } /* - * Function for selling tokens in crowd time. + * Seles manager * */ - function sell(address _investor, uint256 amount) internal + function paymentManager(address sender, uint256 value) internal { - uint256 _amount = (amount.mul(DEC)).div(buyPrice); + uint256 discountValue = countDiscount(value); + bool conf = confirmSell(discountValue); - if (1 == stage) { - _amount = _amount.add(withDiscount(_amount, ICO.discount)); - } - else if (2 == stage) - { - if (now <= ICO.startDate + 1 days) - { - if (0 == ICO.discountFirstDayICO) { - ICO.discountFirstDayICO = 20; - } + if (conf) { - _amount = _amount.add(withDiscount(_amount, ICO.discountFirstDayICO)); - } else { - _amount = _amount.add(withDiscount(_amount, ICO.discount)); + sell(sender, discountValue); + + weisRaised = weisRaised.add(value); + + if (now >= ICO.endDate) { + pauseInternal(); + CrowdSaleFinished(crowdSaleStatus()); // if time is up } - } else if (3 == stage) { - _amount = _amount.add(withDiscount(_amount, ICO.discount)); - } - if (ICO.tokens < _amount) - { - CrowdSaleFinished(crowdSaleStatus()); - pauseInternal(); + } else { + + sell(sender, ICO.tokens); // sell tokens which has been accessible + + weisRaised = weisRaised.add(value); - revert(); + pauseInternal(); + CrowdSaleFinished(crowdSaleStatus()); // if tokens sold } + } + /* + * Function for selling tokens in crowd time. + * + */ + function sell(address _investor, uint256 _amount) internal + { ICO.tokens = ICO.tokens.sub(_amount); avaliableSupply = avaliableSupply.sub(_amount); diff --git a/src/Streamity Token (STM).sol b/src/Streamity Token (STM).sol index 4143ea7..53591bb 100644 --- a/src/Streamity Token (STM).sol +++ b/src/Streamity Token (STM).sol @@ -374,6 +374,7 @@ contract StreamityCrowdsale is Pauseble using SafeMath for uint; uint public stage = 0; + uint256 public weisRaised; // how many weis was raised on crowdsale event CrowdSaleFinished(string info); @@ -387,6 +388,52 @@ contract StreamityCrowdsale is Pauseble Ico public ICO; + /* + * Function confirm autosell. + * + */ + function confirmSell(uint256 _amount) internal view + returns(bool) + { + if (ICO.tokens < _amount) { + return false; + } + + return true; + } + + /* + * Make discount + */ + function countDiscount(uint256 amount) internal + returns(uint256) + { + uint256 _amount = (amount.mul(DEC)).div(buyPrice); + + if (1 == stage) { + _amount = _amount.add(withDiscount(_amount, ICO.discount)); + } + else if (2 == stage) + { + if (now <= ICO.startDate + 1 days) + { + if (0 == ICO.discountFirstDayICO) { + ICO.discountFirstDayICO = 20; + } + _amount = _amount.add(withDiscount(_amount, ICO.discountFirstDayICO)); + } + else + { + _amount = _amount.add(withDiscount(_amount, ICO.discount)); + } + } + else if (3 == stage) { + _amount = _amount.add(withDiscount(_amount, ICO.discount)); + } + + return _amount; + } + /** * Function for change discount if need * @@ -438,40 +485,42 @@ contract StreamityCrowdsale is Pauseble } /* - * Function for selling tokens in crowd time. + * Seles manager * */ - function sell(address _investor, uint256 amount) internal + function paymentManager(address sender, uint256 value) internal { - uint256 _amount = (amount.mul(DEC)).div(buyPrice); + uint256 discountValue = countDiscount(value); + bool conf = confirmSell(discountValue); - if (1 == stage) { - _amount = _amount.add(withDiscount(_amount, ICO.discount)); - } - else if (2 == stage) - { - if (now <= ICO.startDate + 1 days) - { - if (0 == ICO.discountFirstDayICO) { - ICO.discountFirstDayICO = 20; - } + if (conf) { - _amount = _amount.add(withDiscount(_amount, ICO.discountFirstDayICO)); - } else { - _amount = _amount.add(withDiscount(_amount, ICO.discount)); + sell(sender, discountValue); + + weisRaised = weisRaised.add(value); + + if (now >= ICO.endDate) { + pauseInternal(); + CrowdSaleFinished(crowdSaleStatus()); // if time is up } - } else if (3 == stage) { - _amount = _amount.add(withDiscount(_amount, ICO.discount)); - } - if (ICO.tokens < _amount) - { - CrowdSaleFinished(crowdSaleStatus()); - pauseInternal(); + } else { - revert(); + sell(sender, ICO.tokens); // sell tokens which has been accessible + + weisRaised = weisRaised.add(value); + + pauseInternal(); + CrowdSaleFinished(crowdSaleStatus()); // if tokens sold } + } + /* + * Function for selling tokens in crowd time. + * + */ + function sell(address _investor, uint256 _amount) internal + { ICO.tokens = ICO.tokens.sub(_amount); avaliableSupply = avaliableSupply.sub(_amount); @@ -519,10 +568,6 @@ contract StreamityCrowdsale is Pauseble contract StreamityContract is ERC20Extending, StreamityCrowdsale { - using SafeMath for uint; - - uint public weisRaised; // how many weis was raised on crowdsale - /* Streamity tokens Constructor */ function StreamityContract() public TokenERC20(180000000, "Streamity", "STM") {} //change before send !!! @@ -536,12 +581,7 @@ contract StreamityContract is ERC20Extending, StreamityCrowdsale require(now >= ICO.startDate); if (paused == false) { - sell(msg.sender, msg.value); - weisRaised = weisRaised.add(msg.value); - if (now >= ICO.endDate) { - pauseInternal(); - CrowdSaleFinished(crowdSaleStatus()); - } + paymentManager(msg.sender, msg.value); } else { revert(); } From 30750b1f4a2dfc33e4152cab724e65e802505f86 Mon Sep 17 00:00:00 2001 From: "gfijr@i.ua" <1q2w3e4r5t6A> Date: Fri, 22 Dec 2017 01:51:25 +0200 Subject: [PATCH 4/4] add --- src/Streamity Token (STM).sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Streamity Token (STM).sol b/src/Streamity Token (STM).sol index 53591bb..f24be54 100644 --- a/src/Streamity Token (STM).sol +++ b/src/Streamity Token (STM).sol @@ -389,7 +389,7 @@ contract StreamityCrowdsale is Pauseble Ico public ICO; /* - * Function confirm autosell. + * Function confirm autosell * */ function confirmSell(uint256 _amount) internal view