From 1ca1eb5b61eb80fda076508d1c09de903dffc68c Mon Sep 17 00:00:00 2001 From: Waheed Rahuman Date: Sat, 6 Oct 2018 21:15:24 +0400 Subject: [PATCH 01/16] Update README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f5e1c1..1311589 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,17 @@ npm install -g ganache-cli npm install -g truffle ``` +* Pre Requisite +``` +Install Visual C++ Build Environment: Visual Studio Build Tools (using "Visual C++ build tools" workload) or Visual Studio 2017 Community (using the "Desktop development with C++" workload) + +Install Python 2.7 (v3.x.x is not supported), and run npm config set python python2.7 (or see below for further instructions on specifying the proper Python version and path.) + +Launch cmd, npm config set msvs_version 2017 +If the above steps didn't work for you, please visit Microsoft's Node.js Guidelines for Windows for additional tips. +``` +https://github.com/nodejs/node-gyp + * HD Wallet-enabled Web3 provider.Use it to sign transactions for addresses derived from a 12-word mnemonic. ``` @@ -48,4 +59,4 @@ npm install truffle-hdwallet-provider ## To View IPFS files -https://ipfs.io/ipfs/zb2rhbphRuwA8kSUq7y7r9FXgd8cBF1TRXzhcqrdbVsu7NQJH \ No newline at end of file +https://ipfs.io/ipfs/zb2rhbphRuwA8kSUq7y7r9FXgd8cBF1TRXzhcqrdbVsu7NQJH From ae49dd9a9a62626e3c603964506b46622369150a Mon Sep 17 00:00:00 2001 From: Waheed Rahuman Date: Sat, 6 Oct 2018 21:16:25 +0400 Subject: [PATCH 02/16] Update README.md --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1311589..59908ca 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,9 @@ npm install -g truffle * Pre Requisite ``` -Install Visual C++ Build Environment: Visual Studio Build Tools (using "Visual C++ build tools" workload) or Visual Studio 2017 Community (using the "Desktop development with C++" workload) - -Install Python 2.7 (v3.x.x is not supported), and run npm config set python python2.7 (or see below for further instructions on specifying the proper Python version and path.) - +Install Visual C++ Build Environment: Visual Studio Build Tools (using "Visual C++ build tools" workload) +Install Python 2.7 (v3.x.x is not supported), and run npm config set python python2.7 Launch cmd, npm config set msvs_version 2017 -If the above steps didn't work for you, please visit Microsoft's Node.js Guidelines for Windows for additional tips. ``` https://github.com/nodejs/node-gyp From a0f29ec8cf6c0fb90d923b53e52cf0372e3031b3 Mon Sep 17 00:00:00 2001 From: Waheed Rahuman Date: Sat, 6 Oct 2018 22:08:22 +0400 Subject: [PATCH 03/16] Update README.md --- README.md | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 59908ca..dabf698 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,28 @@ npm install truffle-hdwallet-provider ## To Deploy Smart Contracts 1. cd ethereum 2. truffle compile -3. truffle migrate -4. Copy the "ListingsRegistry" address to "listingsregistry.js" -5. cd.. +3. ganache-cli +4. truffle migrate +``` +Running migration: 1_initial_migration.js + Deploying Migrations... + ... 0x30885e36b79835b63a9fe56306ef68d1b8c05142144b3e2c49d44c729a23742f + Migrations: 0x9c1066b87d8c216987accd4ef5c056caf831e6a7 +Saving artifacts... +Running migration: 2_deploy_contracts.js + Running step... + Deploying JobApplicationLibrary... + ... 0xce3fe6daffb98c6abb7c3938669a5cef65fad622052a4900498ec4cb783741d2 + JobApplicationLibrary: 0x69b925072040fb2f45de40e4e4812cd768f9ffcd + Linking JobApplicationLibrary to ListingsRegistry + Linking JobApplicationLibrary to Listing + Deploying ListingsRegistry... + ... 0xf9abfd4f58c41c92fdb4f3905debf9c71a3d0fcdd5de0e2b93dbd76c02dadcae + ListingsRegistry: 0x7c9533d4797062cf4b59cd55711e6a4693887090 +Saving artifacts... +``` +5. Copy the "ListingsRegistry" address to "listingsregistry.js" +6. cd.. ## To run the dApp on localhost:3000 1. npm run dev From 130e1bdc6af137c38d9beeb32be93a5fb975c042 Mon Sep 17 00:00:00 2001 From: gladguy Date: Mon, 8 Oct 2018 20:55:10 +0400 Subject: [PATCH 04/16] Added Master data Criteria --- .../build/contracts/AuditCriteriaManager.json | 9821 +++++++++++++++++ ethereum/build/contracts/Company.json | 7414 +++++++++++++ ethereum/build/contracts/JobApplicant.json | 4340 ++++---- .../contracts/JobApplicationLibrary.json | 330 +- ethereum/build/contracts/Listing.json | 2206 ++-- .../build/contracts/ListingsRegistry.json | 2732 ++--- ethereum/build/contracts/Migrations.json | 588 +- ethereum/contracts/AuditCriteriaManager.sol | 137 + ethereum/listingsregistry.js | 2 +- ethereum/migrations/2_deploy_contracts.js | 4 +- ethereum/truffle-config.js | 2 +- ethereum/truffle.js | 2 +- ethereum/web3.js | 4 +- package-lock.json | 7576 +++++++------ package.json | 2 +- 15 files changed, 26580 insertions(+), 8580 deletions(-) create mode 100644 ethereum/build/contracts/AuditCriteriaManager.json create mode 100644 ethereum/build/contracts/Company.json create mode 100644 ethereum/contracts/AuditCriteriaManager.sol diff --git a/ethereum/build/contracts/AuditCriteriaManager.json b/ethereum/build/contracts/AuditCriteriaManager.json new file mode 100644 index 0000000..974b214 --- /dev/null +++ b/ethereum/build/contracts/AuditCriteriaManager.json @@ -0,0 +1,9821 @@ +{ + "contractName": "AuditCriteriaManager", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "CriteriaIndex", + "type": "uint256" + }, + { + "indexed": false, + "name": "index", + "type": "uint256" + }, + { + "indexed": false, + "name": "CriteriaText", + "type": "bytes32" + }, + { + "indexed": false, + "name": "maxScore", + "type": "uint256" + } + ], + "name": "LogNewCriteria", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "CriteriaIndex", + "type": "uint256" + }, + { + "indexed": false, + "name": "index", + "type": "uint256" + }, + { + "indexed": false, + "name": "CriteriaText", + "type": "bytes32" + }, + { + "indexed": false, + "name": "maxScore", + "type": "uint256" + } + ], + "name": "LogUpdateCriteria", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "CriteriaIndex", + "type": "uint256" + }, + { + "indexed": false, + "name": "index", + "type": "uint256" + } + ], + "name": "LogDeleteCriteria", + "type": "event" + }, + { + "constant": true, + "inputs": [ + { + "name": "indexExist", + "type": "uint256" + } + ], + "name": "isCriteria", + "outputs": [ + { + "name": "isIndeed", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "newCriteriaText", + "type": "bytes32" + }, + { + "name": "minScore", + "type": "uint256" + }, + { + "name": "maxScore", + "type": "uint256" + }, + { + "name": "isActive", + "type": "bool" + } + ], + "name": "insertCriteria", + "outputs": [ + { + "name": "index", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "deleteCriteriaIndex", + "type": "uint256" + } + ], + "name": "deleteCriteria", + "outputs": [ + { + "name": "index", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "criteriaIndex", + "type": "uint256" + } + ], + "name": "getCriteria", + "outputs": [ + { + "name": "criteriaText", + "type": "bytes32" + }, + { + "name": "maxScore", + "type": "uint256" + }, + { + "name": "minScore", + "type": "uint256" + }, + { + "name": "isActive", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "criteriaIndex", + "type": "uint256" + }, + { + "name": "criteriaText", + "type": "bytes32" + } + ], + "name": "updateCriteriaText", + "outputs": [ + { + "name": "success", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "index", + "type": "uint256" + }, + { + "name": "MaxScore", + "type": "uint256" + }, + { + "name": "MinScore", + "type": "uint256" + } + ], + "name": "updateMaxMinScore", + "outputs": [ + { + "name": "success", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getCriteriaCount", + "outputs": [ + { + "name": "count", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "index", + "type": "uint256" + } + ], + "name": "getCriteriaAtIndex", + "outputs": [ + { + "name": "criteriaIndex", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506105d3806100206000396000f30060806040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100925780633d69ba9e146100b95780636776c6bb146100dc57806372b4763c146100f45780638931828f14610126578063ae48388d14610166578063b60215931461017e578063efef7d2214610196575b600080fd5b34801561009e57600080fd5b506100a76101b1565b60408051918252519081900360200190f35b3480156100c557600080fd5b506100a760043560243560443560643515156101b8565b3480156100e857600080fd5b506100a760043561027f565b34801561010057600080fd5b506101126004356024356044356102a3565b604080519115158252519081900360200190f35b34801561013257600080fd5b5061013e600435610329565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b34801561017257600080fd5b506100a7600435610372565b34801561018a57600080fd5b5061011260043561049a565b3480156101a257600080fd5b506101126004356024356104e2565b6001545b90565b6000806101c36101b1565b6000818152602081815260409182902089815560018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6810185905560049091018190558251908152908101899052808201879052905191925082917f1d993ec08481c99bf5092f1110228ab96e7c3a9ed793ff80146c9d250658f0c4916060908290030190a2505060015460001901949350505050565b600060018281548110151561029057fe5b906000526020600020015490505b919050565b60006102ae8461049a565b15156102b957600080fd5b60008481526020818152604091829020600281018690556001810185905560048101549054835191825291810191909152808201849052905185917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25060019392505050565b6000806000806103388561049a565b151561034357600080fd5b505050600091825250602081905260409020805460028201546001830154600390930154919390929160ff1690565b60008060006103808461049a565b151561038b57600080fd5b600084815260208190526040902060040154600180549193509060001981019081106103b357fe5b90600052602060002001549050806001838154811015156103d057fe5b600091825260208083209091019290925582815290819052604090206004018290556001805490610405906000198301610560565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a260008181526020818152604091829020805460029091015483518681529283019190915281830152905182917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25092915050565b60015460009015156104ae5750600061029e565b6000828152602081905260409020600401546001805484929081106104cf57fe5b9060005260206000200154149050919050565b60006104ed8361049a565b15156104f857600080fd5b600083815260208181526040918290208481556004810154600290910154835191825291810185905280830191909152905184917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a250600192915050565b81548183558181111561058457600083815260209020610584918101908301610589565b505050565b6101b591905b808211156105a3576000815560010161058f565b50905600a165627a7a723058206be59d9098d66f88146565a09a5ee50263d8236be230c26b86061fa053e459e10029", + "deployedBytecode": "0x60806040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100925780633d69ba9e146100b95780636776c6bb146100dc57806372b4763c146100f45780638931828f14610126578063ae48388d14610166578063b60215931461017e578063efef7d2214610196575b600080fd5b34801561009e57600080fd5b506100a76101b1565b60408051918252519081900360200190f35b3480156100c557600080fd5b506100a760043560243560443560643515156101b8565b3480156100e857600080fd5b506100a760043561027f565b34801561010057600080fd5b506101126004356024356044356102a3565b604080519115158252519081900360200190f35b34801561013257600080fd5b5061013e600435610329565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b34801561017257600080fd5b506100a7600435610372565b34801561018a57600080fd5b5061011260043561049a565b3480156101a257600080fd5b506101126004356024356104e2565b6001545b90565b6000806101c36101b1565b6000818152602081815260409182902089815560018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6810185905560049091018190558251908152908101899052808201879052905191925082917f1d993ec08481c99bf5092f1110228ab96e7c3a9ed793ff80146c9d250658f0c4916060908290030190a2505060015460001901949350505050565b600060018281548110151561029057fe5b906000526020600020015490505b919050565b60006102ae8461049a565b15156102b957600080fd5b60008481526020818152604091829020600281018690556001810185905560048101549054835191825291810191909152808201849052905185917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25060019392505050565b6000806000806103388561049a565b151561034357600080fd5b505050600091825250602081905260409020805460028201546001830154600390930154919390929160ff1690565b60008060006103808461049a565b151561038b57600080fd5b600084815260208190526040902060040154600180549193509060001981019081106103b357fe5b90600052602060002001549050806001838154811015156103d057fe5b600091825260208083209091019290925582815290819052604090206004018290556001805490610405906000198301610560565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a260008181526020818152604091829020805460029091015483518681529283019190915281830152905182917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25092915050565b60015460009015156104ae5750600061029e565b6000828152602081905260409020600401546001805484929081106104cf57fe5b9060005260206000200154149050919050565b60006104ed8361049a565b15156104f857600080fd5b600083815260208181526040918290208481556004810154600290910154835191825291810185905280830191909152905184917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a250600192915050565b81548183558181111561058457600083815260209020610584918101908301610589565b505050565b6101b591905b808211156105a3576000815560010161058f565b50905600a165627a7a723058206be59d9098d66f88146565a09a5ee50263d8236be230c26b86061fa053e459e10029", + "sourceMap": "28:3899:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28:3899:0;;;;;;;", + "deployedSourceMap": "28:3899:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3645:126;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3645:126:0;;;;;;;;;;;;;;;;;;;;835:786;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;835:786:0;;;;;;;;;;;;;3777:145;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3777:145:0;;;;;3195:444;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3195:444:0;;;;;;;;;;;;;;;;;;;;;;;;;;;2336:420;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2336:420:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1627:701;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1627:701:0;;;;;600:229;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;600:229:0;;;;;2765:422;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2765:422:0;;;;;;;3645:126;3745:13;:20;3645:126;;:::o;835:786::-;978:13;1052:20;1075:18;:16;:18::i;:::-;1102:15;:29;;;;;;;;;;;;:61;;;1170:38;;;;:54;;;1231:38;;;:54;;;1292:38;;;:54;;-1:-1:-1;;1292:54:0;;;;;;;27:10:-1;;23:18;;;45:23;;;1399:32:0;;;;;;1353:35;;;;:80;;;1447:132;;;;;;;;;;;;;;;;;;;1102:29;;-1:-1:-1;1102:29:0;;1447:132;;;;;;;;;;-1:-1:-1;;1614:1:0;1593:20;-1:-1:-1;;1593:22:0;;835:786;-1:-1:-1;;;;835:786:0:o;3777:145::-;3856:21;3896:13;3910:5;3896:20;;;;;;;;;;;;;;;;;;3889:27;;3777:145;;;;:::o;3195:444::-;3293:12;3322:17;3333:5;3322:10;:17::i;:::-;3321:18;3318:31;;;3341:8;;;3318:31;3358:15;:22;;;;;;;;;;;;:31;;;:42;;;3407:31;;;:42;;;3502:28;;;;3539:35;;3461:154;;;;;;;;;;;;;;;;;;;;3374:5;;3461:154;;;;;;;;;;-1:-1:-1;3629:4:0;3195:444;;;;;:::o;2336:420::-;2420:20;2442:13;2457;2472;2501:25;2512:13;2501:10;:25::i;:::-;2500:26;2497:39;;;2528:8;;;2497:39;-1:-1:-1;;;2560:15:0;:30;;;-1:-1:-1;2560:30:0;;;;;;;:43;;2613:39;;;;2662;;;;2710;;;;;2560:43;;2613:39;;2662;2710;;;2336:420::o;1627:701::-;1706:13;1785:19;1856:17;1735:31;1746:19;1735:10;:31::i;:::-;1734:32;1731:45;;;1768:8;;;1731:45;1807:15;:36;;;;;;;;;;:42;;;1878:13;1892:20;;1807:42;;-1:-1:-1;1878:13:0;-1:-1:-1;;1892:22:0;;;1878:37;;;;;;;;;;;;;;1856:59;;1951:9;1922:13;1936:11;1922:26;;;;;;;;;;;;;;;;;;;;;:38;;;;1967:26;;;;;;;;;;:32;;:46;;;2021:13;:22;;;;;-1:-1:-1;;2021:22:0;;;:::i;:::-;-1:-1:-1;2055:71:0;;;;;;;;2083:19;;2055:71;;;;;;;;;;2210:15;:26;;;;;;;;;;;;:39;;2261:35;;;;;2138:159;;;;;;;;;;;;;;;;;;2166:9;;2138:159;;;;;;;;;;-1:-1:-1;2311:11:0;1627:701;-1:-1:-1;;1627:701:0:o;600:229::-;706:13;:20;677:13;;706:25;703:42;;;-1:-1:-1;740:5:0;733:12;;703:42;774:15;:27;;;;;;;;;;:33;;;760:13;:48;;812:10;;774:33;760:48;;;;;;;;;;;;;;:62;752:71;;600:229;;;:::o;2765:422::-;2864:12;2893:25;2904:13;2893:10;:25::i;:::-;2892:26;2889:39;;;2920:8;;;2889:39;2937:15;:30;;;;;;;;;;;;:58;;;3056:36;;;;3123:39;;;;;3007:156;;;;;;;;;;;;;;;;;;;;2953:13;;3007:156;;;;;;;;;;-1:-1:-1;3177:4:0;2765:422;;;;:::o;28:3899::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;", + "source": "pragma solidity ^0.4.18;\r\n\r\ncontract AuditCriteriaManager {\r\n\r\n struct CriteriaStruct {\r\n bytes32 criteriaText;\r\n uint minScore;\r\n uint maxScore;\r\n bool isActive;\r\n uint256 index;\r\n }\r\n \r\n mapping(uint256 => CriteriaStruct) private CriteriaStructs;\r\n uint256[] private CriteriaIndex;\r\n\r\n event LogNewCriteria (uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore);\r\n event LogUpdateCriteria(uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore);\r\n event LogDeleteCriteria(uint256 indexed CriteriaIndex, uint index);\r\n \r\n function isCriteria(uint indexExist)\r\n public \r\n constant\r\n returns(bool isIndeed) \r\n {\r\n if(CriteriaIndex.length == 0) return false;\r\n return (CriteriaIndex[CriteriaStructs[indexExist].index] == indexExist);\r\n }\r\n\r\n function insertCriteria(\r\n bytes32 newCriteriaText, \r\n uint minScore, \r\n uint maxScore,\r\n bool isActive) \r\n public\r\n returns(uint256 index)\r\n {\r\n //if(isCriteria(CriteriaAddress)) revert();\r\n uint256 currentIndex = getCriteriaCount();\r\n\r\n CriteriaStructs[currentIndex].criteriaText = newCriteriaText;\r\n CriteriaStructs[currentIndex].minScore = minScore;\r\n CriteriaStructs[currentIndex].maxScore = maxScore;\r\n CriteriaStructs[currentIndex].isActive = isActive;\r\n CriteriaStructs[currentIndex].index = CriteriaIndex.push(currentIndex)-1;\r\n\r\n emit LogNewCriteria(\r\n currentIndex, \r\n CriteriaStructs[currentIndex].index, \r\n newCriteriaText, \r\n maxScore);\r\n return CriteriaIndex.length-1;\r\n }\r\n\r\n function deleteCriteria(uint256 deleteCriteriaIndex) \r\n public\r\n returns(uint256 index)\r\n {\r\n if(!isCriteria(deleteCriteriaIndex)) revert();\r\n\r\n uint256 rowToDelete = CriteriaStructs[deleteCriteriaIndex].index;\r\n uint256 keyToMove = CriteriaIndex[CriteriaIndex.length-1];\r\n CriteriaIndex[rowToDelete] = keyToMove;\r\n CriteriaStructs[keyToMove].index = rowToDelete; \r\n CriteriaIndex.length--;\r\n emit LogDeleteCriteria(\r\n deleteCriteriaIndex, \r\n rowToDelete);\r\n emit LogUpdateCriteria(\r\n keyToMove, \r\n rowToDelete, \r\n CriteriaStructs[keyToMove].criteriaText, \r\n CriteriaStructs[keyToMove].maxScore);\r\n return rowToDelete;\r\n }\r\n \r\n function getCriteria(uint256 criteriaIndex)\r\n public \r\n constant\r\n returns(bytes32 criteriaText, uint maxScore, uint minScore, bool isActive)\r\n {\r\n if(!isCriteria(criteriaIndex)) revert();\r\n\r\n return(\r\n CriteriaStructs[criteriaIndex].criteriaText, \r\n CriteriaStructs[criteriaIndex].maxScore, \r\n CriteriaStructs[criteriaIndex].minScore,\r\n CriteriaStructs[criteriaIndex].isActive);\r\n } \r\n \r\n function updateCriteriaText(uint256 criteriaIndex, bytes32 criteriaText) \r\n public\r\n returns(bool success) \r\n {\r\n if(!isCriteria(criteriaIndex)) revert();\r\n\r\n CriteriaStructs[criteriaIndex].criteriaText = criteriaText;\r\n emit LogUpdateCriteria(\r\n criteriaIndex, \r\n CriteriaStructs[criteriaIndex].index,\r\n criteriaText, \r\n CriteriaStructs[criteriaIndex].maxScore);\r\n return true;\r\n }\r\n \r\n function updateMaxMinScore(uint256 index, uint MaxScore, uint MinScore) \r\n public\r\n returns(bool success) \r\n {\r\n if(!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].maxScore = MaxScore;\r\n CriteriaStructs[index].minScore = MinScore;\r\n emit LogUpdateCriteria(\r\n index, \r\n CriteriaStructs[index].index,\r\n CriteriaStructs[index].criteriaText,\r\n CriteriaStructs[index].minScore);\r\n return true;\r\n }\r\n\r\n function getCriteriaCount() \r\n public\r\n constant\r\n returns(uint256 count)\r\n {\r\n return CriteriaIndex.length;\r\n }\r\n\r\n function getCriteriaAtIndex(uint index)\r\n public\r\n constant\r\n returns(uint256 criteriaIndex)\r\n {\r\n return CriteriaIndex[index];\r\n }\r\n\r\n}", + "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\AuditCriteriaManager.sol", + "ast": { + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", + "exportedSymbols": { + "AuditCriteriaManager": [ + 368 + ] + }, + "id": 369, + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "^", + "0.4", + ".18" + ], + "nodeType": "PragmaDirective", + "src": "0:24:0" + }, + { + "baseContracts": [], + "contractDependencies": [], + "contractKind": "contract", + "documentation": null, + "fullyImplemented": true, + "id": 368, + "linearizedBaseContracts": [ + 368 + ], + "name": "AuditCriteriaManager", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "AuditCriteriaManager.CriteriaStruct", + "id": 12, + "members": [ + { + "constant": false, + "id": 3, + "name": "criteriaText", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "94:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 2, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "94:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 5, + "name": "minScore", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "121:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "121:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 7, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "141:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 6, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "141:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 9, + "name": "isActive", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "161:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 8, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "161:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 11, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "181:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 10, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "181:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "name": "CriteriaStruct", + "nodeType": "StructDefinition", + "scope": 368, + "src": "65:135:0", + "visibility": "public" + }, + { + "constant": false, + "id": 16, + "name": "CriteriaStructs", + "nodeType": "VariableDeclaration", + "scope": 368, + "src": "208:58:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct)" + }, + "typeName": { + "id": 15, + "keyType": { + "id": 13, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "216:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Mapping", + "src": "208:34:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct)" + }, + "valueType": { + "contractScope": null, + "id": 14, + "name": "CriteriaStruct", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 12, + "src": "227:14:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage_ptr", + "typeString": "struct AuditCriteriaManager.CriteriaStruct" + } + } + }, + "value": null, + "visibility": "private" + }, + { + "constant": false, + "id": 19, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 368, + "src": "271:31:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[]" + }, + "typeName": { + "baseType": { + "id": 17, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "271:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 18, + "length": null, + "nodeType": "ArrayTypeName", + "src": "271:9:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", + "typeString": "uint256[]" + } + }, + "value": null, + "visibility": "private" + }, + { + "anonymous": false, + "documentation": null, + "id": 29, + "name": "LogNewCriteria", + "nodeType": "EventDefinition", + "parameters": { + "id": 28, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 21, + "indexed": true, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "333:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 20, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "333:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 23, + "indexed": false, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "364:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 22, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "364:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 25, + "indexed": false, + "name": "CriteriaText", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "376:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 24, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "376:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 27, + "indexed": false, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "398:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 26, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "398:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "332:80:0" + }, + "src": "309:104:0" + }, + { + "anonymous": false, + "documentation": null, + "id": 39, + "name": "LogUpdateCriteria", + "nodeType": "EventDefinition", + "parameters": { + "id": 38, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 31, + "indexed": true, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 39, + "src": "441:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 30, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "441:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 33, + "indexed": false, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 39, + "src": "472:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 32, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "472:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 35, + "indexed": false, + "name": "CriteriaText", + "nodeType": "VariableDeclaration", + "scope": 39, + "src": "484:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 34, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "484:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 37, + "indexed": false, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 39, + "src": "506:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 36, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "506:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "440:80:0" + }, + "src": "417:104:0" + }, + { + "anonymous": false, + "documentation": null, + "id": 45, + "name": "LogDeleteCriteria", + "nodeType": "EventDefinition", + "parameters": { + "id": 44, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41, + "indexed": true, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 45, + "src": "549:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 40, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "549:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 43, + "indexed": false, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 45, + "src": "580:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 42, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "580:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "548:43:0" + }, + "src": "525:67:0" + }, + { + "body": { + "id": 69, + "nodeType": "Block", + "src": "696:133:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 55, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 52, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "706:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 53, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "706:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 54, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "730:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "706:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 58, + "nodeType": "IfStatement", + "src": "703:42:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 56, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "740:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "functionReturnParameters": 51, + "id": 57, + "nodeType": "Return", + "src": "733:12:0" + } + }, + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 66, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 59, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "760:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 64, + "indexExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 60, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "774:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 62, + "indexExpression": { + "argumentTypes": null, + "id": 61, + "name": "indexExist", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 47, + "src": "790:10:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "774:27:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 63, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "774:33:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "760:48:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 65, + "name": "indexExist", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 47, + "src": "812:10:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "760:62:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 67, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "759:64:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 51, + "id": 68, + "nodeType": "Return", + "src": "752:71:0" + } + ] + }, + "documentation": null, + "id": 70, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "isCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 48, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 47, + "name": "indexExist", + "nodeType": "VariableDeclaration", + "scope": 70, + "src": "620:15:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 46, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "620:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "619:17:0" + }, + "payable": false, + "returnParameters": { + "id": 51, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 50, + "name": "isIndeed", + "nodeType": "VariableDeclaration", + "scope": 70, + "src": "677:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 49, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "677:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "676:15:0" + }, + "scope": 368, + "src": "600:229:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 143, + "nodeType": "Block", + "src": "996:625:0", + "statements": [ + { + "assignments": [ + 84 + ], + "declarations": [ + { + "constant": false, + "id": 84, + "name": "currentIndex", + "nodeType": "VariableDeclaration", + "scope": 144, + "src": "1052:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 83, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1052:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 87, + "initialValue": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 85, + "name": "getCriteriaCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 355, + "src": "1075:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 86, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1075:18:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1052:41:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 93, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 88, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1102:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 90, + "indexExpression": { + "argumentTypes": null, + "id": 89, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1118:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1102:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 91, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "1102:42:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 92, + "name": "newCriteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 72, + "src": "1148:15:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "src": "1102:61:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "id": 94, + "nodeType": "ExpressionStatement", + "src": "1102:61:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 100, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 95, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1170:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 97, + "indexExpression": { + "argumentTypes": null, + "id": 96, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1186:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1170:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 98, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "1170:38:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 99, + "name": "minScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 74, + "src": "1216:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1170:54:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 101, + "nodeType": "ExpressionStatement", + "src": "1170:54:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 107, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 102, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1231:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 104, + "indexExpression": { + "argumentTypes": null, + "id": 103, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1247:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1231:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 105, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "1231:38:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 106, + "name": "maxScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 76, + "src": "1277:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1231:54:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 108, + "nodeType": "ExpressionStatement", + "src": "1231:54:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 109, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1292:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 111, + "indexExpression": { + "argumentTypes": null, + "id": 110, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1308:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1292:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 112, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "isActive", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "1292:38:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 113, + "name": "isActive", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 78, + "src": "1338:8:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "1292:54:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 115, + "nodeType": "ExpressionStatement", + "src": "1292:54:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 126, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 116, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1353:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 118, + "indexExpression": { + "argumentTypes": null, + "id": 117, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1369:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1353:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 119, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1353:35:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 125, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 122, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1418:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "argumentTypes": null, + "id": 120, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1399:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 121, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "push", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1399:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) returns (uint256)" + } + }, + "id": 123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1399:32:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 124, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1432:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1399:34:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1353:80:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 127, + "nodeType": "ExpressionStatement", + "src": "1353:80:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 129, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1472:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 130, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1496:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 132, + "indexExpression": { + "argumentTypes": null, + "id": 131, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1512:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1496:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 133, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1496:35:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 134, + "name": "newCriteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 72, + "src": "1543:15:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "id": 135, + "name": "maxScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 76, + "src": "1570:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 128, + "name": "LogNewCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 29, + "src": "1447:14:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,bytes32,uint256)" + } + }, + "id": 136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1447:132:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 137, + "nodeType": "EmitStatement", + "src": "1442:137:0" + }, + { + "expression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 138, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1593:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 139, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1593:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 140, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1614:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1593:22:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 82, + "id": 142, + "nodeType": "Return", + "src": "1586:29:0" + } + ] + }, + "documentation": null, + "id": 144, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "insertCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 79, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 72, + "name": "newCriteriaText", + "nodeType": "VariableDeclaration", + "scope": 144, + "src": "865:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 71, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "865:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 74, + "name": "minScore", + "nodeType": "VariableDeclaration", + "scope": 144, + "src": "896:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 73, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "896:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 76, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 144, + "src": "917:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 75, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "917:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 78, + "name": "isActive", + "nodeType": "VariableDeclaration", + "scope": 144, + "src": "937:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 77, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "937:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "858:93:0" + }, + "payable": false, + "returnParameters": { + "id": 82, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 81, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 144, + "src": "978:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 80, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "978:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "977:15:0" + }, + "scope": 368, + "src": "835:786:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 213, + "nodeType": "Block", + "src": "1724:604:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 154, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "1734:32:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 152, + "name": "deleteCriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "1746:19:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 151, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 70, + "src": "1735:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 153, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1735:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 158, + "nodeType": "IfStatement", + "src": "1731:45:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 155, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 388, + 389 + ], + "referencedDeclaration": 388, + "src": "1768:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1768:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 157, + "nodeType": "ExpressionStatement", + "src": "1768:8:0" + } + }, + { + "assignments": [ + 160 + ], + "declarations": [ + { + "constant": false, + "id": 160, + "name": "rowToDelete", + "nodeType": "VariableDeclaration", + "scope": 214, + "src": "1785:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 159, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1785:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 165, + "initialValue": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 161, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1807:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 163, + "indexExpression": { + "argumentTypes": null, + "id": 162, + "name": "deleteCriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "1823:19:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1807:36:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 164, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1807:42:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1785:64:0" + }, + { + "assignments": [ + 167 + ], + "declarations": [ + { + "constant": false, + "id": 167, + "name": "keyToMove", + "nodeType": "VariableDeclaration", + "scope": 214, + "src": "1856:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 166, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1856:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 174, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 168, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1878:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 173, + "indexExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 172, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 169, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1892:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 170, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1892:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 171, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1913:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1892:22:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1878:37:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1856:59:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 179, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 175, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1922:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 177, + "indexExpression": { + "argumentTypes": null, + "id": 176, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 160, + "src": "1936:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1922:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 178, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 167, + "src": "1951:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1922:38:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 180, + "nodeType": "ExpressionStatement", + "src": "1922:38:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 186, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 181, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1967:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 183, + "indexExpression": { + "argumentTypes": null, + "id": 182, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 167, + "src": "1983:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1967:26:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 184, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1967:32:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 185, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 160, + "src": "2002:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1967:46:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 187, + "nodeType": "ExpressionStatement", + "src": "1967:46:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 191, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "2021:22:0", + "subExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 188, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2021:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 190, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2021:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 192, + "nodeType": "ExpressionStatement", + "src": "2021:22:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 194, + "name": "deleteCriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2083:19:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 195, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 160, + "src": "2114:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 193, + "name": "LogDeleteCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 45, + "src": "2055:17:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256)" + } + }, + "id": 196, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2055:71:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 197, + "nodeType": "EmitStatement", + "src": "2050:76:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 199, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 167, + "src": "2166:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 200, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 160, + "src": "2187:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 201, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2210:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 203, + "indexExpression": { + "argumentTypes": null, + "id": 202, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 167, + "src": "2226:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2210:26:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 204, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2210:39:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 205, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2261:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 207, + "indexExpression": { + "argumentTypes": null, + "id": 206, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 167, + "src": "2277:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2261:26:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 208, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "2261:35:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 198, + "name": "LogUpdateCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39, + "src": "2138:17:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,bytes32,uint256)" + } + }, + "id": 209, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2138:159:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 210, + "nodeType": "EmitStatement", + "src": "2133:164:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 211, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 160, + "src": "2311:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 150, + "id": 212, + "nodeType": "Return", + "src": "2304:18:0" + } + ] + }, + "documentation": null, + "id": 214, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "deleteCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 147, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 146, + "name": "deleteCriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 214, + "src": "1651:27:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 145, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1651:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1650:29:0" + }, + "payable": false, + "returnParameters": { + "id": 150, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 149, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 214, + "src": "1706:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 148, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1706:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1705:15:0" + }, + "scope": 368, + "src": "1627:701:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 253, + "nodeType": "Block", + "src": "2490:266:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 230, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2500:26:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 228, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 216, + "src": "2512:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 227, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 70, + "src": "2501:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 229, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2501:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 234, + "nodeType": "IfStatement", + "src": "2497:39:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 231, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 388, + 389 + ], + "referencedDeclaration": 388, + "src": "2528:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2528:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 233, + "nodeType": "ExpressionStatement", + "src": "2528:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 235, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2560:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 237, + "indexExpression": { + "argumentTypes": null, + "id": 236, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 216, + "src": "2576:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2560:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 238, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2560:43:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 239, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2613:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 241, + "indexExpression": { + "argumentTypes": null, + "id": 240, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 216, + "src": "2629:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2613:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 242, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "2613:39:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 243, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2662:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 245, + "indexExpression": { + "argumentTypes": null, + "id": 244, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 216, + "src": "2678:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2662:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 246, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "2662:39:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 247, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2710:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 249, + "indexExpression": { + "argumentTypes": null, + "id": 248, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 216, + "src": "2726:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2710:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 250, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "isActive", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "2710:39:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 251, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2551:199:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes32_$_t_uint256_$_t_uint256_$_t_bool_$", + "typeString": "tuple(bytes32,uint256,uint256,bool)" + } + }, + "functionReturnParameters": 226, + "id": 252, + "nodeType": "Return", + "src": "2545:205:0" + } + ] + }, + "documentation": null, + "id": 254, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 217, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 216, + "name": "criteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2357:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 215, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2357:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2356:23:0" + }, + "payable": false, + "returnParameters": { + "id": 226, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 219, + "name": "criteriaText", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2420:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 218, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2420:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 221, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2442:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 220, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2442:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 223, + "name": "minScore", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2457:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 222, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2457:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 225, + "name": "isActive", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2472:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 224, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2472:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2419:67:0" + }, + "scope": 368, + "src": "2336:420:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 293, + "nodeType": "Block", + "src": "2882:305:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 266, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2892:26:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 264, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "2904:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 263, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 70, + "src": "2893:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 265, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2893:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 270, + "nodeType": "IfStatement", + "src": "2889:39:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 267, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 388, + 389 + ], + "referencedDeclaration": 388, + "src": "2920:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 268, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2920:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 269, + "nodeType": "ExpressionStatement", + "src": "2920:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "id": 276, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 271, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2937:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 273, + "indexExpression": { + "argumentTypes": null, + "id": 272, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "2953:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2937:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 274, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2937:43:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 275, + "name": "criteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 258, + "src": "2983:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "src": "2937:58:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "id": 277, + "nodeType": "ExpressionStatement", + "src": "2937:58:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 279, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "3033:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 280, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3056:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 282, + "indexExpression": { + "argumentTypes": null, + "id": 281, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "3072:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3056:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 283, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "3056:36:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 284, + "name": "criteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 258, + "src": "3101:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 285, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3123:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 287, + "indexExpression": { + "argumentTypes": null, + "id": 286, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "3139:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3123:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 288, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "3123:39:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 278, + "name": "LogUpdateCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39, + "src": "3007:17:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,bytes32,uint256)" + } + }, + "id": 289, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3007:156:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 290, + "nodeType": "EmitStatement", + "src": "3002:161:0" + }, + { + "expression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 291, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3177:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 262, + "id": 292, + "nodeType": "Return", + "src": "3170:11:0" + } + ] + }, + "documentation": null, + "id": 294, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "updateCriteriaText", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 259, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 256, + "name": "criteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 294, + "src": "2793:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 255, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2793:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 258, + "name": "criteriaText", + "nodeType": "VariableDeclaration", + "scope": 294, + "src": "2816:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 257, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2816:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2792:45:0" + }, + "payable": false, + "returnParameters": { + "id": 262, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 261, + "name": "success", + "nodeType": "VariableDeclaration", + "scope": 294, + "src": "2864:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 260, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2864:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2863:14:0" + }, + "scope": 368, + "src": "2765:422:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 345, + "nodeType": "Block", + "src": "3311:328:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 308, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3321:18:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 306, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3333:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 305, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 70, + "src": "3322:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 307, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3322:17:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 312, + "nodeType": "IfStatement", + "src": "3318:31:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 309, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 388, + 389 + ], + "referencedDeclaration": 388, + "src": "3341:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 310, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3341:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 311, + "nodeType": "ExpressionStatement", + "src": "3341:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "id": 318, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 313, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3358:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 315, + "indexExpression": { + "argumentTypes": null, + "id": 314, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3374:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3358:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 316, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "3358:31:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 317, + "name": "MaxScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 298, + "src": "3392:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3358:42:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 319, + "nodeType": "ExpressionStatement", + "src": "3358:42:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 325, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 320, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3407:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 322, + "indexExpression": { + "argumentTypes": null, + "id": 321, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3423:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3407:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 323, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "3407:31:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 324, + "name": "MinScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 300, + "src": "3441:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3407:42:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 326, + "nodeType": "ExpressionStatement", + "src": "3407:42:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 328, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3487:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 329, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3502:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 331, + "indexExpression": { + "argumentTypes": null, + "id": 330, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3518:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3502:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 332, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "3502:28:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 333, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3539:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 335, + "indexExpression": { + "argumentTypes": null, + "id": 334, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3555:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3539:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 336, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "3539:35:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 337, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3583:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 339, + "indexExpression": { + "argumentTypes": null, + "id": 338, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3599:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3583:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 340, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "3583:31:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 327, + "name": "LogUpdateCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39, + "src": "3461:17:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,bytes32,uint256)" + } + }, + "id": 341, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3461:154:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 342, + "nodeType": "EmitStatement", + "src": "3456:159:0" + }, + { + "expression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 343, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3629:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 304, + "id": 344, + "nodeType": "Return", + "src": "3622:11:0" + } + ] + }, + "documentation": null, + "id": 346, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "updateMaxMinScore", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 301, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 296, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 346, + "src": "3222:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 295, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3222:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 298, + "name": "MaxScore", + "nodeType": "VariableDeclaration", + "scope": 346, + "src": "3237:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 297, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3237:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 300, + "name": "MinScore", + "nodeType": "VariableDeclaration", + "scope": 346, + "src": "3252:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 299, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3252:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3221:45:0" + }, + "payable": false, + "returnParameters": { + "id": 304, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 303, + "name": "success", + "nodeType": "VariableDeclaration", + "scope": 346, + "src": "3293:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 302, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3293:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3292:14:0" + }, + "scope": 368, + "src": "3195:444:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 354, + "nodeType": "Block", + "src": "3731:40:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 351, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "3745:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 352, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3745:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 350, + "id": 353, + "nodeType": "Return", + "src": "3738:27:0" + } + ] + }, + "documentation": null, + "id": 355, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getCriteriaCount", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 347, + "nodeType": "ParameterList", + "parameters": [], + "src": "3670:2:0" + }, + "payable": false, + "returnParameters": { + "id": 350, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 349, + "name": "count", + "nodeType": "VariableDeclaration", + "scope": 355, + "src": "3713:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 348, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3713:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3712:15:0" + }, + "scope": 368, + "src": "3645:126:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 366, + "nodeType": "Block", + "src": "3882:40:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 362, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "3896:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 364, + "indexExpression": { + "argumentTypes": null, + "id": 363, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 357, + "src": "3910:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3896:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 361, + "id": 365, + "nodeType": "Return", + "src": "3889:27:0" + } + ] + }, + "documentation": null, + "id": 367, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getCriteriaAtIndex", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 358, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 357, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 367, + "src": "3805:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 356, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3805:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3804:12:0" + }, + "payable": false, + "returnParameters": { + "id": 361, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 360, + "name": "criteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 367, + "src": "3856:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 359, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3856:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3855:23:0" + }, + "scope": 368, + "src": "3777:145:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + } + ], + "scope": 369, + "src": "28:3899:0" + } + ], + "src": "0:3927:0" + }, + "legacyAST": { + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", + "exportedSymbols": { + "AuditCriteriaManager": [ + 368 + ] + }, + "id": 369, + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "^", + "0.4", + ".18" + ], + "nodeType": "PragmaDirective", + "src": "0:24:0" + }, + { + "baseContracts": [], + "contractDependencies": [], + "contractKind": "contract", + "documentation": null, + "fullyImplemented": true, + "id": 368, + "linearizedBaseContracts": [ + 368 + ], + "name": "AuditCriteriaManager", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "AuditCriteriaManager.CriteriaStruct", + "id": 12, + "members": [ + { + "constant": false, + "id": 3, + "name": "criteriaText", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "94:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 2, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "94:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 5, + "name": "minScore", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "121:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "121:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 7, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "141:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 6, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "141:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 9, + "name": "isActive", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "161:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 8, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "161:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 11, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "181:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 10, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "181:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "name": "CriteriaStruct", + "nodeType": "StructDefinition", + "scope": 368, + "src": "65:135:0", + "visibility": "public" + }, + { + "constant": false, + "id": 16, + "name": "CriteriaStructs", + "nodeType": "VariableDeclaration", + "scope": 368, + "src": "208:58:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct)" + }, + "typeName": { + "id": 15, + "keyType": { + "id": 13, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "216:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Mapping", + "src": "208:34:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct)" + }, + "valueType": { + "contractScope": null, + "id": 14, + "name": "CriteriaStruct", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 12, + "src": "227:14:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage_ptr", + "typeString": "struct AuditCriteriaManager.CriteriaStruct" + } + } + }, + "value": null, + "visibility": "private" + }, + { + "constant": false, + "id": 19, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 368, + "src": "271:31:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[]" + }, + "typeName": { + "baseType": { + "id": 17, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "271:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 18, + "length": null, + "nodeType": "ArrayTypeName", + "src": "271:9:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", + "typeString": "uint256[]" + } + }, + "value": null, + "visibility": "private" + }, + { + "anonymous": false, + "documentation": null, + "id": 29, + "name": "LogNewCriteria", + "nodeType": "EventDefinition", + "parameters": { + "id": 28, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 21, + "indexed": true, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "333:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 20, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "333:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 23, + "indexed": false, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "364:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 22, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "364:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 25, + "indexed": false, + "name": "CriteriaText", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "376:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 24, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "376:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 27, + "indexed": false, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "398:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 26, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "398:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "332:80:0" + }, + "src": "309:104:0" + }, + { + "anonymous": false, + "documentation": null, + "id": 39, + "name": "LogUpdateCriteria", + "nodeType": "EventDefinition", + "parameters": { + "id": 38, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 31, + "indexed": true, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 39, + "src": "441:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 30, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "441:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 33, + "indexed": false, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 39, + "src": "472:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 32, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "472:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 35, + "indexed": false, + "name": "CriteriaText", + "nodeType": "VariableDeclaration", + "scope": 39, + "src": "484:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 34, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "484:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 37, + "indexed": false, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 39, + "src": "506:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 36, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "506:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "440:80:0" + }, + "src": "417:104:0" + }, + { + "anonymous": false, + "documentation": null, + "id": 45, + "name": "LogDeleteCriteria", + "nodeType": "EventDefinition", + "parameters": { + "id": 44, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41, + "indexed": true, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 45, + "src": "549:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 40, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "549:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 43, + "indexed": false, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 45, + "src": "580:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 42, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "580:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "548:43:0" + }, + "src": "525:67:0" + }, + { + "body": { + "id": 69, + "nodeType": "Block", + "src": "696:133:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 55, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 52, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "706:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 53, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "706:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 54, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "730:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "706:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 58, + "nodeType": "IfStatement", + "src": "703:42:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 56, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "740:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "functionReturnParameters": 51, + "id": 57, + "nodeType": "Return", + "src": "733:12:0" + } + }, + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 66, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 59, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "760:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 64, + "indexExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 60, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "774:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 62, + "indexExpression": { + "argumentTypes": null, + "id": 61, + "name": "indexExist", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 47, + "src": "790:10:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "774:27:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 63, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "774:33:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "760:48:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 65, + "name": "indexExist", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 47, + "src": "812:10:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "760:62:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 67, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "759:64:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 51, + "id": 68, + "nodeType": "Return", + "src": "752:71:0" + } + ] + }, + "documentation": null, + "id": 70, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "isCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 48, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 47, + "name": "indexExist", + "nodeType": "VariableDeclaration", + "scope": 70, + "src": "620:15:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 46, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "620:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "619:17:0" + }, + "payable": false, + "returnParameters": { + "id": 51, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 50, + "name": "isIndeed", + "nodeType": "VariableDeclaration", + "scope": 70, + "src": "677:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 49, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "677:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "676:15:0" + }, + "scope": 368, + "src": "600:229:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 143, + "nodeType": "Block", + "src": "996:625:0", + "statements": [ + { + "assignments": [ + 84 + ], + "declarations": [ + { + "constant": false, + "id": 84, + "name": "currentIndex", + "nodeType": "VariableDeclaration", + "scope": 144, + "src": "1052:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 83, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1052:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 87, + "initialValue": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 85, + "name": "getCriteriaCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 355, + "src": "1075:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 86, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1075:18:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1052:41:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 93, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 88, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1102:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 90, + "indexExpression": { + "argumentTypes": null, + "id": 89, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1118:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1102:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 91, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "1102:42:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 92, + "name": "newCriteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 72, + "src": "1148:15:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "src": "1102:61:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "id": 94, + "nodeType": "ExpressionStatement", + "src": "1102:61:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 100, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 95, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1170:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 97, + "indexExpression": { + "argumentTypes": null, + "id": 96, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1186:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1170:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 98, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "1170:38:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 99, + "name": "minScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 74, + "src": "1216:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1170:54:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 101, + "nodeType": "ExpressionStatement", + "src": "1170:54:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 107, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 102, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1231:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 104, + "indexExpression": { + "argumentTypes": null, + "id": 103, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1247:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1231:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 105, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "1231:38:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 106, + "name": "maxScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 76, + "src": "1277:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1231:54:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 108, + "nodeType": "ExpressionStatement", + "src": "1231:54:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 109, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1292:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 111, + "indexExpression": { + "argumentTypes": null, + "id": 110, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1308:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1292:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 112, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "isActive", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "1292:38:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 113, + "name": "isActive", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 78, + "src": "1338:8:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "1292:54:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 115, + "nodeType": "ExpressionStatement", + "src": "1292:54:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 126, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 116, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1353:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 118, + "indexExpression": { + "argumentTypes": null, + "id": 117, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1369:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1353:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 119, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1353:35:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 125, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 122, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1418:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "argumentTypes": null, + "id": 120, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1399:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 121, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "push", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1399:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) returns (uint256)" + } + }, + "id": 123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1399:32:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 124, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1432:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1399:34:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1353:80:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 127, + "nodeType": "ExpressionStatement", + "src": "1353:80:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 129, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1472:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 130, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1496:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 132, + "indexExpression": { + "argumentTypes": null, + "id": 131, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1512:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1496:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 133, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1496:35:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 134, + "name": "newCriteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 72, + "src": "1543:15:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "id": 135, + "name": "maxScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 76, + "src": "1570:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 128, + "name": "LogNewCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 29, + "src": "1447:14:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,bytes32,uint256)" + } + }, + "id": 136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1447:132:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 137, + "nodeType": "EmitStatement", + "src": "1442:137:0" + }, + { + "expression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 138, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1593:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 139, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1593:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 140, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1614:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1593:22:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 82, + "id": 142, + "nodeType": "Return", + "src": "1586:29:0" + } + ] + }, + "documentation": null, + "id": 144, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "insertCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 79, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 72, + "name": "newCriteriaText", + "nodeType": "VariableDeclaration", + "scope": 144, + "src": "865:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 71, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "865:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 74, + "name": "minScore", + "nodeType": "VariableDeclaration", + "scope": 144, + "src": "896:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 73, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "896:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 76, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 144, + "src": "917:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 75, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "917:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 78, + "name": "isActive", + "nodeType": "VariableDeclaration", + "scope": 144, + "src": "937:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 77, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "937:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "858:93:0" + }, + "payable": false, + "returnParameters": { + "id": 82, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 81, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 144, + "src": "978:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 80, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "978:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "977:15:0" + }, + "scope": 368, + "src": "835:786:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 213, + "nodeType": "Block", + "src": "1724:604:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 154, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "1734:32:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 152, + "name": "deleteCriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "1746:19:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 151, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 70, + "src": "1735:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 153, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1735:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 158, + "nodeType": "IfStatement", + "src": "1731:45:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 155, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 388, + 389 + ], + "referencedDeclaration": 388, + "src": "1768:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1768:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 157, + "nodeType": "ExpressionStatement", + "src": "1768:8:0" + } + }, + { + "assignments": [ + 160 + ], + "declarations": [ + { + "constant": false, + "id": 160, + "name": "rowToDelete", + "nodeType": "VariableDeclaration", + "scope": 214, + "src": "1785:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 159, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1785:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 165, + "initialValue": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 161, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1807:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 163, + "indexExpression": { + "argumentTypes": null, + "id": 162, + "name": "deleteCriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "1823:19:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1807:36:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 164, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1807:42:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1785:64:0" + }, + { + "assignments": [ + 167 + ], + "declarations": [ + { + "constant": false, + "id": 167, + "name": "keyToMove", + "nodeType": "VariableDeclaration", + "scope": 214, + "src": "1856:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 166, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1856:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 174, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 168, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1878:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 173, + "indexExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 172, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 169, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1892:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 170, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1892:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 171, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1913:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1892:22:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1878:37:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1856:59:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 179, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 175, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1922:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 177, + "indexExpression": { + "argumentTypes": null, + "id": 176, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 160, + "src": "1936:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1922:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 178, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 167, + "src": "1951:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1922:38:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 180, + "nodeType": "ExpressionStatement", + "src": "1922:38:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 186, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 181, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1967:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 183, + "indexExpression": { + "argumentTypes": null, + "id": 182, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 167, + "src": "1983:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1967:26:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 184, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1967:32:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 185, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 160, + "src": "2002:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1967:46:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 187, + "nodeType": "ExpressionStatement", + "src": "1967:46:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 191, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "2021:22:0", + "subExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 188, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2021:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 190, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2021:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 192, + "nodeType": "ExpressionStatement", + "src": "2021:22:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 194, + "name": "deleteCriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2083:19:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 195, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 160, + "src": "2114:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 193, + "name": "LogDeleteCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 45, + "src": "2055:17:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256)" + } + }, + "id": 196, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2055:71:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 197, + "nodeType": "EmitStatement", + "src": "2050:76:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 199, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 167, + "src": "2166:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 200, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 160, + "src": "2187:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 201, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2210:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 203, + "indexExpression": { + "argumentTypes": null, + "id": 202, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 167, + "src": "2226:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2210:26:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 204, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2210:39:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 205, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2261:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 207, + "indexExpression": { + "argumentTypes": null, + "id": 206, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 167, + "src": "2277:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2261:26:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 208, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "2261:35:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 198, + "name": "LogUpdateCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39, + "src": "2138:17:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,bytes32,uint256)" + } + }, + "id": 209, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2138:159:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 210, + "nodeType": "EmitStatement", + "src": "2133:164:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 211, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 160, + "src": "2311:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 150, + "id": 212, + "nodeType": "Return", + "src": "2304:18:0" + } + ] + }, + "documentation": null, + "id": 214, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "deleteCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 147, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 146, + "name": "deleteCriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 214, + "src": "1651:27:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 145, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1651:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1650:29:0" + }, + "payable": false, + "returnParameters": { + "id": 150, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 149, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 214, + "src": "1706:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 148, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1706:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1705:15:0" + }, + "scope": 368, + "src": "1627:701:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 253, + "nodeType": "Block", + "src": "2490:266:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 230, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2500:26:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 228, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 216, + "src": "2512:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 227, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 70, + "src": "2501:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 229, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2501:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 234, + "nodeType": "IfStatement", + "src": "2497:39:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 231, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 388, + 389 + ], + "referencedDeclaration": 388, + "src": "2528:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2528:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 233, + "nodeType": "ExpressionStatement", + "src": "2528:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 235, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2560:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 237, + "indexExpression": { + "argumentTypes": null, + "id": 236, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 216, + "src": "2576:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2560:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 238, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2560:43:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 239, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2613:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 241, + "indexExpression": { + "argumentTypes": null, + "id": 240, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 216, + "src": "2629:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2613:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 242, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "2613:39:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 243, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2662:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 245, + "indexExpression": { + "argumentTypes": null, + "id": 244, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 216, + "src": "2678:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2662:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 246, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "2662:39:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 247, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2710:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 249, + "indexExpression": { + "argumentTypes": null, + "id": 248, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 216, + "src": "2726:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2710:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 250, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "isActive", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "2710:39:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 251, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2551:199:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bytes32_$_t_uint256_$_t_uint256_$_t_bool_$", + "typeString": "tuple(bytes32,uint256,uint256,bool)" + } + }, + "functionReturnParameters": 226, + "id": 252, + "nodeType": "Return", + "src": "2545:205:0" + } + ] + }, + "documentation": null, + "id": 254, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 217, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 216, + "name": "criteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2357:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 215, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2357:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2356:23:0" + }, + "payable": false, + "returnParameters": { + "id": 226, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 219, + "name": "criteriaText", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2420:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 218, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2420:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 221, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2442:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 220, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2442:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 223, + "name": "minScore", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2457:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 222, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2457:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 225, + "name": "isActive", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2472:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 224, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2472:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2419:67:0" + }, + "scope": 368, + "src": "2336:420:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 293, + "nodeType": "Block", + "src": "2882:305:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 266, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2892:26:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 264, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "2904:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 263, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 70, + "src": "2893:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 265, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2893:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 270, + "nodeType": "IfStatement", + "src": "2889:39:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 267, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 388, + 389 + ], + "referencedDeclaration": 388, + "src": "2920:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 268, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2920:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 269, + "nodeType": "ExpressionStatement", + "src": "2920:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "id": 276, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 271, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2937:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 273, + "indexExpression": { + "argumentTypes": null, + "id": 272, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "2953:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2937:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 274, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2937:43:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 275, + "name": "criteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 258, + "src": "2983:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "src": "2937:58:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "id": 277, + "nodeType": "ExpressionStatement", + "src": "2937:58:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 279, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "3033:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 280, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3056:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 282, + "indexExpression": { + "argumentTypes": null, + "id": 281, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "3072:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3056:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 283, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "3056:36:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 284, + "name": "criteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 258, + "src": "3101:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 285, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3123:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 287, + "indexExpression": { + "argumentTypes": null, + "id": 286, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "3139:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3123:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 288, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "3123:39:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 278, + "name": "LogUpdateCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39, + "src": "3007:17:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,bytes32,uint256)" + } + }, + "id": 289, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3007:156:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 290, + "nodeType": "EmitStatement", + "src": "3002:161:0" + }, + { + "expression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 291, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3177:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 262, + "id": 292, + "nodeType": "Return", + "src": "3170:11:0" + } + ] + }, + "documentation": null, + "id": 294, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "updateCriteriaText", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 259, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 256, + "name": "criteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 294, + "src": "2793:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 255, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2793:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 258, + "name": "criteriaText", + "nodeType": "VariableDeclaration", + "scope": 294, + "src": "2816:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 257, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2816:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2792:45:0" + }, + "payable": false, + "returnParameters": { + "id": 262, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 261, + "name": "success", + "nodeType": "VariableDeclaration", + "scope": 294, + "src": "2864:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 260, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2864:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2863:14:0" + }, + "scope": 368, + "src": "2765:422:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 345, + "nodeType": "Block", + "src": "3311:328:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 308, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3321:18:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 306, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3333:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 305, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 70, + "src": "3322:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 307, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3322:17:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 312, + "nodeType": "IfStatement", + "src": "3318:31:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 309, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 388, + 389 + ], + "referencedDeclaration": 388, + "src": "3341:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 310, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3341:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 311, + "nodeType": "ExpressionStatement", + "src": "3341:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "id": 318, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 313, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3358:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 315, + "indexExpression": { + "argumentTypes": null, + "id": 314, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3374:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3358:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 316, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "3358:31:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 317, + "name": "MaxScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 298, + "src": "3392:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3358:42:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 319, + "nodeType": "ExpressionStatement", + "src": "3358:42:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 325, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 320, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3407:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 322, + "indexExpression": { + "argumentTypes": null, + "id": 321, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3423:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3407:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 323, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "3407:31:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 324, + "name": "MinScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 300, + "src": "3441:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3407:42:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 326, + "nodeType": "ExpressionStatement", + "src": "3407:42:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 328, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3487:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 329, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3502:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 331, + "indexExpression": { + "argumentTypes": null, + "id": 330, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3518:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3502:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 332, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "3502:28:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 333, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3539:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 335, + "indexExpression": { + "argumentTypes": null, + "id": 334, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3555:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3539:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 336, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "3539:35:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 337, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3583:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 339, + "indexExpression": { + "argumentTypes": null, + "id": 338, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "3599:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3583:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 340, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "3583:31:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 327, + "name": "LogUpdateCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39, + "src": "3461:17:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,bytes32,uint256)" + } + }, + "id": 341, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3461:154:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 342, + "nodeType": "EmitStatement", + "src": "3456:159:0" + }, + { + "expression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 343, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3629:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 304, + "id": 344, + "nodeType": "Return", + "src": "3622:11:0" + } + ] + }, + "documentation": null, + "id": 346, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "updateMaxMinScore", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 301, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 296, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 346, + "src": "3222:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 295, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3222:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 298, + "name": "MaxScore", + "nodeType": "VariableDeclaration", + "scope": 346, + "src": "3237:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 297, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3237:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 300, + "name": "MinScore", + "nodeType": "VariableDeclaration", + "scope": 346, + "src": "3252:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 299, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3252:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3221:45:0" + }, + "payable": false, + "returnParameters": { + "id": 304, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 303, + "name": "success", + "nodeType": "VariableDeclaration", + "scope": 346, + "src": "3293:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 302, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3293:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3292:14:0" + }, + "scope": 368, + "src": "3195:444:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 354, + "nodeType": "Block", + "src": "3731:40:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 351, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "3745:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 352, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3745:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 350, + "id": 353, + "nodeType": "Return", + "src": "3738:27:0" + } + ] + }, + "documentation": null, + "id": 355, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getCriteriaCount", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 347, + "nodeType": "ParameterList", + "parameters": [], + "src": "3670:2:0" + }, + "payable": false, + "returnParameters": { + "id": 350, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 349, + "name": "count", + "nodeType": "VariableDeclaration", + "scope": 355, + "src": "3713:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 348, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3713:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3712:15:0" + }, + "scope": 368, + "src": "3645:126:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 366, + "nodeType": "Block", + "src": "3882:40:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 362, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "3896:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 364, + "indexExpression": { + "argumentTypes": null, + "id": 363, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 357, + "src": "3910:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3896:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 361, + "id": 365, + "nodeType": "Return", + "src": "3889:27:0" + } + ] + }, + "documentation": null, + "id": 367, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getCriteriaAtIndex", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 358, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 357, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 367, + "src": "3805:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 356, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3805:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3804:12:0" + }, + "payable": false, + "returnParameters": { + "id": 361, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 360, + "name": "criteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 367, + "src": "3856:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 359, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3856:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3855:23:0" + }, + "scope": 368, + "src": "3777:145:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + } + ], + "scope": 369, + "src": "28:3899:0" + } + ], + "src": "0:3927:0" + }, + "compiler": { + "name": "solc", + "version": "0.4.24+commit.e67f0147.Emscripten.clang" + }, + "networks": { + "1538849010791": { + "events": {}, + "links": {}, + "address": "0x05add86f80a773869f4e31e464d56f56bde764a7", + "transactionHash": "0x4920994fa986faf8c5e7acda8f31ff2d08db09ca246bccf7d5efcd56441d78c5" + } + }, + "schemaVersion": "2.0.1", + "updatedAt": "2018-10-08T16:52:52.839Z" +} \ No newline at end of file diff --git a/ethereum/build/contracts/Company.json b/ethereum/build/contracts/Company.json new file mode 100644 index 0000000..a9142af --- /dev/null +++ b/ethereum/build/contracts/Company.json @@ -0,0 +1,7414 @@ +{ + "contractName": "Company", + "abi": [ + { + "constant": true, + "inputs": [ + { + "name": "", + "type": "address" + } + ], + "name": "isSupportAgent", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "", + "type": "uint256" + } + ], + "name": "supportAgentRecords", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_address", + "type": "address" + }, + { + "name": "_email", + "type": "string" + }, + { + "name": "_fName", + "type": "string" + }, + { + "name": "_lName", + "type": "string" + }, + { + "name": "_timeZone", + "type": "string" + } + ], + "name": "addSupportAgent", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_address", + "type": "address" + } + ], + "name": "removeOneSupportAgent", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "removeAllSupportAgent", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "findAllSupportAgents", + "outputs": [ + { + "name": "", + "type": "address[]" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "index", + "type": "uint256" + } + ], + "name": "findSupportAgentAddressById", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_address", + "type": "address" + } + ], + "name": "findSupportAgentArrayIndex", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_address", + "type": "address" + } + ], + "name": "findSupportAgentByAddress", + "outputs": [ + { + "name": "", + "type": "string" + }, + { + "name": "", + "type": "string" + }, + { + "name": "", + "type": "string" + }, + { + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "countSupportAgents", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610db6806100206000396000f3006080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166319df220d81146100a85780632accc6bd146100cf578063413e25231461029a57806351eef9d6146102bb57806361293545146102d057806383936f8c146103045780638fd2f1a614610325578063beee39c61461038a578063c99901b0146104ad578063fe679100146104e2575b600080fd5b3480156100b457600080fd5b506100bd6104fa565b60408051918252519081900360200190f35b3480156100db57600080fd5b506100f0600160a060020a036004351661059c565b6040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b83811015610139578181015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b83811015610199578181015183820152602001610181565b50505050905090810190601f1680156101c65780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156101f95781810151838201526020016101e1565b50505050905090810190601f1680156102265780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b83811015610259578181015183820152602001610241565b50505050905090810190601f1680156102865780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b3480156102a657600080fd5b506100bd600160a060020a036004351661080e565b3480156102c757600080fd5b506100bd610907565b3480156102dc57600080fd5b506102e860043561090e565b60408051600160a060020a039092168252519081900360200190f35b34801561031057600080fd5b506100bd600160a060020a036004351661093a565b34801561033157600080fd5b5061033a610958565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561037657818101518382015260200161035e565b505050509050019250505060405180910390f35b34801561039657600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526104ab958335600160a060020a031695369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506109ba9650505050505050565b005b3480156104b957600080fd5b506104ce600160a060020a0360043516610cd6565b604080519115158252519081900360200190f35b3480156104ee57600080fd5b506102e8600435610ceb565b600080805b6001546000190182101561058d576105168261090e565b600160a060020a0381166000908152600260205260409020805460ff1916905560018054919250908390811061054857fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff191690556001805490610581906000198301610d13565b506001909101906104ff565b610595610907565b9250505090565b600160a060020a038116600090815260208181526040918290208054835160026001808416156101000260001901909316819004601f8101869004860283018601909652858252606095869586958695909490850193850192600386019286919083018282801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050865460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959950889450925084019050828280156106dc5780601f106106b1576101008083540402835291602001916106dc565b820191906000526020600020905b8154815290600101906020018083116106bf57829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529598508794509250840190508282801561076a5780601f1061073f5761010080835404028352916020019161076a565b820191906000526020600020905b81548152906001019060200180831161074d57829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959750869450925084019050828280156107f85780601f106107cd576101008083540402835291602001916107f8565b820191906000526020600020905b8154815290600101906020018083116107db57829003601f168201915b5050505050905093509350935093509193509193565b60008061081a8361093a565b6001805491925090600019810190811061083057fe5b60009182526020909120015460018054600160a060020a03909216918390811061085657fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905560018054600019810190811061089e57fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916905560018054906108d7906000198301610d13565b50600160a060020a0383166000908152600260205260409020805460ff19169055610900610907565b9392505050565b6001545b90565b600060018281548110151561091f57fe5b600091825260209091200154600160a060020a031692915050565b600160a060020a031660009081526020819052604090206004015490565b606060018054806020026020016040519081016040528092919081815260200182805480156109b057602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610992575b5050505050905090565b6109c2610d3c565b600160a060020a038616600090815260208181526040918290208251815460026001821615610100026000190190911604601f8101849004909302810160c090810190945260a08101838152909391928492849190840182828015610a685780601f10610a3d57610100808354040283529160200191610a68565b820191906000526020600020905b815481529060010190602001808311610a4b57829003601f168201915b50505050508152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b5050509183525050600282810180546040805160206001841615610100026000190190931694909404601f81018390048302850183019091528084529381019390830182828015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b505050918352505060038201805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152938201939291830182828015610c305780601f10610c0557610100808354040283529160200191610c30565b820191906000526020600020905b815481529060010190602001808311610c1357829003601f168201915b5050509183525050600491909101546020918201529581528086019490945250604080840192909252606083015260018054608090930183905282810181557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf69092018054600160a060020a0390951673ffffffffffffffffffffffffffffffffffffffff1990951685179055600093845260029092529120805460ff19169091179055565b60026020526000908152604090205460ff1681565b6001805482908110610cf957fe5b600091825260209091200154600160a060020a0316905081565b815481835581811115610d3757600083815260209020610d37918101908301610d6c565b505050565b60a06040519081016040528060608152602001606081526020016060815260200160608152602001600081525090565b61090b91905b80821115610d865760008155600101610d72565b50905600a165627a7a72305820c3a07cfcc84956a555f4211c1d551ad0dbf93ab2867966607f5f8ac928de6ba00029", + "deployedBytecode": "0x6080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166319df220d81146100a85780632accc6bd146100cf578063413e25231461029a57806351eef9d6146102bb57806361293545146102d057806383936f8c146103045780638fd2f1a614610325578063beee39c61461038a578063c99901b0146104ad578063fe679100146104e2575b600080fd5b3480156100b457600080fd5b506100bd6104fa565b60408051918252519081900360200190f35b3480156100db57600080fd5b506100f0600160a060020a036004351661059c565b6040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b83811015610139578181015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b83811015610199578181015183820152602001610181565b50505050905090810190601f1680156101c65780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156101f95781810151838201526020016101e1565b50505050905090810190601f1680156102265780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b83811015610259578181015183820152602001610241565b50505050905090810190601f1680156102865780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b3480156102a657600080fd5b506100bd600160a060020a036004351661080e565b3480156102c757600080fd5b506100bd610907565b3480156102dc57600080fd5b506102e860043561090e565b60408051600160a060020a039092168252519081900360200190f35b34801561031057600080fd5b506100bd600160a060020a036004351661093a565b34801561033157600080fd5b5061033a610958565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561037657818101518382015260200161035e565b505050509050019250505060405180910390f35b34801561039657600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526104ab958335600160a060020a031695369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506109ba9650505050505050565b005b3480156104b957600080fd5b506104ce600160a060020a0360043516610cd6565b604080519115158252519081900360200190f35b3480156104ee57600080fd5b506102e8600435610ceb565b600080805b6001546000190182101561058d576105168261090e565b600160a060020a0381166000908152600260205260409020805460ff1916905560018054919250908390811061054857fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff191690556001805490610581906000198301610d13565b506001909101906104ff565b610595610907565b9250505090565b600160a060020a038116600090815260208181526040918290208054835160026001808416156101000260001901909316819004601f8101869004860283018601909652858252606095869586958695909490850193850192600386019286919083018282801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050865460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959950889450925084019050828280156106dc5780601f106106b1576101008083540402835291602001916106dc565b820191906000526020600020905b8154815290600101906020018083116106bf57829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529598508794509250840190508282801561076a5780601f1061073f5761010080835404028352916020019161076a565b820191906000526020600020905b81548152906001019060200180831161074d57829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959750869450925084019050828280156107f85780601f106107cd576101008083540402835291602001916107f8565b820191906000526020600020905b8154815290600101906020018083116107db57829003601f168201915b5050505050905093509350935093509193509193565b60008061081a8361093a565b6001805491925090600019810190811061083057fe5b60009182526020909120015460018054600160a060020a03909216918390811061085657fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905560018054600019810190811061089e57fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916905560018054906108d7906000198301610d13565b50600160a060020a0383166000908152600260205260409020805460ff19169055610900610907565b9392505050565b6001545b90565b600060018281548110151561091f57fe5b600091825260209091200154600160a060020a031692915050565b600160a060020a031660009081526020819052604090206004015490565b606060018054806020026020016040519081016040528092919081815260200182805480156109b057602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610992575b5050505050905090565b6109c2610d3c565b600160a060020a038616600090815260208181526040918290208251815460026001821615610100026000190190911604601f8101849004909302810160c090810190945260a08101838152909391928492849190840182828015610a685780601f10610a3d57610100808354040283529160200191610a68565b820191906000526020600020905b815481529060010190602001808311610a4b57829003601f168201915b50505050508152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b5050509183525050600282810180546040805160206001841615610100026000190190931694909404601f81018390048302850183019091528084529381019390830182828015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b505050918352505060038201805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152938201939291830182828015610c305780601f10610c0557610100808354040283529160200191610c30565b820191906000526020600020905b815481529060010190602001808311610c1357829003601f168201915b5050509183525050600491909101546020918201529581528086019490945250604080840192909252606083015260018054608090930183905282810181557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf69092018054600160a060020a0390951673ffffffffffffffffffffffffffffffffffffffff1990951685179055600093845260029092529120805460ff19169091179055565b60026020526000908152604090205460ff1681565b6001805482908110610cf957fe5b600091825260209091200154600160a060020a0316905081565b815481835581811115610d3757600083815260209020610d37918101908301610d6c565b505050565b60a06040519081016040528060608152602001606081526020016060815260200160608152602001600081525090565b61090b91905b80821115610d865760008155600101610d72565b50905600a165627a7a72305820c3a07cfcc84956a555f4211c1d551ad0dbf93ab2867966607f5f8ac928de6ba00029", + "sourceMap": "28:3126:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28:3126:0;;;;;;;", + "deployedSourceMap": "28:3126:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1993:342;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1993:342:0;;;;;;;;;;;;;;;;;;;;2767:263;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2767:263:0;-1:-1:-1;;;;;2767:263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2767:263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2767:263:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2767:263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2767:263:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2767:263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2767:263:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2767:263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1467:518;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1467:518:0;-1:-1:-1;;;;;1467:518:0;;;;;3042:109;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3042:109:0;;;;2463:132;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2463:132:0;;;;;;;;;-1:-1:-1;;;;;2463:132:0;;;;;;;;;;;;;;2603:149;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2603:149:0;-1:-1:-1;;;;;2603:149:0;;;;;2347:108;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2347:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2347:108:0;;;;;;;;;;;;;;;;;909:550;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;909:550:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;909:550:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;909:550:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;909:550:0;;;;-1:-1:-1;909:550:0;-1:-1:-1;909:550:0;;-1:-1:-1;909:550:0;;;;;;;;-1:-1:-1;;909:550:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;909:550:0;;;;-1:-1:-1;909:550:0;-1:-1:-1;909:550:0;;-1:-1:-1;909:550:0;;;;;;;;-1:-1:-1;;909:550:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;909:550:0;;;;-1:-1:-1;909:550:0;-1:-1:-1;909:550:0;;-1:-1:-1;909:550:0;;;;;;;;-1:-1:-1;909:550:0;;-1:-1:-1;909:550:0;;-1:-1:-1;;;;;;;909:550:0;;;301:47;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;301:47:0;-1:-1:-1;;;;;301:47:0;;;;;;;;;;;;;;;;;;;;;;;258:36;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;258:36:0;;;;;1993:342;2042:4;;;2057:240;2107:1;2078:26;-1:-1:-1;;2078:30:0;2074:34;;2057:240;;;2146:30;2174:1;2146:27;:30::i;:::-;-1:-1:-1;;;;;2189:24:0;;2216:5;2189:24;;;:14;:24;;;;;:32;;-1:-1:-1;;2189:32:0;;;;2236:22;;2127:49;;-1:-1:-1;2189:32:0;2256:1;;2236:22;;;;;;;;;;;;;;;2229:29;;-1:-1:-1;;2229:29:0;;;;2264:28;;;;;-1:-1:-1;;2264:28:0;;;:::i;:::-;-1:-1:-1;2110:3:0;;;;;2057:240;;;2307:20;:18;:20::i;:::-;2300:27;;1993:342;;;:::o;2767:263::-;-1:-1:-1;;;;;2897:23:0;;:13;:23;;;;;;;;;;;;2889:133;;;;2959:29;2928;2889:133;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;2841:6;;;;;;;;2897:23;;2928:29;;;;2959;;;2989:32;;;;2897:23;;2889:133;;;2897:23;2889:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2889:133:0;;-1:-1:-1;2889:133:0;-1:-1:-1;2889:133:0;;;-1:-1:-1;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2889:133:0;;-1:-1:-1;2889:133:0;-1:-1:-1;2889:133:0;;;-1:-1:-1;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2889:133:0;;-1:-1:-1;2889:133:0;-1:-1:-1;2889:133:0;;;-1:-1:-1;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2767:263;;;;;:::o;1467:518::-;1532:4;1629:20;1652:36;1679:8;1652:26;:36::i;:::-;1756:19;1776:26;;1629:59;;-1:-1:-1;1756:19:0;-1:-1:-1;;1776:30:0;;;1756:51;;;;;;;;;;;;;;;;;1717:36;;-1:-1:-1;;;;;1756:51:0;;;;1737:15;;1717:36;;;;;;;;;;;;;;;:90;;-1:-1:-1;;1717:90:0;-1:-1:-1;;;;;1717:90:0;;;;;;;;;;-1:-1:-1;1840:26:0;;-1:-1:-1;;1840:30:0;;;1820:51;;;;;;;;;;;;;;;1813:58;;-1:-1:-1;;1813:58:0;;;;1878:28;;;;;-1:-1:-1;;1878:28:0;;;:::i;:::-;-1:-1:-1;;;;;;1912:24:0;;1939:5;1912:24;;;:14;:24;;;;;:32;;-1:-1:-1;;1912:32:0;;;1957:20;:18;:20::i;:::-;1950:27;1467:518;-1:-1:-1;;;1467:518:0:o;3042:109::-;3117:19;:26;3042:109;;:::o;2463:132::-;2533:7;2559:19;2579:5;2559:26;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2559:26:0;;2463:132;-1:-1:-1;;2463:132:0:o;2603:149::-;-1:-1:-1;;;;;2709:23:0;2678:4;2709:23;;;;;;;;;;:34;;;;2603:149::o;2347:108::-;2399:9;2428:19;2421:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2421:26:0;;;;;;;;;;;;;;;;;;;;;;;2347:108;:::o;909:550::-;1039:32;;:::i;:::-;-1:-1:-1;;;;;1074:23:0;;:13;:23;;;;;;;;;;;;1039:58;;;;;;;;;;;-1:-1:-1;;1039:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1074:23;;1039:58;;1074:23;;1039:58;;;1074:23;1039:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1039:58:0;;;-1:-1:-1;;1039:58:0;;;;;;;;;;;;;;;;-1:-1:-1;;1039:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1039:58:0;;;-1:-1:-1;;1039:58:0;;;;;;;;;;;;;;;;-1:-1:-1;;1039:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1039:58:0;;;-1:-1:-1;;1039:58:0;;;;;;;;;;;1118:28;;;1157:18;;;:28;;;;-1:-1:-1;1196:18:0;;;;:28;;;;1228:21;;;:34;1293:19;:26;;1266:23;;;;:53;;;23:18:-1;;;45:23;;1377:34:0;;;;;;-1:-1:-1;;;;;1377:34:0;;;-1:-1:-1;;1377:34:0;;;;;;;-1:-1:-1;1420:24:0;;;:14;:24;;;;;:31;;-1:-1:-1;;1420:31:0;;;;;;909:550::o;301:47::-;;;;;;;;;;;;;;;:::o;258:36::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;258:36:0;;-1:-1:-1;258:36:0;:::o;28:3126::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;", + "source": "pragma solidity ^0.4.18;\r\n\r\ncontract Company {\r\n \r\n struct SupportAgent\r\n {\r\n\tstring\temail;\r\n string\tfName;\r\n string\tlName;\r\n\tstring\ttimeZone;\r\n\tuint\tagentIndex;\t\r\n }\r\n \r\n mapping (address => SupportAgent) supportAgents;\r\n address[] public supportAgentRecords;\r\n mapping (address => bool) public isSupportAgent;\r\n\r\n//////////////////////////////////////////////////////////////////////////////////////////////////////\r\n modifier agentDoesNotExist(address supportagent) {\r\n require(!isSupportAgent[supportagent]);\r\n _;\r\n }\r\n\r\n modifier agentExist(address supportagent) {\r\n require(isSupportAgent[supportagent]);\r\n _;\r\n }\r\n\r\n modifier notNull(address _address) {\r\n require(_address != 0);\r\n _;\r\n }\r\n//////////////////////////////////////////////////////////////////////////////////////////////////////\r\n \r\n function addSupportAgent(address _address, string _email, string _fName, string _lName, string _timeZone) public \r\n {\r\n SupportAgent memory supportAgent = supportAgents[_address];\r\n \r\n supportAgent.email\t = _email;\r\n supportAgent.fName\t = _fName;\r\n supportAgent.lName\t = _lName;\r\n\tsupportAgent.timeZone\t = _timeZone;\r\n\tsupportAgent.agentIndex = supportAgentRecords.length; // Row ID (Array Index) of an Agent\r\n \r\n supportAgentRecords.push(_address) -1;\r\n\r\n\tisSupportAgent[_address] = true;\r\n }\r\n\r\n function removeOneSupportAgent(address _address) public returns (uint)\r\n {\r\n\t/*\r\n\t\tSwap the last agent to position of the to-be remove agent position\r\n\t*/\r\n\r\n\tuint removeThisAgent = findSupportAgentArrayIndex(_address); // Get the Array Index\r\n\r\n\tsupportAgentRecords[removeThisAgent] = supportAgentRecords[supportAgentRecords.length - 1];\r\n\r\n\tdelete supportAgentRecords[supportAgentRecords.length - 1]; \r\n\r\n\tsupportAgentRecords.length--;\r\n\r\n\tisSupportAgent[_address] = false;\r\n\r\n\treturn countSupportAgents();\r\n }\r\n\r\n function removeAllSupportAgent() public returns (uint)\r\n {\r\n\tfor (uint i = 0; i < supportAgentRecords.length - 1; i++) \r\n\t{\r\n\t\r\n\t address _address = findSupportAgentAddressById(i);\r\n isSupportAgent[_address] = false;\r\n\r\n\t delete supportAgentRecords[i];\r\n\t supportAgentRecords.length--;\r\n\t}\r\n\treturn countSupportAgents();\r\n }\r\n \r\n function findAllSupportAgents() view public returns(address[]) {\r\n return supportAgentRecords;\r\n }\r\n\r\n function findSupportAgentAddressById(uint index) view public returns (address)\r\n {\r\n\treturn (supportAgentRecords[index]);\t\r\n }\r\n\r\n function findSupportAgentArrayIndex(address _address) view public returns (uint) \r\n {\r\n return (supportAgents[_address].agentIndex);\r\n }\r\n \r\n\t\r\n function findSupportAgentByAddress(address _address) view public returns (string, string, string,string) \r\n {\r\n return (supportAgents[_address].email, supportAgents[_address].fName, supportAgents[_address].lName,supportAgents[_address].timeZone);\r\n }\r\n \r\n function countSupportAgents() view public returns (uint) {\r\n return supportAgentRecords.length;\r\n }\r\n}", + "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\Company.sol", + "ast": { + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Company.sol", + "exportedSymbols": { + "Company": [ + 296 + ] + }, + "id": 297, + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "^", + "0.4", + ".18" + ], + "nodeType": "PragmaDirective", + "src": "0:24:0" + }, + { + "baseContracts": [], + "contractDependencies": [], + "contractKind": "contract", + "documentation": null, + "fullyImplemented": true, + "id": 296, + "linearizedBaseContracts": [ + 296 + ], + "name": "Company", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "Company.SupportAgent", + "id": 12, + "members": [ + { + "constant": false, + "id": 3, + "name": "email", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "87:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "87:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 5, + "name": "fName", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "110:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 4, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "110:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 7, + "name": "lName", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "133:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 6, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "133:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 9, + "name": "timeZone", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "149:15:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 8, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "149:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 11, + "name": "agentIndex", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "168:15:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 10, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "168:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "name": "SupportAgent", + "nodeType": "StructDefinition", + "scope": 296, + "src": "58:134:0", + "visibility": "public" + }, + { + "constant": false, + "id": 16, + "name": "supportAgents", + "nodeType": "VariableDeclaration", + "scope": 296, + "src": "204:47:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent)" + }, + "typeName": { + "id": 15, + "keyType": { + "id": 13, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "213:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "204:33:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent)" + }, + "valueType": { + "contractScope": null, + "id": 14, + "name": "SupportAgent", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 12, + "src": "224:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage_ptr", + "typeString": "struct Company.SupportAgent" + } + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 19, + "name": "supportAgentRecords", + "nodeType": "VariableDeclaration", + "scope": 296, + "src": "258:36:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 17, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "258:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 18, + "length": null, + "nodeType": "ArrayTypeName", + "src": "258:9:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "value": null, + "visibility": "public" + }, + { + "constant": false, + "id": 23, + "name": "isSupportAgent", + "nodeType": "VariableDeclaration", + "scope": 296, + "src": "301:47:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "typeName": { + "id": 22, + "keyType": { + "id": 20, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "310:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "301:25:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "valueType": { + "id": 21, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "321:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "value": null, + "visibility": "public" + }, + { + "body": { + "id": 35, + "nodeType": "Block", + "src": "510:69:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 31, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "529:29:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 28, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "530:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 30, + "indexExpression": { + "argumentTypes": null, + "id": 29, + "name": "supportagent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "545:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "530:28:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 27, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1225, + 1226 + ], + "referencedDeclaration": 1225, + "src": "521:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 32, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "521:38:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 33, + "nodeType": "ExpressionStatement", + "src": "521:38:0" + }, + { + "id": 34, + "nodeType": "PlaceholderStatement", + "src": "570:1:0" + } + ] + }, + "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", + "id": 36, + "name": "agentDoesNotExist", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 26, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 25, + "name": "supportagent", + "nodeType": "VariableDeclaration", + "scope": 36, + "src": "488:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 24, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "488:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "487:22:0" + }, + "src": "461:118:0", + "visibility": "internal" + }, + { + "body": { + "id": 47, + "nodeType": "Block", + "src": "629:68:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 41, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "648:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 43, + "indexExpression": { + "argumentTypes": null, + "id": 42, + "name": "supportagent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 38, + "src": "663:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "648:28:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1225, + 1226 + ], + "referencedDeclaration": 1225, + "src": "640:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 44, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "640:37:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 45, + "nodeType": "ExpressionStatement", + "src": "640:37:0" + }, + { + "id": 46, + "nodeType": "PlaceholderStatement", + "src": "688:1:0" + } + ] + }, + "documentation": null, + "id": 48, + "name": "agentExist", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 39, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 38, + "name": "supportagent", + "nodeType": "VariableDeclaration", + "scope": 48, + "src": "607:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 37, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "607:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "606:22:0" + }, + "src": "587:110:0", + "visibility": "internal" + }, + { + "body": { + "id": 59, + "nodeType": "Block", + "src": "740:53:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 55, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 53, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 50, + "src": "759:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 54, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "771:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "759:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 52, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1225, + 1226 + ], + "referencedDeclaration": 1225, + "src": "751:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 56, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "751:22:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 57, + "nodeType": "ExpressionStatement", + "src": "751:22:0" + }, + { + "id": 58, + "nodeType": "PlaceholderStatement", + "src": "784:1:0" + } + ] + }, + "documentation": null, + "id": 60, + "name": "notNull", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 51, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 50, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 60, + "src": "722:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 49, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "722:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "721:18:0" + }, + "src": "705:88:0", + "visibility": "internal" + }, + { + "body": { + "id": 124, + "nodeType": "Block", + "src": "1028:431:0", + "statements": [ + { + "assignments": [ + 74 + ], + "declarations": [ + { + "constant": false, + "id": 74, + "name": "supportAgent", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "1039:32:0", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", + "typeString": "struct Company.SupportAgent" + }, + "typeName": { + "contractScope": null, + "id": 73, + "name": "SupportAgent", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 12, + "src": "1039:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage_ptr", + "typeString": "struct Company.SupportAgent" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 78, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 75, + "name": "supportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1074:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + } + }, + "id": 77, + "indexExpression": { + "argumentTypes": null, + "id": 76, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 62, + "src": "1088:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1074:23:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1039:58:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 83, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 79, + "name": "supportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 74, + "src": "1118:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", + "typeString": "struct Company.SupportAgent memory" + } + }, + "id": 81, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "1118:18:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 82, + "name": "_email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 64, + "src": "1140:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "1118:28:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "id": 84, + "nodeType": "ExpressionStatement", + "src": "1118:28:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 89, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 85, + "name": "supportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 74, + "src": "1157:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", + "typeString": "struct Company.SupportAgent memory" + } + }, + "id": 87, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "fName", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "1157:18:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 88, + "name": "_fName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 66, + "src": "1179:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "1157:28:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "id": 90, + "nodeType": "ExpressionStatement", + "src": "1157:28:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 95, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 91, + "name": "supportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 74, + "src": "1196:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", + "typeString": "struct Company.SupportAgent memory" + } + }, + "id": 93, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "lName", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "1196:18:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 94, + "name": "_lName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 68, + "src": "1218:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "1196:28:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "id": 96, + "nodeType": "ExpressionStatement", + "src": "1196:28:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 101, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 97, + "name": "supportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 74, + "src": "1228:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", + "typeString": "struct Company.SupportAgent memory" + } + }, + "id": 99, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "timeZone", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "1228:21:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 100, + "name": "_timeZone", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 70, + "src": "1253:9:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "1228:34:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "id": 102, + "nodeType": "ExpressionStatement", + "src": "1228:34:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 108, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 103, + "name": "supportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 74, + "src": "1266:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", + "typeString": "struct Company.SupportAgent memory" + } + }, + "id": 105, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "agentIndex", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1266:23:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 106, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1293:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 107, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1293:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1266:53:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 109, + "nodeType": "ExpressionStatement", + "src": "1266:53:0" + }, + { + "expression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 116, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 113, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 62, + "src": "1402:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "argumentTypes": null, + "id": 110, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1377:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "push", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1377:24:0", + "typeDescriptions": { + "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", + "typeString": "function (address) returns (uint256)" + } + }, + "id": 114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1377:34:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 115, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1413:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1377:37:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 117, + "nodeType": "ExpressionStatement", + "src": "1377:37:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 122, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 118, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "1420:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 120, + "indexExpression": { + "argumentTypes": null, + "id": 119, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 62, + "src": "1435:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1420:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 121, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1447:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "1420:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 123, + "nodeType": "ExpressionStatement", + "src": "1420:31:0" + } + ] + }, + "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", + "id": 125, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "addSupportAgent", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 71, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 62, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "934:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 61, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "934:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 64, + "name": "_email", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "952:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 63, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "952:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 66, + "name": "_fName", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "967:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 65, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "967:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 68, + "name": "_lName", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "982:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 67, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "982:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 70, + "name": "_timeZone", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "997:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 69, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "997:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "933:81:0" + }, + "payable": false, + "returnParameters": { + "id": 72, + "nodeType": "ParameterList", + "parameters": [], + "src": "1028:0:0" + }, + "scope": 296, + "src": "909:550:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 171, + "nodeType": "Block", + "src": "1543:442:0", + "statements": [ + { + "assignments": [ + 133 + ], + "declarations": [ + { + "constant": false, + "id": 133, + "name": "removeThisAgent", + "nodeType": "VariableDeclaration", + "scope": 172, + "src": "1629:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 132, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1629:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 137, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 135, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 127, + "src": "1679:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 134, + "name": "findSupportAgentArrayIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 254, + "src": "1652:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_uint256_$", + "typeString": "function (address) view returns (uint256)" + } + }, + "id": 136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1652:36:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1629:59:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 138, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1717:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 140, + "indexExpression": { + "argumentTypes": null, + "id": 139, + "name": "removeThisAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 133, + "src": "1737:15:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1717:36:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 141, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1756:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 146, + "indexExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 145, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 142, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1776:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 143, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1776:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 144, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1805:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1776:30:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1756:51:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1717:90:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 148, + "nodeType": "ExpressionStatement", + "src": "1717:90:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 155, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "1813:58:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 149, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1820:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 154, + "indexExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 153, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 150, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1840:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 151, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1840:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 152, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1869:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1840:30:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1820:51:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 156, + "nodeType": "ExpressionStatement", + "src": "1813:58:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 160, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "1878:28:0", + "subExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 157, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1878:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 159, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1878:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 161, + "nodeType": "ExpressionStatement", + "src": "1878:28:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 162, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "1912:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 164, + "indexExpression": { + "argumentTypes": null, + "id": 163, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 127, + "src": "1927:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1912:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 165, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1939:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "1912:32:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 167, + "nodeType": "ExpressionStatement", + "src": "1912:32:0" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 168, + "name": "countSupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 295, + "src": "1957:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 169, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1957:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 131, + "id": 170, + "nodeType": "Return", + "src": "1950:27:0" + } + ] + }, + "documentation": null, + "id": 172, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "removeOneSupportAgent", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 128, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 127, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 172, + "src": "1498:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 126, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1498:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1497:18:0" + }, + "payable": false, + "returnParameters": { + "id": 131, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 130, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 172, + "src": "1532:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 129, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1532:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1531:6:0" + }, + "scope": 296, + "src": "1467:518:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 217, + "nodeType": "Block", + "src": "2053:282:0", + "statements": [ + { + "body": { + "id": 212, + "nodeType": "Block", + "src": "2118:179:0", + "statements": [ + { + "assignments": [ + 191 + ], + "declarations": [ + { + "constant": false, + "id": 191, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 218, + "src": "2127:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 190, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2127:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 195, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 193, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 178, + "src": "2174:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 192, + "name": "findSupportAgentAddressById", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 240, + "src": "2146:27:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", + "typeString": "function (uint256) view returns (address)" + } + }, + "id": 194, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2146:30:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2127:49:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 200, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 196, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "2189:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 198, + "indexExpression": { + "argumentTypes": null, + "id": 197, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 191, + "src": "2204:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2189:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 199, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2216:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "2189:32:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 201, + "nodeType": "ExpressionStatement", + "src": "2189:32:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 205, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "2229:29:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 202, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2236:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 204, + "indexExpression": { + "argumentTypes": null, + "id": 203, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 178, + "src": "2256:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2236:22:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 206, + "nodeType": "ExpressionStatement", + "src": "2229:29:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 210, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "2264:28:0", + "subExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 207, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2264:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 209, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2264:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 211, + "nodeType": "ExpressionStatement", + "src": "2264:28:0" + } + ] + }, + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 186, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 181, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 178, + "src": "2074:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 185, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 182, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2078:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 183, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2078:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 184, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2107:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "2078:30:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2074:34:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 213, + "initializationExpression": { + "assignments": [ + 178 + ], + "declarations": [ + { + "constant": false, + "id": 178, + "name": "i", + "nodeType": "VariableDeclaration", + "scope": 218, + "src": "2062:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 177, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2062:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 180, + "initialValue": { + "argumentTypes": null, + "hexValue": "30", + "id": 179, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2071:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "2062:10:0" + }, + "loopExpression": { + "expression": { + "argumentTypes": null, + "id": 188, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "2110:3:0", + "subExpression": { + "argumentTypes": null, + "id": 187, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 178, + "src": "2110:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 189, + "nodeType": "ExpressionStatement", + "src": "2110:3:0" + }, + "nodeType": "ForStatement", + "src": "2057:240:0" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 214, + "name": "countSupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 295, + "src": "2307:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 215, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2307:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 176, + "id": 216, + "nodeType": "Return", + "src": "2300:27:0" + } + ] + }, + "documentation": null, + "id": 218, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "removeAllSupportAgent", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 173, + "nodeType": "ParameterList", + "parameters": [], + "src": "2023:2:0" + }, + "payable": false, + "returnParameters": { + "id": 176, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 175, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 218, + "src": "2042:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 174, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2042:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2041:6:0" + }, + "scope": 296, + "src": "1993:342:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 226, + "nodeType": "Block", + "src": "2410:45:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 224, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2428:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "functionReturnParameters": 223, + "id": 225, + "nodeType": "Return", + "src": "2421:26:0" + } + ] + }, + "documentation": null, + "id": 227, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findAllSupportAgents", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 219, + "nodeType": "ParameterList", + "parameters": [], + "src": "2376:2:0" + }, + "payable": false, + "returnParameters": { + "id": 223, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 222, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 227, + "src": "2399:9:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 220, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2399:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 221, + "length": null, + "nodeType": "ArrayTypeName", + "src": "2399:9:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2398:11:0" + }, + "scope": 296, + "src": "2347:108:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 239, + "nodeType": "Block", + "src": "2547:48:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 234, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2559:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 236, + "indexExpression": { + "argumentTypes": null, + "id": 235, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 229, + "src": "2579:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2559:26:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "id": 237, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2558:28:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 233, + "id": 238, + "nodeType": "Return", + "src": "2551:35:0" + } + ] + }, + "documentation": null, + "id": 240, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findSupportAgentAddressById", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 230, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 229, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 240, + "src": "2500:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 228, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2500:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2499:12:0" + }, + "payable": false, + "returnParameters": { + "id": 233, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 232, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 240, + "src": "2533:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 231, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2533:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2532:9:0" + }, + "scope": 296, + "src": "2463:132:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 253, + "nodeType": "Block", + "src": "2690:62:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 247, + "name": "supportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2709:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + } + }, + "id": 249, + "indexExpression": { + "argumentTypes": null, + "id": 248, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 242, + "src": "2723:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2709:23:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 250, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "agentIndex", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "2709:34:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 251, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2708:36:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 246, + "id": 252, + "nodeType": "Return", + "src": "2701:43:0" + } + ] + }, + "documentation": null, + "id": 254, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findSupportAgentArrayIndex", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 243, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 242, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2639:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 241, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2639:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2638:18:0" + }, + "payable": false, + "returnParameters": { + "id": 246, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 245, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2678:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 244, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2678:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2677:6:0" + }, + "scope": 296, + "src": "2603:149:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 285, + "nodeType": "Block", + "src": "2878:152:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 267, + "name": "supportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2897:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + } + }, + "id": 269, + "indexExpression": { + "argumentTypes": null, + "id": 268, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "2911:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2897:23:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 270, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2897:29:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 271, + "name": "supportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2928:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + } + }, + "id": 273, + "indexExpression": { + "argumentTypes": null, + "id": 272, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "2942:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2928:23:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 274, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "fName", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "2928:29:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 275, + "name": "supportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2959:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + } + }, + "id": 277, + "indexExpression": { + "argumentTypes": null, + "id": 276, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "2973:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2959:23:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 278, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "lName", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "2959:29:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 279, + "name": "supportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2989:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + } + }, + "id": 281, + "indexExpression": { + "argumentTypes": null, + "id": 280, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "3003:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2989:23:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 282, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "timeZone", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "2989:32:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + } + ], + "id": 283, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2896:126:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_string_storage_$_t_string_storage_$_t_string_storage_$_t_string_storage_$", + "typeString": "tuple(string storage ref,string storage ref,string storage ref,string storage ref)" + } + }, + "functionReturnParameters": 266, + "id": 284, + "nodeType": "Return", + "src": "2889:133:0" + } + ] + }, + "documentation": null, + "id": 286, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findSupportAgentByAddress", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 257, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 256, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 286, + "src": "2802:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 255, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2802:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2801:18:0" + }, + "payable": false, + "returnParameters": { + "id": 266, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 259, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 286, + "src": "2841:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 258, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2841:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 261, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 286, + "src": "2849:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 260, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2849:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 263, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 286, + "src": "2857:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 262, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2857:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 265, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 286, + "src": "2864:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 264, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2864:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2840:31:0" + }, + "scope": 296, + "src": "2767:263:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 294, + "nodeType": "Block", + "src": "3099:52:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 291, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "3117:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 292, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3117:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 290, + "id": 293, + "nodeType": "Return", + "src": "3110:33:0" + } + ] + }, + "documentation": null, + "id": 295, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "countSupportAgents", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 287, + "nodeType": "ParameterList", + "parameters": [], + "src": "3069:2:0" + }, + "payable": false, + "returnParameters": { + "id": 290, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 289, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 295, + "src": "3093:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 288, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3093:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3092:6:0" + }, + "scope": 296, + "src": "3042:109:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + } + ], + "scope": 297, + "src": "28:3126:0" + } + ], + "src": "0:3154:0" + }, + "legacyAST": { + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Company.sol", + "exportedSymbols": { + "Company": [ + 296 + ] + }, + "id": 297, + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "^", + "0.4", + ".18" + ], + "nodeType": "PragmaDirective", + "src": "0:24:0" + }, + { + "baseContracts": [], + "contractDependencies": [], + "contractKind": "contract", + "documentation": null, + "fullyImplemented": true, + "id": 296, + "linearizedBaseContracts": [ + 296 + ], + "name": "Company", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "Company.SupportAgent", + "id": 12, + "members": [ + { + "constant": false, + "id": 3, + "name": "email", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "87:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "87:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 5, + "name": "fName", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "110:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 4, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "110:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 7, + "name": "lName", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "133:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 6, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "133:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 9, + "name": "timeZone", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "149:15:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 8, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "149:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 11, + "name": "agentIndex", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "168:15:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 10, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "168:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "name": "SupportAgent", + "nodeType": "StructDefinition", + "scope": 296, + "src": "58:134:0", + "visibility": "public" + }, + { + "constant": false, + "id": 16, + "name": "supportAgents", + "nodeType": "VariableDeclaration", + "scope": 296, + "src": "204:47:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent)" + }, + "typeName": { + "id": 15, + "keyType": { + "id": 13, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "213:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "204:33:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent)" + }, + "valueType": { + "contractScope": null, + "id": 14, + "name": "SupportAgent", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 12, + "src": "224:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage_ptr", + "typeString": "struct Company.SupportAgent" + } + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 19, + "name": "supportAgentRecords", + "nodeType": "VariableDeclaration", + "scope": 296, + "src": "258:36:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 17, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "258:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 18, + "length": null, + "nodeType": "ArrayTypeName", + "src": "258:9:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "value": null, + "visibility": "public" + }, + { + "constant": false, + "id": 23, + "name": "isSupportAgent", + "nodeType": "VariableDeclaration", + "scope": 296, + "src": "301:47:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "typeName": { + "id": 22, + "keyType": { + "id": 20, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "310:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "301:25:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "valueType": { + "id": 21, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "321:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "value": null, + "visibility": "public" + }, + { + "body": { + "id": 35, + "nodeType": "Block", + "src": "510:69:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 31, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "529:29:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 28, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "530:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 30, + "indexExpression": { + "argumentTypes": null, + "id": 29, + "name": "supportagent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "545:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "530:28:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 27, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1225, + 1226 + ], + "referencedDeclaration": 1225, + "src": "521:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 32, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "521:38:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 33, + "nodeType": "ExpressionStatement", + "src": "521:38:0" + }, + { + "id": 34, + "nodeType": "PlaceholderStatement", + "src": "570:1:0" + } + ] + }, + "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", + "id": 36, + "name": "agentDoesNotExist", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 26, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 25, + "name": "supportagent", + "nodeType": "VariableDeclaration", + "scope": 36, + "src": "488:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 24, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "488:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "487:22:0" + }, + "src": "461:118:0", + "visibility": "internal" + }, + { + "body": { + "id": 47, + "nodeType": "Block", + "src": "629:68:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 41, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "648:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 43, + "indexExpression": { + "argumentTypes": null, + "id": 42, + "name": "supportagent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 38, + "src": "663:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "648:28:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 40, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1225, + 1226 + ], + "referencedDeclaration": 1225, + "src": "640:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 44, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "640:37:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 45, + "nodeType": "ExpressionStatement", + "src": "640:37:0" + }, + { + "id": 46, + "nodeType": "PlaceholderStatement", + "src": "688:1:0" + } + ] + }, + "documentation": null, + "id": 48, + "name": "agentExist", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 39, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 38, + "name": "supportagent", + "nodeType": "VariableDeclaration", + "scope": 48, + "src": "607:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 37, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "607:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "606:22:0" + }, + "src": "587:110:0", + "visibility": "internal" + }, + { + "body": { + "id": 59, + "nodeType": "Block", + "src": "740:53:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 55, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 53, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 50, + "src": "759:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 54, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "771:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "759:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 52, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1225, + 1226 + ], + "referencedDeclaration": 1225, + "src": "751:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 56, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "751:22:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 57, + "nodeType": "ExpressionStatement", + "src": "751:22:0" + }, + { + "id": 58, + "nodeType": "PlaceholderStatement", + "src": "784:1:0" + } + ] + }, + "documentation": null, + "id": 60, + "name": "notNull", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 51, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 50, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 60, + "src": "722:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 49, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "722:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "721:18:0" + }, + "src": "705:88:0", + "visibility": "internal" + }, + { + "body": { + "id": 124, + "nodeType": "Block", + "src": "1028:431:0", + "statements": [ + { + "assignments": [ + 74 + ], + "declarations": [ + { + "constant": false, + "id": 74, + "name": "supportAgent", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "1039:32:0", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", + "typeString": "struct Company.SupportAgent" + }, + "typeName": { + "contractScope": null, + "id": 73, + "name": "SupportAgent", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 12, + "src": "1039:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage_ptr", + "typeString": "struct Company.SupportAgent" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 78, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 75, + "name": "supportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1074:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + } + }, + "id": 77, + "indexExpression": { + "argumentTypes": null, + "id": 76, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 62, + "src": "1088:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1074:23:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1039:58:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 83, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 79, + "name": "supportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 74, + "src": "1118:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", + "typeString": "struct Company.SupportAgent memory" + } + }, + "id": 81, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "1118:18:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 82, + "name": "_email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 64, + "src": "1140:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "1118:28:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "id": 84, + "nodeType": "ExpressionStatement", + "src": "1118:28:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 89, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 85, + "name": "supportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 74, + "src": "1157:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", + "typeString": "struct Company.SupportAgent memory" + } + }, + "id": 87, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "fName", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "1157:18:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 88, + "name": "_fName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 66, + "src": "1179:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "1157:28:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "id": 90, + "nodeType": "ExpressionStatement", + "src": "1157:28:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 95, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 91, + "name": "supportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 74, + "src": "1196:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", + "typeString": "struct Company.SupportAgent memory" + } + }, + "id": 93, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "lName", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "1196:18:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 94, + "name": "_lName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 68, + "src": "1218:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "1196:28:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "id": 96, + "nodeType": "ExpressionStatement", + "src": "1196:28:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 101, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 97, + "name": "supportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 74, + "src": "1228:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", + "typeString": "struct Company.SupportAgent memory" + } + }, + "id": 99, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "timeZone", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "1228:21:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 100, + "name": "_timeZone", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 70, + "src": "1253:9:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "1228:34:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + }, + "id": 102, + "nodeType": "ExpressionStatement", + "src": "1228:34:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 108, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 103, + "name": "supportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 74, + "src": "1266:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", + "typeString": "struct Company.SupportAgent memory" + } + }, + "id": 105, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "agentIndex", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1266:23:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 106, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1293:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 107, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1293:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1266:53:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 109, + "nodeType": "ExpressionStatement", + "src": "1266:53:0" + }, + { + "expression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 116, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 113, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 62, + "src": "1402:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "argumentTypes": null, + "id": 110, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1377:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "push", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1377:24:0", + "typeDescriptions": { + "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", + "typeString": "function (address) returns (uint256)" + } + }, + "id": 114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1377:34:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 115, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1413:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1377:37:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 117, + "nodeType": "ExpressionStatement", + "src": "1377:37:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 122, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 118, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "1420:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 120, + "indexExpression": { + "argumentTypes": null, + "id": 119, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 62, + "src": "1435:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1420:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 121, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1447:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "1420:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 123, + "nodeType": "ExpressionStatement", + "src": "1420:31:0" + } + ] + }, + "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", + "id": 125, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "addSupportAgent", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 71, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 62, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "934:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 61, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "934:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 64, + "name": "_email", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "952:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 63, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "952:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 66, + "name": "_fName", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "967:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 65, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "967:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 68, + "name": "_lName", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "982:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 67, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "982:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 70, + "name": "_timeZone", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "997:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 69, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "997:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "933:81:0" + }, + "payable": false, + "returnParameters": { + "id": 72, + "nodeType": "ParameterList", + "parameters": [], + "src": "1028:0:0" + }, + "scope": 296, + "src": "909:550:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 171, + "nodeType": "Block", + "src": "1543:442:0", + "statements": [ + { + "assignments": [ + 133 + ], + "declarations": [ + { + "constant": false, + "id": 133, + "name": "removeThisAgent", + "nodeType": "VariableDeclaration", + "scope": 172, + "src": "1629:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 132, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1629:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 137, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 135, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 127, + "src": "1679:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 134, + "name": "findSupportAgentArrayIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 254, + "src": "1652:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_uint256_$", + "typeString": "function (address) view returns (uint256)" + } + }, + "id": 136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1652:36:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1629:59:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 138, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1717:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 140, + "indexExpression": { + "argumentTypes": null, + "id": 139, + "name": "removeThisAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 133, + "src": "1737:15:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1717:36:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 141, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1756:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 146, + "indexExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 145, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 142, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1776:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 143, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1776:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 144, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1805:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1776:30:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1756:51:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1717:90:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 148, + "nodeType": "ExpressionStatement", + "src": "1717:90:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 155, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "1813:58:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 149, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1820:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 154, + "indexExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 153, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 150, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1840:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 151, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1840:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 152, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1869:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1840:30:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1820:51:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 156, + "nodeType": "ExpressionStatement", + "src": "1813:58:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 160, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "1878:28:0", + "subExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 157, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1878:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 159, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1878:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 161, + "nodeType": "ExpressionStatement", + "src": "1878:28:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 162, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "1912:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 164, + "indexExpression": { + "argumentTypes": null, + "id": 163, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 127, + "src": "1927:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1912:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 165, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1939:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "1912:32:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 167, + "nodeType": "ExpressionStatement", + "src": "1912:32:0" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 168, + "name": "countSupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 295, + "src": "1957:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 169, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1957:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 131, + "id": 170, + "nodeType": "Return", + "src": "1950:27:0" + } + ] + }, + "documentation": null, + "id": 172, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "removeOneSupportAgent", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 128, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 127, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 172, + "src": "1498:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 126, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1498:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1497:18:0" + }, + "payable": false, + "returnParameters": { + "id": 131, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 130, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 172, + "src": "1532:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 129, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1532:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1531:6:0" + }, + "scope": 296, + "src": "1467:518:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 217, + "nodeType": "Block", + "src": "2053:282:0", + "statements": [ + { + "body": { + "id": 212, + "nodeType": "Block", + "src": "2118:179:0", + "statements": [ + { + "assignments": [ + 191 + ], + "declarations": [ + { + "constant": false, + "id": 191, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 218, + "src": "2127:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 190, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2127:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 195, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 193, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 178, + "src": "2174:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 192, + "name": "findSupportAgentAddressById", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 240, + "src": "2146:27:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", + "typeString": "function (uint256) view returns (address)" + } + }, + "id": 194, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2146:30:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2127:49:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 200, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 196, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "2189:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 198, + "indexExpression": { + "argumentTypes": null, + "id": 197, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 191, + "src": "2204:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2189:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 199, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2216:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "2189:32:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 201, + "nodeType": "ExpressionStatement", + "src": "2189:32:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 205, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "2229:29:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 202, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2236:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 204, + "indexExpression": { + "argumentTypes": null, + "id": 203, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 178, + "src": "2256:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2236:22:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 206, + "nodeType": "ExpressionStatement", + "src": "2229:29:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 210, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "2264:28:0", + "subExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 207, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2264:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 209, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2264:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 211, + "nodeType": "ExpressionStatement", + "src": "2264:28:0" + } + ] + }, + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 186, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 181, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 178, + "src": "2074:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 185, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 182, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2078:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 183, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2078:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 184, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2107:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "2078:30:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2074:34:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 213, + "initializationExpression": { + "assignments": [ + 178 + ], + "declarations": [ + { + "constant": false, + "id": 178, + "name": "i", + "nodeType": "VariableDeclaration", + "scope": 218, + "src": "2062:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 177, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2062:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 180, + "initialValue": { + "argumentTypes": null, + "hexValue": "30", + "id": 179, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2071:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "2062:10:0" + }, + "loopExpression": { + "expression": { + "argumentTypes": null, + "id": 188, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "2110:3:0", + "subExpression": { + "argumentTypes": null, + "id": 187, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 178, + "src": "2110:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 189, + "nodeType": "ExpressionStatement", + "src": "2110:3:0" + }, + "nodeType": "ForStatement", + "src": "2057:240:0" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 214, + "name": "countSupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 295, + "src": "2307:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 215, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2307:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 176, + "id": 216, + "nodeType": "Return", + "src": "2300:27:0" + } + ] + }, + "documentation": null, + "id": 218, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "removeAllSupportAgent", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 173, + "nodeType": "ParameterList", + "parameters": [], + "src": "2023:2:0" + }, + "payable": false, + "returnParameters": { + "id": 176, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 175, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 218, + "src": "2042:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 174, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2042:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2041:6:0" + }, + "scope": 296, + "src": "1993:342:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 226, + "nodeType": "Block", + "src": "2410:45:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 224, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2428:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "functionReturnParameters": 223, + "id": 225, + "nodeType": "Return", + "src": "2421:26:0" + } + ] + }, + "documentation": null, + "id": 227, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findAllSupportAgents", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 219, + "nodeType": "ParameterList", + "parameters": [], + "src": "2376:2:0" + }, + "payable": false, + "returnParameters": { + "id": 223, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 222, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 227, + "src": "2399:9:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 220, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2399:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 221, + "length": null, + "nodeType": "ArrayTypeName", + "src": "2399:9:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2398:11:0" + }, + "scope": 296, + "src": "2347:108:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 239, + "nodeType": "Block", + "src": "2547:48:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 234, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2559:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 236, + "indexExpression": { + "argumentTypes": null, + "id": 235, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 229, + "src": "2579:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2559:26:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "id": 237, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2558:28:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 233, + "id": 238, + "nodeType": "Return", + "src": "2551:35:0" + } + ] + }, + "documentation": null, + "id": 240, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findSupportAgentAddressById", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 230, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 229, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 240, + "src": "2500:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 228, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2500:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2499:12:0" + }, + "payable": false, + "returnParameters": { + "id": 233, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 232, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 240, + "src": "2533:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 231, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2533:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2532:9:0" + }, + "scope": 296, + "src": "2463:132:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 253, + "nodeType": "Block", + "src": "2690:62:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 247, + "name": "supportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2709:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + } + }, + "id": 249, + "indexExpression": { + "argumentTypes": null, + "id": 248, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 242, + "src": "2723:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2709:23:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 250, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "agentIndex", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "2709:34:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 251, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2708:36:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 246, + "id": 252, + "nodeType": "Return", + "src": "2701:43:0" + } + ] + }, + "documentation": null, + "id": 254, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findSupportAgentArrayIndex", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 243, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 242, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2639:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 241, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2639:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2638:18:0" + }, + "payable": false, + "returnParameters": { + "id": 246, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 245, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 254, + "src": "2678:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 244, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2678:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2677:6:0" + }, + "scope": 296, + "src": "2603:149:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 285, + "nodeType": "Block", + "src": "2878:152:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 267, + "name": "supportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2897:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + } + }, + "id": 269, + "indexExpression": { + "argumentTypes": null, + "id": 268, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "2911:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2897:23:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 270, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2897:29:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 271, + "name": "supportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2928:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + } + }, + "id": 273, + "indexExpression": { + "argumentTypes": null, + "id": 272, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "2942:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2928:23:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 274, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "fName", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "2928:29:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 275, + "name": "supportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2959:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + } + }, + "id": 277, + "indexExpression": { + "argumentTypes": null, + "id": 276, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "2973:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2959:23:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 278, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "lName", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "2959:29:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 279, + "name": "supportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2989:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", + "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + } + }, + "id": 281, + "indexExpression": { + "argumentTypes": null, + "id": 280, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 256, + "src": "3003:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2989:23:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 282, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "timeZone", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "2989:32:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + } + ], + "id": 283, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2896:126:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_string_storage_$_t_string_storage_$_t_string_storage_$_t_string_storage_$", + "typeString": "tuple(string storage ref,string storage ref,string storage ref,string storage ref)" + } + }, + "functionReturnParameters": 266, + "id": 284, + "nodeType": "Return", + "src": "2889:133:0" + } + ] + }, + "documentation": null, + "id": 286, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findSupportAgentByAddress", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 257, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 256, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 286, + "src": "2802:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 255, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2802:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2801:18:0" + }, + "payable": false, + "returnParameters": { + "id": 266, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 259, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 286, + "src": "2841:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 258, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2841:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 261, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 286, + "src": "2849:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 260, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2849:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 263, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 286, + "src": "2857:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 262, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2857:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 265, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 286, + "src": "2864:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 264, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2864:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2840:31:0" + }, + "scope": 296, + "src": "2767:263:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 294, + "nodeType": "Block", + "src": "3099:52:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 291, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "3117:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "id": 292, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3117:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 290, + "id": 293, + "nodeType": "Return", + "src": "3110:33:0" + } + ] + }, + "documentation": null, + "id": 295, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "countSupportAgents", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 287, + "nodeType": "ParameterList", + "parameters": [], + "src": "3069:2:0" + }, + "payable": false, + "returnParameters": { + "id": 290, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 289, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 295, + "src": "3093:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 288, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3093:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3092:6:0" + }, + "scope": 296, + "src": "3042:109:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + } + ], + "scope": 297, + "src": "28:3126:0" + } + ], + "src": "0:3154:0" + }, + "compiler": { + "name": "solc", + "version": "0.4.24+commit.e67f0147.Emscripten.clang" + }, + "networks": {}, + "schemaVersion": "2.0.1", + "updatedAt": "2018-10-06T17:51:37.381Z" +} \ No newline at end of file diff --git a/ethereum/build/contracts/JobApplicant.json b/ethereum/build/contracts/JobApplicant.json index 0f716f6..94671da 100644 --- a/ethereum/build/contracts/JobApplicant.json +++ b/ethereum/build/contracts/JobApplicant.json @@ -260,40 +260,40 @@ "type": "function" } ], - "bytecode": "0x60806040526000805460ff1916905534801561001a57600080fd5b50604051604080610c4c833981016040819052815160209092015160018054600160a060020a031916600160a060020a03808416919091179091556000805461010060a860020a0319166101009286169290920291909117908190554260025590917f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156100af57fe5b60ff16815260200191505060405180910390a15050610b79806100d36000396000f3006080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a723058203fae80c41f742e2b31e63b2b30dce150ef64093459a2b128b2a41f2f9208c7b10029", - "deployedBytecode": "0x6080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a723058203fae80c41f742e2b31e63b2b30dce150ef64093459a2b128b2a41f2f9208c7b10029", - "sourceMap": "144:9008:0:-;;;1690:25;1659:56;;-1:-1:-1;;1659:56:0;;;2501:281;5:2:-1;;;;30:1;27;20:12;5:2;2501:281:0;;;;;;;;;;;;;;;;;;;;;2616:9;:22;;-1:-1:-1;;;;;;2616:22:0;-1:-1:-1;;;;;2616:22:0;;;;;;;;;;-1:-1:-1;2649:50:0;;-1:-1:-1;;;;;;2649:50:0;2616:22;2649:50;;;;;;;;;;;;;;;2720:3;2710:7;:13;2501:281;;2739:35;;2760:13;;;2501:281;2760:13;2739:35;;;;;;;;;;;;;;;;;;;;;;;;2501:281;;144:9008;;;;;;", - "deployedSourceMap": "144:9008:0:-;;;;;;;;-1:-1:-1;144:9008:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1905:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1905:30:0;;;;;;;;;;;;;;;;;;;;8302:218;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8302:218:0;;;;;;3751:349;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3751:349:0;;;;1879:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1879:19:0;;;;7747:274;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7747:274:0;;;;8824:209;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8824:209:0;;;;6288:201;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6288:201:0;;;;4854:215;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4854:215:0;;;;2790:241;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2790:241:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2790:241:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2790:241:0;;-1:-1:-1;2790:241:0;-1:-1:-1;2790:241:0;7276:212;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7276:212:0;;;;4378:211;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4378:211:0;;;;1794:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1794:24:0;;;;;;;;-1:-1:-1;;;;;1794:24:0;;;;;;;;;;;;;;5817:219;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5817:219:0;;;;6752:262;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6752:262:0;;;;3359:112;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3359:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1722:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1722:30:0;;;;5330:213;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5330:213:0;;;;1905:30;;;;:::o;8302:218::-;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:0;;;;:15;;;;-1:-1:-1;;;;;2034:15:0;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:0;-1:-1:-1;;;;;2020:37:0;:10;:37;2012:46;;;;;;8374:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;8416:13;:45;;8432:29;;8416:13;-1:-1:-1;;8416:45:0;;8432:29;8416:45;;;;;-1:-1:-1;8498:13:0;;8477:35;;;;8498:13;;;8477:35;8498:13;8477:35;;;;;;;;;;;;;;;;;;;;;;;;2069:1;8302:218::o;3751:349::-;2142:9;;-1:-1:-1;;;;;2142:9:0;2128:10;:23;2120:32;;;;;;3895:25;3884:7;:5;:7::i;:::-;:36;;;;;;;;;:88;;;-1:-1:-1;3948:24:0;3937:7;:5;:7::i;:::-;:35;;;;;;;;;3884:88;3862:121;;;;;;;;3998:13;:41;;-1:-1:-1;;3998:41:0;4014:25;3998:41;;;;;4055:35;;;;4076:13;;;4055:35;4076:13;4055:35;;;;;;;;;;;;;;;;;;;;;;;;3751:349::o;1879:19::-;;;;:::o;7747:274::-;2260:9;;-1:-1:-1;;;;;2260:9:0;2246:10;:23;;:77;;-1:-1:-1;2300:15:0;;;:23;;;-1:-1:-1;;;;;;;;;;;2300:23:0;;;;:15;;;;-1:-1:-1;;;;;2300:15:0;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2300:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2300:23:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2300:23:0;-1:-1:-1;;;;;2286:37:0;:10;:37;2246:77;2224:110;;;;;;;;7826:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;7868:13;:40;;7884:24;;7868:13;-1:-1:-1;;7868:40:0;;7884:24;7868:40;;8824:209;2260:9;;-1:-1:-1;;;;;2260:9:0;2246:10;:23;;:77;;-1:-1:-1;2300:15:0;;;:23;;;-1:-1:-1;;;;;;;;;;;2300:23:0;;;;:15;;;;-1:-1:-1;;;;;2300:15:0;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2300:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2300:23:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2300:23:0;-1:-1:-1;;;;;2286:37:0;:10;:37;2246:77;2224:110;;;;;;;;8899:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;8941:13;:33;;8957:17;;8941:13;-1:-1:-1;;8941:33:0;;8957:17;8941:33;;6288:201;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:0;;;;:15;;;;-1:-1:-1;;;;;2034:15:0;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:0;-1:-1:-1;;;;;2020:37:0;:10;:37;2012:46;;;;;;6349:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;6391:13;:39;;6407:23;;6391:13;-1:-1:-1;;6391:39:0;;6407:23;6391:39;;4854:215;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:0;;;;:15;;;;-1:-1:-1;;;;;2034:15:0;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:0;-1:-1:-1;;;;;2020:37:0;:10;:37;2012:46;;;;;;4924:25;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;4967:13;:43;;4983:27;;4967:13;-1:-1:-1;;4967:43:0;;4983:27;4967:43;;2790:241;2842:13;2857:24;2883:18;2903:13;2918:21;2960:7;:5;:7::i;:::-;2969:15;;;2986:9;2997:7;;2952:71;;-1:-1:-1;;;;;2969:15:0;;;;;;;-1:-1:-1;2986:9:0;;;-1:-1:-1;2997:7:0;;-1:-1:-1;2790:241:0;;-1:-1:-1;2790:241:0:o;7276:212::-;2142:9;;-1:-1:-1;;;;;2142:9:0;2128:10;:23;2120:32;;;;;;7344:23;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;7385:13;:44;;7401:28;;7385:13;-1:-1:-1;;7385:44:0;;7401:28;7385:44;;4378:211;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:0;;;;:15;;;;-1:-1:-1;;;;;2034:15:0;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:0;-1:-1:-1;;;;;2020:37:0;:10;:37;2012:46;;;;;;4447:25;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;4490:13;:40;;4506:24;;4490:13;-1:-1:-1;;4490:40:0;;4506:24;4490:40;;1794:24;;;-1:-1:-1;;;;;1794:24:0;;:::o;5817:219::-;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:0;;;;:15;;;;-1:-1:-1;;;;;2034:15:0;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:0;-1:-1:-1;;;;;2020:37:0;:10;:37;2012:46;;;;;;5890:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;5932:13;:45;;5948:29;;5932:13;-1:-1:-1;;5932:45:0;;5948:29;5932:45;;6752:262;2142:9;;-1:-1:-1;;;;;2142:9:0;2128:10;:23;2120:32;;;;;;6820:23;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;6861:13;:40;;6877:24;;6861:13;-1:-1:-1;;6861:40:0;;6877:24;6861:40;;3359:112;3412:13;3450;;;3359:112;:::o;1722:30::-;;;;;;-1:-1:-1;;;;;1722:30:0;;:::o;5330:213::-;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:0;;;;:15;;;;-1:-1:-1;;;;;2034:15:0;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:0;-1:-1:-1;;;;;2020:37:0;:10;:37;2012:46;;;;;;5402:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;5444:13;:40;;5460:24;;5444:13;-1:-1:-1;;5444:40:0;5460:24;;5444:40;", + "bytecode": "0x60806040526000805460ff1916905534801561001a57600080fd5b50604051604080610c4c833981016040819052815160209092015160018054600160a060020a031916600160a060020a03808416919091179091556000805461010060a860020a0319166101009286169290920291909117908190554260025590917f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156100af57fe5b60ff16815260200191505060405180910390a15050610b79806100d36000396000f3006080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a72305820faa1d72b80321aa1bdad74a5214d50841524aa68b680192e621f0e0682c9a7610029", + "deployedBytecode": "0x6080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a72305820faa1d72b80321aa1bdad74a5214d50841524aa68b680192e621f0e0682c9a7610029", + "sourceMap": "144:9008:1:-;;;1690:25;1659:56;;-1:-1:-1;;1659:56:1;;;2501:281;5:2:-1;;;;30:1;27;20:12;5:2;2501:281:1;;;;;;;;;;;;;;;;;;;;;2616:9;:22;;-1:-1:-1;;;;;;2616:22:1;-1:-1:-1;;;;;2616:22:1;;;;;;;;;;-1:-1:-1;2649:50:1;;-1:-1:-1;;;;;;2649:50:1;2616:22;2649:50;;;;;;;;;;;;;;;2720:3;2710:7;:13;2501:281;;2739:35;;2760:13;;;2501:281;2760:13;2739:35;;;;;;;;;;;;;;;;;;;;;;;;2501:281;;144:9008;;;;;;", + "deployedSourceMap": "144:9008:1:-;;;;;;;;-1:-1:-1;144:9008:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1905:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1905:30:1;;;;;;;;;;;;;;;;;;;;8302:218;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8302:218:1;;;;;;3751:349;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3751:349:1;;;;1879:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1879:19:1;;;;7747:274;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7747:274:1;;;;8824:209;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8824:209:1;;;;6288:201;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6288:201:1;;;;4854:215;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4854:215:1;;;;2790:241;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2790:241:1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2790:241:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2790:241:1;;-1:-1:-1;2790:241:1;-1:-1:-1;2790:241:1;7276:212;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7276:212:1;;;;4378:211;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4378:211:1;;;;1794:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1794:24:1;;;;;;;;-1:-1:-1;;;;;1794:24:1;;;;;;;;;;;;;;5817:219;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5817:219:1;;;;6752:262;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6752:262:1;;;;3359:112;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3359:112:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1722:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1722:30:1;;;;5330:213;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5330:213:1;;;;1905:30;;;;:::o;8302:218::-;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:1;;;;:15;;;;-1:-1:-1;;;;;2034:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:1;-1:-1:-1;;;;;2020:37:1;:10;:37;2012:46;;;;;;8374:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;8416:13;:45;;8432:29;;8416:13;-1:-1:-1;;8416:45:1;;8432:29;8416:45;;;;;-1:-1:-1;8498:13:1;;8477:35;;;;8498:13;;;8477:35;8498:13;8477:35;;;;;;;;;;;;;;;;;;;;;;;;2069:1;8302:218::o;3751:349::-;2142:9;;-1:-1:-1;;;;;2142:9:1;2128:10;:23;2120:32;;;;;;3895:25;3884:7;:5;:7::i;:::-;:36;;;;;;;;;:88;;;-1:-1:-1;3948:24:1;3937:7;:5;:7::i;:::-;:35;;;;;;;;;3884:88;3862:121;;;;;;;;3998:13;:41;;-1:-1:-1;;3998:41:1;4014:25;3998:41;;;;;4055:35;;;;4076:13;;;4055:35;4076:13;4055:35;;;;;;;;;;;;;;;;;;;;;;;;3751:349::o;1879:19::-;;;;:::o;7747:274::-;2260:9;;-1:-1:-1;;;;;2260:9:1;2246:10;:23;;:77;;-1:-1:-1;2300:15:1;;;:23;;;-1:-1:-1;;;;;;;;;;;2300:23:1;;;;:15;;;;-1:-1:-1;;;;;2300:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2300:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2300:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2300:23:1;-1:-1:-1;;;;;2286:37:1;:10;:37;2246:77;2224:110;;;;;;;;7826:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;7868:13;:40;;7884:24;;7868:13;-1:-1:-1;;7868:40:1;;7884:24;7868:40;;8824:209;2260:9;;-1:-1:-1;;;;;2260:9:1;2246:10;:23;;:77;;-1:-1:-1;2300:15:1;;;:23;;;-1:-1:-1;;;;;;;;;;;2300:23:1;;;;:15;;;;-1:-1:-1;;;;;2300:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2300:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2300:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2300:23:1;-1:-1:-1;;;;;2286:37:1;:10;:37;2246:77;2224:110;;;;;;;;8899:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;8941:13;:33;;8957:17;;8941:13;-1:-1:-1;;8941:33:1;;8957:17;8941:33;;6288:201;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:1;;;;:15;;;;-1:-1:-1;;;;;2034:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:1;-1:-1:-1;;;;;2020:37:1;:10;:37;2012:46;;;;;;6349:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;6391:13;:39;;6407:23;;6391:13;-1:-1:-1;;6391:39:1;;6407:23;6391:39;;4854:215;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:1;;;;:15;;;;-1:-1:-1;;;;;2034:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:1;-1:-1:-1;;;;;2020:37:1;:10;:37;2012:46;;;;;;4924:25;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;4967:13;:43;;4983:27;;4967:13;-1:-1:-1;;4967:43:1;;4983:27;4967:43;;2790:241;2842:13;2857:24;2883:18;2903:13;2918:21;2960:7;:5;:7::i;:::-;2969:15;;;2986:9;2997:7;;2952:71;;-1:-1:-1;;;;;2969:15:1;;;;;;;-1:-1:-1;2986:9:1;;;-1:-1:-1;2997:7:1;;-1:-1:-1;2790:241:1;;-1:-1:-1;2790:241:1:o;7276:212::-;2142:9;;-1:-1:-1;;;;;2142:9:1;2128:10;:23;2120:32;;;;;;7344:23;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;7385:13;:44;;7401:28;;7385:13;-1:-1:-1;;7385:44:1;;7401:28;7385:44;;4378:211;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:1;;;;:15;;;;-1:-1:-1;;;;;2034:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:1;-1:-1:-1;;;;;2020:37:1;:10;:37;2012:46;;;;;;4447:25;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;4490:13;:40;;4506:24;;4490:13;-1:-1:-1;;4490:40:1;;4506:24;4490:40;;1794:24;;;-1:-1:-1;;;;;1794:24:1;;:::o;5817:219::-;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:1;;;;:15;;;;-1:-1:-1;;;;;2034:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:1;-1:-1:-1;;;;;2020:37:1;:10;:37;2012:46;;;;;;5890:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;5932:13;:45;;5948:29;;5932:13;-1:-1:-1;;5932:45:1;;5948:29;5932:45;;6752:262;2142:9;;-1:-1:-1;;;;;2142:9:1;2128:10;:23;2120:32;;;;;;6820:23;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;6861:13;:40;;6877:24;;6861:13;-1:-1:-1;;6861:40:1;;6877:24;6861:40;;3359:112;3412:13;3450;;;3359:112;:::o;1722:30::-;;;;;;-1:-1:-1;;;;;1722:30:1;;:::o;5330:213::-;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:1;;;;:15;;;;-1:-1:-1;;;;;2034:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:1;-1:-1:-1;;;;;2020:37:1;:10;:37;2012:46;;;;;;5402:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;5444:13;:40;;5460:24;;5444:13;-1:-1:-1;;5444:40:1;5460:24;;5444:40;", "source": "pragma solidity 0.4.24;\r\n\r\n// /// @title JobApplicant\r\n// /// @dev An Application to a Job Listing and its status\r\nimport \"./Listing.sol\";\r\n\r\n\r\ncontract JobApplicant \r\n{\r\n\r\n /*\r\n * Events\r\n */\r\n\r\n event JobApplicationChange(Stages stage);\r\n event JobApplicationReview(address reviewer, address reviewee, Roles revieweeRole, uint8 rating, bytes32 ipfsHash);\r\n\r\n /*\r\n * Enum\r\n */\r\n\r\n enum Stages {\r\n\r\n // Applicant Status\r\n AWAITING_INTERVIEW,\t\t\t// Applicant applied for interview and waiting for the interview\r\n AWAITING_JOBOFFER,\t\t\t// Applicant attended the interview and waiting for the job offer\r\n CANCEL_APPLICATION,\t\t\t// Applicant cancelled the job application, after applying for the job\r\n INTERVIEW_NOT_SELECTED, //Applicant Unsuccessful/Failed the Interview\r\n JOBOFFER_ACCEPTED, //Applicant Accepts the Job Offer\r\n JOBOFFER_NOT_ACCEPTED, //Applicant Rejects the Job Offer\r\n\r\n\r\n // Employer Status\r\n INTERVIEW_PENDING,\t\t\t// Employer reviewed the application and send interview call and waiting for interview acceptance\r\n JOBOFFER_PENDING,\t\t\t// Employer finished interview and sent job offer and waiting for acceptance from the applicant\r\n APPLICATION_REJECTED,\t\t// Applicant not eligible for the job\r\n\r\n EMPLOYMENT_PERIOD,\t\t\t// Both Employer and Applicant agreed and Job in progress\r\n\r\n IN_DISPUTE,\t\t\t\t // We are in a dispute between employer and employee on payments \r\n EMPLOYMENT_TERMINATION\t\t// End of Job Contract\r\n\r\n }\r\n\r\n enum Roles {\r\n APPLICANT,\r\n EMPLOYER\r\n }\r\n\r\n /*\r\n * Storage\r\n */\r\n\r\n Stages private internalStage = Stages.AWAITING_INTERVIEW;\r\n Listing public listingContract; // listing that is being purchased\r\n address public applicant; // User who is buying. Seller is derived from listing\r\n uint public created;\r\n uint public applicationTimeout;\r\n\r\n /*\r\n * Modifiers\r\n */\r\n\r\n modifier isEmployer() {\r\n require(msg.sender == listingContract.owner());\r\n _;\r\n }\r\n\r\n modifier isApplicant() {\r\n require(msg.sender == applicant);\r\n _;\r\n }\r\n\r\n modifier isEmployerOrApplicant() {\r\n require(\r\n msg.sender == applicant ||\r\n msg.sender == listingContract.owner()\r\n );\r\n _;\r\n }\r\n\r\n modifier atStage(Stages _stage) {\r\n require(stage() == _stage);\r\n _;\r\n }\r\n\r\n /*\r\n * Public functions\r\n */\r\n\r\n constructor (\r\n address _listingContractAddress,\r\n address _applicant\r\n )\r\n public\r\n {\r\n applicant = _applicant;\r\n listingContract = Listing(_listingContractAddress);\r\n created = now;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n\r\n function data()\r\n public\r\n view\r\n returns (Stages _stage, Listing _listingContract, address _applicant, uint _created, uint _applicantTimout) {\r\n return (stage(), listingContract, applicant, created, _applicantTimout);\r\n }\r\n \r\n /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\t\tThis function returns the current status of the application\r\n /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function stage()\r\n public\r\n view\r\n returns (Stages _stage)\r\n {\r\n return internalStage;\r\n }\r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tApplicant cancels the job application\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function cancelApplication()\r\n public\r\n isApplicant\r\n {\r\n // Must be in a valid stage\r\n require(\r\n stage() == Stages.AWAITING_INTERVIEW ||\r\n stage() == Stages.AWAITING_JOBOFFER\r\n );\r\n\r\n\r\n internalStage = Stages.CANCEL_APPLICATION;\r\n emit JobApplicationChange(internalStage);\r\n\r\n }\r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tCall the Applicant for an interview\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function callForInterview()\r\n public\r\n isEmployer\r\n atStage(Stages.AWAITING_INTERVIEW)\r\n {\r\n internalStage = Stages.INTERVIEW_PENDING;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tReject an Application\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function rejectApplication()\r\n public\r\n isEmployer\r\n atStage(Stages.AWAITING_INTERVIEW)\r\n {\r\n internalStage = Stages.APPLICATION_REJECTED;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n\r\n//////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tPassed the Interview\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function interviewSuccessful()\r\n public\r\n isEmployer\r\n atStage(Stages.INTERVIEW_PENDING)\r\n {\r\n internalStage = Stages.AWAITING_JOBOFFER;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n \r\n \r\n//////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tNot Selected in the Interview\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function interviewNotSelected()\r\n public\r\n isEmployer\r\n atStage(Stages.INTERVIEW_PENDING)\r\n {\r\n internalStage = Stages.INTERVIEW_NOT_SELECTED;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n \r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tOffer Job\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function offerJob()\r\n public\r\n isEmployer\r\n atStage(Stages.AWAITING_JOBOFFER)\r\n {\r\n internalStage = Stages.JOBOFFER_PENDING;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n \r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tAccept the JobOffer\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function acceptJobOffer()\r\n public\r\n isApplicant\r\n atStage(Stages.JOBOFFER_PENDING)\r\n {\r\n internalStage = Stages.JOBOFFER_ACCEPTED; //Is this needed or directly go to EMPLOYMENT_PERIOD?\r\n emit JobApplicationChange(internalStage);\r\n }\r\n \r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tReject the JobOffer\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function rejectJobOffer()\r\n public\r\n isApplicant\r\n atStage(Stages.JOBOFFER_PENDING)\r\n {\r\n internalStage = Stages.JOBOFFER_NOT_ACCEPTED;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n \r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tStart Employment\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function startEmployment()\r\n public\r\n isEmployerOrApplicant\r\n atStage(Stages.JOBOFFER_ACCEPTED)\r\n {\r\n internalStage = Stages.EMPLOYMENT_PERIOD; //Is this needed or directly go to EMPLOYMENT_PERIOD?\r\n emit JobApplicationChange(internalStage);\r\n }\r\n \r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tTerminate the Job Contract any time\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function terminateEmployment()\r\n public\r\n isEmployer\r\n atStage(Stages.EMPLOYMENT_PERIOD)\r\n {\r\n internalStage = Stages.EMPLOYMENT_TERMINATION;\r\n emit JobApplicationChange(internalStage);\r\n } \r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tProblem between employer and employee either open a dispute\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function openDispute()\r\n public\r\n isEmployerOrApplicant\r\n atStage(Stages.EMPLOYMENT_PERIOD)\r\n {\r\n internalStage = Stages.IN_DISPUTE;\r\n emit JobApplicationChange(internalStage);\r\n } \r\n////////////////////////////////////////////////////////////////////////////////////////////////////////////// \r\n}", - "sourcePath": "C:\\i\\HT\\hellonetmarket\\ethereum\\contracts\\JobApplicant.sol", + "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\JobApplicant.sol", "ast": { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicant.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicant.sol", "exportedSymbols": { "JobApplicant": [ - 377 + 674 ] }, - "id": 378, + "id": 675, "nodeType": "SourceUnit", "nodes": [ { - "id": 1, + "id": 298, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:0" + "src": "0:23:1" }, { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", "file": "./Listing.sol", - "id": 2, + "id": 299, "nodeType": "ImportDirective", - "scope": 378, - "sourceUnit": 606, - "src": "115:23:0", + "scope": 675, + "sourceUnit": 903, + "src": "115:23:1", "symbolAliases": [], "unitAlias": "" }, @@ -303,9 +303,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 377, + "id": 674, "linearizedBaseContracts": [ - 377 + 674 ], "name": "JobApplicant", "nodeType": "ContractDefinition", @@ -313,36 +313,36 @@ { "anonymous": false, "documentation": null, - "id": 6, + "id": 303, "name": "JobApplicationChange", "nodeType": "EventDefinition", "parameters": { - "id": 5, + "id": 302, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4, + "id": 301, "indexed": false, "name": "stage", "nodeType": "VariableDeclaration", - "scope": 6, - "src": "230:12:0", + "scope": 303, + "src": "230:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 3, + "id": 300, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 31, - "src": "230:6:0", + "referencedDeclaration": 328, + "src": "230:6:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -350,28 +350,28 @@ "visibility": "internal" } ], - "src": "229:14:0" + "src": "229:14:1" }, - "src": "203:41:0" + "src": "203:41:1" }, { "anonymous": false, "documentation": null, - "id": 18, + "id": 315, "name": "JobApplicationReview", "nodeType": "EventDefinition", "parameters": { - "id": 17, + "id": 314, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 8, + "id": 305, "indexed": false, "name": "reviewer", "nodeType": "VariableDeclaration", - "scope": 18, - "src": "277:16:0", + "scope": 315, + "src": "277:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -379,10 +379,10 @@ "typeString": "address" }, "typeName": { - "id": 7, + "id": 304, "name": "address", "nodeType": "ElementaryTypeName", - "src": "277:7:0", + "src": "277:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -393,12 +393,12 @@ }, { "constant": false, - "id": 10, + "id": 307, "indexed": false, "name": "reviewee", "nodeType": "VariableDeclaration", - "scope": 18, - "src": "295:16:0", + "scope": 315, + "src": "295:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -406,10 +406,10 @@ "typeString": "address" }, "typeName": { - "id": 9, + "id": 306, "name": "address", "nodeType": "ElementaryTypeName", - "src": "295:7:0", + "src": "295:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -420,27 +420,27 @@ }, { "constant": false, - "id": 12, + "id": 309, "indexed": false, "name": "revieweeRole", "nodeType": "VariableDeclaration", - "scope": 18, - "src": "313:18:0", + "scope": 315, + "src": "313:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Roles_$34", + "typeIdentifier": "t_enum$_Roles_$331", "typeString": "enum JobApplicant.Roles" }, "typeName": { "contractScope": null, - "id": 11, + "id": 308, "name": "Roles", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 34, - "src": "313:5:0", + "referencedDeclaration": 331, + "src": "313:5:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Roles_$34", + "typeIdentifier": "t_enum$_Roles_$331", "typeString": "enum JobApplicant.Roles" } }, @@ -449,12 +449,12 @@ }, { "constant": false, - "id": 14, + "id": 311, "indexed": false, "name": "rating", "nodeType": "VariableDeclaration", - "scope": 18, - "src": "333:12:0", + "scope": 315, + "src": "333:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -462,10 +462,10 @@ "typeString": "uint8" }, "typeName": { - "id": 13, + "id": 310, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "333:5:0", + "src": "333:5:1", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -476,12 +476,12 @@ }, { "constant": false, - "id": 16, + "id": 313, "indexed": false, "name": "ipfsHash", "nodeType": "VariableDeclaration", - "scope": 18, - "src": "347:16:0", + "scope": 315, + "src": "347:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -489,10 +489,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 15, + "id": 312, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "347:7:0", + "src": "347:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -502,134 +502,134 @@ "visibility": "internal" } ], - "src": "276:88:0" + "src": "276:88:1" }, - "src": "250:115:0" + "src": "250:115:1" }, { "canonicalName": "JobApplicant.Stages", - "id": 31, + "id": 328, "members": [ { - "id": 19, + "id": 316, "name": "AWAITING_INTERVIEW", "nodeType": "EnumValue", - "src": "453:18:0" + "src": "453:18:1" }, { - "id": 20, + "id": 317, "name": "AWAITING_JOBOFFER", "nodeType": "EnumValue", - "src": "547:17:0" + "src": "547:17:1" }, { - "id": 21, + "id": 318, "name": "CANCEL_APPLICATION", "nodeType": "EnumValue", - "src": "641:18:0" + "src": "641:18:1" }, { - "id": 22, + "id": 319, "name": "INTERVIEW_NOT_SELECTED", "nodeType": "EnumValue", - "src": "741:22:0" + "src": "741:22:1" }, { - "id": 23, + "id": 320, "name": "JOBOFFER_ACCEPTED", "nodeType": "EnumValue", - "src": "824:17:0" + "src": "824:17:1" }, { - "id": 24, + "id": 321, "name": "JOBOFFER_NOT_ACCEPTED", "nodeType": "EnumValue", - "src": "895:21:0" + "src": "895:21:1" }, { - "id": 25, + "id": 322, "name": "INTERVIEW_PENDING", "nodeType": "EnumValue", - "src": "1000:17:0" + "src": "1000:17:1" }, { - "id": 26, + "id": 323, "name": "JOBOFFER_PENDING", "nodeType": "EnumValue", - "src": "1126:16:0" + "src": "1126:16:1" }, { - "id": 27, + "id": 324, "name": "APPLICATION_REJECTED", "nodeType": "EnumValue", - "src": "1249:20:0" + "src": "1249:20:1" }, { - "id": 28, + "id": 325, "name": "EMPLOYMENT_PERIOD", "nodeType": "EnumValue", - "src": "1319:17:0" + "src": "1319:17:1" }, { - "id": 29, + "id": 326, "name": "IN_DISPUTE", "nodeType": "EnumValue", - "src": "1407:10:0" + "src": "1407:10:1" }, { - "id": 30, + "id": 327, "name": "EMPLOYMENT_TERMINATION", "nodeType": "EnumValue", - "src": "1502:22:0" + "src": "1502:22:1" } ], "name": "Stages", "nodeType": "EnumDefinition", - "src": "403:1154:0" + "src": "403:1154:1" }, { "canonicalName": "JobApplicant.Roles", - "id": 34, + "id": 331, "members": [ { - "id": 32, + "id": 329, "name": "APPLICANT", "nodeType": "EnumValue", - "src": "1585:9:0" + "src": "1585:9:1" }, { - "id": 33, + "id": 330, "name": "EMPLOYER", "nodeType": "EnumValue", - "src": "1603:8:0" + "src": "1603:8:1" } ], "name": "Roles", "nodeType": "EnumDefinition", - "src": "1565:53:0" + "src": "1565:53:1" }, { "constant": false, - "id": 38, + "id": 335, "name": "internalStage", "nodeType": "VariableDeclaration", - "scope": 377, - "src": "1659:56:0", + "scope": 674, + "src": "1659:56:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 35, + "id": 332, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 31, - "src": "1659:6:0", + "referencedDeclaration": 328, + "src": "1659:6:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -637,18 +637,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 36, + "id": 333, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "1690:6:0", + "referencedDeclaration": 328, + "src": "1690:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 37, + "id": 334, "isConstant": false, "isLValue": false, "isPure": true, @@ -656,9 +656,9 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1690:25:0", + "src": "1690:25:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -666,26 +666,26 @@ }, { "constant": false, - "id": 40, + "id": 337, "name": "listingContract", "nodeType": "VariableDeclaration", - "scope": 377, - "src": "1722:30:0", + "scope": 674, + "src": "1722:30:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 39, + "id": 336, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "1722:7:0", + "referencedDeclaration": 902, + "src": "1722:7:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -694,11 +694,11 @@ }, { "constant": false, - "id": 42, + "id": 339, "name": "applicant", "nodeType": "VariableDeclaration", - "scope": 377, - "src": "1794:24:0", + "scope": 674, + "src": "1794:24:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -706,10 +706,10 @@ "typeString": "address" }, "typeName": { - "id": 41, + "id": 338, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1794:7:0", + "src": "1794:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -720,11 +720,11 @@ }, { "constant": false, - "id": 44, + "id": 341, "name": "created", "nodeType": "VariableDeclaration", - "scope": 377, - "src": "1879:19:0", + "scope": 674, + "src": "1879:19:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -732,10 +732,10 @@ "typeString": "uint256" }, "typeName": { - "id": 43, + "id": 340, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1879:4:0", + "src": "1879:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -746,11 +746,11 @@ }, { "constant": false, - "id": 46, + "id": 343, "name": "applicationTimeout", "nodeType": "VariableDeclaration", - "scope": 377, - "src": "1905:30:0", + "scope": 674, + "src": "1905:30:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -758,10 +758,10 @@ "typeString": "uint256" }, "typeName": { - "id": 45, + "id": 342, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1905:4:0", + "src": "1905:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -772,9 +772,9 @@ }, { "body": { - "id": 58, + "id": 355, "nodeType": "Block", - "src": "2001:77:0", + "src": "2001:77:1", "statements": [ { "expression": { @@ -786,7 +786,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 54, + "id": 351, "isConstant": false, "isLValue": false, "isPure": false, @@ -795,18 +795,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 49, + "id": 346, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "2020:3:0", + "referencedDeclaration": 1222, + "src": "2020:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 50, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, @@ -814,7 +814,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2020:10:0", + "src": "2020:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -829,32 +829,32 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 51, + "id": 348, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 40, - "src": "2034:15:0", + "referencedDeclaration": 337, + "src": "2034:15:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 52, + "id": 349, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 412, - "src": "2034:21:0", + "referencedDeclaration": 709, + "src": "2034:21:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", "typeString": "function () view external returns (address)" } }, - "id": 53, + "id": 350, "isConstant": false, "isLValue": false, "isPure": false, @@ -862,13 +862,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2034:23:0", + "src": "2034:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2020:37:0", + "src": "2020:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -882,21 +882,21 @@ "typeString": "bool" } ], - "id": 48, + "id": 345, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "2012:7:0", + "referencedDeclaration": 1225, + "src": "2012:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 55, + "id": 352, "isConstant": false, "isLValue": false, "isPure": false, @@ -904,41 +904,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2012:46:0", + "src": "2012:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 56, + "id": 353, "nodeType": "ExpressionStatement", - "src": "2012:46:0" + "src": "2012:46:1" }, { - "id": 57, + "id": 354, "nodeType": "PlaceholderStatement", - "src": "2069:1:0" + "src": "2069:1:1" } ] }, "documentation": null, - "id": 59, + "id": 356, "name": "isEmployer", "nodeType": "ModifierDefinition", "parameters": { - "id": 47, + "id": 344, "nodeType": "ParameterList", "parameters": [], - "src": "1998:2:0" + "src": "1998:2:1" }, - "src": "1979:99:0", + "src": "1979:99:1", "visibility": "internal" }, { "body": { - "id": 69, + "id": 366, "nodeType": "Block", - "src": "2109:63:0", + "src": "2109:63:1", "statements": [ { "expression": { @@ -950,7 +950,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 65, + "id": 362, "isConstant": false, "isLValue": false, "isPure": false, @@ -959,18 +959,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 62, + "id": 359, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "2128:3:0", + "referencedDeclaration": 1222, + "src": "2128:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 63, + "id": 360, "isConstant": false, "isLValue": false, "isPure": false, @@ -978,7 +978,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2128:10:0", + "src": "2128:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -988,18 +988,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 64, + "id": 361, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 42, - "src": "2142:9:0", + "referencedDeclaration": 339, + "src": "2142:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2128:23:0", + "src": "2128:23:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1013,21 +1013,21 @@ "typeString": "bool" } ], - "id": 61, + "id": 358, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "2120:7:0", + "referencedDeclaration": 1225, + "src": "2120:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 66, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -1035,41 +1035,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2120:32:0", + "src": "2120:32:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 67, + "id": 364, "nodeType": "ExpressionStatement", - "src": "2120:32:0" + "src": "2120:32:1" }, { - "id": 68, + "id": 365, "nodeType": "PlaceholderStatement", - "src": "2163:1:0" + "src": "2163:1:1" } ] }, "documentation": null, - "id": 70, + "id": 367, "name": "isApplicant", "nodeType": "ModifierDefinition", "parameters": { - "id": 60, + "id": 357, "nodeType": "ParameterList", "parameters": [], - "src": "2106:2:0" + "src": "2106:2:1" }, - "src": "2086:86:0", + "src": "2086:86:1", "visibility": "internal" }, { "body": { - "id": 87, + "id": 384, "nodeType": "Block", - "src": "2213:141:0", + "src": "2213:141:1", "statements": [ { "expression": { @@ -1081,7 +1081,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 83, + "id": 380, "isConstant": false, "isLValue": false, "isPure": false, @@ -1092,7 +1092,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 76, + "id": 373, "isConstant": false, "isLValue": false, "isPure": false, @@ -1101,18 +1101,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 73, + "id": 370, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "2246:3:0", + "referencedDeclaration": 1222, + "src": "2246:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 74, + "id": 371, "isConstant": false, "isLValue": false, "isPure": false, @@ -1120,7 +1120,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2246:10:0", + "src": "2246:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1130,18 +1130,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 75, + "id": 372, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 42, - "src": "2260:9:0", + "referencedDeclaration": 339, + "src": "2260:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2246:23:0", + "src": "2246:23:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1155,7 +1155,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 82, + "id": 379, "isConstant": false, "isLValue": false, "isPure": false, @@ -1164,18 +1164,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 77, + "id": 374, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "2286:3:0", + "referencedDeclaration": 1222, + "src": "2286:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 78, + "id": 375, "isConstant": false, "isLValue": false, "isPure": false, @@ -1183,7 +1183,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2286:10:0", + "src": "2286:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1198,32 +1198,32 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 79, + "id": 376, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 40, - "src": "2300:15:0", + "referencedDeclaration": 337, + "src": "2300:15:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 80, + "id": 377, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 412, - "src": "2300:21:0", + "referencedDeclaration": 709, + "src": "2300:21:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", "typeString": "function () view external returns (address)" } }, - "id": 81, + "id": 378, "isConstant": false, "isLValue": false, "isPure": false, @@ -1231,19 +1231,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2300:23:0", + "src": "2300:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2286:37:0", + "src": "2286:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "2246:77:0", + "src": "2246:77:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1257,21 +1257,21 @@ "typeString": "bool" } ], - "id": 72, + "id": 369, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "2224:7:0", + "referencedDeclaration": 1225, + "src": "2224:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 84, + "id": 381, "isConstant": false, "isLValue": false, "isPure": false, @@ -1279,41 +1279,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2224:110:0", + "src": "2224:110:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 85, + "id": 382, "nodeType": "ExpressionStatement", - "src": "2224:110:0" + "src": "2224:110:1" }, { - "id": 86, + "id": 383, "nodeType": "PlaceholderStatement", - "src": "2345:1:0" + "src": "2345:1:1" } ] }, "documentation": null, - "id": 88, + "id": 385, "name": "isEmployerOrApplicant", "nodeType": "ModifierDefinition", "parameters": { - "id": 71, + "id": 368, "nodeType": "ParameterList", "parameters": [], - "src": "2210:2:0" + "src": "2210:2:1" }, - "src": "2180:174:0", + "src": "2180:174:1", "visibility": "internal" }, { "body": { - "id": 100, + "id": 397, "nodeType": "Block", - "src": "2394:57:0", + "src": "2394:57:1", "statements": [ { "expression": { @@ -1322,10 +1322,10 @@ { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, - "id": 96, + "id": 393, "isConstant": false, "isLValue": false, "isPure": false, @@ -1335,18 +1335,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 93, + "id": 390, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 157, - "src": "2413:5:0", + "referencedDeclaration": 454, + "src": "2413:5:1", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 94, + "id": 391, "isConstant": false, "isLValue": false, "isPure": false, @@ -1354,9 +1354,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2413:7:0", + "src": "2413:7:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -1364,18 +1364,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 95, + "id": 392, "name": "_stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 90, - "src": "2424:6:0", + "referencedDeclaration": 387, + "src": "2424:6:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "2413:17:0", + "src": "2413:17:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1389,21 +1389,21 @@ "typeString": "bool" } ], - "id": 92, + "id": 389, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "2405:7:0", + "referencedDeclaration": 1225, + "src": "2405:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 97, + "id": 394, "isConstant": false, "isLValue": false, "isPure": false, @@ -1411,53 +1411,53 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2405:26:0", + "src": "2405:26:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 98, + "id": 395, "nodeType": "ExpressionStatement", - "src": "2405:26:0" + "src": "2405:26:1" }, { - "id": 99, + "id": 396, "nodeType": "PlaceholderStatement", - "src": "2442:1:0" + "src": "2442:1:1" } ] }, "documentation": null, - "id": 101, + "id": 398, "name": "atStage", "nodeType": "ModifierDefinition", "parameters": { - "id": 91, + "id": 388, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 90, + "id": 387, "name": "_stage", "nodeType": "VariableDeclaration", - "scope": 101, - "src": "2379:13:0", + "scope": 398, + "src": "2379:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 89, + "id": 386, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 31, - "src": "2379:6:0", + "referencedDeclaration": 328, + "src": "2379:6:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -1465,33 +1465,33 @@ "visibility": "internal" } ], - "src": "2378:15:0" + "src": "2378:15:1" }, - "src": "2362:89:0", + "src": "2362:89:1", "visibility": "internal" }, { "body": { - "id": 126, + "id": 423, "nodeType": "Block", - "src": "2605:177:0", + "src": "2605:177:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 110, + "id": 407, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 108, + "id": 405, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 42, - "src": "2616:9:0", + "referencedDeclaration": 339, + "src": "2616:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1501,45 +1501,45 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 109, + "id": 406, "name": "_applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 105, - "src": "2628:10:0", + "referencedDeclaration": 402, + "src": "2628:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2616:22:0", + "src": "2616:22:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 111, + "id": 408, "nodeType": "ExpressionStatement", - "src": "2616:22:0" + "src": "2616:22:1" }, { "expression": { "argumentTypes": null, - "id": 116, + "id": 413, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 112, + "id": 409, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 40, - "src": "2649:15:0", + "referencedDeclaration": 337, + "src": "2649:15:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -1550,12 +1550,12 @@ "arguments": [ { "argumentTypes": null, - "id": 114, + "id": 411, "name": "_listingContractAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "2675:23:0", + "referencedDeclaration": 400, + "src": "2675:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1569,18 +1569,18 @@ "typeString": "address" } ], - "id": 113, + "id": 410, "name": "Listing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 605, - "src": "2667:7:0", + "referencedDeclaration": 902, + "src": "2667:7:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Listing_$605_$", + "typeIdentifier": "t_type$_t_contract$_Listing_$902_$", "typeString": "type(contract Listing)" } }, - "id": 115, + "id": 412, "isConstant": false, "isLValue": false, "isPure": false, @@ -1588,38 +1588,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2667:32:0", + "src": "2667:32:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "src": "2649:50:0", + "src": "2649:50:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 117, + "id": 414, "nodeType": "ExpressionStatement", - "src": "2649:50:0" + "src": "2649:50:1" }, { "expression": { "argumentTypes": null, - "id": 120, + "id": 417, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 118, + "id": 415, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 44, - "src": "2710:7:0", + "referencedDeclaration": 341, + "src": "2710:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1629,26 +1629,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 119, + "id": 416, "name": "now", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 870, - "src": "2720:3:0", + "referencedDeclaration": 1224, + "src": "2720:3:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2710:13:0", + "src": "2710:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 121, + "id": 418, "nodeType": "ExpressionStatement", - "src": "2710:13:0" + "src": "2710:13:1" }, { "eventCall": { @@ -1656,14 +1656,14 @@ "arguments": [ { "argumentTypes": null, - "id": 123, + "id": 420, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "2760:13:0", + "referencedDeclaration": 335, + "src": "2760:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -1671,22 +1671,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 122, + "id": 419, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "2739:20:0", + "referencedDeclaration": 303, + "src": "2739:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 124, + "id": 421, "isConstant": false, "isLValue": false, "isPure": false, @@ -1694,20 +1694,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2739:35:0", + "src": "2739:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 125, + "id": 422, "nodeType": "EmitStatement", - "src": "2734:40:0" + "src": "2734:40:1" } ] }, "documentation": null, - "id": 127, + "id": 424, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -1715,16 +1715,16 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 106, + "id": 403, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 103, + "id": 400, "name": "_listingContractAddress", "nodeType": "VariableDeclaration", - "scope": 127, - "src": "2522:31:0", + "scope": 424, + "src": "2522:31:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1732,10 +1732,10 @@ "typeString": "address" }, "typeName": { - "id": 102, + "id": 399, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2522:7:0", + "src": "2522:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1746,11 +1746,11 @@ }, { "constant": false, - "id": 105, + "id": 402, "name": "_applicant", "nodeType": "VariableDeclaration", - "scope": 127, - "src": "2562:18:0", + "scope": 424, + "src": "2562:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1758,10 +1758,10 @@ "typeString": "address" }, "typeName": { - "id": 104, + "id": 401, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2562:7:0", + "src": "2562:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1771,26 +1771,26 @@ "visibility": "internal" } ], - "src": "2513:74:0" + "src": "2513:74:1" }, "payable": false, "returnParameters": { - "id": 107, + "id": 404, "nodeType": "ParameterList", "parameters": [], - "src": "2605:0:0" + "src": "2605:0:1" }, - "scope": 377, - "src": "2501:281:0", + "scope": 674, + "src": "2501:281:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 148, + "id": 445, "nodeType": "Block", - "src": "2941:90:0", + "src": "2941:90:1", "statements": [ { "expression": { @@ -1801,18 +1801,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 140, + "id": 437, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 157, - "src": "2960:5:0", + "referencedDeclaration": 454, + "src": "2960:5:1", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 141, + "id": 438, "isConstant": false, "isLValue": false, "isPure": false, @@ -1820,33 +1820,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2960:7:0", + "src": "2960:7:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, { "argumentTypes": null, - "id": 142, + "id": 439, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 40, - "src": "2969:15:0", + "referencedDeclaration": 337, + "src": "2969:15:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, { "argumentTypes": null, - "id": 143, + "id": 440, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 42, - "src": "2986:9:0", + "referencedDeclaration": 339, + "src": "2986:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1854,12 +1854,12 @@ }, { "argumentTypes": null, - "id": 144, + "id": 441, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 44, - "src": "2997:7:0", + "referencedDeclaration": 341, + "src": "2997:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1867,40 +1867,40 @@ }, { "argumentTypes": null, - "id": 145, + "id": 442, "name": "_applicantTimout", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 138, - "src": "3006:16:0", + "referencedDeclaration": 435, + "src": "3006:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 146, + "id": 443, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2959:64:0", + "src": "2959:64:1", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_enum$_Stages_$31_$_t_contract$_Listing_$605_$_t_address_$_t_uint256_$_t_uint256_$", + "typeIdentifier": "t_tuple$_t_enum$_Stages_$328_$_t_contract$_Listing_$902_$_t_address_$_t_uint256_$_t_uint256_$", "typeString": "tuple(enum JobApplicant.Stages,contract Listing,address,uint256,uint256)" } }, - "functionReturnParameters": 139, - "id": 147, + "functionReturnParameters": 436, + "id": 444, "nodeType": "Return", - "src": "2952:71:0" + "src": "2952:71:1" } ] }, "documentation": null, - "id": 149, + "id": 446, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1908,38 +1908,38 @@ "name": "data", "nodeType": "FunctionDefinition", "parameters": { - "id": 128, + "id": 425, "nodeType": "ParameterList", "parameters": [], - "src": "2803:2:0" + "src": "2803:2:1" }, "payable": false, "returnParameters": { - "id": 139, + "id": 436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 130, + "id": 427, "name": "_stage", "nodeType": "VariableDeclaration", - "scope": 149, - "src": "2842:13:0", + "scope": 446, + "src": "2842:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 129, + "id": 426, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 31, - "src": "2842:6:0", + "referencedDeclaration": 328, + "src": "2842:6:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -1948,26 +1948,26 @@ }, { "constant": false, - "id": 132, + "id": 429, "name": "_listingContract", "nodeType": "VariableDeclaration", - "scope": 149, - "src": "2857:24:0", + "scope": 446, + "src": "2857:24:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 131, + "id": 428, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "2857:7:0", + "referencedDeclaration": 902, + "src": "2857:7:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -1976,11 +1976,11 @@ }, { "constant": false, - "id": 134, + "id": 431, "name": "_applicant", "nodeType": "VariableDeclaration", - "scope": 149, - "src": "2883:18:0", + "scope": 446, + "src": "2883:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1988,10 +1988,10 @@ "typeString": "address" }, "typeName": { - "id": 133, + "id": 430, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2883:7:0", + "src": "2883:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2002,11 +2002,11 @@ }, { "constant": false, - "id": 136, + "id": 433, "name": "_created", "nodeType": "VariableDeclaration", - "scope": 149, - "src": "2903:13:0", + "scope": 446, + "src": "2903:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2014,10 +2014,10 @@ "typeString": "uint256" }, "typeName": { - "id": 135, + "id": 432, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2903:4:0", + "src": "2903:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2028,11 +2028,11 @@ }, { "constant": false, - "id": 138, + "id": 435, "name": "_applicantTimout", "nodeType": "VariableDeclaration", - "scope": 149, - "src": "2918:21:0", + "scope": 446, + "src": "2918:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2040,10 +2040,10 @@ "typeString": "uint256" }, "typeName": { - "id": 137, + "id": 434, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2918:4:0", + "src": "2918:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2053,43 +2053,43 @@ "visibility": "internal" } ], - "src": "2841:99:0" + "src": "2841:99:1" }, - "scope": 377, - "src": "2790:241:0", + "scope": 674, + "src": "2790:241:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 156, + "id": 453, "nodeType": "Block", - "src": "3432:39:0", + "src": "3432:39:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 154, + "id": 451, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "3450:13:0", + "referencedDeclaration": 335, + "src": "3450:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "functionReturnParameters": 153, - "id": 155, + "functionReturnParameters": 450, + "id": 452, "nodeType": "Return", - "src": "3443:20:0" + "src": "3443:20:1" } ] }, "documentation": "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 157, + "id": 454, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2097,38 +2097,38 @@ "name": "stage", "nodeType": "FunctionDefinition", "parameters": { - "id": 150, + "id": 447, "nodeType": "ParameterList", "parameters": [], - "src": "3373:2:0" + "src": "3373:2:1" }, "payable": false, "returnParameters": { - "id": 153, + "id": 450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 152, + "id": 449, "name": "_stage", "nodeType": "VariableDeclaration", - "scope": 157, - "src": "3412:13:0", + "scope": 454, + "src": "3412:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 151, + "id": 448, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 31, - "src": "3412:6:0", + "referencedDeclaration": 328, + "src": "3412:6:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -2136,19 +2136,19 @@ "visibility": "internal" } ], - "src": "3411:15:0" + "src": "3411:15:1" }, - "scope": 377, - "src": "3359:112:0", + "scope": 674, + "src": "3359:112:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 185, + "id": 482, "nodeType": "Block", - "src": "3814:286:0", + "src": "3814:286:1", "statements": [ { "expression": { @@ -2160,7 +2160,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 173, + "id": 470, "isConstant": false, "isLValue": false, "isPure": false, @@ -2168,10 +2168,10 @@ "leftExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, - "id": 167, + "id": 464, "isConstant": false, "isLValue": false, "isPure": false, @@ -2181,18 +2181,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 163, + "id": 460, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 157, - "src": "3884:5:0", + "referencedDeclaration": 454, + "src": "3884:5:1", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 164, + "id": 461, "isConstant": false, "isLValue": false, "isPure": false, @@ -2200,9 +2200,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3884:7:0", + "src": "3884:7:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -2212,18 +2212,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 165, + "id": 462, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "3895:6:0", + "referencedDeclaration": 328, + "src": "3895:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 166, + "id": 463, "isConstant": false, "isLValue": false, "isPure": true, @@ -2231,13 +2231,13 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3895:25:0", + "src": "3895:25:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "3884:36:0", + "src": "3884:36:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2248,10 +2248,10 @@ "rightExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, - "id": 172, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -2261,18 +2261,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 168, + "id": 465, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 157, - "src": "3937:5:0", + "referencedDeclaration": 454, + "src": "3937:5:1", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 169, + "id": 466, "isConstant": false, "isLValue": false, "isPure": false, @@ -2280,9 +2280,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3937:7:0", + "src": "3937:7:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -2292,18 +2292,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 170, + "id": 467, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "3948:6:0", + "referencedDeclaration": 328, + "src": "3948:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 171, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, @@ -2311,19 +2311,19 @@ "memberName": "AWAITING_JOBOFFER", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3948:24:0", + "src": "3948:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "3937:35:0", + "src": "3937:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3884:88:0", + "src": "3884:88:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2337,21 +2337,21 @@ "typeString": "bool" } ], - "id": 162, + "id": 459, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "3862:7:0", + "referencedDeclaration": 1225, + "src": "3862:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 174, + "id": 471, "isConstant": false, "isLValue": false, "isPure": false, @@ -2359,34 +2359,34 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3862:121:0", + "src": "3862:121:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 175, + "id": 472, "nodeType": "ExpressionStatement", - "src": "3862:121:0" + "src": "3862:121:1" }, { "expression": { "argumentTypes": null, - "id": 179, + "id": 476, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 176, + "id": 473, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "3998:13:0", + "referencedDeclaration": 335, + "src": "3998:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -2396,18 +2396,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 177, + "id": 474, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "4014:6:0", + "referencedDeclaration": 328, + "src": "4014:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 178, + "id": 475, "isConstant": false, "isLValue": false, "isPure": true, @@ -2415,21 +2415,21 @@ "memberName": "CANCEL_APPLICATION", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4014:25:0", + "src": "4014:25:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "3998:41:0", + "src": "3998:41:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 180, + "id": 477, "nodeType": "ExpressionStatement", - "src": "3998:41:0" + "src": "3998:41:1" }, { "eventCall": { @@ -2437,14 +2437,14 @@ "arguments": [ { "argumentTypes": null, - "id": 182, + "id": 479, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "4076:13:0", + "referencedDeclaration": 335, + "src": "4076:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -2452,22 +2452,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 181, + "id": 478, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "4055:20:0", + "referencedDeclaration": 303, + "src": "4055:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 183, + "id": 480, "isConstant": false, "isLValue": false, "isPure": false, @@ -2475,89 +2475,89 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4055:35:0", + "src": "4055:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 184, + "id": 481, "nodeType": "EmitStatement", - "src": "4050:40:0" + "src": "4050:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 186, + "id": 483, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 160, + "id": 457, "modifierName": { "argumentTypes": null, - "id": 159, + "id": 456, "name": "isApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "3797:11:0", + "referencedDeclaration": 367, + "src": "3797:11:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "3797:11:0" + "src": "3797:11:1" } ], "name": "cancelApplication", "nodeType": "FunctionDefinition", "parameters": { - "id": 158, + "id": 455, "nodeType": "ParameterList", "parameters": [], - "src": "3777:2:0" + "src": "3777:2:1" }, "payable": false, "returnParameters": { - "id": 161, + "id": 458, "nodeType": "ParameterList", "parameters": [], - "src": "3814:0:0" + "src": "3814:0:1" }, - "scope": 377, - "src": "3751:349:0", + "scope": 674, + "src": "3751:349:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 204, + "id": 501, "nodeType": "Block", - "src": "4479:110:0", + "src": "4479:110:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 198, + "id": 495, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 195, + "id": 492, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "4490:13:0", + "referencedDeclaration": 335, + "src": "4490:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -2567,18 +2567,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 196, + "id": 493, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "4506:6:0", + "referencedDeclaration": 328, + "src": "4506:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 197, + "id": 494, "isConstant": false, "isLValue": false, "isPure": true, @@ -2586,21 +2586,21 @@ "memberName": "INTERVIEW_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4506:24:0", + "src": "4506:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "4490:40:0", + "src": "4490:40:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 199, + "id": 496, "nodeType": "ExpressionStatement", - "src": "4490:40:0" + "src": "4490:40:1" }, { "eventCall": { @@ -2608,14 +2608,14 @@ "arguments": [ { "argumentTypes": null, - "id": 201, + "id": 498, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "4567:13:0", + "referencedDeclaration": 335, + "src": "4567:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -2623,22 +2623,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 200, + "id": 497, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "4546:20:0", + "referencedDeclaration": 303, + "src": "4546:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 202, + "id": 499, "isConstant": false, "isLValue": false, "isPure": false, @@ -2646,42 +2646,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4546:35:0", + "src": "4546:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 203, + "id": 500, "nodeType": "EmitStatement", - "src": "4541:40:0" + "src": "4541:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 205, + "id": 502, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 189, + "id": 486, "modifierName": { "argumentTypes": null, - "id": 188, + "id": 485, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "4423:10:0", + "referencedDeclaration": 356, + "src": "4423:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "4423:10:0" + "src": "4423:10:1" }, { "arguments": [ @@ -2689,18 +2689,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 191, + "id": 488, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "4447:6:0", + "referencedDeclaration": 328, + "src": "4447:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 192, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, @@ -2708,76 +2708,76 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4447:25:0", + "src": "4447:25:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 193, + "id": 490, "modifierName": { "argumentTypes": null, - "id": 190, + "id": 487, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "4439:7:0", + "referencedDeclaration": 398, + "src": "4439:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "4439:34:0" + "src": "4439:34:1" } ], "name": "callForInterview", "nodeType": "FunctionDefinition", "parameters": { - "id": 187, + "id": 484, "nodeType": "ParameterList", "parameters": [], - "src": "4403:2:0" + "src": "4403:2:1" }, "payable": false, "returnParameters": { - "id": 194, + "id": 491, "nodeType": "ParameterList", "parameters": [], - "src": "4479:0:0" + "src": "4479:0:1" }, - "scope": 377, - "src": "4378:211:0", + "scope": 674, + "src": "4378:211:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 223, + "id": 520, "nodeType": "Block", - "src": "4956:113:0", + "src": "4956:113:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 217, + "id": 514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 214, + "id": 511, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "4967:13:0", + "referencedDeclaration": 335, + "src": "4967:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -2787,18 +2787,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 215, + "id": 512, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "4983:6:0", + "referencedDeclaration": 328, + "src": "4983:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 216, + "id": 513, "isConstant": false, "isLValue": false, "isPure": true, @@ -2806,21 +2806,21 @@ "memberName": "APPLICATION_REJECTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4983:27:0", + "src": "4983:27:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "4967:43:0", + "src": "4967:43:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 218, + "id": 515, "nodeType": "ExpressionStatement", - "src": "4967:43:0" + "src": "4967:43:1" }, { "eventCall": { @@ -2828,14 +2828,14 @@ "arguments": [ { "argumentTypes": null, - "id": 220, + "id": 517, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "5047:13:0", + "referencedDeclaration": 335, + "src": "5047:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -2843,22 +2843,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 219, + "id": 516, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "5026:20:0", + "referencedDeclaration": 303, + "src": "5026:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 221, + "id": 518, "isConstant": false, "isLValue": false, "isPure": false, @@ -2866,42 +2866,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5026:35:0", + "src": "5026:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 222, + "id": 519, "nodeType": "EmitStatement", - "src": "5021:40:0" + "src": "5021:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 224, + "id": 521, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 208, + "id": 505, "modifierName": { "argumentTypes": null, - "id": 207, + "id": 504, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "4900:10:0", + "referencedDeclaration": 356, + "src": "4900:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "4900:10:0" + "src": "4900:10:1" }, { "arguments": [ @@ -2909,18 +2909,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 210, + "id": 507, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "4924:6:0", + "referencedDeclaration": 328, + "src": "4924:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 211, + "id": 508, "isConstant": false, "isLValue": false, "isPure": true, @@ -2928,76 +2928,76 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4924:25:0", + "src": "4924:25:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 212, + "id": 509, "modifierName": { "argumentTypes": null, - "id": 209, + "id": 506, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "4916:7:0", + "referencedDeclaration": 398, + "src": "4916:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "4916:34:0" + "src": "4916:34:1" } ], "name": "rejectApplication", "nodeType": "FunctionDefinition", "parameters": { - "id": 206, + "id": 503, "nodeType": "ParameterList", "parameters": [], - "src": "4880:2:0" + "src": "4880:2:1" }, "payable": false, "returnParameters": { - "id": 213, + "id": 510, "nodeType": "ParameterList", "parameters": [], - "src": "4956:0:0" + "src": "4956:0:1" }, - "scope": 377, - "src": "4854:215:0", + "scope": 674, + "src": "4854:215:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 242, + "id": 539, "nodeType": "Block", - "src": "5433:110:0", + "src": "5433:110:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 236, + "id": 533, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 233, + "id": 530, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "5444:13:0", + "referencedDeclaration": 335, + "src": "5444:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -3007,18 +3007,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 234, + "id": 531, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "5460:6:0", + "referencedDeclaration": 328, + "src": "5460:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 235, + "id": 532, "isConstant": false, "isLValue": false, "isPure": true, @@ -3026,21 +3026,21 @@ "memberName": "AWAITING_JOBOFFER", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5460:24:0", + "src": "5460:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "5444:40:0", + "src": "5444:40:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 237, + "id": 534, "nodeType": "ExpressionStatement", - "src": "5444:40:0" + "src": "5444:40:1" }, { "eventCall": { @@ -3048,14 +3048,14 @@ "arguments": [ { "argumentTypes": null, - "id": 239, + "id": 536, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "5521:13:0", + "referencedDeclaration": 335, + "src": "5521:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -3063,22 +3063,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 238, + "id": 535, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "5500:20:0", + "referencedDeclaration": 303, + "src": "5500:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 240, + "id": 537, "isConstant": false, "isLValue": false, "isPure": false, @@ -3086,42 +3086,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5500:35:0", + "src": "5500:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 241, + "id": 538, "nodeType": "EmitStatement", - "src": "5495:40:0" + "src": "5495:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 243, + "id": 540, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 227, + "id": 524, "modifierName": { "argumentTypes": null, - "id": 226, + "id": 523, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "5378:10:0", + "referencedDeclaration": 356, + "src": "5378:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5378:10:0" + "src": "5378:10:1" }, { "arguments": [ @@ -3129,18 +3129,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 229, + "id": 526, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "5402:6:0", + "referencedDeclaration": 328, + "src": "5402:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 230, + "id": 527, "isConstant": false, "isLValue": false, "isPure": true, @@ -3148,76 +3148,76 @@ "memberName": "INTERVIEW_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5402:24:0", + "src": "5402:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 231, + "id": 528, "modifierName": { "argumentTypes": null, - "id": 228, + "id": 525, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "5394:7:0", + "referencedDeclaration": 398, + "src": "5394:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "5394:33:0" + "src": "5394:33:1" } ], "name": "interviewSuccessful", "nodeType": "FunctionDefinition", "parameters": { - "id": 225, + "id": 522, "nodeType": "ParameterList", "parameters": [], - "src": "5358:2:0" + "src": "5358:2:1" }, "payable": false, "returnParameters": { - "id": 232, + "id": 529, "nodeType": "ParameterList", "parameters": [], - "src": "5433:0:0" + "src": "5433:0:1" }, - "scope": 377, - "src": "5330:213:0", + "scope": 674, + "src": "5330:213:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 261, + "id": 558, "nodeType": "Block", - "src": "5921:115:0", + "src": "5921:115:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 255, + "id": 552, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 252, + "id": 549, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "5932:13:0", + "referencedDeclaration": 335, + "src": "5932:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -3227,18 +3227,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 253, + "id": 550, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "5948:6:0", + "referencedDeclaration": 328, + "src": "5948:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 254, + "id": 551, "isConstant": false, "isLValue": false, "isPure": true, @@ -3246,21 +3246,21 @@ "memberName": "INTERVIEW_NOT_SELECTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5948:29:0", + "src": "5948:29:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "5932:45:0", + "src": "5932:45:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 256, + "id": 553, "nodeType": "ExpressionStatement", - "src": "5932:45:0" + "src": "5932:45:1" }, { "eventCall": { @@ -3268,14 +3268,14 @@ "arguments": [ { "argumentTypes": null, - "id": 258, + "id": 555, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "6014:13:0", + "referencedDeclaration": 335, + "src": "6014:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -3283,22 +3283,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 257, + "id": 554, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "5993:20:0", + "referencedDeclaration": 303, + "src": "5993:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 259, + "id": 556, "isConstant": false, "isLValue": false, "isPure": false, @@ -3306,42 +3306,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5993:35:0", + "src": "5993:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 260, + "id": 557, "nodeType": "EmitStatement", - "src": "5988:40:0" + "src": "5988:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 262, + "id": 559, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 246, + "id": 543, "modifierName": { "argumentTypes": null, - "id": 245, + "id": 542, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "5866:10:0", + "referencedDeclaration": 356, + "src": "5866:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5866:10:0" + "src": "5866:10:1" }, { "arguments": [ @@ -3349,18 +3349,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 248, + "id": 545, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "5890:6:0", + "referencedDeclaration": 328, + "src": "5890:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 249, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, @@ -3368,76 +3368,76 @@ "memberName": "INTERVIEW_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5890:24:0", + "src": "5890:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 250, + "id": 547, "modifierName": { "argumentTypes": null, - "id": 247, + "id": 544, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "5882:7:0", + "referencedDeclaration": 398, + "src": "5882:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "5882:33:0" + "src": "5882:33:1" } ], "name": "interviewNotSelected", "nodeType": "FunctionDefinition", "parameters": { - "id": 244, + "id": 541, "nodeType": "ParameterList", "parameters": [], - "src": "5846:2:0" + "src": "5846:2:1" }, "payable": false, "returnParameters": { - "id": 251, + "id": 548, "nodeType": "ParameterList", "parameters": [], - "src": "5921:0:0" + "src": "5921:0:1" }, - "scope": 377, - "src": "5817:219:0", + "scope": 674, + "src": "5817:219:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 280, + "id": 577, "nodeType": "Block", - "src": "6380:109:0", + "src": "6380:109:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 274, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 271, + "id": 568, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "6391:13:0", + "referencedDeclaration": 335, + "src": "6391:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -3447,18 +3447,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 272, + "id": 569, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "6407:6:0", + "referencedDeclaration": 328, + "src": "6407:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 273, + "id": 570, "isConstant": false, "isLValue": false, "isPure": true, @@ -3466,21 +3466,21 @@ "memberName": "JOBOFFER_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6407:23:0", + "src": "6407:23:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "6391:39:0", + "src": "6391:39:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 275, + "id": 572, "nodeType": "ExpressionStatement", - "src": "6391:39:0" + "src": "6391:39:1" }, { "eventCall": { @@ -3488,14 +3488,14 @@ "arguments": [ { "argumentTypes": null, - "id": 277, + "id": 574, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "6467:13:0", + "referencedDeclaration": 335, + "src": "6467:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -3503,22 +3503,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 276, + "id": 573, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "6446:20:0", + "referencedDeclaration": 303, + "src": "6446:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 278, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, @@ -3526,42 +3526,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6446:35:0", + "src": "6446:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 279, + "id": 576, "nodeType": "EmitStatement", - "src": "6441:40:0" + "src": "6441:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 281, + "id": 578, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 265, + "id": 562, "modifierName": { "argumentTypes": null, - "id": 264, + "id": 561, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "6325:10:0", + "referencedDeclaration": 356, + "src": "6325:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6325:10:0" + "src": "6325:10:1" }, { "arguments": [ @@ -3569,18 +3569,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 267, + "id": 564, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "6349:6:0", + "referencedDeclaration": 328, + "src": "6349:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 268, + "id": 565, "isConstant": false, "isLValue": false, "isPure": true, @@ -3588,76 +3588,76 @@ "memberName": "AWAITING_JOBOFFER", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6349:24:0", + "src": "6349:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 269, + "id": 566, "modifierName": { "argumentTypes": null, - "id": 266, + "id": 563, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "6341:7:0", + "referencedDeclaration": 398, + "src": "6341:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "6341:33:0" + "src": "6341:33:1" } ], "name": "offerJob", "nodeType": "FunctionDefinition", "parameters": { - "id": 263, + "id": 560, "nodeType": "ParameterList", "parameters": [], - "src": "6305:2:0" + "src": "6305:2:1" }, "payable": false, "returnParameters": { - "id": 270, + "id": 567, "nodeType": "ParameterList", "parameters": [], - "src": "6380:0:0" + "src": "6380:0:1" }, - "scope": 377, - "src": "6288:201:0", + "scope": 674, + "src": "6288:201:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 299, + "id": 596, "nodeType": "Block", - "src": "6850:164:0", + "src": "6850:164:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 293, + "id": 590, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 290, + "id": 587, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "6861:13:0", + "referencedDeclaration": 335, + "src": "6861:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -3667,18 +3667,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 291, + "id": 588, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "6877:6:0", + "referencedDeclaration": 328, + "src": "6877:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 292, + "id": 589, "isConstant": false, "isLValue": false, "isPure": true, @@ -3686,21 +3686,21 @@ "memberName": "JOBOFFER_ACCEPTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6877:24:0", + "src": "6877:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "6861:40:0", + "src": "6861:40:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 294, + "id": 591, "nodeType": "ExpressionStatement", - "src": "6861:40:0" + "src": "6861:40:1" }, { "eventCall": { @@ -3708,14 +3708,14 @@ "arguments": [ { "argumentTypes": null, - "id": 296, + "id": 593, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "6992:13:0", + "referencedDeclaration": 335, + "src": "6992:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -3723,22 +3723,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 295, + "id": 592, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "6971:20:0", + "referencedDeclaration": 303, + "src": "6971:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 297, + "id": 594, "isConstant": false, "isLValue": false, "isPure": false, @@ -3746,42 +3746,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6971:35:0", + "src": "6971:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 298, + "id": 595, "nodeType": "EmitStatement", - "src": "6966:40:0" + "src": "6966:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 300, + "id": 597, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 284, + "id": 581, "modifierName": { "argumentTypes": null, - "id": 283, + "id": 580, "name": "isApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "6795:11:0", + "referencedDeclaration": 367, + "src": "6795:11:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6795:11:0" + "src": "6795:11:1" }, { "arguments": [ @@ -3789,18 +3789,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 286, + "id": 583, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "6820:6:0", + "referencedDeclaration": 328, + "src": "6820:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 287, + "id": 584, "isConstant": false, "isLValue": false, "isPure": true, @@ -3808,76 +3808,76 @@ "memberName": "JOBOFFER_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6820:23:0", + "src": "6820:23:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 288, + "id": 585, "modifierName": { "argumentTypes": null, - "id": 285, + "id": 582, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "6812:7:0", + "referencedDeclaration": 398, + "src": "6812:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "6812:32:0" + "src": "6812:32:1" } ], "name": "acceptJobOffer", "nodeType": "FunctionDefinition", "parameters": { - "id": 282, + "id": 579, "nodeType": "ParameterList", "parameters": [], - "src": "6775:2:0" + "src": "6775:2:1" }, "payable": false, "returnParameters": { - "id": 289, + "id": 586, "nodeType": "ParameterList", "parameters": [], - "src": "6850:0:0" + "src": "6850:0:1" }, - "scope": 377, - "src": "6752:262:0", + "scope": 674, + "src": "6752:262:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 318, + "id": 615, "nodeType": "Block", - "src": "7374:114:0", + "src": "7374:114:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 312, + "id": 609, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 309, + "id": 606, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "7385:13:0", + "referencedDeclaration": 335, + "src": "7385:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -3887,18 +3887,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 310, + "id": 607, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "7401:6:0", + "referencedDeclaration": 328, + "src": "7401:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 311, + "id": 608, "isConstant": false, "isLValue": false, "isPure": true, @@ -3906,21 +3906,21 @@ "memberName": "JOBOFFER_NOT_ACCEPTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7401:28:0", + "src": "7401:28:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "7385:44:0", + "src": "7385:44:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 313, + "id": 610, "nodeType": "ExpressionStatement", - "src": "7385:44:0" + "src": "7385:44:1" }, { "eventCall": { @@ -3928,14 +3928,14 @@ "arguments": [ { "argumentTypes": null, - "id": 315, + "id": 612, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "7466:13:0", + "referencedDeclaration": 335, + "src": "7466:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -3943,22 +3943,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 314, + "id": 611, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "7445:20:0", + "referencedDeclaration": 303, + "src": "7445:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 316, + "id": 613, "isConstant": false, "isLValue": false, "isPure": false, @@ -3966,42 +3966,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7445:35:0", + "src": "7445:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 317, + "id": 614, "nodeType": "EmitStatement", - "src": "7440:40:0" + "src": "7440:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 319, + "id": 616, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 303, + "id": 600, "modifierName": { "argumentTypes": null, - "id": 302, + "id": 599, "name": "isApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "7319:11:0", + "referencedDeclaration": 367, + "src": "7319:11:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "7319:11:0" + "src": "7319:11:1" }, { "arguments": [ @@ -4009,18 +4009,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 305, + "id": 602, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "7344:6:0", + "referencedDeclaration": 328, + "src": "7344:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 306, + "id": 603, "isConstant": false, "isLValue": false, "isPure": true, @@ -4028,76 +4028,76 @@ "memberName": "JOBOFFER_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7344:23:0", + "src": "7344:23:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 307, + "id": 604, "modifierName": { "argumentTypes": null, - "id": 304, + "id": 601, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "7336:7:0", + "referencedDeclaration": 398, + "src": "7336:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "7336:32:0" + "src": "7336:32:1" } ], "name": "rejectJobOffer", "nodeType": "FunctionDefinition", "parameters": { - "id": 301, + "id": 598, "nodeType": "ParameterList", "parameters": [], - "src": "7299:2:0" + "src": "7299:2:1" }, "payable": false, "returnParameters": { - "id": 308, + "id": 605, "nodeType": "ParameterList", "parameters": [], - "src": "7374:0:0" + "src": "7374:0:1" }, - "scope": 377, - "src": "7276:212:0", + "scope": 674, + "src": "7276:212:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 337, + "id": 634, "nodeType": "Block", - "src": "7857:164:0", + "src": "7857:164:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 331, + "id": 628, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 328, + "id": 625, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "7868:13:0", + "referencedDeclaration": 335, + "src": "7868:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -4107,18 +4107,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 329, + "id": 626, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "7884:6:0", + "referencedDeclaration": 328, + "src": "7884:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 330, + "id": 627, "isConstant": false, "isLValue": false, "isPure": true, @@ -4126,21 +4126,21 @@ "memberName": "EMPLOYMENT_PERIOD", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7884:24:0", + "src": "7884:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "7868:40:0", + "src": "7868:40:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 332, + "id": 629, "nodeType": "ExpressionStatement", - "src": "7868:40:0" + "src": "7868:40:1" }, { "eventCall": { @@ -4148,14 +4148,14 @@ "arguments": [ { "argumentTypes": null, - "id": 334, + "id": 631, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "7999:13:0", + "referencedDeclaration": 335, + "src": "7999:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -4163,22 +4163,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 333, + "id": 630, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "7978:20:0", + "referencedDeclaration": 303, + "src": "7978:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 335, + "id": 632, "isConstant": false, "isLValue": false, "isPure": false, @@ -4186,42 +4186,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7978:35:0", + "src": "7978:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 336, + "id": 633, "nodeType": "EmitStatement", - "src": "7973:40:0" + "src": "7973:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 338, + "id": 635, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 322, + "id": 619, "modifierName": { "argumentTypes": null, - "id": 321, + "id": 618, "name": "isEmployerOrApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 88, - "src": "7791:21:0", + "referencedDeclaration": 385, + "src": "7791:21:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "7791:21:0" + "src": "7791:21:1" }, { "arguments": [ @@ -4229,18 +4229,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 324, + "id": 621, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "7826:6:0", + "referencedDeclaration": 328, + "src": "7826:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 325, + "id": 622, "isConstant": false, "isLValue": false, "isPure": true, @@ -4248,76 +4248,76 @@ "memberName": "JOBOFFER_ACCEPTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7826:24:0", + "src": "7826:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 326, + "id": 623, "modifierName": { "argumentTypes": null, - "id": 323, + "id": 620, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "7818:7:0", + "referencedDeclaration": 398, + "src": "7818:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "7818:33:0" + "src": "7818:33:1" } ], "name": "startEmployment", "nodeType": "FunctionDefinition", "parameters": { - "id": 320, + "id": 617, "nodeType": "ParameterList", "parameters": [], - "src": "7771:2:0" + "src": "7771:2:1" }, "payable": false, "returnParameters": { - "id": 327, + "id": 624, "nodeType": "ParameterList", "parameters": [], - "src": "7857:0:0" + "src": "7857:0:1" }, - "scope": 377, - "src": "7747:274:0", + "scope": 674, + "src": "7747:274:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 356, + "id": 653, "nodeType": "Block", - "src": "8405:115:0", + "src": "8405:115:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 350, + "id": 647, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 347, + "id": 644, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "8416:13:0", + "referencedDeclaration": 335, + "src": "8416:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -4327,18 +4327,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 348, + "id": 645, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "8432:6:0", + "referencedDeclaration": 328, + "src": "8432:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 349, + "id": 646, "isConstant": false, "isLValue": false, "isPure": true, @@ -4346,21 +4346,21 @@ "memberName": "EMPLOYMENT_TERMINATION", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8432:29:0", + "src": "8432:29:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "8416:45:0", + "src": "8416:45:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 351, + "id": 648, "nodeType": "ExpressionStatement", - "src": "8416:45:0" + "src": "8416:45:1" }, { "eventCall": { @@ -4368,14 +4368,14 @@ "arguments": [ { "argumentTypes": null, - "id": 353, + "id": 650, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "8498:13:0", + "referencedDeclaration": 335, + "src": "8498:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -4383,22 +4383,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 352, + "id": 649, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "8477:20:0", + "referencedDeclaration": 303, + "src": "8477:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 354, + "id": 651, "isConstant": false, "isLValue": false, "isPure": false, @@ -4406,42 +4406,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8477:35:0", + "src": "8477:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 355, + "id": 652, "nodeType": "EmitStatement", - "src": "8472:40:0" + "src": "8472:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 357, + "id": 654, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 341, + "id": 638, "modifierName": { "argumentTypes": null, - "id": 340, + "id": 637, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "8350:10:0", + "referencedDeclaration": 356, + "src": "8350:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8350:10:0" + "src": "8350:10:1" }, { "arguments": [ @@ -4449,18 +4449,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 343, + "id": 640, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "8374:6:0", + "referencedDeclaration": 328, + "src": "8374:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 344, + "id": 641, "isConstant": false, "isLValue": false, "isPure": true, @@ -4468,76 +4468,76 @@ "memberName": "EMPLOYMENT_PERIOD", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8374:24:0", + "src": "8374:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 345, + "id": 642, "modifierName": { "argumentTypes": null, - "id": 342, + "id": 639, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "8366:7:0", + "referencedDeclaration": 398, + "src": "8366:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "8366:33:0" + "src": "8366:33:1" } ], "name": "terminateEmployment", "nodeType": "FunctionDefinition", "parameters": { - "id": 339, + "id": 636, "nodeType": "ParameterList", "parameters": [], - "src": "8330:2:0" + "src": "8330:2:1" }, "payable": false, "returnParameters": { - "id": 346, + "id": 643, "nodeType": "ParameterList", "parameters": [], - "src": "8405:0:0" + "src": "8405:0:1" }, - "scope": 377, - "src": "8302:218:0", + "scope": 674, + "src": "8302:218:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 375, + "id": 672, "nodeType": "Block", - "src": "8930:103:0", + "src": "8930:103:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 369, + "id": 666, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 366, + "id": 663, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "8941:13:0", + "referencedDeclaration": 335, + "src": "8941:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -4547,18 +4547,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 367, + "id": 664, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "8957:6:0", + "referencedDeclaration": 328, + "src": "8957:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 368, + "id": 665, "isConstant": false, "isLValue": false, "isPure": true, @@ -4566,21 +4566,21 @@ "memberName": "IN_DISPUTE", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8957:17:0", + "src": "8957:17:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "8941:33:0", + "src": "8941:33:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 370, + "id": 667, "nodeType": "ExpressionStatement", - "src": "8941:33:0" + "src": "8941:33:1" }, { "eventCall": { @@ -4588,14 +4588,14 @@ "arguments": [ { "argumentTypes": null, - "id": 372, + "id": 669, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "9011:13:0", + "referencedDeclaration": 335, + "src": "9011:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -4603,22 +4603,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 371, + "id": 668, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "8990:20:0", + "referencedDeclaration": 303, + "src": "8990:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 373, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -4626,42 +4626,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8990:35:0", + "src": "8990:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 374, + "id": 671, "nodeType": "EmitStatement", - "src": "8985:40:0" + "src": "8985:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 376, + "id": 673, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 360, + "id": 657, "modifierName": { "argumentTypes": null, - "id": 359, + "id": 656, "name": "isEmployerOrApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 88, - "src": "8864:21:0", + "referencedDeclaration": 385, + "src": "8864:21:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8864:21:0" + "src": "8864:21:1" }, { "arguments": [ @@ -4669,18 +4669,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 362, + "id": 659, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "8899:6:0", + "referencedDeclaration": 328, + "src": "8899:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 363, + "id": 660, "isConstant": false, "isLValue": false, "isPure": true, @@ -4688,87 +4688,87 @@ "memberName": "EMPLOYMENT_PERIOD", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8899:24:0", + "src": "8899:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 364, + "id": 661, "modifierName": { "argumentTypes": null, - "id": 361, + "id": 658, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "8891:7:0", + "referencedDeclaration": 398, + "src": "8891:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "8891:33:0" + "src": "8891:33:1" } ], "name": "openDispute", "nodeType": "FunctionDefinition", "parameters": { - "id": 358, + "id": 655, "nodeType": "ParameterList", "parameters": [], - "src": "8844:2:0" + "src": "8844:2:1" }, "payable": false, "returnParameters": { - "id": 365, + "id": 662, "nodeType": "ParameterList", "parameters": [], - "src": "8930:0:0" + "src": "8930:0:1" }, - "scope": 377, - "src": "8824:209:0", + "scope": 674, + "src": "8824:209:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 378, - "src": "144:9008:0" + "scope": 675, + "src": "144:9008:1" } ], - "src": "0:9152:0" + "src": "0:9152:1" }, "legacyAST": { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicant.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicant.sol", "exportedSymbols": { "JobApplicant": [ - 377 + 674 ] }, - "id": 378, + "id": 675, "nodeType": "SourceUnit", "nodes": [ { - "id": 1, + "id": 298, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:0" + "src": "0:23:1" }, { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", "file": "./Listing.sol", - "id": 2, + "id": 299, "nodeType": "ImportDirective", - "scope": 378, - "sourceUnit": 606, - "src": "115:23:0", + "scope": 675, + "sourceUnit": 903, + "src": "115:23:1", "symbolAliases": [], "unitAlias": "" }, @@ -4778,9 +4778,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 377, + "id": 674, "linearizedBaseContracts": [ - 377 + 674 ], "name": "JobApplicant", "nodeType": "ContractDefinition", @@ -4788,36 +4788,36 @@ { "anonymous": false, "documentation": null, - "id": 6, + "id": 303, "name": "JobApplicationChange", "nodeType": "EventDefinition", "parameters": { - "id": 5, + "id": 302, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4, + "id": 301, "indexed": false, "name": "stage", "nodeType": "VariableDeclaration", - "scope": 6, - "src": "230:12:0", + "scope": 303, + "src": "230:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 3, + "id": 300, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 31, - "src": "230:6:0", + "referencedDeclaration": 328, + "src": "230:6:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -4825,28 +4825,28 @@ "visibility": "internal" } ], - "src": "229:14:0" + "src": "229:14:1" }, - "src": "203:41:0" + "src": "203:41:1" }, { "anonymous": false, "documentation": null, - "id": 18, + "id": 315, "name": "JobApplicationReview", "nodeType": "EventDefinition", "parameters": { - "id": 17, + "id": 314, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 8, + "id": 305, "indexed": false, "name": "reviewer", "nodeType": "VariableDeclaration", - "scope": 18, - "src": "277:16:0", + "scope": 315, + "src": "277:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4854,10 +4854,10 @@ "typeString": "address" }, "typeName": { - "id": 7, + "id": 304, "name": "address", "nodeType": "ElementaryTypeName", - "src": "277:7:0", + "src": "277:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4868,12 +4868,12 @@ }, { "constant": false, - "id": 10, + "id": 307, "indexed": false, "name": "reviewee", "nodeType": "VariableDeclaration", - "scope": 18, - "src": "295:16:0", + "scope": 315, + "src": "295:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4881,10 +4881,10 @@ "typeString": "address" }, "typeName": { - "id": 9, + "id": 306, "name": "address", "nodeType": "ElementaryTypeName", - "src": "295:7:0", + "src": "295:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4895,27 +4895,27 @@ }, { "constant": false, - "id": 12, + "id": 309, "indexed": false, "name": "revieweeRole", "nodeType": "VariableDeclaration", - "scope": 18, - "src": "313:18:0", + "scope": 315, + "src": "313:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Roles_$34", + "typeIdentifier": "t_enum$_Roles_$331", "typeString": "enum JobApplicant.Roles" }, "typeName": { "contractScope": null, - "id": 11, + "id": 308, "name": "Roles", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 34, - "src": "313:5:0", + "referencedDeclaration": 331, + "src": "313:5:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Roles_$34", + "typeIdentifier": "t_enum$_Roles_$331", "typeString": "enum JobApplicant.Roles" } }, @@ -4924,12 +4924,12 @@ }, { "constant": false, - "id": 14, + "id": 311, "indexed": false, "name": "rating", "nodeType": "VariableDeclaration", - "scope": 18, - "src": "333:12:0", + "scope": 315, + "src": "333:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4937,10 +4937,10 @@ "typeString": "uint8" }, "typeName": { - "id": 13, + "id": 310, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "333:5:0", + "src": "333:5:1", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -4951,12 +4951,12 @@ }, { "constant": false, - "id": 16, + "id": 313, "indexed": false, "name": "ipfsHash", "nodeType": "VariableDeclaration", - "scope": 18, - "src": "347:16:0", + "scope": 315, + "src": "347:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4964,10 +4964,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 15, + "id": 312, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "347:7:0", + "src": "347:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4977,134 +4977,134 @@ "visibility": "internal" } ], - "src": "276:88:0" + "src": "276:88:1" }, - "src": "250:115:0" + "src": "250:115:1" }, { "canonicalName": "JobApplicant.Stages", - "id": 31, + "id": 328, "members": [ { - "id": 19, + "id": 316, "name": "AWAITING_INTERVIEW", "nodeType": "EnumValue", - "src": "453:18:0" + "src": "453:18:1" }, { - "id": 20, + "id": 317, "name": "AWAITING_JOBOFFER", "nodeType": "EnumValue", - "src": "547:17:0" + "src": "547:17:1" }, { - "id": 21, + "id": 318, "name": "CANCEL_APPLICATION", "nodeType": "EnumValue", - "src": "641:18:0" + "src": "641:18:1" }, { - "id": 22, + "id": 319, "name": "INTERVIEW_NOT_SELECTED", "nodeType": "EnumValue", - "src": "741:22:0" + "src": "741:22:1" }, { - "id": 23, + "id": 320, "name": "JOBOFFER_ACCEPTED", "nodeType": "EnumValue", - "src": "824:17:0" + "src": "824:17:1" }, { - "id": 24, + "id": 321, "name": "JOBOFFER_NOT_ACCEPTED", "nodeType": "EnumValue", - "src": "895:21:0" + "src": "895:21:1" }, { - "id": 25, + "id": 322, "name": "INTERVIEW_PENDING", "nodeType": "EnumValue", - "src": "1000:17:0" + "src": "1000:17:1" }, { - "id": 26, + "id": 323, "name": "JOBOFFER_PENDING", "nodeType": "EnumValue", - "src": "1126:16:0" + "src": "1126:16:1" }, { - "id": 27, + "id": 324, "name": "APPLICATION_REJECTED", "nodeType": "EnumValue", - "src": "1249:20:0" + "src": "1249:20:1" }, { - "id": 28, + "id": 325, "name": "EMPLOYMENT_PERIOD", "nodeType": "EnumValue", - "src": "1319:17:0" + "src": "1319:17:1" }, { - "id": 29, + "id": 326, "name": "IN_DISPUTE", "nodeType": "EnumValue", - "src": "1407:10:0" + "src": "1407:10:1" }, { - "id": 30, + "id": 327, "name": "EMPLOYMENT_TERMINATION", "nodeType": "EnumValue", - "src": "1502:22:0" + "src": "1502:22:1" } ], "name": "Stages", "nodeType": "EnumDefinition", - "src": "403:1154:0" + "src": "403:1154:1" }, { "canonicalName": "JobApplicant.Roles", - "id": 34, + "id": 331, "members": [ { - "id": 32, + "id": 329, "name": "APPLICANT", "nodeType": "EnumValue", - "src": "1585:9:0" + "src": "1585:9:1" }, { - "id": 33, + "id": 330, "name": "EMPLOYER", "nodeType": "EnumValue", - "src": "1603:8:0" + "src": "1603:8:1" } ], "name": "Roles", "nodeType": "EnumDefinition", - "src": "1565:53:0" + "src": "1565:53:1" }, { "constant": false, - "id": 38, + "id": 335, "name": "internalStage", "nodeType": "VariableDeclaration", - "scope": 377, - "src": "1659:56:0", + "scope": 674, + "src": "1659:56:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 35, + "id": 332, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 31, - "src": "1659:6:0", + "referencedDeclaration": 328, + "src": "1659:6:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -5112,18 +5112,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 36, + "id": 333, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "1690:6:0", + "referencedDeclaration": 328, + "src": "1690:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 37, + "id": 334, "isConstant": false, "isLValue": false, "isPure": true, @@ -5131,9 +5131,9 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1690:25:0", + "src": "1690:25:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -5141,26 +5141,26 @@ }, { "constant": false, - "id": 40, + "id": 337, "name": "listingContract", "nodeType": "VariableDeclaration", - "scope": 377, - "src": "1722:30:0", + "scope": 674, + "src": "1722:30:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 39, + "id": 336, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "1722:7:0", + "referencedDeclaration": 902, + "src": "1722:7:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -5169,11 +5169,11 @@ }, { "constant": false, - "id": 42, + "id": 339, "name": "applicant", "nodeType": "VariableDeclaration", - "scope": 377, - "src": "1794:24:0", + "scope": 674, + "src": "1794:24:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5181,10 +5181,10 @@ "typeString": "address" }, "typeName": { - "id": 41, + "id": 338, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1794:7:0", + "src": "1794:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5195,11 +5195,11 @@ }, { "constant": false, - "id": 44, + "id": 341, "name": "created", "nodeType": "VariableDeclaration", - "scope": 377, - "src": "1879:19:0", + "scope": 674, + "src": "1879:19:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5207,10 +5207,10 @@ "typeString": "uint256" }, "typeName": { - "id": 43, + "id": 340, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1879:4:0", + "src": "1879:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5221,11 +5221,11 @@ }, { "constant": false, - "id": 46, + "id": 343, "name": "applicationTimeout", "nodeType": "VariableDeclaration", - "scope": 377, - "src": "1905:30:0", + "scope": 674, + "src": "1905:30:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5233,10 +5233,10 @@ "typeString": "uint256" }, "typeName": { - "id": 45, + "id": 342, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1905:4:0", + "src": "1905:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5247,9 +5247,9 @@ }, { "body": { - "id": 58, + "id": 355, "nodeType": "Block", - "src": "2001:77:0", + "src": "2001:77:1", "statements": [ { "expression": { @@ -5261,7 +5261,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 54, + "id": 351, "isConstant": false, "isLValue": false, "isPure": false, @@ -5270,18 +5270,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 49, + "id": 346, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "2020:3:0", + "referencedDeclaration": 1222, + "src": "2020:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 50, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, @@ -5289,7 +5289,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2020:10:0", + "src": "2020:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5304,32 +5304,32 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 51, + "id": 348, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 40, - "src": "2034:15:0", + "referencedDeclaration": 337, + "src": "2034:15:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 52, + "id": 349, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 412, - "src": "2034:21:0", + "referencedDeclaration": 709, + "src": "2034:21:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", "typeString": "function () view external returns (address)" } }, - "id": 53, + "id": 350, "isConstant": false, "isLValue": false, "isPure": false, @@ -5337,13 +5337,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2034:23:0", + "src": "2034:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2020:37:0", + "src": "2020:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5357,21 +5357,21 @@ "typeString": "bool" } ], - "id": 48, + "id": 345, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "2012:7:0", + "referencedDeclaration": 1225, + "src": "2012:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 55, + "id": 352, "isConstant": false, "isLValue": false, "isPure": false, @@ -5379,41 +5379,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2012:46:0", + "src": "2012:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 56, + "id": 353, "nodeType": "ExpressionStatement", - "src": "2012:46:0" + "src": "2012:46:1" }, { - "id": 57, + "id": 354, "nodeType": "PlaceholderStatement", - "src": "2069:1:0" + "src": "2069:1:1" } ] }, "documentation": null, - "id": 59, + "id": 356, "name": "isEmployer", "nodeType": "ModifierDefinition", "parameters": { - "id": 47, + "id": 344, "nodeType": "ParameterList", "parameters": [], - "src": "1998:2:0" + "src": "1998:2:1" }, - "src": "1979:99:0", + "src": "1979:99:1", "visibility": "internal" }, { "body": { - "id": 69, + "id": 366, "nodeType": "Block", - "src": "2109:63:0", + "src": "2109:63:1", "statements": [ { "expression": { @@ -5425,7 +5425,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 65, + "id": 362, "isConstant": false, "isLValue": false, "isPure": false, @@ -5434,18 +5434,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 62, + "id": 359, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "2128:3:0", + "referencedDeclaration": 1222, + "src": "2128:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 63, + "id": 360, "isConstant": false, "isLValue": false, "isPure": false, @@ -5453,7 +5453,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2128:10:0", + "src": "2128:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5463,18 +5463,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 64, + "id": 361, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 42, - "src": "2142:9:0", + "referencedDeclaration": 339, + "src": "2142:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2128:23:0", + "src": "2128:23:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5488,21 +5488,21 @@ "typeString": "bool" } ], - "id": 61, + "id": 358, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "2120:7:0", + "referencedDeclaration": 1225, + "src": "2120:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 66, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -5510,41 +5510,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2120:32:0", + "src": "2120:32:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 67, + "id": 364, "nodeType": "ExpressionStatement", - "src": "2120:32:0" + "src": "2120:32:1" }, { - "id": 68, + "id": 365, "nodeType": "PlaceholderStatement", - "src": "2163:1:0" + "src": "2163:1:1" } ] }, "documentation": null, - "id": 70, + "id": 367, "name": "isApplicant", "nodeType": "ModifierDefinition", "parameters": { - "id": 60, + "id": 357, "nodeType": "ParameterList", "parameters": [], - "src": "2106:2:0" + "src": "2106:2:1" }, - "src": "2086:86:0", + "src": "2086:86:1", "visibility": "internal" }, { "body": { - "id": 87, + "id": 384, "nodeType": "Block", - "src": "2213:141:0", + "src": "2213:141:1", "statements": [ { "expression": { @@ -5556,7 +5556,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 83, + "id": 380, "isConstant": false, "isLValue": false, "isPure": false, @@ -5567,7 +5567,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 76, + "id": 373, "isConstant": false, "isLValue": false, "isPure": false, @@ -5576,18 +5576,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 73, + "id": 370, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "2246:3:0", + "referencedDeclaration": 1222, + "src": "2246:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 74, + "id": 371, "isConstant": false, "isLValue": false, "isPure": false, @@ -5595,7 +5595,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2246:10:0", + "src": "2246:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5605,18 +5605,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 75, + "id": 372, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 42, - "src": "2260:9:0", + "referencedDeclaration": 339, + "src": "2260:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2246:23:0", + "src": "2246:23:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5630,7 +5630,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 82, + "id": 379, "isConstant": false, "isLValue": false, "isPure": false, @@ -5639,18 +5639,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 77, + "id": 374, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "2286:3:0", + "referencedDeclaration": 1222, + "src": "2286:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 78, + "id": 375, "isConstant": false, "isLValue": false, "isPure": false, @@ -5658,7 +5658,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2286:10:0", + "src": "2286:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5673,32 +5673,32 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 79, + "id": 376, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 40, - "src": "2300:15:0", + "referencedDeclaration": 337, + "src": "2300:15:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 80, + "id": 377, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 412, - "src": "2300:21:0", + "referencedDeclaration": 709, + "src": "2300:21:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", "typeString": "function () view external returns (address)" } }, - "id": 81, + "id": 378, "isConstant": false, "isLValue": false, "isPure": false, @@ -5706,19 +5706,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2300:23:0", + "src": "2300:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2286:37:0", + "src": "2286:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "2246:77:0", + "src": "2246:77:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5732,21 +5732,21 @@ "typeString": "bool" } ], - "id": 72, + "id": 369, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "2224:7:0", + "referencedDeclaration": 1225, + "src": "2224:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 84, + "id": 381, "isConstant": false, "isLValue": false, "isPure": false, @@ -5754,41 +5754,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2224:110:0", + "src": "2224:110:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 85, + "id": 382, "nodeType": "ExpressionStatement", - "src": "2224:110:0" + "src": "2224:110:1" }, { - "id": 86, + "id": 383, "nodeType": "PlaceholderStatement", - "src": "2345:1:0" + "src": "2345:1:1" } ] }, "documentation": null, - "id": 88, + "id": 385, "name": "isEmployerOrApplicant", "nodeType": "ModifierDefinition", "parameters": { - "id": 71, + "id": 368, "nodeType": "ParameterList", "parameters": [], - "src": "2210:2:0" + "src": "2210:2:1" }, - "src": "2180:174:0", + "src": "2180:174:1", "visibility": "internal" }, { "body": { - "id": 100, + "id": 397, "nodeType": "Block", - "src": "2394:57:0", + "src": "2394:57:1", "statements": [ { "expression": { @@ -5797,10 +5797,10 @@ { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, - "id": 96, + "id": 393, "isConstant": false, "isLValue": false, "isPure": false, @@ -5810,18 +5810,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 93, + "id": 390, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 157, - "src": "2413:5:0", + "referencedDeclaration": 454, + "src": "2413:5:1", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 94, + "id": 391, "isConstant": false, "isLValue": false, "isPure": false, @@ -5829,9 +5829,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2413:7:0", + "src": "2413:7:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -5839,18 +5839,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 95, + "id": 392, "name": "_stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 90, - "src": "2424:6:0", + "referencedDeclaration": 387, + "src": "2424:6:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "2413:17:0", + "src": "2413:17:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5864,21 +5864,21 @@ "typeString": "bool" } ], - "id": 92, + "id": 389, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "2405:7:0", + "referencedDeclaration": 1225, + "src": "2405:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 97, + "id": 394, "isConstant": false, "isLValue": false, "isPure": false, @@ -5886,53 +5886,53 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2405:26:0", + "src": "2405:26:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 98, + "id": 395, "nodeType": "ExpressionStatement", - "src": "2405:26:0" + "src": "2405:26:1" }, { - "id": 99, + "id": 396, "nodeType": "PlaceholderStatement", - "src": "2442:1:0" + "src": "2442:1:1" } ] }, "documentation": null, - "id": 101, + "id": 398, "name": "atStage", "nodeType": "ModifierDefinition", "parameters": { - "id": 91, + "id": 388, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 90, + "id": 387, "name": "_stage", "nodeType": "VariableDeclaration", - "scope": 101, - "src": "2379:13:0", + "scope": 398, + "src": "2379:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 89, + "id": 386, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 31, - "src": "2379:6:0", + "referencedDeclaration": 328, + "src": "2379:6:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -5940,33 +5940,33 @@ "visibility": "internal" } ], - "src": "2378:15:0" + "src": "2378:15:1" }, - "src": "2362:89:0", + "src": "2362:89:1", "visibility": "internal" }, { "body": { - "id": 126, + "id": 423, "nodeType": "Block", - "src": "2605:177:0", + "src": "2605:177:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 110, + "id": 407, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 108, + "id": 405, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 42, - "src": "2616:9:0", + "referencedDeclaration": 339, + "src": "2616:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5976,45 +5976,45 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 109, + "id": 406, "name": "_applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 105, - "src": "2628:10:0", + "referencedDeclaration": 402, + "src": "2628:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2616:22:0", + "src": "2616:22:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 111, + "id": 408, "nodeType": "ExpressionStatement", - "src": "2616:22:0" + "src": "2616:22:1" }, { "expression": { "argumentTypes": null, - "id": 116, + "id": 413, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 112, + "id": 409, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 40, - "src": "2649:15:0", + "referencedDeclaration": 337, + "src": "2649:15:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -6025,12 +6025,12 @@ "arguments": [ { "argumentTypes": null, - "id": 114, + "id": 411, "name": "_listingContractAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 103, - "src": "2675:23:0", + "referencedDeclaration": 400, + "src": "2675:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6044,18 +6044,18 @@ "typeString": "address" } ], - "id": 113, + "id": 410, "name": "Listing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 605, - "src": "2667:7:0", + "referencedDeclaration": 902, + "src": "2667:7:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Listing_$605_$", + "typeIdentifier": "t_type$_t_contract$_Listing_$902_$", "typeString": "type(contract Listing)" } }, - "id": 115, + "id": 412, "isConstant": false, "isLValue": false, "isPure": false, @@ -6063,38 +6063,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2667:32:0", + "src": "2667:32:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "src": "2649:50:0", + "src": "2649:50:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 117, + "id": 414, "nodeType": "ExpressionStatement", - "src": "2649:50:0" + "src": "2649:50:1" }, { "expression": { "argumentTypes": null, - "id": 120, + "id": 417, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 118, + "id": 415, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 44, - "src": "2710:7:0", + "referencedDeclaration": 341, + "src": "2710:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6104,26 +6104,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 119, + "id": 416, "name": "now", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 870, - "src": "2720:3:0", + "referencedDeclaration": 1224, + "src": "2720:3:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2710:13:0", + "src": "2710:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 121, + "id": 418, "nodeType": "ExpressionStatement", - "src": "2710:13:0" + "src": "2710:13:1" }, { "eventCall": { @@ -6131,14 +6131,14 @@ "arguments": [ { "argumentTypes": null, - "id": 123, + "id": 420, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "2760:13:0", + "referencedDeclaration": 335, + "src": "2760:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -6146,22 +6146,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 122, + "id": 419, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "2739:20:0", + "referencedDeclaration": 303, + "src": "2739:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 124, + "id": 421, "isConstant": false, "isLValue": false, "isPure": false, @@ -6169,20 +6169,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2739:35:0", + "src": "2739:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 125, + "id": 422, "nodeType": "EmitStatement", - "src": "2734:40:0" + "src": "2734:40:1" } ] }, "documentation": null, - "id": 127, + "id": 424, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -6190,16 +6190,16 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 106, + "id": 403, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 103, + "id": 400, "name": "_listingContractAddress", "nodeType": "VariableDeclaration", - "scope": 127, - "src": "2522:31:0", + "scope": 424, + "src": "2522:31:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6207,10 +6207,10 @@ "typeString": "address" }, "typeName": { - "id": 102, + "id": 399, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2522:7:0", + "src": "2522:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6221,11 +6221,11 @@ }, { "constant": false, - "id": 105, + "id": 402, "name": "_applicant", "nodeType": "VariableDeclaration", - "scope": 127, - "src": "2562:18:0", + "scope": 424, + "src": "2562:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6233,10 +6233,10 @@ "typeString": "address" }, "typeName": { - "id": 104, + "id": 401, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2562:7:0", + "src": "2562:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6246,26 +6246,26 @@ "visibility": "internal" } ], - "src": "2513:74:0" + "src": "2513:74:1" }, "payable": false, "returnParameters": { - "id": 107, + "id": 404, "nodeType": "ParameterList", "parameters": [], - "src": "2605:0:0" + "src": "2605:0:1" }, - "scope": 377, - "src": "2501:281:0", + "scope": 674, + "src": "2501:281:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 148, + "id": 445, "nodeType": "Block", - "src": "2941:90:0", + "src": "2941:90:1", "statements": [ { "expression": { @@ -6276,18 +6276,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 140, + "id": 437, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 157, - "src": "2960:5:0", + "referencedDeclaration": 454, + "src": "2960:5:1", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 141, + "id": 438, "isConstant": false, "isLValue": false, "isPure": false, @@ -6295,33 +6295,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2960:7:0", + "src": "2960:7:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, { "argumentTypes": null, - "id": 142, + "id": 439, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 40, - "src": "2969:15:0", + "referencedDeclaration": 337, + "src": "2969:15:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, { "argumentTypes": null, - "id": 143, + "id": 440, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 42, - "src": "2986:9:0", + "referencedDeclaration": 339, + "src": "2986:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6329,12 +6329,12 @@ }, { "argumentTypes": null, - "id": 144, + "id": 441, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 44, - "src": "2997:7:0", + "referencedDeclaration": 341, + "src": "2997:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6342,40 +6342,40 @@ }, { "argumentTypes": null, - "id": 145, + "id": 442, "name": "_applicantTimout", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 138, - "src": "3006:16:0", + "referencedDeclaration": 435, + "src": "3006:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 146, + "id": 443, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2959:64:0", + "src": "2959:64:1", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_enum$_Stages_$31_$_t_contract$_Listing_$605_$_t_address_$_t_uint256_$_t_uint256_$", + "typeIdentifier": "t_tuple$_t_enum$_Stages_$328_$_t_contract$_Listing_$902_$_t_address_$_t_uint256_$_t_uint256_$", "typeString": "tuple(enum JobApplicant.Stages,contract Listing,address,uint256,uint256)" } }, - "functionReturnParameters": 139, - "id": 147, + "functionReturnParameters": 436, + "id": 444, "nodeType": "Return", - "src": "2952:71:0" + "src": "2952:71:1" } ] }, "documentation": null, - "id": 149, + "id": 446, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -6383,38 +6383,38 @@ "name": "data", "nodeType": "FunctionDefinition", "parameters": { - "id": 128, + "id": 425, "nodeType": "ParameterList", "parameters": [], - "src": "2803:2:0" + "src": "2803:2:1" }, "payable": false, "returnParameters": { - "id": 139, + "id": 436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 130, + "id": 427, "name": "_stage", "nodeType": "VariableDeclaration", - "scope": 149, - "src": "2842:13:0", + "scope": 446, + "src": "2842:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 129, + "id": 426, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 31, - "src": "2842:6:0", + "referencedDeclaration": 328, + "src": "2842:6:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -6423,26 +6423,26 @@ }, { "constant": false, - "id": 132, + "id": 429, "name": "_listingContract", "nodeType": "VariableDeclaration", - "scope": 149, - "src": "2857:24:0", + "scope": 446, + "src": "2857:24:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 131, + "id": 428, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "2857:7:0", + "referencedDeclaration": 902, + "src": "2857:7:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -6451,11 +6451,11 @@ }, { "constant": false, - "id": 134, + "id": 431, "name": "_applicant", "nodeType": "VariableDeclaration", - "scope": 149, - "src": "2883:18:0", + "scope": 446, + "src": "2883:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6463,10 +6463,10 @@ "typeString": "address" }, "typeName": { - "id": 133, + "id": 430, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2883:7:0", + "src": "2883:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6477,11 +6477,11 @@ }, { "constant": false, - "id": 136, + "id": 433, "name": "_created", "nodeType": "VariableDeclaration", - "scope": 149, - "src": "2903:13:0", + "scope": 446, + "src": "2903:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6489,10 +6489,10 @@ "typeString": "uint256" }, "typeName": { - "id": 135, + "id": 432, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2903:4:0", + "src": "2903:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6503,11 +6503,11 @@ }, { "constant": false, - "id": 138, + "id": 435, "name": "_applicantTimout", "nodeType": "VariableDeclaration", - "scope": 149, - "src": "2918:21:0", + "scope": 446, + "src": "2918:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6515,10 +6515,10 @@ "typeString": "uint256" }, "typeName": { - "id": 137, + "id": 434, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2918:4:0", + "src": "2918:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6528,43 +6528,43 @@ "visibility": "internal" } ], - "src": "2841:99:0" + "src": "2841:99:1" }, - "scope": 377, - "src": "2790:241:0", + "scope": 674, + "src": "2790:241:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 156, + "id": 453, "nodeType": "Block", - "src": "3432:39:0", + "src": "3432:39:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 154, + "id": 451, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "3450:13:0", + "referencedDeclaration": 335, + "src": "3450:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "functionReturnParameters": 153, - "id": 155, + "functionReturnParameters": 450, + "id": 452, "nodeType": "Return", - "src": "3443:20:0" + "src": "3443:20:1" } ] }, "documentation": "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 157, + "id": 454, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -6572,38 +6572,38 @@ "name": "stage", "nodeType": "FunctionDefinition", "parameters": { - "id": 150, + "id": 447, "nodeType": "ParameterList", "parameters": [], - "src": "3373:2:0" + "src": "3373:2:1" }, "payable": false, "returnParameters": { - "id": 153, + "id": 450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 152, + "id": 449, "name": "_stage", "nodeType": "VariableDeclaration", - "scope": 157, - "src": "3412:13:0", + "scope": 454, + "src": "3412:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 151, + "id": 448, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 31, - "src": "3412:6:0", + "referencedDeclaration": 328, + "src": "3412:6:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -6611,19 +6611,19 @@ "visibility": "internal" } ], - "src": "3411:15:0" + "src": "3411:15:1" }, - "scope": 377, - "src": "3359:112:0", + "scope": 674, + "src": "3359:112:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 185, + "id": 482, "nodeType": "Block", - "src": "3814:286:0", + "src": "3814:286:1", "statements": [ { "expression": { @@ -6635,7 +6635,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 173, + "id": 470, "isConstant": false, "isLValue": false, "isPure": false, @@ -6643,10 +6643,10 @@ "leftExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, - "id": 167, + "id": 464, "isConstant": false, "isLValue": false, "isPure": false, @@ -6656,18 +6656,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 163, + "id": 460, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 157, - "src": "3884:5:0", + "referencedDeclaration": 454, + "src": "3884:5:1", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 164, + "id": 461, "isConstant": false, "isLValue": false, "isPure": false, @@ -6675,9 +6675,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3884:7:0", + "src": "3884:7:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -6687,18 +6687,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 165, + "id": 462, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "3895:6:0", + "referencedDeclaration": 328, + "src": "3895:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 166, + "id": 463, "isConstant": false, "isLValue": false, "isPure": true, @@ -6706,13 +6706,13 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3895:25:0", + "src": "3895:25:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "3884:36:0", + "src": "3884:36:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6723,10 +6723,10 @@ "rightExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" }, - "id": 172, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -6736,18 +6736,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 168, + "id": 465, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 157, - "src": "3937:5:0", + "referencedDeclaration": 454, + "src": "3937:5:1", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 169, + "id": 466, "isConstant": false, "isLValue": false, "isPure": false, @@ -6755,9 +6755,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3937:7:0", + "src": "3937:7:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -6767,18 +6767,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 170, + "id": 467, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "3948:6:0", + "referencedDeclaration": 328, + "src": "3948:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 171, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, @@ -6786,19 +6786,19 @@ "memberName": "AWAITING_JOBOFFER", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3948:24:0", + "src": "3948:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "3937:35:0", + "src": "3937:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3884:88:0", + "src": "3884:88:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6812,21 +6812,21 @@ "typeString": "bool" } ], - "id": 162, + "id": 459, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "3862:7:0", + "referencedDeclaration": 1225, + "src": "3862:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 174, + "id": 471, "isConstant": false, "isLValue": false, "isPure": false, @@ -6834,34 +6834,34 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3862:121:0", + "src": "3862:121:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 175, + "id": 472, "nodeType": "ExpressionStatement", - "src": "3862:121:0" + "src": "3862:121:1" }, { "expression": { "argumentTypes": null, - "id": 179, + "id": 476, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 176, + "id": 473, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "3998:13:0", + "referencedDeclaration": 335, + "src": "3998:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -6871,18 +6871,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 177, + "id": 474, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "4014:6:0", + "referencedDeclaration": 328, + "src": "4014:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 178, + "id": 475, "isConstant": false, "isLValue": false, "isPure": true, @@ -6890,21 +6890,21 @@ "memberName": "CANCEL_APPLICATION", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4014:25:0", + "src": "4014:25:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "3998:41:0", + "src": "3998:41:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 180, + "id": 477, "nodeType": "ExpressionStatement", - "src": "3998:41:0" + "src": "3998:41:1" }, { "eventCall": { @@ -6912,14 +6912,14 @@ "arguments": [ { "argumentTypes": null, - "id": 182, + "id": 479, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "4076:13:0", + "referencedDeclaration": 335, + "src": "4076:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -6927,22 +6927,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 181, + "id": 478, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "4055:20:0", + "referencedDeclaration": 303, + "src": "4055:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 183, + "id": 480, "isConstant": false, "isLValue": false, "isPure": false, @@ -6950,89 +6950,89 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4055:35:0", + "src": "4055:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 184, + "id": 481, "nodeType": "EmitStatement", - "src": "4050:40:0" + "src": "4050:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 186, + "id": 483, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 160, + "id": 457, "modifierName": { "argumentTypes": null, - "id": 159, + "id": 456, "name": "isApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "3797:11:0", + "referencedDeclaration": 367, + "src": "3797:11:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "3797:11:0" + "src": "3797:11:1" } ], "name": "cancelApplication", "nodeType": "FunctionDefinition", "parameters": { - "id": 158, + "id": 455, "nodeType": "ParameterList", "parameters": [], - "src": "3777:2:0" + "src": "3777:2:1" }, "payable": false, "returnParameters": { - "id": 161, + "id": 458, "nodeType": "ParameterList", "parameters": [], - "src": "3814:0:0" + "src": "3814:0:1" }, - "scope": 377, - "src": "3751:349:0", + "scope": 674, + "src": "3751:349:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 204, + "id": 501, "nodeType": "Block", - "src": "4479:110:0", + "src": "4479:110:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 198, + "id": 495, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 195, + "id": 492, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "4490:13:0", + "referencedDeclaration": 335, + "src": "4490:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -7042,18 +7042,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 196, + "id": 493, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "4506:6:0", + "referencedDeclaration": 328, + "src": "4506:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 197, + "id": 494, "isConstant": false, "isLValue": false, "isPure": true, @@ -7061,21 +7061,21 @@ "memberName": "INTERVIEW_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4506:24:0", + "src": "4506:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "4490:40:0", + "src": "4490:40:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 199, + "id": 496, "nodeType": "ExpressionStatement", - "src": "4490:40:0" + "src": "4490:40:1" }, { "eventCall": { @@ -7083,14 +7083,14 @@ "arguments": [ { "argumentTypes": null, - "id": 201, + "id": 498, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "4567:13:0", + "referencedDeclaration": 335, + "src": "4567:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -7098,22 +7098,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 200, + "id": 497, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "4546:20:0", + "referencedDeclaration": 303, + "src": "4546:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 202, + "id": 499, "isConstant": false, "isLValue": false, "isPure": false, @@ -7121,42 +7121,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4546:35:0", + "src": "4546:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 203, + "id": 500, "nodeType": "EmitStatement", - "src": "4541:40:0" + "src": "4541:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 205, + "id": 502, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 189, + "id": 486, "modifierName": { "argumentTypes": null, - "id": 188, + "id": 485, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "4423:10:0", + "referencedDeclaration": 356, + "src": "4423:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "4423:10:0" + "src": "4423:10:1" }, { "arguments": [ @@ -7164,18 +7164,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 191, + "id": 488, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "4447:6:0", + "referencedDeclaration": 328, + "src": "4447:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 192, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, @@ -7183,76 +7183,76 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4447:25:0", + "src": "4447:25:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 193, + "id": 490, "modifierName": { "argumentTypes": null, - "id": 190, + "id": 487, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "4439:7:0", + "referencedDeclaration": 398, + "src": "4439:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "4439:34:0" + "src": "4439:34:1" } ], "name": "callForInterview", "nodeType": "FunctionDefinition", "parameters": { - "id": 187, + "id": 484, "nodeType": "ParameterList", "parameters": [], - "src": "4403:2:0" + "src": "4403:2:1" }, "payable": false, "returnParameters": { - "id": 194, + "id": 491, "nodeType": "ParameterList", "parameters": [], - "src": "4479:0:0" + "src": "4479:0:1" }, - "scope": 377, - "src": "4378:211:0", + "scope": 674, + "src": "4378:211:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 223, + "id": 520, "nodeType": "Block", - "src": "4956:113:0", + "src": "4956:113:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 217, + "id": 514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 214, + "id": 511, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "4967:13:0", + "referencedDeclaration": 335, + "src": "4967:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -7262,18 +7262,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 215, + "id": 512, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "4983:6:0", + "referencedDeclaration": 328, + "src": "4983:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 216, + "id": 513, "isConstant": false, "isLValue": false, "isPure": true, @@ -7281,21 +7281,21 @@ "memberName": "APPLICATION_REJECTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4983:27:0", + "src": "4983:27:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "4967:43:0", + "src": "4967:43:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 218, + "id": 515, "nodeType": "ExpressionStatement", - "src": "4967:43:0" + "src": "4967:43:1" }, { "eventCall": { @@ -7303,14 +7303,14 @@ "arguments": [ { "argumentTypes": null, - "id": 220, + "id": 517, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "5047:13:0", + "referencedDeclaration": 335, + "src": "5047:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -7318,22 +7318,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 219, + "id": 516, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "5026:20:0", + "referencedDeclaration": 303, + "src": "5026:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 221, + "id": 518, "isConstant": false, "isLValue": false, "isPure": false, @@ -7341,42 +7341,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5026:35:0", + "src": "5026:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 222, + "id": 519, "nodeType": "EmitStatement", - "src": "5021:40:0" + "src": "5021:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 224, + "id": 521, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 208, + "id": 505, "modifierName": { "argumentTypes": null, - "id": 207, + "id": 504, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "4900:10:0", + "referencedDeclaration": 356, + "src": "4900:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "4900:10:0" + "src": "4900:10:1" }, { "arguments": [ @@ -7384,18 +7384,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 210, + "id": 507, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "4924:6:0", + "referencedDeclaration": 328, + "src": "4924:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 211, + "id": 508, "isConstant": false, "isLValue": false, "isPure": true, @@ -7403,76 +7403,76 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4924:25:0", + "src": "4924:25:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 212, + "id": 509, "modifierName": { "argumentTypes": null, - "id": 209, + "id": 506, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "4916:7:0", + "referencedDeclaration": 398, + "src": "4916:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "4916:34:0" + "src": "4916:34:1" } ], "name": "rejectApplication", "nodeType": "FunctionDefinition", "parameters": { - "id": 206, + "id": 503, "nodeType": "ParameterList", "parameters": [], - "src": "4880:2:0" + "src": "4880:2:1" }, "payable": false, "returnParameters": { - "id": 213, + "id": 510, "nodeType": "ParameterList", "parameters": [], - "src": "4956:0:0" + "src": "4956:0:1" }, - "scope": 377, - "src": "4854:215:0", + "scope": 674, + "src": "4854:215:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 242, + "id": 539, "nodeType": "Block", - "src": "5433:110:0", + "src": "5433:110:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 236, + "id": 533, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 233, + "id": 530, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "5444:13:0", + "referencedDeclaration": 335, + "src": "5444:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -7482,18 +7482,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 234, + "id": 531, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "5460:6:0", + "referencedDeclaration": 328, + "src": "5460:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 235, + "id": 532, "isConstant": false, "isLValue": false, "isPure": true, @@ -7501,21 +7501,21 @@ "memberName": "AWAITING_JOBOFFER", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5460:24:0", + "src": "5460:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "5444:40:0", + "src": "5444:40:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 237, + "id": 534, "nodeType": "ExpressionStatement", - "src": "5444:40:0" + "src": "5444:40:1" }, { "eventCall": { @@ -7523,14 +7523,14 @@ "arguments": [ { "argumentTypes": null, - "id": 239, + "id": 536, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "5521:13:0", + "referencedDeclaration": 335, + "src": "5521:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -7538,22 +7538,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 238, + "id": 535, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "5500:20:0", + "referencedDeclaration": 303, + "src": "5500:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 240, + "id": 537, "isConstant": false, "isLValue": false, "isPure": false, @@ -7561,42 +7561,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5500:35:0", + "src": "5500:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 241, + "id": 538, "nodeType": "EmitStatement", - "src": "5495:40:0" + "src": "5495:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 243, + "id": 540, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 227, + "id": 524, "modifierName": { "argumentTypes": null, - "id": 226, + "id": 523, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "5378:10:0", + "referencedDeclaration": 356, + "src": "5378:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5378:10:0" + "src": "5378:10:1" }, { "arguments": [ @@ -7604,18 +7604,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 229, + "id": 526, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "5402:6:0", + "referencedDeclaration": 328, + "src": "5402:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 230, + "id": 527, "isConstant": false, "isLValue": false, "isPure": true, @@ -7623,76 +7623,76 @@ "memberName": "INTERVIEW_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5402:24:0", + "src": "5402:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 231, + "id": 528, "modifierName": { "argumentTypes": null, - "id": 228, + "id": 525, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "5394:7:0", + "referencedDeclaration": 398, + "src": "5394:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "5394:33:0" + "src": "5394:33:1" } ], "name": "interviewSuccessful", "nodeType": "FunctionDefinition", "parameters": { - "id": 225, + "id": 522, "nodeType": "ParameterList", "parameters": [], - "src": "5358:2:0" + "src": "5358:2:1" }, "payable": false, "returnParameters": { - "id": 232, + "id": 529, "nodeType": "ParameterList", "parameters": [], - "src": "5433:0:0" + "src": "5433:0:1" }, - "scope": 377, - "src": "5330:213:0", + "scope": 674, + "src": "5330:213:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 261, + "id": 558, "nodeType": "Block", - "src": "5921:115:0", + "src": "5921:115:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 255, + "id": 552, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 252, + "id": 549, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "5932:13:0", + "referencedDeclaration": 335, + "src": "5932:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -7702,18 +7702,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 253, + "id": 550, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "5948:6:0", + "referencedDeclaration": 328, + "src": "5948:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 254, + "id": 551, "isConstant": false, "isLValue": false, "isPure": true, @@ -7721,21 +7721,21 @@ "memberName": "INTERVIEW_NOT_SELECTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5948:29:0", + "src": "5948:29:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "5932:45:0", + "src": "5932:45:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 256, + "id": 553, "nodeType": "ExpressionStatement", - "src": "5932:45:0" + "src": "5932:45:1" }, { "eventCall": { @@ -7743,14 +7743,14 @@ "arguments": [ { "argumentTypes": null, - "id": 258, + "id": 555, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "6014:13:0", + "referencedDeclaration": 335, + "src": "6014:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -7758,22 +7758,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 257, + "id": 554, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "5993:20:0", + "referencedDeclaration": 303, + "src": "5993:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 259, + "id": 556, "isConstant": false, "isLValue": false, "isPure": false, @@ -7781,42 +7781,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5993:35:0", + "src": "5993:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 260, + "id": 557, "nodeType": "EmitStatement", - "src": "5988:40:0" + "src": "5988:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 262, + "id": 559, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 246, + "id": 543, "modifierName": { "argumentTypes": null, - "id": 245, + "id": 542, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "5866:10:0", + "referencedDeclaration": 356, + "src": "5866:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5866:10:0" + "src": "5866:10:1" }, { "arguments": [ @@ -7824,18 +7824,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 248, + "id": 545, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "5890:6:0", + "referencedDeclaration": 328, + "src": "5890:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 249, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, @@ -7843,76 +7843,76 @@ "memberName": "INTERVIEW_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5890:24:0", + "src": "5890:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 250, + "id": 547, "modifierName": { "argumentTypes": null, - "id": 247, + "id": 544, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "5882:7:0", + "referencedDeclaration": 398, + "src": "5882:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "5882:33:0" + "src": "5882:33:1" } ], "name": "interviewNotSelected", "nodeType": "FunctionDefinition", "parameters": { - "id": 244, + "id": 541, "nodeType": "ParameterList", "parameters": [], - "src": "5846:2:0" + "src": "5846:2:1" }, "payable": false, "returnParameters": { - "id": 251, + "id": 548, "nodeType": "ParameterList", "parameters": [], - "src": "5921:0:0" + "src": "5921:0:1" }, - "scope": 377, - "src": "5817:219:0", + "scope": 674, + "src": "5817:219:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 280, + "id": 577, "nodeType": "Block", - "src": "6380:109:0", + "src": "6380:109:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 274, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 271, + "id": 568, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "6391:13:0", + "referencedDeclaration": 335, + "src": "6391:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -7922,18 +7922,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 272, + "id": 569, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "6407:6:0", + "referencedDeclaration": 328, + "src": "6407:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 273, + "id": 570, "isConstant": false, "isLValue": false, "isPure": true, @@ -7941,21 +7941,21 @@ "memberName": "JOBOFFER_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6407:23:0", + "src": "6407:23:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "6391:39:0", + "src": "6391:39:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 275, + "id": 572, "nodeType": "ExpressionStatement", - "src": "6391:39:0" + "src": "6391:39:1" }, { "eventCall": { @@ -7963,14 +7963,14 @@ "arguments": [ { "argumentTypes": null, - "id": 277, + "id": 574, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "6467:13:0", + "referencedDeclaration": 335, + "src": "6467:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -7978,22 +7978,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 276, + "id": 573, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "6446:20:0", + "referencedDeclaration": 303, + "src": "6446:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 278, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, @@ -8001,42 +8001,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6446:35:0", + "src": "6446:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 279, + "id": 576, "nodeType": "EmitStatement", - "src": "6441:40:0" + "src": "6441:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 281, + "id": 578, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 265, + "id": 562, "modifierName": { "argumentTypes": null, - "id": 264, + "id": 561, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "6325:10:0", + "referencedDeclaration": 356, + "src": "6325:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6325:10:0" + "src": "6325:10:1" }, { "arguments": [ @@ -8044,18 +8044,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 267, + "id": 564, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "6349:6:0", + "referencedDeclaration": 328, + "src": "6349:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 268, + "id": 565, "isConstant": false, "isLValue": false, "isPure": true, @@ -8063,76 +8063,76 @@ "memberName": "AWAITING_JOBOFFER", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6349:24:0", + "src": "6349:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 269, + "id": 566, "modifierName": { "argumentTypes": null, - "id": 266, + "id": 563, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "6341:7:0", + "referencedDeclaration": 398, + "src": "6341:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "6341:33:0" + "src": "6341:33:1" } ], "name": "offerJob", "nodeType": "FunctionDefinition", "parameters": { - "id": 263, + "id": 560, "nodeType": "ParameterList", "parameters": [], - "src": "6305:2:0" + "src": "6305:2:1" }, "payable": false, "returnParameters": { - "id": 270, + "id": 567, "nodeType": "ParameterList", "parameters": [], - "src": "6380:0:0" + "src": "6380:0:1" }, - "scope": 377, - "src": "6288:201:0", + "scope": 674, + "src": "6288:201:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 299, + "id": 596, "nodeType": "Block", - "src": "6850:164:0", + "src": "6850:164:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 293, + "id": 590, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 290, + "id": 587, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "6861:13:0", + "referencedDeclaration": 335, + "src": "6861:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -8142,18 +8142,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 291, + "id": 588, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "6877:6:0", + "referencedDeclaration": 328, + "src": "6877:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 292, + "id": 589, "isConstant": false, "isLValue": false, "isPure": true, @@ -8161,21 +8161,21 @@ "memberName": "JOBOFFER_ACCEPTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6877:24:0", + "src": "6877:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "6861:40:0", + "src": "6861:40:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 294, + "id": 591, "nodeType": "ExpressionStatement", - "src": "6861:40:0" + "src": "6861:40:1" }, { "eventCall": { @@ -8183,14 +8183,14 @@ "arguments": [ { "argumentTypes": null, - "id": 296, + "id": 593, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "6992:13:0", + "referencedDeclaration": 335, + "src": "6992:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -8198,22 +8198,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 295, + "id": 592, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "6971:20:0", + "referencedDeclaration": 303, + "src": "6971:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 297, + "id": 594, "isConstant": false, "isLValue": false, "isPure": false, @@ -8221,42 +8221,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6971:35:0", + "src": "6971:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 298, + "id": 595, "nodeType": "EmitStatement", - "src": "6966:40:0" + "src": "6966:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 300, + "id": 597, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 284, + "id": 581, "modifierName": { "argumentTypes": null, - "id": 283, + "id": 580, "name": "isApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "6795:11:0", + "referencedDeclaration": 367, + "src": "6795:11:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6795:11:0" + "src": "6795:11:1" }, { "arguments": [ @@ -8264,18 +8264,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 286, + "id": 583, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "6820:6:0", + "referencedDeclaration": 328, + "src": "6820:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 287, + "id": 584, "isConstant": false, "isLValue": false, "isPure": true, @@ -8283,76 +8283,76 @@ "memberName": "JOBOFFER_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6820:23:0", + "src": "6820:23:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 288, + "id": 585, "modifierName": { "argumentTypes": null, - "id": 285, + "id": 582, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "6812:7:0", + "referencedDeclaration": 398, + "src": "6812:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "6812:32:0" + "src": "6812:32:1" } ], "name": "acceptJobOffer", "nodeType": "FunctionDefinition", "parameters": { - "id": 282, + "id": 579, "nodeType": "ParameterList", "parameters": [], - "src": "6775:2:0" + "src": "6775:2:1" }, "payable": false, "returnParameters": { - "id": 289, + "id": 586, "nodeType": "ParameterList", "parameters": [], - "src": "6850:0:0" + "src": "6850:0:1" }, - "scope": 377, - "src": "6752:262:0", + "scope": 674, + "src": "6752:262:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 318, + "id": 615, "nodeType": "Block", - "src": "7374:114:0", + "src": "7374:114:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 312, + "id": 609, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 309, + "id": 606, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "7385:13:0", + "referencedDeclaration": 335, + "src": "7385:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -8362,18 +8362,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 310, + "id": 607, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "7401:6:0", + "referencedDeclaration": 328, + "src": "7401:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 311, + "id": 608, "isConstant": false, "isLValue": false, "isPure": true, @@ -8381,21 +8381,21 @@ "memberName": "JOBOFFER_NOT_ACCEPTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7401:28:0", + "src": "7401:28:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "7385:44:0", + "src": "7385:44:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 313, + "id": 610, "nodeType": "ExpressionStatement", - "src": "7385:44:0" + "src": "7385:44:1" }, { "eventCall": { @@ -8403,14 +8403,14 @@ "arguments": [ { "argumentTypes": null, - "id": 315, + "id": 612, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "7466:13:0", + "referencedDeclaration": 335, + "src": "7466:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -8418,22 +8418,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 314, + "id": 611, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "7445:20:0", + "referencedDeclaration": 303, + "src": "7445:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 316, + "id": 613, "isConstant": false, "isLValue": false, "isPure": false, @@ -8441,42 +8441,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7445:35:0", + "src": "7445:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 317, + "id": 614, "nodeType": "EmitStatement", - "src": "7440:40:0" + "src": "7440:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 319, + "id": 616, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 303, + "id": 600, "modifierName": { "argumentTypes": null, - "id": 302, + "id": 599, "name": "isApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "7319:11:0", + "referencedDeclaration": 367, + "src": "7319:11:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "7319:11:0" + "src": "7319:11:1" }, { "arguments": [ @@ -8484,18 +8484,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 305, + "id": 602, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "7344:6:0", + "referencedDeclaration": 328, + "src": "7344:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 306, + "id": 603, "isConstant": false, "isLValue": false, "isPure": true, @@ -8503,76 +8503,76 @@ "memberName": "JOBOFFER_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7344:23:0", + "src": "7344:23:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 307, + "id": 604, "modifierName": { "argumentTypes": null, - "id": 304, + "id": 601, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "7336:7:0", + "referencedDeclaration": 398, + "src": "7336:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "7336:32:0" + "src": "7336:32:1" } ], "name": "rejectJobOffer", "nodeType": "FunctionDefinition", "parameters": { - "id": 301, + "id": 598, "nodeType": "ParameterList", "parameters": [], - "src": "7299:2:0" + "src": "7299:2:1" }, "payable": false, "returnParameters": { - "id": 308, + "id": 605, "nodeType": "ParameterList", "parameters": [], - "src": "7374:0:0" + "src": "7374:0:1" }, - "scope": 377, - "src": "7276:212:0", + "scope": 674, + "src": "7276:212:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 337, + "id": 634, "nodeType": "Block", - "src": "7857:164:0", + "src": "7857:164:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 331, + "id": 628, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 328, + "id": 625, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "7868:13:0", + "referencedDeclaration": 335, + "src": "7868:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -8582,18 +8582,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 329, + "id": 626, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "7884:6:0", + "referencedDeclaration": 328, + "src": "7884:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 330, + "id": 627, "isConstant": false, "isLValue": false, "isPure": true, @@ -8601,21 +8601,21 @@ "memberName": "EMPLOYMENT_PERIOD", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7884:24:0", + "src": "7884:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "7868:40:0", + "src": "7868:40:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 332, + "id": 629, "nodeType": "ExpressionStatement", - "src": "7868:40:0" + "src": "7868:40:1" }, { "eventCall": { @@ -8623,14 +8623,14 @@ "arguments": [ { "argumentTypes": null, - "id": 334, + "id": 631, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "7999:13:0", + "referencedDeclaration": 335, + "src": "7999:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -8638,22 +8638,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 333, + "id": 630, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "7978:20:0", + "referencedDeclaration": 303, + "src": "7978:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 335, + "id": 632, "isConstant": false, "isLValue": false, "isPure": false, @@ -8661,42 +8661,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7978:35:0", + "src": "7978:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 336, + "id": 633, "nodeType": "EmitStatement", - "src": "7973:40:0" + "src": "7973:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 338, + "id": 635, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 322, + "id": 619, "modifierName": { "argumentTypes": null, - "id": 321, + "id": 618, "name": "isEmployerOrApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 88, - "src": "7791:21:0", + "referencedDeclaration": 385, + "src": "7791:21:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "7791:21:0" + "src": "7791:21:1" }, { "arguments": [ @@ -8704,18 +8704,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 324, + "id": 621, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "7826:6:0", + "referencedDeclaration": 328, + "src": "7826:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 325, + "id": 622, "isConstant": false, "isLValue": false, "isPure": true, @@ -8723,76 +8723,76 @@ "memberName": "JOBOFFER_ACCEPTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7826:24:0", + "src": "7826:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 326, + "id": 623, "modifierName": { "argumentTypes": null, - "id": 323, + "id": 620, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "7818:7:0", + "referencedDeclaration": 398, + "src": "7818:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "7818:33:0" + "src": "7818:33:1" } ], "name": "startEmployment", "nodeType": "FunctionDefinition", "parameters": { - "id": 320, + "id": 617, "nodeType": "ParameterList", "parameters": [], - "src": "7771:2:0" + "src": "7771:2:1" }, "payable": false, "returnParameters": { - "id": 327, + "id": 624, "nodeType": "ParameterList", "parameters": [], - "src": "7857:0:0" + "src": "7857:0:1" }, - "scope": 377, - "src": "7747:274:0", + "scope": 674, + "src": "7747:274:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 356, + "id": 653, "nodeType": "Block", - "src": "8405:115:0", + "src": "8405:115:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 350, + "id": 647, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 347, + "id": 644, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "8416:13:0", + "referencedDeclaration": 335, + "src": "8416:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -8802,18 +8802,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 348, + "id": 645, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "8432:6:0", + "referencedDeclaration": 328, + "src": "8432:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 349, + "id": 646, "isConstant": false, "isLValue": false, "isPure": true, @@ -8821,21 +8821,21 @@ "memberName": "EMPLOYMENT_TERMINATION", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8432:29:0", + "src": "8432:29:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "8416:45:0", + "src": "8416:45:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 351, + "id": 648, "nodeType": "ExpressionStatement", - "src": "8416:45:0" + "src": "8416:45:1" }, { "eventCall": { @@ -8843,14 +8843,14 @@ "arguments": [ { "argumentTypes": null, - "id": 353, + "id": 650, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "8498:13:0", + "referencedDeclaration": 335, + "src": "8498:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -8858,22 +8858,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 352, + "id": 649, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "8477:20:0", + "referencedDeclaration": 303, + "src": "8477:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 354, + "id": 651, "isConstant": false, "isLValue": false, "isPure": false, @@ -8881,42 +8881,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8477:35:0", + "src": "8477:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 355, + "id": 652, "nodeType": "EmitStatement", - "src": "8472:40:0" + "src": "8472:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 357, + "id": 654, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 341, + "id": 638, "modifierName": { "argumentTypes": null, - "id": 340, + "id": 637, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "8350:10:0", + "referencedDeclaration": 356, + "src": "8350:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8350:10:0" + "src": "8350:10:1" }, { "arguments": [ @@ -8924,18 +8924,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 343, + "id": 640, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "8374:6:0", + "referencedDeclaration": 328, + "src": "8374:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 344, + "id": 641, "isConstant": false, "isLValue": false, "isPure": true, @@ -8943,76 +8943,76 @@ "memberName": "EMPLOYMENT_PERIOD", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8374:24:0", + "src": "8374:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 345, + "id": 642, "modifierName": { "argumentTypes": null, - "id": 342, + "id": 639, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "8366:7:0", + "referencedDeclaration": 398, + "src": "8366:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "8366:33:0" + "src": "8366:33:1" } ], "name": "terminateEmployment", "nodeType": "FunctionDefinition", "parameters": { - "id": 339, + "id": 636, "nodeType": "ParameterList", "parameters": [], - "src": "8330:2:0" + "src": "8330:2:1" }, "payable": false, "returnParameters": { - "id": 346, + "id": 643, "nodeType": "ParameterList", "parameters": [], - "src": "8405:0:0" + "src": "8405:0:1" }, - "scope": 377, - "src": "8302:218:0", + "scope": 674, + "src": "8302:218:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 375, + "id": 672, "nodeType": "Block", - "src": "8930:103:0", + "src": "8930:103:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 369, + "id": 666, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 366, + "id": 663, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "8941:13:0", + "referencedDeclaration": 335, + "src": "8941:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, @@ -9022,18 +9022,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 367, + "id": 664, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "8957:6:0", + "referencedDeclaration": 328, + "src": "8957:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 368, + "id": 665, "isConstant": false, "isLValue": false, "isPure": true, @@ -9041,21 +9041,21 @@ "memberName": "IN_DISPUTE", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8957:17:0", + "src": "8957:17:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "src": "8941:33:0", + "src": "8941:33:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } }, - "id": 370, + "id": 667, "nodeType": "ExpressionStatement", - "src": "8941:33:0" + "src": "8941:33:1" }, { "eventCall": { @@ -9063,14 +9063,14 @@ "arguments": [ { "argumentTypes": null, - "id": 372, + "id": 669, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "9011:13:0", + "referencedDeclaration": 335, + "src": "9011:13:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } @@ -9078,22 +9078,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } ], - "id": 371, + "id": 668, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6, - "src": "8990:20:0", + "referencedDeclaration": 303, + "src": "8990:20:1", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$31_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 373, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -9101,42 +9101,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8990:35:0", + "src": "8990:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 374, + "id": 671, "nodeType": "EmitStatement", - "src": "8985:40:0" + "src": "8985:40:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 376, + "id": 673, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 360, + "id": 657, "modifierName": { "argumentTypes": null, - "id": 359, + "id": 656, "name": "isEmployerOrApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 88, - "src": "8864:21:0", + "referencedDeclaration": 385, + "src": "8864:21:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8864:21:0" + "src": "8864:21:1" }, { "arguments": [ @@ -9144,18 +9144,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 362, + "id": 659, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 31, - "src": "8899:6:0", + "referencedDeclaration": 328, + "src": "8899:6:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 363, + "id": 660, "isConstant": false, "isLValue": false, "isPure": true, @@ -9163,58 +9163,58 @@ "memberName": "EMPLOYMENT_PERIOD", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8899:24:0", + "src": "8899:24:1", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$31", + "typeIdentifier": "t_enum$_Stages_$328", "typeString": "enum JobApplicant.Stages" } } ], - "id": 364, + "id": 661, "modifierName": { "argumentTypes": null, - "id": 361, + "id": 658, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 101, - "src": "8891:7:0", + "referencedDeclaration": 398, + "src": "8891:7:1", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$31_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "8891:33:0" + "src": "8891:33:1" } ], "name": "openDispute", "nodeType": "FunctionDefinition", "parameters": { - "id": 358, + "id": 655, "nodeType": "ParameterList", "parameters": [], - "src": "8844:2:0" + "src": "8844:2:1" }, "payable": false, "returnParameters": { - "id": 365, + "id": 662, "nodeType": "ParameterList", "parameters": [], - "src": "8930:0:0" + "src": "8930:0:1" }, - "scope": 377, - "src": "8824:209:0", + "scope": 674, + "src": "8824:209:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 378, - "src": "144:9008:0" + "scope": 675, + "src": "144:9008:1" } ], - "src": "0:9152:0" + "src": "0:9152:1" }, "compiler": { "name": "solc", @@ -9222,5 +9222,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2018-08-09T15:53:00.317Z" + "updatedAt": "2018-10-08T16:52:52.825Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/JobApplicationLibrary.json b/ethereum/build/contracts/JobApplicationLibrary.json index 61499cb..06b7483 100644 --- a/ethereum/build/contracts/JobApplicationLibrary.json +++ b/ethereum/build/contracts/JobApplicationLibrary.json @@ -25,93 +25,93 @@ "type": "function" } ], - "bytecode": "0x610d95610030600b82828239805160001a6073146000811461002057610022565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600436106100575763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416639038c886811461005c575b600080fd5b81801561006857600080fd5b5061009073ffffffffffffffffffffffffffffffffffffffff600435811690602435166100b9565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600082826100c561010d565b73ffffffffffffffffffffffffffffffffffffffff928316815291166020820152604080519182900301906000f080158015610105573d6000803e3d6000fd5b509392505050565b604051610c4c8061011e83390190560060806040526000805460ff1916905534801561001a57600080fd5b50604051604080610c4c833981016040819052815160209092015160018054600160a060020a031916600160a060020a03808416919091179091556000805461010060a860020a0319166101009286169290920291909117908190554260025590917f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156100af57fe5b60ff16815260200191505060405180910390a15050610b79806100d36000396000f3006080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a723058203fae80c41f742e2b31e63b2b30dce150ef64093459a2b128b2a41f2f9208c7b10029a165627a7a72305820811bacacd2789e41afea3ebaac432683e05b6b2183dcdb57ca52f6c90f26ecc30029", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100575763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416639038c886811461005c575b600080fd5b81801561006857600080fd5b5061009073ffffffffffffffffffffffffffffffffffffffff600435811690602435166100b9565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600082826100c561010d565b73ffffffffffffffffffffffffffffffffffffffff928316815291166020820152604080519182900301906000f080158015610105573d6000803e3d6000fd5b509392505050565b604051610c4c8061011e83390190560060806040526000805460ff1916905534801561001a57600080fd5b50604051604080610c4c833981016040819052815160209092015160018054600160a060020a031916600160a060020a03808416919091179091556000805461010060a860020a0319166101009286169290920291909117908190554260025590917f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156100af57fe5b60ff16815260200191505060405180910390a15050610b79806100d36000396000f3006080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a723058203fae80c41f742e2b31e63b2b30dce150ef64093459a2b128b2a41f2f9208c7b10029a165627a7a72305820811bacacd2789e41afea3ebaac432683e05b6b2183dcdb57ca52f6c90f26ecc30029", - "sourceMap": "183:226:1:-;;132:2:-1;166:7;155:9;146:7;137:37;252:7;246:14;243:1;238:23;232:4;229:33;270:1;265:20;;;;222:63;;265:20;274:9;222:63;;298:9;295:1;288:20;328:4;319:7;311:22;352:7;343;336:24", - "deployedSourceMap": "183:226:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;222:182;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;222:182:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;307:22;376:7;385:10;359:37;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;359:37:1;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;347:49:1;222:182;-1:-1:-1;;;222:182:1:o;183:226::-;;;;;;;;;;:::o", + "bytecode": "0x610d95610030600b82828239805160001a6073146000811461002057610022565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600436106100575763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416639038c886811461005c575b600080fd5b81801561006857600080fd5b5061009073ffffffffffffffffffffffffffffffffffffffff600435811690602435166100b9565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600082826100c561010d565b73ffffffffffffffffffffffffffffffffffffffff928316815291166020820152604080519182900301906000f080158015610105573d6000803e3d6000fd5b509392505050565b604051610c4c8061011e83390190560060806040526000805460ff1916905534801561001a57600080fd5b50604051604080610c4c833981016040819052815160209092015160018054600160a060020a031916600160a060020a03808416919091179091556000805461010060a860020a0319166101009286169290920291909117908190554260025590917f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156100af57fe5b60ff16815260200191505060405180910390a15050610b79806100d36000396000f3006080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a72305820faa1d72b80321aa1bdad74a5214d50841524aa68b680192e621f0e0682c9a7610029a165627a7a723058200a5d823443f43a5952c6863d4c1497dcf5ccdac335cb410b2d95bb5ae436a0370029", + "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100575763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416639038c886811461005c575b600080fd5b81801561006857600080fd5b5061009073ffffffffffffffffffffffffffffffffffffffff600435811690602435166100b9565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600082826100c561010d565b73ffffffffffffffffffffffffffffffffffffffff928316815291166020820152604080519182900301906000f080158015610105573d6000803e3d6000fd5b509392505050565b604051610c4c8061011e83390190560060806040526000805460ff1916905534801561001a57600080fd5b50604051604080610c4c833981016040819052815160209092015160018054600160a060020a031916600160a060020a03808416919091179091556000805461010060a860020a0319166101009286169290920291909117908190554260025590917f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156100af57fe5b60ff16815260200191505060405180910390a15050610b79806100d36000396000f3006080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a72305820faa1d72b80321aa1bdad74a5214d50841524aa68b680192e621f0e0682c9a7610029a165627a7a723058200a5d823443f43a5952c6863d4c1497dcf5ccdac335cb410b2d95bb5ae436a0370029", + "sourceMap": "183:226:2:-;;132:2:-1;166:7;155:9;146:7;137:37;252:7;246:14;243:1;238:23;232:4;229:33;270:1;265:20;;;;222:63;;265:20;274:9;222:63;;298:9;295:1;288:20;328:4;319:7;311:22;352:7;343;336:24", + "deployedSourceMap": "183:226:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;222:182;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;222:182:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;307:22;376:7;385:10;359:37;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;359:37:2;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;347:49:2;222:182;-1:-1:-1;;;222:182:2:o;183:226::-;;;;;;;;;;:::o", "source": "pragma solidity 0.4.24;\r\n\r\n// /// @title JobApplicantLibrary\r\n// /// @dev An collection of helper tools for a JobApplicant\r\n\r\nimport \"./JobApplicant.sol\";\r\nimport \"./Listing.sol\";\r\n\r\nlibrary JobApplicationLibrary {\r\n\r\n function newApplicant(Listing listing, address _applicant)\r\n public\r\n returns (JobApplicant applicant)\r\n {\r\n applicant = new JobApplicant(listing, _applicant);\r\n }\r\n\r\n}\r\n", - "sourcePath": "C:\\i\\HT\\hellonetmarket\\ethereum\\contracts\\JobApplicationLibrary.sol", + "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\JobApplicationLibrary.sol", "ast": { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", "exportedSymbols": { "JobApplicationLibrary": [ - 400 + 697 ] }, - "id": 401, + "id": 698, "nodeType": "SourceUnit", "nodes": [ { - "id": 379, + "id": 676, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:1" + "src": "0:23:2" }, { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicant.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicant.sol", "file": "./JobApplicant.sol", - "id": 380, + "id": 677, "nodeType": "ImportDirective", - "scope": 401, - "sourceUnit": 378, - "src": "126:28:1", + "scope": 698, + "sourceUnit": 675, + "src": "126:28:2", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", "file": "./Listing.sol", - "id": 381, + "id": 678, "nodeType": "ImportDirective", - "scope": 401, - "sourceUnit": 606, - "src": "156:23:1", + "scope": 698, + "sourceUnit": 903, + "src": "156:23:2", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [], "contractDependencies": [ - 377 + 674 ], "contractKind": "library", "documentation": null, "fullyImplemented": true, - "id": 400, + "id": 697, "linearizedBaseContracts": [ - 400 + 697 ], "name": "JobApplicationLibrary", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 398, + "id": 695, "nodeType": "Block", - "src": "336:68:1", + "src": "336:68:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 396, + "id": 693, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 390, + "id": 687, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 388, - "src": "347:9:1", + "referencedDeclaration": 685, + "src": "347:9:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, @@ -122,25 +122,25 @@ "arguments": [ { "argumentTypes": null, - "id": 393, + "id": 690, "name": "listing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 383, - "src": "376:7:1", + "referencedDeclaration": 680, + "src": "376:7:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, { "argumentTypes": null, - "id": 394, + "id": 691, "name": "_applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 385, - "src": "385:10:1", + "referencedDeclaration": 682, + "src": "385:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -150,7 +150,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" }, { @@ -158,31 +158,31 @@ "typeString": "address" } ], - "id": 392, + "id": 689, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "359:16:1", + "src": "359:16:2", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_address_$returns$_t_contract$_JobApplicant_$377_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_address_$returns$_t_contract$_JobApplicant_$674_$", "typeString": "function (address,address) returns (contract JobApplicant)" }, "typeName": { "contractScope": null, - "id": 391, + "id": 688, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "363:12:1", + "referencedDeclaration": 674, + "src": "363:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } } }, - "id": 395, + "id": 692, "isConstant": false, "isLValue": false, "isPure": false, @@ -190,26 +190,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "359:37:1", + "src": "359:37:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, - "src": "347:49:1", + "src": "347:49:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, - "id": 397, + "id": 694, "nodeType": "ExpressionStatement", - "src": "347:49:1" + "src": "347:49:2" } ] }, "documentation": null, - "id": 399, + "id": 696, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -217,31 +217,31 @@ "name": "newApplicant", "nodeType": "FunctionDefinition", "parameters": { - "id": 386, + "id": 683, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 383, + "id": 680, "name": "listing", "nodeType": "VariableDeclaration", - "scope": 399, - "src": "244:15:1", + "scope": 696, + "src": "244:15:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 382, + "id": 679, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "244:7:1", + "referencedDeclaration": 902, + "src": "244:7:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -250,11 +250,11 @@ }, { "constant": false, - "id": 385, + "id": 682, "name": "_applicant", "nodeType": "VariableDeclaration", - "scope": 399, - "src": "261:18:1", + "scope": 696, + "src": "261:18:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -262,10 +262,10 @@ "typeString": "address" }, "typeName": { - "id": 384, + "id": 681, "name": "address", "nodeType": "ElementaryTypeName", - "src": "261:7:1", + "src": "261:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -275,35 +275,35 @@ "visibility": "internal" } ], - "src": "243:37:1" + "src": "243:37:2" }, "payable": false, "returnParameters": { - "id": 389, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 388, + "id": 685, "name": "applicant", "nodeType": "VariableDeclaration", - "scope": 399, - "src": "307:22:1", + "scope": 696, + "src": "307:22:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 387, + "id": 684, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "307:12:1", + "referencedDeclaration": 674, + "src": "307:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, @@ -311,102 +311,102 @@ "visibility": "internal" } ], - "src": "306:24:1" + "src": "306:24:2" }, - "scope": 400, - "src": "222:182:1", + "scope": 697, + "src": "222:182:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 401, - "src": "183:226:1" + "scope": 698, + "src": "183:226:2" } ], - "src": "0:411:1" + "src": "0:411:2" }, "legacyAST": { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", "exportedSymbols": { "JobApplicationLibrary": [ - 400 + 697 ] }, - "id": 401, + "id": 698, "nodeType": "SourceUnit", "nodes": [ { - "id": 379, + "id": 676, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:1" + "src": "0:23:2" }, { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicant.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicant.sol", "file": "./JobApplicant.sol", - "id": 380, + "id": 677, "nodeType": "ImportDirective", - "scope": 401, - "sourceUnit": 378, - "src": "126:28:1", + "scope": 698, + "sourceUnit": 675, + "src": "126:28:2", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", "file": "./Listing.sol", - "id": 381, + "id": 678, "nodeType": "ImportDirective", - "scope": 401, - "sourceUnit": 606, - "src": "156:23:1", + "scope": 698, + "sourceUnit": 903, + "src": "156:23:2", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [], "contractDependencies": [ - 377 + 674 ], "contractKind": "library", "documentation": null, "fullyImplemented": true, - "id": 400, + "id": 697, "linearizedBaseContracts": [ - 400 + 697 ], "name": "JobApplicationLibrary", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 398, + "id": 695, "nodeType": "Block", - "src": "336:68:1", + "src": "336:68:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 396, + "id": 693, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 390, + "id": 687, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 388, - "src": "347:9:1", + "referencedDeclaration": 685, + "src": "347:9:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, @@ -417,25 +417,25 @@ "arguments": [ { "argumentTypes": null, - "id": 393, + "id": 690, "name": "listing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 383, - "src": "376:7:1", + "referencedDeclaration": 680, + "src": "376:7:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, { "argumentTypes": null, - "id": 394, + "id": 691, "name": "_applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 385, - "src": "385:10:1", + "referencedDeclaration": 682, + "src": "385:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -445,7 +445,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" }, { @@ -453,31 +453,31 @@ "typeString": "address" } ], - "id": 392, + "id": 689, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "359:16:1", + "src": "359:16:2", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_address_$returns$_t_contract$_JobApplicant_$377_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_address_$returns$_t_contract$_JobApplicant_$674_$", "typeString": "function (address,address) returns (contract JobApplicant)" }, "typeName": { "contractScope": null, - "id": 391, + "id": 688, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "363:12:1", + "referencedDeclaration": 674, + "src": "363:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } } }, - "id": 395, + "id": 692, "isConstant": false, "isLValue": false, "isPure": false, @@ -485,26 +485,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "359:37:1", + "src": "359:37:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, - "src": "347:49:1", + "src": "347:49:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, - "id": 397, + "id": 694, "nodeType": "ExpressionStatement", - "src": "347:49:1" + "src": "347:49:2" } ] }, "documentation": null, - "id": 399, + "id": 696, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -512,31 +512,31 @@ "name": "newApplicant", "nodeType": "FunctionDefinition", "parameters": { - "id": 386, + "id": 683, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 383, + "id": 680, "name": "listing", "nodeType": "VariableDeclaration", - "scope": 399, - "src": "244:15:1", + "scope": 696, + "src": "244:15:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 382, + "id": 679, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "244:7:1", + "referencedDeclaration": 902, + "src": "244:7:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -545,11 +545,11 @@ }, { "constant": false, - "id": 385, + "id": 682, "name": "_applicant", "nodeType": "VariableDeclaration", - "scope": 399, - "src": "261:18:1", + "scope": 696, + "src": "261:18:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -557,10 +557,10 @@ "typeString": "address" }, "typeName": { - "id": 384, + "id": 681, "name": "address", "nodeType": "ElementaryTypeName", - "src": "261:7:1", + "src": "261:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -570,35 +570,35 @@ "visibility": "internal" } ], - "src": "243:37:1" + "src": "243:37:2" }, "payable": false, "returnParameters": { - "id": 389, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 388, + "id": 685, "name": "applicant", "nodeType": "VariableDeclaration", - "scope": 399, - "src": "307:22:1", + "scope": 696, + "src": "307:22:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 387, + "id": 684, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "307:12:1", + "referencedDeclaration": 674, + "src": "307:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, @@ -606,20 +606,20 @@ "visibility": "internal" } ], - "src": "306:24:1" + "src": "306:24:2" }, - "scope": 400, - "src": "222:182:1", + "scope": 697, + "src": "222:182:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 401, - "src": "183:226:1" + "scope": 698, + "src": "183:226:2" } ], - "src": "0:411:1" + "src": "0:411:2" }, "compiler": { "name": "solc", @@ -637,8 +637,14 @@ "links": {}, "address": "0xf12b5dd4ead5f743c6baa640b0216200e89b60da", "transactionHash": "0x8a27407debcc7157baab60bf9b9473313c9262e767704e608b1e3fb0591325ae" + }, + "1538849010791": { + "events": {}, + "links": {}, + "address": "0x4ef40c4a7fc80cb4bc48a8444b6a741348fc9675", + "transactionHash": "0xb5f92198d89d893d0f5ad378c1c0ac7d8547f43264d786a598fbdbd2193c9f13" } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-08-09T15:53:00.312Z" + "updatedAt": "2018-10-08T16:52:52.832Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/Listing.json b/ethereum/build/contracts/Listing.json index 57d79c4..b34cad6 100644 --- a/ethereum/build/contracts/Listing.json +++ b/ethereum/build/contracts/Listing.json @@ -303,51 +303,51 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b5060405160c08061073a83398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03909516600160a060020a0319958616179055600180549094163317909355600293909355600555600691909155600491909155600355426007819055621275000160085561069d8061009d6000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a7230582090b6420d9e2c03b67c2596da4a5dc977d67715bf13e5e73cf5ea54d8ac6e7df70029", - "deployedBytecode": "0x6080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a7230582090b6420d9e2c03b67c2596da4a5dc977d67715bf13e5e73cf5ea54d8ac6e7df70029", - "sourceMap": "209:5968:2:-;;;1097:825;8:9:-1;5:2;;;30:1;27;20:12;5:2;1097:825:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1548:5;:16;;-1:-1:-1;;;;;1548:16:2;;;-1:-1:-1;;;;;;1548:16:2;;;;;;;1575:29;;;;;1594:10;1575:29;;;;1647:8;:22;;;;1680:12;:29;1720:21;:46;;;;1777:12;:29;;;;1817:12;:29;1869:3;1857:7;:15;;;1907:7;1897:17;1883:10;:31;209:5968;;;;;;", - "deployedSourceMap": "209:5968:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;498:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;498:30:2;;;;;;;;;;;;;;;;;;;;;;;969:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;969:19:2;;;;;;;;;;;;;;;;;;;;5933:133;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5933:133:2;;;;;;4457:152;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4457:152:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4457:152:2;;;;;;;;;;;;;;;;;995:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;995:22:2;;;;929:33;;8:9:-1;5:2;;;30:1;27;20:12;5:2;929:33:2;;;;3188:502;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3188:502:2;;;;3994:130;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3994:130:2;;;;1056:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1056:32:2;;;;;2530:341;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2530:341:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;898:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;898:24:2;;;;471:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;471:20:2;;;;836:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;836:24:2;;;;806:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;806:23:2;;;;4281:168;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4281:168:2;;;;;867:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;867:24:2;;;;498:30;;;;;;:::o;969:19::-;;;;:::o;5933:133::-;2265:5;;;;2251:10;:19;2243:28;;;;;;6026:1;6002:21;:25;;;6043:15;;;;6026:1;6043:15;5933:133::o;4457:152::-;4528:14;4580:10;4560:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4457:152;:::o;995:22::-;;;;:::o;929:33::-;;;;:::o;3188:502::-;3309:10;;3377:22;;3303:3;:16;3295:25;;;;;;3402:52;;;;;;3437:4;3402:52;;;;3443:10;3402:52;;;;;;:21;;:34;;:52;;;;;;;;;;;;;;:21;:52;;;5:2:-1;;;;30:1;27;20:12;5:2;3402:52:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3402:52:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3402:52:2;3467:10;27::-1;;39:1;23:18;;45:23;;-1:-1;3467:26:2;;;;;;;;;;;-1:-1:-1;;3467:26:2;;;;;;;;3626:25;;;;;;;3402:52;;-1:-1:-1;3626:25:2;;;;;;3402:52;3626:25;;;3667:15;;;;;;;3188:502;:::o;3994:130::-;4099:10;:17;3994:130;:::o;1056:32::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1056:32:2;:::o;2530:341::-;2582:14;2761:5;2768:8;;2778:12;;2792:21;;2815:12;;2829;;2843:7;;2852:10;;2761:5;;;;;2530:341;;;;;;;;:::o;898:24::-;;;;:::o;471:20::-;;;;;;:::o;836:24::-;;;;:::o;806:23::-;;;;:::o;4281:168::-;4362:12;4412:10;4423:6;4412:18;;;;;;;;;;;;;;;;;;;;;;;4281:168;-1:-1:-1;;4281:168:2:o;867:24::-;;;;:::o", + "bytecode": "0x608060405234801561001057600080fd5b5060405160c08061073a83398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03909516600160a060020a0319958616179055600180549094163317909355600293909355600555600691909155600491909155600355426007819055621275000160085561069d8061009d6000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a72305820f92ff69f9d4446576b9583f3eed7bbd7d104ab4e90f8f2e8cea9fb8f475f5fc70029", + "deployedBytecode": "0x6080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a72305820f92ff69f9d4446576b9583f3eed7bbd7d104ab4e90f8f2e8cea9fb8f475f5fc70029", + "sourceMap": "209:5968:3:-;;;1097:825;8:9:-1;5:2;;;30:1;27;20:12;5:2;1097:825:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1548:5;:16;;-1:-1:-1;;;;;1548:16:3;;;-1:-1:-1;;;;;;1548:16:3;;;;;;;1575:29;;;;;1594:10;1575:29;;;;1647:8;:22;;;;1680:12;:29;1720:21;:46;;;;1777:12;:29;;;;1817:12;:29;1869:3;1857:7;:15;;;1907:7;1897:17;1883:10;:31;209:5968;;;;;;", + "deployedSourceMap": "209:5968:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;498:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;498:30:3;;;;;;;;;;;;;;;;;;;;;;;969:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;969:19:3;;;;;;;;;;;;;;;;;;;;5933:133;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5933:133:3;;;;;;4457:152;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4457:152:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4457:152:3;;;;;;;;;;;;;;;;;995:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;995:22:3;;;;929:33;;8:9:-1;5:2;;;30:1;27;20:12;5:2;929:33:3;;;;3188:502;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3188:502:3;;;;3994:130;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3994:130:3;;;;1056:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1056:32:3;;;;;2530:341;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2530:341:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;898:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;898:24:3;;;;471:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;471:20:3;;;;836:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;836:24:3;;;;806:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;806:23:3;;;;4281:168;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4281:168:3;;;;;867:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;867:24:3;;;;498:30;;;;;;:::o;969:19::-;;;;:::o;5933:133::-;2265:5;;;;2251:10;:19;2243:28;;;;;;6026:1;6002:21;:25;;;6043:15;;;;6026:1;6043:15;5933:133::o;4457:152::-;4528:14;4580:10;4560:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4457:152;:::o;995:22::-;;;;:::o;929:33::-;;;;:::o;3188:502::-;3309:10;;3377:22;;3303:3;:16;3295:25;;;;;;3402:52;;;;;;3437:4;3402:52;;;;3443:10;3402:52;;;;;;:21;;:34;;:52;;;;;;;;;;;;;;:21;:52;;;5:2:-1;;;;30:1;27;20:12;5:2;3402:52:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3402:52:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3402:52:3;3467:10;27::-1;;39:1;23:18;;45:23;;-1:-1;3467:26:3;;;;;;;;;;;-1:-1:-1;;3467:26:3;;;;;;;;3626:25;;;;;;;3402:52;;-1:-1:-1;3626:25:3;;;;;;3402:52;3626:25;;;3667:15;;;;;;;3188:502;:::o;3994:130::-;4099:10;:17;3994:130;:::o;1056:32::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1056:32:3;:::o;2530:341::-;2582:14;2761:5;2768:8;;2778:12;;2792:21;;2815:12;;2829;;2843:7;;2852:10;;2761:5;;;;;2530:341;;;;;;;;:::o;898:24::-;;;;:::o;471:20::-;;;;;;:::o;836:24::-;;;;:::o;806:23::-;;;;:::o;4281:168::-;4362:12;4412:10;4423:6;4412:18;;;;;;;;;;;;;;;;;;;;;;;4281:168;-1:-1:-1;;4281:168:3:o;867:24::-;;;;:::o", "source": "pragma solidity 0.4.24;\r\n\r\n/// @title Listing\r\n/// @dev To an individual Job Listing, an job applicant can apply and employ can hire\r\n\r\nimport \"./JobApplicant.sol\";\r\nimport \"./JobApplicationLibrary.sol\";\r\n\r\n\r\ncontract Listing {\r\n\r\n /*\r\n * Events\r\n */\r\n\r\n event ListingApplied(JobApplicant _jobApplicantContract);\r\n event ListingChange();\r\n\r\n/*\r\n*\tData Storage\r\n*\t------------\r\n*\tWorkingHours\r\n*\tResourceType\r\n*\tresourceRate\r\n*\ttotalResourceRequired\r\n*/\r\n\r\n address public owner;\r\n address public ListingRegistry; // TODO: Define interface for real ListingRegistry ?\r\n\r\n // Assume IPFS defaults for hash: function:0x12=sha2, size:0x20=256 bits\r\n // See: https://ethereum.stackexchange.com/a/17112/20332\r\n // This assumption may have to change in future, but saves space now\r\n\r\n bytes32 public ipfsHash;\r\n uint public workingHours;\r\n uint public resourceType;\r\n uint public resourceRate;\r\n uint public totalResourceRequired;\r\n uint public created;\r\n uint public expiration;\r\n\r\n // Hire[] public hiring;\r\n JobApplicant[] public applicants;\r\n\r\n constructor (\r\n address _owner,\r\n bytes32 _ipfsHash,\r\n uint _resourceRate,\r\n uint _totalResourceRequired,\r\n uint _resourceType,\r\n uint _workingHours\r\n )\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n//\t\t\tData Structure\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n public\r\n {\r\n owner\t\t\t= _owner;\r\n ListingRegistry\t\t= msg.sender; // ListingRegistry(msg.sender);\r\n ipfsHash\t\t\t= _ipfsHash;\r\n resourceRate\t\t= _resourceRate;\r\n totalResourceRequired\t= _totalResourceRequired;\r\n resourceType\t\t= _resourceType;\r\n workingHours\t\t= _workingHours;\r\n created\t\t\t= now;\r\n expiration\t\t= created + 14 days;\r\n }\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n//\t\t\tCheck whether, modifer is the contract owner of the listing\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n modifier isEmployer() {\r\n require(msg.sender == owner);\r\n _;\r\n }\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n//\t\t\tListing Data\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function data()\r\n public\r\n view\r\n returns (address _owner, bytes32 _ipfsHash, uint _resourceRate, uint _totalResourceRequired, uint _resourceType,uint _workingHours,uint _created, uint _expiration)\r\n {\r\n return (owner, ipfsHash, resourceRate, totalResourceRequired, resourceType, workingHours, created, expiration);\r\n }\r\n\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n /// @dev ApplyToJob()\t\t--> An applicant can apply for a Job Listing\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function applyToJob()\r\n public \r\n {\r\n\r\n // Ensure that we are not past the expiration\r\n require(now < expiration);\r\n\r\n // Create Job Application contract\r\n JobApplicant applicant = JobApplicationLibrary.newApplicant(this, msg.sender);\r\n\r\n applicants.push(applicant);\r\n\r\n // TODO STAN: How to call function *AND* transfer value??\r\n // applicant.pay.value(msg.value)();\r\n\r\n emit ListingApplied(applicant);\r\n emit ListingChange();\r\n }\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n///\t@dev totalJobApplicants(): Return number of applicants for a given Job Listing\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function totalJobApplicants()\r\n public\r\n constant\r\n returns (uint)\r\n {\r\n return applicants.length;\r\n }\r\n\r\n /// @dev getApplicant(): Return Job Application info for a given Job Listing\r\n /// @param _index the index of the Listing we want info about\r\n function getApplicant(uint _index)\r\n public\r\n constant\r\n returns (JobApplicant)\r\n {\r\n return (\r\n applicants[_index]\r\n );\r\n }\r\n\r\n function getApplicants()\r\n public\r\n constant\r\n returns (JobApplicant[])\r\n {\r\n return (\r\n applicants\r\n );\r\n }\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n///\t\t\tHiring Contract Starts\t\t\t\t\t\t\t //\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n// function hireApplicant(uint _agentApply)\r\n// public\r\n// payable\r\n// {\r\n// // Ensure that this is not trying to hire more than required agents\r\n// // require(_agentApply <= totalResourceRequired);\r\n\r\n// // Ensure that we are not past the expiration\r\n// require(now < expiration);\r\n\r\n// // Create Job Application contract\r\n// JobApplicant applicant = JobApplicationLibrary.newApplicant(this, msg.sender);\r\n\r\n// // Count units as sold\r\n// //totalResourceRequired -= _agentApply;\r\n\r\n// applicants.push(applicant);\r\n\r\n// // TODO STAN: How to call function *AND* transfer value??\r\n// // applicant.pay.value(msg.value)();\r\n\r\n// emit ListingApplied(applicant);\r\n// emit ListingChange();\r\n// }\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n /// @dev close(): Allows an employer to close the Job Listing from further applicants\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function close()\r\n public\r\n isEmployer\r\n {\r\n totalResourceRequired = 0;\r\n emit ListingChange();\r\n }\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n}\r\n\r\n\r\n\r\n\r\n", - "sourcePath": "C:\\i\\HT\\hellonetmarket\\ethereum\\contracts\\Listing.sol", + "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\Listing.sol", "ast": { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", "exportedSymbols": { "Listing": [ - 605 + 902 ] }, - "id": 606, + "id": 903, "nodeType": "SourceUnit", "nodes": [ { - "id": 402, + "id": 699, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:2" + "src": "0:23:3" }, { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicant.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicant.sol", "file": "./JobApplicant.sol", - "id": 403, + "id": 700, "nodeType": "ImportDirective", - "scope": 606, - "sourceUnit": 378, - "src": "136:28:2", + "scope": 903, + "sourceUnit": 675, + "src": "136:28:3", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", "file": "./JobApplicationLibrary.sol", - "id": 404, + "id": 701, "nodeType": "ImportDirective", - "scope": 606, - "sourceUnit": 401, - "src": "166:37:2", + "scope": 903, + "sourceUnit": 698, + "src": "166:37:3", "symbolAliases": [], "unitAlias": "" }, @@ -357,9 +357,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 605, + "id": 902, "linearizedBaseContracts": [ - 605 + 902 ], "name": "Listing", "nodeType": "ContractDefinition", @@ -367,36 +367,36 @@ { "anonymous": false, "documentation": null, - "id": 408, + "id": 705, "name": "ListingApplied", "nodeType": "EventDefinition", "parameters": { - "id": 407, + "id": 704, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 406, + "id": 703, "indexed": false, "name": "_jobApplicantContract", "nodeType": "VariableDeclaration", - "scope": 408, - "src": "284:34:2", + "scope": 705, + "src": "284:34:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 405, + "id": 702, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "284:12:2", + "referencedDeclaration": 674, + "src": "284:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, @@ -404,31 +404,31 @@ "visibility": "internal" } ], - "src": "283:36:2" + "src": "283:36:3" }, - "src": "263:57:2" + "src": "263:57:3" }, { "anonymous": false, "documentation": null, - "id": 410, + "id": 707, "name": "ListingChange", "nodeType": "EventDefinition", "parameters": { - "id": 409, + "id": 706, "nodeType": "ParameterList", "parameters": [], - "src": "345:2:2" + "src": "345:2:3" }, - "src": "326:22:2" + "src": "326:22:3" }, { "constant": false, - "id": 412, + "id": 709, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "471:20:2", + "scope": 902, + "src": "471:20:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -436,10 +436,10 @@ "typeString": "address" }, "typeName": { - "id": 411, + "id": 708, "name": "address", "nodeType": "ElementaryTypeName", - "src": "471:7:2", + "src": "471:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -450,11 +450,11 @@ }, { "constant": false, - "id": 414, + "id": 711, "name": "ListingRegistry", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "498:30:2", + "scope": 902, + "src": "498:30:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -462,10 +462,10 @@ "typeString": "address" }, "typeName": { - "id": 413, + "id": 710, "name": "address", "nodeType": "ElementaryTypeName", - "src": "498:7:2", + "src": "498:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -476,11 +476,11 @@ }, { "constant": false, - "id": 416, + "id": 713, "name": "ipfsHash", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "806:23:2", + "scope": 902, + "src": "806:23:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -488,10 +488,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 415, + "id": 712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "806:7:2", + "src": "806:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -502,11 +502,11 @@ }, { "constant": false, - "id": 418, + "id": 715, "name": "workingHours", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "836:24:2", + "scope": 902, + "src": "836:24:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -514,10 +514,10 @@ "typeString": "uint256" }, "typeName": { - "id": 417, + "id": 714, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "836:4:2", + "src": "836:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -528,11 +528,11 @@ }, { "constant": false, - "id": 420, + "id": 717, "name": "resourceType", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "867:24:2", + "scope": 902, + "src": "867:24:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -540,10 +540,10 @@ "typeString": "uint256" }, "typeName": { - "id": 419, + "id": 716, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "867:4:2", + "src": "867:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -554,11 +554,11 @@ }, { "constant": false, - "id": 422, + "id": 719, "name": "resourceRate", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "898:24:2", + "scope": 902, + "src": "898:24:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -566,10 +566,10 @@ "typeString": "uint256" }, "typeName": { - "id": 421, + "id": 718, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "898:4:2", + "src": "898:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -580,11 +580,11 @@ }, { "constant": false, - "id": 424, + "id": 721, "name": "totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "929:33:2", + "scope": 902, + "src": "929:33:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -592,10 +592,10 @@ "typeString": "uint256" }, "typeName": { - "id": 423, + "id": 720, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "929:4:2", + "src": "929:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -606,11 +606,11 @@ }, { "constant": false, - "id": 426, + "id": 723, "name": "created", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "969:19:2", + "scope": 902, + "src": "969:19:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -618,10 +618,10 @@ "typeString": "uint256" }, "typeName": { - "id": 425, + "id": 722, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "969:4:2", + "src": "969:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -632,11 +632,11 @@ }, { "constant": false, - "id": 428, + "id": 725, "name": "expiration", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "995:22:2", + "scope": 902, + "src": "995:22:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -644,10 +644,10 @@ "typeString": "uint256" }, "typeName": { - "id": 427, + "id": 724, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "995:4:2", + "src": "995:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -658,36 +658,36 @@ }, { "constant": false, - "id": 431, + "id": 728, "name": "applicants", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "1056:32:2", + "scope": 902, + "src": "1056:32:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", "typeString": "contract JobApplicant[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 429, + "id": 726, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "1056:12:2", + "referencedDeclaration": 674, + "src": "1056:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, - "id": 430, + "id": 727, "length": null, "nodeType": "ArrayTypeName", - "src": "1056:14:2", + "src": "1056:14:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage_ptr", "typeString": "contract JobApplicant[]" } }, @@ -696,26 +696,26 @@ }, { "body": { - "id": 485, + "id": 782, "nodeType": "Block", - "src": "1537:385:2", + "src": "1537:385:3", "statements": [ { "expression": { "argumentTypes": null, - "id": 448, + "id": 745, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 446, + "id": 743, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 412, - "src": "1548:5:2", + "referencedDeclaration": 709, + "src": "1548:5:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -725,43 +725,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 447, + "id": 744, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 433, - "src": "1558:6:2", + "referencedDeclaration": 730, + "src": "1558:6:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1548:16:2", + "src": "1548:16:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 449, + "id": 746, "nodeType": "ExpressionStatement", - "src": "1548:16:2" + "src": "1548:16:3" }, { "expression": { "argumentTypes": null, - "id": 453, + "id": 750, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 450, + "id": 747, "name": "ListingRegistry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 414, - "src": "1575:15:2", + "referencedDeclaration": 711, + "src": "1575:15:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -773,18 +773,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 451, + "id": 748, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "1594:3:2", + "referencedDeclaration": 1222, + "src": "1594:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 452, + "id": 749, "isConstant": false, "isLValue": false, "isPure": false, @@ -792,38 +792,38 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1594:10:2", + "src": "1594:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1575:29:2", + "src": "1575:29:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 454, + "id": 751, "nodeType": "ExpressionStatement", - "src": "1575:29:2" + "src": "1575:29:3" }, { "expression": { "argumentTypes": null, - "id": 457, + "id": 754, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 455, + "id": 752, "name": "ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 416, - "src": "1647:8:2", + "referencedDeclaration": 713, + "src": "1647:8:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -833,43 +833,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 456, + "id": 753, "name": "_ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 435, - "src": "1660:9:2", + "referencedDeclaration": 732, + "src": "1660:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "1647:22:2", + "src": "1647:22:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 458, + "id": 755, "nodeType": "ExpressionStatement", - "src": "1647:22:2" + "src": "1647:22:3" }, { "expression": { "argumentTypes": null, - "id": 461, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 459, + "id": 756, "name": "resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "1680:12:2", + "referencedDeclaration": 719, + "src": "1680:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -879,43 +879,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 460, + "id": 757, "name": "_resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 437, - "src": "1696:13:2", + "referencedDeclaration": 734, + "src": "1696:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1680:29:2", + "src": "1680:29:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 462, + "id": 759, "nodeType": "ExpressionStatement", - "src": "1680:29:2" + "src": "1680:29:3" }, { "expression": { "argumentTypes": null, - "id": 465, + "id": 762, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 463, + "id": 760, "name": "totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 424, - "src": "1720:21:2", + "referencedDeclaration": 721, + "src": "1720:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -925,43 +925,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 464, + "id": 761, "name": "_totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 439, - "src": "1744:22:2", + "referencedDeclaration": 736, + "src": "1744:22:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1720:46:2", + "src": "1720:46:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 466, + "id": 763, "nodeType": "ExpressionStatement", - "src": "1720:46:2" + "src": "1720:46:3" }, { "expression": { "argumentTypes": null, - "id": 469, + "id": 766, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 467, + "id": 764, "name": "resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 420, - "src": "1777:12:2", + "referencedDeclaration": 717, + "src": "1777:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -971,43 +971,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 468, + "id": 765, "name": "_resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 441, - "src": "1793:13:2", + "referencedDeclaration": 738, + "src": "1793:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1777:29:2", + "src": "1777:29:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 470, + "id": 767, "nodeType": "ExpressionStatement", - "src": "1777:29:2" + "src": "1777:29:3" }, { "expression": { "argumentTypes": null, - "id": 473, + "id": 770, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 471, + "id": 768, "name": "workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, - "src": "1817:12:2", + "referencedDeclaration": 715, + "src": "1817:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1017,43 +1017,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 472, + "id": 769, "name": "_workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 443, - "src": "1833:13:2", + "referencedDeclaration": 740, + "src": "1833:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1817:29:2", + "src": "1817:29:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 474, + "id": 771, "nodeType": "ExpressionStatement", - "src": "1817:29:2" + "src": "1817:29:3" }, { "expression": { "argumentTypes": null, - "id": 477, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 475, + "id": 772, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 426, - "src": "1857:7:2", + "referencedDeclaration": 723, + "src": "1857:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1063,43 +1063,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 476, + "id": 773, "name": "now", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 870, - "src": "1869:3:2", + "referencedDeclaration": 1224, + "src": "1869:3:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1857:15:2", + "src": "1857:15:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 478, + "id": 775, "nodeType": "ExpressionStatement", - "src": "1857:15:2" + "src": "1857:15:3" }, { "expression": { "argumentTypes": null, - "id": 483, + "id": 780, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 479, + "id": 776, "name": "expiration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 428, - "src": "1883:10:2", + "referencedDeclaration": 725, + "src": "1883:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1113,19 +1113,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 482, + "id": 779, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 480, + "id": 777, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 426, - "src": "1897:7:2", + "referencedDeclaration": 723, + "src": "1897:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1136,14 +1136,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3134", - "id": 481, + "id": 778, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1907:7:2", + "src": "1907:7:3", "subdenomination": "days", "typeDescriptions": { "typeIdentifier": "t_rational_1209600_by_1", @@ -1151,26 +1151,26 @@ }, "value": "14" }, - "src": "1897:17:2", + "src": "1897:17:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1883:31:2", + "src": "1883:31:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 484, + "id": 781, "nodeType": "ExpressionStatement", - "src": "1883:31:2" + "src": "1883:31:3" } ] }, "documentation": null, - "id": 486, + "id": 783, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -1178,16 +1178,16 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 444, + "id": 741, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 433, + "id": 730, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 486, - "src": "1118:14:2", + "scope": 783, + "src": "1118:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1195,10 +1195,10 @@ "typeString": "address" }, "typeName": { - "id": 432, + "id": 729, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1118:7:2", + "src": "1118:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1209,11 +1209,11 @@ }, { "constant": false, - "id": 435, + "id": 732, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 486, - "src": "1141:17:2", + "scope": 783, + "src": "1141:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1221,10 +1221,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 434, + "id": 731, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1141:7:2", + "src": "1141:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -1235,11 +1235,11 @@ }, { "constant": false, - "id": 437, + "id": 734, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 486, - "src": "1167:18:2", + "scope": 783, + "src": "1167:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1247,10 +1247,10 @@ "typeString": "uint256" }, "typeName": { - "id": 436, + "id": 733, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1167:4:2", + "src": "1167:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1261,11 +1261,11 @@ }, { "constant": false, - "id": 439, + "id": 736, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 486, - "src": "1194:27:2", + "scope": 783, + "src": "1194:27:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1273,10 +1273,10 @@ "typeString": "uint256" }, "typeName": { - "id": 438, + "id": 735, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1194:4:2", + "src": "1194:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1287,11 +1287,11 @@ }, { "constant": false, - "id": 441, + "id": 738, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 486, - "src": "1230:18:2", + "scope": 783, + "src": "1230:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1299,10 +1299,10 @@ "typeString": "uint256" }, "typeName": { - "id": 440, + "id": 737, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1230:4:2", + "src": "1230:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1313,11 +1313,11 @@ }, { "constant": false, - "id": 443, + "id": 740, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 486, - "src": "1257:18:2", + "scope": 783, + "src": "1257:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1325,10 +1325,10 @@ "typeString": "uint256" }, "typeName": { - "id": 442, + "id": 739, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1257:4:2", + "src": "1257:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1338,26 +1338,26 @@ "visibility": "internal" } ], - "src": "1109:173:2" + "src": "1109:173:3" }, "payable": false, "returnParameters": { - "id": 445, + "id": 742, "nodeType": "ParameterList", "parameters": [], - "src": "1537:0:2" + "src": "1537:0:3" }, - "scope": 605, - "src": "1097:825:2", + "scope": 902, + "src": "1097:825:3", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 496, + "id": 793, "nodeType": "Block", - "src": "2232:59:2", + "src": "2232:59:3", "statements": [ { "expression": { @@ -1369,7 +1369,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 492, + "id": 789, "isConstant": false, "isLValue": false, "isPure": false, @@ -1378,18 +1378,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 489, + "id": 786, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "2251:3:2", + "referencedDeclaration": 1222, + "src": "2251:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 490, + "id": 787, "isConstant": false, "isLValue": false, "isPure": false, @@ -1397,7 +1397,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2251:10:2", + "src": "2251:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1407,18 +1407,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 491, + "id": 788, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 412, - "src": "2265:5:2", + "referencedDeclaration": 709, + "src": "2265:5:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2251:19:2", + "src": "2251:19:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1432,21 +1432,21 @@ "typeString": "bool" } ], - "id": 488, + "id": 785, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "2243:7:2", + "referencedDeclaration": 1225, + "src": "2243:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 493, + "id": 790, "isConstant": false, "isLValue": false, "isPure": false, @@ -1454,41 +1454,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2243:28:2", + "src": "2243:28:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 494, + "id": 791, "nodeType": "ExpressionStatement", - "src": "2243:28:2" + "src": "2243:28:3" }, { - "id": 495, + "id": 792, "nodeType": "PlaceholderStatement", - "src": "2282:1:2" + "src": "2282:1:3" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 497, + "id": 794, "name": "isEmployer", "nodeType": "ModifierDefinition", "parameters": { - "id": 487, + "id": 784, "nodeType": "ParameterList", "parameters": [], - "src": "2229:2:2" + "src": "2229:2:3" }, - "src": "2210:81:2", + "src": "2210:81:3", "visibility": "internal" }, { "body": { - "id": 526, + "id": 823, "nodeType": "Block", - "src": "2742:129:2", + "src": "2742:129:3", "statements": [ { "expression": { @@ -1496,12 +1496,12 @@ "components": [ { "argumentTypes": null, - "id": 516, + "id": 813, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 412, - "src": "2761:5:2", + "referencedDeclaration": 709, + "src": "2761:5:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1509,12 +1509,12 @@ }, { "argumentTypes": null, - "id": 517, + "id": 814, "name": "ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 416, - "src": "2768:8:2", + "referencedDeclaration": 713, + "src": "2768:8:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -1522,12 +1522,12 @@ }, { "argumentTypes": null, - "id": 518, + "id": 815, "name": "resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "2778:12:2", + "referencedDeclaration": 719, + "src": "2778:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1535,12 +1535,12 @@ }, { "argumentTypes": null, - "id": 519, + "id": 816, "name": "totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 424, - "src": "2792:21:2", + "referencedDeclaration": 721, + "src": "2792:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1548,12 +1548,12 @@ }, { "argumentTypes": null, - "id": 520, + "id": 817, "name": "resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 420, - "src": "2815:12:2", + "referencedDeclaration": 717, + "src": "2815:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1561,12 +1561,12 @@ }, { "argumentTypes": null, - "id": 521, + "id": 818, "name": "workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, - "src": "2829:12:2", + "referencedDeclaration": 715, + "src": "2829:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1574,12 +1574,12 @@ }, { "argumentTypes": null, - "id": 522, + "id": 819, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 426, - "src": "2843:7:2", + "referencedDeclaration": 723, + "src": "2843:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1587,40 +1587,40 @@ }, { "argumentTypes": null, - "id": 523, + "id": 820, "name": "expiration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 428, - "src": "2852:10:2", + "referencedDeclaration": 725, + "src": "2852:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 524, + "id": 821, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2760:103:2", + "src": "2760:103:3", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", "typeString": "tuple(address,bytes32,uint256,uint256,uint256,uint256,uint256,uint256)" } }, - "functionReturnParameters": 515, - "id": 525, + "functionReturnParameters": 812, + "id": 822, "nodeType": "Return", - "src": "2753:110:2" + "src": "2753:110:3" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 527, + "id": 824, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1628,23 +1628,23 @@ "name": "data", "nodeType": "FunctionDefinition", "parameters": { - "id": 498, + "id": 795, "nodeType": "ParameterList", "parameters": [], - "src": "2543:2:2" + "src": "2543:2:3" }, "payable": false, "returnParameters": { - "id": 515, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 500, + "id": 797, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2582:14:2", + "scope": 824, + "src": "2582:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1652,10 +1652,10 @@ "typeString": "address" }, "typeName": { - "id": 499, + "id": 796, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2582:7:2", + "src": "2582:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1666,11 +1666,11 @@ }, { "constant": false, - "id": 502, + "id": 799, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2598:17:2", + "scope": 824, + "src": "2598:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1678,10 +1678,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 501, + "id": 798, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2598:7:2", + "src": "2598:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -1692,11 +1692,11 @@ }, { "constant": false, - "id": 504, + "id": 801, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2617:18:2", + "scope": 824, + "src": "2617:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1704,10 +1704,10 @@ "typeString": "uint256" }, "typeName": { - "id": 503, + "id": 800, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2617:4:2", + "src": "2617:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1718,11 +1718,11 @@ }, { "constant": false, - "id": 506, + "id": 803, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2637:27:2", + "scope": 824, + "src": "2637:27:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1730,10 +1730,10 @@ "typeString": "uint256" }, "typeName": { - "id": 505, + "id": 802, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2637:4:2", + "src": "2637:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1744,11 +1744,11 @@ }, { "constant": false, - "id": 508, + "id": 805, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2666:18:2", + "scope": 824, + "src": "2666:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1756,10 +1756,10 @@ "typeString": "uint256" }, "typeName": { - "id": 507, + "id": 804, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2666:4:2", + "src": "2666:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1770,11 +1770,11 @@ }, { "constant": false, - "id": 510, + "id": 807, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2685:18:2", + "scope": 824, + "src": "2685:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1782,10 +1782,10 @@ "typeString": "uint256" }, "typeName": { - "id": 509, + "id": 806, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2685:4:2", + "src": "2685:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1796,11 +1796,11 @@ }, { "constant": false, - "id": 512, + "id": 809, "name": "_created", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2704:13:2", + "scope": 824, + "src": "2704:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1808,10 +1808,10 @@ "typeString": "uint256" }, "typeName": { - "id": 511, + "id": 808, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2704:4:2", + "src": "2704:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1822,11 +1822,11 @@ }, { "constant": false, - "id": 514, + "id": 811, "name": "_expiration", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2719:16:2", + "scope": 824, + "src": "2719:16:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1834,10 +1834,10 @@ "typeString": "uint256" }, "typeName": { - "id": 513, + "id": 810, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2719:4:2", + "src": "2719:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1847,19 +1847,19 @@ "visibility": "internal" } ], - "src": "2581:155:2" + "src": "2581:155:3" }, - "scope": 605, - "src": "2530:341:2", + "scope": 902, + "src": "2530:341:3", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 558, + "id": 855, "nodeType": "Block", - "src": "3231:459:2", + "src": "3231:459:3", "statements": [ { "expression": { @@ -1871,19 +1871,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 533, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 531, + "id": 828, "name": "now", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 870, - "src": "3303:3:2", + "referencedDeclaration": 1224, + "src": "3303:3:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1893,18 +1893,18 @@ "operator": "<", "rightExpression": { "argumentTypes": null, - "id": 532, + "id": 829, "name": "expiration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 428, - "src": "3309:10:2", + "referencedDeclaration": 725, + "src": "3309:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3303:16:2", + "src": "3303:16:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1918,21 +1918,21 @@ "typeString": "bool" } ], - "id": 530, + "id": 827, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "3295:7:2", + "referencedDeclaration": 1225, + "src": "3295:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 534, + "id": 831, "isConstant": false, "isLValue": false, "isPure": false, @@ -1940,43 +1940,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3295:25:2", + "src": "3295:25:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 535, + "id": 832, "nodeType": "ExpressionStatement", - "src": "3295:25:2" + "src": "3295:25:3" }, { "assignments": [ - 537 + 834 ], "declarations": [ { "constant": false, - "id": 537, + "id": 834, "name": "applicant", "nodeType": "VariableDeclaration", - "scope": 559, - "src": "3377:22:2", + "scope": 856, + "src": "3377:22:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 536, + "id": 833, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "3377:12:2", + "referencedDeclaration": 674, + "src": "3377:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, @@ -1984,20 +1984,20 @@ "visibility": "internal" } ], - "id": 544, + "id": 841, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 540, + "id": 837, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 883, - "src": "3437:4:2", + "referencedDeclaration": 1239, + "src": "3437:4:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -2005,18 +2005,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 541, + "id": 838, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "3443:3:2", + "referencedDeclaration": 1222, + "src": "3443:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 542, + "id": 839, "isConstant": false, "isLValue": false, "isPure": false, @@ -2024,7 +2024,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3443:10:2", + "src": "3443:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2034,7 +2034,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" }, { @@ -2044,32 +2044,32 @@ ], "expression": { "argumentTypes": null, - "id": 538, + "id": 835, "name": "JobApplicationLibrary", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 400, - "src": "3402:21:2", + "referencedDeclaration": 697, + "src": "3402:21:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_JobApplicationLibrary_$400_$", + "typeIdentifier": "t_type$_t_contract$_JobApplicationLibrary_$697_$", "typeString": "type(library JobApplicationLibrary)" } }, - "id": 539, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "newApplicant", "nodeType": "MemberAccess", - "referencedDeclaration": 399, - "src": "3402:34:2", + "referencedDeclaration": 696, + "src": "3402:34:3", "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_nonpayable$_t_contract$_Listing_$605_$_t_address_$returns$_t_contract$_JobApplicant_$377_$", + "typeIdentifier": "t_function_delegatecall_nonpayable$_t_contract$_Listing_$902_$_t_address_$returns$_t_contract$_JobApplicant_$674_$", "typeString": "function (contract Listing,address) returns (contract JobApplicant)" } }, - "id": 543, + "id": 840, "isConstant": false, "isLValue": false, "isPure": false, @@ -2077,14 +2077,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3402:52:2", + "src": "3402:52:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, "nodeType": "VariableDeclarationStatement", - "src": "3377:77:2" + "src": "3377:77:3" }, { "expression": { @@ -2092,14 +2092,14 @@ "arguments": [ { "argumentTypes": null, - "id": 548, + "id": 845, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 537, - "src": "3483:9:2", + "referencedDeclaration": 834, + "src": "3483:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } } @@ -2107,24 +2107,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } ], "expression": { "argumentTypes": null, - "id": 545, + "id": 842, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "3467:10:2", + "referencedDeclaration": 728, + "src": "3467:10:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "id": 547, + "id": 844, "isConstant": false, "isLValue": false, "isPure": false, @@ -2132,13 +2132,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3467:15:2", + "src": "3467:15:3", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_JobApplicant_$377_$returns$_t_uint256_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_JobApplicant_$674_$returns$_t_uint256_$", "typeString": "function (contract JobApplicant) returns (uint256)" } }, - "id": 549, + "id": 846, "isConstant": false, "isLValue": false, "isPure": false, @@ -2146,15 +2146,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3467:26:2", + "src": "3467:26:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 550, + "id": 847, "nodeType": "ExpressionStatement", - "src": "3467:26:2" + "src": "3467:26:3" }, { "eventCall": { @@ -2162,14 +2162,14 @@ "arguments": [ { "argumentTypes": null, - "id": 552, + "id": 849, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 537, - "src": "3641:9:2", + "referencedDeclaration": 834, + "src": "3641:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } } @@ -2177,22 +2177,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } ], - "id": 551, + "id": 848, "name": "ListingApplied", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 408, - "src": "3626:14:2", + "referencedDeclaration": 705, + "src": "3626:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_contract$_JobApplicant_$377_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_contract$_JobApplicant_$674_$returns$__$", "typeString": "function (contract JobApplicant)" } }, - "id": 553, + "id": 850, "isConstant": false, "isLValue": false, "isPure": false, @@ -2200,15 +2200,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3626:25:2", + "src": "3626:25:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 554, + "id": 851, "nodeType": "EmitStatement", - "src": "3621:30:2" + "src": "3621:30:3" }, { "eventCall": { @@ -2216,18 +2216,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 555, + "id": 852, "name": "ListingChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "3667:13:2", + "referencedDeclaration": 707, + "src": "3667:13:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 556, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -2235,20 +2235,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3667:15:2", + "src": "3667:15:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 557, + "id": 854, "nodeType": "EmitStatement", - "src": "3662:20:2" + "src": "3662:20:3" } ] }, "documentation": "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n @dev ApplyToJob()\t\t--> An applicant can apply for a Job Listing\r\n//////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 559, + "id": 856, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -2256,47 +2256,47 @@ "name": "applyToJob", "nodeType": "FunctionDefinition", "parameters": { - "id": 528, + "id": 825, "nodeType": "ParameterList", "parameters": [], - "src": "3207:2:2" + "src": "3207:2:3" }, "payable": false, "returnParameters": { - "id": 529, + "id": 826, "nodeType": "ParameterList", "parameters": [], - "src": "3231:0:2" + "src": "3231:0:3" }, - "scope": 605, - "src": "3188:502:2", + "scope": 902, + "src": "3188:502:3", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 567, + "id": 864, "nodeType": "Block", - "src": "4081:43:2", + "src": "4081:43:3", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 564, + "id": 861, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "4099:10:2", + "referencedDeclaration": 728, + "src": "4099:10:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "id": 565, + "id": 862, "isConstant": false, "isLValue": true, "isPure": false, @@ -2304,21 +2304,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4099:17:2", + "src": "4099:17:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 563, - "id": 566, + "functionReturnParameters": 860, + "id": 863, "nodeType": "Return", - "src": "4092:24:2" + "src": "4092:24:3" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\t@dev totalJobApplicants(): Return number of applicants for a given Job Listing\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 568, + "id": 865, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2326,23 +2326,23 @@ "name": "totalJobApplicants", "nodeType": "FunctionDefinition", "parameters": { - "id": 560, + "id": 857, "nodeType": "ParameterList", "parameters": [], - "src": "4021:2:2" + "src": "4021:2:3" }, "payable": false, "returnParameters": { - "id": 563, + "id": 860, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 562, + "id": 859, "name": "", "nodeType": "VariableDeclaration", - "scope": 568, - "src": "4070:4:2", + "scope": 865, + "src": "4070:4:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2350,10 +2350,10 @@ "typeString": "uint256" }, "typeName": { - "id": 561, + "id": 858, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4070:4:2", + "src": "4070:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2363,19 +2363,19 @@ "visibility": "internal" } ], - "src": "4069:6:2" + "src": "4069:6:3" }, - "scope": 605, - "src": "3994:130:2", + "scope": 902, + "src": "3994:130:3", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 580, + "id": 877, "nodeType": "Block", - "src": "4381:68:2", + "src": "4381:68:3", "statements": [ { "expression": { @@ -2385,26 +2385,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 575, + "id": 872, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "4412:10:2", + "referencedDeclaration": 728, + "src": "4412:10:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "id": 577, + "id": 874, "indexExpression": { "argumentTypes": null, - "id": 576, + "id": 873, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 570, - "src": "4423:6:2", + "referencedDeclaration": 867, + "src": "4423:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2415,35 +2415,35 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4412:18:2", + "src": "4412:18:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } } ], - "id": 578, + "id": 875, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "4399:42:2", + "src": "4399:42:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, - "functionReturnParameters": 574, - "id": 579, + "functionReturnParameters": 871, + "id": 876, "nodeType": "Return", - "src": "4392:49:2" + "src": "4392:49:3" } ] }, "documentation": "@dev getApplicant(): Return Job Application info for a given Job Listing\r\n @param _index the index of the Listing we want info about\r", - "id": 581, + "id": 878, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2451,16 +2451,16 @@ "name": "getApplicant", "nodeType": "FunctionDefinition", "parameters": { - "id": 571, + "id": 868, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 570, + "id": 867, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 581, - "src": "4303:11:2", + "scope": 878, + "src": "4303:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2468,10 +2468,10 @@ "typeString": "uint256" }, "typeName": { - "id": 569, + "id": 866, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4303:4:2", + "src": "4303:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2481,35 +2481,35 @@ "visibility": "internal" } ], - "src": "4302:13:2" + "src": "4302:13:3" }, "payable": false, "returnParameters": { - "id": 574, + "id": 871, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 573, + "id": 870, "name": "", "nodeType": "VariableDeclaration", - "scope": 581, - "src": "4362:12:2", + "scope": 878, + "src": "4362:12:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 572, + "id": 869, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "4362:12:2", + "referencedDeclaration": 674, + "src": "4362:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, @@ -2517,19 +2517,19 @@ "visibility": "internal" } ], - "src": "4361:14:2" + "src": "4361:14:3" }, - "scope": 605, - "src": "4281:168:2", + "scope": 902, + "src": "4281:168:3", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 590, + "id": 887, "nodeType": "Block", - "src": "4549:60:2", + "src": "4549:60:3", "statements": [ { "expression": { @@ -2537,40 +2537,40 @@ "components": [ { "argumentTypes": null, - "id": 587, + "id": 884, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "4580:10:2", + "referencedDeclaration": 728, + "src": "4580:10:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } } ], - "id": 588, + "id": 885, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "4567:34:2", + "src": "4567:34:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "functionReturnParameters": 586, - "id": 589, + "functionReturnParameters": 883, + "id": 886, "nodeType": "Return", - "src": "4560:41:2" + "src": "4560:41:3" } ] }, "documentation": null, - "id": 591, + "id": 888, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2578,48 +2578,48 @@ "name": "getApplicants", "nodeType": "FunctionDefinition", "parameters": { - "id": 582, + "id": 879, "nodeType": "ParameterList", "parameters": [], - "src": "4479:2:2" + "src": "4479:2:3" }, "payable": false, "returnParameters": { - "id": 586, + "id": 883, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 585, + "id": 882, "name": "", "nodeType": "VariableDeclaration", - "scope": 591, - "src": "4528:14:2", + "scope": 888, + "src": "4528:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_memory_ptr", "typeString": "contract JobApplicant[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 583, + "id": 880, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "4528:12:2", + "referencedDeclaration": 674, + "src": "4528:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, - "id": 584, + "id": 881, "length": null, "nodeType": "ArrayTypeName", - "src": "4528:14:2", + "src": "4528:14:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage_ptr", "typeString": "contract JobApplicant[]" } }, @@ -2627,36 +2627,36 @@ "visibility": "internal" } ], - "src": "4527:16:2" + "src": "4527:16:3" }, - "scope": 605, - "src": "4457:152:2", + "scope": 902, + "src": "4457:152:3", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 603, + "id": 900, "nodeType": "Block", - "src": "5991:75:2", + "src": "5991:75:3", "statements": [ { "expression": { "argumentTypes": null, - "id": 598, + "id": 895, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 596, + "id": 893, "name": "totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 424, - "src": "6002:21:2", + "referencedDeclaration": 721, + "src": "6002:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2667,14 +2667,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "30", - "id": 597, + "id": 894, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6026:1:2", + "src": "6026:1:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -2682,15 +2682,15 @@ }, "value": "0" }, - "src": "6002:25:2", + "src": "6002:25:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 599, + "id": 896, "nodeType": "ExpressionStatement", - "src": "6002:25:2" + "src": "6002:25:3" }, { "eventCall": { @@ -2698,18 +2698,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 600, + "id": 897, "name": "ListingChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "6043:13:2", + "referencedDeclaration": 707, + "src": "6043:13:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 601, + "id": 898, "isConstant": false, "isLValue": false, "isPure": false, @@ -2717,111 +2717,111 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6043:15:2", + "src": "6043:15:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 602, + "id": 899, "nodeType": "EmitStatement", - "src": "6038:20:2" + "src": "6038:20:3" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r\n @dev close(): Allows an employer to close the Job Listing from further applicants\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 604, + "id": 901, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 594, + "id": 891, "modifierName": { "argumentTypes": null, - "id": 593, + "id": 890, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 497, - "src": "5975:10:2", + "referencedDeclaration": 794, + "src": "5975:10:3", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5975:10:2" + "src": "5975:10:3" } ], "name": "close", "nodeType": "FunctionDefinition", "parameters": { - "id": 592, + "id": 889, "nodeType": "ParameterList", "parameters": [], - "src": "5947:2:2" + "src": "5947:2:3" }, "payable": false, "returnParameters": { - "id": 595, + "id": 892, "nodeType": "ParameterList", "parameters": [], - "src": "5991:0:2" + "src": "5991:0:3" }, - "scope": 605, - "src": "5933:133:2", + "scope": 902, + "src": "5933:133:3", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 606, - "src": "209:5968:2" + "scope": 903, + "src": "209:5968:3" } ], - "src": "0:6187:2" + "src": "0:6187:3" }, "legacyAST": { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", "exportedSymbols": { "Listing": [ - 605 + 902 ] }, - "id": 606, + "id": 903, "nodeType": "SourceUnit", "nodes": [ { - "id": 402, + "id": 699, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:2" + "src": "0:23:3" }, { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicant.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicant.sol", "file": "./JobApplicant.sol", - "id": 403, + "id": 700, "nodeType": "ImportDirective", - "scope": 606, - "sourceUnit": 378, - "src": "136:28:2", + "scope": 903, + "sourceUnit": 675, + "src": "136:28:3", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", "file": "./JobApplicationLibrary.sol", - "id": 404, + "id": 701, "nodeType": "ImportDirective", - "scope": 606, - "sourceUnit": 401, - "src": "166:37:2", + "scope": 903, + "sourceUnit": 698, + "src": "166:37:3", "symbolAliases": [], "unitAlias": "" }, @@ -2831,9 +2831,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 605, + "id": 902, "linearizedBaseContracts": [ - 605 + 902 ], "name": "Listing", "nodeType": "ContractDefinition", @@ -2841,36 +2841,36 @@ { "anonymous": false, "documentation": null, - "id": 408, + "id": 705, "name": "ListingApplied", "nodeType": "EventDefinition", "parameters": { - "id": 407, + "id": 704, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 406, + "id": 703, "indexed": false, "name": "_jobApplicantContract", "nodeType": "VariableDeclaration", - "scope": 408, - "src": "284:34:2", + "scope": 705, + "src": "284:34:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 405, + "id": 702, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "284:12:2", + "referencedDeclaration": 674, + "src": "284:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, @@ -2878,31 +2878,31 @@ "visibility": "internal" } ], - "src": "283:36:2" + "src": "283:36:3" }, - "src": "263:57:2" + "src": "263:57:3" }, { "anonymous": false, "documentation": null, - "id": 410, + "id": 707, "name": "ListingChange", "nodeType": "EventDefinition", "parameters": { - "id": 409, + "id": 706, "nodeType": "ParameterList", "parameters": [], - "src": "345:2:2" + "src": "345:2:3" }, - "src": "326:22:2" + "src": "326:22:3" }, { "constant": false, - "id": 412, + "id": 709, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "471:20:2", + "scope": 902, + "src": "471:20:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2910,10 +2910,10 @@ "typeString": "address" }, "typeName": { - "id": 411, + "id": 708, "name": "address", "nodeType": "ElementaryTypeName", - "src": "471:7:2", + "src": "471:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2924,11 +2924,11 @@ }, { "constant": false, - "id": 414, + "id": 711, "name": "ListingRegistry", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "498:30:2", + "scope": 902, + "src": "498:30:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2936,10 +2936,10 @@ "typeString": "address" }, "typeName": { - "id": 413, + "id": 710, "name": "address", "nodeType": "ElementaryTypeName", - "src": "498:7:2", + "src": "498:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2950,11 +2950,11 @@ }, { "constant": false, - "id": 416, + "id": 713, "name": "ipfsHash", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "806:23:2", + "scope": 902, + "src": "806:23:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2962,10 +2962,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 415, + "id": 712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "806:7:2", + "src": "806:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2976,11 +2976,11 @@ }, { "constant": false, - "id": 418, + "id": 715, "name": "workingHours", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "836:24:2", + "scope": 902, + "src": "836:24:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2988,10 +2988,10 @@ "typeString": "uint256" }, "typeName": { - "id": 417, + "id": 714, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "836:4:2", + "src": "836:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3002,11 +3002,11 @@ }, { "constant": false, - "id": 420, + "id": 717, "name": "resourceType", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "867:24:2", + "scope": 902, + "src": "867:24:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3014,10 +3014,10 @@ "typeString": "uint256" }, "typeName": { - "id": 419, + "id": 716, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "867:4:2", + "src": "867:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3028,11 +3028,11 @@ }, { "constant": false, - "id": 422, + "id": 719, "name": "resourceRate", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "898:24:2", + "scope": 902, + "src": "898:24:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3040,10 +3040,10 @@ "typeString": "uint256" }, "typeName": { - "id": 421, + "id": 718, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "898:4:2", + "src": "898:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3054,11 +3054,11 @@ }, { "constant": false, - "id": 424, + "id": 721, "name": "totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "929:33:2", + "scope": 902, + "src": "929:33:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3066,10 +3066,10 @@ "typeString": "uint256" }, "typeName": { - "id": 423, + "id": 720, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "929:4:2", + "src": "929:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3080,11 +3080,11 @@ }, { "constant": false, - "id": 426, + "id": 723, "name": "created", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "969:19:2", + "scope": 902, + "src": "969:19:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3092,10 +3092,10 @@ "typeString": "uint256" }, "typeName": { - "id": 425, + "id": 722, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "969:4:2", + "src": "969:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3106,11 +3106,11 @@ }, { "constant": false, - "id": 428, + "id": 725, "name": "expiration", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "995:22:2", + "scope": 902, + "src": "995:22:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3118,10 +3118,10 @@ "typeString": "uint256" }, "typeName": { - "id": 427, + "id": 724, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "995:4:2", + "src": "995:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3132,36 +3132,36 @@ }, { "constant": false, - "id": 431, + "id": 728, "name": "applicants", "nodeType": "VariableDeclaration", - "scope": 605, - "src": "1056:32:2", + "scope": 902, + "src": "1056:32:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", "typeString": "contract JobApplicant[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 429, + "id": 726, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "1056:12:2", + "referencedDeclaration": 674, + "src": "1056:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, - "id": 430, + "id": 727, "length": null, "nodeType": "ArrayTypeName", - "src": "1056:14:2", + "src": "1056:14:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage_ptr", "typeString": "contract JobApplicant[]" } }, @@ -3170,26 +3170,26 @@ }, { "body": { - "id": 485, + "id": 782, "nodeType": "Block", - "src": "1537:385:2", + "src": "1537:385:3", "statements": [ { "expression": { "argumentTypes": null, - "id": 448, + "id": 745, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 446, + "id": 743, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 412, - "src": "1548:5:2", + "referencedDeclaration": 709, + "src": "1548:5:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3199,43 +3199,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 447, + "id": 744, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 433, - "src": "1558:6:2", + "referencedDeclaration": 730, + "src": "1558:6:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1548:16:2", + "src": "1548:16:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 449, + "id": 746, "nodeType": "ExpressionStatement", - "src": "1548:16:2" + "src": "1548:16:3" }, { "expression": { "argumentTypes": null, - "id": 453, + "id": 750, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 450, + "id": 747, "name": "ListingRegistry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 414, - "src": "1575:15:2", + "referencedDeclaration": 711, + "src": "1575:15:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3247,18 +3247,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 451, + "id": 748, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "1594:3:2", + "referencedDeclaration": 1222, + "src": "1594:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 452, + "id": 749, "isConstant": false, "isLValue": false, "isPure": false, @@ -3266,38 +3266,38 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1594:10:2", + "src": "1594:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1575:29:2", + "src": "1575:29:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 454, + "id": 751, "nodeType": "ExpressionStatement", - "src": "1575:29:2" + "src": "1575:29:3" }, { "expression": { "argumentTypes": null, - "id": 457, + "id": 754, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 455, + "id": 752, "name": "ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 416, - "src": "1647:8:2", + "referencedDeclaration": 713, + "src": "1647:8:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3307,43 +3307,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 456, + "id": 753, "name": "_ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 435, - "src": "1660:9:2", + "referencedDeclaration": 732, + "src": "1660:9:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "1647:22:2", + "src": "1647:22:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 458, + "id": 755, "nodeType": "ExpressionStatement", - "src": "1647:22:2" + "src": "1647:22:3" }, { "expression": { "argumentTypes": null, - "id": 461, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 459, + "id": 756, "name": "resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "1680:12:2", + "referencedDeclaration": 719, + "src": "1680:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3353,43 +3353,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 460, + "id": 757, "name": "_resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 437, - "src": "1696:13:2", + "referencedDeclaration": 734, + "src": "1696:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1680:29:2", + "src": "1680:29:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 462, + "id": 759, "nodeType": "ExpressionStatement", - "src": "1680:29:2" + "src": "1680:29:3" }, { "expression": { "argumentTypes": null, - "id": 465, + "id": 762, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 463, + "id": 760, "name": "totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 424, - "src": "1720:21:2", + "referencedDeclaration": 721, + "src": "1720:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3399,43 +3399,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 464, + "id": 761, "name": "_totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 439, - "src": "1744:22:2", + "referencedDeclaration": 736, + "src": "1744:22:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1720:46:2", + "src": "1720:46:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 466, + "id": 763, "nodeType": "ExpressionStatement", - "src": "1720:46:2" + "src": "1720:46:3" }, { "expression": { "argumentTypes": null, - "id": 469, + "id": 766, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 467, + "id": 764, "name": "resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 420, - "src": "1777:12:2", + "referencedDeclaration": 717, + "src": "1777:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3445,43 +3445,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 468, + "id": 765, "name": "_resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 441, - "src": "1793:13:2", + "referencedDeclaration": 738, + "src": "1793:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1777:29:2", + "src": "1777:29:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 470, + "id": 767, "nodeType": "ExpressionStatement", - "src": "1777:29:2" + "src": "1777:29:3" }, { "expression": { "argumentTypes": null, - "id": 473, + "id": 770, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 471, + "id": 768, "name": "workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, - "src": "1817:12:2", + "referencedDeclaration": 715, + "src": "1817:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3491,43 +3491,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 472, + "id": 769, "name": "_workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 443, - "src": "1833:13:2", + "referencedDeclaration": 740, + "src": "1833:13:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1817:29:2", + "src": "1817:29:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 474, + "id": 771, "nodeType": "ExpressionStatement", - "src": "1817:29:2" + "src": "1817:29:3" }, { "expression": { "argumentTypes": null, - "id": 477, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 475, + "id": 772, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 426, - "src": "1857:7:2", + "referencedDeclaration": 723, + "src": "1857:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3537,43 +3537,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 476, + "id": 773, "name": "now", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 870, - "src": "1869:3:2", + "referencedDeclaration": 1224, + "src": "1869:3:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1857:15:2", + "src": "1857:15:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 478, + "id": 775, "nodeType": "ExpressionStatement", - "src": "1857:15:2" + "src": "1857:15:3" }, { "expression": { "argumentTypes": null, - "id": 483, + "id": 780, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 479, + "id": 776, "name": "expiration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 428, - "src": "1883:10:2", + "referencedDeclaration": 725, + "src": "1883:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3587,19 +3587,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 482, + "id": 779, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 480, + "id": 777, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 426, - "src": "1897:7:2", + "referencedDeclaration": 723, + "src": "1897:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3610,14 +3610,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3134", - "id": 481, + "id": 778, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1907:7:2", + "src": "1907:7:3", "subdenomination": "days", "typeDescriptions": { "typeIdentifier": "t_rational_1209600_by_1", @@ -3625,26 +3625,26 @@ }, "value": "14" }, - "src": "1897:17:2", + "src": "1897:17:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1883:31:2", + "src": "1883:31:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 484, + "id": 781, "nodeType": "ExpressionStatement", - "src": "1883:31:2" + "src": "1883:31:3" } ] }, "documentation": null, - "id": 486, + "id": 783, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -3652,16 +3652,16 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 444, + "id": 741, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 433, + "id": 730, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 486, - "src": "1118:14:2", + "scope": 783, + "src": "1118:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3669,10 +3669,10 @@ "typeString": "address" }, "typeName": { - "id": 432, + "id": 729, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1118:7:2", + "src": "1118:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3683,11 +3683,11 @@ }, { "constant": false, - "id": 435, + "id": 732, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 486, - "src": "1141:17:2", + "scope": 783, + "src": "1141:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3695,10 +3695,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 434, + "id": 731, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1141:7:2", + "src": "1141:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3709,11 +3709,11 @@ }, { "constant": false, - "id": 437, + "id": 734, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 486, - "src": "1167:18:2", + "scope": 783, + "src": "1167:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3721,10 +3721,10 @@ "typeString": "uint256" }, "typeName": { - "id": 436, + "id": 733, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1167:4:2", + "src": "1167:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3735,11 +3735,11 @@ }, { "constant": false, - "id": 439, + "id": 736, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 486, - "src": "1194:27:2", + "scope": 783, + "src": "1194:27:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3747,10 +3747,10 @@ "typeString": "uint256" }, "typeName": { - "id": 438, + "id": 735, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1194:4:2", + "src": "1194:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3761,11 +3761,11 @@ }, { "constant": false, - "id": 441, + "id": 738, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 486, - "src": "1230:18:2", + "scope": 783, + "src": "1230:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3773,10 +3773,10 @@ "typeString": "uint256" }, "typeName": { - "id": 440, + "id": 737, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1230:4:2", + "src": "1230:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3787,11 +3787,11 @@ }, { "constant": false, - "id": 443, + "id": 740, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 486, - "src": "1257:18:2", + "scope": 783, + "src": "1257:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3799,10 +3799,10 @@ "typeString": "uint256" }, "typeName": { - "id": 442, + "id": 739, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1257:4:2", + "src": "1257:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3812,26 +3812,26 @@ "visibility": "internal" } ], - "src": "1109:173:2" + "src": "1109:173:3" }, "payable": false, "returnParameters": { - "id": 445, + "id": 742, "nodeType": "ParameterList", "parameters": [], - "src": "1537:0:2" + "src": "1537:0:3" }, - "scope": 605, - "src": "1097:825:2", + "scope": 902, + "src": "1097:825:3", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 496, + "id": 793, "nodeType": "Block", - "src": "2232:59:2", + "src": "2232:59:3", "statements": [ { "expression": { @@ -3843,7 +3843,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 492, + "id": 789, "isConstant": false, "isLValue": false, "isPure": false, @@ -3852,18 +3852,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 489, + "id": 786, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "2251:3:2", + "referencedDeclaration": 1222, + "src": "2251:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 490, + "id": 787, "isConstant": false, "isLValue": false, "isPure": false, @@ -3871,7 +3871,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2251:10:2", + "src": "2251:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3881,18 +3881,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 491, + "id": 788, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 412, - "src": "2265:5:2", + "referencedDeclaration": 709, + "src": "2265:5:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2251:19:2", + "src": "2251:19:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3906,21 +3906,21 @@ "typeString": "bool" } ], - "id": 488, + "id": 785, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "2243:7:2", + "referencedDeclaration": 1225, + "src": "2243:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 493, + "id": 790, "isConstant": false, "isLValue": false, "isPure": false, @@ -3928,41 +3928,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2243:28:2", + "src": "2243:28:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 494, + "id": 791, "nodeType": "ExpressionStatement", - "src": "2243:28:2" + "src": "2243:28:3" }, { - "id": 495, + "id": 792, "nodeType": "PlaceholderStatement", - "src": "2282:1:2" + "src": "2282:1:3" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 497, + "id": 794, "name": "isEmployer", "nodeType": "ModifierDefinition", "parameters": { - "id": 487, + "id": 784, "nodeType": "ParameterList", "parameters": [], - "src": "2229:2:2" + "src": "2229:2:3" }, - "src": "2210:81:2", + "src": "2210:81:3", "visibility": "internal" }, { "body": { - "id": 526, + "id": 823, "nodeType": "Block", - "src": "2742:129:2", + "src": "2742:129:3", "statements": [ { "expression": { @@ -3970,12 +3970,12 @@ "components": [ { "argumentTypes": null, - "id": 516, + "id": 813, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 412, - "src": "2761:5:2", + "referencedDeclaration": 709, + "src": "2761:5:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3983,12 +3983,12 @@ }, { "argumentTypes": null, - "id": 517, + "id": 814, "name": "ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 416, - "src": "2768:8:2", + "referencedDeclaration": 713, + "src": "2768:8:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3996,12 +3996,12 @@ }, { "argumentTypes": null, - "id": 518, + "id": 815, "name": "resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 422, - "src": "2778:12:2", + "referencedDeclaration": 719, + "src": "2778:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4009,12 +4009,12 @@ }, { "argumentTypes": null, - "id": 519, + "id": 816, "name": "totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 424, - "src": "2792:21:2", + "referencedDeclaration": 721, + "src": "2792:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4022,12 +4022,12 @@ }, { "argumentTypes": null, - "id": 520, + "id": 817, "name": "resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 420, - "src": "2815:12:2", + "referencedDeclaration": 717, + "src": "2815:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4035,12 +4035,12 @@ }, { "argumentTypes": null, - "id": 521, + "id": 818, "name": "workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 418, - "src": "2829:12:2", + "referencedDeclaration": 715, + "src": "2829:12:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4048,12 +4048,12 @@ }, { "argumentTypes": null, - "id": 522, + "id": 819, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 426, - "src": "2843:7:2", + "referencedDeclaration": 723, + "src": "2843:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4061,40 +4061,40 @@ }, { "argumentTypes": null, - "id": 523, + "id": 820, "name": "expiration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 428, - "src": "2852:10:2", + "referencedDeclaration": 725, + "src": "2852:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 524, + "id": 821, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2760:103:2", + "src": "2760:103:3", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", "typeString": "tuple(address,bytes32,uint256,uint256,uint256,uint256,uint256,uint256)" } }, - "functionReturnParameters": 515, - "id": 525, + "functionReturnParameters": 812, + "id": 822, "nodeType": "Return", - "src": "2753:110:2" + "src": "2753:110:3" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 527, + "id": 824, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4102,23 +4102,23 @@ "name": "data", "nodeType": "FunctionDefinition", "parameters": { - "id": 498, + "id": 795, "nodeType": "ParameterList", "parameters": [], - "src": "2543:2:2" + "src": "2543:2:3" }, "payable": false, "returnParameters": { - "id": 515, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 500, + "id": 797, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2582:14:2", + "scope": 824, + "src": "2582:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4126,10 +4126,10 @@ "typeString": "address" }, "typeName": { - "id": 499, + "id": 796, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2582:7:2", + "src": "2582:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4140,11 +4140,11 @@ }, { "constant": false, - "id": 502, + "id": 799, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2598:17:2", + "scope": 824, + "src": "2598:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4152,10 +4152,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 501, + "id": 798, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2598:7:2", + "src": "2598:7:3", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4166,11 +4166,11 @@ }, { "constant": false, - "id": 504, + "id": 801, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2617:18:2", + "scope": 824, + "src": "2617:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4178,10 +4178,10 @@ "typeString": "uint256" }, "typeName": { - "id": 503, + "id": 800, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2617:4:2", + "src": "2617:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4192,11 +4192,11 @@ }, { "constant": false, - "id": 506, + "id": 803, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2637:27:2", + "scope": 824, + "src": "2637:27:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4204,10 +4204,10 @@ "typeString": "uint256" }, "typeName": { - "id": 505, + "id": 802, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2637:4:2", + "src": "2637:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4218,11 +4218,11 @@ }, { "constant": false, - "id": 508, + "id": 805, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2666:18:2", + "scope": 824, + "src": "2666:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4230,10 +4230,10 @@ "typeString": "uint256" }, "typeName": { - "id": 507, + "id": 804, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2666:4:2", + "src": "2666:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4244,11 +4244,11 @@ }, { "constant": false, - "id": 510, + "id": 807, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2685:18:2", + "scope": 824, + "src": "2685:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4256,10 +4256,10 @@ "typeString": "uint256" }, "typeName": { - "id": 509, + "id": 806, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2685:4:2", + "src": "2685:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4270,11 +4270,11 @@ }, { "constant": false, - "id": 512, + "id": 809, "name": "_created", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2704:13:2", + "scope": 824, + "src": "2704:13:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4282,10 +4282,10 @@ "typeString": "uint256" }, "typeName": { - "id": 511, + "id": 808, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2704:4:2", + "src": "2704:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4296,11 +4296,11 @@ }, { "constant": false, - "id": 514, + "id": 811, "name": "_expiration", "nodeType": "VariableDeclaration", - "scope": 527, - "src": "2719:16:2", + "scope": 824, + "src": "2719:16:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4308,10 +4308,10 @@ "typeString": "uint256" }, "typeName": { - "id": 513, + "id": 810, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2719:4:2", + "src": "2719:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4321,19 +4321,19 @@ "visibility": "internal" } ], - "src": "2581:155:2" + "src": "2581:155:3" }, - "scope": 605, - "src": "2530:341:2", + "scope": 902, + "src": "2530:341:3", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 558, + "id": 855, "nodeType": "Block", - "src": "3231:459:2", + "src": "3231:459:3", "statements": [ { "expression": { @@ -4345,19 +4345,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 533, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 531, + "id": 828, "name": "now", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 870, - "src": "3303:3:2", + "referencedDeclaration": 1224, + "src": "3303:3:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4367,18 +4367,18 @@ "operator": "<", "rightExpression": { "argumentTypes": null, - "id": 532, + "id": 829, "name": "expiration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 428, - "src": "3309:10:2", + "referencedDeclaration": 725, + "src": "3309:10:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3303:16:2", + "src": "3303:16:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4392,21 +4392,21 @@ "typeString": "bool" } ], - "id": 530, + "id": 827, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 871, - "src": "3295:7:2", + "referencedDeclaration": 1225, + "src": "3295:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 534, + "id": 831, "isConstant": false, "isLValue": false, "isPure": false, @@ -4414,43 +4414,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3295:25:2", + "src": "3295:25:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 535, + "id": 832, "nodeType": "ExpressionStatement", - "src": "3295:25:2" + "src": "3295:25:3" }, { "assignments": [ - 537 + 834 ], "declarations": [ { "constant": false, - "id": 537, + "id": 834, "name": "applicant", "nodeType": "VariableDeclaration", - "scope": 559, - "src": "3377:22:2", + "scope": 856, + "src": "3377:22:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 536, + "id": 833, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "3377:12:2", + "referencedDeclaration": 674, + "src": "3377:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, @@ -4458,20 +4458,20 @@ "visibility": "internal" } ], - "id": 544, + "id": 841, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 540, + "id": 837, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 883, - "src": "3437:4:2", + "referencedDeclaration": 1239, + "src": "3437:4:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -4479,18 +4479,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 541, + "id": 838, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "3443:3:2", + "referencedDeclaration": 1222, + "src": "3443:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 542, + "id": 839, "isConstant": false, "isLValue": false, "isPure": false, @@ -4498,7 +4498,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3443:10:2", + "src": "3443:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4508,7 +4508,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" }, { @@ -4518,32 +4518,32 @@ ], "expression": { "argumentTypes": null, - "id": 538, + "id": 835, "name": "JobApplicationLibrary", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 400, - "src": "3402:21:2", + "referencedDeclaration": 697, + "src": "3402:21:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_JobApplicationLibrary_$400_$", + "typeIdentifier": "t_type$_t_contract$_JobApplicationLibrary_$697_$", "typeString": "type(library JobApplicationLibrary)" } }, - "id": 539, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "newApplicant", "nodeType": "MemberAccess", - "referencedDeclaration": 399, - "src": "3402:34:2", + "referencedDeclaration": 696, + "src": "3402:34:3", "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_nonpayable$_t_contract$_Listing_$605_$_t_address_$returns$_t_contract$_JobApplicant_$377_$", + "typeIdentifier": "t_function_delegatecall_nonpayable$_t_contract$_Listing_$902_$_t_address_$returns$_t_contract$_JobApplicant_$674_$", "typeString": "function (contract Listing,address) returns (contract JobApplicant)" } }, - "id": 543, + "id": 840, "isConstant": false, "isLValue": false, "isPure": false, @@ -4551,14 +4551,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3402:52:2", + "src": "3402:52:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, "nodeType": "VariableDeclarationStatement", - "src": "3377:77:2" + "src": "3377:77:3" }, { "expression": { @@ -4566,14 +4566,14 @@ "arguments": [ { "argumentTypes": null, - "id": 548, + "id": 845, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 537, - "src": "3483:9:2", + "referencedDeclaration": 834, + "src": "3483:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } } @@ -4581,24 +4581,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } ], "expression": { "argumentTypes": null, - "id": 545, + "id": 842, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "3467:10:2", + "referencedDeclaration": 728, + "src": "3467:10:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "id": 547, + "id": 844, "isConstant": false, "isLValue": false, "isPure": false, @@ -4606,13 +4606,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3467:15:2", + "src": "3467:15:3", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_JobApplicant_$377_$returns$_t_uint256_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_JobApplicant_$674_$returns$_t_uint256_$", "typeString": "function (contract JobApplicant) returns (uint256)" } }, - "id": 549, + "id": 846, "isConstant": false, "isLValue": false, "isPure": false, @@ -4620,15 +4620,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3467:26:2", + "src": "3467:26:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 550, + "id": 847, "nodeType": "ExpressionStatement", - "src": "3467:26:2" + "src": "3467:26:3" }, { "eventCall": { @@ -4636,14 +4636,14 @@ "arguments": [ { "argumentTypes": null, - "id": 552, + "id": 849, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 537, - "src": "3641:9:2", + "referencedDeclaration": 834, + "src": "3641:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } } @@ -4651,22 +4651,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } ], - "id": 551, + "id": 848, "name": "ListingApplied", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 408, - "src": "3626:14:2", + "referencedDeclaration": 705, + "src": "3626:14:3", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_contract$_JobApplicant_$377_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_contract$_JobApplicant_$674_$returns$__$", "typeString": "function (contract JobApplicant)" } }, - "id": 553, + "id": 850, "isConstant": false, "isLValue": false, "isPure": false, @@ -4674,15 +4674,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3626:25:2", + "src": "3626:25:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 554, + "id": 851, "nodeType": "EmitStatement", - "src": "3621:30:2" + "src": "3621:30:3" }, { "eventCall": { @@ -4690,18 +4690,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 555, + "id": 852, "name": "ListingChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "3667:13:2", + "referencedDeclaration": 707, + "src": "3667:13:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 556, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -4709,20 +4709,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3667:15:2", + "src": "3667:15:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 557, + "id": 854, "nodeType": "EmitStatement", - "src": "3662:20:2" + "src": "3662:20:3" } ] }, "documentation": "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n @dev ApplyToJob()\t\t--> An applicant can apply for a Job Listing\r\n//////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 559, + "id": 856, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -4730,47 +4730,47 @@ "name": "applyToJob", "nodeType": "FunctionDefinition", "parameters": { - "id": 528, + "id": 825, "nodeType": "ParameterList", "parameters": [], - "src": "3207:2:2" + "src": "3207:2:3" }, "payable": false, "returnParameters": { - "id": 529, + "id": 826, "nodeType": "ParameterList", "parameters": [], - "src": "3231:0:2" + "src": "3231:0:3" }, - "scope": 605, - "src": "3188:502:2", + "scope": 902, + "src": "3188:502:3", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 567, + "id": 864, "nodeType": "Block", - "src": "4081:43:2", + "src": "4081:43:3", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 564, + "id": 861, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "4099:10:2", + "referencedDeclaration": 728, + "src": "4099:10:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "id": 565, + "id": 862, "isConstant": false, "isLValue": true, "isPure": false, @@ -4778,21 +4778,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4099:17:2", + "src": "4099:17:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 563, - "id": 566, + "functionReturnParameters": 860, + "id": 863, "nodeType": "Return", - "src": "4092:24:2" + "src": "4092:24:3" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\t@dev totalJobApplicants(): Return number of applicants for a given Job Listing\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 568, + "id": 865, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4800,23 +4800,23 @@ "name": "totalJobApplicants", "nodeType": "FunctionDefinition", "parameters": { - "id": 560, + "id": 857, "nodeType": "ParameterList", "parameters": [], - "src": "4021:2:2" + "src": "4021:2:3" }, "payable": false, "returnParameters": { - "id": 563, + "id": 860, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 562, + "id": 859, "name": "", "nodeType": "VariableDeclaration", - "scope": 568, - "src": "4070:4:2", + "scope": 865, + "src": "4070:4:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4824,10 +4824,10 @@ "typeString": "uint256" }, "typeName": { - "id": 561, + "id": 858, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4070:4:2", + "src": "4070:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4837,19 +4837,19 @@ "visibility": "internal" } ], - "src": "4069:6:2" + "src": "4069:6:3" }, - "scope": 605, - "src": "3994:130:2", + "scope": 902, + "src": "3994:130:3", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 580, + "id": 877, "nodeType": "Block", - "src": "4381:68:2", + "src": "4381:68:3", "statements": [ { "expression": { @@ -4859,26 +4859,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 575, + "id": 872, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "4412:10:2", + "referencedDeclaration": 728, + "src": "4412:10:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "id": 577, + "id": 874, "indexExpression": { "argumentTypes": null, - "id": 576, + "id": 873, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 570, - "src": "4423:6:2", + "referencedDeclaration": 867, + "src": "4423:6:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4889,35 +4889,35 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4412:18:2", + "src": "4412:18:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } } ], - "id": 578, + "id": 875, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "4399:42:2", + "src": "4399:42:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, - "functionReturnParameters": 574, - "id": 579, + "functionReturnParameters": 871, + "id": 876, "nodeType": "Return", - "src": "4392:49:2" + "src": "4392:49:3" } ] }, "documentation": "@dev getApplicant(): Return Job Application info for a given Job Listing\r\n @param _index the index of the Listing we want info about\r", - "id": 581, + "id": 878, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4925,16 +4925,16 @@ "name": "getApplicant", "nodeType": "FunctionDefinition", "parameters": { - "id": 571, + "id": 868, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 570, + "id": 867, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 581, - "src": "4303:11:2", + "scope": 878, + "src": "4303:11:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4942,10 +4942,10 @@ "typeString": "uint256" }, "typeName": { - "id": 569, + "id": 866, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4303:4:2", + "src": "4303:4:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4955,35 +4955,35 @@ "visibility": "internal" } ], - "src": "4302:13:2" + "src": "4302:13:3" }, "payable": false, "returnParameters": { - "id": 574, + "id": 871, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 573, + "id": 870, "name": "", "nodeType": "VariableDeclaration", - "scope": 581, - "src": "4362:12:2", + "scope": 878, + "src": "4362:12:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 572, + "id": 869, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "4362:12:2", + "referencedDeclaration": 674, + "src": "4362:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, @@ -4991,19 +4991,19 @@ "visibility": "internal" } ], - "src": "4361:14:2" + "src": "4361:14:3" }, - "scope": 605, - "src": "4281:168:2", + "scope": 902, + "src": "4281:168:3", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 590, + "id": 887, "nodeType": "Block", - "src": "4549:60:2", + "src": "4549:60:3", "statements": [ { "expression": { @@ -5011,40 +5011,40 @@ "components": [ { "argumentTypes": null, - "id": 587, + "id": 884, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "4580:10:2", + "referencedDeclaration": 728, + "src": "4580:10:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } } ], - "id": 588, + "id": 885, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "4567:34:2", + "src": "4567:34:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "functionReturnParameters": 586, - "id": 589, + "functionReturnParameters": 883, + "id": 886, "nodeType": "Return", - "src": "4560:41:2" + "src": "4560:41:3" } ] }, "documentation": null, - "id": 591, + "id": 888, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5052,48 +5052,48 @@ "name": "getApplicants", "nodeType": "FunctionDefinition", "parameters": { - "id": 582, + "id": 879, "nodeType": "ParameterList", "parameters": [], - "src": "4479:2:2" + "src": "4479:2:3" }, "payable": false, "returnParameters": { - "id": 586, + "id": 883, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 585, + "id": 882, "name": "", "nodeType": "VariableDeclaration", - "scope": 591, - "src": "4528:14:2", + "scope": 888, + "src": "4528:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_memory_ptr", "typeString": "contract JobApplicant[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 583, + "id": 880, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 377, - "src": "4528:12:2", + "referencedDeclaration": 674, + "src": "4528:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$377", + "typeIdentifier": "t_contract$_JobApplicant_$674", "typeString": "contract JobApplicant" } }, - "id": 584, + "id": 881, "length": null, "nodeType": "ArrayTypeName", - "src": "4528:14:2", + "src": "4528:14:3", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$377_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage_ptr", "typeString": "contract JobApplicant[]" } }, @@ -5101,36 +5101,36 @@ "visibility": "internal" } ], - "src": "4527:16:2" + "src": "4527:16:3" }, - "scope": 605, - "src": "4457:152:2", + "scope": 902, + "src": "4457:152:3", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 603, + "id": 900, "nodeType": "Block", - "src": "5991:75:2", + "src": "5991:75:3", "statements": [ { "expression": { "argumentTypes": null, - "id": 598, + "id": 895, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 596, + "id": 893, "name": "totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 424, - "src": "6002:21:2", + "referencedDeclaration": 721, + "src": "6002:21:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5141,14 +5141,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "30", - "id": 597, + "id": 894, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6026:1:2", + "src": "6026:1:3", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -5156,15 +5156,15 @@ }, "value": "0" }, - "src": "6002:25:2", + "src": "6002:25:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 599, + "id": 896, "nodeType": "ExpressionStatement", - "src": "6002:25:2" + "src": "6002:25:3" }, { "eventCall": { @@ -5172,18 +5172,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 600, + "id": 897, "name": "ListingChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 410, - "src": "6043:13:2", + "referencedDeclaration": 707, + "src": "6043:13:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 601, + "id": 898, "isConstant": false, "isLValue": false, "isPure": false, @@ -5191,71 +5191,71 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6043:15:2", + "src": "6043:15:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 602, + "id": 899, "nodeType": "EmitStatement", - "src": "6038:20:2" + "src": "6038:20:3" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r\n @dev close(): Allows an employer to close the Job Listing from further applicants\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 604, + "id": 901, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 594, + "id": 891, "modifierName": { "argumentTypes": null, - "id": 593, + "id": 890, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 497, - "src": "5975:10:2", + "referencedDeclaration": 794, + "src": "5975:10:3", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5975:10:2" + "src": "5975:10:3" } ], "name": "close", "nodeType": "FunctionDefinition", "parameters": { - "id": 592, + "id": 889, "nodeType": "ParameterList", "parameters": [], - "src": "5947:2:2" + "src": "5947:2:3" }, "payable": false, "returnParameters": { - "id": 595, + "id": 892, "nodeType": "ParameterList", "parameters": [], - "src": "5991:0:2" + "src": "5991:0:3" }, - "scope": 605, - "src": "5933:133:2", + "scope": 902, + "src": "5933:133:3", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 606, - "src": "209:5968:2" + "scope": 903, + "src": "209:5968:3" } ], - "src": "0:6187:2" + "src": "0:6187:3" }, "compiler": { "name": "solc", @@ -5273,8 +5273,14 @@ "links": { "JobApplicationLibrary": "0xf12b5dd4ead5f743c6baa640b0216200e89b60da" } + }, + "1538849010791": { + "events": {}, + "links": { + "JobApplicationLibrary": "0x4ef40c4a7fc80cb4bc48a8444b6a741348fc9675" + } } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-08-09T15:53:00.310Z" + "updatedAt": "2018-10-08T16:52:52.834Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/ListingsRegistry.json b/ethereum/build/contracts/ListingsRegistry.json index a05b246..da02ced 100644 --- a/ethereum/build/contracts/ListingsRegistry.json +++ b/ethereum/build/contracts/ListingsRegistry.json @@ -221,54 +221,54 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b5060008054600160a060020a031916331790556111ac806100326000396000f30060806040526004361061008d5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663107a274a811461009257806336a8c793146100ee5780636519bfa6146101305780637afd81f51461019b5780637d1fbc9b146101b05780638da5cb5b146101d4578063de74e57b14610205578063f1b2d6a31461021d575b600080fd5b34801561009e57600080fd5b506100aa600435610232565b60408051600160a060020a039889168152969097166020870152858701949094526060850192909252608084015260a083015260c082015290519081900360e00190f35b3480156100fa57600080fd5b5061011e600435602435604435606435608435600160a060020a0360a4351661068f565b60408051918252519081900360200190f35b34801561013c57600080fd5b5061014b6004356024356107f5565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561018757818101518382015260200161016f565b505050509050019250505060405180910390f35b3480156101a757600080fd5b5061011e6108aa565b3480156101bc57600080fd5b5061011e6004356024356044356064356084356108b0565b3480156101e057600080fd5b506101e961099d565b60408051600160a060020a039092168252519081900360200190f35b34801561021157600080fd5b506101e96004356109ac565b34801561022957600080fd5b5061014b6109d4565b600080600080600080600060018881548110151561024c57fe5b60009182526020909120015460018054600160a060020a03909216918a90811061027257fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156102e657600080fd5b505af11580156102fa573d6000803e3d6000fd5b505050506040513d602081101561031057600080fd5b5051600180548b90811061032057fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663c623674f6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561039457600080fd5b505af11580156103a8573d6000803e3d6000fd5b505050506040513d60208110156103be57600080fd5b5051600180548c9081106103ce57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663bc65793e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561044257600080fd5b505af1158015610456573d6000803e3d6000fd5b505050506040513d602081101561046c57600080fd5b5051600180548d90811061047c57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663f7d221906040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156104f057600080fd5b505af1158015610504573d6000803e3d6000fd5b505050506040513d602081101561051a57600080fd5b5051600180548e90811061052a57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663883c22c56040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561059e57600080fd5b505af11580156105b2573d6000803e3d6000fd5b505050506040513d60208110156105c857600080fd5b5051600180548f9081106105d857fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316634b91b9556040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561064c57600080fd5b505af1158015610660573d6000803e3d6000fd5b505050506040513d602081101561067657600080fd5b5051959e949d50929b5090995097509550909350915050565b60008054600160a060020a0316331461070957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4f6e6c792063616c6c61626c65206279207265676973747279206f776e657200604482015290519081900360640190fd5b6001828888888888610719610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f08015801561076a573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a1506001549695505050505050565b60015460609082906000908590038211156108135760015485900391505b8160405190808252806020026020018201604052801561083d578160200160208202803883390190505b509250600090505b818110156108a2576001805486830190811061085d57fe5b6000918252602090912001548351600160a060020a039091169084908390811061088357fe5b600160a060020a03909216602092830290910190910152600101610845565b505092915050565b60015490565b600060013387878787876108c2610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f080158015610913573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a15060015495945050505050565b600054600160a060020a031681565b60018054829081106109ba57fe5b600091825260209091200154600160a060020a0316905081565b60606001805480602002602001604051908101604052809291908181526020018280548015610a2c57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610a0e575b5050505050905090565b60405161073a80610a47833901905600608060405234801561001057600080fd5b5060405160c08061073a83398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03909516600160a060020a0319958616179055600180549094163317909355600293909355600555600691909155600491909155600355426007819055621275000160085561069d8061009d6000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a7230582090b6420d9e2c03b67c2596da4a5dc977d67715bf13e5e73cf5ea54d8ac6e7df70029a165627a7a723058204f1a3c58adfeff5500a523831704c41056c004f4d3c2d4092082db0fe22b8cc40029", - "deployedBytecode": "0x60806040526004361061008d5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663107a274a811461009257806336a8c793146100ee5780636519bfa6146101305780637afd81f51461019b5780637d1fbc9b146101b05780638da5cb5b146101d4578063de74e57b14610205578063f1b2d6a31461021d575b600080fd5b34801561009e57600080fd5b506100aa600435610232565b60408051600160a060020a039889168152969097166020870152858701949094526060850192909252608084015260a083015260c082015290519081900360e00190f35b3480156100fa57600080fd5b5061011e600435602435604435606435608435600160a060020a0360a4351661068f565b60408051918252519081900360200190f35b34801561013c57600080fd5b5061014b6004356024356107f5565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561018757818101518382015260200161016f565b505050509050019250505060405180910390f35b3480156101a757600080fd5b5061011e6108aa565b3480156101bc57600080fd5b5061011e6004356024356044356064356084356108b0565b3480156101e057600080fd5b506101e961099d565b60408051600160a060020a039092168252519081900360200190f35b34801561021157600080fd5b506101e96004356109ac565b34801561022957600080fd5b5061014b6109d4565b600080600080600080600060018881548110151561024c57fe5b60009182526020909120015460018054600160a060020a03909216918a90811061027257fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156102e657600080fd5b505af11580156102fa573d6000803e3d6000fd5b505050506040513d602081101561031057600080fd5b5051600180548b90811061032057fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663c623674f6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561039457600080fd5b505af11580156103a8573d6000803e3d6000fd5b505050506040513d60208110156103be57600080fd5b5051600180548c9081106103ce57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663bc65793e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561044257600080fd5b505af1158015610456573d6000803e3d6000fd5b505050506040513d602081101561046c57600080fd5b5051600180548d90811061047c57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663f7d221906040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156104f057600080fd5b505af1158015610504573d6000803e3d6000fd5b505050506040513d602081101561051a57600080fd5b5051600180548e90811061052a57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663883c22c56040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561059e57600080fd5b505af11580156105b2573d6000803e3d6000fd5b505050506040513d60208110156105c857600080fd5b5051600180548f9081106105d857fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316634b91b9556040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561064c57600080fd5b505af1158015610660573d6000803e3d6000fd5b505050506040513d602081101561067657600080fd5b5051959e949d50929b5090995097509550909350915050565b60008054600160a060020a0316331461070957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4f6e6c792063616c6c61626c65206279207265676973747279206f776e657200604482015290519081900360640190fd5b6001828888888888610719610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f08015801561076a573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a1506001549695505050505050565b60015460609082906000908590038211156108135760015485900391505b8160405190808252806020026020018201604052801561083d578160200160208202803883390190505b509250600090505b818110156108a2576001805486830190811061085d57fe5b6000918252602090912001548351600160a060020a039091169084908390811061088357fe5b600160a060020a03909216602092830290910190910152600101610845565b505092915050565b60015490565b600060013387878787876108c2610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f080158015610913573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a15060015495945050505050565b600054600160a060020a031681565b60018054829081106109ba57fe5b600091825260209091200154600160a060020a0316905081565b60606001805480602002602001604051908101604052809291908181526020018280548015610a2c57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610a0e575b5050505050905090565b60405161073a80610a47833901905600608060405234801561001057600080fd5b5060405160c08061073a83398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03909516600160a060020a0319958616179055600180549094163317909355600293909355600555600691909155600491909155600355426007819055621275000160085561069d8061009d6000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a7230582090b6420d9e2c03b67c2596da4a5dc977d67715bf13e5e73cf5ea54d8ac6e7df70029a165627a7a723058204f1a3c58adfeff5500a523831704c41056c004f4d3c2d4092082db0fe22b8cc40029", - "sourceMap": "199:4133:3:-;;;479:114;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;567:5:3;:18;;-1:-1:-1;;;;;;567:18:3;575:10;567:18;;;199:4133;;;;;;", - "deployedSourceMap": "199:4133:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1024:715;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1024:715:3;;;;;;;;;-1:-1:-1;;;;;1024:715:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3776:553;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3776:553:3;;;;;;;;;;;-1:-1:-1;;;;;3776:553:3;;;;;;;;;;;;;;;;;;;;;1747:438;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1747:438:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1747:438:3;;;;;;;;;;;;;;;;;657:124;;8:9:-1;5:2;;;30:1;27;20:12;5:2;657:124:3;;;;2868:430;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2868:430:3;;;;;;;;;;;;;350:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;350:20:3;;;;;;;;-1:-1:-1;;;;;350:20:3;;;;;;;;;;;;;;407:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;407:25:3;;;;;793:88;;8:9:-1;5:2;;;30:1;27;20:12;5:2;793:88:3;;;;1024:715;1103:7;1112;1121;1130:4;1136;1141;1147;1442:8;1451:6;1442:16;;;;;;;;;;;;;;;;;;;;;1471;;-1:-1:-1;;;;;1442:16:3;;;;1480:6;;1471:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1471:16:3;-1:-1:-1;;;;;1471:22:3;;:24;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1471:24:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1471:24:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1471:24:3;1508:8;:16;;1517:6;;1508:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1508:16:3;-1:-1:-1;;;;;1508:25:3;;:27;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1508:27:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1508:27:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1508:27:3;1548:8;:16;;1557:6;;1548:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1548:16:3;-1:-1:-1;;;;;1548:29:3;;:31;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1548:31:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1548:31:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1548:31:3;1592:8;:16;;1601:6;;1592:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1592:16:3;-1:-1:-1;;;;;1592:29:3;;:31;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1592:31:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1592:31:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1592:31:3;1636:8;:16;;1645:6;;1636:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1636:16:3;-1:-1:-1;;;;;1636:29:3;;:31;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1636:31:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1636:31:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1636:31:3;1680:8;:16;;1689:6;;1680:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1680:16:3;-1:-1:-1;;;;;1680:38:3;;:40;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1680:40:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1680:40:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1680:40:3;1422:309;;;;-1:-1:-1;1422:309:3;;-1:-1:-1;1422:309:3;;-1:-1:-1;1422:309:3;-1:-1:-1;1422:309:3;-1:-1:-1;1680:40:3;;-1:-1:-1;1024:715:3;-1:-1:-1;;1024:715:3:o;3776:553::-;4024:4;4069:5;;-1:-1:-1;;;;;4069:5:3;4055:10;:19;4046:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4121:8;4147:15;4165:9;4176:13;4191;4205;4219:22;4135:107;;:::i;:::-;-1:-1:-1;;;;;4135:107:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;27:10;;39:1;23:18;;;45:23;;-1:-1;4121:122:3;;;;;;;;;;;;;-1:-1:-1;;4121:122:3;-1:-1:-1;;;;;4121:122:3;;;;;;;;;;;4270:15;4259:29;;;-1:-1:-1;;4270:17:3;;;4259:29;;;;;;;;;;;;;;-1:-1:-1;4306:8:3;:15;3776:553;;;;;;;;:::o;1747:438::-;1917:8;:15;1835:16;;1886:7;;1869:14;;1917:24;;;1908:33;;1904:99;;;1967:8;:15;:24;;;;-1:-1:-1;1904:99:3;2038:6;2024:21;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;2024:21:3;;2015:30;;2073:1;2061:13;;2056:96;2080:6;2076:1;:10;2056:96;;;2120:8;:20;;2129:10;;;;2120:20;;;;;;;;;;;;;;;;2108:9;;-1:-1:-1;;;;;2120:20:3;;;;2108:6;;2115:1;;2108:9;;;;;;-1:-1:-1;;;;;2108:32:3;;;:9;;;;;;;;;;:32;2088:3;;2056:96;;;1747:438;;;;;;:::o;657:124::-;758:8;:15;657:124;:::o;2868:430::-;3074:4;3096:8;3122:10;3134:9;3145:13;3160;3174;3188:22;3110:101;;:::i;:::-;-1:-1:-1;;;;;3110:101:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;27:10;;39:1;23:18;;;45:23;;-1:-1;3096:116:3;;;;;;;;;;;;;-1:-1:-1;;3096:116:3;-1:-1:-1;;;;;3096:116:3;;;;;;;;;;;3239:15;3228:29;;;-1:-1:-1;;3239:17:3;;;3228:29;;;;;;;;;;;;;;-1:-1:-1;3275:8:3;:15;2868:430;;;;;;;:::o;350:20::-;;;-1:-1:-1;;;;;350:20:3;;:::o;407:25::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:25:3;;-1:-1:-1;407:25:3;:::o;793:88::-;837:9;865:8;858:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;858:15:3;;;;;;;;;;;;;;;;;;;;;;;793:88;:::o;199:4133::-;;;;;;;;;;:::o", + "bytecode": "0x608060405234801561001057600080fd5b5060008054600160a060020a031916331790556111ac806100326000396000f30060806040526004361061008d5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663107a274a811461009257806336a8c793146100ee5780636519bfa6146101305780637afd81f51461019b5780637d1fbc9b146101b05780638da5cb5b146101d4578063de74e57b14610205578063f1b2d6a31461021d575b600080fd5b34801561009e57600080fd5b506100aa600435610232565b60408051600160a060020a039889168152969097166020870152858701949094526060850192909252608084015260a083015260c082015290519081900360e00190f35b3480156100fa57600080fd5b5061011e600435602435604435606435608435600160a060020a0360a4351661068f565b60408051918252519081900360200190f35b34801561013c57600080fd5b5061014b6004356024356107f5565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561018757818101518382015260200161016f565b505050509050019250505060405180910390f35b3480156101a757600080fd5b5061011e6108aa565b3480156101bc57600080fd5b5061011e6004356024356044356064356084356108b0565b3480156101e057600080fd5b506101e961099d565b60408051600160a060020a039092168252519081900360200190f35b34801561021157600080fd5b506101e96004356109ac565b34801561022957600080fd5b5061014b6109d4565b600080600080600080600060018881548110151561024c57fe5b60009182526020909120015460018054600160a060020a03909216918a90811061027257fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156102e657600080fd5b505af11580156102fa573d6000803e3d6000fd5b505050506040513d602081101561031057600080fd5b5051600180548b90811061032057fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663c623674f6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561039457600080fd5b505af11580156103a8573d6000803e3d6000fd5b505050506040513d60208110156103be57600080fd5b5051600180548c9081106103ce57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663bc65793e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561044257600080fd5b505af1158015610456573d6000803e3d6000fd5b505050506040513d602081101561046c57600080fd5b5051600180548d90811061047c57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663f7d221906040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156104f057600080fd5b505af1158015610504573d6000803e3d6000fd5b505050506040513d602081101561051a57600080fd5b5051600180548e90811061052a57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663883c22c56040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561059e57600080fd5b505af11580156105b2573d6000803e3d6000fd5b505050506040513d60208110156105c857600080fd5b5051600180548f9081106105d857fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316634b91b9556040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561064c57600080fd5b505af1158015610660573d6000803e3d6000fd5b505050506040513d602081101561067657600080fd5b5051959e949d50929b5090995097509550909350915050565b60008054600160a060020a0316331461070957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4f6e6c792063616c6c61626c65206279207265676973747279206f776e657200604482015290519081900360640190fd5b6001828888888888610719610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f08015801561076a573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a1506001549695505050505050565b60015460609082906000908590038211156108135760015485900391505b8160405190808252806020026020018201604052801561083d578160200160208202803883390190505b509250600090505b818110156108a2576001805486830190811061085d57fe5b6000918252602090912001548351600160a060020a039091169084908390811061088357fe5b600160a060020a03909216602092830290910190910152600101610845565b505092915050565b60015490565b600060013387878787876108c2610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f080158015610913573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a15060015495945050505050565b600054600160a060020a031681565b60018054829081106109ba57fe5b600091825260209091200154600160a060020a0316905081565b60606001805480602002602001604051908101604052809291908181526020018280548015610a2c57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610a0e575b5050505050905090565b60405161073a80610a47833901905600608060405234801561001057600080fd5b5060405160c08061073a83398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03909516600160a060020a0319958616179055600180549094163317909355600293909355600555600691909155600491909155600355426007819055621275000160085561069d8061009d6000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a72305820f92ff69f9d4446576b9583f3eed7bbd7d104ab4e90f8f2e8cea9fb8f475f5fc70029a165627a7a7230582007b88aa02f106a47f2f8dc9456d98ba84ae25a277c29f5be5b190e20d60a2f8c0029", + "deployedBytecode": "0x60806040526004361061008d5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663107a274a811461009257806336a8c793146100ee5780636519bfa6146101305780637afd81f51461019b5780637d1fbc9b146101b05780638da5cb5b146101d4578063de74e57b14610205578063f1b2d6a31461021d575b600080fd5b34801561009e57600080fd5b506100aa600435610232565b60408051600160a060020a039889168152969097166020870152858701949094526060850192909252608084015260a083015260c082015290519081900360e00190f35b3480156100fa57600080fd5b5061011e600435602435604435606435608435600160a060020a0360a4351661068f565b60408051918252519081900360200190f35b34801561013c57600080fd5b5061014b6004356024356107f5565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561018757818101518382015260200161016f565b505050509050019250505060405180910390f35b3480156101a757600080fd5b5061011e6108aa565b3480156101bc57600080fd5b5061011e6004356024356044356064356084356108b0565b3480156101e057600080fd5b506101e961099d565b60408051600160a060020a039092168252519081900360200190f35b34801561021157600080fd5b506101e96004356109ac565b34801561022957600080fd5b5061014b6109d4565b600080600080600080600060018881548110151561024c57fe5b60009182526020909120015460018054600160a060020a03909216918a90811061027257fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156102e657600080fd5b505af11580156102fa573d6000803e3d6000fd5b505050506040513d602081101561031057600080fd5b5051600180548b90811061032057fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663c623674f6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561039457600080fd5b505af11580156103a8573d6000803e3d6000fd5b505050506040513d60208110156103be57600080fd5b5051600180548c9081106103ce57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663bc65793e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561044257600080fd5b505af1158015610456573d6000803e3d6000fd5b505050506040513d602081101561046c57600080fd5b5051600180548d90811061047c57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663f7d221906040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156104f057600080fd5b505af1158015610504573d6000803e3d6000fd5b505050506040513d602081101561051a57600080fd5b5051600180548e90811061052a57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663883c22c56040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561059e57600080fd5b505af11580156105b2573d6000803e3d6000fd5b505050506040513d60208110156105c857600080fd5b5051600180548f9081106105d857fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316634b91b9556040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561064c57600080fd5b505af1158015610660573d6000803e3d6000fd5b505050506040513d602081101561067657600080fd5b5051959e949d50929b5090995097509550909350915050565b60008054600160a060020a0316331461070957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4f6e6c792063616c6c61626c65206279207265676973747279206f776e657200604482015290519081900360640190fd5b6001828888888888610719610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f08015801561076a573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a1506001549695505050505050565b60015460609082906000908590038211156108135760015485900391505b8160405190808252806020026020018201604052801561083d578160200160208202803883390190505b509250600090505b818110156108a2576001805486830190811061085d57fe5b6000918252602090912001548351600160a060020a039091169084908390811061088357fe5b600160a060020a03909216602092830290910190910152600101610845565b505092915050565b60015490565b600060013387878787876108c2610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f080158015610913573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a15060015495945050505050565b600054600160a060020a031681565b60018054829081106109ba57fe5b600091825260209091200154600160a060020a0316905081565b60606001805480602002602001604051908101604052809291908181526020018280548015610a2c57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610a0e575b5050505050905090565b60405161073a80610a47833901905600608060405234801561001057600080fd5b5060405160c08061073a83398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03909516600160a060020a0319958616179055600180549094163317909355600293909355600555600691909155600491909155600355426007819055621275000160085561069d8061009d6000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a72305820f92ff69f9d4446576b9583f3eed7bbd7d104ab4e90f8f2e8cea9fb8f475f5fc70029a165627a7a7230582007b88aa02f106a47f2f8dc9456d98ba84ae25a277c29f5be5b190e20d60a2f8c0029", + "sourceMap": "199:4133:4:-;;;479:114;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;567:5:4;:18;;-1:-1:-1;;;;;;567:18:4;575:10;567:18;;;199:4133;;;;;;", + "deployedSourceMap": "199:4133:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1024:715;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1024:715:4;;;;;;;;;-1:-1:-1;;;;;1024:715:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3776:553;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3776:553:4;;;;;;;;;;;-1:-1:-1;;;;;3776:553:4;;;;;;;;;;;;;;;;;;;;;1747:438;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1747:438:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1747:438:4;;;;;;;;;;;;;;;;;657:124;;8:9:-1;5:2;;;30:1;27;20:12;5:2;657:124:4;;;;2868:430;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2868:430:4;;;;;;;;;;;;;350:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;350:20:4;;;;;;;;-1:-1:-1;;;;;350:20:4;;;;;;;;;;;;;;407:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;407:25:4;;;;;793:88;;8:9:-1;5:2;;;30:1;27;20:12;5:2;793:88:4;;;;1024:715;1103:7;1112;1121;1130:4;1136;1141;1147;1442:8;1451:6;1442:16;;;;;;;;;;;;;;;;;;;;;1471;;-1:-1:-1;;;;;1442:16:4;;;;1480:6;;1471:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1471:16:4;-1:-1:-1;;;;;1471:22:4;;:24;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1471:24:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1471:24:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1471:24:4;1508:8;:16;;1517:6;;1508:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1508:16:4;-1:-1:-1;;;;;1508:25:4;;:27;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1508:27:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1508:27:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1508:27:4;1548:8;:16;;1557:6;;1548:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1548:16:4;-1:-1:-1;;;;;1548:29:4;;:31;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1548:31:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1548:31:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1548:31:4;1592:8;:16;;1601:6;;1592:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1592:16:4;-1:-1:-1;;;;;1592:29:4;;:31;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1592:31:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1592:31:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1592:31:4;1636:8;:16;;1645:6;;1636:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1636:16:4;-1:-1:-1;;;;;1636:29:4;;:31;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1636:31:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1636:31:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1636:31:4;1680:8;:16;;1689:6;;1680:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1680:16:4;-1:-1:-1;;;;;1680:38:4;;:40;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1680:40:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1680:40:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1680:40:4;1422:309;;;;-1:-1:-1;1422:309:4;;-1:-1:-1;1422:309:4;;-1:-1:-1;1422:309:4;-1:-1:-1;1422:309:4;-1:-1:-1;1680:40:4;;-1:-1:-1;1024:715:4;-1:-1:-1;;1024:715:4:o;3776:553::-;4024:4;4069:5;;-1:-1:-1;;;;;4069:5:4;4055:10;:19;4046:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4121:8;4147:15;4165:9;4176:13;4191;4205;4219:22;4135:107;;:::i;:::-;-1:-1:-1;;;;;4135:107:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;27:10;;39:1;23:18;;;45:23;;-1:-1;4121:122:4;;;;;;;;;;;;;-1:-1:-1;;4121:122:4;-1:-1:-1;;;;;4121:122:4;;;;;;;;;;;4270:15;4259:29;;;-1:-1:-1;;4270:17:4;;;4259:29;;;;;;;;;;;;;;-1:-1:-1;4306:8:4;:15;3776:553;;;;;;;;:::o;1747:438::-;1917:8;:15;1835:16;;1886:7;;1869:14;;1917:24;;;1908:33;;1904:99;;;1967:8;:15;:24;;;;-1:-1:-1;1904:99:4;2038:6;2024:21;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;2024:21:4;;2015:30;;2073:1;2061:13;;2056:96;2080:6;2076:1;:10;2056:96;;;2120:8;:20;;2129:10;;;;2120:20;;;;;;;;;;;;;;;;2108:9;;-1:-1:-1;;;;;2120:20:4;;;;2108:6;;2115:1;;2108:9;;;;;;-1:-1:-1;;;;;2108:32:4;;;:9;;;;;;;;;;:32;2088:3;;2056:96;;;1747:438;;;;;;:::o;657:124::-;758:8;:15;657:124;:::o;2868:430::-;3074:4;3096:8;3122:10;3134:9;3145:13;3160;3174;3188:22;3110:101;;:::i;:::-;-1:-1:-1;;;;;3110:101:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;27:10;;39:1;23:18;;;45:23;;-1:-1;3096:116:4;;;;;;;;;;;;;-1:-1:-1;;3096:116:4;-1:-1:-1;;;;;3096:116:4;;;;;;;;;;;3239:15;3228:29;;;-1:-1:-1;;3239:17:4;;;3228:29;;;;;;;;;;;;;;-1:-1:-1;3275:8:4;:15;2868:430;;;;;;;:::o;350:20::-;;;-1:-1:-1;;;;;350:20:4;;:::o;407:25::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:25:4;;-1:-1:-1;407:25:4;:::o;793:88::-;837:9;865:8;858:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;858:15:4;;;;;;;;;;;;;;;;;;;;;;;793:88;:::o;199:4133::-;;;;;;;;;;:::o", "source": "pragma solidity 0.4.24;\r\n\r\n/// @title Job Listing\r\n/// @dev Used to keep marketplace of job listings from the companies\r\n/// @author Waheed Rahuman waheed@hellotoken.io\r\n\r\nimport \"./Listing.sol\";\r\n\r\ncontract ListingsRegistry {\r\n\r\n /*\r\n * Events\r\n */\r\n\r\n event NewListing(uint _index);\r\n\r\n /*\r\n * Storage\r\n */\r\n\r\n // Contract owner\r\n address public owner;\r\n\r\n // Array of all listings\r\n Listing[] public listings;\r\n\r\n /*\r\n * Public functions\r\n */\r\n\r\n constructor()\r\n public\r\n {\r\n // Defines HelloToken admin address \r\n owner = msg.sender;\r\n }\r\n\r\n /// @dev listingsLength(): Return number of listings\r\n function listingsLength()\r\n public\r\n constant\r\n returns (uint)\r\n {\r\n return listings.length;\r\n }\r\n \r\n function getListings() public view returns (Listing[]){\r\n return listings;\r\n }\r\n\r\n /// @dev getListing(): Return listing info for a given listing\r\n /// @param _index the index of the listing we want info about\r\n function getListing(uint _index)\r\n public\r\n constant\r\n returns (Listing, address, bytes32, uint, uint,uint, uint)\r\n {\r\n // Test in truffle deelop:\r\n // ListingsRegistry.deployed().then(function(instance){ return instance.getListing.call(0) })\r\n\r\n // TODO (Stan): Determine if less gas to do one array lookup into var, and\r\n // return var struct parts\r\n return (\r\n listings[_index],\r\n listings[_index].owner(),\r\n listings[_index].ipfsHash(),\r\n listings[_index].workingHours(),\r\n listings[_index].resourceType(),\r\n listings[_index].resourceRate(),\r\n listings[_index].totalResourceRequired()\r\n );\r\n }\r\n\r\n function fetchPage(uint256 cursor, uint256 howMany)\r\n public\r\n view\r\n returns (Listing[] values)\r\n {\r\n uint256 length = howMany;\r\n if (length > listings.length - cursor) {\r\n length = listings.length - cursor;\r\n }\r\n\r\n values = new Listing[](length);\r\n for (uint256 i = 0; i < length; i++) {\r\n values[i] = listings[cursor + i];\r\n }\r\n\r\n return values;\r\n }\r\n\r\n /// Sample Remix invocation:\r\n /// [\"0x01\",\"0x7d\",\"0xfd\",\"0x85\",\"0xd4\",\"0xf6\",\"0xcb\",\"0x4d\",\"0xcd\",\"0x71\",\"0x5a\",\"0x88\",\"0x10\",\"0x1f\",\"0x7b\",\"0x1f\",\"0x06\",\"0xcd\",\"0x1e\",\"0x00\",\"0x9b\",\"0x23\",\"0x27\",\"0xa0\",\"0x80\",\"0x9d\",\"0x01\",\"0xeb\",\"0x9c\",\"0x91\",\"0xf2\",\"0x31\"],\"3140000000000000000\",42\r\n\r\n /*\r\n *\t@dev create(); Create a new job requirements\r\n *\tData Storage\r\n *\t------------\r\n *\t_ipfsHash\t\tHash\tHash of data on ipfsHash\r\n *\t_workingHours\t\tunint\tNo of working hours required\r\n *\t_resourceType\t\tunint\tResource type Agent or Auditor\r\n *\t_resourceRate\t\tunint\tRate offered per hour in wei\r\n *\t_totalResourceRequired\tNumber\tNo of agents/auditors required\r\n */\r\n\r\n function create(\r\n bytes32 _ipfsHash,\r\n uint _workingHours,\r\n uint _resourceType,\r\n uint _resourceRate,\r\n uint _totalResourceRequired\r\n )\r\n public\r\n returns (uint)\r\n {\r\n listings.push(new Listing(msg.sender, _ipfsHash, _workingHours, _resourceType,_resourceRate,_totalResourceRequired));\r\n emit NewListing(listings.length-1);\r\n return listings.length;\r\n }\r\n\r\n\r\n /*\r\n *\t@dev createOnBehalf(); Migrate job posting as admin\r\n *\tData Storage\r\n *\t------------\r\n *\t_ipfsHash\t\tHash\tHash of data on ipfsHash\r\n *\t_workingHours\t\tunint\tNo of working hours required\r\n *\t_resourceType\t\tunint\tResource type Agent or Auditor\r\n *\t_resourceRate\t\tunint\tRate offered per hour in wei\r\n *\t_totalResourceRequired\tNumber\tNo of agents/auditors required\r\n *\t_creatorAddress\t\tAddress\tAdding listing on behalf of someone (Only by admin)\r\n */\r\n\r\n function createOnBehalf(\r\n bytes32 _ipfsHash,\r\n uint _workingHours,\r\n uint _resourceType,\r\n uint _resourceRate,\r\n uint _totalResourceRequired,\r\n address _creatorAddress\r\n )\r\n public\r\n returns (uint)\r\n {\r\n require (msg.sender == owner, \"Only callable by registry owner\");\r\n listings.push(new Listing(_creatorAddress, _ipfsHash, _workingHours, _resourceType,_resourceRate,_totalResourceRequired));\r\n emit NewListing(listings.length-1);\r\n return listings.length;\r\n }\r\n}", - "sourcePath": "C:\\i\\HT\\hellonetmarket\\ethereum\\contracts\\ListingsRegistry.sol", + "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\ListingsRegistry.sol", "ast": { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/ListingsRegistry.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/ListingsRegistry.sol", "exportedSymbols": { "ListingsRegistry": [ - 853 + 1150 ] }, - "id": 854, + "id": 1151, "nodeType": "SourceUnit", "nodes": [ { - "id": 607, + "id": 904, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:3" + "src": "0:23:4" }, { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", "file": "./Listing.sol", - "id": 608, + "id": 905, "nodeType": "ImportDirective", - "scope": 854, - "sourceUnit": 606, - "src": "172:23:3", + "scope": 1151, + "sourceUnit": 903, + "src": "172:23:4", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [], "contractDependencies": [ - 605 + 902 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 853, + "id": 1150, "linearizedBaseContracts": [ - 853 + 1150 ], "name": "ListingsRegistry", "nodeType": "ContractDefinition", @@ -276,21 +276,21 @@ { "anonymous": false, "documentation": null, - "id": 612, + "id": 909, "name": "NewListing", "nodeType": "EventDefinition", "parameters": { - "id": 611, + "id": 908, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 610, + "id": 907, "indexed": false, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 612, - "src": "279:11:3", + "scope": 909, + "src": "279:11:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -298,10 +298,10 @@ "typeString": "uint256" }, "typeName": { - "id": 609, + "id": 906, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "279:4:3", + "src": "279:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -311,17 +311,17 @@ "visibility": "internal" } ], - "src": "278:13:3" + "src": "278:13:4" }, - "src": "262:30:3" + "src": "262:30:4" }, { "constant": false, - "id": 614, + "id": 911, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 853, - "src": "350:20:3", + "scope": 1150, + "src": "350:20:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -329,10 +329,10 @@ "typeString": "address" }, "typeName": { - "id": 613, + "id": 910, "name": "address", "nodeType": "ElementaryTypeName", - "src": "350:7:3", + "src": "350:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -343,36 +343,36 @@ }, { "constant": false, - "id": 617, + "id": 914, "name": "listings", "nodeType": "VariableDeclaration", - "scope": 853, - "src": "407:25:3", + "scope": 1150, + "src": "407:25:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 615, + "id": 912, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "407:7:3", + "referencedDeclaration": 902, + "src": "407:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 616, + "id": 913, "length": null, "nodeType": "ArrayTypeName", - "src": "407:9:3", + "src": "407:9:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", "typeString": "contract Listing[]" } }, @@ -381,26 +381,26 @@ }, { "body": { - "id": 625, + "id": 922, "nodeType": "Block", - "src": "512:81:3", + "src": "512:81:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 623, + "id": 920, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 620, + "id": 917, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 614, - "src": "567:5:3", + "referencedDeclaration": 911, + "src": "567:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -412,18 +412,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 621, + "id": 918, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "575:3:3", + "referencedDeclaration": 1222, + "src": "575:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 622, + "id": 919, "isConstant": false, "isLValue": false, "isPure": false, @@ -431,26 +431,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "575:10:3", + "src": "575:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "567:18:3", + "src": "567:18:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 624, + "id": 921, "nodeType": "ExpressionStatement", - "src": "567:18:3" + "src": "567:18:4" } ] }, "documentation": null, - "id": 626, + "id": 923, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -458,47 +458,47 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 618, + "id": 915, "nodeType": "ParameterList", "parameters": [], - "src": "490:2:3" + "src": "490:2:4" }, "payable": false, "returnParameters": { - "id": 619, + "id": 916, "nodeType": "ParameterList", "parameters": [], - "src": "512:0:3" + "src": "512:0:4" }, - "scope": 853, - "src": "479:114:3", + "scope": 1150, + "src": "479:114:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 634, + "id": 931, "nodeType": "Block", - "src": "740:41:3", + "src": "740:41:4", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 631, + "id": 928, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "758:8:3", + "referencedDeclaration": 914, + "src": "758:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 632, + "id": 929, "isConstant": false, "isLValue": true, "isPure": false, @@ -506,21 +506,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "758:15:3", + "src": "758:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 630, - "id": 633, + "functionReturnParameters": 927, + "id": 930, "nodeType": "Return", - "src": "751:22:3" + "src": "751:22:4" } ] }, "documentation": "@dev listingsLength(): Return number of listings\r", - "id": 635, + "id": 932, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -528,23 +528,23 @@ "name": "listingsLength", "nodeType": "FunctionDefinition", "parameters": { - "id": 627, + "id": 924, "nodeType": "ParameterList", "parameters": [], - "src": "680:2:3" + "src": "680:2:4" }, "payable": false, "returnParameters": { - "id": 630, + "id": 927, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 629, + "id": 926, "name": "", "nodeType": "VariableDeclaration", - "scope": 635, - "src": "729:4:3", + "scope": 932, + "src": "729:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -552,10 +552,10 @@ "typeString": "uint256" }, "typeName": { - "id": 628, + "id": 925, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "729:4:3", + "src": "729:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -565,43 +565,43 @@ "visibility": "internal" } ], - "src": "728:6:3" + "src": "728:6:4" }, - "scope": 853, - "src": "657:124:3", + "scope": 1150, + "src": "657:124:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 643, + "id": 940, "nodeType": "Block", - "src": "847:34:3", + "src": "847:34:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 641, + "id": 938, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "865:8:3", + "referencedDeclaration": 914, + "src": "865:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "functionReturnParameters": 640, - "id": 642, + "functionReturnParameters": 937, + "id": 939, "nodeType": "Return", - "src": "858:15:3" + "src": "858:15:4" } ] }, "documentation": null, - "id": 644, + "id": 941, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -609,48 +609,48 @@ "name": "getListings", "nodeType": "FunctionDefinition", "parameters": { - "id": 636, + "id": 933, "nodeType": "ParameterList", "parameters": [], - "src": "813:2:3" + "src": "813:2:4" }, "payable": false, "returnParameters": { - "id": 640, + "id": 937, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 639, + "id": 936, "name": "", "nodeType": "VariableDeclaration", - "scope": 644, - "src": "837:9:3", + "scope": 941, + "src": "837:9:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", "typeString": "contract Listing[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 637, + "id": 934, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "837:7:3", + "referencedDeclaration": 902, + "src": "837:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 638, + "id": 935, "length": null, "nodeType": "ArrayTypeName", - "src": "837:9:3", + "src": "837:9:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", "typeString": "contract Listing[]" } }, @@ -658,19 +658,19 @@ "visibility": "internal" } ], - "src": "836:11:3" + "src": "836:11:4" }, - "scope": 853, - "src": "793:88:3", + "scope": 1150, + "src": "793:88:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 698, + "id": 995, "nodeType": "Block", - "src": "1158:581:3", + "src": "1158:581:4", "statements": [ { "expression": { @@ -680,26 +680,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 663, + "id": 960, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1442:8:3", + "referencedDeclaration": 914, + "src": "1442:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 665, + "id": 962, "indexExpression": { "argumentTypes": null, - "id": 664, + "id": 961, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1451:6:3", + "referencedDeclaration": 943, + "src": "1451:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -710,9 +710,9 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1442:16:3", + "src": "1442:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -725,26 +725,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 666, + "id": 963, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1471:8:3", + "referencedDeclaration": 914, + "src": "1471:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 668, + "id": 965, "indexExpression": { "argumentTypes": null, - "id": 667, + "id": 964, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1480:6:3", + "referencedDeclaration": 943, + "src": "1480:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -755,27 +755,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1471:16:3", + "src": "1471:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 669, + "id": 966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 412, - "src": "1471:22:3", + "referencedDeclaration": 709, + "src": "1471:22:4", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", "typeString": "function () view external returns (address)" } }, - "id": 670, + "id": 967, "isConstant": false, "isLValue": false, "isPure": false, @@ -783,7 +783,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1471:24:3", + "src": "1471:24:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -798,26 +798,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 671, + "id": 968, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1508:8:3", + "referencedDeclaration": 914, + "src": "1508:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 673, + "id": 970, "indexExpression": { "argumentTypes": null, - "id": 672, + "id": 969, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1517:6:3", + "referencedDeclaration": 943, + "src": "1517:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -828,27 +828,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1508:16:3", + "src": "1508:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 674, + "id": 971, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ipfsHash", "nodeType": "MemberAccess", - "referencedDeclaration": 416, - "src": "1508:25:3", + "referencedDeclaration": 713, + "src": "1508:25:4", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$", "typeString": "function () view external returns (bytes32)" } }, - "id": 675, + "id": 972, "isConstant": false, "isLValue": false, "isPure": false, @@ -856,7 +856,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1508:27:3", + "src": "1508:27:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -871,26 +871,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 676, + "id": 973, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1548:8:3", + "referencedDeclaration": 914, + "src": "1548:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 678, + "id": 975, "indexExpression": { "argumentTypes": null, - "id": 677, + "id": 974, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1557:6:3", + "referencedDeclaration": 943, + "src": "1557:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -901,27 +901,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1548:16:3", + "src": "1548:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 679, + "id": 976, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "workingHours", "nodeType": "MemberAccess", - "referencedDeclaration": 418, - "src": "1548:29:3", + "referencedDeclaration": 715, + "src": "1548:29:4", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 680, + "id": 977, "isConstant": false, "isLValue": false, "isPure": false, @@ -929,7 +929,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1548:31:3", + "src": "1548:31:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -944,26 +944,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 681, + "id": 978, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1592:8:3", + "referencedDeclaration": 914, + "src": "1592:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 683, + "id": 980, "indexExpression": { "argumentTypes": null, - "id": 682, + "id": 979, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1601:6:3", + "referencedDeclaration": 943, + "src": "1601:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -974,27 +974,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1592:16:3", + "src": "1592:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 684, + "id": 981, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "resourceType", "nodeType": "MemberAccess", - "referencedDeclaration": 420, - "src": "1592:29:3", + "referencedDeclaration": 717, + "src": "1592:29:4", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 685, + "id": 982, "isConstant": false, "isLValue": false, "isPure": false, @@ -1002,7 +1002,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1592:31:3", + "src": "1592:31:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1017,26 +1017,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 686, + "id": 983, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1636:8:3", + "referencedDeclaration": 914, + "src": "1636:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 688, + "id": 985, "indexExpression": { "argumentTypes": null, - "id": 687, + "id": 984, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1645:6:3", + "referencedDeclaration": 943, + "src": "1645:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1047,27 +1047,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1636:16:3", + "src": "1636:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 689, + "id": 986, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "resourceRate", "nodeType": "MemberAccess", - "referencedDeclaration": 422, - "src": "1636:29:3", + "referencedDeclaration": 719, + "src": "1636:29:4", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 690, + "id": 987, "isConstant": false, "isLValue": false, "isPure": false, @@ -1075,7 +1075,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1636:31:3", + "src": "1636:31:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1090,26 +1090,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 691, + "id": 988, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1680:8:3", + "referencedDeclaration": 914, + "src": "1680:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 693, + "id": 990, "indexExpression": { "argumentTypes": null, - "id": 692, + "id": 989, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1689:6:3", + "referencedDeclaration": 943, + "src": "1689:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1120,27 +1120,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1680:16:3", + "src": "1680:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 694, + "id": 991, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "totalResourceRequired", "nodeType": "MemberAccess", - "referencedDeclaration": 424, - "src": "1680:38:3", + "referencedDeclaration": 721, + "src": "1680:38:4", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 695, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, @@ -1148,35 +1148,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1680:40:3", + "src": "1680:40:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 696, + "id": 993, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "1429:302:3", + "src": "1429:302:4", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_contract$_Listing_$605_$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", + "typeIdentifier": "t_tuple$_t_contract$_Listing_$902_$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", "typeString": "tuple(contract Listing,address,bytes32,uint256,uint256,uint256,uint256)" } }, - "functionReturnParameters": 662, - "id": 697, + "functionReturnParameters": 959, + "id": 994, "nodeType": "Return", - "src": "1422:309:3" + "src": "1422:309:4" } ] }, "documentation": "@dev getListing(): Return listing info for a given listing\r\n @param _index the index of the listing we want info about\r", - "id": 699, + "id": 996, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1184,16 +1184,16 @@ "name": "getListing", "nodeType": "FunctionDefinition", "parameters": { - "id": 647, + "id": 944, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 646, + "id": 943, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1044:11:3", + "scope": 996, + "src": "1044:11:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1201,10 +1201,10 @@ "typeString": "uint256" }, "typeName": { - "id": 645, + "id": 942, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1044:4:3", + "src": "1044:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1214,35 +1214,35 @@ "visibility": "internal" } ], - "src": "1043:13:3" + "src": "1043:13:4" }, "payable": false, "returnParameters": { - "id": 662, + "id": 959, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 649, + "id": 946, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1103:7:3", + "scope": 996, + "src": "1103:7:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 648, + "id": 945, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "1103:7:3", + "referencedDeclaration": 902, + "src": "1103:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -1251,11 +1251,11 @@ }, { "constant": false, - "id": 651, + "id": 948, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1112:7:3", + "scope": 996, + "src": "1112:7:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1263,10 +1263,10 @@ "typeString": "address" }, "typeName": { - "id": 650, + "id": 947, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1112:7:3", + "src": "1112:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1277,11 +1277,11 @@ }, { "constant": false, - "id": 653, + "id": 950, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1121:7:3", + "scope": 996, + "src": "1121:7:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1289,10 +1289,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 652, + "id": 949, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1121:7:3", + "src": "1121:7:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -1303,11 +1303,11 @@ }, { "constant": false, - "id": 655, + "id": 952, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1130:4:3", + "scope": 996, + "src": "1130:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1315,10 +1315,10 @@ "typeString": "uint256" }, "typeName": { - "id": 654, + "id": 951, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1130:4:3", + "src": "1130:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1329,11 +1329,11 @@ }, { "constant": false, - "id": 657, + "id": 954, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1136:4:3", + "scope": 996, + "src": "1136:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1341,10 +1341,10 @@ "typeString": "uint256" }, "typeName": { - "id": 656, + "id": 953, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1136:4:3", + "src": "1136:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1355,11 +1355,11 @@ }, { "constant": false, - "id": 659, + "id": 956, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1141:4:3", + "scope": 996, + "src": "1141:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1367,10 +1367,10 @@ "typeString": "uint256" }, "typeName": { - "id": 658, + "id": 955, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1141:4:3", + "src": "1141:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1381,11 +1381,11 @@ }, { "constant": false, - "id": 661, + "id": 958, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1147:4:3", + "scope": 996, + "src": "1147:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1393,10 +1393,10 @@ "typeString": "uint256" }, "typeName": { - "id": 660, + "id": 957, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1147:4:3", + "src": "1147:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1406,32 +1406,32 @@ "visibility": "internal" } ], - "src": "1102:50:3" + "src": "1102:50:4" }, - "scope": 853, - "src": "1024:715:3", + "scope": 1150, + "src": "1024:715:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 760, + "id": 1057, "nodeType": "Block", - "src": "1858:327:3", + "src": "1858:327:4", "statements": [ { "assignments": [ - 710 + 1007 ], "declarations": [ { "constant": false, - "id": 710, + "id": 1007, "name": "length", "nodeType": "VariableDeclaration", - "scope": 761, - "src": "1869:14:3", + "scope": 1058, + "src": "1869:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1439,10 +1439,10 @@ "typeString": "uint256" }, "typeName": { - "id": 709, + "id": 1006, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1869:7:3", + "src": "1869:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1452,22 +1452,22 @@ "visibility": "internal" } ], - "id": 712, + "id": 1009, "initialValue": { "argumentTypes": null, - "id": 711, + "id": 1008, "name": "howMany", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 703, - "src": "1886:7:3", + "referencedDeclaration": 1000, + "src": "1886:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1869:24:3" + "src": "1869:24:4" }, { "condition": { @@ -1476,19 +1476,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 718, + "id": 1015, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 713, + "id": 1010, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 710, - "src": "1908:6:3", + "referencedDeclaration": 1007, + "src": "1908:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1502,7 +1502,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 717, + "id": 1014, "isConstant": false, "isLValue": false, "isPure": false, @@ -1511,18 +1511,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 714, + "id": 1011, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1917:8:3", + "referencedDeclaration": 914, + "src": "1917:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 715, + "id": 1012, "isConstant": false, "isLValue": true, "isPure": false, @@ -1530,7 +1530,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1917:15:3", + "src": "1917:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1540,54 +1540,54 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 716, + "id": 1013, "name": "cursor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 701, - "src": "1935:6:3", + "referencedDeclaration": 998, + "src": "1935:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1917:24:3", + "src": "1917:24:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1908:33:3", + "src": "1908:33:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 727, + "id": 1024, "nodeType": "IfStatement", - "src": "1904:99:3", + "src": "1904:99:4", "trueBody": { - "id": 726, + "id": 1023, "nodeType": "Block", - "src": "1943:60:3", + "src": "1943:60:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 724, + "id": 1021, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 719, + "id": 1016, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 710, - "src": "1958:6:3", + "referencedDeclaration": 1007, + "src": "1958:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1601,7 +1601,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 723, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -1610,18 +1610,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 720, + "id": 1017, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1967:8:3", + "referencedDeclaration": 914, + "src": "1967:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 721, + "id": 1018, "isConstant": false, "isLValue": true, "isPure": false, @@ -1629,7 +1629,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1967:15:3", + "src": "1967:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1639,32 +1639,32 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 722, + "id": 1019, "name": "cursor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 701, - "src": "1985:6:3", + "referencedDeclaration": 998, + "src": "1985:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1967:24:3", + "src": "1967:24:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1958:33:3", + "src": "1958:33:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 725, + "id": 1022, "nodeType": "ExpressionStatement", - "src": "1958:33:3" + "src": "1958:33:4" } ] } @@ -1672,21 +1672,21 @@ { "expression": { "argumentTypes": null, - "id": 734, + "id": 1031, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 728, + "id": 1025, "name": "values", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "2015:6:3", + "referencedDeclaration": 1004, + "src": "2015:6:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, @@ -1697,12 +1697,12 @@ "arguments": [ { "argumentTypes": null, - "id": 732, + "id": 1029, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 710, - "src": "2038:6:3", + "referencedDeclaration": 1007, + "src": "2038:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1716,41 +1716,41 @@ "typeString": "uint256" } ], - "id": 731, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "2024:13:3", + "src": "2024:13:4", "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_contract$_Listing_$605_$dyn_memory_$", + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_contract$_Listing_$902_$dyn_memory_$", "typeString": "function (uint256) pure returns (contract Listing[] memory)" }, "typeName": { "baseType": { "contractScope": null, - "id": 729, + "id": 1026, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "2028:7:3", + "referencedDeclaration": 902, + "src": "2028:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 730, + "id": 1027, "length": null, "nodeType": "ArrayTypeName", - "src": "2028:9:3", + "src": "2028:9:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", "typeString": "contract Listing[]" } } }, - "id": 733, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -1758,32 +1758,32 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2024:21:3", + "src": "2024:21:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory", "typeString": "contract Listing[] memory" } }, - "src": "2015:30:3", + "src": "2015:30:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, - "id": 735, + "id": 1032, "nodeType": "ExpressionStatement", - "src": "2015:30:3" + "src": "2015:30:4" }, { "body": { - "id": 756, + "id": 1053, "nodeType": "Block", - "src": "2093:59:3", + "src": "2093:59:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 754, + "id": 1051, "isConstant": false, "isLValue": false, "isPure": false, @@ -1792,26 +1792,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 746, + "id": 1043, "name": "values", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "2108:6:3", + "referencedDeclaration": 1004, + "src": "2108:6:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, - "id": 748, + "id": 1045, "indexExpression": { "argumentTypes": null, - "id": 747, + "id": 1044, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 737, - "src": "2115:1:3", + "referencedDeclaration": 1034, + "src": "2115:1:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1822,9 +1822,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2108:9:3", + "src": "2108:9:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -1834,37 +1834,37 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 749, + "id": 1046, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "2120:8:3", + "referencedDeclaration": 914, + "src": "2120:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 753, + "id": 1050, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 752, + "id": 1049, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 750, + "id": 1047, "name": "cursor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 701, - "src": "2129:6:3", + "referencedDeclaration": 998, + "src": "2129:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1874,18 +1874,18 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 751, + "id": 1048, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 737, - "src": "2138:1:3", + "referencedDeclaration": 1034, + "src": "2138:1:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2129:10:3", + "src": "2129:10:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1896,21 +1896,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2120:20:3", + "src": "2120:20:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "src": "2108:32:3", + "src": "2108:32:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 755, + "id": 1052, "nodeType": "ExpressionStatement", - "src": "2108:32:3" + "src": "2108:32:4" } ] }, @@ -1920,19 +1920,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 742, + "id": 1039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 740, + "id": 1037, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 737, - "src": "2076:1:3", + "referencedDeclaration": 1034, + "src": "2076:1:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1942,36 +1942,36 @@ "operator": "<", "rightExpression": { "argumentTypes": null, - "id": 741, + "id": 1038, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 710, - "src": "2080:6:3", + "referencedDeclaration": 1007, + "src": "2080:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2076:10:3", + "src": "2076:10:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 757, + "id": 1054, "initializationExpression": { "assignments": [ - 737 + 1034 ], "declarations": [ { "constant": false, - "id": 737, + "id": 1034, "name": "i", "nodeType": "VariableDeclaration", - "scope": 761, - "src": "2061:9:3", + "scope": 1058, + "src": "2061:9:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1979,10 +1979,10 @@ "typeString": "uint256" }, "typeName": { - "id": 736, + "id": 1033, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2061:7:3", + "src": "2061:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1992,18 +1992,18 @@ "visibility": "internal" } ], - "id": 739, + "id": 1036, "initialValue": { "argumentTypes": null, "hexValue": "30", - "id": 738, + "id": 1035, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2073:1:3", + "src": "2073:1:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -2012,12 +2012,12 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "2061:13:3" + "src": "2061:13:4" }, "loopExpression": { "expression": { "argumentTypes": null, - "id": 744, + "id": 1041, "isConstant": false, "isLValue": false, "isPure": false, @@ -2025,15 +2025,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "2088:3:3", + "src": "2088:3:4", "subExpression": { "argumentTypes": null, - "id": 743, + "id": 1040, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 737, - "src": "2088:1:3", + "referencedDeclaration": 1034, + "src": "2088:1:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2044,36 +2044,36 @@ "typeString": "uint256" } }, - "id": 745, + "id": 1042, "nodeType": "ExpressionStatement", - "src": "2088:3:3" + "src": "2088:3:4" }, "nodeType": "ForStatement", - "src": "2056:96:3" + "src": "2056:96:4" }, { "expression": { "argumentTypes": null, - "id": 758, + "id": 1055, "name": "values", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "2171:6:3", + "referencedDeclaration": 1004, + "src": "2171:6:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, - "functionReturnParameters": 708, - "id": 759, + "functionReturnParameters": 1005, + "id": 1056, "nodeType": "Return", - "src": "2164:13:3" + "src": "2164:13:4" } ] }, "documentation": null, - "id": 761, + "id": 1058, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2081,16 +2081,16 @@ "name": "fetchPage", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 1001, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 701, + "id": 998, "name": "cursor", "nodeType": "VariableDeclaration", - "scope": 761, - "src": "1766:14:3", + "scope": 1058, + "src": "1766:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2098,10 +2098,10 @@ "typeString": "uint256" }, "typeName": { - "id": 700, + "id": 997, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1766:7:3", + "src": "1766:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2112,11 +2112,11 @@ }, { "constant": false, - "id": 703, + "id": 1000, "name": "howMany", "nodeType": "VariableDeclaration", - "scope": 761, - "src": "1782:15:3", + "scope": 1058, + "src": "1782:15:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2124,10 +2124,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1782:7:3", + "src": "1782:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2137,45 +2137,45 @@ "visibility": "internal" } ], - "src": "1765:33:3" + "src": "1765:33:4" }, "payable": false, "returnParameters": { - "id": 708, + "id": 1005, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 707, + "id": 1004, "name": "values", "nodeType": "VariableDeclaration", - "scope": 761, - "src": "1835:16:3", + "scope": 1058, + "src": "1835:16:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", "typeString": "contract Listing[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 705, + "id": 1002, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "1835:7:3", + "referencedDeclaration": 902, + "src": "1835:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 706, + "id": 1003, "length": null, "nodeType": "ArrayTypeName", - "src": "1835:9:3", + "src": "1835:9:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", "typeString": "contract Listing[]" } }, @@ -2183,19 +2183,19 @@ "visibility": "internal" } ], - "src": "1834:18:3" + "src": "1834:18:4" }, - "scope": 853, - "src": "1747:438:3", + "scope": 1150, + "src": "1747:438:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 801, + "id": 1098, "nodeType": "Block", - "src": "3085:213:3", + "src": "3085:213:4", "statements": [ { "expression": { @@ -2208,18 +2208,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 781, + "id": 1078, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "3122:3:3", + "referencedDeclaration": 1222, + "src": "3122:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 782, + "id": 1079, "isConstant": false, "isLValue": false, "isPure": false, @@ -2227,7 +2227,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3122:10:3", + "src": "3122:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2235,12 +2235,12 @@ }, { "argumentTypes": null, - "id": 783, + "id": 1080, "name": "_ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "3134:9:3", + "referencedDeclaration": 1060, + "src": "3134:9:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2248,12 +2248,12 @@ }, { "argumentTypes": null, - "id": 784, + "id": 1081, "name": "_workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 765, - "src": "3145:13:3", + "referencedDeclaration": 1062, + "src": "3145:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2261,12 +2261,12 @@ }, { "argumentTypes": null, - "id": 785, + "id": 1082, "name": "_resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 767, - "src": "3160:13:3", + "referencedDeclaration": 1064, + "src": "3160:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2274,12 +2274,12 @@ }, { "argumentTypes": null, - "id": 786, + "id": 1083, "name": "_resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 769, - "src": "3174:13:3", + "referencedDeclaration": 1066, + "src": "3174:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2287,12 +2287,12 @@ }, { "argumentTypes": null, - "id": 787, + "id": 1084, "name": "_totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 771, - "src": "3188:22:3", + "referencedDeclaration": 1068, + "src": "3188:22:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2326,31 +2326,31 @@ "typeString": "uint256" } ], - "id": 780, + "id": 1077, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "3110:11:3", + "src": "3110:11:4", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$605_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$902_$", "typeString": "function (address,bytes32,uint256,uint256,uint256,uint256) returns (contract Listing)" }, "typeName": { "contractScope": null, - "id": 779, + "id": 1076, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "3114:7:3", + "referencedDeclaration": 902, + "src": "3114:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } } }, - "id": 788, + "id": 1085, "isConstant": false, "isLValue": false, "isPure": false, @@ -2358,9 +2358,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3110:101:3", + "src": "3110:101:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } } @@ -2368,24 +2368,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } ], "expression": { "argumentTypes": null, - "id": 776, + "id": 1073, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "3096:8:3", + "referencedDeclaration": 914, + "src": "3096:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 778, + "id": 1075, "isConstant": false, "isLValue": false, "isPure": false, @@ -2393,13 +2393,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3096:13:3", + "src": "3096:13:4", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$605_$returns$_t_uint256_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$902_$returns$_t_uint256_$", "typeString": "function (contract Listing) returns (uint256)" } }, - "id": 789, + "id": 1086, "isConstant": false, "isLValue": false, "isPure": false, @@ -2407,15 +2407,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3096:116:3", + "src": "3096:116:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 790, + "id": 1087, "nodeType": "ExpressionStatement", - "src": "3096:116:3" + "src": "3096:116:4" }, { "eventCall": { @@ -2427,7 +2427,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 795, + "id": 1092, "isConstant": false, "isLValue": false, "isPure": false, @@ -2436,18 +2436,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 792, + "id": 1089, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "3239:8:3", + "referencedDeclaration": 914, + "src": "3239:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 793, + "id": 1090, "isConstant": false, "isLValue": true, "isPure": false, @@ -2455,7 +2455,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3239:15:3", + "src": "3239:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2466,14 +2466,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 794, + "id": 1091, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3255:1:3", + "src": "3255:1:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -2481,7 +2481,7 @@ }, "value": "1" }, - "src": "3239:17:3", + "src": "3239:17:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2495,18 +2495,18 @@ "typeString": "uint256" } ], - "id": 791, + "id": 1088, "name": "NewListing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 612, - "src": "3228:10:3", + "referencedDeclaration": 909, + "src": "3228:10:4", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 796, + "id": 1093, "isConstant": false, "isLValue": false, "isPure": false, @@ -2514,33 +2514,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3228:29:3", + "src": "3228:29:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 797, + "id": 1094, "nodeType": "EmitStatement", - "src": "3223:34:3" + "src": "3223:34:4" }, { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 798, + "id": 1095, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "3275:8:3", + "referencedDeclaration": 914, + "src": "3275:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 799, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, @@ -2548,21 +2548,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3275:15:3", + "src": "3275:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 775, - "id": 800, + "functionReturnParameters": 1072, + "id": 1097, "nodeType": "Return", - "src": "3268:22:3" + "src": "3268:22:4" } ] }, "documentation": "Sample Remix invocation:\r\n [\"0x01\",\"0x7d\",\"0xfd\",\"0x85\",\"0xd4\",\"0xf6\",\"0xcb\",\"0x4d\",\"0xcd\",\"0x71\",\"0x5a\",\"0x88\",\"0x10\",\"0x1f\",\"0x7b\",\"0x1f\",\"0x06\",\"0xcd\",\"0x1e\",\"0x00\",\"0x9b\",\"0x23\",\"0x27\",\"0xa0\",\"0x80\",\"0x9d\",\"0x01\",\"0xeb\",\"0x9c\",\"0x91\",\"0xf2\",\"0x31\"],\"3140000000000000000\",42\r", - "id": 802, + "id": 1099, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -2570,16 +2570,16 @@ "name": "create", "nodeType": "FunctionDefinition", "parameters": { - "id": 772, + "id": 1069, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 1060, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 802, - "src": "2894:17:3", + "scope": 1099, + "src": "2894:17:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2587,10 +2587,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 762, + "id": 1059, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2894:7:3", + "src": "2894:7:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2601,11 +2601,11 @@ }, { "constant": false, - "id": 765, + "id": 1062, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 802, - "src": "2922:18:3", + "scope": 1099, + "src": "2922:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2613,10 +2613,10 @@ "typeString": "uint256" }, "typeName": { - "id": 764, + "id": 1061, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2922:4:3", + "src": "2922:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2627,11 +2627,11 @@ }, { "constant": false, - "id": 767, + "id": 1064, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 802, - "src": "2951:18:3", + "scope": 1099, + "src": "2951:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2639,10 +2639,10 @@ "typeString": "uint256" }, "typeName": { - "id": 766, + "id": 1063, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2951:4:3", + "src": "2951:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2653,11 +2653,11 @@ }, { "constant": false, - "id": 769, + "id": 1066, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 802, - "src": "2980:18:3", + "scope": 1099, + "src": "2980:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2665,10 +2665,10 @@ "typeString": "uint256" }, "typeName": { - "id": 768, + "id": 1065, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2980:4:3", + "src": "2980:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2679,11 +2679,11 @@ }, { "constant": false, - "id": 771, + "id": 1068, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 802, - "src": "3009:27:3", + "scope": 1099, + "src": "3009:27:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2691,10 +2691,10 @@ "typeString": "uint256" }, "typeName": { - "id": 770, + "id": 1067, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3009:4:3", + "src": "3009:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2704,20 +2704,20 @@ "visibility": "internal" } ], - "src": "2883:160:3" + "src": "2883:160:4" }, "payable": false, "returnParameters": { - "id": 775, + "id": 1072, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 774, + "id": 1071, "name": "", "nodeType": "VariableDeclaration", - "scope": 802, - "src": "3074:4:3", + "scope": 1099, + "src": "3074:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2725,10 +2725,10 @@ "typeString": "uint256" }, "typeName": { - "id": 773, + "id": 1070, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3074:4:3", + "src": "3074:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2738,19 +2738,19 @@ "visibility": "internal" } ], - "src": "3073:6:3" + "src": "3073:6:4" }, - "scope": 853, - "src": "2868:430:3", + "scope": 1150, + "src": "2868:430:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 851, + "id": 1148, "nodeType": "Block", - "src": "4035:294:3", + "src": "4035:294:4", "statements": [ { "expression": { @@ -2762,7 +2762,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 823, + "id": 1120, "isConstant": false, "isLValue": false, "isPure": false, @@ -2771,18 +2771,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 820, + "id": 1117, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "4055:3:3", + "referencedDeclaration": 1222, + "src": "4055:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 821, + "id": 1118, "isConstant": false, "isLValue": false, "isPure": false, @@ -2790,7 +2790,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4055:10:3", + "src": "4055:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2800,18 +2800,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 822, + "id": 1119, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 614, - "src": "4069:5:3", + "referencedDeclaration": 911, + "src": "4069:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "4055:19:3", + "src": "4055:19:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2820,14 +2820,14 @@ { "argumentTypes": null, "hexValue": "4f6e6c792063616c6c61626c65206279207265676973747279206f776e6572", - "id": 824, + "id": 1121, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4076:33:3", + "src": "4076:33:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_a20a2dd5a23f4821a72bf6d8995e30bd3c3d788da1cb47c7a01d91ed1e1d92b0", @@ -2847,21 +2847,21 @@ "typeString": "literal_string \"Only callable by registry owner\"" } ], - "id": 819, + "id": 1116, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 872, - "src": "4046:7:3", + "referencedDeclaration": 1226, + "src": "4046:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 825, + "id": 1122, "isConstant": false, "isLValue": false, "isPure": false, @@ -2869,15 +2869,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4046:64:3", + "src": "4046:64:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 826, + "id": 1123, "nodeType": "ExpressionStatement", - "src": "4046:64:3" + "src": "4046:64:4" }, { "expression": { @@ -2888,12 +2888,12 @@ "arguments": [ { "argumentTypes": null, - "id": 832, + "id": 1129, "name": "_creatorAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 814, - "src": "4147:15:3", + "referencedDeclaration": 1111, + "src": "4147:15:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2901,12 +2901,12 @@ }, { "argumentTypes": null, - "id": 833, + "id": 1130, "name": "_ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 804, - "src": "4165:9:3", + "referencedDeclaration": 1101, + "src": "4165:9:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2914,12 +2914,12 @@ }, { "argumentTypes": null, - "id": 834, + "id": 1131, "name": "_workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 806, - "src": "4176:13:3", + "referencedDeclaration": 1103, + "src": "4176:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2927,12 +2927,12 @@ }, { "argumentTypes": null, - "id": 835, + "id": 1132, "name": "_resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 808, - "src": "4191:13:3", + "referencedDeclaration": 1105, + "src": "4191:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2940,12 +2940,12 @@ }, { "argumentTypes": null, - "id": 836, + "id": 1133, "name": "_resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 810, - "src": "4205:13:3", + "referencedDeclaration": 1107, + "src": "4205:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2953,12 +2953,12 @@ }, { "argumentTypes": null, - "id": 837, + "id": 1134, "name": "_totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 812, - "src": "4219:22:3", + "referencedDeclaration": 1109, + "src": "4219:22:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2992,31 +2992,31 @@ "typeString": "uint256" } ], - "id": 831, + "id": 1128, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "4135:11:3", + "src": "4135:11:4", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$605_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$902_$", "typeString": "function (address,bytes32,uint256,uint256,uint256,uint256) returns (contract Listing)" }, "typeName": { "contractScope": null, - "id": 830, + "id": 1127, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "4139:7:3", + "referencedDeclaration": 902, + "src": "4139:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } } }, - "id": 838, + "id": 1135, "isConstant": false, "isLValue": false, "isPure": false, @@ -3024,9 +3024,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4135:107:3", + "src": "4135:107:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } } @@ -3034,24 +3034,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } ], "expression": { "argumentTypes": null, - "id": 827, + "id": 1124, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "4121:8:3", + "referencedDeclaration": 914, + "src": "4121:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 829, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -3059,13 +3059,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4121:13:3", + "src": "4121:13:4", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$605_$returns$_t_uint256_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$902_$returns$_t_uint256_$", "typeString": "function (contract Listing) returns (uint256)" } }, - "id": 839, + "id": 1136, "isConstant": false, "isLValue": false, "isPure": false, @@ -3073,15 +3073,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4121:122:3", + "src": "4121:122:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 840, + "id": 1137, "nodeType": "ExpressionStatement", - "src": "4121:122:3" + "src": "4121:122:4" }, { "eventCall": { @@ -3093,7 +3093,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 845, + "id": 1142, "isConstant": false, "isLValue": false, "isPure": false, @@ -3102,18 +3102,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 842, + "id": 1139, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "4270:8:3", + "referencedDeclaration": 914, + "src": "4270:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 843, + "id": 1140, "isConstant": false, "isLValue": true, "isPure": false, @@ -3121,7 +3121,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4270:15:3", + "src": "4270:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3132,14 +3132,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 844, + "id": 1141, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "4286:1:3", + "src": "4286:1:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -3147,7 +3147,7 @@ }, "value": "1" }, - "src": "4270:17:3", + "src": "4270:17:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3161,18 +3161,18 @@ "typeString": "uint256" } ], - "id": 841, + "id": 1138, "name": "NewListing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 612, - "src": "4259:10:3", + "referencedDeclaration": 909, + "src": "4259:10:4", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 846, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -3180,33 +3180,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4259:29:3", + "src": "4259:29:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 847, + "id": 1144, "nodeType": "EmitStatement", - "src": "4254:34:3" + "src": "4254:34:4" }, { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 848, + "id": 1145, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "4306:8:3", + "referencedDeclaration": 914, + "src": "4306:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 849, + "id": 1146, "isConstant": false, "isLValue": true, "isPure": false, @@ -3214,21 +3214,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4306:15:3", + "src": "4306:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 818, - "id": 850, + "functionReturnParameters": 1115, + "id": 1147, "nodeType": "Return", - "src": "4299:22:3" + "src": "4299:22:4" } ] }, "documentation": null, - "id": 852, + "id": 1149, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -3236,16 +3236,16 @@ "name": "createOnBehalf", "nodeType": "FunctionDefinition", "parameters": { - "id": 815, + "id": 1112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 804, + "id": 1101, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "3810:17:3", + "scope": 1149, + "src": "3810:17:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3253,10 +3253,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 803, + "id": 1100, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "3810:7:3", + "src": "3810:7:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3267,11 +3267,11 @@ }, { "constant": false, - "id": 806, + "id": 1103, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "3838:18:3", + "scope": 1149, + "src": "3838:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3279,10 +3279,10 @@ "typeString": "uint256" }, "typeName": { - "id": 805, + "id": 1102, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3838:4:3", + "src": "3838:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3293,11 +3293,11 @@ }, { "constant": false, - "id": 808, + "id": 1105, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "3867:18:3", + "scope": 1149, + "src": "3867:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3305,10 +3305,10 @@ "typeString": "uint256" }, "typeName": { - "id": 807, + "id": 1104, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3867:4:3", + "src": "3867:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3319,11 +3319,11 @@ }, { "constant": false, - "id": 810, + "id": 1107, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "3896:18:3", + "scope": 1149, + "src": "3896:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3331,10 +3331,10 @@ "typeString": "uint256" }, "typeName": { - "id": 809, + "id": 1106, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3896:4:3", + "src": "3896:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3345,11 +3345,11 @@ }, { "constant": false, - "id": 812, + "id": 1109, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "3925:27:3", + "scope": 1149, + "src": "3925:27:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3357,10 +3357,10 @@ "typeString": "uint256" }, "typeName": { - "id": 811, + "id": 1108, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3925:4:3", + "src": "3925:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3371,11 +3371,11 @@ }, { "constant": false, - "id": 814, + "id": 1111, "name": "_creatorAddress", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "3963:23:3", + "scope": 1149, + "src": "3963:23:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3383,10 +3383,10 @@ "typeString": "address" }, "typeName": { - "id": 813, + "id": 1110, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3963:7:3", + "src": "3963:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3396,20 +3396,20 @@ "visibility": "internal" } ], - "src": "3799:194:3" + "src": "3799:194:4" }, "payable": false, "returnParameters": { - "id": 818, + "id": 1115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 1114, "name": "", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "4024:4:3", + "scope": 1149, + "src": "4024:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3417,10 +3417,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 1113, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4024:4:3", + "src": "4024:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3430,63 +3430,63 @@ "visibility": "internal" } ], - "src": "4023:6:3" + "src": "4023:6:4" }, - "scope": 853, - "src": "3776:553:3", + "scope": 1150, + "src": "3776:553:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 854, - "src": "199:4133:3" + "scope": 1151, + "src": "199:4133:4" } ], - "src": "0:4332:3" + "src": "0:4332:4" }, "legacyAST": { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/ListingsRegistry.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/ListingsRegistry.sol", "exportedSymbols": { "ListingsRegistry": [ - 853 + 1150 ] }, - "id": 854, + "id": 1151, "nodeType": "SourceUnit", "nodes": [ { - "id": 607, + "id": 904, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:3" + "src": "0:23:4" }, { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", "file": "./Listing.sol", - "id": 608, + "id": 905, "nodeType": "ImportDirective", - "scope": 854, - "sourceUnit": 606, - "src": "172:23:3", + "scope": 1151, + "sourceUnit": 903, + "src": "172:23:4", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [], "contractDependencies": [ - 605 + 902 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 853, + "id": 1150, "linearizedBaseContracts": [ - 853 + 1150 ], "name": "ListingsRegistry", "nodeType": "ContractDefinition", @@ -3494,21 +3494,21 @@ { "anonymous": false, "documentation": null, - "id": 612, + "id": 909, "name": "NewListing", "nodeType": "EventDefinition", "parameters": { - "id": 611, + "id": 908, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 610, + "id": 907, "indexed": false, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 612, - "src": "279:11:3", + "scope": 909, + "src": "279:11:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3516,10 +3516,10 @@ "typeString": "uint256" }, "typeName": { - "id": 609, + "id": 906, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "279:4:3", + "src": "279:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3529,17 +3529,17 @@ "visibility": "internal" } ], - "src": "278:13:3" + "src": "278:13:4" }, - "src": "262:30:3" + "src": "262:30:4" }, { "constant": false, - "id": 614, + "id": 911, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 853, - "src": "350:20:3", + "scope": 1150, + "src": "350:20:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3547,10 +3547,10 @@ "typeString": "address" }, "typeName": { - "id": 613, + "id": 910, "name": "address", "nodeType": "ElementaryTypeName", - "src": "350:7:3", + "src": "350:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3561,36 +3561,36 @@ }, { "constant": false, - "id": 617, + "id": 914, "name": "listings", "nodeType": "VariableDeclaration", - "scope": 853, - "src": "407:25:3", + "scope": 1150, + "src": "407:25:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 615, + "id": 912, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "407:7:3", + "referencedDeclaration": 902, + "src": "407:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 616, + "id": 913, "length": null, "nodeType": "ArrayTypeName", - "src": "407:9:3", + "src": "407:9:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", "typeString": "contract Listing[]" } }, @@ -3599,26 +3599,26 @@ }, { "body": { - "id": 625, + "id": 922, "nodeType": "Block", - "src": "512:81:3", + "src": "512:81:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 623, + "id": 920, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 620, + "id": 917, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 614, - "src": "567:5:3", + "referencedDeclaration": 911, + "src": "567:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3630,18 +3630,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 621, + "id": 918, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "575:3:3", + "referencedDeclaration": 1222, + "src": "575:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 622, + "id": 919, "isConstant": false, "isLValue": false, "isPure": false, @@ -3649,26 +3649,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "575:10:3", + "src": "575:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "567:18:3", + "src": "567:18:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 624, + "id": 921, "nodeType": "ExpressionStatement", - "src": "567:18:3" + "src": "567:18:4" } ] }, "documentation": null, - "id": 626, + "id": 923, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -3676,47 +3676,47 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 618, + "id": 915, "nodeType": "ParameterList", "parameters": [], - "src": "490:2:3" + "src": "490:2:4" }, "payable": false, "returnParameters": { - "id": 619, + "id": 916, "nodeType": "ParameterList", "parameters": [], - "src": "512:0:3" + "src": "512:0:4" }, - "scope": 853, - "src": "479:114:3", + "scope": 1150, + "src": "479:114:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 634, + "id": 931, "nodeType": "Block", - "src": "740:41:3", + "src": "740:41:4", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 631, + "id": 928, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "758:8:3", + "referencedDeclaration": 914, + "src": "758:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 632, + "id": 929, "isConstant": false, "isLValue": true, "isPure": false, @@ -3724,21 +3724,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "758:15:3", + "src": "758:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 630, - "id": 633, + "functionReturnParameters": 927, + "id": 930, "nodeType": "Return", - "src": "751:22:3" + "src": "751:22:4" } ] }, "documentation": "@dev listingsLength(): Return number of listings\r", - "id": 635, + "id": 932, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3746,23 +3746,23 @@ "name": "listingsLength", "nodeType": "FunctionDefinition", "parameters": { - "id": 627, + "id": 924, "nodeType": "ParameterList", "parameters": [], - "src": "680:2:3" + "src": "680:2:4" }, "payable": false, "returnParameters": { - "id": 630, + "id": 927, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 629, + "id": 926, "name": "", "nodeType": "VariableDeclaration", - "scope": 635, - "src": "729:4:3", + "scope": 932, + "src": "729:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3770,10 +3770,10 @@ "typeString": "uint256" }, "typeName": { - "id": 628, + "id": 925, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "729:4:3", + "src": "729:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3783,43 +3783,43 @@ "visibility": "internal" } ], - "src": "728:6:3" + "src": "728:6:4" }, - "scope": 853, - "src": "657:124:3", + "scope": 1150, + "src": "657:124:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 643, + "id": 940, "nodeType": "Block", - "src": "847:34:3", + "src": "847:34:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 641, + "id": 938, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "865:8:3", + "referencedDeclaration": 914, + "src": "865:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "functionReturnParameters": 640, - "id": 642, + "functionReturnParameters": 937, + "id": 939, "nodeType": "Return", - "src": "858:15:3" + "src": "858:15:4" } ] }, "documentation": null, - "id": 644, + "id": 941, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3827,48 +3827,48 @@ "name": "getListings", "nodeType": "FunctionDefinition", "parameters": { - "id": 636, + "id": 933, "nodeType": "ParameterList", "parameters": [], - "src": "813:2:3" + "src": "813:2:4" }, "payable": false, "returnParameters": { - "id": 640, + "id": 937, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 639, + "id": 936, "name": "", "nodeType": "VariableDeclaration", - "scope": 644, - "src": "837:9:3", + "scope": 941, + "src": "837:9:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", "typeString": "contract Listing[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 637, + "id": 934, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "837:7:3", + "referencedDeclaration": 902, + "src": "837:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 638, + "id": 935, "length": null, "nodeType": "ArrayTypeName", - "src": "837:9:3", + "src": "837:9:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", "typeString": "contract Listing[]" } }, @@ -3876,19 +3876,19 @@ "visibility": "internal" } ], - "src": "836:11:3" + "src": "836:11:4" }, - "scope": 853, - "src": "793:88:3", + "scope": 1150, + "src": "793:88:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 698, + "id": 995, "nodeType": "Block", - "src": "1158:581:3", + "src": "1158:581:4", "statements": [ { "expression": { @@ -3898,26 +3898,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 663, + "id": 960, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1442:8:3", + "referencedDeclaration": 914, + "src": "1442:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 665, + "id": 962, "indexExpression": { "argumentTypes": null, - "id": 664, + "id": 961, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1451:6:3", + "referencedDeclaration": 943, + "src": "1451:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3928,9 +3928,9 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1442:16:3", + "src": "1442:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -3943,26 +3943,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 666, + "id": 963, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1471:8:3", + "referencedDeclaration": 914, + "src": "1471:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 668, + "id": 965, "indexExpression": { "argumentTypes": null, - "id": 667, + "id": 964, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1480:6:3", + "referencedDeclaration": 943, + "src": "1480:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3973,27 +3973,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1471:16:3", + "src": "1471:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 669, + "id": 966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 412, - "src": "1471:22:3", + "referencedDeclaration": 709, + "src": "1471:22:4", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", "typeString": "function () view external returns (address)" } }, - "id": 670, + "id": 967, "isConstant": false, "isLValue": false, "isPure": false, @@ -4001,7 +4001,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1471:24:3", + "src": "1471:24:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4016,26 +4016,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 671, + "id": 968, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1508:8:3", + "referencedDeclaration": 914, + "src": "1508:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 673, + "id": 970, "indexExpression": { "argumentTypes": null, - "id": 672, + "id": 969, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1517:6:3", + "referencedDeclaration": 943, + "src": "1517:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4046,27 +4046,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1508:16:3", + "src": "1508:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 674, + "id": 971, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ipfsHash", "nodeType": "MemberAccess", - "referencedDeclaration": 416, - "src": "1508:25:3", + "referencedDeclaration": 713, + "src": "1508:25:4", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$", "typeString": "function () view external returns (bytes32)" } }, - "id": 675, + "id": 972, "isConstant": false, "isLValue": false, "isPure": false, @@ -4074,7 +4074,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1508:27:3", + "src": "1508:27:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4089,26 +4089,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 676, + "id": 973, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1548:8:3", + "referencedDeclaration": 914, + "src": "1548:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 678, + "id": 975, "indexExpression": { "argumentTypes": null, - "id": 677, + "id": 974, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1557:6:3", + "referencedDeclaration": 943, + "src": "1557:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4119,27 +4119,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1548:16:3", + "src": "1548:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 679, + "id": 976, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "workingHours", "nodeType": "MemberAccess", - "referencedDeclaration": 418, - "src": "1548:29:3", + "referencedDeclaration": 715, + "src": "1548:29:4", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 680, + "id": 977, "isConstant": false, "isLValue": false, "isPure": false, @@ -4147,7 +4147,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1548:31:3", + "src": "1548:31:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4162,26 +4162,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 681, + "id": 978, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1592:8:3", + "referencedDeclaration": 914, + "src": "1592:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 683, + "id": 980, "indexExpression": { "argumentTypes": null, - "id": 682, + "id": 979, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1601:6:3", + "referencedDeclaration": 943, + "src": "1601:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4192,27 +4192,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1592:16:3", + "src": "1592:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 684, + "id": 981, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "resourceType", "nodeType": "MemberAccess", - "referencedDeclaration": 420, - "src": "1592:29:3", + "referencedDeclaration": 717, + "src": "1592:29:4", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 685, + "id": 982, "isConstant": false, "isLValue": false, "isPure": false, @@ -4220,7 +4220,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1592:31:3", + "src": "1592:31:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4235,26 +4235,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 686, + "id": 983, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1636:8:3", + "referencedDeclaration": 914, + "src": "1636:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 688, + "id": 985, "indexExpression": { "argumentTypes": null, - "id": 687, + "id": 984, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1645:6:3", + "referencedDeclaration": 943, + "src": "1645:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4265,27 +4265,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1636:16:3", + "src": "1636:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 689, + "id": 986, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "resourceRate", "nodeType": "MemberAccess", - "referencedDeclaration": 422, - "src": "1636:29:3", + "referencedDeclaration": 719, + "src": "1636:29:4", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 690, + "id": 987, "isConstant": false, "isLValue": false, "isPure": false, @@ -4293,7 +4293,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1636:31:3", + "src": "1636:31:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4308,26 +4308,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 691, + "id": 988, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1680:8:3", + "referencedDeclaration": 914, + "src": "1680:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 693, + "id": 990, "indexExpression": { "argumentTypes": null, - "id": 692, + "id": 989, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 646, - "src": "1689:6:3", + "referencedDeclaration": 943, + "src": "1689:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4338,27 +4338,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1680:16:3", + "src": "1680:16:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 694, + "id": 991, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "totalResourceRequired", "nodeType": "MemberAccess", - "referencedDeclaration": 424, - "src": "1680:38:3", + "referencedDeclaration": 721, + "src": "1680:38:4", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 695, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, @@ -4366,35 +4366,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1680:40:3", + "src": "1680:40:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 696, + "id": 993, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "1429:302:3", + "src": "1429:302:4", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_contract$_Listing_$605_$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", + "typeIdentifier": "t_tuple$_t_contract$_Listing_$902_$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", "typeString": "tuple(contract Listing,address,bytes32,uint256,uint256,uint256,uint256)" } }, - "functionReturnParameters": 662, - "id": 697, + "functionReturnParameters": 959, + "id": 994, "nodeType": "Return", - "src": "1422:309:3" + "src": "1422:309:4" } ] }, "documentation": "@dev getListing(): Return listing info for a given listing\r\n @param _index the index of the listing we want info about\r", - "id": 699, + "id": 996, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4402,16 +4402,16 @@ "name": "getListing", "nodeType": "FunctionDefinition", "parameters": { - "id": 647, + "id": 944, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 646, + "id": 943, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1044:11:3", + "scope": 996, + "src": "1044:11:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4419,10 +4419,10 @@ "typeString": "uint256" }, "typeName": { - "id": 645, + "id": 942, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1044:4:3", + "src": "1044:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4432,35 +4432,35 @@ "visibility": "internal" } ], - "src": "1043:13:3" + "src": "1043:13:4" }, "payable": false, "returnParameters": { - "id": 662, + "id": 959, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 649, + "id": 946, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1103:7:3", + "scope": 996, + "src": "1103:7:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 648, + "id": 945, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "1103:7:3", + "referencedDeclaration": 902, + "src": "1103:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -4469,11 +4469,11 @@ }, { "constant": false, - "id": 651, + "id": 948, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1112:7:3", + "scope": 996, + "src": "1112:7:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4481,10 +4481,10 @@ "typeString": "address" }, "typeName": { - "id": 650, + "id": 947, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1112:7:3", + "src": "1112:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4495,11 +4495,11 @@ }, { "constant": false, - "id": 653, + "id": 950, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1121:7:3", + "scope": 996, + "src": "1121:7:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4507,10 +4507,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 652, + "id": 949, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1121:7:3", + "src": "1121:7:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4521,11 +4521,11 @@ }, { "constant": false, - "id": 655, + "id": 952, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1130:4:3", + "scope": 996, + "src": "1130:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4533,10 +4533,10 @@ "typeString": "uint256" }, "typeName": { - "id": 654, + "id": 951, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1130:4:3", + "src": "1130:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4547,11 +4547,11 @@ }, { "constant": false, - "id": 657, + "id": 954, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1136:4:3", + "scope": 996, + "src": "1136:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4559,10 +4559,10 @@ "typeString": "uint256" }, "typeName": { - "id": 656, + "id": 953, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1136:4:3", + "src": "1136:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4573,11 +4573,11 @@ }, { "constant": false, - "id": 659, + "id": 956, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1141:4:3", + "scope": 996, + "src": "1141:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4585,10 +4585,10 @@ "typeString": "uint256" }, "typeName": { - "id": 658, + "id": 955, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1141:4:3", + "src": "1141:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4599,11 +4599,11 @@ }, { "constant": false, - "id": 661, + "id": 958, "name": "", "nodeType": "VariableDeclaration", - "scope": 699, - "src": "1147:4:3", + "scope": 996, + "src": "1147:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4611,10 +4611,10 @@ "typeString": "uint256" }, "typeName": { - "id": 660, + "id": 957, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1147:4:3", + "src": "1147:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4624,32 +4624,32 @@ "visibility": "internal" } ], - "src": "1102:50:3" + "src": "1102:50:4" }, - "scope": 853, - "src": "1024:715:3", + "scope": 1150, + "src": "1024:715:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 760, + "id": 1057, "nodeType": "Block", - "src": "1858:327:3", + "src": "1858:327:4", "statements": [ { "assignments": [ - 710 + 1007 ], "declarations": [ { "constant": false, - "id": 710, + "id": 1007, "name": "length", "nodeType": "VariableDeclaration", - "scope": 761, - "src": "1869:14:3", + "scope": 1058, + "src": "1869:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4657,10 +4657,10 @@ "typeString": "uint256" }, "typeName": { - "id": 709, + "id": 1006, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1869:7:3", + "src": "1869:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4670,22 +4670,22 @@ "visibility": "internal" } ], - "id": 712, + "id": 1009, "initialValue": { "argumentTypes": null, - "id": 711, + "id": 1008, "name": "howMany", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 703, - "src": "1886:7:3", + "referencedDeclaration": 1000, + "src": "1886:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1869:24:3" + "src": "1869:24:4" }, { "condition": { @@ -4694,19 +4694,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 718, + "id": 1015, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 713, + "id": 1010, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 710, - "src": "1908:6:3", + "referencedDeclaration": 1007, + "src": "1908:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4720,7 +4720,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 717, + "id": 1014, "isConstant": false, "isLValue": false, "isPure": false, @@ -4729,18 +4729,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 714, + "id": 1011, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1917:8:3", + "referencedDeclaration": 914, + "src": "1917:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 715, + "id": 1012, "isConstant": false, "isLValue": true, "isPure": false, @@ -4748,7 +4748,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1917:15:3", + "src": "1917:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4758,54 +4758,54 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 716, + "id": 1013, "name": "cursor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 701, - "src": "1935:6:3", + "referencedDeclaration": 998, + "src": "1935:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1917:24:3", + "src": "1917:24:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1908:33:3", + "src": "1908:33:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 727, + "id": 1024, "nodeType": "IfStatement", - "src": "1904:99:3", + "src": "1904:99:4", "trueBody": { - "id": 726, + "id": 1023, "nodeType": "Block", - "src": "1943:60:3", + "src": "1943:60:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 724, + "id": 1021, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 719, + "id": 1016, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 710, - "src": "1958:6:3", + "referencedDeclaration": 1007, + "src": "1958:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4819,7 +4819,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 723, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -4828,18 +4828,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 720, + "id": 1017, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "1967:8:3", + "referencedDeclaration": 914, + "src": "1967:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 721, + "id": 1018, "isConstant": false, "isLValue": true, "isPure": false, @@ -4847,7 +4847,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1967:15:3", + "src": "1967:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4857,32 +4857,32 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 722, + "id": 1019, "name": "cursor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 701, - "src": "1985:6:3", + "referencedDeclaration": 998, + "src": "1985:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1967:24:3", + "src": "1967:24:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1958:33:3", + "src": "1958:33:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 725, + "id": 1022, "nodeType": "ExpressionStatement", - "src": "1958:33:3" + "src": "1958:33:4" } ] } @@ -4890,21 +4890,21 @@ { "expression": { "argumentTypes": null, - "id": 734, + "id": 1031, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 728, + "id": 1025, "name": "values", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "2015:6:3", + "referencedDeclaration": 1004, + "src": "2015:6:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, @@ -4915,12 +4915,12 @@ "arguments": [ { "argumentTypes": null, - "id": 732, + "id": 1029, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 710, - "src": "2038:6:3", + "referencedDeclaration": 1007, + "src": "2038:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4934,41 +4934,41 @@ "typeString": "uint256" } ], - "id": 731, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "2024:13:3", + "src": "2024:13:4", "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_contract$_Listing_$605_$dyn_memory_$", + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_contract$_Listing_$902_$dyn_memory_$", "typeString": "function (uint256) pure returns (contract Listing[] memory)" }, "typeName": { "baseType": { "contractScope": null, - "id": 729, + "id": 1026, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "2028:7:3", + "referencedDeclaration": 902, + "src": "2028:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 730, + "id": 1027, "length": null, "nodeType": "ArrayTypeName", - "src": "2028:9:3", + "src": "2028:9:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", "typeString": "contract Listing[]" } } }, - "id": 733, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -4976,32 +4976,32 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2024:21:3", + "src": "2024:21:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory", "typeString": "contract Listing[] memory" } }, - "src": "2015:30:3", + "src": "2015:30:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, - "id": 735, + "id": 1032, "nodeType": "ExpressionStatement", - "src": "2015:30:3" + "src": "2015:30:4" }, { "body": { - "id": 756, + "id": 1053, "nodeType": "Block", - "src": "2093:59:3", + "src": "2093:59:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 754, + "id": 1051, "isConstant": false, "isLValue": false, "isPure": false, @@ -5010,26 +5010,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 746, + "id": 1043, "name": "values", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "2108:6:3", + "referencedDeclaration": 1004, + "src": "2108:6:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, - "id": 748, + "id": 1045, "indexExpression": { "argumentTypes": null, - "id": 747, + "id": 1044, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 737, - "src": "2115:1:3", + "referencedDeclaration": 1034, + "src": "2115:1:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5040,9 +5040,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2108:9:3", + "src": "2108:9:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, @@ -5052,37 +5052,37 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 749, + "id": 1046, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "2120:8:3", + "referencedDeclaration": 914, + "src": "2120:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 753, + "id": 1050, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 752, + "id": 1049, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 750, + "id": 1047, "name": "cursor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 701, - "src": "2129:6:3", + "referencedDeclaration": 998, + "src": "2129:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5092,18 +5092,18 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 751, + "id": 1048, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 737, - "src": "2138:1:3", + "referencedDeclaration": 1034, + "src": "2138:1:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2129:10:3", + "src": "2129:10:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5114,21 +5114,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2120:20:3", + "src": "2120:20:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "src": "2108:32:3", + "src": "2108:32:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 755, + "id": 1052, "nodeType": "ExpressionStatement", - "src": "2108:32:3" + "src": "2108:32:4" } ] }, @@ -5138,19 +5138,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 742, + "id": 1039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 740, + "id": 1037, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 737, - "src": "2076:1:3", + "referencedDeclaration": 1034, + "src": "2076:1:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5160,36 +5160,36 @@ "operator": "<", "rightExpression": { "argumentTypes": null, - "id": 741, + "id": 1038, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 710, - "src": "2080:6:3", + "referencedDeclaration": 1007, + "src": "2080:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2076:10:3", + "src": "2076:10:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 757, + "id": 1054, "initializationExpression": { "assignments": [ - 737 + 1034 ], "declarations": [ { "constant": false, - "id": 737, + "id": 1034, "name": "i", "nodeType": "VariableDeclaration", - "scope": 761, - "src": "2061:9:3", + "scope": 1058, + "src": "2061:9:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5197,10 +5197,10 @@ "typeString": "uint256" }, "typeName": { - "id": 736, + "id": 1033, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2061:7:3", + "src": "2061:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5210,18 +5210,18 @@ "visibility": "internal" } ], - "id": 739, + "id": 1036, "initialValue": { "argumentTypes": null, "hexValue": "30", - "id": 738, + "id": 1035, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2073:1:3", + "src": "2073:1:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -5230,12 +5230,12 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "2061:13:3" + "src": "2061:13:4" }, "loopExpression": { "expression": { "argumentTypes": null, - "id": 744, + "id": 1041, "isConstant": false, "isLValue": false, "isPure": false, @@ -5243,15 +5243,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "2088:3:3", + "src": "2088:3:4", "subExpression": { "argumentTypes": null, - "id": 743, + "id": 1040, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 737, - "src": "2088:1:3", + "referencedDeclaration": 1034, + "src": "2088:1:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5262,36 +5262,36 @@ "typeString": "uint256" } }, - "id": 745, + "id": 1042, "nodeType": "ExpressionStatement", - "src": "2088:3:3" + "src": "2088:3:4" }, "nodeType": "ForStatement", - "src": "2056:96:3" + "src": "2056:96:4" }, { "expression": { "argumentTypes": null, - "id": 758, + "id": 1055, "name": "values", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "2171:6:3", + "referencedDeclaration": 1004, + "src": "2171:6:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, - "functionReturnParameters": 708, - "id": 759, + "functionReturnParameters": 1005, + "id": 1056, "nodeType": "Return", - "src": "2164:13:3" + "src": "2164:13:4" } ] }, "documentation": null, - "id": 761, + "id": 1058, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5299,16 +5299,16 @@ "name": "fetchPage", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 1001, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 701, + "id": 998, "name": "cursor", "nodeType": "VariableDeclaration", - "scope": 761, - "src": "1766:14:3", + "scope": 1058, + "src": "1766:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5316,10 +5316,10 @@ "typeString": "uint256" }, "typeName": { - "id": 700, + "id": 997, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1766:7:3", + "src": "1766:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5330,11 +5330,11 @@ }, { "constant": false, - "id": 703, + "id": 1000, "name": "howMany", "nodeType": "VariableDeclaration", - "scope": 761, - "src": "1782:15:3", + "scope": 1058, + "src": "1782:15:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5342,10 +5342,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1782:7:3", + "src": "1782:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5355,45 +5355,45 @@ "visibility": "internal" } ], - "src": "1765:33:3" + "src": "1765:33:4" }, "payable": false, "returnParameters": { - "id": 708, + "id": 1005, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 707, + "id": 1004, "name": "values", "nodeType": "VariableDeclaration", - "scope": 761, - "src": "1835:16:3", + "scope": 1058, + "src": "1835:16:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", "typeString": "contract Listing[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 705, + "id": 1002, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "1835:7:3", + "referencedDeclaration": 902, + "src": "1835:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } }, - "id": 706, + "id": 1003, "length": null, "nodeType": "ArrayTypeName", - "src": "1835:9:3", + "src": "1835:9:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", "typeString": "contract Listing[]" } }, @@ -5401,19 +5401,19 @@ "visibility": "internal" } ], - "src": "1834:18:3" + "src": "1834:18:4" }, - "scope": 853, - "src": "1747:438:3", + "scope": 1150, + "src": "1747:438:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 801, + "id": 1098, "nodeType": "Block", - "src": "3085:213:3", + "src": "3085:213:4", "statements": [ { "expression": { @@ -5426,18 +5426,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 781, + "id": 1078, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "3122:3:3", + "referencedDeclaration": 1222, + "src": "3122:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 782, + "id": 1079, "isConstant": false, "isLValue": false, "isPure": false, @@ -5445,7 +5445,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3122:10:3", + "src": "3122:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5453,12 +5453,12 @@ }, { "argumentTypes": null, - "id": 783, + "id": 1080, "name": "_ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "3134:9:3", + "referencedDeclaration": 1060, + "src": "3134:9:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -5466,12 +5466,12 @@ }, { "argumentTypes": null, - "id": 784, + "id": 1081, "name": "_workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 765, - "src": "3145:13:3", + "referencedDeclaration": 1062, + "src": "3145:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5479,12 +5479,12 @@ }, { "argumentTypes": null, - "id": 785, + "id": 1082, "name": "_resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 767, - "src": "3160:13:3", + "referencedDeclaration": 1064, + "src": "3160:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5492,12 +5492,12 @@ }, { "argumentTypes": null, - "id": 786, + "id": 1083, "name": "_resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 769, - "src": "3174:13:3", + "referencedDeclaration": 1066, + "src": "3174:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5505,12 +5505,12 @@ }, { "argumentTypes": null, - "id": 787, + "id": 1084, "name": "_totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 771, - "src": "3188:22:3", + "referencedDeclaration": 1068, + "src": "3188:22:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5544,31 +5544,31 @@ "typeString": "uint256" } ], - "id": 780, + "id": 1077, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "3110:11:3", + "src": "3110:11:4", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$605_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$902_$", "typeString": "function (address,bytes32,uint256,uint256,uint256,uint256) returns (contract Listing)" }, "typeName": { "contractScope": null, - "id": 779, + "id": 1076, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "3114:7:3", + "referencedDeclaration": 902, + "src": "3114:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } } }, - "id": 788, + "id": 1085, "isConstant": false, "isLValue": false, "isPure": false, @@ -5576,9 +5576,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3110:101:3", + "src": "3110:101:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } } @@ -5586,24 +5586,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } ], "expression": { "argumentTypes": null, - "id": 776, + "id": 1073, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "3096:8:3", + "referencedDeclaration": 914, + "src": "3096:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 778, + "id": 1075, "isConstant": false, "isLValue": false, "isPure": false, @@ -5611,13 +5611,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3096:13:3", + "src": "3096:13:4", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$605_$returns$_t_uint256_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$902_$returns$_t_uint256_$", "typeString": "function (contract Listing) returns (uint256)" } }, - "id": 789, + "id": 1086, "isConstant": false, "isLValue": false, "isPure": false, @@ -5625,15 +5625,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3096:116:3", + "src": "3096:116:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 790, + "id": 1087, "nodeType": "ExpressionStatement", - "src": "3096:116:3" + "src": "3096:116:4" }, { "eventCall": { @@ -5645,7 +5645,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 795, + "id": 1092, "isConstant": false, "isLValue": false, "isPure": false, @@ -5654,18 +5654,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 792, + "id": 1089, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "3239:8:3", + "referencedDeclaration": 914, + "src": "3239:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 793, + "id": 1090, "isConstant": false, "isLValue": true, "isPure": false, @@ -5673,7 +5673,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3239:15:3", + "src": "3239:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5684,14 +5684,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 794, + "id": 1091, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3255:1:3", + "src": "3255:1:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -5699,7 +5699,7 @@ }, "value": "1" }, - "src": "3239:17:3", + "src": "3239:17:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5713,18 +5713,18 @@ "typeString": "uint256" } ], - "id": 791, + "id": 1088, "name": "NewListing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 612, - "src": "3228:10:3", + "referencedDeclaration": 909, + "src": "3228:10:4", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 796, + "id": 1093, "isConstant": false, "isLValue": false, "isPure": false, @@ -5732,33 +5732,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3228:29:3", + "src": "3228:29:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 797, + "id": 1094, "nodeType": "EmitStatement", - "src": "3223:34:3" + "src": "3223:34:4" }, { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 798, + "id": 1095, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "3275:8:3", + "referencedDeclaration": 914, + "src": "3275:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 799, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, @@ -5766,21 +5766,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3275:15:3", + "src": "3275:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 775, - "id": 800, + "functionReturnParameters": 1072, + "id": 1097, "nodeType": "Return", - "src": "3268:22:3" + "src": "3268:22:4" } ] }, "documentation": "Sample Remix invocation:\r\n [\"0x01\",\"0x7d\",\"0xfd\",\"0x85\",\"0xd4\",\"0xf6\",\"0xcb\",\"0x4d\",\"0xcd\",\"0x71\",\"0x5a\",\"0x88\",\"0x10\",\"0x1f\",\"0x7b\",\"0x1f\",\"0x06\",\"0xcd\",\"0x1e\",\"0x00\",\"0x9b\",\"0x23\",\"0x27\",\"0xa0\",\"0x80\",\"0x9d\",\"0x01\",\"0xeb\",\"0x9c\",\"0x91\",\"0xf2\",\"0x31\"],\"3140000000000000000\",42\r", - "id": 802, + "id": 1099, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -5788,16 +5788,16 @@ "name": "create", "nodeType": "FunctionDefinition", "parameters": { - "id": 772, + "id": 1069, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 1060, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 802, - "src": "2894:17:3", + "scope": 1099, + "src": "2894:17:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5805,10 +5805,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 762, + "id": 1059, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2894:7:3", + "src": "2894:7:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -5819,11 +5819,11 @@ }, { "constant": false, - "id": 765, + "id": 1062, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 802, - "src": "2922:18:3", + "scope": 1099, + "src": "2922:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5831,10 +5831,10 @@ "typeString": "uint256" }, "typeName": { - "id": 764, + "id": 1061, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2922:4:3", + "src": "2922:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5845,11 +5845,11 @@ }, { "constant": false, - "id": 767, + "id": 1064, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 802, - "src": "2951:18:3", + "scope": 1099, + "src": "2951:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5857,10 +5857,10 @@ "typeString": "uint256" }, "typeName": { - "id": 766, + "id": 1063, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2951:4:3", + "src": "2951:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5871,11 +5871,11 @@ }, { "constant": false, - "id": 769, + "id": 1066, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 802, - "src": "2980:18:3", + "scope": 1099, + "src": "2980:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5883,10 +5883,10 @@ "typeString": "uint256" }, "typeName": { - "id": 768, + "id": 1065, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2980:4:3", + "src": "2980:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5897,11 +5897,11 @@ }, { "constant": false, - "id": 771, + "id": 1068, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 802, - "src": "3009:27:3", + "scope": 1099, + "src": "3009:27:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5909,10 +5909,10 @@ "typeString": "uint256" }, "typeName": { - "id": 770, + "id": 1067, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3009:4:3", + "src": "3009:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5922,20 +5922,20 @@ "visibility": "internal" } ], - "src": "2883:160:3" + "src": "2883:160:4" }, "payable": false, "returnParameters": { - "id": 775, + "id": 1072, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 774, + "id": 1071, "name": "", "nodeType": "VariableDeclaration", - "scope": 802, - "src": "3074:4:3", + "scope": 1099, + "src": "3074:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5943,10 +5943,10 @@ "typeString": "uint256" }, "typeName": { - "id": 773, + "id": 1070, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3074:4:3", + "src": "3074:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5956,19 +5956,19 @@ "visibility": "internal" } ], - "src": "3073:6:3" + "src": "3073:6:4" }, - "scope": 853, - "src": "2868:430:3", + "scope": 1150, + "src": "2868:430:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 851, + "id": 1148, "nodeType": "Block", - "src": "4035:294:3", + "src": "4035:294:4", "statements": [ { "expression": { @@ -5980,7 +5980,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 823, + "id": 1120, "isConstant": false, "isLValue": false, "isPure": false, @@ -5989,18 +5989,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 820, + "id": 1117, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 868, - "src": "4055:3:3", + "referencedDeclaration": 1222, + "src": "4055:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 821, + "id": 1118, "isConstant": false, "isLValue": false, "isPure": false, @@ -6008,7 +6008,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4055:10:3", + "src": "4055:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6018,18 +6018,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 822, + "id": 1119, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 614, - "src": "4069:5:3", + "referencedDeclaration": 911, + "src": "4069:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "4055:19:3", + "src": "4055:19:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6038,14 +6038,14 @@ { "argumentTypes": null, "hexValue": "4f6e6c792063616c6c61626c65206279207265676973747279206f776e6572", - "id": 824, + "id": 1121, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4076:33:3", + "src": "4076:33:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_a20a2dd5a23f4821a72bf6d8995e30bd3c3d788da1cb47c7a01d91ed1e1d92b0", @@ -6065,21 +6065,21 @@ "typeString": "literal_string \"Only callable by registry owner\"" } ], - "id": 819, + "id": 1116, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 871, - 872 + 1225, + 1226 ], - "referencedDeclaration": 872, - "src": "4046:7:3", + "referencedDeclaration": 1226, + "src": "4046:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 825, + "id": 1122, "isConstant": false, "isLValue": false, "isPure": false, @@ -6087,15 +6087,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4046:64:3", + "src": "4046:64:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 826, + "id": 1123, "nodeType": "ExpressionStatement", - "src": "4046:64:3" + "src": "4046:64:4" }, { "expression": { @@ -6106,12 +6106,12 @@ "arguments": [ { "argumentTypes": null, - "id": 832, + "id": 1129, "name": "_creatorAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 814, - "src": "4147:15:3", + "referencedDeclaration": 1111, + "src": "4147:15:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6119,12 +6119,12 @@ }, { "argumentTypes": null, - "id": 833, + "id": 1130, "name": "_ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 804, - "src": "4165:9:3", + "referencedDeclaration": 1101, + "src": "4165:9:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -6132,12 +6132,12 @@ }, { "argumentTypes": null, - "id": 834, + "id": 1131, "name": "_workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 806, - "src": "4176:13:3", + "referencedDeclaration": 1103, + "src": "4176:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6145,12 +6145,12 @@ }, { "argumentTypes": null, - "id": 835, + "id": 1132, "name": "_resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 808, - "src": "4191:13:3", + "referencedDeclaration": 1105, + "src": "4191:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6158,12 +6158,12 @@ }, { "argumentTypes": null, - "id": 836, + "id": 1133, "name": "_resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 810, - "src": "4205:13:3", + "referencedDeclaration": 1107, + "src": "4205:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6171,12 +6171,12 @@ }, { "argumentTypes": null, - "id": 837, + "id": 1134, "name": "_totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 812, - "src": "4219:22:3", + "referencedDeclaration": 1109, + "src": "4219:22:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6210,31 +6210,31 @@ "typeString": "uint256" } ], - "id": 831, + "id": 1128, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "4135:11:3", + "src": "4135:11:4", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$605_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$902_$", "typeString": "function (address,bytes32,uint256,uint256,uint256,uint256) returns (contract Listing)" }, "typeName": { "contractScope": null, - "id": 830, + "id": 1127, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 605, - "src": "4139:7:3", + "referencedDeclaration": 902, + "src": "4139:7:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } } }, - "id": 838, + "id": 1135, "isConstant": false, "isLValue": false, "isPure": false, @@ -6242,9 +6242,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4135:107:3", + "src": "4135:107:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } } @@ -6252,24 +6252,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$605", + "typeIdentifier": "t_contract$_Listing_$902", "typeString": "contract Listing" } ], "expression": { "argumentTypes": null, - "id": 827, + "id": 1124, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "4121:8:3", + "referencedDeclaration": 914, + "src": "4121:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 829, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -6277,13 +6277,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4121:13:3", + "src": "4121:13:4", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$605_$returns$_t_uint256_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$902_$returns$_t_uint256_$", "typeString": "function (contract Listing) returns (uint256)" } }, - "id": 839, + "id": 1136, "isConstant": false, "isLValue": false, "isPure": false, @@ -6291,15 +6291,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4121:122:3", + "src": "4121:122:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 840, + "id": 1137, "nodeType": "ExpressionStatement", - "src": "4121:122:3" + "src": "4121:122:4" }, { "eventCall": { @@ -6311,7 +6311,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 845, + "id": 1142, "isConstant": false, "isLValue": false, "isPure": false, @@ -6320,18 +6320,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 842, + "id": 1139, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "4270:8:3", + "referencedDeclaration": 914, + "src": "4270:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 843, + "id": 1140, "isConstant": false, "isLValue": true, "isPure": false, @@ -6339,7 +6339,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4270:15:3", + "src": "4270:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6350,14 +6350,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 844, + "id": 1141, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "4286:1:3", + "src": "4286:1:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -6365,7 +6365,7 @@ }, "value": "1" }, - "src": "4270:17:3", + "src": "4270:17:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6379,18 +6379,18 @@ "typeString": "uint256" } ], - "id": 841, + "id": 1138, "name": "NewListing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 612, - "src": "4259:10:3", + "referencedDeclaration": 909, + "src": "4259:10:4", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 846, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -6398,33 +6398,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4259:29:3", + "src": "4259:29:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 847, + "id": 1144, "nodeType": "EmitStatement", - "src": "4254:34:3" + "src": "4254:34:4" }, { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 848, + "id": 1145, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 617, - "src": "4306:8:3", + "referencedDeclaration": 914, + "src": "4306:8:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$605_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 849, + "id": 1146, "isConstant": false, "isLValue": true, "isPure": false, @@ -6432,21 +6432,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4306:15:3", + "src": "4306:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 818, - "id": 850, + "functionReturnParameters": 1115, + "id": 1147, "nodeType": "Return", - "src": "4299:22:3" + "src": "4299:22:4" } ] }, "documentation": null, - "id": 852, + "id": 1149, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -6454,16 +6454,16 @@ "name": "createOnBehalf", "nodeType": "FunctionDefinition", "parameters": { - "id": 815, + "id": 1112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 804, + "id": 1101, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "3810:17:3", + "scope": 1149, + "src": "3810:17:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6471,10 +6471,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 803, + "id": 1100, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "3810:7:3", + "src": "3810:7:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -6485,11 +6485,11 @@ }, { "constant": false, - "id": 806, + "id": 1103, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "3838:18:3", + "scope": 1149, + "src": "3838:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6497,10 +6497,10 @@ "typeString": "uint256" }, "typeName": { - "id": 805, + "id": 1102, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3838:4:3", + "src": "3838:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6511,11 +6511,11 @@ }, { "constant": false, - "id": 808, + "id": 1105, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "3867:18:3", + "scope": 1149, + "src": "3867:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6523,10 +6523,10 @@ "typeString": "uint256" }, "typeName": { - "id": 807, + "id": 1104, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3867:4:3", + "src": "3867:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6537,11 +6537,11 @@ }, { "constant": false, - "id": 810, + "id": 1107, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "3896:18:3", + "scope": 1149, + "src": "3896:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6549,10 +6549,10 @@ "typeString": "uint256" }, "typeName": { - "id": 809, + "id": 1106, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3896:4:3", + "src": "3896:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6563,11 +6563,11 @@ }, { "constant": false, - "id": 812, + "id": 1109, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "3925:27:3", + "scope": 1149, + "src": "3925:27:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6575,10 +6575,10 @@ "typeString": "uint256" }, "typeName": { - "id": 811, + "id": 1108, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3925:4:3", + "src": "3925:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6589,11 +6589,11 @@ }, { "constant": false, - "id": 814, + "id": 1111, "name": "_creatorAddress", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "3963:23:3", + "scope": 1149, + "src": "3963:23:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6601,10 +6601,10 @@ "typeString": "address" }, "typeName": { - "id": 813, + "id": 1110, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3963:7:3", + "src": "3963:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6614,20 +6614,20 @@ "visibility": "internal" } ], - "src": "3799:194:3" + "src": "3799:194:4" }, "payable": false, "returnParameters": { - "id": 818, + "id": 1115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 1114, "name": "", "nodeType": "VariableDeclaration", - "scope": 852, - "src": "4024:4:3", + "scope": 1149, + "src": "4024:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6635,10 +6635,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 1113, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4024:4:3", + "src": "4024:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6648,20 +6648,20 @@ "visibility": "internal" } ], - "src": "4023:6:3" + "src": "4023:6:4" }, - "scope": 853, - "src": "3776:553:3", + "scope": 1150, + "src": "3776:553:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 854, - "src": "199:4133:3" + "scope": 1151, + "src": "199:4133:4" } ], - "src": "0:4332:3" + "src": "0:4332:4" }, "compiler": { "name": "solc", @@ -6683,8 +6683,16 @@ }, "address": "0x345ca3e014aaf5dca488057592ee47305d9b3e10", "transactionHash": "0x090ba7bea96856c6df19151d25bc89d69af2ea78b96bf6d1f59ff20fe09d4ead" + }, + "1538849010791": { + "events": {}, + "links": { + "JobApplicationLibrary": "0x4ef40c4a7fc80cb4bc48a8444b6a741348fc9675" + }, + "address": "0xbe11354d02f964a93260b61089fd9a56d8b46a8d", + "transactionHash": "0x55d57f8778859078a2f017170aacd4fdfb2bfeea7d2b604c44eed49590f6c1d9" } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-08-09T15:53:00.321Z" + "updatedAt": "2018-10-08T16:52:52.830Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/Migrations.json b/ethereum/build/contracts/Migrations.json index ad19df0..3a33cf6 100644 --- a/ethereum/build/contracts/Migrations.json +++ b/ethereum/build/contracts/Migrations.json @@ -64,24 +64,24 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b5060008054600160a060020a0319163317905561023c806100326000396000f3006080604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630900f0108114610066578063445df0ac146100965780638da5cb5b146100bd578063fdacd576146100fb575b600080fd5b34801561007257600080fd5b5061009473ffffffffffffffffffffffffffffffffffffffff60043516610113565b005b3480156100a257600080fd5b506100ab6101c5565b60408051918252519081900360200190f35b3480156100c957600080fd5b506100d26101cb565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561010757600080fd5b506100946004356101e7565b6000805473ffffffffffffffffffffffffffffffffffffffff163314156101c1578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b1580156101a857600080fd5b505af11580156101bc573d6000803e3d6000fd5b505050505b5050565b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1633141561020d5760018190555b505600a165627a7a72305820bd16cc52d8a37a1522da53bdc3a0d4402917b6796a17ab20ebda68cd1f3e3ecc0029", - "deployedBytecode": "0x6080604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630900f0108114610066578063445df0ac146100965780638da5cb5b146100bd578063fdacd576146100fb575b600080fd5b34801561007257600080fd5b5061009473ffffffffffffffffffffffffffffffffffffffff60043516610113565b005b3480156100a257600080fd5b506100ab6101c5565b60408051918252519081900360200190f35b3480156100c957600080fd5b506100d26101cb565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561010757600080fd5b506100946004356101e7565b6000805473ffffffffffffffffffffffffffffffffffffffff163314156101c1578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b1580156101a857600080fd5b505af11580156101bc573d6000803e3d6000fd5b505050505b5050565b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1633141561020d5760018190555b505600a165627a7a72305820bd16cc52d8a37a1522da53bdc3a0d4402917b6796a17ab20ebda68cd1f3e3ecc0029", - "sourceMap": "28:500:4:-;;;188:52;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;216:5:4;:18;;-1:-1:-1;;;;;;216:18:4;224:10;216:18;;;28:500;;;;;;", - "deployedSourceMap": "28:500:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;357:168;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;357:168:4;;;;;;;;;78:36;;8:9:-1;5:2;;;30:1;27;20:12;5:2;78:36:4;;;;;;;;;;;;;;;;;;;;53:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53:20:4;;;;;;;;;;;;;;;;;;;;;;;246:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;246:105:4;;;;;357:168;420:19;168:5;;;;154:10;:19;150:26;;;453:11;420:45;;472:8;:21;;;494:24;;472:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;472:47:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;472:47:4;;;;150:26;357:168;;:::o;78:36::-;;;;:::o;53:20::-;;;;;;:::o;246:105::-;168:5;;;;154:10;:19;150:26;;;309:24;:36;;;150:26;246:105;:::o", + "bytecode": "0x608060405234801561001057600080fd5b5060008054600160a060020a0319163317905561023c806100326000396000f3006080604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630900f0108114610066578063445df0ac146100965780638da5cb5b146100bd578063fdacd576146100fb575b600080fd5b34801561007257600080fd5b5061009473ffffffffffffffffffffffffffffffffffffffff60043516610113565b005b3480156100a257600080fd5b506100ab6101c5565b60408051918252519081900360200190f35b3480156100c957600080fd5b506100d26101cb565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561010757600080fd5b506100946004356101e7565b6000805473ffffffffffffffffffffffffffffffffffffffff163314156101c1578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b1580156101a857600080fd5b505af11580156101bc573d6000803e3d6000fd5b505050505b5050565b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1633141561020d5760018190555b505600a165627a7a72305820aef29d69b374dc09c4275531f53b19c93760377ed6a8f8e4d4b3cbc9ede7b3140029", + "deployedBytecode": "0x6080604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630900f0108114610066578063445df0ac146100965780638da5cb5b146100bd578063fdacd576146100fb575b600080fd5b34801561007257600080fd5b5061009473ffffffffffffffffffffffffffffffffffffffff60043516610113565b005b3480156100a257600080fd5b506100ab6101c5565b60408051918252519081900360200190f35b3480156100c957600080fd5b506100d26101cb565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561010757600080fd5b506100946004356101e7565b6000805473ffffffffffffffffffffffffffffffffffffffff163314156101c1578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b1580156101a857600080fd5b505af11580156101bc573d6000803e3d6000fd5b505050505b5050565b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1633141561020d5760018190555b505600a165627a7a72305820aef29d69b374dc09c4275531f53b19c93760377ed6a8f8e4d4b3cbc9ede7b3140029", + "sourceMap": "28:500:5:-;;;188:52;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;216:5:5;:18;;-1:-1:-1;;;;;;216:18:5;224:10;216:18;;;28:500;;;;;;", + "deployedSourceMap": "28:500:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;357:168;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;357:168:5;;;;;;;;;78:36;;8:9:-1;5:2;;;30:1;27;20:12;5:2;78:36:5;;;;;;;;;;;;;;;;;;;;53:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53:20:5;;;;;;;;;;;;;;;;;;;;;;;246:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;246:105:5;;;;;357:168;420:19;168:5;;;;154:10;:19;150:26;;;453:11;420:45;;472:8;:21;;;494:24;;472:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;472:47:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;472:47:5;;;;150:26;357:168;;:::o;78:36::-;;;;:::o;53:20::-;;;;;;:::o;246:105::-;168:5;;;;154:10;:19;150:26;;;309:24;:36;;;150:26;246:105;:::o", "source": "pragma solidity ^0.4.24;\r\n\r\ncontract Migrations {\r\n address public owner;\r\n uint public last_completed_migration;\r\n\r\n modifier restricted() {\r\n if (msg.sender == owner) _;\r\n }\r\n\r\n constructor() public {\r\n owner = msg.sender;\r\n }\r\n\r\n function setCompleted(uint completed) public restricted {\r\n last_completed_migration = completed;\r\n }\r\n\r\n function upgrade(address new_address) public restricted {\r\n Migrations upgraded = Migrations(new_address);\r\n upgraded.setCompleted(last_completed_migration);\r\n }\r\n}\r\n", - "sourcePath": "C:\\i\\HT\\hellonetmarket\\ethereum\\contracts\\Migrations.sol", + "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\Migrations.sol", "ast": { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Migrations.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Migrations.sol", "exportedSymbols": { "Migrations": [ - 848 + 1207 ] }, - "id": 849, + "id": 1208, "nodeType": "SourceUnit", "nodes": [ { - "id": 793, + "id": 1152, "literals": [ "solidity", "^", @@ -89,7 +89,7 @@ ".24" ], "nodeType": "PragmaDirective", - "src": "0:24:4" + "src": "0:24:5" }, { "baseContracts": [], @@ -97,20 +97,20 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 848, + "id": 1207, "linearizedBaseContracts": [ - 848 + 1207 ], "name": "Migrations", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 795, + "id": 1154, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 848, - "src": "53:20:4", + "scope": 1207, + "src": "53:20:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -118,10 +118,10 @@ "typeString": "address" }, "typeName": { - "id": 794, + "id": 1153, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53:7:4", + "src": "53:7:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -132,11 +132,11 @@ }, { "constant": false, - "id": 797, + "id": 1156, "name": "last_completed_migration", "nodeType": "VariableDeclaration", - "scope": 848, - "src": "78:36:4", + "scope": 1207, + "src": "78:36:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -144,10 +144,10 @@ "typeString": "uint256" }, "typeName": { - "id": 796, + "id": 1155, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "78:4:4", + "src": "78:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -158,9 +158,9 @@ }, { "body": { - "id": 805, + "id": 1164, "nodeType": "Block", - "src": "143:39:4", + "src": "143:39:5", "statements": [ { "condition": { @@ -169,7 +169,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 802, + "id": 1161, "isConstant": false, "isLValue": false, "isPure": false, @@ -178,18 +178,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 799, + "id": 1158, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 863, - "src": "154:3:4", + "referencedDeclaration": 1222, + "src": "154:3:5", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 800, + "id": 1159, "isConstant": false, "isLValue": false, "isPure": false, @@ -197,7 +197,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "154:10:4", + "src": "154:10:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -207,70 +207,70 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 801, + "id": 1160, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, - "src": "168:5:4", + "referencedDeclaration": 1154, + "src": "168:5:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "154:19:4", + "src": "154:19:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 804, + "id": 1163, "nodeType": "IfStatement", - "src": "150:26:4", + "src": "150:26:5", "trueBody": { - "id": 803, + "id": 1162, "nodeType": "PlaceholderStatement", - "src": "175:1:4" + "src": "175:1:5" } } ] }, "documentation": null, - "id": 806, + "id": 1165, "name": "restricted", "nodeType": "ModifierDefinition", "parameters": { - "id": 798, + "id": 1157, "nodeType": "ParameterList", "parameters": [], - "src": "140:2:4" + "src": "140:2:5" }, - "src": "121:61:4", + "src": "121:61:5", "visibility": "internal" }, { "body": { - "id": 814, + "id": 1173, "nodeType": "Block", - "src": "209:31:4", + "src": "209:31:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 812, + "id": 1171, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 809, + "id": 1168, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, - "src": "216:5:4", + "referencedDeclaration": 1154, + "src": "216:5:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -282,18 +282,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 810, + "id": 1169, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 863, - "src": "224:3:4", + "referencedDeclaration": 1222, + "src": "224:3:5", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 811, + "id": 1170, "isConstant": false, "isLValue": false, "isPure": false, @@ -301,26 +301,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "224:10:4", + "src": "224:10:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "216:18:4", + "src": "216:18:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 813, + "id": 1172, "nodeType": "ExpressionStatement", - "src": "216:18:4" + "src": "216:18:5" } ] }, "documentation": null, - "id": 815, + "id": 1174, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -328,46 +328,46 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 807, + "id": 1166, "nodeType": "ParameterList", "parameters": [], - "src": "199:2:4" + "src": "199:2:5" }, "payable": false, "returnParameters": { - "id": 808, + "id": 1167, "nodeType": "ParameterList", "parameters": [], - "src": "209:0:4" + "src": "209:0:5" }, - "scope": 848, - "src": "188:52:4", + "scope": 1207, + "src": "188:52:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 826, + "id": 1185, "nodeType": "Block", - "src": "302:49:4", + "src": "302:49:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 824, + "id": 1183, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 822, + "id": 1181, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, - "src": "309:24:4", + "referencedDeclaration": 1156, + "src": "309:24:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -377,68 +377,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 823, + "id": 1182, "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "336:9:4", + "referencedDeclaration": 1176, + "src": "336:9:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "309:36:4", + "src": "309:36:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 825, + "id": 1184, "nodeType": "ExpressionStatement", - "src": "309:36:4" + "src": "309:36:5" } ] }, "documentation": null, - "id": 827, + "id": 1186, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 820, + "id": 1179, "modifierName": { "argumentTypes": null, - "id": 819, + "id": 1178, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 806, - "src": "291:10:4", + "referencedDeclaration": 1165, + "src": "291:10:5", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "291:10:4" + "src": "291:10:5" } ], "name": "setCompleted", "nodeType": "FunctionDefinition", "parameters": { - "id": 818, + "id": 1177, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 1176, "name": "completed", "nodeType": "VariableDeclaration", - "scope": 827, - "src": "268:14:4", + "scope": 1186, + "src": "268:14:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -446,10 +446,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 1175, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "268:4:4", + "src": "268:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -459,54 +459,54 @@ "visibility": "internal" } ], - "src": "267:16:4" + "src": "267:16:5" }, "payable": false, "returnParameters": { - "id": 821, + "id": 1180, "nodeType": "ParameterList", "parameters": [], - "src": "302:0:4" + "src": "302:0:5" }, - "scope": 848, - "src": "246:105:4", + "scope": 1207, + "src": "246:105:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 846, + "id": 1205, "nodeType": "Block", - "src": "413:112:4", + "src": "413:112:5", "statements": [ { "assignments": [ - 835 + 1194 ], "declarations": [ { "constant": false, - "id": 835, + "id": 1194, "name": "upgraded", "nodeType": "VariableDeclaration", - "scope": 847, - "src": "420:19:4", + "scope": 1206, + "src": "420:19:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$848", + "typeIdentifier": "t_contract$_Migrations_$1207", "typeString": "contract Migrations" }, "typeName": { "contractScope": null, - "id": 834, + "id": 1193, "name": "Migrations", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 848, - "src": "420:10:4", + "referencedDeclaration": 1207, + "src": "420:10:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$848", + "typeIdentifier": "t_contract$_Migrations_$1207", "typeString": "contract Migrations" } }, @@ -514,18 +514,18 @@ "visibility": "internal" } ], - "id": 839, + "id": 1198, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 837, + "id": 1196, "name": "new_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 829, - "src": "453:11:4", + "referencedDeclaration": 1188, + "src": "453:11:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -539,18 +539,18 @@ "typeString": "address" } ], - "id": 836, + "id": 1195, "name": "Migrations", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 848, - "src": "442:10:4", + "referencedDeclaration": 1207, + "src": "442:10:5", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Migrations_$848_$", + "typeIdentifier": "t_type$_t_contract$_Migrations_$1207_$", "typeString": "type(contract Migrations)" } }, - "id": 838, + "id": 1197, "isConstant": false, "isLValue": false, "isPure": false, @@ -558,14 +558,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "442:23:4", + "src": "442:23:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$848", + "typeIdentifier": "t_contract$_Migrations_$1207", "typeString": "contract Migrations" } }, "nodeType": "VariableDeclarationStatement", - "src": "420:45:4" + "src": "420:45:5" }, { "expression": { @@ -573,12 +573,12 @@ "arguments": [ { "argumentTypes": null, - "id": 843, + "id": 1202, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, - "src": "494:24:4", + "referencedDeclaration": 1156, + "src": "494:24:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -594,32 +594,32 @@ ], "expression": { "argumentTypes": null, - "id": 840, + "id": 1199, "name": "upgraded", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 835, - "src": "472:8:4", + "referencedDeclaration": 1194, + "src": "472:8:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$848", + "typeIdentifier": "t_contract$_Migrations_$1207", "typeString": "contract Migrations" } }, - "id": 842, + "id": 1201, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "setCompleted", "nodeType": "MemberAccess", - "referencedDeclaration": 827, - "src": "472:21:4", + "referencedDeclaration": 1186, + "src": "472:21:5", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256) external" } }, - "id": 844, + "id": 1203, "isConstant": false, "isLValue": false, "isPure": false, @@ -627,57 +627,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "472:47:4", + "src": "472:47:5", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 845, + "id": 1204, "nodeType": "ExpressionStatement", - "src": "472:47:4" + "src": "472:47:5" } ] }, "documentation": null, - "id": 847, + "id": 1206, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 832, + "id": 1191, "modifierName": { "argumentTypes": null, - "id": 831, + "id": 1190, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 806, - "src": "402:10:4", + "referencedDeclaration": 1165, + "src": "402:10:5", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "402:10:4" + "src": "402:10:5" } ], "name": "upgrade", "nodeType": "FunctionDefinition", "parameters": { - "id": 830, + "id": 1189, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 829, + "id": 1188, "name": "new_address", "nodeType": "VariableDeclaration", - "scope": 847, - "src": "374:19:4", + "scope": 1206, + "src": "374:19:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -685,10 +685,10 @@ "typeString": "address" }, "typeName": { - "id": 828, + "id": 1187, "name": "address", "nodeType": "ElementaryTypeName", - "src": "374:7:4", + "src": "374:7:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -698,40 +698,40 @@ "visibility": "internal" } ], - "src": "373:21:4" + "src": "373:21:5" }, "payable": false, "returnParameters": { - "id": 833, + "id": 1192, "nodeType": "ParameterList", "parameters": [], - "src": "413:0:4" + "src": "413:0:5" }, - "scope": 848, - "src": "357:168:4", + "scope": 1207, + "src": "357:168:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 849, - "src": "28:500:4" + "scope": 1208, + "src": "28:500:5" } ], - "src": "0:530:4" + "src": "0:530:5" }, "legacyAST": { - "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Migrations.sol", + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Migrations.sol", "exportedSymbols": { "Migrations": [ - 848 + 1207 ] }, - "id": 849, + "id": 1208, "nodeType": "SourceUnit", "nodes": [ { - "id": 793, + "id": 1152, "literals": [ "solidity", "^", @@ -739,7 +739,7 @@ ".24" ], "nodeType": "PragmaDirective", - "src": "0:24:4" + "src": "0:24:5" }, { "baseContracts": [], @@ -747,20 +747,20 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 848, + "id": 1207, "linearizedBaseContracts": [ - 848 + 1207 ], "name": "Migrations", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 795, + "id": 1154, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 848, - "src": "53:20:4", + "scope": 1207, + "src": "53:20:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -768,10 +768,10 @@ "typeString": "address" }, "typeName": { - "id": 794, + "id": 1153, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53:7:4", + "src": "53:7:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -782,11 +782,11 @@ }, { "constant": false, - "id": 797, + "id": 1156, "name": "last_completed_migration", "nodeType": "VariableDeclaration", - "scope": 848, - "src": "78:36:4", + "scope": 1207, + "src": "78:36:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -794,10 +794,10 @@ "typeString": "uint256" }, "typeName": { - "id": 796, + "id": 1155, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "78:4:4", + "src": "78:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -808,9 +808,9 @@ }, { "body": { - "id": 805, + "id": 1164, "nodeType": "Block", - "src": "143:39:4", + "src": "143:39:5", "statements": [ { "condition": { @@ -819,7 +819,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 802, + "id": 1161, "isConstant": false, "isLValue": false, "isPure": false, @@ -828,18 +828,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 799, + "id": 1158, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 863, - "src": "154:3:4", + "referencedDeclaration": 1222, + "src": "154:3:5", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 800, + "id": 1159, "isConstant": false, "isLValue": false, "isPure": false, @@ -847,7 +847,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "154:10:4", + "src": "154:10:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -857,70 +857,70 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 801, + "id": 1160, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, - "src": "168:5:4", + "referencedDeclaration": 1154, + "src": "168:5:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "154:19:4", + "src": "154:19:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 804, + "id": 1163, "nodeType": "IfStatement", - "src": "150:26:4", + "src": "150:26:5", "trueBody": { - "id": 803, + "id": 1162, "nodeType": "PlaceholderStatement", - "src": "175:1:4" + "src": "175:1:5" } } ] }, "documentation": null, - "id": 806, + "id": 1165, "name": "restricted", "nodeType": "ModifierDefinition", "parameters": { - "id": 798, + "id": 1157, "nodeType": "ParameterList", "parameters": [], - "src": "140:2:4" + "src": "140:2:5" }, - "src": "121:61:4", + "src": "121:61:5", "visibility": "internal" }, { "body": { - "id": 814, + "id": 1173, "nodeType": "Block", - "src": "209:31:4", + "src": "209:31:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 812, + "id": 1171, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 809, + "id": 1168, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 795, - "src": "216:5:4", + "referencedDeclaration": 1154, + "src": "216:5:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -932,18 +932,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 810, + "id": 1169, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 863, - "src": "224:3:4", + "referencedDeclaration": 1222, + "src": "224:3:5", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 811, + "id": 1170, "isConstant": false, "isLValue": false, "isPure": false, @@ -951,26 +951,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "224:10:4", + "src": "224:10:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "216:18:4", + "src": "216:18:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 813, + "id": 1172, "nodeType": "ExpressionStatement", - "src": "216:18:4" + "src": "216:18:5" } ] }, "documentation": null, - "id": 815, + "id": 1174, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -978,46 +978,46 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 807, + "id": 1166, "nodeType": "ParameterList", "parameters": [], - "src": "199:2:4" + "src": "199:2:5" }, "payable": false, "returnParameters": { - "id": 808, + "id": 1167, "nodeType": "ParameterList", "parameters": [], - "src": "209:0:4" + "src": "209:0:5" }, - "scope": 848, - "src": "188:52:4", + "scope": 1207, + "src": "188:52:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 826, + "id": 1185, "nodeType": "Block", - "src": "302:49:4", + "src": "302:49:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 824, + "id": 1183, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 822, + "id": 1181, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, - "src": "309:24:4", + "referencedDeclaration": 1156, + "src": "309:24:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1027,68 +1027,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 823, + "id": 1182, "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "336:9:4", + "referencedDeclaration": 1176, + "src": "336:9:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "309:36:4", + "src": "309:36:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 825, + "id": 1184, "nodeType": "ExpressionStatement", - "src": "309:36:4" + "src": "309:36:5" } ] }, "documentation": null, - "id": 827, + "id": 1186, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 820, + "id": 1179, "modifierName": { "argumentTypes": null, - "id": 819, + "id": 1178, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 806, - "src": "291:10:4", + "referencedDeclaration": 1165, + "src": "291:10:5", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "291:10:4" + "src": "291:10:5" } ], "name": "setCompleted", "nodeType": "FunctionDefinition", "parameters": { - "id": 818, + "id": 1177, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 1176, "name": "completed", "nodeType": "VariableDeclaration", - "scope": 827, - "src": "268:14:4", + "scope": 1186, + "src": "268:14:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1096,10 +1096,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 1175, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "268:4:4", + "src": "268:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1109,54 +1109,54 @@ "visibility": "internal" } ], - "src": "267:16:4" + "src": "267:16:5" }, "payable": false, "returnParameters": { - "id": 821, + "id": 1180, "nodeType": "ParameterList", "parameters": [], - "src": "302:0:4" + "src": "302:0:5" }, - "scope": 848, - "src": "246:105:4", + "scope": 1207, + "src": "246:105:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 846, + "id": 1205, "nodeType": "Block", - "src": "413:112:4", + "src": "413:112:5", "statements": [ { "assignments": [ - 835 + 1194 ], "declarations": [ { "constant": false, - "id": 835, + "id": 1194, "name": "upgraded", "nodeType": "VariableDeclaration", - "scope": 847, - "src": "420:19:4", + "scope": 1206, + "src": "420:19:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$848", + "typeIdentifier": "t_contract$_Migrations_$1207", "typeString": "contract Migrations" }, "typeName": { "contractScope": null, - "id": 834, + "id": 1193, "name": "Migrations", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 848, - "src": "420:10:4", + "referencedDeclaration": 1207, + "src": "420:10:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$848", + "typeIdentifier": "t_contract$_Migrations_$1207", "typeString": "contract Migrations" } }, @@ -1164,18 +1164,18 @@ "visibility": "internal" } ], - "id": 839, + "id": 1198, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 837, + "id": 1196, "name": "new_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 829, - "src": "453:11:4", + "referencedDeclaration": 1188, + "src": "453:11:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1189,18 +1189,18 @@ "typeString": "address" } ], - "id": 836, + "id": 1195, "name": "Migrations", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 848, - "src": "442:10:4", + "referencedDeclaration": 1207, + "src": "442:10:5", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Migrations_$848_$", + "typeIdentifier": "t_type$_t_contract$_Migrations_$1207_$", "typeString": "type(contract Migrations)" } }, - "id": 838, + "id": 1197, "isConstant": false, "isLValue": false, "isPure": false, @@ -1208,14 +1208,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "442:23:4", + "src": "442:23:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$848", + "typeIdentifier": "t_contract$_Migrations_$1207", "typeString": "contract Migrations" } }, "nodeType": "VariableDeclarationStatement", - "src": "420:45:4" + "src": "420:45:5" }, { "expression": { @@ -1223,12 +1223,12 @@ "arguments": [ { "argumentTypes": null, - "id": 843, + "id": 1202, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 797, - "src": "494:24:4", + "referencedDeclaration": 1156, + "src": "494:24:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1244,32 +1244,32 @@ ], "expression": { "argumentTypes": null, - "id": 840, + "id": 1199, "name": "upgraded", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 835, - "src": "472:8:4", + "referencedDeclaration": 1194, + "src": "472:8:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$848", + "typeIdentifier": "t_contract$_Migrations_$1207", "typeString": "contract Migrations" } }, - "id": 842, + "id": 1201, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "setCompleted", "nodeType": "MemberAccess", - "referencedDeclaration": 827, - "src": "472:21:4", + "referencedDeclaration": 1186, + "src": "472:21:5", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256) external" } }, - "id": 844, + "id": 1203, "isConstant": false, "isLValue": false, "isPure": false, @@ -1277,57 +1277,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "472:47:4", + "src": "472:47:5", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 845, + "id": 1204, "nodeType": "ExpressionStatement", - "src": "472:47:4" + "src": "472:47:5" } ] }, "documentation": null, - "id": 847, + "id": 1206, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 832, + "id": 1191, "modifierName": { "argumentTypes": null, - "id": 831, + "id": 1190, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 806, - "src": "402:10:4", + "referencedDeclaration": 1165, + "src": "402:10:5", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "402:10:4" + "src": "402:10:5" } ], "name": "upgrade", "nodeType": "FunctionDefinition", "parameters": { - "id": 830, + "id": 1189, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 829, + "id": 1188, "name": "new_address", "nodeType": "VariableDeclaration", - "scope": 847, - "src": "374:19:4", + "scope": 1206, + "src": "374:19:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1335,10 +1335,10 @@ "typeString": "address" }, "typeName": { - "id": 828, + "id": 1187, "name": "address", "nodeType": "ElementaryTypeName", - "src": "374:7:4", + "src": "374:7:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1348,27 +1348,27 @@ "visibility": "internal" } ], - "src": "373:21:4" + "src": "373:21:5" }, "payable": false, "returnParameters": { - "id": 833, + "id": 1192, "nodeType": "ParameterList", "parameters": [], - "src": "413:0:4" + "src": "413:0:5" }, - "scope": 848, - "src": "357:168:4", + "scope": 1207, + "src": "357:168:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 849, - "src": "28:500:4" + "scope": 1208, + "src": "28:500:5" } ], - "src": "0:530:4" + "src": "0:530:5" }, "compiler": { "name": "solc", @@ -1376,5 +1376,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2018-08-09T15:53:00.313Z" + "updatedAt": "2018-10-08T16:52:52.836Z" } \ No newline at end of file diff --git a/ethereum/contracts/AuditCriteriaManager.sol b/ethereum/contracts/AuditCriteriaManager.sol new file mode 100644 index 0000000..ef4f44a --- /dev/null +++ b/ethereum/contracts/AuditCriteriaManager.sol @@ -0,0 +1,137 @@ +pragma solidity ^0.4.18; + +contract AuditCriteriaManager { + + struct CriteriaStruct { + bytes32 criteriaText; + uint minScore; + uint maxScore; + bool isActive; + uint256 index; + } + + mapping(uint256 => CriteriaStruct) private CriteriaStructs; + uint256[] private CriteriaIndex; + + event LogNewCriteria (uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore); + event LogUpdateCriteria(uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore); + event LogDeleteCriteria(uint256 indexed CriteriaIndex, uint index); + + function isCriteria(uint indexExist) + public + constant + returns(bool isIndeed) + { + if(CriteriaIndex.length == 0) return false; + return (CriteriaIndex[CriteriaStructs[indexExist].index] == indexExist); + } + + function insertCriteria( + bytes32 newCriteriaText, + uint minScore, + uint maxScore, + bool isActive) + public + returns(uint256 index) + { + //if(isCriteria(CriteriaAddress)) revert(); + uint256 currentIndex = getCriteriaCount(); + + CriteriaStructs[currentIndex].criteriaText = newCriteriaText; + CriteriaStructs[currentIndex].minScore = minScore; + CriteriaStructs[currentIndex].maxScore = maxScore; + CriteriaStructs[currentIndex].isActive = isActive; + CriteriaStructs[currentIndex].index = CriteriaIndex.push(currentIndex)-1; + + emit LogNewCriteria( + currentIndex, + CriteriaStructs[currentIndex].index, + newCriteriaText, + maxScore); + return CriteriaIndex.length-1; + } + + function deleteCriteria(uint256 deleteCriteriaIndex) + public + returns(uint256 index) + { + if(!isCriteria(deleteCriteriaIndex)) revert(); + + uint256 rowToDelete = CriteriaStructs[deleteCriteriaIndex].index; + uint256 keyToMove = CriteriaIndex[CriteriaIndex.length-1]; + CriteriaIndex[rowToDelete] = keyToMove; + CriteriaStructs[keyToMove].index = rowToDelete; + CriteriaIndex.length--; + emit LogDeleteCriteria( + deleteCriteriaIndex, + rowToDelete); + emit LogUpdateCriteria( + keyToMove, + rowToDelete, + CriteriaStructs[keyToMove].criteriaText, + CriteriaStructs[keyToMove].maxScore); + return rowToDelete; + } + + function getCriteria(uint256 criteriaIndex) + public + constant + returns(bytes32 criteriaText, uint maxScore, uint minScore, bool isActive) + { + if(!isCriteria(criteriaIndex)) revert(); + + return( + CriteriaStructs[criteriaIndex].criteriaText, + CriteriaStructs[criteriaIndex].maxScore, + CriteriaStructs[criteriaIndex].minScore, + CriteriaStructs[criteriaIndex].isActive); + } + + function updateCriteriaText(uint256 criteriaIndex, bytes32 criteriaText) + public + returns(bool success) + { + if(!isCriteria(criteriaIndex)) revert(); + + CriteriaStructs[criteriaIndex].criteriaText = criteriaText; + emit LogUpdateCriteria( + criteriaIndex, + CriteriaStructs[criteriaIndex].index, + criteriaText, + CriteriaStructs[criteriaIndex].maxScore); + return true; + } + + function updateMaxMinScore(uint256 index, uint MaxScore, uint MinScore) + public + returns(bool success) + { + if(!isCriteria(index)) revert(); + + CriteriaStructs[index].maxScore = MaxScore; + CriteriaStructs[index].minScore = MinScore; + emit LogUpdateCriteria( + index, + CriteriaStructs[index].index, + CriteriaStructs[index].criteriaText, + CriteriaStructs[index].minScore); + return true; + } + + function getCriteriaCount() + public + constant + returns(uint256 count) + { + return CriteriaIndex.length; + } + + function getCriteriaAtIndex(uint index) + public + constant + returns(uint256 criteriaIndex) + { + return CriteriaIndex[index]; + } + +} \ No newline at end of file diff --git a/ethereum/listingsregistry.js b/ethereum/listingsregistry.js index 01d60c0..069cc5d 100644 --- a/ethereum/listingsregistry.js +++ b/ethereum/listingsregistry.js @@ -1,6 +1,6 @@ import web3 from './web3'; import ListingsRegistry from './build/contracts/ListingsRegistry.json'; -const instance = new web3.eth.Contract(ListingsRegistry.abi, '0x046eedc1f46bed64ef000f0c7f2fd7caf00058ce'); +const instance = new web3.eth.Contract(ListingsRegistry.abi, '0x7c9533d4797062cf4b59cd55711e6a4693887090'); export default instance; \ No newline at end of file diff --git a/ethereum/migrations/2_deploy_contracts.js b/ethereum/migrations/2_deploy_contracts.js index e253577..b3fa577 100644 --- a/ethereum/migrations/2_deploy_contracts.js +++ b/ethereum/migrations/2_deploy_contracts.js @@ -3,6 +3,7 @@ var ListingsRegistry = artifacts.require("ListingsRegistry") var Listing = artifacts.require("Listing") var JobApplicant = artifacts.require("JobApplicant") var JobApplicantLibrary = artifacts.require("JobApplicationLibrary") +var AuditCriteriaManager = artifacts.require("AuditCriteriaManager") module.exports = function(deployer, network) { return deployer.then(() => { @@ -14,7 +15,6 @@ async function deployContracts(deployer) { await deployer.deploy(JobApplicantLibrary); await deployer.link(JobApplicantLibrary, ListingsRegistry); await deployer.link(JobApplicantLibrary, Listing); - await deployer.deploy(ListingsRegistry); - + await deployer.deploy(AuditCriteriaManager); } diff --git a/ethereum/truffle-config.js b/ethereum/truffle-config.js index 82b1716..ac186ac 100644 --- a/ethereum/truffle-config.js +++ b/ethereum/truffle-config.js @@ -4,7 +4,7 @@ module.exports = { networks: { development: { host: "localhost", - port: 7545, + port: 8545, network_id: "*" // Match any network id } } diff --git a/ethereum/truffle.js b/ethereum/truffle.js index b3b46ca..d99a632 100644 --- a/ethereum/truffle.js +++ b/ethereum/truffle.js @@ -4,7 +4,7 @@ module.exports = { networks: { development: { host: "localhost", - port: 7545, + port: 8545, network_id: "*" // Match any network id } diff --git a/ethereum/web3.js b/ethereum/web3.js index 023f13f..a531343 100644 --- a/ethereum/web3.js +++ b/ethereum/web3.js @@ -8,8 +8,8 @@ if (typeof window !== 'undefined' && typeof window.web3 !== 'undefined') { } else { // We are on the server *OR* the user is not running metamask const provider = new Web3.providers.HttpProvider( - // 'HTTP://127.0.0.1:7545' - 'https://rinkeby.infura.io/orDImgKRzwNrVCDrAk5Q' + 'HTTP://127.0.0.1:8545' + //'https://rinkeby.infura.io/orDImgKRzwNrVCDrAk5Q' ); web3 = new Web3(provider); } diff --git a/package-lock.json b/package-lock.json index 6d0521e..eb4e231 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "dependencies": { "@babel/code-frame": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.42.tgz", "integrity": "sha512-L8i94FLSyaLQpRfDo/qqSm8Ndb44zMtXParXo0MebJICG1zoCCL4+GkzUOlB4BNTRSXXQdb3feam/qw7bKPipQ==", "requires": { "@babel/highlight": "7.0.0-beta.42" @@ -14,7 +14,7 @@ }, "@babel/core": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/core/-/core-7.0.0-beta.42.tgz", "integrity": "sha512-jcjZRewF/xqROfbk8EGyWlykaIR3IwrcefjWHu8xh4QnULSv3nfkjPM35v1itDgAT4/Jj5b4mPf4eZSC2HoRQA==", "requires": { "@babel/code-frame": "7.0.0-beta.42", @@ -24,31 +24,45 @@ "@babel/traverse": "7.0.0-beta.42", "@babel/types": "7.0.0-beta.42", "babylon": "7.0.0-beta.42", - "convert-source-map": "1.5.1", - "debug": "3.1.0", - "json5": "0.5.1", - "lodash": "4.17.10", - "micromatch": "2.3.11", - "resolve": "1.5.0", - "semver": "5.5.0", - "source-map": "0.5.7" + "convert-source-map": "^1.1.0", + "debug": "^3.1.0", + "json5": "^0.5.0", + "lodash": "^4.2.0", + "micromatch": "^2.3.11", + "resolve": "^1.3.2", + "semver": "^5.4.1", + "source-map": "^0.5.0" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } } }, "@babel/generator": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.42.tgz", "integrity": "sha512-9x3zS4nG/6GAvJWB8fAK+5g/Di36xdubB43dMNSucNJTwPvmyfCippir/0I8zyG+ID66hLCLi8V9bomlWRYaHA==", "requires": { "@babel/types": "7.0.0-beta.42", - "jsesc": "2.5.1", - "lodash": "4.17.10", - "source-map": "0.5.7", - "trim-right": "1.0.1" + "jsesc": "^2.5.1", + "lodash": "^4.2.0", + "source-map": "^0.5.0", + "trim-right": "^1.0.1" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } } }, "@babel/helper-annotate-as-pure": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0-beta.42.tgz", "integrity": "sha512-2lmcB7mHRSXZjDV9fdnWGRco+5fbI0PdUtsL7mNA2GtJs0GPoKdV3sCx0N4cpzG2YRR4dNCiB2riYIrzWjmQ1Q==", "requires": { "@babel/types": "7.0.0-beta.42" @@ -56,7 +70,7 @@ }, "@babel/helper-builder-binary-assignment-operator-visitor": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.0.0-beta.42.tgz", "integrity": "sha512-lI14OS85dMAvsjTNTLrk3qqqvmy4CNxgXGpWkjMuKlYzwnC7LQvdrdH7wf3CBl8C0GSZHbgvADMUtrKiNjxJ5w==", "requires": { "@babel/helper-explode-assignable-expression": "7.0.0-beta.42", @@ -65,16 +79,16 @@ }, "@babel/helper-builder-react-jsx": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.0.0-beta.42.tgz", "integrity": "sha512-pgy7el3TV5u4SdWB9w1No5X0fooc8pWcVujbOzey+b9CQU5cf64CGct01bs+k7vGoKwoTYWizZD9MeFk2JLawg==", "requires": { "@babel/types": "7.0.0-beta.42", - "esutils": "2.0.2" + "esutils": "^2.0.0" } }, "@babel/helper-call-delegate": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.42.tgz", "integrity": "sha512-iGZJrRSKIvla9m8VJNv8wlbPReOLmVqFTpefl07v6e5cMPvP2XOgVWR2B4HZ9UwVo7Lx8rPAQ8/UZgjvq+pJ+A==", "requires": { "@babel/helper-hoist-variables": "7.0.0-beta.42", @@ -84,17 +98,17 @@ }, "@babel/helper-define-map": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.0.0-beta.42.tgz", "integrity": "sha512-MKaHNaciAiPc7q4AS2XRqk+I0d2ADryuIxd6r0EykkQ57w2nQxFx/CTWWQEnob9OSAP5dPO1stWIZ9j/VeKtIQ==", "requires": { "@babel/helper-function-name": "7.0.0-beta.42", "@babel/types": "7.0.0-beta.42", - "lodash": "4.17.10" + "lodash": "^4.2.0" } }, "@babel/helper-explode-assignable-expression": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.0.0-beta.42.tgz", "integrity": "sha512-fT1kVF2PoogggBT9QBgb4IXjbpC3VzFh1sJ6p/k3fZhOXbyqqco7oQ6lzvcIAO6rA7b15/iaIyLj0E+SLCHbwQ==", "requires": { "@babel/traverse": "7.0.0-beta.42", @@ -103,7 +117,7 @@ }, "@babel/helper-function-name": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.42.tgz", "integrity": "sha512-6IZ+kkPypwJrnmNzI3y31qAps2kXoPtCE241SvBva2YzB0n/YORWx2YM0jHPYOJBU9Xx5KkUhOKuWkeXZQgtTA==", "requires": { "@babel/helper-get-function-arity": "7.0.0-beta.42", @@ -113,7 +127,7 @@ }, "@babel/helper-get-function-arity": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.42.tgz", "integrity": "sha512-hF5KKcn+V/5PwU7KZ1aVwo535woLC9eV+djaoyNPZeMMJ2s+8bZlEa66Tarei0T68VRL5LXIs1Ao4hSabSkpBg==", "requires": { "@babel/types": "7.0.0-beta.42" @@ -121,7 +135,7 @@ }, "@babel/helper-hoist-variables": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0-beta.42.tgz", "integrity": "sha512-07NJrcvE2a5oOYiQUzSzih21R6nOpfoIe9saelKxORKXr9cOXcpoLXDi9XIAbRJoww8hqp57JbQxRK09FltZhQ==", "requires": { "@babel/types": "7.0.0-beta.42" @@ -129,16 +143,16 @@ }, "@babel/helper-module-imports": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.42.tgz", "integrity": "sha512-0kTX0cjuVKUKDJmHjmAb504kNrwae0Ja32hGii7zSHDKm0tVZvvpT8Cc1yYHo6UsIkUmzEvfGwIrNYemx1jTtQ==", "requires": { "@babel/types": "7.0.0-beta.42", - "lodash": "4.17.10" + "lodash": "^4.2.0" } }, "@babel/helper-module-transforms": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0-beta.42.tgz", "integrity": "sha512-XfCGsf6ijExiXw+oKL1Cp7VJttvgq8qalTGRqz4pviVNEjHU89Pfjsi1K/shdy5x4x+PiTSqn4zZ2PKfVp+vgg==", "requires": { "@babel/helper-module-imports": "7.0.0-beta.42", @@ -146,12 +160,12 @@ "@babel/helper-split-export-declaration": "7.0.0-beta.42", "@babel/template": "7.0.0-beta.42", "@babel/types": "7.0.0-beta.42", - "lodash": "4.17.10" + "lodash": "^4.2.0" } }, "@babel/helper-optimise-call-expression": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0-beta.42.tgz", "integrity": "sha512-4Sssg3iFnLH/1fZQFCPNJ7ISZzrRwq/X8/T5OaURGP3NMVTR4mnEUqrc3v8/SfL3pfa57q3Fe4zIC2h7FuPkww==", "requires": { "@babel/types": "7.0.0-beta.42" @@ -159,20 +173,20 @@ }, "@babel/helper-plugin-utils": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-beta.42.tgz", "integrity": "sha512-hZLw8Iz9/YOxI9mgWyPOP1S84OcdQo1WFkZrS1sSf45g16sEb4dVslds2uvZgmx9BiG94PoWyABGf48Py6D6CA==" }, "@babel/helper-regex": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.0.0-beta.42.tgz", "integrity": "sha512-QdwTsTPjJ63StltU6cEtqmB0Lc+L/OkK9Pz2bL9rylDF3UloyXinBA+SI/FkVyXi5HhDbBRf4T/OeVhWrsK68A==", "requires": { - "lodash": "4.17.10" + "lodash": "^4.2.0" } }, "@babel/helper-remap-async-to-generator": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0-beta.42.tgz", "integrity": "sha512-At+ipbHRYoN0AaafqPvTPqyVYi+beantKZ2orCYSb/AzP2+JywaWlOPH0wyXLOGzjkJX548Is4cV2wGbEG7++Q==", "requires": { "@babel/helper-annotate-as-pure": "7.0.0-beta.42", @@ -184,7 +198,7 @@ }, "@babel/helper-replace-supers": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.0.0-beta.42.tgz", "integrity": "sha512-5OwdkTm7TaEBiBMOUV97j8a2goD3+avek9EOl/UdE/CYdtdQ/8RPdUPqtqXApay30aZ/EjIpBItcNlBtt29WBw==", "requires": { "@babel/helper-optimise-call-expression": "7.0.0-beta.42", @@ -195,17 +209,17 @@ }, "@babel/helper-simple-access": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.0.0-beta.42.tgz", "integrity": "sha512-SK1nb/sx+Q/0N8USPR+/5G1D1U9tCo82MzJknmK7X4yexDacHmDHtqNP7xqUlSSo3xfMfyHgT7mAH17Cwik/gA==", "requires": { "@babel/template": "7.0.0-beta.42", "@babel/types": "7.0.0-beta.42", - "lodash": "4.17.10" + "lodash": "^4.2.0" } }, "@babel/helper-split-export-declaration": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.42.tgz", "integrity": "sha512-2r8pZG6SAJTTaI2OhxCmz5PKlMUPY5adOHrHtb1gM3ibJPDOzPAeOQNzItdxNnM33jjRakEGitXX6iYg7Sz73w==", "requires": { "@babel/types": "7.0.0-beta.42" @@ -213,7 +227,7 @@ }, "@babel/helper-wrap-function": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0-beta.42.tgz", "integrity": "sha512-jpZDbZROEw2HfmlImLXDB7BFoyo6M/Wn8jOOc1+JfCpg2uaZ+n6Q0C3sA6mCN6o7ZgpJkgT7IHQwdB3RMV6KLA==", "requires": { "@babel/helper-function-name": "7.0.0-beta.42", @@ -224,7 +238,7 @@ }, "@babel/helpers": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/helpers/-/helpers-7.0.0-beta.42.tgz", "integrity": "sha512-att9SiG9GxOUdjai87LqjSstgNsdo1nXiGu+Eh078zwRiN8bM5Ww8vrbYkAm9PF4HaW6OzOKqyKxv595RT79bA==", "requires": { "@babel/template": "7.0.0-beta.42", @@ -234,17 +248,17 @@ }, "@babel/highlight": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.42.tgz", "integrity": "sha512-X3Ur/A/lIbbP8W0pmwgqtDXIxhQmxPaiwY9SKP7kF9wvZfjZRwMvbJE92ozUhF3UDK3DCKaV7oGqmI1rP/zqWA==", "requires": { - "chalk": "2.4.1", - "esutils": "2.0.2", - "js-tokens": "3.0.2" + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^3.0.0" } }, "@babel/plugin-proposal-async-generator-functions": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0-beta.42.tgz", "integrity": "sha512-fPPsSCajWzefDSb49JEeZfd/UeMK3xEQSRAz/H3BZ1uaRatwNNZoOJq4/WRH/xDeISmYUdkLRtqs39VPWLKYVg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -254,7 +268,7 @@ }, "@babel/plugin-proposal-class-properties": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.0.0-beta.42.tgz", "integrity": "sha512-VXRmo/t2nAVciXxEgPTAfcUBXj0UXNPIvX2aj3lzHL51N+uh+rtgsIF0nuZwGE4u89WvBDH66yjAu60Ra674kw==", "requires": { "@babel/helper-function-name": "7.0.0-beta.42", @@ -264,7 +278,7 @@ }, "@babel/plugin-proposal-object-rest-spread": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0-beta.42.tgz", "integrity": "sha512-L4z5R8k3GxQKVYE2zGwftQ9K/IIIXMZKnY4C0lDyyMJAVk+H+cFUD0NfD4KTyZACc8DPqjkw6aEtC/AKCKUvEA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -273,7 +287,7 @@ }, "@babel/plugin-proposal-optional-catch-binding": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.0.0-beta.42.tgz", "integrity": "sha512-hD8HTOKzLqMXwKkqX+Qiig8aqsCoZ9k9Y0I3zLjkpYh7HBPoPhUhlN6McxtPHGRjM/qBCNcLCwtWuJetK/cNZg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -282,17 +296,17 @@ }, "@babel/plugin-proposal-unicode-property-regex": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.0.0-beta.42.tgz", "integrity": "sha512-aUEpQFuQydhs20dQSkz7edWkRaNHt8rVfcqHy5ykR4dqflq7+EclnuljuzIS+MJ3V8i5cyLMEXv/W1uWWf7UGg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", "@babel/helper-regex": "7.0.0-beta.42", - "regexpu-core": "4.1.5" + "regexpu-core": "^4.1.3" } }, "@babel/plugin-syntax-async-generators": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.0.0-beta.42.tgz", "integrity": "sha512-k6oVMsmY/mcp+rPRcK4dJL/J1ahtIRucXtNHNvAVRV9WFc7G3r1rrb1GlM4iNHareXBNdRlf7mkxyVaVpyJ3TQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -300,7 +314,7 @@ }, "@babel/plugin-syntax-class-properties": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.0.0-beta.42.tgz", "integrity": "sha512-nG0XCeuni6GgjxOqtxVtnfSoRFeXdqY6cja83cmFpC1klw8f6XShbeDmK7xX1mUYBHkEqLTDurlX+fuua9siCg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -308,7 +322,7 @@ }, "@babel/plugin-syntax-dynamic-import": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.0.0-beta.42.tgz", "integrity": "sha512-N+XpzyZviWu+MJA7Cgi+LtMj1CMLkZyjuy4qbSZauqm6gIrNioMtirLDt4+NrCFx7kZG/T4ic6jLUpWdH5SlXg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -316,7 +330,7 @@ }, "@babel/plugin-syntax-jsx": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.0.0-beta.42.tgz", "integrity": "sha512-NWlawLcYkxMpH2QK4CbYg1ctTuFaKYRVBZGiGkgcO7xD59bNUu2HTG/BXynuaheQiGX96ItoK1igV6vuS9BK/w==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -324,7 +338,7 @@ }, "@babel/plugin-syntax-object-rest-spread": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0-beta.42.tgz", "integrity": "sha512-Zhz6MdSpEviY3UFh/DUlrvf/Tn4wWosHXrnR52PBRtP/8ESWVaFuk57xWcBon3jJh0z5hYyRUr+D0wR7W7ZmnQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -332,7 +346,7 @@ }, "@babel/plugin-syntax-optional-catch-binding": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.0.0-beta.42.tgz", "integrity": "sha512-TXJpGMX/M9r0tkJPgZtoaBCdrhFMeAZtOiwNtVf5dWoA6TOmDwnnnbaUqynbBZm16jE7quWW5VhfFjDlOP1vMA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -340,7 +354,7 @@ }, "@babel/plugin-transform-arrow-functions": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.0.0-beta.42.tgz", "integrity": "sha512-/tpAo2Ur8m32U9pBcGQ6JKplWNEh462zxCnwVKL9yVwG02lttC4QSYBvreRK1wBidDz8JgRZFGGeB9N4l23/Sg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -348,7 +362,7 @@ }, "@babel/plugin-transform-async-to-generator": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.0.0-beta.42.tgz", "integrity": "sha512-TTu8z0xz/mS8H98nCVw3wp86RSzdvUhtM4hX32sItrauJX1X8shVZDKbDtG8ZdA1FMKLgfvmn/hxtPOqjOkkpw==", "requires": { "@babel/helper-module-imports": "7.0.0-beta.42", @@ -358,7 +372,7 @@ }, "@babel/plugin-transform-block-scoped-functions": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.0.0-beta.42.tgz", "integrity": "sha512-Ib3bSf7pYLbqe+46RrJFJae1DrNYvIrGleYjzaN/MFYNaG9ePaOevSBmFHPxuW1SM5l2tTloeu5a7mhs9h0oxg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -366,16 +380,16 @@ }, "@babel/plugin-transform-block-scoping": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.0.0-beta.42.tgz", "integrity": "sha512-qvlAR1L7gZ1gqdj81a2AEfuar3lFsr7FSad4JrN5CJinQlVn/1eJe8oB1DQ7U8ocAzDDjn3tGit9lN7uKBWZsQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", - "lodash": "4.17.10" + "lodash": "^4.2.0" } }, "@babel/plugin-transform-classes": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.0.0-beta.42.tgz", "integrity": "sha512-0GCv1wNyfMXKuaulype6+TF02Bxq/zQZ4NUbn2w9aQxzIZviAe1jcA7IRrNN2eVQL9L4oi8N6B26Wf8xFoBNrQ==", "requires": { "@babel/helper-annotate-as-pure": "7.0.0-beta.42", @@ -385,12 +399,12 @@ "@babel/helper-plugin-utils": "7.0.0-beta.42", "@babel/helper-replace-supers": "7.0.0-beta.42", "@babel/helper-split-export-declaration": "7.0.0-beta.42", - "globals": "11.5.0" + "globals": "^11.1.0" } }, "@babel/plugin-transform-computed-properties": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.0.0-beta.42.tgz", "integrity": "sha512-WYGXfe2uo2FdACubMhwV6Oq1Zx3SNSeBUHRe2X53WKbIKLMZlxRR5GfoLv4V2CeDGHL3mb97wYhmXSb56bIXeg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -398,7 +412,7 @@ }, "@babel/plugin-transform-destructuring": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.0.0-beta.42.tgz", "integrity": "sha512-G3hwLdgeKCZ8EWqwMqeOEoXxRBc5aJthMUD5kN7sAIko+lvwIVQ0do9Op/+DAGVnrvC+g0Ool2Mihcej2NsCPQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -406,17 +420,17 @@ }, "@babel/plugin-transform-dotall-regex": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.0.0-beta.42.tgz", "integrity": "sha512-g/XbJzib6qmbHOJv/2n/bVKLcfJUBRSo9zO73O7lvJEYh8JvHWM/oVU829ztVPpdPT3xgHMiTVhnV/O5r5dYNA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", "@babel/helper-regex": "7.0.0-beta.42", - "regexpu-core": "4.1.5" + "regexpu-core": "^4.1.3" } }, "@babel/plugin-transform-duplicate-keys": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.0.0-beta.42.tgz", "integrity": "sha512-Nze+na6pnoZdrMtQv5Ct/i3031ib+kctDwt8KgcrtnOr52qUlbogPe1jY2WxpwSMtiowdPY93XsRFZeq6ogMTA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -424,7 +438,7 @@ }, "@babel/plugin-transform-exponentiation-operator": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.0.0-beta.42.tgz", "integrity": "sha512-ylnAziSEho282hxQROK5tbNtxm0sSoQaQS74OCSE52eFeDNqSNGapyiNiWMZ71gqs8q5aqYsPgfa/vTccLT7uA==", "requires": { "@babel/helper-builder-binary-assignment-operator-visitor": "7.0.0-beta.42", @@ -433,7 +447,7 @@ }, "@babel/plugin-transform-for-of": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.0.0-beta.42.tgz", "integrity": "sha512-pn+fmrr6pfXeEUMyx7JrKAOG/XCiABvXFOmQYqLoCl0POcW8sE75r8w/Lu2wHFayrNgDqR7/RCb7RW4h/U2u1Q==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -441,7 +455,7 @@ }, "@babel/plugin-transform-function-name": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.0.0-beta.42.tgz", "integrity": "sha512-OopJXZQAgBsPUAHr49Z4S4X24XJa9Iu0zPUPCML9weHloyFnkw5SGQIDLC6BxxPOmqfiB49gfIuHjbtJfUsOJw==", "requires": { "@babel/helper-function-name": "7.0.0-beta.42", @@ -450,7 +464,7 @@ }, "@babel/plugin-transform-literals": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.0.0-beta.42.tgz", "integrity": "sha512-mWEayRwUCY3/u8LZpcdR96TiWqofP60jjfVZUJ6agK6ifwEBgamv1Db8syIwUCjaZww5bjyZqX61AmP4fx3dvQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -458,7 +472,7 @@ }, "@babel/plugin-transform-modules-amd": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.0.0-beta.42.tgz", "integrity": "sha512-JCNM+WPKImpNHVLZG6x9F87AyX+K8KpMCkuCqyE7YgxAJWB+5FHVnpkdF6lprDilE/LXGwplmNb9OrWulMss2g==", "requires": { "@babel/helper-module-transforms": "7.0.0-beta.42", @@ -467,7 +481,7 @@ }, "@babel/plugin-transform-modules-commonjs": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.0.0-beta.42.tgz", "integrity": "sha512-tCN0FFdTHaXpuJokvW8iWtbDpjKDNDO2dIyb8rr0GMQxsA62914e8oclcDUPEbC5iF5SCDEF0CmVHXbxnvANfQ==", "requires": { "@babel/helper-module-transforms": "7.0.0-beta.42", @@ -477,7 +491,7 @@ }, "@babel/plugin-transform-modules-systemjs": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.0.0-beta.42.tgz", "integrity": "sha512-IEN3HVHpMPWrnI2EAEHg0248+Axkg2nrdspajefIyeZMlrN0dUt0gDgVsZtza5PK/1a+RZlpli7dDgcA7heTMg==", "requires": { "@babel/helper-hoist-variables": "7.0.0-beta.42", @@ -486,7 +500,7 @@ }, "@babel/plugin-transform-modules-umd": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.0.0-beta.42.tgz", "integrity": "sha512-yOA2qnk4snRxkdgKDp6xN+by3V3z8q14cDf/aB0j36Jv2YqpDWUWMMWLQjabCEE/l7ptePBS4qbFH8dffCm4Tg==", "requires": { "@babel/helper-module-transforms": "7.0.0-beta.42", @@ -495,7 +509,7 @@ }, "@babel/plugin-transform-new-target": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0-beta.42.tgz", "integrity": "sha512-P2zwIIeTOev0Xjo//4p7ugtsWazIsycbs/T6I/ghiV2lREFxo9s93fygbXNXt5ALRPRWDthiAYIDA9n1vrgkVg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -503,7 +517,7 @@ }, "@babel/plugin-transform-object-super": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.0.0-beta.42.tgz", "integrity": "sha512-d+gki0bYQtlleX4LnvpwjIkjmZScKQuHhDsD3N3nHLpwxbANp3YGtIfuf8dbY/PIbUKtd55/ErCvdsyuGlxAlw==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -512,7 +526,7 @@ }, "@babel/plugin-transform-parameters": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.0.0-beta.42.tgz", "integrity": "sha512-z2iXwael/zMHkOvvkJSirg1jIxGA00JOIwdERB+x+VGxLfLb+1IdyiytVw9+w5RTNSVAGYt6R4jhvUdAeQwMiQ==", "requires": { "@babel/helper-call-delegate": "7.0.0-beta.42", @@ -522,7 +536,7 @@ }, "@babel/plugin-transform-react-display-name": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.0.0-beta.42.tgz", "integrity": "sha512-0oyVkjXLkxXSt21mPdfRNwKZ/sIEjcDx5/LqMS+KtMUxsCcB2BFhtzaESd8xLdXb7Zi2otMjt2DsDK+IUeitxA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -530,7 +544,7 @@ }, "@babel/plugin-transform-react-jsx": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.0.0-beta.42.tgz", "integrity": "sha512-XT8M4cZmr/Gaw6Cp2UELhYajB/PT6xNERtv8d+Eu08fULfAbtZJBFVxmm68T9LT+JZkcI35O1gTP17yJz5PJrA==", "requires": { "@babel/helper-builder-react-jsx": "7.0.0-beta.42", @@ -540,7 +554,7 @@ }, "@babel/plugin-transform-react-jsx-self": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.0.0-beta.42.tgz", "integrity": "sha512-bpG/Z6D8RtckyYPbqMfU/DaV7H/xHaTNAJLzYLHqQhtQT70pwmLVQ8E6ara18yp7k+6OJytrrmJm9F6ClT4pnA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -549,7 +563,7 @@ }, "@babel/plugin-transform-react-jsx-source": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.0.0-beta.42.tgz", "integrity": "sha512-vLKqNyFDx4bESdy7dTWLmAhCTk8zszsxhYGKL/0FaFacksSQye5conP68j8jMEMn9M/JBGgxfFqL6tPbOn2uVw==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -558,15 +572,15 @@ }, "@babel/plugin-transform-regenerator": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0-beta.42.tgz", "integrity": "sha512-E1s/MBk8ztbXqxbeUvFH26x8vAWq/7qX3UdbB8fKoN3EX2Wg9+yXWyuI50jOhXOq7jfmbOrVe0BWoUOjCOqWPQ==", "requires": { - "regenerator-transform": "0.12.4" + "regenerator-transform": "^0.12.3" } }, "@babel/plugin-transform-runtime": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.0.0-beta.42.tgz", "integrity": "sha512-4LcNdjMvKzCwK/eqfbUiXFAZht8OTx0Gv2Ok42o+zhb8DvNUaYUndgW9AU4Q6nbpxzw2vTWNUXSIRvdGsxpgQQ==", "requires": { "@babel/helper-module-imports": "7.0.0-beta.42", @@ -575,7 +589,7 @@ }, "@babel/plugin-transform-shorthand-properties": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.0.0-beta.42.tgz", "integrity": "sha512-GID8z2s6R/XOHgaoxrKBH+zdBOBqFJTDYDS91w30fJGiHxVM4qFVOpYDNIMxmsjqW6bKVHyLeHBezp0OHv+9QQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -583,7 +597,7 @@ }, "@babel/plugin-transform-spread": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.0.0-beta.42.tgz", "integrity": "sha512-ZzWt7RvGcV+9DcOTBwE6ArNqDpUMpzZhCToj3UNtULol9gGBbrGgUK/LdGwGInj+Z2aIdOjbAMFtEuC6626lJg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -591,7 +605,7 @@ }, "@babel/plugin-transform-sticky-regex": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.0.0-beta.42.tgz", "integrity": "sha512-zQI5NhVfnSNNFiG8JhoXXzTV89aLTfHW22inWefATRmtqe64iHZ4bivBTkDbxt6X/St1yH0aZB+4XtBDZjzcKQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -600,7 +614,7 @@ }, "@babel/plugin-transform-template-literals": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.0.0-beta.42.tgz", "integrity": "sha512-sCQmaa8fd3uPdy/J/qOkvPtxo3RtiH6SyW5bzdnUSOQ3+ND3Bj4OfJNziZxJwZZ8Y40lHrM0dKxZ8YnihlCETQ==", "requires": { "@babel/helper-annotate-as-pure": "7.0.0-beta.42", @@ -609,7 +623,7 @@ }, "@babel/plugin-transform-typeof-symbol": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.0.0-beta.42.tgz", "integrity": "sha512-cuDOzCv7kpMqaLypTEN90ErVmKUV3vjTuO8qzCGlmJMZwCcteTpxCiwISJLnAxcGtj++fMVY0vntbcj4nXf9XQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -617,17 +631,17 @@ }, "@babel/plugin-transform-unicode-regex": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0-beta.42.tgz", "integrity": "sha512-iqQ8bhkRPZE2Vl5gR7GF0x4xUVlkncMxr7ve7Rjp/TMzNbO3S2XLr+1SPu+B+U3fIPDDA4I97enw5YL5V7QFOA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", "@babel/helper-regex": "7.0.0-beta.42", - "regexpu-core": "4.1.5" + "regexpu-core": "^4.1.3" } }, "@babel/preset-env": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/preset-env/-/preset-env-7.0.0-beta.42.tgz", "integrity": "sha512-DawmnYYDbOpMqq0H64iwtZJ7C1xjdwqJXBvAjRKv9WVnKPqZbMMli4JhwO30WnPELzOMGRwtLFAchPcEeyyCpQ==", "requires": { "@babel/helper-module-imports": "7.0.0-beta.42", @@ -666,14 +680,14 @@ "@babel/plugin-transform-template-literals": "7.0.0-beta.42", "@babel/plugin-transform-typeof-symbol": "7.0.0-beta.42", "@babel/plugin-transform-unicode-regex": "7.0.0-beta.42", - "browserslist": "3.2.8", - "invariant": "2.2.4", - "semver": "5.5.0" + "browserslist": "^3.0.0", + "invariant": "^2.2.2", + "semver": "^5.3.0" } }, "@babel/preset-react": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/preset-react/-/preset-react-7.0.0-beta.42.tgz", "integrity": "sha512-2o+5MXAzGMnjlZlxsYv08Joh+T4IDd2NIrpeVB+5GgeboU6k0964pObdZxMjB9A2dOweLSCOHwP21JwO6bDUbA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -686,27 +700,27 @@ }, "@babel/runtime": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/runtime/-/runtime-7.0.0-beta.42.tgz", "integrity": "sha512-iOGRzUoONLOtmCvjUsZv3mZzgCT6ljHQY5fr1qG1QIiJQwtM7zbPWGGpa3QWETq+UqwWyJnoi5XZDZRwZDFciQ==", "requires": { - "core-js": "2.5.7", - "regenerator-runtime": "0.11.1" + "core-js": "^2.5.3", + "regenerator-runtime": "^0.11.1" } }, "@babel/template": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.42.tgz", "integrity": "sha512-EK7YdTe47j4VxlwNvz5bnlk5Jx/wWublnqfgOY2IuSNdxCQgXrLD34PfTnabGxywNSkJkcSo6jwr2JGT+S48dA==", "requires": { "@babel/code-frame": "7.0.0-beta.42", "@babel/types": "7.0.0-beta.42", "babylon": "7.0.0-beta.42", - "lodash": "4.17.10" + "lodash": "^4.2.0" } }, "@babel/traverse": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.42.tgz", "integrity": "sha512-DZwMuZBfYVIn/cxpXZzHDgKmarW/MWqplLv1k7QJYhK5r5l6GAac/DkKl75A0CjPYrD3VGco6H6ZQp12QaYKSw==", "requires": { "@babel/code-frame": "7.0.0-beta.42", @@ -715,20 +729,20 @@ "@babel/helper-split-export-declaration": "7.0.0-beta.42", "@babel/types": "7.0.0-beta.42", "babylon": "7.0.0-beta.42", - "debug": "3.1.0", - "globals": "11.5.0", - "invariant": "2.2.4", - "lodash": "4.17.10" + "debug": "^3.1.0", + "globals": "^11.1.0", + "invariant": "^2.2.0", + "lodash": "^4.2.0" } }, "@babel/types": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.42.tgz", "integrity": "sha512-+pmpISmTHQqMMpHHtDLxcvtRhmn53bAxy8goJfHipS/uy/r3PLcuSdPizLW7DhtBWbtgIKZufLObfnIMoyMNsw==", "requires": { - "esutils": "2.0.2", - "lodash": "4.17.10", - "to-fast-properties": "2.0.0" + "esutils": "^2.0.2", + "lodash": "^4.2.0", + "to-fast-properties": "^2.0.0" } }, "@gulp-sourcemaps/map-sources": { @@ -736,10 +750,15 @@ "resolved": "https://registry.npmjs.org/@gulp-sourcemaps/map-sources/-/map-sources-1.0.0.tgz", "integrity": "sha1-iQrnxdjId/bThIYCFazp1+yUW9o=", "requires": { - "normalize-path": "2.1.1", - "through2": "2.0.3" + "normalize-path": "^2.0.1", + "through2": "^2.0.3" } }, + "@types/node": { + "version": "10.11.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.11.4.tgz", + "integrity": "sha512-ojnbBiKkZFYRfQpmtnnWTMw+rzGp/JiystjluW9jgN3VzRwilXddJ6aGQ9V/7iuDG06SBgn7ozW9k3zcAnYjYQ==" + }, "abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", @@ -750,7 +769,7 @@ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.6.3.tgz", "integrity": "sha512-2++wDf/DYqkPR3o5tbfdhF96EfMApo1GpPfzOsR/ZYXdkSmELlvOOEAl9iKkRsktMPHdGjO4rtkBpf2I7TiTeA==", "requires": { - "xtend": "4.0.1" + "xtend": "~4.0.0" } }, "accepts": { @@ -758,21 +777,21 @@ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=", "requires": { - "mime-types": "2.1.18", + "mime-types": "~2.1.18", "negotiator": "0.6.1" } }, "acorn": { - "version": "5.6.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.6.1.tgz", - "integrity": "sha512-XH4o5BK5jmw9PzSGK7mNf+/xV+mPxQxGZoeC36OVsJZYV77JAG9NnI7T90hoUpI/C1TOfXWTvugRdZ9ZR3iE2Q==" + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", + "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==" }, "acorn-dynamic-import": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz", "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=", "requires": { - "acorn": "4.0.13" + "acorn": "^4.0.3" }, "dependencies": { "acorn": { @@ -788,14 +807,14 @@ "integrity": "sha1-lLiBq3FyhtAV+iGeCPtmcJ3aWj0=" }, "ajv": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.0.tgz", - "integrity": "sha512-VDUX1oSajablmiyFyED9L1DFndg0P9h7p1F+NO8FkIzei6EPrR6Zu1n18rd5P8PqaSRd/FrWv3G1TVBqpM83gA==", + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.4.tgz", + "integrity": "sha512-4Wyjt8+t6YszqaXnLDfMmG/8AlO5Zbcsy3ATHncCzjW/NoPzAId8AK6749Ybjmdt+kUY1gP60fCu46oDxPv/mg==", "requires": { - "fast-deep-equal": "2.0.1", - "fast-json-stable-stringify": "2.0.0", - "json-schema-traverse": "0.3.1", - "uri-js": "4.2.2" + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" } }, "ajv-keywords": { @@ -808,16 +827,11 @@ "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", "requires": { - "kind-of": "3.2.2", - "longest": "1.0.1", - "repeat-string": "1.6.1" + "kind-of": "^3.0.2", + "longest": "^1.0.1", + "repeat-string": "^1.5.2" } }, - "amdefine": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=" - }, "ansi-html": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", @@ -833,7 +847,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "requires": { - "color-convert": "1.9.1" + "color-convert": "^1.9.0" } }, "any-promise": { @@ -846,8 +860,8 @@ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", "requires": { - "micromatch": "3.1.10", - "normalize-path": "2.1.1" + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" }, "dependencies": { "arr-diff": { @@ -865,16 +879,16 @@ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", "requires": { - "arr-flatten": "1.1.0", - "array-unique": "0.3.2", - "extend-shallow": "2.0.1", - "fill-range": "4.0.0", - "isobject": "3.0.1", - "repeat-element": "1.1.2", - "snapdragon": "0.8.2", - "snapdragon-node": "2.1.1", - "split-string": "3.1.0", - "to-regex": "3.0.2" + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" }, "dependencies": { "extend-shallow": { @@ -882,7 +896,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "0.1.1" + "is-extendable": "^0.1.0" } } } @@ -900,13 +914,13 @@ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", "requires": { - "debug": "2.6.9", - "define-property": "0.2.5", - "extend-shallow": "2.0.1", - "posix-character-classes": "0.1.1", - "regex-not": "1.0.2", - "snapdragon": "0.8.2", - "to-regex": "3.0.2" + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" }, "dependencies": { "define-property": { @@ -914,7 +928,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "requires": { - "is-descriptor": "0.1.6" + "is-descriptor": "^0.1.0" } }, "extend-shallow": { @@ -922,7 +936,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "0.1.1" + "is-extendable": "^0.1.0" } }, "is-accessor-descriptor": { @@ -930,7 +944,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", "requires": { - "kind-of": "3.2.2" + "kind-of": "^3.0.2" }, "dependencies": { "kind-of": { @@ -938,7 +952,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "1.1.6" + "is-buffer": "^1.1.5" } } } @@ -948,7 +962,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", "requires": { - "kind-of": "3.2.2" + "kind-of": "^3.0.2" }, "dependencies": { "kind-of": { @@ -956,7 +970,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "1.1.6" + "is-buffer": "^1.1.5" } } } @@ -966,9 +980,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", "requires": { - "is-accessor-descriptor": "0.1.6", - "is-data-descriptor": "0.1.4", - "kind-of": "5.1.0" + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" } }, "kind-of": { @@ -978,19 +992,38 @@ } } }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, "extglob": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", "requires": { - "array-unique": "0.3.2", - "define-property": "1.0.0", - "expand-brackets": "2.1.4", - "extend-shallow": "2.0.1", - "fragment-cache": "0.2.1", - "regex-not": "1.0.2", - "snapdragon": "0.8.2", - "to-regex": "3.0.2" + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" }, "dependencies": { "define-property": { @@ -998,7 +1031,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "requires": { - "is-descriptor": "1.0.2" + "is-descriptor": "^1.0.0" } }, "extend-shallow": { @@ -1006,7 +1039,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "0.1.1" + "is-extendable": "^0.1.0" } } } @@ -1016,10 +1049,10 @@ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", "requires": { - "extend-shallow": "2.0.1", - "is-number": "3.0.0", - "repeat-string": "1.6.1", - "to-regex-range": "2.1.1" + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" }, "dependencies": { "extend-shallow": { @@ -1027,7 +1060,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "0.1.1" + "is-extendable": "^0.1.0" } } } @@ -1037,7 +1070,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": "6.0.2" + "kind-of": "^6.0.0" } }, "is-data-descriptor": { @@ -1045,7 +1078,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": "6.0.2" + "kind-of": "^6.0.0" } }, "is-descriptor": { @@ -1053,9 +1086,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "requires": { - "is-accessor-descriptor": "1.0.0", - "is-data-descriptor": "1.0.0", - "kind-of": "6.0.2" + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" } }, "is-number": { @@ -1063,7 +1096,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "requires": { - "kind-of": "3.2.2" + "kind-of": "^3.0.2" }, "dependencies": { "kind-of": { @@ -1071,7 +1104,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "1.1.6" + "is-buffer": "^1.1.5" } } } @@ -1091,19 +1124,19 @@ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", "requires": { - "arr-diff": "4.0.0", - "array-unique": "0.3.2", - "braces": "2.3.2", - "define-property": "2.0.2", - "extend-shallow": "3.0.2", - "extglob": "2.0.4", - "fragment-cache": "0.2.1", - "kind-of": "6.0.2", - "nanomatch": "1.2.9", - "object.pick": "1.3.0", - "regex-not": "1.0.2", - "snapdragon": "0.8.2", - "to-regex": "3.0.2" + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" } } } @@ -1118,7 +1151,7 @@ "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", "requires": { - "arr-flatten": "1.1.0" + "arr-flatten": "^1.0.1" } }, "arr-flatten": { @@ -1146,7 +1179,7 @@ "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", "requires": { - "array-uniq": "1.0.3" + "array-uniq": "^1.0.1" } }, "array-uniq": { @@ -1170,18 +1203,21 @@ "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" }, "asn1": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", - "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "requires": { + "safer-buffer": "~2.1.0" + } }, "asn1.js": { - "version": "4.10.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", - "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.0.1.tgz", + "integrity": "sha512-aO8EaEgbgqq77IEw+1jfx5c9zTbzvkfuRBuZsSsPnTHMkmd5AI4J6OtITLZFa381jReeaQL67J0GBTUu0+ZTVw==", "requires": { - "bn.js": "4.11.8", - "inherits": "2.0.3", - "minimalistic-assert": "1.0.1" + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" } }, "assert": { @@ -1190,6 +1226,21 @@ "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", "requires": { "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=" + }, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "requires": { + "inherits": "2.0.1" + } + } } }, "assert-plus": { @@ -1207,7 +1258,7 @@ "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", "requires": { - "lodash": "4.17.10" + "lodash": "^4.17.10" } }, "async-each": { @@ -1220,7 +1271,7 @@ "resolved": "https://registry.npmjs.org/async-eventemitter/-/async-eventemitter-0.2.4.tgz", "integrity": "sha512-pd20BwL7Yt1zwDFy+8MX8F1+WCT8aQeKj0kQnTrH9WaeRETlRamVhD0JtRPmrV4GfOJ2F9CvdQkZeZhnh2TuHw==", "requires": { - "async": "2.6.1" + "async": "^2.4.0" } }, "async-limiter": { @@ -1234,9 +1285,9 @@ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" }, "atob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.1.tgz", - "integrity": "sha1-ri1acpR38onWDdf5amMUoi3Wwio=" + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" }, "aws-sign2": { "version": "0.7.0", @@ -1244,17 +1295,17 @@ "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" }, "aws4": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.7.0.tgz", - "integrity": "sha512-32NDda82rhwD9/JBCCkB+MRYDp0oSvlo2IL6rQWA10PQi7tDUM3eqMSltXmY+Oyl/7N3P3qNtAlv7X0d9bI28w==" + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" }, "axios": { "version": "0.18.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.0.tgz", + "resolved": "http://registry.npmjs.org/axios/-/axios-0.18.0.tgz", "integrity": "sha1-MtU+SFHv3AoRmTts0AB4nXDAUQI=", "requires": { - "follow-redirects": "1.5.0", - "is-buffer": "1.1.6" + "follow-redirects": "^1.3.0", + "is-buffer": "^1.1.5" } }, "babel-code-frame": { @@ -1262,9 +1313,9 @@ "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", "requires": { - "chalk": "1.1.3", - "esutils": "2.0.2", - "js-tokens": "3.0.2" + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" }, "dependencies": { "ansi-styles": { @@ -1274,14 +1325,14 @@ }, "chalk": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" } }, "supports-color": { @@ -1301,20 +1352,25 @@ "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", "requires": { - "babel-messages": "6.23.0", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "detect-indent": "4.0.0", - "jsesc": "1.3.0", - "lodash": "4.17.10", - "source-map": "0.5.7", - "trim-right": "1.0.1" + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" }, "dependencies": { "jsesc": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=" + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" } } }, @@ -1323,9 +1379,9 @@ "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", "requires": { - "babel-helper-explode-assignable-expression": "6.24.1", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" + "babel-helper-explode-assignable-expression": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" } }, "babel-helper-call-delegate": { @@ -1333,10 +1389,10 @@ "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", "requires": { - "babel-helper-hoist-variables": "6.24.1", - "babel-runtime": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" } }, "babel-helper-define-map": { @@ -1344,10 +1400,10 @@ "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", "requires": { - "babel-helper-function-name": "6.24.1", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "lodash": "4.17.10" + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" } }, "babel-helper-explode-assignable-expression": { @@ -1355,9 +1411,9 @@ "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", "requires": { - "babel-runtime": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" } }, "babel-helper-function-name": { @@ -1365,11 +1421,11 @@ "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", "requires": { - "babel-helper-get-function-arity": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" } }, "babel-helper-get-function-arity": { @@ -1377,8 +1433,8 @@ "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" } }, "babel-helper-hoist-variables": { @@ -1386,8 +1442,8 @@ "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" } }, "babel-helper-optimise-call-expression": { @@ -1395,8 +1451,8 @@ "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" } }, "babel-helper-regex": { @@ -1404,9 +1460,9 @@ "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "lodash": "4.17.10" + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" } }, "babel-helper-remap-async-to-generator": { @@ -1414,11 +1470,11 @@ "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", "requires": { - "babel-helper-function-name": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" } }, "babel-helper-replace-supers": { @@ -1426,12 +1482,12 @@ "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", "requires": { - "babel-helper-optimise-call-expression": "6.24.1", - "babel-messages": "6.23.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" } }, "babel-helpers": { @@ -1439,18 +1495,19 @@ "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", "requires": { - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" } }, "babel-loader": { - "version": "8.0.0-beta.2", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.0.0-beta.2.tgz", - "integrity": "sha512-P1zch1DvQy3RGmp/1CH78uPg5gTPQQ01S9r6ipCOWVamO0UIC8gnrx7m7LsUsXa470yB6IOZxhtEEwIUclRLNw==", + "version": "8.0.0-beta.3", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.0.0-beta.3.tgz", + "integrity": "sha512-yvaAx7cBEjh+R2oGL2vIPmveO6daS5TYP2FSPq4b6CUYjU/ilD4HHyfLIa9KUj6OKBcR9fQcl1NvUOTWNaJ6mw==", "requires": { - "find-cache-dir": "1.0.0", - "loader-utils": "1.1.0", - "mkdirp": "0.5.1" + "find-cache-dir": "^1.0.0", + "loader-utils": "^1.0.2", + "mkdirp": "^0.5.1", + "util.promisify": "^1.0.0" } }, "babel-messages": { @@ -1458,7 +1515,7 @@ "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", "requires": { - "babel-runtime": "6.26.0" + "babel-runtime": "^6.22.0" } }, "babel-plugin-check-es2015-constants": { @@ -1466,27 +1523,27 @@ "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", "requires": { - "babel-runtime": "6.26.0" + "babel-runtime": "^6.22.0" } }, "babel-plugin-react-require": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-react-require/-/babel-plugin-react-require-3.0.0.tgz", + "resolved": "http://registry.npmjs.org/babel-plugin-react-require/-/babel-plugin-react-require-3.0.0.tgz", "integrity": "sha1-Lk57RJa5OmVKHIAEInbeTk7rIOM=" }, "babel-plugin-syntax-async-functions": { "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=" }, "babel-plugin-syntax-exponentiation-operator": { "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=" }, "babel-plugin-syntax-jsx": { "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=" }, "babel-plugin-syntax-trailing-function-commas": { @@ -1499,9 +1556,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", "requires": { - "babel-helper-remap-async-to-generator": "6.24.1", - "babel-plugin-syntax-async-functions": "6.13.0", - "babel-runtime": "6.26.0" + "babel-helper-remap-async-to-generator": "^6.24.1", + "babel-plugin-syntax-async-functions": "^6.8.0", + "babel-runtime": "^6.22.0" } }, "babel-plugin-transform-es2015-arrow-functions": { @@ -1509,7 +1566,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", "requires": { - "babel-runtime": "6.26.0" + "babel-runtime": "^6.22.0" } }, "babel-plugin-transform-es2015-block-scoped-functions": { @@ -1517,7 +1574,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", "requires": { - "babel-runtime": "6.26.0" + "babel-runtime": "^6.22.0" } }, "babel-plugin-transform-es2015-block-scoping": { @@ -1525,11 +1582,11 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", "requires": { - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0", - "lodash": "4.17.10" + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" } }, "babel-plugin-transform-es2015-classes": { @@ -1537,15 +1594,15 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", "requires": { - "babel-helper-define-map": "6.26.0", - "babel-helper-function-name": "6.24.1", - "babel-helper-optimise-call-expression": "6.24.1", - "babel-helper-replace-supers": "6.24.1", - "babel-messages": "6.23.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" + "babel-helper-define-map": "^6.24.1", + "babel-helper-function-name": "^6.24.1", + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-helper-replace-supers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" } }, "babel-plugin-transform-es2015-computed-properties": { @@ -1553,8 +1610,8 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", "requires": { - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" } }, "babel-plugin-transform-es2015-destructuring": { @@ -1562,7 +1619,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", "requires": { - "babel-runtime": "6.26.0" + "babel-runtime": "^6.22.0" } }, "babel-plugin-transform-es2015-duplicate-keys": { @@ -1570,8 +1627,8 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" } }, "babel-plugin-transform-es2015-for-of": { @@ -1579,7 +1636,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", "requires": { - "babel-runtime": "6.26.0" + "babel-runtime": "^6.22.0" } }, "babel-plugin-transform-es2015-function-name": { @@ -1587,9 +1644,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", "requires": { - "babel-helper-function-name": "6.24.1", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" } }, "babel-plugin-transform-es2015-literals": { @@ -1597,7 +1654,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", "requires": { - "babel-runtime": "6.26.0" + "babel-runtime": "^6.22.0" } }, "babel-plugin-transform-es2015-modules-amd": { @@ -1605,9 +1662,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", "requires": { - "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" + "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" } }, "babel-plugin-transform-es2015-modules-commonjs": { @@ -1615,10 +1672,10 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz", "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==", "requires": { - "babel-plugin-transform-strict-mode": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-types": "6.26.0" + "babel-plugin-transform-strict-mode": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-types": "^6.26.0" } }, "babel-plugin-transform-es2015-modules-systemjs": { @@ -1626,9 +1683,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", "requires": { - "babel-helper-hoist-variables": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" } }, "babel-plugin-transform-es2015-modules-umd": { @@ -1636,9 +1693,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", "requires": { - "babel-plugin-transform-es2015-modules-amd": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" + "babel-plugin-transform-es2015-modules-amd": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" } }, "babel-plugin-transform-es2015-object-super": { @@ -1646,8 +1703,8 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", "requires": { - "babel-helper-replace-supers": "6.24.1", - "babel-runtime": "6.26.0" + "babel-helper-replace-supers": "^6.24.1", + "babel-runtime": "^6.22.0" } }, "babel-plugin-transform-es2015-parameters": { @@ -1655,12 +1712,12 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", "requires": { - "babel-helper-call-delegate": "6.24.1", - "babel-helper-get-function-arity": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" + "babel-helper-call-delegate": "^6.24.1", + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" } }, "babel-plugin-transform-es2015-shorthand-properties": { @@ -1668,8 +1725,8 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" } }, "babel-plugin-transform-es2015-spread": { @@ -1677,7 +1734,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", "requires": { - "babel-runtime": "6.26.0" + "babel-runtime": "^6.22.0" } }, "babel-plugin-transform-es2015-sticky-regex": { @@ -1685,9 +1742,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", "requires": { - "babel-helper-regex": "6.26.0", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" + "babel-helper-regex": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" } }, "babel-plugin-transform-es2015-template-literals": { @@ -1695,7 +1752,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", "requires": { - "babel-runtime": "6.26.0" + "babel-runtime": "^6.22.0" } }, "babel-plugin-transform-es2015-typeof-symbol": { @@ -1703,7 +1760,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", "requires": { - "babel-runtime": "6.26.0" + "babel-runtime": "^6.22.0" } }, "babel-plugin-transform-es2015-unicode-regex": { @@ -1711,9 +1768,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", "requires": { - "babel-helper-regex": "6.26.0", - "babel-runtime": "6.26.0", - "regexpu-core": "2.0.0" + "babel-helper-regex": "^6.24.1", + "babel-runtime": "^6.22.0", + "regexpu-core": "^2.0.0" }, "dependencies": { "jsesc": { @@ -1726,9 +1783,9 @@ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", "requires": { - "regenerate": "1.4.0", - "regjsgen": "0.2.0", - "regjsparser": "0.1.5" + "regenerate": "^1.2.1", + "regjsgen": "^0.2.0", + "regjsparser": "^0.1.4" } }, "regjsgen": { @@ -1741,7 +1798,7 @@ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", "requires": { - "jsesc": "0.5.0" + "jsesc": "~0.5.0" } } } @@ -1751,14 +1808,14 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", "requires": { - "babel-helper-builder-binary-assignment-operator-visitor": "6.24.1", - "babel-plugin-syntax-exponentiation-operator": "6.13.0", - "babel-runtime": "6.26.0" + "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1", + "babel-plugin-syntax-exponentiation-operator": "^6.8.0", + "babel-runtime": "^6.22.0" } }, "babel-plugin-transform-react-remove-prop-types": { "version": "0.4.13", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.13.tgz", + "resolved": "http://registry.npmjs.org/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.13.tgz", "integrity": "sha1-Mxz8BQmagII4MR14MZwnRg1IEYk=" }, "babel-plugin-transform-regenerator": { @@ -1766,7 +1823,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", "requires": { - "regenerator-transform": "0.10.1" + "regenerator-transform": "^0.10.0" }, "dependencies": { "regenerator-transform": { @@ -1774,9 +1831,9 @@ "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "private": "0.1.8" + "babel-runtime": "^6.18.0", + "babel-types": "^6.19.0", + "private": "^0.1.6" } } } @@ -1786,8 +1843,8 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" } }, "babel-preset-env": { @@ -1795,36 +1852,36 @@ "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz", "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==", "requires": { - "babel-plugin-check-es2015-constants": "6.22.0", - "babel-plugin-syntax-trailing-function-commas": "6.22.0", - "babel-plugin-transform-async-to-generator": "6.24.1", - "babel-plugin-transform-es2015-arrow-functions": "6.22.0", - "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", - "babel-plugin-transform-es2015-block-scoping": "6.26.0", - "babel-plugin-transform-es2015-classes": "6.24.1", - "babel-plugin-transform-es2015-computed-properties": "6.24.1", - "babel-plugin-transform-es2015-destructuring": "6.23.0", - "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", - "babel-plugin-transform-es2015-for-of": "6.23.0", - "babel-plugin-transform-es2015-function-name": "6.24.1", - "babel-plugin-transform-es2015-literals": "6.22.0", - "babel-plugin-transform-es2015-modules-amd": "6.24.1", - "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", - "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", - "babel-plugin-transform-es2015-modules-umd": "6.24.1", - "babel-plugin-transform-es2015-object-super": "6.24.1", - "babel-plugin-transform-es2015-parameters": "6.24.1", - "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", - "babel-plugin-transform-es2015-spread": "6.22.0", - "babel-plugin-transform-es2015-sticky-regex": "6.24.1", - "babel-plugin-transform-es2015-template-literals": "6.22.0", - "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", - "babel-plugin-transform-es2015-unicode-regex": "6.24.1", - "babel-plugin-transform-exponentiation-operator": "6.24.1", - "babel-plugin-transform-regenerator": "6.26.0", - "browserslist": "3.2.8", - "invariant": "2.2.4", - "semver": "5.5.0" + "babel-plugin-check-es2015-constants": "^6.22.0", + "babel-plugin-syntax-trailing-function-commas": "^6.22.0", + "babel-plugin-transform-async-to-generator": "^6.22.0", + "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", + "babel-plugin-transform-es2015-block-scoping": "^6.23.0", + "babel-plugin-transform-es2015-classes": "^6.23.0", + "babel-plugin-transform-es2015-computed-properties": "^6.22.0", + "babel-plugin-transform-es2015-destructuring": "^6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0", + "babel-plugin-transform-es2015-for-of": "^6.23.0", + "babel-plugin-transform-es2015-function-name": "^6.22.0", + "babel-plugin-transform-es2015-literals": "^6.22.0", + "babel-plugin-transform-es2015-modules-amd": "^6.22.0", + "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0", + "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0", + "babel-plugin-transform-es2015-modules-umd": "^6.23.0", + "babel-plugin-transform-es2015-object-super": "^6.22.0", + "babel-plugin-transform-es2015-parameters": "^6.23.0", + "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0", + "babel-plugin-transform-es2015-spread": "^6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "^6.22.0", + "babel-plugin-transform-es2015-template-literals": "^6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "^6.22.0", + "babel-plugin-transform-exponentiation-operator": "^6.22.0", + "babel-plugin-transform-regenerator": "^6.22.0", + "browserslist": "^3.2.6", + "invariant": "^2.2.2", + "semver": "^5.3.0" } }, "babel-register": { @@ -1832,13 +1889,13 @@ "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", "requires": { - "babel-core": "6.26.3", - "babel-runtime": "6.26.0", - "core-js": "2.5.7", - "home-or-tmp": "2.0.0", - "lodash": "4.17.10", - "mkdirp": "0.5.1", - "source-map-support": "0.4.18" + "babel-core": "^6.26.0", + "babel-runtime": "^6.26.0", + "core-js": "^2.5.0", + "home-or-tmp": "^2.0.0", + "lodash": "^4.17.4", + "mkdirp": "^0.5.1", + "source-map-support": "^0.4.15" }, "dependencies": { "babel-core": { @@ -1846,25 +1903,25 @@ "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", "requires": { - "babel-code-frame": "6.26.0", - "babel-generator": "6.26.1", - "babel-helpers": "6.24.1", - "babel-messages": "6.23.0", - "babel-register": "6.26.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0", - "babylon": "6.18.0", - "convert-source-map": "1.5.1", - "debug": "2.6.9", - "json5": "0.5.1", - "lodash": "4.17.10", - "minimatch": "3.0.4", - "path-is-absolute": "1.0.1", - "private": "0.1.8", - "slash": "1.0.0", - "source-map": "0.5.7" + "babel-code-frame": "^6.26.0", + "babel-generator": "^6.26.0", + "babel-helpers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-register": "^6.26.0", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "convert-source-map": "^1.5.1", + "debug": "^2.6.9", + "json5": "^0.5.1", + "lodash": "^4.17.4", + "minimatch": "^3.0.4", + "path-is-absolute": "^1.0.1", + "private": "^0.1.8", + "slash": "^1.0.0", + "source-map": "^0.5.7" } }, "babylon": { @@ -1879,6 +1936,11 @@ "requires": { "ms": "2.0.0" } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" } } }, @@ -1887,8 +1949,8 @@ "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", "requires": { - "core-js": "2.5.7", - "regenerator-runtime": "0.11.1" + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" } }, "babel-template": { @@ -1896,11 +1958,11 @@ "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", "requires": { - "babel-runtime": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0", - "babylon": "6.18.0", - "lodash": "4.17.10" + "babel-runtime": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "lodash": "^4.17.4" }, "dependencies": { "babylon": { @@ -1915,15 +1977,15 @@ "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", "requires": { - "babel-code-frame": "6.26.0", - "babel-messages": "6.23.0", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "babylon": "6.18.0", - "debug": "2.6.9", - "globals": "9.18.0", - "invariant": "2.2.4", - "lodash": "4.17.10" + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" }, "dependencies": { "babylon": { @@ -1951,10 +2013,10 @@ "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", "requires": { - "babel-runtime": "6.26.0", - "esutils": "2.0.2", - "lodash": "4.17.10", - "to-fast-properties": "1.0.3" + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" }, "dependencies": { "to-fast-properties": { @@ -1966,11 +2028,11 @@ }, "babelify": { "version": "7.3.0", - "resolved": "https://registry.npmjs.org/babelify/-/babelify-7.3.0.tgz", + "resolved": "http://registry.npmjs.org/babelify/-/babelify-7.3.0.tgz", "integrity": "sha1-qlau3nBn/XvVSWZu4W3ChQh+iOU=", "requires": { - "babel-core": "6.26.3", - "object-assign": "4.1.1" + "babel-core": "^6.0.14", + "object-assign": "^4.0.0" }, "dependencies": { "babel-core": { @@ -1978,25 +2040,25 @@ "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", "requires": { - "babel-code-frame": "6.26.0", - "babel-generator": "6.26.1", - "babel-helpers": "6.24.1", - "babel-messages": "6.23.0", - "babel-register": "6.26.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0", - "babylon": "6.18.0", - "convert-source-map": "1.5.1", - "debug": "2.6.9", - "json5": "0.5.1", - "lodash": "4.17.10", - "minimatch": "3.0.4", - "path-is-absolute": "1.0.1", - "private": "0.1.8", - "slash": "1.0.0", - "source-map": "0.5.7" + "babel-code-frame": "^6.26.0", + "babel-generator": "^6.26.0", + "babel-helpers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-register": "^6.26.0", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "convert-source-map": "^1.5.1", + "debug": "^2.6.9", + "json5": "^0.5.1", + "lodash": "^4.17.4", + "minimatch": "^3.0.4", + "path-is-absolute": "^1.0.1", + "private": "^0.1.8", + "slash": "^1.0.0", + "source-map": "^0.5.7" } }, "babylon": { @@ -2011,12 +2073,22 @@ "requires": { "ms": "2.0.0" } + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" } } }, "babylon": { "version": "7.0.0-beta.42", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.42.tgz", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.42.tgz", "integrity": "sha512-h6E/OkkvcBw/JimbL0p8dIaxrcuQn3QmIYGC/GtJlRYif5LTKBYPHXYwqluJpfS/kOXoz0go+9mkmOVC0M+zWw==" }, "backoff": { @@ -2024,7 +2096,7 @@ "resolved": "https://registry.npmjs.org/backoff/-/backoff-2.5.0.tgz", "integrity": "sha1-9hbtqdPktmuMp/ynn2lXIsX44m8=", "requires": { - "precond": "0.2.3" + "precond": "0.2" } }, "balanced-match": { @@ -2037,13 +2109,13 @@ "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", "requires": { - "cache-base": "1.0.1", - "class-utils": "0.3.6", - "component-emitter": "1.2.1", - "define-property": "1.0.0", - "isobject": "3.0.1", - "mixin-deep": "1.3.1", - "pascalcase": "0.1.1" + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" }, "dependencies": { "define-property": { @@ -2051,7 +2123,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "requires": { - "is-descriptor": "1.0.2" + "is-descriptor": "^1.0.0" } }, "is-accessor-descriptor": { @@ -2059,7 +2131,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": "6.0.2" + "kind-of": "^6.0.0" } }, "is-data-descriptor": { @@ -2067,7 +2139,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": "6.0.2" + "kind-of": "^6.0.0" } }, "is-descriptor": { @@ -2075,9 +2147,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "requires": { - "is-accessor-descriptor": "1.0.0", - "is-data-descriptor": "1.0.0", - "kind-of": "6.0.2" + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" } }, "isobject": { @@ -2097,7 +2169,7 @@ "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.4.tgz", "integrity": "sha512-UYOadoSIkEI/VrRGSG6qp93rp2WdokiAiNYDfGW5qURAY8GiAQkvMbwNNSDYiVJopqv4gCna7xqf4rrNGp+5AA==", "requires": { - "safe-buffer": "5.1.2" + "safe-buffer": "^5.0.1" } }, "base64-js": { @@ -2106,26 +2178,36 @@ "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==" }, "bcrypt-pbkdf": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", - "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", "optional": true, "requires": { - "tweetnacl": "0.14.5" + "tweetnacl": "^0.14.3" + }, + "dependencies": { + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "optional": true + } } }, "big.js": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz", - "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==" + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.1.2.tgz", + "integrity": "sha512-qG6ZOc1lY84Bn8p/z9xvJisj9F4PRyo0pOGqGNYc7gS3p1WciS/3XcLuNI3Z/yYZpMNFhHeX3YNENwgrQq0NTA==" }, "bignumber.js": { - "version": "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2" + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-6.0.0.tgz", + "integrity": "sha512-x247jIuy60/+FtMRvscqfxtVHQf8AGx2hm9c6btkgC0x/hp9yt+teISNhvF8WlwRkCc5yF2fDECH8SIMe8j+GA==" }, "binary-extensions": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.11.0.tgz", - "integrity": "sha1-RqoXUftqL5PuXmibsQh9SxTGwgU=" + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.12.0.tgz", + "integrity": "sha512-DYWGk01lDcxeS/K9IHPGWfT8PsJmbXRtRd2Sx72Tnb8pcYZQFF1oSDb8hJtS1vhp212q1Rzi5dUf9+nq0o9UIg==" }, "bindings": { "version": "1.3.0", @@ -2137,11 +2219,11 @@ "resolved": "https://registry.npmjs.org/bip39/-/bip39-2.5.0.tgz", "integrity": "sha512-xwIx/8JKoT2+IPJpFEfXoWdYwP7UVAoUxxLNfGCfVowaJE7yg1Y5B1BVPqlUNsBq5/nGwmFkwRJ8xDW4sX8OdA==", "requires": { - "create-hash": "1.2.0", - "pbkdf2": "3.0.16", - "randombytes": "2.0.6", - "safe-buffer": "5.1.2", - "unorm": "1.4.1" + "create-hash": "^1.1.0", + "pbkdf2": "^3.0.9", + "randombytes": "^2.0.1", + "safe-buffer": "^5.0.1", + "unorm": "^1.3.3" } }, "bip66": { @@ -2149,7 +2231,7 @@ "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", "requires": { - "safe-buffer": "5.1.2" + "safe-buffer": "^5.0.1" } }, "bitcore": { @@ -2157,14 +2239,14 @@ "resolved": "https://registry.npmjs.org/bitcore/-/bitcore-0.13.5.tgz", "integrity": "sha1-7PEheg0b0cqf+kvUAwrORF1oV2U=", "requires": { - "bn.js": "2.0.4", - "bs58": "2.0.0", - "buffer-compare": "1.0.0", - "elliptic": "3.0.3", - "hash.js": "1.0.2", - "inherits": "2.0.1", - "lodash": "3.10.1", - "sha512": "0.0.1" + "bn.js": "=2.0.4", + "bs58": "=2.0.0", + "buffer-compare": "=1.0.0", + "elliptic": "=3.0.3", + "hash.js": "=1.0.2", + "inherits": "=2.0.1", + "lodash": "=3.10.1", + "sha512": "=0.0.1" }, "dependencies": { "bn.js": { @@ -2184,13 +2266,13 @@ }, "elliptic": { "version": "3.0.3", - "resolved": "http://registry.npmjs.org/elliptic/-/elliptic-3.0.3.tgz", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-3.0.3.tgz", "integrity": "sha1-hlybQgv75VAGuflp+XoNLESWZZU=", "requires": { - "bn.js": "2.0.4", - "brorand": "1.0.5", - "hash.js": "1.0.2", - "inherits": "2.0.1" + "bn.js": "^2.0.0", + "brorand": "^1.0.1", + "hash.js": "^1.0.0", + "inherits": "^2.0.1" }, "dependencies": { "brorand": { @@ -2205,7 +2287,7 @@ "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.0.2.tgz", "integrity": "sha1-vH1gH04NBaMvNSbRH+Ofel64wYc=", "requires": { - "inherits": "2.0.1" + "inherits": "^2.0.1" } }, "inherits": { @@ -2215,7 +2297,7 @@ }, "lodash": { "version": "3.10.1", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", + "resolved": "http://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=" }, "sha512": { @@ -2227,11 +2309,11 @@ }, "bl": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz", + "resolved": "http://registry.npmjs.org/bl/-/bl-1.2.2.tgz", "integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==", "requires": { - "readable-stream": "2.3.6", - "safe-buffer": "5.1.2" + "readable-stream": "^2.3.5", + "safe-buffer": "^5.1.1" } }, "blakejs": { @@ -2244,13 +2326,13 @@ "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", "requires": { - "inherits": "2.0.3" + "inherits": "~2.0.0" } }, "bluebird": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", - "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.2.tgz", + "integrity": "sha512-dhHTWMI7kMx5whMQntl7Vr9C6BvV10lFXDAasnqnrMYhXVCzzk6IO9Fo2L75jXHT07WrOngL1WDXOp+yYS91Yg==" }, "bn.js": { "version": "4.11.8", @@ -2263,15 +2345,15 @@ "integrity": "sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=", "requires": { "bytes": "3.0.0", - "content-type": "1.0.4", + "content-type": "~1.0.4", "debug": "2.6.9", - "depd": "1.1.2", - "http-errors": "1.6.3", + "depd": "~1.1.2", + "http-errors": "~1.6.3", "iconv-lite": "0.4.23", - "on-finished": "2.3.0", + "on-finished": "~2.3.0", "qs": "6.5.2", "raw-body": "2.3.3", - "type-is": "1.6.16" + "type-is": "~1.6.16" }, "dependencies": { "debug": { @@ -2289,13 +2371,21 @@ }, "http-errors": { "version": "1.6.3", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", "requires": { - "depd": "1.1.2", + "depd": "~1.1.2", "inherits": "2.0.3", "setprototypeof": "1.1.0", - "statuses": "1.5.0" + "statuses": ">= 1.4.0 < 2" + } + }, + "iconv-lite": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", + "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" } }, "setprototypeof": { @@ -2310,22 +2400,10 @@ "resolved": "https://registry.npmjs.org/borc/-/borc-2.0.3.tgz", "integrity": "sha512-2mfipKUXn7yLgwn8D5jZkJqd2ZyzqmYZQX/9d4On33oGNDLwxj5qQMst+nkKyEdaujQRFfrZCId+k8wehQVANg==", "requires": { - "bignumber.js": "6.0.0", - "commander": "2.17.0", - "ieee754": "1.1.11", - "json-text-sequence": "0.1.1" - }, - "dependencies": { - "bignumber.js": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-6.0.0.tgz", - "integrity": "sha512-x247jIuy60/+FtMRvscqfxtVHQf8AGx2hm9c6btkgC0x/hp9yt+teISNhvF8WlwRkCc5yF2fDECH8SIMe8j+GA==" - }, - "commander": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.0.tgz", - "integrity": "sha512-477o1hdVORiFlZxw8wgsXYCef3lh0zl/OV0FTftqiDxJSWw6dPQ2ipS4k20J2qBcsmsmLKSyr2iFrf9e3JGi4w==" - } + "bignumber.js": "^6.0.0", + "commander": "^2.15.0", + "ieee754": "^1.1.8", + "json-text-sequence": "^0.1" } }, "brace-expansion": { @@ -2333,7 +2411,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "requires": { - "balanced-match": "1.0.0", + "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, @@ -2342,9 +2420,9 @@ "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", "requires": { - "expand-range": "1.8.2", - "preserve": "0.2.0", - "repeat-element": "1.1.2" + "expand-range": "^1.8.1", + "preserve": "^0.2.0", + "repeat-element": "^1.1.2" } }, "brfs": { @@ -2352,10 +2430,10 @@ "resolved": "https://registry.npmjs.org/brfs/-/brfs-1.6.1.tgz", "integrity": "sha512-OfZpABRQQf+Xsmju8XE9bDjs+uU4vLREGolP7bDgcpsI17QREyZ4Bl+2KLxxx1kCgA0fAIhKQBaBYh+PEcCqYQ==", "requires": { - "quote-stream": "1.0.2", - "resolve": "1.5.0", - "static-module": "2.2.5", - "through2": "2.0.3" + "quote-stream": "^1.0.1", + "resolve": "^1.1.5", + "static-module": "^2.2.0", + "through2": "^2.0.0" } }, "brorand": { @@ -2370,15 +2448,15 @@ }, "browserify-aes": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", "requires": { - "buffer-xor": "1.0.3", - "cipher-base": "1.0.4", - "create-hash": "1.2.0", - "evp_bytestokey": "1.0.3", - "inherits": "2.0.3", - "safe-buffer": "5.1.2" + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" } }, "browserify-cipher": { @@ -2386,28 +2464,29 @@ "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", "requires": { - "browserify-aes": "1.2.0", - "browserify-des": "1.0.1", - "evp_bytestokey": "1.0.3" + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" } }, "browserify-des": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.1.tgz", - "integrity": "sha512-zy0Cobe3hhgpiOM32Tj7KQ3Vl91m0njwsjzZQK1L+JDf11dzP9qIvjreVinsvXrgfjhStXwUWAEpB9D7Gwmayw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", "requires": { - "cipher-base": "1.0.4", - "des.js": "1.0.0", - "inherits": "2.0.3" + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" } }, "browserify-rsa": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", + "resolved": "http://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", "requires": { - "bn.js": "4.11.8", - "randombytes": "2.0.6" + "bn.js": "^4.1.0", + "randombytes": "^2.0.1" } }, "browserify-sha3": { @@ -2415,7 +2494,14 @@ "resolved": "https://registry.npmjs.org/browserify-sha3/-/browserify-sha3-0.0.1.tgz", "integrity": "sha1-P/NKMAbvFcD7NWflQbkaI0ASPRE=", "requires": { - "js-sha3": "0.3.1" + "js-sha3": "^0.3.1" + }, + "dependencies": { + "js-sha3": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.3.1.tgz", + "integrity": "sha1-hhIoAhQvCChQKg0d7h2V4lO7AkM=" + } } }, "browserify-sign": { @@ -2423,13 +2509,13 @@ "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz", "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", "requires": { - "bn.js": "4.11.8", - "browserify-rsa": "4.0.1", - "create-hash": "1.2.0", - "create-hmac": "1.1.7", - "elliptic": "6.4.0", - "inherits": "2.0.3", - "parse-asn1": "5.1.1" + "bn.js": "^4.1.1", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.2", + "elliptic": "^6.0.0", + "inherits": "^2.0.1", + "parse-asn1": "^5.0.0" } }, "browserify-zlib": { @@ -2437,7 +2523,7 @@ "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", "requires": { - "pako": "1.0.6" + "pako": "~1.0.5" } }, "browserslist": { @@ -2445,8 +2531,8 @@ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==", "requires": { - "caniuse-lite": "1.0.30000847", - "electron-to-chromium": "1.3.48" + "caniuse-lite": "^1.0.30000844", + "electron-to-chromium": "^1.3.47" } }, "bs58": { @@ -2454,7 +2540,7 @@ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", "requires": { - "base-x": "3.0.4" + "base-x": "^3.0.2" } }, "bs58check": { @@ -2462,8 +2548,8 @@ "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-1.3.4.tgz", "integrity": "sha1-xSVABzdJEXcU+gQsMEfrj5FRy/g=", "requires": { - "bs58": "3.1.0", - "create-hash": "1.2.0" + "bs58": "^3.1.0", + "create-hash": "^1.1.0" }, "dependencies": { "base-x": { @@ -2476,19 +2562,19 @@ "resolved": "https://registry.npmjs.org/bs58/-/bs58-3.1.0.tgz", "integrity": "sha1-1MJjiL9IBMrHFBQbGUWqR+XrJI4=", "requires": { - "base-x": "1.1.0" + "base-x": "^1.1.0" } } } }, "buffer": { "version": "4.9.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "resolved": "http://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", "requires": { - "base64-js": "1.3.0", - "ieee754": "1.1.11", - "isarray": "1.0.0" + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" } }, "buffer-alloc": { @@ -2496,8 +2582,8 @@ "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", "requires": { - "buffer-alloc-unsafe": "1.1.0", - "buffer-fill": "1.0.0" + "buffer-alloc-unsafe": "^1.1.0", + "buffer-fill": "^1.0.0" } }, "buffer-alloc-unsafe": { @@ -2521,14 +2607,9 @@ "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=" }, "buffer-from": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz", - "integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ==" - }, - "buffer-loader": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/buffer-loader/-/buffer-loader-0.0.1.tgz", - "integrity": "sha1-TWd8qS3YiTEIeLAqL7z6txICTPI=" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" }, "buffer-to-arraybuffer": { "version": "0.0.5", @@ -2560,19 +2641,26 @@ "resolved": "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz", "integrity": "sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA==", "requires": { - "bluebird": "3.5.1", - "chownr": "1.0.1", - "glob": "7.1.2", - "graceful-fs": "4.1.11", - "lru-cache": "4.1.3", - "mississippi": "2.0.0", - "mkdirp": "0.5.1", - "move-concurrently": "1.0.1", - "promise-inflight": "1.0.1", - "rimraf": "2.6.2", - "ssri": "5.3.0", - "unique-filename": "1.1.0", - "y18n": "4.0.0" + "bluebird": "^3.5.1", + "chownr": "^1.0.1", + "glob": "^7.1.2", + "graceful-fs": "^4.1.11", + "lru-cache": "^4.1.1", + "mississippi": "^2.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.2", + "ssri": "^5.2.4", + "unique-filename": "^1.1.0", + "y18n": "^4.0.0" + }, + "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + } } }, "cache-base": { @@ -2580,15 +2668,15 @@ "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", "requires": { - "collection-visit": "1.0.0", - "component-emitter": "1.2.1", - "get-value": "2.0.6", - "has-value": "1.0.0", - "isobject": "3.0.1", - "set-value": "2.0.0", - "to-object-path": "0.3.0", - "union-value": "1.0.0", - "unset-value": "1.0.0" + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" }, "dependencies": { "isobject": { @@ -2604,9 +2692,9 @@ "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=" }, "caniuse-lite": { - "version": "1.0.30000847", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000847.tgz", - "integrity": "sha512-Weo+tRtVWcN2da782Ebx/27hFNEb+KP+uP6tdqAa+2S5bp1zOJhVH9tEpDygagrfvU4QjeuPwi/5VGsgT4SLaA==" + "version": "1.0.30000889", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000889.tgz", + "integrity": "sha512-MFxcQ6x/LEEoaIhO7Zdb7Eg8YyNONN+WBnS5ERJ0li2yRw51+i4xXUNxnLaveTb/4ZoJqsWKEmlomhG2pYzlQA==" }, "case-sensitive-paths-webpack-plugin": { "version": "2.1.1", @@ -2623,8 +2711,8 @@ "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", "requires": { - "align-text": "0.1.4", - "lazy-cache": "1.0.4" + "align-text": "^0.1.3", + "lazy-cache": "^1.0.3" } }, "chalk": { @@ -2632,9 +2720,9 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", "requires": { - "ansi-styles": "3.2.1", - "escape-string-regexp": "1.0.5", - "supports-color": "5.4.0" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" } }, "checkpoint-store": { @@ -2642,26 +2730,27 @@ "resolved": "https://registry.npmjs.org/checkpoint-store/-/checkpoint-store-1.1.0.tgz", "integrity": "sha1-BOTLUWuRQziTWB5tRgGnjpVS6gY=", "requires": { - "functional-red-black-tree": "1.0.1" + "functional-red-black-tree": "^1.0.1" } }, "chokidar": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.3.tgz", - "integrity": "sha512-zW8iXYZtXMx4kux/nuZVXjkLP+CyIK5Al5FHnj1OgTKGZfp4Oy6/ymtMSKFv3GD8DviEmUPmJg9eFdJ/JzudMg==", - "requires": { - "anymatch": "2.0.0", - "async-each": "1.0.1", - "braces": "2.3.2", - "fsevents": "1.2.4", - "glob-parent": "3.1.0", - "inherits": "2.0.3", - "is-binary-path": "1.0.1", - "is-glob": "4.0.0", - "normalize-path": "2.1.1", - "path-is-absolute": "1.0.1", - "readdirp": "2.1.0", - "upath": "1.1.0" + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.4.tgz", + "integrity": "sha512-z9n7yt9rOvIJrMhvDtDictKrkFHeihkNl6uWMmZlmL6tJtX9Cs+87oK+teBx+JIgzvbX3yZHT3eF8vpbDxHJXQ==", + "requires": { + "anymatch": "^2.0.0", + "async-each": "^1.0.0", + "braces": "^2.3.0", + "fsevents": "^1.2.2", + "glob-parent": "^3.1.0", + "inherits": "^2.0.1", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "lodash.debounce": "^4.0.8", + "normalize-path": "^2.1.1", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.0.0", + "upath": "^1.0.5" }, "dependencies": { "array-unique": { @@ -2674,24 +2763,16 @@ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", "requires": { - "arr-flatten": "1.1.0", - "array-unique": "0.3.2", - "extend-shallow": "2.0.1", - "fill-range": "4.0.0", - "isobject": "3.0.1", - "repeat-element": "1.1.2", - "snapdragon": "0.8.2", - "snapdragon-node": "2.1.1", - "split-string": "3.1.0", - "to-regex": "3.0.2" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "0.1.1" + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" } }, "fill-range": { @@ -2699,42 +2780,18 @@ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", "requires": { - "extend-shallow": "2.0.1", - "is-number": "3.0.0", - "repeat-string": "1.6.1", - "to-regex-range": "2.1.1" - } - }, - "glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", - "requires": { - "is-glob": "3.1.0", - "path-dirname": "1.0.2" - }, - "dependencies": { - "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "requires": { - "is-extglob": "2.1.1" - } - } + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" } }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" - }, "is-glob": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", "requires": { - "is-extglob": "2.1.1" + "is-extglob": "^2.1.1" } }, "is-number": { @@ -2742,7 +2799,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "requires": { - "kind-of": "3.2.2" + "kind-of": "^3.0.2" } }, "isobject": { @@ -2753,18 +2810,29 @@ } }, "chownr": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz", - "integrity": "sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE=" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz", + "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==" }, "cids": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/cids/-/cids-0.5.3.tgz", - "integrity": "sha512-ujWbNP8SeLKg5KmGrxYZM4c+ttd+wwvegrdtgmbi2KNFUbQN4pqsGZaGQE3rhjayXTbKFq36bYDbKhsnD0eMsg==", + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/cids/-/cids-0.5.5.tgz", + "integrity": "sha512-oU8v+N8rViFBcj5KcsXK0gbPiMFHpP/VGlGoWQXZguJsA8ZW0X47fKt0ZPIu03U8CL1Fy+R56tO79urY6MLaSw==", "requires": { - "multibase": "0.4.0", - "multicodec": "0.2.7", - "multihashes": "0.4.13" + "class-is": "^1.1.0", + "multibase": "~0.5.0", + "multicodec": "~0.2.7", + "multihashes": "~0.4.14" + }, + "dependencies": { + "multibase": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/multibase/-/multibase-0.5.0.tgz", + "integrity": "sha512-7epKiK8/UBzraYZvOuZa8FH/00hMfTnzTy1OQol1YBU2csAYA7rwWh+iue9plXRmVFBGvmVKMuo0oq5sD47kvw==", + "requires": { + "base-x": "3.0.4" + } + } } }, "cipher-base": { @@ -2772,13 +2840,13 @@ "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", "requires": { - "inherits": "2.0.3", - "safe-buffer": "5.1.2" + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" } }, "class-is": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/class-is/-/class-is-1.1.0.tgz", + "resolved": "http://registry.npmjs.org/class-is/-/class-is-1.1.0.tgz", "integrity": "sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw==" }, "class-utils": { @@ -2786,10 +2854,10 @@ "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", "requires": { - "arr-union": "3.1.0", - "define-property": "0.2.5", - "isobject": "3.0.1", - "static-extend": "0.1.2" + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" }, "dependencies": { "define-property": { @@ -2797,7 +2865,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "requires": { - "is-descriptor": "0.1.6" + "is-descriptor": "^0.1.0" } }, "isobject": { @@ -2808,24 +2876,31 @@ } }, "classnames": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.5.tgz", - "integrity": "sha1-+zgB1FNGdknvNgPH1hoCvRKb3m0=" + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz", + "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==" }, "cliui": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", "requires": { - "center-align": "0.1.3", - "right-align": "0.1.3", + "center-align": "^0.1.1", + "right-align": "^0.1.1", "wordwrap": "0.0.2" + }, + "dependencies": { + "wordwrap": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=" + } } }, "clone": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", - "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" }, "clone-stats": { "version": "0.0.1", @@ -2847,8 +2922,8 @@ "resolved": "https://registry.npmjs.org/coinstring/-/coinstring-2.3.0.tgz", "integrity": "sha1-zbYzY6lhUCQEolr7gsLibV/2J6Q=", "requires": { - "bs58": "2.0.1", - "create-hash": "1.2.0" + "bs58": "^2.0.1", + "create-hash": "^1.1.1" }, "dependencies": { "bs58": { @@ -2863,14 +2938,14 @@ "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", "requires": { - "map-visit": "1.0.0", - "object-visit": "1.0.1" + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" } }, "color-convert": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz", - "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "requires": { "color-name": "1.1.3" } @@ -2881,17 +2956,17 @@ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "combined-stream": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz", - "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", + "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", "requires": { - "delayed-stream": "1.0.0" + "delayed-stream": "~1.0.0" } }, "commander": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", - "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==" + "version": "2.18.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.18.0.tgz", + "integrity": "sha512-6CYPa+JP2ftfRU2qkDK+UTVeQYosOg/2GbcjIcKPHfinyOLPVGXu/ovN86RP49Re5ndJK1N0kuiidFFuepc4ZQ==" }, "commondir": { "version": "1.0.1", @@ -2913,10 +2988,10 @@ "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", "requires": { - "buffer-from": "1.1.0", - "inherits": "2.0.3", - "readable-stream": "2.3.6", - "typedarray": "0.0.6" + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" } }, "console-browserify": { @@ -2924,7 +2999,7 @@ "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", "requires": { - "date-now": "0.1.4" + "date-now": "^0.1.4" } }, "constants-browserify": { @@ -2943,9 +3018,12 @@ "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" }, "convert-source-map": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", - "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=" + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", + "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", + "requires": { + "safe-buffer": "~5.1.1" + } }, "cookie": { "version": "0.3.1", @@ -2957,17 +3035,22 @@ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" }, + "cookiejar": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz", + "integrity": "sha512-Mw+adcfzPxcPeI+0WlvRrr/3lGVO0bD75SxX6811cxSh1Wbxx7xZBGK1eVtDf6si8rg2lhnUjsVLMFMfbRIuwA==" + }, "copy-concurrently": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", "requires": { - "aproba": "1.2.0", - "fs-write-stream-atomic": "1.0.10", - "iferr": "0.1.5", - "mkdirp": "0.5.1", - "rimraf": "2.6.2", - "run-queue": "1.0.3" + "aproba": "^1.1.1", + "fs-write-stream-atomic": "^1.0.8", + "iferr": "^0.1.5", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.0" } }, "copy-descriptor": { @@ -2990,8 +3073,15 @@ "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.4.tgz", "integrity": "sha1-K9OB8usgECAQXNUOpZ2mMJBpRoY=", "requires": { - "object-assign": "4.1.1", - "vary": "1.1.2" + "object-assign": "^4", + "vary": "^1" + }, + "dependencies": { + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + } } }, "create-ecdh": { @@ -2999,33 +3089,33 @@ "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz", "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==", "requires": { - "bn.js": "4.11.8", - "elliptic": "6.4.0" + "bn.js": "^4.1.0", + "elliptic": "^6.0.0" } }, "create-hash": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "resolved": "http://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", "requires": { - "cipher-base": "1.0.4", - "inherits": "2.0.3", - "md5.js": "1.3.4", - "ripemd160": "2.0.2", - "sha.js": "2.4.11" + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" } }, "create-hmac": { "version": "1.1.7", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "resolved": "http://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", "requires": { - "cipher-base": "1.0.4", - "create-hash": "1.2.0", - "inherits": "2.0.3", - "ripemd160": "2.0.2", - "safe-buffer": "5.1.2", - "sha.js": "2.4.11" + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" } }, "cross-fetch": { @@ -3039,8 +3129,13 @@ "dependencies": { "node-fetch": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz", + "resolved": "http://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz", "integrity": "sha1-q4hOjn5X44qUR1POxwb3iNF2i7U=" + }, + "whatwg-fetch": { + "version": "2.0.4", + "resolved": "http://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz", + "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==" } } }, @@ -3049,9 +3144,9 @@ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", "requires": { - "lru-cache": "4.1.3", - "shebang-command": "1.2.0", - "which": "1.3.1" + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" } }, "crypto-browserify": { @@ -3059,17 +3154,17 @@ "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", "requires": { - "browserify-cipher": "1.0.1", - "browserify-sign": "4.0.4", - "create-ecdh": "4.0.3", - "create-hash": "1.2.0", - "create-hmac": "1.1.7", - "diffie-hellman": "5.0.3", - "inherits": "2.0.3", - "pbkdf2": "3.0.16", - "public-encrypt": "4.0.2", - "randombytes": "2.0.6", - "randomfill": "1.0.4" + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" } }, "crypto-js": { @@ -3078,24 +3173,14 @@ "integrity": "sha1-cV8HC/YBTyrpkqmLOSkli3E/CNU=" }, "css": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/css/-/css-2.2.3.tgz", - "integrity": "sha512-0W171WccAjQGGTKLhw4m2nnl0zPHUlTO/I8td4XzJgIB8Hg3ZZx71qT4G4eX8OVsSiaAKiUMy73E3nsbPlg2DQ==", + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/css/-/css-2.2.4.tgz", + "integrity": "sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw==", "requires": { - "inherits": "2.0.3", - "source-map": "0.1.43", - "source-map-resolve": "0.5.2", - "urix": "0.1.0" - }, - "dependencies": { - "source-map": { - "version": "0.1.43", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", - "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", - "requires": { - "amdefine": "1.0.1" - } - } + "inherits": "^2.0.3", + "source-map": "^0.6.1", + "source-map-resolve": "^0.5.2", + "urix": "^0.1.0" } }, "cyclist": { @@ -3108,7 +3193,7 @@ "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", "requires": { - "es5-ext": "0.10.45" + "es5-ext": "^0.10.9" } }, "dashdash": { @@ -3116,7 +3201,7 @@ "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "requires": { - "assert-plus": "1.0.0" + "assert-plus": "^1.0.0" } }, "date-now": { @@ -3137,8 +3222,8 @@ "resolved": "https://registry.npmjs.org/debug-fabulous/-/debug-fabulous-0.0.4.tgz", "integrity": "sha1-+gccXYdIRoVCSAdCHKSxawsaB2M=", "requires": { - "debug": "2.6.9", - "lazy-debug-legacy": "0.0.1", + "debug": "2.X", + "lazy-debug-legacy": "0.0.X", "object-assign": "4.1.0" }, "dependencies": { @@ -3172,16 +3257,21 @@ "resolved": "https://registry.npmjs.org/decompress/-/decompress-4.2.0.tgz", "integrity": "sha1-eu3YVCflqS2s/lVnSnxQXpbQH50=", "requires": { - "decompress-tar": "4.1.1", - "decompress-tarbz2": "4.1.1", - "decompress-targz": "4.1.1", - "decompress-unzip": "4.0.1", - "graceful-fs": "4.1.11", - "make-dir": "1.3.0", - "pify": "2.3.0", - "strip-dirs": "2.1.0" + "decompress-tar": "^4.0.0", + "decompress-tarbz2": "^4.0.0", + "decompress-targz": "^4.0.0", + "decompress-unzip": "^4.0.1", + "graceful-fs": "^4.1.10", + "make-dir": "^1.0.0", + "pify": "^2.3.0", + "strip-dirs": "^2.0.0" }, "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", @@ -3194,7 +3284,7 @@ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", "requires": { - "mimic-response": "1.0.0" + "mimic-response": "^1.0.0" } }, "decompress-tar": { @@ -3202,9 +3292,9 @@ "resolved": "https://registry.npmjs.org/decompress-tar/-/decompress-tar-4.1.1.tgz", "integrity": "sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ==", "requires": { - "file-type": "5.2.0", - "is-stream": "1.1.0", - "tar-stream": "1.6.1" + "file-type": "^5.2.0", + "is-stream": "^1.1.0", + "tar-stream": "^1.5.2" } }, "decompress-tarbz2": { @@ -3212,11 +3302,11 @@ "resolved": "https://registry.npmjs.org/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz", "integrity": "sha512-s88xLzf1r81ICXLAVQVzaN6ZmX4A6U4z2nMbOwobxkLoIIfjVMBg7TeguTUXkKeXni795B6y5rnvDw7rxhAq9A==", "requires": { - "decompress-tar": "4.1.1", - "file-type": "6.2.0", - "is-stream": "1.1.0", - "seek-bzip": "1.0.5", - "unbzip2-stream": "1.2.5" + "decompress-tar": "^4.1.0", + "file-type": "^6.1.0", + "is-stream": "^1.1.0", + "seek-bzip": "^1.0.5", + "unbzip2-stream": "^1.0.9" }, "dependencies": { "file-type": { @@ -3231,9 +3321,9 @@ "resolved": "https://registry.npmjs.org/decompress-targz/-/decompress-targz-4.1.1.tgz", "integrity": "sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w==", "requires": { - "decompress-tar": "4.1.1", - "file-type": "5.2.0", - "is-stream": "1.1.0" + "decompress-tar": "^4.1.1", + "file-type": "^5.2.0", + "is-stream": "^1.1.0" } }, "decompress-unzip": { @@ -3241,10 +3331,10 @@ "resolved": "https://registry.npmjs.org/decompress-unzip/-/decompress-unzip-4.0.1.tgz", "integrity": "sha1-3qrM39FK6vhVePczroIQ+bSEj2k=", "requires": { - "file-type": "3.9.0", - "get-stream": "2.3.1", - "pify": "2.3.0", - "yauzl": "2.9.1" + "file-type": "^3.8.0", + "get-stream": "^2.2.0", + "pify": "^2.3.0", + "yauzl": "^2.4.2" }, "dependencies": { "file-type": { @@ -3254,13 +3344,18 @@ }, "get-stream": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz", + "resolved": "http://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz", "integrity": "sha1-Xzj5PzRgCWZu4BUKBUFn+Rvdld4=", "requires": { - "object-assign": "4.1.1", - "pinkie-promise": "2.0.1" + "object-assign": "^4.0.1", + "pinkie-promise": "^2.0.0" } }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", @@ -3288,16 +3383,15 @@ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-1.2.2.tgz", "integrity": "sha512-uukrWD2bguRtXilKt6cAWKyoXrTSMo5m7crUdLfWQmu8kIm88w3QZoUL+6nhpfKVmhHANER6Re3sKoNoZ3IKMA==", "requires": { - "abstract-leveldown": "2.6.3" + "abstract-leveldown": "~2.6.0" } }, "define-properties": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz", - "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", "requires": { - "foreach": "2.0.5", - "object-keys": "1.0.11" + "object-keys": "^1.0.12" } }, "define-property": { @@ -3305,8 +3399,8 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", "requires": { - "is-descriptor": "1.0.2", - "isobject": "3.0.1" + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" }, "dependencies": { "is-accessor-descriptor": { @@ -3314,7 +3408,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": "6.0.2" + "kind-of": "^6.0.0" } }, "is-data-descriptor": { @@ -3322,7 +3416,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": "6.0.2" + "kind-of": "^6.0.0" } }, "is-descriptor": { @@ -3330,9 +3424,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "requires": { - "is-accessor-descriptor": "1.0.0", - "is-data-descriptor": "1.0.0", - "kind-of": "6.0.2" + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" } }, "isobject": { @@ -3357,12 +3451,12 @@ "resolved": "https://registry.npmjs.org/del/-/del-3.0.0.tgz", "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=", "requires": { - "globby": "6.1.0", - "is-path-cwd": "1.0.0", - "is-path-in-cwd": "1.0.1", - "p-map": "1.2.0", - "pify": "3.0.0", - "rimraf": "2.6.2" + "globby": "^6.1.0", + "is-path-cwd": "^1.0.0", + "is-path-in-cwd": "^1.0.0", + "p-map": "^1.1.1", + "pify": "^3.0.0", + "rimraf": "^2.2.8" } }, "delayed-stream": { @@ -3385,8 +3479,8 @@ "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", "requires": { - "inherits": "2.0.3", - "minimalistic-assert": "1.0.1" + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" } }, "destroy": { @@ -3399,7 +3493,7 @@ "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", "requires": { - "repeating": "2.0.1" + "repeating": "^2.0.0" } }, "detect-newline": { @@ -3408,9 +3502,9 @@ "integrity": "sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=" }, "detect-node": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.3.tgz", - "integrity": "sha1-ogM8CcyOFY03dI+951B4Mr1s4Sc=" + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz", + "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==" }, "diff": { "version": "3.3.1", @@ -3419,12 +3513,12 @@ }, "diffie-hellman": { "version": "5.0.3", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "resolved": "http://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", "requires": { - "bn.js": "4.11.8", - "miller-rabin": "4.0.1", - "randombytes": "2.0.6" + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" } }, "dom-walk": { @@ -3442,9 +3536,9 @@ "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", "requires": { - "browserify-aes": "1.2.0", - "create-hash": "1.2.0", - "create-hmac": "1.1.7" + "browserify-aes": "^1.0.6", + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4" } }, "duplexer2": { @@ -3452,7 +3546,7 @@ "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", "requires": { - "readable-stream": "2.3.6" + "readable-stream": "^2.0.2" } }, "duplexer3": { @@ -3465,19 +3559,28 @@ "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.6.0.tgz", "integrity": "sha512-fO3Di4tBKJpYTFHAxTU00BcfWMY9w24r/x21a6rZRbsD/ToUgGxsMbiGRmB7uVAXeGKXD9MwiLZa5E97EVgIRQ==", "requires": { - "end-of-stream": "1.4.1", - "inherits": "2.0.3", - "readable-stream": "2.3.6", - "stream-shift": "1.0.0" + "end-of-stream": "^1.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.0.0", + "stream-shift": "^1.0.0" } }, "ecc-jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", - "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "optional": true, "requires": { - "jsbn": "0.1.1" + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + }, + "dependencies": { + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "optional": true + } } }, "ee-first": { @@ -3486,22 +3589,22 @@ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, "electron-to-chromium": { - "version": "1.3.48", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.48.tgz", - "integrity": "sha1-07DYWTgUBE4JLs4hCPw6ya6kuQA=" + "version": "1.3.74", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.74.tgz", + "integrity": "sha512-MJm7r64Kt1jQCLEiyfgfcu9lbO6/7jjfpH8x2FrutQ4Cb93aS+6dlfW+G65rPhVTjlTmwCfjQGCKZVEaaltOwQ==" }, "elliptic": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz", - "integrity": "sha1-ysmvh2LIWDYYcAPI3+GT5eLq5d8=", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.1.tgz", + "integrity": "sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==", "requires": { - "bn.js": "4.11.8", - "brorand": "1.1.0", - "hash.js": "1.1.3", - "hmac-drbg": "1.0.1", - "inherits": "2.0.3", - "minimalistic-assert": "1.0.1", - "minimalistic-crypto-utils": "1.0.1" + "bn.js": "^4.4.0", + "brorand": "^1.0.1", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.0" } }, "emitter-mixin": { @@ -3524,7 +3627,7 @@ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", "requires": { - "iconv-lite": "0.4.23" + "iconv-lite": "~0.4.13" } }, "end-of-stream": { @@ -3532,7 +3635,7 @@ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", "requires": { - "once": "1.4.0" + "once": "^1.4.0" } }, "enhanced-resolve": { @@ -3540,10 +3643,22 @@ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz", "integrity": "sha1-BCHjOf1xQZs9oT0Smzl5BAIwR24=", "requires": { - "graceful-fs": "4.1.11", - "memory-fs": "0.4.1", - "object-assign": "4.1.1", - "tapable": "0.2.8" + "graceful-fs": "^4.1.2", + "memory-fs": "^0.4.0", + "object-assign": "^4.0.1", + "tapable": "^0.2.7" + }, + "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + } } }, "errno": { @@ -3551,15 +3666,15 @@ "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==", "requires": { - "prr": "1.0.1" + "prr": "~1.0.1" } }, "error-ex": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", - "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "requires": { - "is-arrayish": "0.2.1" + "is-arrayish": "^0.2.1" } }, "error-stack-parser": { @@ -3567,7 +3682,7 @@ "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.0.2.tgz", "integrity": "sha512-E1fPutRDdIj/hohG0UpT5mayXNCxXP9d+snxFsPU9X0XgccOumKraa3juDMwTUyi7+Bu5+mCGagjg4IYeNbOdw==", "requires": { - "stackframe": "1.0.4" + "stackframe": "^1.0.4" } }, "es-abstract": { @@ -3575,31 +3690,31 @@ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz", "integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==", "requires": { - "es-to-primitive": "1.1.1", - "function-bind": "1.1.1", - "has": "1.0.1", - "is-callable": "1.1.3", - "is-regex": "1.0.4" + "es-to-primitive": "^1.1.1", + "function-bind": "^1.1.1", + "has": "^1.0.1", + "is-callable": "^1.1.3", + "is-regex": "^1.0.4" } }, "es-to-primitive": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz", - "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", + "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", "requires": { - "is-callable": "1.1.3", - "is-date-object": "1.0.1", - "is-symbol": "1.0.1" + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" } }, "es5-ext": { - "version": "0.10.45", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.45.tgz", - "integrity": "sha512-FkfM6Vxxfmztilbxxz5UKSD4ICMf5tSpRFtDNtkAhOxZ0EKtX6qwmXNyH/sFyIbX2P/nU5AMiA9jilWsUGJzCQ==", + "version": "0.10.46", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.46.tgz", + "integrity": "sha512-24XxRvJXNFwEMpJb3nOkiRJKRoupmjYmOPVlI65Qy2SrtxwOTB+g6ODjBKOtwEHbYrhWRty9xxOWLNdClT2djw==", "requires": { - "es6-iterator": "2.0.3", - "es6-symbol": "3.1.1", - "next-tick": "1.0.0" + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.1", + "next-tick": "1" } }, "es6-iterator": { @@ -3607,9 +3722,9 @@ "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", "requires": { - "d": "1.0.0", - "es5-ext": "0.10.45", - "es6-symbol": "3.1.1" + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" } }, "es6-map": { @@ -3617,12 +3732,12 @@ "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", "requires": { - "d": "1.0.0", - "es5-ext": "0.10.45", - "es6-iterator": "2.0.3", - "es6-set": "0.1.5", - "es6-symbol": "3.1.1", - "event-emitter": "0.3.5" + "d": "1", + "es5-ext": "~0.10.14", + "es6-iterator": "~2.0.1", + "es6-set": "~0.1.5", + "es6-symbol": "~3.1.1", + "event-emitter": "~0.3.5" } }, "es6-set": { @@ -3630,11 +3745,11 @@ "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", "requires": { - "d": "1.0.0", - "es5-ext": "0.10.45", - "es6-iterator": "2.0.3", + "d": "1", + "es5-ext": "~0.10.14", + "es6-iterator": "~2.0.1", "es6-symbol": "3.1.1", - "event-emitter": "0.3.5" + "event-emitter": "~0.3.5" } }, "es6-symbol": { @@ -3642,8 +3757,8 @@ "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", "requires": { - "d": "1.0.0", - "es5-ext": "0.10.45" + "d": "1", + "es5-ext": "~0.10.14" } }, "es6-weak-map": { @@ -3651,10 +3766,10 @@ "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", "requires": { - "d": "1.0.0", - "es5-ext": "0.10.45", - "es6-iterator": "2.0.3", - "es6-symbol": "3.1.1" + "d": "1", + "es5-ext": "^0.10.14", + "es6-iterator": "^2.0.1", + "es6-symbol": "^3.1.1" } }, "escape-html": { @@ -3672,19 +3787,11 @@ "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.9.1.tgz", "integrity": "sha512-6hTjO1NAWkHnDk3OqQ4YrCuwwmGHL9S3nPlzBOUG/R44rda3wLNrfvQ5fkSGjyhHFKM7ALPKcKGrwvCLe0lC7Q==", "requires": { - "esprima": "3.1.3", - "estraverse": "4.2.0", - "esutils": "2.0.2", - "optionator": "0.8.2", - "source-map": "0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "optional": true - } + "esprima": "^3.1.3", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" } }, "escope": { @@ -3692,10 +3799,10 @@ "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", "requires": { - "es6-map": "0.1.5", - "es6-weak-map": "2.0.2", - "esrecurse": "4.2.1", - "estraverse": "4.2.0" + "es6-map": "^0.1.3", + "es6-weak-map": "^2.0.1", + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" } }, "esprima": { @@ -3708,7 +3815,7 @@ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", "requires": { - "estraverse": "4.2.0" + "estraverse": "^4.1.0" } }, "estraverse": { @@ -3731,13 +3838,13 @@ "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-3.0.1.tgz", "integrity": "sha512-WUVxWLuhMmsfenfZvFO5sbl1qFY2IqUlw/FPVmjjdElpqLsZtSG+wPe9Dz7W/sB6e80HgFKknOmKk2eNlznHug==", "requires": { - "eth-query": "2.1.2", - "ethereumjs-tx": "1.3.7", - "ethereumjs-util": "5.2.0", - "ethjs-util": "0.1.6", - "json-rpc-engine": "3.7.3", - "pify": "2.3.0", - "tape": "4.9.1" + "eth-query": "^2.1.0", + "ethereumjs-tx": "^1.3.3", + "ethereumjs-util": "^5.1.3", + "ethjs-util": "^0.1.3", + "json-rpc-engine": "^3.6.0", + "pify": "^2.3.0", + "tape": "^4.6.3" }, "dependencies": { "ethereumjs-util": { @@ -3745,13 +3852,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "ethjs-util": "0.1.6", - "keccak": "1.4.0", - "rlp": "2.1.0", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "^0.1.3", + "keccak": "^1.0.2", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.0.1" } }, "pify": { @@ -3761,36 +3868,52 @@ } } }, + "eth-ens-namehash": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz", + "integrity": "sha1-IprEbsqG1S4MmR58sq74P/D2i88=", + "requires": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + }, + "dependencies": { + "js-sha3": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", + "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" + } + } + }, "eth-json-rpc-infura": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/eth-json-rpc-infura/-/eth-json-rpc-infura-3.1.2.tgz", "integrity": "sha512-IuK5Iowfs6taluA/3Okmu6EfZcFMq6MQuyrUL1PrCoJstuuBr3TvVeSy3keDyxfbrjFB34nCo538I8G+qMtsbw==", "requires": { - "cross-fetch": "2.2.2", - "eth-json-rpc-middleware": "1.6.0", - "json-rpc-engine": "3.7.3", - "json-rpc-error": "2.0.0", - "tape": "4.9.1" + "cross-fetch": "^2.1.1", + "eth-json-rpc-middleware": "^1.5.0", + "json-rpc-engine": "^3.4.0", + "json-rpc-error": "^2.0.0", + "tape": "^4.8.0" } }, "eth-json-rpc-middleware": { "version": "1.6.0", - "resolved": "https://registry.npmjs.org/eth-json-rpc-middleware/-/eth-json-rpc-middleware-1.6.0.tgz", + "resolved": "http://registry.npmjs.org/eth-json-rpc-middleware/-/eth-json-rpc-middleware-1.6.0.tgz", "integrity": "sha512-tDVCTlrUvdqHKqivYMjtFZsdD7TtpNLBCfKAcOpaVs7orBMS/A8HWro6dIzNtTZIR05FAbJ3bioFOnZpuCew9Q==", "requires": { - "async": "2.6.1", - "eth-query": "2.1.2", - "eth-tx-summary": "3.2.3", - "ethereumjs-block": "1.7.1", - "ethereumjs-tx": "1.3.7", - "ethereumjs-util": "5.2.0", - "ethereumjs-vm": "2.4.0", - "fetch-ponyfill": "4.1.0", - "json-rpc-engine": "3.7.3", - "json-rpc-error": "2.0.0", - "json-stable-stringify": "1.0.1", - "promise-to-callback": "1.0.0", - "tape": "4.9.1" + "async": "^2.5.0", + "eth-query": "^2.1.2", + "eth-tx-summary": "^3.1.2", + "ethereumjs-block": "^1.6.0", + "ethereumjs-tx": "^1.3.3", + "ethereumjs-util": "^5.1.2", + "ethereumjs-vm": "^2.1.0", + "fetch-ponyfill": "^4.0.0", + "json-rpc-engine": "^3.6.0", + "json-rpc-error": "^2.0.0", + "json-stable-stringify": "^1.0.1", + "promise-to-callback": "^1.0.0", + "tape": "^4.6.3" }, "dependencies": { "ethereumjs-util": { @@ -3798,13 +3921,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "ethjs-util": "0.1.6", - "keccak": "1.4.0", - "rlp": "2.1.0", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "^0.1.3", + "keccak": "^1.0.2", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.0.1" } } } @@ -3814,13 +3937,25 @@ "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.27.tgz", "integrity": "sha512-B8czsfkJYzn2UIEMwjc7Mbj+Cy72V+/OXH/tb44LV8jhrjizQJJ325xMOMyk3+ETa6r6oi0jsUY14+om8mQMWA==", "requires": { - "bn.js": "4.11.8", - "elliptic": "6.4.0", - "keccakjs": "0.2.1", - "nano-json-stream-parser": "0.1.2", - "servify": "0.1.12", - "ws": "3.3.3", - "xhr-request-promise": "0.1.2" + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "keccakjs": "^0.2.1", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + }, + "dependencies": { + "ws": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", + "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==", + "requires": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + } } }, "eth-query": { @@ -3828,8 +3963,8 @@ "resolved": "https://registry.npmjs.org/eth-query/-/eth-query-2.1.2.tgz", "integrity": "sha1-1nQdkAAQa1FRDHLbktY2VFam2l4=", "requires": { - "json-rpc-random-id": "1.0.1", - "xtend": "4.0.1" + "json-rpc-random-id": "^1.0.0", + "xtend": "^4.0.1" } }, "eth-sig-util": { @@ -3838,7 +3973,7 @@ "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=", "requires": { "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git#00ba8463a7f7a67fcad737ff9c2ebd95643427f7", - "ethereumjs-util": "5.2.0" + "ethereumjs-util": "^5.1.1" }, "dependencies": { "ethereumjs-util": { @@ -3846,13 +3981,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "ethjs-util": "0.1.6", - "keccak": "1.4.0", - "rlp": "2.1.0", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "^0.1.3", + "keccak": "^1.0.2", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.0.1" } } } @@ -3862,40 +3997,46 @@ "resolved": "https://registry.npmjs.org/eth-tx-summary/-/eth-tx-summary-3.2.3.tgz", "integrity": "sha512-1gZpA5fKarJOVSb5OUlPnhDQuIazqAkI61zlVvf5LdG47nEgw+/qhyZnuj3CUdE/TLTKuRzPLeyXLjaB4qWTRQ==", "requires": { - "async": "2.6.1", - "bn.js": "4.11.8", - "clone": "2.1.2", - "concat-stream": "1.6.2", - "end-of-stream": "1.4.1", - "eth-query": "2.1.2", - "ethereumjs-block": "1.7.1", - "ethereumjs-tx": "1.3.7", - "ethereumjs-util": "5.2.0", + "async": "^2.1.2", + "bn.js": "^4.11.8", + "clone": "^2.0.0", + "concat-stream": "^1.5.1", + "end-of-stream": "^1.1.0", + "eth-query": "^2.0.2", + "ethereumjs-block": "^1.4.1", + "ethereumjs-tx": "^1.1.1", + "ethereumjs-util": "^5.0.1", "ethereumjs-vm": "2.3.4", - "through2": "2.0.3", - "treeify": "1.1.0", - "web3-provider-engine": "13.8.0" + "through2": "^2.0.3", + "treeify": "^1.0.1", + "web3-provider-engine": "^13.3.2" }, "dependencies": { + "clone": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", + "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" + }, "eth-block-tracker": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-2.3.1.tgz", "integrity": "sha512-NamWuMBIl8kmkJFVj8WzGatySTzQPQag4Xr677yFxdVtIxACFbL/dQowk0MzEqIKk93U1TwY3MjVU6mOcwZnKA==", "requires": { "async-eventemitter": "github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c", - "eth-query": "2.1.2", - "ethereumjs-tx": "1.3.7", - "ethereumjs-util": "5.2.0", - "ethjs-util": "0.1.6", - "json-rpc-engine": "3.7.3", - "pify": "2.3.0", - "tape": "4.9.1" + "eth-query": "^2.1.0", + "ethereumjs-tx": "^1.3.3", + "ethereumjs-util": "^5.1.3", + "ethjs-util": "^0.1.3", + "json-rpc-engine": "^3.6.0", + "pify": "^2.3.0", + "tape": "^4.6.3" }, "dependencies": { "async-eventemitter": { "version": "github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c", + "from": "github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c", "requires": { - "async": "2.6.1" + "async": "^2.4.0" } } } @@ -3910,13 +4051,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "ethjs-util": "0.1.6", - "keccak": "1.4.0", - "rlp": "2.1.0", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "^0.1.3", + "keccak": "^1.0.2", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.0.1" } }, "ethereumjs-vm": { @@ -3924,17 +4065,17 @@ "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-2.3.4.tgz", "integrity": "sha512-Y4SlzNDqxrCO58jhp98HdnZVdjOqB+HC0hoU+N/DEp1aU+hFkRX/nru5F7/HkQRPIlA6aJlQp/xIA6xZs1kspw==", "requires": { - "async": "2.6.1", - "async-eventemitter": "0.2.4", + "async": "^2.1.2", + "async-eventemitter": "^0.2.2", "ethereum-common": "0.2.0", - "ethereumjs-account": "2.0.5", - "ethereumjs-block": "1.7.1", - "ethereumjs-util": "5.2.0", - "fake-merkle-patricia-tree": "1.0.1", - "functional-red-black-tree": "1.0.1", - "merkle-patricia-tree": "2.3.1", - "rustbn.js": "0.1.2", - "safe-buffer": "5.1.2" + "ethereumjs-account": "^2.0.3", + "ethereumjs-block": "~1.7.0", + "ethereumjs-util": "^5.1.3", + "fake-merkle-patricia-tree": "^1.0.1", + "functional-red-black-tree": "^1.0.1", + "merkle-patricia-tree": "^2.1.2", + "rustbn.js": "~0.1.1", + "safe-buffer": "^5.1.1" } }, "pify": { @@ -3944,28 +4085,28 @@ }, "web3-provider-engine": { "version": "13.8.0", - "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-13.8.0.tgz", + "resolved": "http://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-13.8.0.tgz", "integrity": "sha512-fZXhX5VWwWpoFfrfocslyg6P7cN3YWPG/ASaevNfeO80R+nzgoPUBXcWQekSGSsNDkeRTis4aMmpmofYf1TNtQ==", "requires": { - "async": "2.6.1", - "clone": "2.1.2", - "eth-block-tracker": "2.3.1", - "eth-sig-util": "1.4.2", - "ethereumjs-block": "1.7.1", - "ethereumjs-tx": "1.3.7", - "ethereumjs-util": "5.2.0", - "ethereumjs-vm": "2.3.4", - "fetch-ponyfill": "4.1.0", - "json-rpc-error": "2.0.0", - "json-stable-stringify": "1.0.1", - "promise-to-callback": "1.0.0", - "readable-stream": "2.3.6", - "request": "2.87.0", - "semaphore": "1.1.0", - "solc": "0.4.24", - "tape": "4.9.1", - "xhr": "2.5.0", - "xtend": "4.0.1" + "async": "^2.5.0", + "clone": "^2.0.0", + "eth-block-tracker": "^2.2.2", + "eth-sig-util": "^1.4.2", + "ethereumjs-block": "^1.2.2", + "ethereumjs-tx": "^1.2.0", + "ethereumjs-util": "^5.1.1", + "ethereumjs-vm": "^2.0.2", + "fetch-ponyfill": "^4.0.0", + "json-rpc-error": "^2.0.0", + "json-stable-stringify": "^1.0.1", + "promise-to-callback": "^1.0.0", + "readable-stream": "^2.2.9", + "request": "^2.67.0", + "semaphore": "^1.0.3", + "solc": "^0.4.2", + "tape": "^4.4.0", + "xhr": "^2.2.0", + "xtend": "^4.0.1" } } } @@ -3977,9 +4118,10 @@ }, "ethereumjs-abi": { "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#00ba8463a7f7a67fcad737ff9c2ebd95643427f7", + "from": "git+https://github.com/ethereumjs/ethereumjs-abi.git", "requires": { - "bn.js": "4.11.8", - "ethereumjs-util": "5.2.0" + "bn.js": "^4.10.0", + "ethereumjs-util": "^5.0.0" }, "dependencies": { "ethereumjs-util": { @@ -3987,13 +4129,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "ethjs-util": "0.1.6", - "keccak": "1.4.0", - "rlp": "2.1.0", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "^0.1.3", + "keccak": "^1.0.2", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.0.1" } } } @@ -4003,9 +4145,9 @@ "resolved": "https://registry.npmjs.org/ethereumjs-account/-/ethereumjs-account-2.0.5.tgz", "integrity": "sha512-bgDojnXGjhMwo6eXQC0bY6UK2liSFUSMwwylOmQvZbSl/D7NXQ3+vrGO46ZeOgjGfxXmgIeVNDIiHw7fNZM4VA==", "requires": { - "ethereumjs-util": "5.2.0", - "rlp": "2.1.0", - "safe-buffer": "5.1.2" + "ethereumjs-util": "^5.0.0", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" }, "dependencies": { "ethereumjs-util": { @@ -4013,13 +4155,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "ethjs-util": "0.1.6", - "keccak": "1.4.0", - "rlp": "2.1.0", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "^0.1.3", + "keccak": "^1.0.2", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.0.1" } } } @@ -4029,11 +4171,11 @@ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-1.7.1.tgz", "integrity": "sha512-B+sSdtqm78fmKkBq78/QLKJbu/4Ts4P2KFISdgcuZUPDm9x+N7qgBPIIFUGbaakQh8bzuquiRVbdmvPKqbILRg==", "requires": { - "async": "2.6.1", + "async": "^2.0.1", "ethereum-common": "0.2.0", - "ethereumjs-tx": "1.3.7", - "ethereumjs-util": "5.2.0", - "merkle-patricia-tree": "2.3.1" + "ethereumjs-tx": "^1.2.2", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" }, "dependencies": { "ethereum-common": { @@ -4046,29 +4188,29 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "ethjs-util": "0.1.6", - "keccak": "1.4.0", - "rlp": "2.1.0", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "^0.1.3", + "keccak": "^1.0.2", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.0.1" } } } }, "ethereumjs-common": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/ethereumjs-common/-/ethereumjs-common-0.4.0.tgz", - "integrity": "sha512-osp2mEidCsVkIeHo8QdWTykXfzq/dkTKeo4Bl4vcmHLvS2KlgvzQyIks008yiytMftyjcTARmq1AKKBb5ylXIQ==" + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/ethereumjs-common/-/ethereumjs-common-0.4.1.tgz", + "integrity": "sha512-ywYGsOeGCsMNWso5Y4GhjWI24FJv9FK7+VyVKiQgXg8ZRDPXJ7F/kJ1CnjtkjTvDF4e0yqU+FWswlqR3bmZQ9Q==" }, "ethereumjs-tx": { "version": "1.3.7", "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz", "integrity": "sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==", "requires": { - "ethereum-common": "0.0.18", - "ethereumjs-util": "5.2.0" + "ethereum-common": "^0.0.18", + "ethereumjs-util": "^5.0.0" }, "dependencies": { "ethereumjs-util": { @@ -4076,13 +4218,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "ethjs-util": "0.1.6", - "keccak": "1.4.0", - "rlp": "2.1.0", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "^0.1.3", + "keccak": "^1.0.2", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.0.1" } } } @@ -4092,11 +4234,11 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-4.5.0.tgz", "integrity": "sha1-PpQosxfuvaPXJg2FT93alUsfG8Y=", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "keccakjs": "0.2.1", - "rlp": "2.1.0", - "secp256k1": "3.5.0" + "bn.js": "^4.8.0", + "create-hash": "^1.1.2", + "keccakjs": "^0.2.0", + "rlp": "^2.0.0", + "secp256k1": "^3.0.1" } }, "ethereumjs-vm": { @@ -4104,17 +4246,17 @@ "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-2.4.0.tgz", "integrity": "sha512-MJ4lCWa5c6LhahhhvoDKW+YGjK00ZQn0RHHLh4L+WaH1k6Qv7/q3uTluew6sJGNCZdlO0yYMDXYW9qyxLHKlgQ==", "requires": { - "async": "2.6.1", - "async-eventemitter": "0.2.4", - "ethereumjs-account": "2.0.5", - "ethereumjs-block": "1.7.1", - "ethereumjs-common": "0.4.0", - "ethereumjs-util": "5.2.0", - "fake-merkle-patricia-tree": "1.0.1", - "functional-red-black-tree": "1.0.1", - "merkle-patricia-tree": "2.3.1", - "rustbn.js": "0.2.0", - "safe-buffer": "5.1.2" + "async": "^2.1.2", + "async-eventemitter": "^0.2.2", + "ethereumjs-account": "^2.0.3", + "ethereumjs-block": "~1.7.0", + "ethereumjs-common": "~0.4.0", + "ethereumjs-util": "^5.2.0", + "fake-merkle-patricia-tree": "^1.0.1", + "functional-red-black-tree": "^1.0.1", + "merkle-patricia-tree": "^2.1.2", + "rustbn.js": "~0.2.0", + "safe-buffer": "^5.1.1" }, "dependencies": { "ethereumjs-util": { @@ -4122,13 +4264,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "ethjs-util": "0.1.6", - "keccak": "1.4.0", - "rlp": "2.1.0", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "^0.1.3", + "keccak": "^1.0.2", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.0.1" } }, "rustbn.js": { @@ -4143,33 +4285,92 @@ "resolved": "https://registry.npmjs.org/ethereumjs-wallet/-/ethereumjs-wallet-0.6.0.tgz", "integrity": "sha1-gnY7Fpfuenlr5xVdqd+0my+Yz9s=", "requires": { - "aes-js": "0.2.4", - "bs58check": "1.3.4", - "ethereumjs-util": "4.5.0", - "hdkey": "0.7.1", - "scrypt.js": "0.2.0", - "utf8": "2.1.1", - "uuid": "2.0.3" + "aes-js": "^0.2.3", + "bs58check": "^1.0.8", + "ethereumjs-util": "^4.4.0", + "hdkey": "^0.7.0", + "scrypt.js": "^0.2.0", + "utf8": "^2.1.1", + "uuid": "^2.0.1" }, "dependencies": { "uuid": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", + "resolved": "http://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=" } } }, - "ethjs-unit": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz", - "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=", + "ethers": { + "version": "4.0.0-beta.1", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.0-beta.1.tgz", + "integrity": "sha512-SoYhktEbLxf+fiux5SfCEwdzWENMvgIbMZD90I62s4GZD9nEjgEWy8ZboI3hck193Vs0bDoTohDISx84f2H2tw==", "requires": { - "bn.js": "4.11.6", - "number-to-bn": "1.7.0" + "@types/node": "^10.3.2", + "aes-js": "3.0.0", + "bn.js": "^4.4.0", + "elliptic": "6.3.3", + "hash.js": "1.1.3", + "js-sha3": "0.5.7", + "scrypt-js": "2.0.3", + "setimmediate": "1.0.4", + "uuid": "2.0.1", + "xmlhttprequest": "1.8.0" }, "dependencies": { - "bn.js": { - "version": "4.11.6", + "aes-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", + "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=" + }, + "elliptic": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.3.3.tgz", + "integrity": "sha1-VILZZG1UvLif19mU/J4ulWiHbj8=", + "requires": { + "bn.js": "^4.4.0", + "brorand": "^1.0.1", + "hash.js": "^1.0.0", + "inherits": "^2.0.1" + } + }, + "hash.js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", + "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + }, + "js-sha3": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", + "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" + }, + "setimmediate": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.4.tgz", + "integrity": "sha1-IOgd5iLUoCWIzgyNqJc8vPHTE48=" + }, + "uuid": { + "version": "2.0.1", + "resolved": "http://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", + "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=" + } + } + }, + "ethjs-unit": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz", + "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=", + "requires": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" } @@ -4189,8 +4390,8 @@ "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", "requires": { - "d": "1.0.0", - "es5-ext": "0.10.45" + "d": "1", + "es5-ext": "~0.10.14" } }, "event-source-polyfill": { @@ -4205,7 +4406,7 @@ }, "events": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", + "resolved": "http://registry.npmjs.org/events/-/events-1.1.1.tgz", "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=" }, "evp_bytestokey": { @@ -4213,8 +4414,8 @@ "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", "requires": { - "md5.js": "1.3.4", - "safe-buffer": "5.1.2" + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" } }, "execa": { @@ -4222,13 +4423,13 @@ "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", "requires": { - "cross-spawn": "5.1.0", - "get-stream": "3.0.0", - "is-stream": "1.1.0", - "npm-run-path": "2.0.2", - "p-finally": "1.0.0", - "signal-exit": "3.0.2", - "strip-eof": "1.0.0" + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" } }, "expand-brackets": { @@ -4236,7 +4437,7 @@ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", "requires": { - "is-posix-bracket": "0.1.1" + "is-posix-bracket": "^0.1.0" } }, "expand-range": { @@ -4244,44 +4445,44 @@ "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", "requires": { - "fill-range": "2.2.4" + "fill-range": "^2.1.0" } }, "express": { "version": "4.16.3", - "resolved": "https://registry.npmjs.org/express/-/express-4.16.3.tgz", + "resolved": "http://registry.npmjs.org/express/-/express-4.16.3.tgz", "integrity": "sha1-avilAjUNsyRuzEvs9rWjTSL37VM=", "requires": { - "accepts": "1.3.5", + "accepts": "~1.3.5", "array-flatten": "1.1.1", "body-parser": "1.18.2", "content-disposition": "0.5.2", - "content-type": "1.0.4", + "content-type": "~1.0.4", "cookie": "0.3.1", "cookie-signature": "1.0.6", "debug": "2.6.9", - "depd": "1.1.2", - "encodeurl": "1.0.2", - "escape-html": "1.0.3", - "etag": "1.8.1", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", "finalhandler": "1.1.1", "fresh": "0.5.2", "merge-descriptors": "1.0.1", - "methods": "1.1.2", - "on-finished": "2.3.0", - "parseurl": "1.3.2", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.2", "path-to-regexp": "0.1.7", - "proxy-addr": "2.0.3", + "proxy-addr": "~2.0.3", "qs": "6.5.1", - "range-parser": "1.2.0", + "range-parser": "~1.2.0", "safe-buffer": "5.1.1", "send": "0.16.2", "serve-static": "1.13.2", "setprototypeof": "1.1.0", - "statuses": "1.4.0", - "type-is": "1.6.16", + "statuses": "~1.4.0", + "type-is": "~1.6.16", "utils-merge": "1.0.1", - "vary": "1.1.2" + "vary": "~1.1.2" }, "dependencies": { "body-parser": { @@ -4290,15 +4491,15 @@ "integrity": "sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=", "requires": { "bytes": "3.0.0", - "content-type": "1.0.4", + "content-type": "~1.0.4", "debug": "2.6.9", - "depd": "1.1.2", - "http-errors": "1.6.2", + "depd": "~1.1.1", + "http-errors": "~1.6.2", "iconv-lite": "0.4.19", - "on-finished": "2.3.0", + "on-finished": "~2.3.0", "qs": "6.5.1", "raw-body": "2.3.2", - "type-is": "1.6.16" + "type-is": "~1.6.15" } }, "debug": { @@ -4351,18 +4552,18 @@ "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", "requires": { "debug": "2.6.9", - "depd": "1.1.2", - "destroy": "1.0.4", - "encodeurl": "1.0.2", - "escape-html": "1.0.3", - "etag": "1.8.1", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", "fresh": "0.5.2", - "http-errors": "1.6.2", + "http-errors": "~1.6.2", "mime": "1.4.1", "ms": "2.0.0", - "on-finished": "2.3.0", - "range-parser": "1.2.0", - "statuses": "1.4.0" + "on-finished": "~2.3.0", + "range-parser": "~1.2.0", + "statuses": "~1.4.0" } }, "setprototypeof": { @@ -4378,27 +4579,16 @@ } }, "extend": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", - "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "assign-symbols": "1.0.0", - "is-extendable": "1.0.1" - }, - "dependencies": { - "is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "requires": { - "is-plain-object": "2.0.4" - } - } + "is-extendable": "^0.1.0" } }, "extglob": { @@ -4406,7 +4596,14 @@ "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", "requires": { - "is-extglob": "1.0.0" + "is-extglob": "^1.0.0" + }, + "dependencies": { + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" + } } }, "extsprintf": { @@ -4419,7 +4616,7 @@ "resolved": "https://registry.npmjs.org/fake-merkle-patricia-tree/-/fake-merkle-patricia-tree-1.0.1.tgz", "integrity": "sha1-S4w6z7Ugr635hgsfFM2M40As3dM=", "requires": { - "checkpoint-store": "1.1.0" + "checkpoint-store": "^1.1.0" } }, "falafel": { @@ -4427,10 +4624,10 @@ "resolved": "https://registry.npmjs.org/falafel/-/falafel-2.1.0.tgz", "integrity": "sha1-lrsXdh2rqU9G0AFzizzt86Z/4Gw=", "requires": { - "acorn": "5.6.1", - "foreach": "2.0.5", + "acorn": "^5.0.0", + "foreach": "^2.0.5", "isarray": "0.0.1", - "object-keys": "1.0.11" + "object-keys": "^1.0.6" }, "dependencies": { "isarray": { @@ -4456,32 +4653,45 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" }, "fbjs": { - "version": "0.8.16", - "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz", - "integrity": "sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s=", + "version": "0.8.17", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz", + "integrity": "sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=", "requires": { - "core-js": "1.2.7", - "isomorphic-fetch": "2.2.1", - "loose-envify": "1.3.1", - "object-assign": "4.1.1", - "promise": "7.3.1", - "setimmediate": "1.0.5", - "ua-parser-js": "0.7.18" + "core-js": "^1.0.0", + "isomorphic-fetch": "^2.1.1", + "loose-envify": "^1.0.0", + "object-assign": "^4.1.0", + "promise": "^7.1.1", + "setimmediate": "^1.0.5", + "ua-parser-js": "^0.7.18" }, "dependencies": { "core-js": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "requires": { + "asap": "~2.0.3" + } } } }, "fd-slicer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz", - "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", "requires": { - "pend": "1.2.0" + "pend": "~1.2.0" } }, "fetch-ponyfill": { @@ -4489,7 +4699,7 @@ "resolved": "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-4.1.0.tgz", "integrity": "sha1-rjzl9zLGReq4fkroeTQUcJsjmJM=", "requires": { - "node-fetch": "1.7.3" + "node-fetch": "~1.7.1" } }, "file-type": { @@ -4512,25 +4722,25 @@ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", "requires": { - "is-number": "2.1.0", - "isobject": "2.1.0", - "randomatic": "3.0.0", - "repeat-element": "1.1.2", - "repeat-string": "1.6.1" + "is-number": "^2.1.0", + "isobject": "^2.0.0", + "randomatic": "^3.0.0", + "repeat-element": "^1.1.2", + "repeat-string": "^1.5.2" } }, "finalhandler": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", + "resolved": "http://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==", "requires": { "debug": "2.6.9", - "encodeurl": "1.0.2", - "escape-html": "1.0.3", - "on-finished": "2.3.0", - "parseurl": "1.3.2", - "statuses": "1.4.0", - "unpipe": "1.0.0" + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.2", + "statuses": "~1.4.0", + "unpipe": "~1.0.0" }, "dependencies": { "debug": { @@ -4553,9 +4763,9 @@ "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz", "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=", "requires": { - "commondir": "1.0.1", - "make-dir": "1.3.0", - "pkg-dir": "2.0.0" + "commondir": "^1.0.1", + "make-dir": "^1.0.0", + "pkg-dir": "^2.0.0" } }, "find-up": { @@ -4563,7 +4773,7 @@ "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "requires": { - "locate-path": "2.0.0" + "locate-path": "^2.0.0" } }, "flatmap": { @@ -4576,16 +4786,16 @@ "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.3.tgz", "integrity": "sha512-calZMC10u0FMUqoiunI2AiGIIUtUIvifNwkHhNupZH4cbNnW1Itkoh/Nf5HFYmDrwWPjrUxpkZT0KhuCq0jmGw==", "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.6" + "inherits": "^2.0.1", + "readable-stream": "^2.0.4" } }, "follow-redirects": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.0.tgz", - "integrity": "sha512-fdrt472/9qQ6Kgjvb935ig6vJCuofpBUD14f9Vb+SLlm7xIe4Qva5gey8EKtv8lp7ahE1wilg3xL1znpVGtZIA==", + "version": "1.5.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.8.tgz", + "integrity": "sha512-sy1mXPmv7kLAMKW/8XofG7o9T+6gAjzdZK4AJF6ryqQYUa/hnzgiypoeUecZ53x7XiqKNEpNqLtS97MshW2nxg==", "requires": { - "debug": "3.1.0" + "debug": "=3.1.0" } }, "for-each": { @@ -4593,7 +4803,7 @@ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", "requires": { - "is-callable": "1.1.3" + "is-callable": "^1.1.3" } }, "for-in": { @@ -4606,7 +4816,7 @@ "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", "requires": { - "for-in": "1.0.2" + "for-in": "^1.0.1" } }, "foreach": { @@ -4629,9 +4839,19 @@ "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz", "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=", "requires": { - "asynckit": "0.4.0", + "asynckit": "^0.4.0", "combined-stream": "1.0.6", - "mime-types": "2.1.18" + "mime-types": "^2.1.12" + }, + "dependencies": { + "combined-stream": { + "version": "1.0.6", + "resolved": "http://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz", + "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=", + "requires": { + "delayed-stream": "~1.0.0" + } + } } }, "forwarded": { @@ -4644,7 +4864,7 @@ "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", "requires": { - "map-cache": "0.2.2" + "map-cache": "^0.2.2" } }, "fresh": { @@ -4657,9 +4877,9 @@ "resolved": "https://registry.npmjs.org/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.6.1.tgz", "integrity": "sha1-4yeBxHIvVGoGqbXXp8+ihSA3XXA=", "requires": { - "chalk": "1.1.3", - "error-stack-parser": "2.0.2", - "string-length": "1.0.1" + "chalk": "^1.1.3", + "error-stack-parser": "^2.0.0", + "string-length": "^1.0.1" }, "dependencies": { "ansi-styles": { @@ -4669,14 +4889,14 @@ }, "chalk": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" } }, "supports-color": { @@ -4691,8 +4911,8 @@ "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.6" + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" } }, "fs-constants": { @@ -4701,12 +4921,22 @@ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" }, "fs-extra": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz", - "integrity": "sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU=", + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", + "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", "requires": { - "graceful-fs": "4.1.11", - "jsonfile": "2.4.0" + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + }, + "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + } } }, "fs-promise": { @@ -4714,10 +4944,26 @@ "resolved": "https://registry.npmjs.org/fs-promise/-/fs-promise-2.0.3.tgz", "integrity": "sha1-9k5PhUvPaJqovdy6JokW2z20aFQ=", "requires": { - "any-promise": "1.3.0", - "fs-extra": "2.1.2", - "mz": "2.7.0", - "thenify-all": "1.6.0" + "any-promise": "^1.3.0", + "fs-extra": "^2.0.0", + "mz": "^2.6.0", + "thenify-all": "^1.6.0" + }, + "dependencies": { + "fs-extra": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz", + "integrity": "sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU=", + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0" + } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + } } }, "fs-write-stream-atomic": { @@ -4725,10 +4971,17 @@ "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=", "requires": { - "graceful-fs": "4.1.11", - "iferr": "0.1.5", - "imurmurhash": "0.1.4", - "readable-stream": "2.3.6" + "graceful-fs": "^4.1.2", + "iferr": "^0.1.5", + "imurmurhash": "^0.1.4", + "readable-stream": "1 || 2" + }, + "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + } } }, "fs.realpath": { @@ -4742,8 +4995,8 @@ "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", "optional": true, "requires": { - "nan": "2.10.0", - "node-pre-gyp": "0.10.0" + "nan": "^2.9.2", + "node-pre-gyp": "^0.10.0" }, "dependencies": { "abbrev": { @@ -4765,19 +5018,21 @@ "bundled": true, "optional": true, "requires": { - "delegates": "1.0.0", - "readable-stream": "2.3.6" + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" } }, "balanced-match": { "version": "1.0.0", - "bundled": true + "bundled": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, + "optional": true, "requires": { - "balanced-match": "1.0.0", + "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, @@ -4792,7 +5047,8 @@ }, "concat-map": { "version": "0.0.1", - "bundled": true + "bundled": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", @@ -4831,7 +5087,7 @@ "bundled": true, "optional": true, "requires": { - "minipass": "2.2.4" + "minipass": "^2.2.1" } }, "fs.realpath": { @@ -4844,14 +5100,14 @@ "bundled": true, "optional": true, "requires": { - "aproba": "1.2.0", - "console-control-strings": "1.1.0", - "has-unicode": "2.0.1", - "object-assign": "4.1.1", - "signal-exit": "3.0.2", - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "wide-align": "1.1.2" + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" } }, "glob": { @@ -4859,12 +5115,12 @@ "bundled": true, "optional": true, "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" } }, "has-unicode": { @@ -4877,7 +5133,7 @@ "bundled": true, "optional": true, "requires": { - "safer-buffer": "2.1.2" + "safer-buffer": "^2.1.0" } }, "ignore-walk": { @@ -4885,7 +5141,7 @@ "bundled": true, "optional": true, "requires": { - "minimatch": "3.0.4" + "minimatch": "^3.0.4" } }, "inflight": { @@ -4893,8 +5149,8 @@ "bundled": true, "optional": true, "requires": { - "once": "1.4.0", - "wrappy": "1.0.2" + "once": "^1.3.0", + "wrappy": "1" } }, "inherits": { @@ -4910,7 +5166,7 @@ "version": "1.0.0", "bundled": true, "requires": { - "number-is-nan": "1.0.1" + "number-is-nan": "^1.0.0" } }, "isarray": { @@ -4921,8 +5177,9 @@ "minimatch": { "version": "3.0.4", "bundled": true, + "optional": true, "requires": { - "brace-expansion": "1.1.11" + "brace-expansion": "^1.1.7" } }, "minimist": { @@ -4933,8 +5190,8 @@ "version": "2.2.4", "bundled": true, "requires": { - "safe-buffer": "5.1.1", - "yallist": "3.0.2" + "safe-buffer": "^5.1.1", + "yallist": "^3.0.0" } }, "minizlib": { @@ -4942,7 +5199,7 @@ "bundled": true, "optional": true, "requires": { - "minipass": "2.2.4" + "minipass": "^2.2.1" } }, "mkdirp": { @@ -4962,9 +5219,9 @@ "bundled": true, "optional": true, "requires": { - "debug": "2.6.9", - "iconv-lite": "0.4.21", - "sax": "1.2.4" + "debug": "^2.1.2", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" } }, "node-pre-gyp": { @@ -4972,16 +5229,16 @@ "bundled": true, "optional": true, "requires": { - "detect-libc": "1.0.3", - "mkdirp": "0.5.1", - "needle": "2.2.0", - "nopt": "4.0.1", - "npm-packlist": "1.1.10", - "npmlog": "4.1.2", - "rc": "1.2.7", - "rimraf": "2.6.2", - "semver": "5.5.0", - "tar": "4.4.1" + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.0", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.1.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" } }, "nopt": { @@ -4989,8 +5246,8 @@ "bundled": true, "optional": true, "requires": { - "abbrev": "1.1.1", - "osenv": "0.1.5" + "abbrev": "1", + "osenv": "^0.1.4" } }, "npm-bundled": { @@ -5003,8 +5260,8 @@ "bundled": true, "optional": true, "requires": { - "ignore-walk": "3.0.1", - "npm-bundled": "1.0.3" + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1" } }, "npmlog": { @@ -5012,10 +5269,10 @@ "bundled": true, "optional": true, "requires": { - "are-we-there-yet": "1.1.4", - "console-control-strings": "1.1.0", - "gauge": "2.7.4", - "set-blocking": "2.0.0" + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" } }, "number-is-nan": { @@ -5031,7 +5288,7 @@ "version": "1.4.0", "bundled": true, "requires": { - "wrappy": "1.0.2" + "wrappy": "1" } }, "os-homedir": { @@ -5049,8 +5306,8 @@ "bundled": true, "optional": true, "requires": { - "os-homedir": "1.0.2", - "os-tmpdir": "1.0.2" + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" } }, "path-is-absolute": { @@ -5068,10 +5325,10 @@ "bundled": true, "optional": true, "requires": { - "deep-extend": "0.5.1", - "ini": "1.3.5", - "minimist": "1.2.0", - "strip-json-comments": "2.0.1" + "deep-extend": "^0.5.1", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" }, "dependencies": { "minimist": { @@ -5086,13 +5343,13 @@ "bundled": true, "optional": true, "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "1.0.0", - "process-nextick-args": "2.0.0", - "safe-buffer": "5.1.1", - "string_decoder": "1.1.1", - "util-deprecate": "1.0.2" + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" } }, "rimraf": { @@ -5100,7 +5357,7 @@ "bundled": true, "optional": true, "requires": { - "glob": "7.1.2" + "glob": "^7.0.5" } }, "safe-buffer": { @@ -5136,9 +5393,9 @@ "version": "1.0.2", "bundled": true, "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" } }, "string_decoder": { @@ -5146,14 +5403,14 @@ "bundled": true, "optional": true, "requires": { - "safe-buffer": "5.1.1" + "safe-buffer": "~5.1.0" } }, "strip-ansi": { "version": "3.0.1", "bundled": true, "requires": { - "ansi-regex": "2.1.1" + "ansi-regex": "^2.0.0" } }, "strip-json-comments": { @@ -5166,13 +5423,13 @@ "bundled": true, "optional": true, "requires": { - "chownr": "1.0.1", - "fs-minipass": "1.2.5", - "minipass": "2.2.4", - "minizlib": "1.1.0", - "mkdirp": "0.5.1", - "safe-buffer": "5.1.1", - "yallist": "3.0.2" + "chownr": "^1.0.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.2.4", + "minizlib": "^1.1.0", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.1", + "yallist": "^3.0.2" } }, "util-deprecate": { @@ -5185,7 +5442,7 @@ "bundled": true, "optional": true, "requires": { - "string-width": "1.0.2" + "string-width": "^1.0.2" } }, "wrappy": { @@ -5203,10 +5460,17 @@ "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", "requires": { - "graceful-fs": "4.1.11", - "inherits": "2.0.3", - "mkdirp": "0.5.1", - "rimraf": "2.6.2" + "graceful-fs": "^4.1.2", + "inherits": "~2.0.0", + "mkdirp": ">=0.5 0", + "rimraf": "2" + }, + "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + } } }, "function-bind": { @@ -5224,17 +5488,17 @@ "resolved": "https://registry.npmjs.org/gaze/-/gaze-0.5.2.tgz", "integrity": "sha1-QLcJU30k0dRXZ9takIaJ3+aaxE8=", "requires": { - "globule": "0.1.0" + "globule": "~0.1.0" } }, "get-caller-file": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", - "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==" }, "get-stream": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "resolved": "http://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=" }, "get-value": { @@ -5247,20 +5511,20 @@ "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "requires": { - "assert-plus": "1.0.0" + "assert-plus": "^1.0.0" } }, "glob": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" } }, "glob-base": { @@ -5268,16 +5532,40 @@ "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", "requires": { - "glob-parent": "2.0.0", - "is-glob": "2.0.1" + "glob-parent": "^2.0.0", + "is-glob": "^2.0.0" + }, + "dependencies": { + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "requires": { + "is-glob": "^2.0.0" + } + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "requires": { + "is-extglob": "^1.0.0" + } + } } }, "glob-parent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", - "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", "requires": { - "is-glob": "2.0.1" + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" } }, "glob-stream": { @@ -5285,14 +5573,14 @@ "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-5.3.5.tgz", "integrity": "sha1-pVZlqajM3EGRWofHAeMtTgFvrSI=", "requires": { - "extend": "3.0.1", - "glob": "5.0.15", - "glob-parent": "3.1.0", - "micromatch": "2.3.11", - "ordered-read-streams": "0.3.0", - "through2": "0.6.5", - "to-absolute-glob": "0.1.1", - "unique-stream": "2.2.1" + "extend": "^3.0.0", + "glob": "^5.0.3", + "glob-parent": "^3.0.0", + "micromatch": "^2.3.7", + "ordered-read-streams": "^0.3.0", + "through2": "^0.6.0", + "to-absolute-glob": "^0.1.1", + "unique-stream": "^2.0.2" }, "dependencies": { "glob": { @@ -5300,33 +5588,11 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", "requires": { - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" - } - }, - "glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", - "requires": { - "is-glob": "3.1.0", - "path-dirname": "1.0.2" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" - }, - "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "requires": { - "is-extglob": "2.1.1" + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "2 || 3", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" } }, "isarray": { @@ -5336,13 +5602,13 @@ }, "readable-stream": { "version": "1.0.34", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", "isarray": "0.0.1", - "string_decoder": "0.10.31" + "string_decoder": "~0.10.x" } }, "string_decoder": { @@ -5355,8 +5621,8 @@ "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=", "requires": { - "readable-stream": "1.0.34", - "xtend": "4.0.1" + "readable-stream": ">=1.0.33-1 <1.1.0-0", + "xtend": ">=4.0.0 <4.1.0-0" } } } @@ -5366,7 +5632,7 @@ "resolved": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-2.0.0.tgz", "integrity": "sha1-H/V5TSZpQLIowCBzzZ7G/CW712A=", "requires": { - "gaze": "0.5.2" + "gaze": "^0.5.1" } }, "global": { @@ -5374,27 +5640,39 @@ "resolved": "https://registry.npmjs.org/global/-/global-4.3.2.tgz", "integrity": "sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8=", "requires": { - "min-document": "2.19.0", - "process": "0.5.2" + "min-document": "^2.19.0", + "process": "~0.5.1" + }, + "dependencies": { + "process": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/process/-/process-0.5.2.tgz", + "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=" + } } }, "globals": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.5.0.tgz", - "integrity": "sha512-hYyf+kI8dm3nORsiiXUQigOU62hDLfJ9G01uyGMxhc6BKsircrUhC4uJPQPUSuq2GrTmiiEt7ewxlMdBewfmKQ==" + "version": "11.8.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.8.0.tgz", + "integrity": "sha512-io6LkyPVuzCHBSQV9fmOwxZkUk6nIaGmxheLDgmuFv89j0fm2aqDbIXKAGfzCMHqz3HLF2Zf8WSG6VqMh2qFmA==" }, "globby": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", "requires": { - "array-union": "1.0.2", - "glob": "7.1.2", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" + "array-union": "^1.0.1", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" }, "dependencies": { + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", @@ -5407,9 +5685,9 @@ "resolved": "https://registry.npmjs.org/globule/-/globule-0.1.0.tgz", "integrity": "sha1-2cjt3h2nnRJaFRt5UzuXhnY0auU=", "requires": { - "glob": "3.1.21", - "lodash": "1.0.2", - "minimatch": "0.2.14" + "glob": "~3.1.21", + "lodash": "~1.0.1", + "minimatch": "~0.2.11" }, "dependencies": { "glob": { @@ -5417,16 +5695,11 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-3.1.21.tgz", "integrity": "sha1-0p4KBV3qUTj00H7UDomC6DwgZs0=", "requires": { - "graceful-fs": "1.2.3", - "inherits": "1.0.2", - "minimatch": "0.2.14" + "graceful-fs": "~1.2.0", + "inherits": "1", + "minimatch": "~0.2.11" } }, - "graceful-fs": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz", - "integrity": "sha1-FaSAaldUfLLS2/J/QuiajDRRs2Q=" - }, "inherits": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/inherits/-/inherits-1.0.2.tgz", @@ -5434,7 +5707,7 @@ }, "lodash": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz", + "resolved": "http://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz", "integrity": "sha1-j1dWDIO1n8JwvT1WG2kAQ0MOJVE=" }, "lru-cache": { @@ -5447,8 +5720,8 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz", "integrity": "sha1-x054BXT2PG+aCQ6Q775u9TpqdWo=", "requires": { - "lru-cache": "2.7.3", - "sigmund": "1.0.1" + "lru-cache": "2", + "sigmund": "~1.0.0" } } } @@ -5458,26 +5731,26 @@ "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz", "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==", "requires": { - "decompress-response": "3.3.0", - "duplexer3": "0.1.4", - "get-stream": "3.0.0", - "is-plain-obj": "1.1.0", - "is-retry-allowed": "1.1.0", - "is-stream": "1.1.0", - "isurl": "1.0.0", - "lowercase-keys": "1.0.1", - "p-cancelable": "0.3.0", - "p-timeout": "1.2.1", - "safe-buffer": "5.1.2", - "timed-out": "4.0.1", - "url-parse-lax": "1.0.0", - "url-to-options": "1.0.1" + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" } }, "graceful-fs": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", - "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz", + "integrity": "sha1-FaSAaldUfLLS2/J/QuiajDRRs2Q=" }, "graceful-readlink": { "version": "1.0.1", @@ -5494,17 +5767,17 @@ "resolved": "https://registry.npmjs.org/gulp-sourcemaps/-/gulp-sourcemaps-1.12.1.tgz", "integrity": "sha1-tDfR89mAzyboEYSCNxjOFa5ll7Y=", "requires": { - "@gulp-sourcemaps/map-sources": "1.0.0", - "acorn": "4.0.13", - "convert-source-map": "1.5.1", - "css": "2.2.3", - "debug-fabulous": "0.0.4", - "detect-newline": "2.1.0", - "graceful-fs": "4.1.11", - "source-map": "0.6.1", - "strip-bom": "2.0.0", - "through2": "2.0.3", - "vinyl": "1.2.0" + "@gulp-sourcemaps/map-sources": "1.X", + "acorn": "4.X", + "convert-source-map": "1.X", + "css": "2.X", + "debug-fabulous": "0.0.X", + "detect-newline": "2.X", + "graceful-fs": "4.X", + "source-map": "~0.6.0", + "strip-bom": "2.X", + "through2": "2.X", + "vinyl": "1.X" }, "dependencies": { "acorn": { @@ -5512,31 +5785,18 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=" }, - "clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - }, - "strip-bom": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", - "requires": { - "is-utf8": "0.2.1" - } + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" }, "vinyl": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-1.2.0.tgz", "integrity": "sha1-XIgDbPVl5d8FVYv8kR+GVt8hiIQ=", "requires": { - "clone": "1.0.4", - "clone-stats": "0.0.1", + "clone": "^1.0.0", + "clone-stats": "^0.0.1", "replace-ext": "0.0.1" } } @@ -5548,12 +5808,12 @@ "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" }, "har-validator": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz", - "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.0.tgz", + "integrity": "sha512-+qnmNjI4OfH2ipQ9VQOw23bBd/ibtfbVdK2fYbY4acTDqKTW/YDp9McimZdDbG8iV9fZizUqQMD5xvriB146TA==", "requires": { - "ajv": "5.5.2", - "har-schema": "2.0.0" + "ajv": "^5.3.0", + "har-schema": "^2.0.0" }, "dependencies": { "ajv": { @@ -5561,25 +5821,30 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", "requires": { - "co": "4.6.0", - "fast-deep-equal": "1.1.0", - "fast-json-stable-stringify": "2.0.0", - "json-schema-traverse": "0.3.1" + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.3.0" } }, "fast-deep-equal": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=" + }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=" } } }, "has": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.1.tgz", - "integrity": "sha1-hGFzP1OLCDfJNh45qauelwTcLyg=", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "requires": { - "function-bind": "1.1.1" + "function-bind": "^1.1.1" } }, "has-ansi": { @@ -5587,7 +5852,7 @@ "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "requires": { - "ansi-regex": "2.1.1" + "ansi-regex": "^2.0.0" } }, "has-flag": { @@ -5610,7 +5875,7 @@ "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz", "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==", "requires": { - "has-symbol-support-x": "1.4.2" + "has-symbol-support-x": "^1.4.1" } }, "has-value": { @@ -5618,9 +5883,9 @@ "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", "requires": { - "get-value": "2.0.6", - "has-values": "1.0.0", - "isobject": "3.0.1" + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" }, "dependencies": { "isobject": { @@ -5635,8 +5900,8 @@ "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", "requires": { - "is-number": "3.0.0", - "kind-of": "4.0.0" + "is-number": "^3.0.0", + "kind-of": "^4.0.0" }, "dependencies": { "is-number": { @@ -5644,7 +5909,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "requires": { - "kind-of": "3.2.2" + "kind-of": "^3.0.2" }, "dependencies": { "kind-of": { @@ -5652,7 +5917,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "1.1.6" + "is-buffer": "^1.1.5" } } } @@ -5662,7 +5927,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", "requires": { - "is-buffer": "1.1.6" + "is-buffer": "^1.1.5" } } } @@ -5672,17 +5937,17 @@ "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz", "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=", "requires": { - "inherits": "2.0.3", - "safe-buffer": "5.1.2" + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" } }, "hash.js": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", - "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.5.tgz", + "integrity": "sha512-eWI5HG9Np+eHV1KQhisXWwM+4EPPYe5dFX1UZZH7k/E3JzDEazVH+VGlZi6R94ZqImq+A3D1mCEtrFIfg/E7sA==", "requires": { - "inherits": "2.0.3", - "minimalistic-assert": "1.0.1" + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" } }, "hdkey": { @@ -5690,8 +5955,8 @@ "resolved": "https://registry.npmjs.org/hdkey/-/hdkey-0.7.1.tgz", "integrity": "sha1-yu5L6BqneSHpCbjSKN0PKayu5jI=", "requires": { - "coinstring": "2.3.0", - "secp256k1": "3.5.0" + "coinstring": "^2.0.0", + "secp256k1": "^3.0.1" } }, "he": { @@ -5704,29 +5969,29 @@ "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", "requires": { - "hash.js": "1.1.3", - "minimalistic-assert": "1.0.1", - "minimalistic-crypto-utils": "1.0.1" + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" } }, "hoist-non-react-statics": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.5.0.tgz", - "integrity": "sha512-6Bl6XsDT1ntE0lHbIhr4Kp2PGcleGZ66qu5Jqk8lc0Xc/IeG6gVLmwUGs/K0Us+L8VWoKgj0uWdPMataOsm31w==" + "version": "2.5.5", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz", + "integrity": "sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw==" }, "home-or-tmp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", "requires": { - "os-homedir": "1.0.2", - "os-tmpdir": "1.0.2" + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.1" } }, "hosted-git-info": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.6.0.tgz", - "integrity": "sha512-lIbgIIQA3lz5XaB6vxakj6sDHADJiZadYEJB+FgA+C4nubM1NwcuvUr9EJPmnH1skZqpqUzWborWo8EIUi0Sdw==" + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", + "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==" }, "html-entities": { "version": "1.2.1", @@ -5746,7 +6011,7 @@ "depd": "1.1.1", "inherits": "2.0.3", "setprototypeof": "1.0.3", - "statuses": "1.5.0" + "statuses": ">= 1.3.1 < 2" } }, "http-https": { @@ -5759,9 +6024,9 @@ "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", "requires": { - "assert-plus": "1.0.0", - "jsprim": "1.4.1", - "sshpk": "1.14.1" + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" } }, "http-status": { @@ -5775,17 +6040,32 @@ "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=" }, "iconv-lite": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", - "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "idna-uts46-hx": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz", + "integrity": "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==", "requires": { - "safer-buffer": "2.1.2" + "punycode": "2.1.0" + }, + "dependencies": { + "punycode": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz", + "integrity": "sha1-X4Y+3Im5bbCQdLrXlHvwkFbKTn0=" + } } }, "ieee754": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.11.tgz", - "integrity": "sha512-VhDzCKN7K8ufStx/CLj5/PDTMgph+qwN5Pkd5i0sGnVwk56zJ0lkT8Qzi1xqWLS0Wp29DgDtNeS7v8/wMoZeHg==" + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.12.tgz", + "integrity": "sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA==" }, "iferr": { "version": "0.1.5", @@ -5812,8 +6092,8 @@ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "requires": { - "once": "1.4.0", - "wrappy": "1.0.2" + "once": "^1.3.0", + "wrappy": "1" } }, "inherits": { @@ -5836,7 +6116,7 @@ "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", "requires": { - "loose-envify": "1.3.1" + "loose-envify": "^1.0.0" } }, "invert-kv": { @@ -5855,99 +6135,60 @@ "integrity": "sha512-7ay355oMN34iXhET1BmCJVsHjOTSItEEIIpOs38qUC23AIhOy+xIPnkrTuEFjeLMrTJ7m8KMXWgWfy/2Vn9sDw==", "requires": { "jsbn": "1.1.0", - "lodash.find": "4.6.0", - "lodash.max": "4.0.1", - "lodash.merge": "4.6.1", - "lodash.padstart": "4.6.1", - "lodash.repeat": "4.1.0", + "lodash.find": "^4.6.0", + "lodash.max": "^4.0.1", + "lodash.merge": "^4.6.0", + "lodash.padstart": "^4.6.1", + "lodash.repeat": "^4.1.0", "sprintf-js": "1.1.0" - }, - "dependencies": { - "jsbn": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", - "integrity": "sha1-sBMHyym2GKHtJux56RH4A8TaAEA=" - } } }, "ipaddr.js": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.6.0.tgz", - "integrity": "sha1-4/o1e3c9phnybpXwSdBVxyeW+Gs=" + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz", + "integrity": "sha1-6qM9bd16zo9/b+DJygRA5wZzix4=" }, "ipfs-api": { "version": "23.0.0", "resolved": "https://registry.npmjs.org/ipfs-api/-/ipfs-api-23.0.0.tgz", "integrity": "sha512-y7Bbs52DkmuGFYOMV1imPqlRSsbrHrrgoh+RshyiQaiu6zMyVYtOZQA0eCEj4xQDPhJjXdFQ8m4Gi+5goY2RUg==", "requires": { - "async": "2.6.1", - "big.js": "5.1.2", - "bs58": "4.0.1", - "cids": "0.5.3", - "concat-stream": "1.6.2", - "debug": "3.1.0", - "detect-node": "2.0.3", + "async": "^2.6.1", + "big.js": "^5.1.2", + "bs58": "^4.0.1", + "cids": "~0.5.3", + "concat-stream": "^1.6.2", + "debug": "^3.1.0", + "detect-node": "^2.0.3", "flatmap": "0.0.3", - "glob": "7.1.2", - "ipfs-block": "0.7.1", - "ipfs-unixfs": "0.1.15", - "ipld-dag-cbor": "0.12.1", - "ipld-dag-pb": "0.14.6", - "is-ipfs": "0.4.2", + "glob": "^7.1.2", + "ipfs-block": "~0.7.1", + "ipfs-unixfs": "~0.1.15", + "ipld-dag-cbor": "~0.12.1", + "ipld-dag-pb": "~0.14.6", + "is-ipfs": "~0.4.2", "is-pull-stream": "0.0.0", - "is-stream": "1.1.0", - "libp2p-crypto": "0.13.0", - "lru-cache": "4.1.3", - "multiaddr": "5.0.0", - "multibase": "0.4.0", - "multihashes": "0.4.13", - "ndjson": "1.5.0", - "once": "1.4.0", - "peer-id": "0.11.0", - "peer-info": "0.14.1", - "promisify-es6": "1.0.3", - "pull-defer": "0.2.2", - "pull-pushable": "2.2.0", - "pull-stream-to-stream": "1.3.4", - "pump": "3.0.0", - "qs": "6.5.2", - "readable-stream": "2.3.6", - "stream-http": "2.8.3", - "stream-to-pull-stream": "1.7.2", - "streamifier": "0.1.1", - "tar-stream": "1.6.1" - }, - "dependencies": { - "base-x": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.4.tgz", - "integrity": "sha512-UYOadoSIkEI/VrRGSG6qp93rp2WdokiAiNYDfGW5qURAY8GiAQkvMbwNNSDYiVJopqv4gCna7xqf4rrNGp+5AA==", - "requires": { - "safe-buffer": "5.1.2" - } - }, - "big.js": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.1.2.tgz", - "integrity": "sha512-qG6ZOc1lY84Bn8p/z9xvJisj9F4PRyo0pOGqGNYc7gS3p1WciS/3XcLuNI3Z/yYZpMNFhHeX3YNENwgrQq0NTA==" - }, - "bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", - "requires": { - "base-x": "3.0.4" - } - }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "requires": { - "end-of-stream": "1.4.1", - "once": "1.4.0" - } - } + "is-stream": "^1.1.0", + "libp2p-crypto": "~0.13.0", + "lru-cache": "^4.1.3", + "multiaddr": "^5.0.0", + "multibase": "~0.4.0", + "multihashes": "~0.4.13", + "ndjson": "^1.5.0", + "once": "^1.4.0", + "peer-id": "~0.11.0", + "peer-info": "~0.14.1", + "promisify-es6": "^1.0.3", + "pull-defer": "~0.2.2", + "pull-pushable": "^2.2.0", + "pull-stream-to-stream": "^1.3.4", + "pump": "^3.0.0", + "qs": "^6.5.2", + "readable-stream": "^2.3.6", + "stream-http": "^2.8.3", + "stream-to-pull-stream": "^1.7.2", + "streamifier": "~0.1.1", + "tar-stream": "^1.6.1" } }, "ipfs-block": { @@ -5955,8 +6196,8 @@ "resolved": "https://registry.npmjs.org/ipfs-block/-/ipfs-block-0.7.1.tgz", "integrity": "sha512-ABZS9J/+OaDwc10zu6pIVdxWnOD/rkPEravk7FRVuRep7/zKSjffNhO/WuHN7Ex+MOBMz7mty0e+i6xjGnRsRQ==", "requires": { - "cids": "0.5.3", - "class-is": "1.1.0" + "cids": "^0.5.3", + "class-is": "^1.1.0" } }, "ipfs-js": { @@ -5964,10 +6205,10 @@ "resolved": "https://registry.npmjs.org/ipfs-js/-/ipfs-js-0.0.11.tgz", "integrity": "sha1-VIIvKSfOIderRHVvYhrlN91e1HU=", "requires": { - "bitcore": "0.13.5", - "concat-stream": "1.6.2", + "bitcore": "^0.13.0", + "concat-stream": "^1.5.0", "ipfs-api": "git+https://github.com/ckeenan/node-ipfs-api.git#417bf111b179bdb05a030b11ed4e6aa14ac5d549", - "vinyl": "0.5.3" + "vinyl": "^0.5.1" }, "dependencies": { "base-x": { @@ -5980,19 +6221,20 @@ "resolved": "https://registry.npmjs.org/bs58/-/bs58-3.1.0.tgz", "integrity": "sha1-1MJjiL9IBMrHFBQbGUWqR+XrJI4=", "requires": { - "base-x": "1.1.0" + "base-x": "^1.1.0" } }, "ipfs-api": { "version": "git+https://github.com/ckeenan/node-ipfs-api.git#417bf111b179bdb05a030b11ed4e6aa14ac5d549", + "from": "git+https://github.com/ckeenan/node-ipfs-api.git#concat-bin@2.3.2", "requires": { - "brfs": "1.6.1", - "merge-stream": "1.0.1", - "multiaddr": "1.4.1", - "multipart-stream": "2.0.1", - "vinyl": "0.5.3", - "vinyl-fs-browser": "0.1.0", - "vinyl-multipart-stream": "1.2.6" + "brfs": "^1.4.0", + "merge-stream": "^1.0.0", + "multiaddr": "^1.0.0", + "multipart-stream": "^2.0.0", + "vinyl": "^0.5.1", + "vinyl-fs-browser": "^0.1.0", + "vinyl-multipart-stream": "^1.2.5" } }, "multiaddr": { @@ -6000,13 +6242,13 @@ "resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-1.4.1.tgz", "integrity": "sha1-Mo7lULnhduAt0QWw2PTfkDd75hE=", "requires": { - "babel-runtime": "6.26.0", - "bs58": "3.1.0", - "ip": "1.1.5", - "lodash.filter": "4.6.0", - "lodash.map": "4.6.0", - "varint": "4.0.1", - "xtend": "4.0.1" + "babel-runtime": "^6.6.1", + "bs58": "^3.0.0", + "ip": "^1.0.2", + "lodash.filter": "^4.2.1", + "lodash.map": "^4.2.1", + "varint": "^4.0.0", + "xtend": "^4.0.1" } }, "varint": { @@ -6021,7 +6263,7 @@ "resolved": "https://registry.npmjs.org/ipfs-mini/-/ipfs-mini-1.1.2.tgz", "integrity": "sha1-nA+tP6AKgsgsrtGuBLO5ntOz6V0=", "requires": { - "xmlhttprequest": "1.8.0" + "xmlhttprequest": "^1.8.0" } }, "ipfs-unixfs": { @@ -6029,7 +6271,7 @@ "resolved": "https://registry.npmjs.org/ipfs-unixfs/-/ipfs-unixfs-0.1.15.tgz", "integrity": "sha512-fjtwBDsIlNags4btHIdAJtE02K4KqEMOhV9GEFVv1M2JO2STS23v2LAtX5qb1EOU5VrjtKlm/JIBH3XDRdAyGQ==", "requires": { - "protons": "1.0.1" + "protons": "^1.0.0" } }, "ipld-dag-cbor": { @@ -6037,79 +6279,31 @@ "resolved": "https://registry.npmjs.org/ipld-dag-cbor/-/ipld-dag-cbor-0.12.1.tgz", "integrity": "sha512-m0BR/zR9sKIuY/PydppkpwO0S9w7+ob0as7RN3jQmMIpW9m8HW7hLznvtp1xpYZknH7efUhIaMHgaQP43E5IWQ==", "requires": { - "async": "2.6.1", - "borc": "2.0.3", - "bs58": "4.0.1", - "cids": "0.5.3", - "is-circular": "1.0.2", - "multihashes": "0.4.13", - "multihashing-async": "0.5.1", - "traverse": "0.6.6" - }, - "dependencies": { - "base-x": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.4.tgz", - "integrity": "sha512-UYOadoSIkEI/VrRGSG6qp93rp2WdokiAiNYDfGW5qURAY8GiAQkvMbwNNSDYiVJopqv4gCna7xqf4rrNGp+5AA==", - "requires": { - "safe-buffer": "5.1.2" - } - }, - "bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", - "requires": { - "base-x": "3.0.4" - } - } + "async": "^2.6.0", + "borc": "^2.0.2", + "bs58": "^4.0.1", + "cids": "~0.5.2", + "is-circular": "^1.0.1", + "multihashes": "~0.4.12", + "multihashing-async": "~0.5.1", + "traverse": "~0.6.6" } }, "ipld-dag-pb": { - "version": "0.14.6", - "resolved": "https://registry.npmjs.org/ipld-dag-pb/-/ipld-dag-pb-0.14.6.tgz", - "integrity": "sha512-ngnfHLeKoGg0DQG6GKFHcgiN+z1xApLeBYaeYAoxH7ZGi0OrBx68LKzHVGKdyNvzFFENePVSnOCJxmhmWYC3FQ==", - "requires": { - "async": "2.6.1", - "bs58": "4.0.1", - "buffer-loader": "0.0.1", - "cids": "0.5.3", - "class-is": "1.1.0", - "is-ipfs": "0.3.2", - "multihashes": "0.4.13", - "multihashing-async": "0.5.1", - "protons": "1.0.1", - "pull-stream": "3.6.8", - "pull-traverse": "1.0.3", - "stable": "0.1.8" - }, - "dependencies": { - "base-x": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.4.tgz", - "integrity": "sha512-UYOadoSIkEI/VrRGSG6qp93rp2WdokiAiNYDfGW5qURAY8GiAQkvMbwNNSDYiVJopqv4gCna7xqf4rrNGp+5AA==", - "requires": { - "safe-buffer": "5.1.2" - } - }, - "bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", - "requires": { - "base-x": "3.0.4" - } - }, - "is-ipfs": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-ipfs/-/is-ipfs-0.3.2.tgz", - "integrity": "sha512-82V1j4LMkYy7H4seQQzOWqo7FiW3I64/1/ryo3dhtWKfOvm7ZolLMRQQfGKs4OXWauh5rAkPnamVcRISHwhmpQ==", - "requires": { - "bs58": "4.0.1", - "cids": "0.5.3", - "multihashes": "0.4.13" - } - } + "version": "0.14.10", + "resolved": "https://registry.npmjs.org/ipld-dag-pb/-/ipld-dag-pb-0.14.10.tgz", + "integrity": "sha512-wtdZzLN21fg8JPYzu2gM4bNUDX65G9exXqsMAwnkeJUIeeA8Ot2BxB0ZY0wo5N26IudXNJnb4rAJKmZlsOykuw==", + "requires": { + "async": "^2.6.1", + "bs58": "^4.0.1", + "cids": "~0.5.4", + "class-is": "^1.1.0", + "is-ipfs": "~0.4.2", + "multihashing-async": "~0.5.1", + "protons": "^1.0.1", + "pull-stream": "^3.6.9", + "pull-traverse": "^1.0.3", + "stable": "~0.1.8" } }, "is-accessor-descriptor": { @@ -6117,7 +6311,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", "requires": { - "kind-of": "3.2.2" + "kind-of": "^3.0.2" } }, "is-arrayish": { @@ -6130,7 +6324,7 @@ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", "requires": { - "binary-extensions": "1.11.0" + "binary-extensions": "^1.0.0" } }, "is-buffer": { @@ -6140,16 +6334,16 @@ }, "is-builtin-module": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "resolved": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", "requires": { - "builtin-modules": "1.1.1" + "builtin-modules": "^1.0.0" } }, "is-callable": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz", - "integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=" + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", + "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==" }, "is-circular": { "version": "1.0.2", @@ -6161,7 +6355,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", "requires": { - "kind-of": "3.2.2" + "kind-of": "^3.0.2" } }, "is-date-object": { @@ -6174,9 +6368,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", "requires": { - "is-accessor-descriptor": "0.1.6", - "is-data-descriptor": "0.1.4", - "kind-of": "5.1.0" + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" }, "dependencies": { "kind-of": { @@ -6196,7 +6390,7 @@ "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", "requires": { - "is-primitive": "2.0.0" + "is-primitive": "^2.0.0" } }, "is-extendable": { @@ -6205,16 +6399,16 @@ "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" }, "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" }, "is-finite": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", "requires": { - "number-is-nan": "1.0.1" + "number-is-nan": "^1.0.0" } }, "is-fn": { @@ -6227,7 +6421,7 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "requires": { - "number-is-nan": "1.0.1" + "number-is-nan": "^1.0.0" } }, "is-function": { @@ -6236,11 +6430,11 @@ "integrity": "sha1-Es+5i2W1fdPRk6MSH19uL0N2ArU=" }, "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", "requires": { - "is-extglob": "1.0.0" + "is-extglob": "^2.1.0" } }, "is-hex-prefixed": { @@ -6249,32 +6443,14 @@ "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=" }, "is-ipfs": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/is-ipfs/-/is-ipfs-0.4.2.tgz", - "integrity": "sha512-v/73Qf9kjDq8gjMyK8gn+KrLmJh8B4uS7fVGP7UYBUxXkFquW+puPV0P8TeXNd+C6EEvaOO3If6vxQ7UkznNAg==", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/is-ipfs/-/is-ipfs-0.4.7.tgz", + "integrity": "sha512-u+LzRRA5s2XMJnQ65R60SvRKb8R04ZITbbRMWBESLyLPlJ+J78zaXZzNZBIf4SQ0pnWioMNCpiIV4hw098MgOQ==", "requires": { "bs58": "4.0.1", - "cids": "0.5.3", - "multibase": "0.4.0", - "multihashes": "0.4.13" - }, - "dependencies": { - "base-x": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.4.tgz", - "integrity": "sha512-UYOadoSIkEI/VrRGSG6qp93rp2WdokiAiNYDfGW5qURAY8GiAQkvMbwNNSDYiVJopqv4gCna7xqf4rrNGp+5AA==", - "requires": { - "safe-buffer": "5.1.2" - } - }, - "bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", - "requires": { - "base-x": "3.0.4" - } - } + "cids": "~0.5.5", + "multibase": "~0.4.0", + "multihashes": "~0.4.13" } }, "is-natural-number": { @@ -6287,7 +6463,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", "requires": { - "kind-of": "3.2.2" + "kind-of": "^3.0.2" } }, "is-object": { @@ -6295,21 +6471,6 @@ "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.1.tgz", "integrity": "sha1-iVJojF7C/9awPsyF52ngKQMINHA=" }, - "is-odd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-odd/-/is-odd-2.0.0.tgz", - "integrity": "sha512-OTiixgpZAT1M4NHgS5IguFp/Vz2VI3U7Goh4/HA1adtwyLtSBrxYlcSYkhpAE07s4fKEcjrFxyvtQBND4vFQyQ==", - "requires": { - "is-number": "4.0.0" - }, - "dependencies": { - "is-number": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", - "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==" - } - } - }, "is-path-cwd": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", @@ -6320,7 +6481,7 @@ "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", "requires": { - "is-path-inside": "1.0.1" + "is-path-inside": "^1.0.0" } }, "is-path-inside": { @@ -6328,7 +6489,7 @@ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", "requires": { - "path-is-inside": "1.0.2" + "path-is-inside": "^1.0.1" } }, "is-plain-obj": { @@ -6341,7 +6502,7 @@ "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "requires": { - "isobject": "3.0.1" + "isobject": "^3.0.1" }, "dependencies": { "isobject": { @@ -6376,7 +6537,7 @@ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", "requires": { - "has": "1.0.1" + "has": "^1.0.1" } }, "is-retry-allowed": { @@ -6390,9 +6551,12 @@ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" }, "is-symbol": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz", - "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", + "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", + "requires": { + "has-symbols": "^1.0.0" + } }, "is-typedarray": { "version": "1.0.0", @@ -6437,8 +6601,8 @@ "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", "requires": { - "node-fetch": "1.7.3", - "whatwg-fetch": "2.0.4" + "node-fetch": "^1.0.1", + "whatwg-fetch": ">=0.10.0" } }, "isstream": { @@ -6451,8 +6615,8 @@ "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz", "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==", "requires": { - "has-to-string-tag-x": "1.4.1", - "is-object": "1.0.1" + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" } }, "jquery": { @@ -6461,9 +6625,9 @@ "integrity": "sha512-Ubldcmxp5np52/ENotGxlLe6aGMvmF4R8S6tZjsP6Knsaxd/xp3Zrh50cG93lR6nPXyUFwzN3ZSOQI0wRJNdGg==" }, "js-sha3": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.3.1.tgz", - "integrity": "sha1-hhIoAhQvCChQKg0d7h2V4lO7AkM=" + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.7.0.tgz", + "integrity": "sha512-Wpks3yBDm0UcL5qlVhwW9Jr9n9i4FfeWBFOOXP5puDS/SiudJGhw7DPyBqn3487qD4F0lsC0q3zxink37f7zeA==" }, "js-tokens": { "version": "3.0.2", @@ -6471,10 +6635,9 @@ "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" }, "jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", - "optional": true + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha1-sBMHyym2GKHtJux56RH4A8TaAEA=" }, "jsesc": { "version": "2.5.1", @@ -6487,16 +6650,16 @@ "integrity": "sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w==" }, "json-rpc-engine": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/json-rpc-engine/-/json-rpc-engine-3.7.3.tgz", - "integrity": "sha512-+FO3UWu/wafh/+MZ6BXy0HZU+f5plwUn82FgxpC0scJkEh5snOjFrAAtqCITPDfvfLHRUFOG5pQDUx2pspfERQ==", + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/json-rpc-engine/-/json-rpc-engine-3.8.0.tgz", + "integrity": "sha512-6QNcvm2gFuuK4TKU1uwfH0Qd/cOSb9c1lls0gbnIhciktIUQJwz6NQNAW4B1KiGPenv7IKu97V222Yo1bNhGuA==", "requires": { - "async": "2.6.1", - "babel-preset-env": "1.7.0", - "babelify": "7.3.0", - "clone": "2.1.2", - "json-rpc-error": "2.0.0", - "promise-to-callback": "1.0.0" + "async": "^2.0.1", + "babel-preset-env": "^1.7.0", + "babelify": "^7.3.0", + "json-rpc-error": "^2.0.0", + "promise-to-callback": "^1.0.0", + "safe-event-emitter": "^1.0.1" } }, "json-rpc-error": { @@ -6504,7 +6667,7 @@ "resolved": "https://registry.npmjs.org/json-rpc-error/-/json-rpc-error-2.0.0.tgz", "integrity": "sha1-p6+cICg4tekFxyUOVH8a/3cligI=", "requires": { - "inherits": "2.0.3" + "inherits": "^2.0.1" } }, "json-rpc-random-id": { @@ -6518,16 +6681,16 @@ "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" }, "json-schema-traverse": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", - "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=" + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" }, "json-stable-stringify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", "requires": { - "jsonify": "0.0.0" + "jsonify": "~0.0.0" } }, "json-stringify-safe": { @@ -6545,15 +6708,23 @@ }, "json5": { "version": "0.5.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "resolved": "http://registry.npmjs.org/json5/-/json5-0.5.1.tgz", "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=" }, "jsonfile": { "version": "2.4.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "resolved": "http://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", "requires": { - "graceful-fs": "4.1.11" + "graceful-fs": "^4.1.6" + }, + "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", + "optional": true + } } }, "jsonify": { @@ -6582,10 +6753,10 @@ "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz", "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==", "requires": { - "bindings": "1.3.0", - "inherits": "2.0.3", - "nan": "2.10.0", - "safe-buffer": "5.1.2" + "bindings": "^1.2.1", + "inherits": "^2.0.3", + "nan": "^2.2.1", + "safe-buffer": "^5.1.0" } }, "keccakjs": { @@ -6593,14 +6764,14 @@ "resolved": "https://registry.npmjs.org/keccakjs/-/keccakjs-0.2.1.tgz", "integrity": "sha1-HWM6+QfvMFu/ny+mFtVsRFYd+k0=", "requires": { - "browserify-sha3": "0.0.1", - "sha3": "1.2.2" + "browserify-sha3": "^0.0.1", + "sha3": "^1.1.0" } }, "keyboard-key": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/keyboard-key/-/keyboard-key-1.0.1.tgz", - "integrity": "sha512-OAfjaSI917BOonwfH6LQHMZJRv5035jjZvgElouB/DM4I7l5zEjrA15RD80YwIjhN69xqEfWCZIbhBcGpb85Ig==" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/keyboard-key/-/keyboard-key-1.0.2.tgz", + "integrity": "sha512-05cjQmw4ss/YuY2utmVim0wywDyBZGUivo8siLPkWinwGWtKlO8/4RGbPUqNycwlD3u/3D15eNRjnNAyaTDs8g==" }, "keypair": { "version": "1.0.1", @@ -6612,7 +6783,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "1.1.6" + "is-buffer": "^1.1.5" } }, "klaw": { @@ -6620,7 +6791,15 @@ "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", "requires": { - "graceful-fs": "4.1.11" + "graceful-fs": "^4.1.9" + }, + "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", + "optional": true + } } }, "lazy-cache": { @@ -6638,7 +6817,7 @@ "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", "requires": { - "invert-kv": "1.0.0" + "invert-kv": "^1.0.0" } }, "level-codec": { @@ -6651,7 +6830,7 @@ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-1.0.5.tgz", "integrity": "sha512-/cLUpQduF6bNrWuAC4pwtUKA5t669pCsCi2XbmojG2tFeOr9j6ShtdDCtFFQO1DRt+EVZhx9gPzP9G2bUaG4ig==", "requires": { - "errno": "0.1.7" + "errno": "~0.1.1" } }, "level-iterator-stream": { @@ -6659,10 +6838,10 @@ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-1.3.1.tgz", "integrity": "sha1-5Dt4sagUPm+pek9IXrjqUwNS8u0=", "requires": { - "inherits": "2.0.3", - "level-errors": "1.0.5", - "readable-stream": "1.1.14", - "xtend": "4.0.1" + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" }, "dependencies": { "isarray": { @@ -6672,13 +6851,13 @@ }, "readable-stream": { "version": "1.1.14", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", "isarray": "0.0.1", - "string_decoder": "0.10.31" + "string_decoder": "~0.10.x" } }, "string_decoder": { @@ -6693,8 +6872,8 @@ "resolved": "https://registry.npmjs.org/level-ws/-/level-ws-0.0.0.tgz", "integrity": "sha1-Ny5RIXeSSgBCSwtDrvK7QkltIos=", "requires": { - "readable-stream": "1.0.34", - "xtend": "2.1.2" + "readable-stream": "~1.0.15", + "xtend": "~2.1.1" }, "dependencies": { "isarray": { @@ -6709,13 +6888,13 @@ }, "readable-stream": { "version": "1.0.34", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", "isarray": "0.0.1", - "string_decoder": "0.10.31" + "string_decoder": "~0.10.x" } }, "string_decoder": { @@ -6728,7 +6907,7 @@ "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz", "integrity": "sha1-bv7MKk2tjmlixJAbM3znuoe10os=", "requires": { - "object-keys": "0.4.0" + "object-keys": "~0.4.0" } } } @@ -6738,13 +6917,13 @@ "resolved": "https://registry.npmjs.org/levelup/-/levelup-1.3.9.tgz", "integrity": "sha512-VVGHfKIlmw8w1XqpGOAGwq6sZm2WwWLmlDcULkKWQXEA5EopA8OBNJ2Ck2v6bdk8HeEZSbCSEgzXadyQFm76sQ==", "requires": { - "deferred-leveldown": "1.2.2", - "level-codec": "7.0.1", - "level-errors": "1.0.5", - "level-iterator-stream": "1.3.1", - "prr": "1.0.1", - "semver": "5.4.1", - "xtend": "4.0.1" + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" }, "dependencies": { "semver": { @@ -6759,78 +6938,42 @@ "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", "requires": { - "prelude-ls": "1.1.2", - "type-check": "0.3.2" + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" } }, "libp2p-crypto": { "version": "0.13.0", - "resolved": "https://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.13.0.tgz", + "resolved": "http://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.13.0.tgz", "integrity": "sha512-i3r1TBec/xYmC5bcpPiIs3OyUAU3iy53OdRdxqawKoWTQPjYB+TyQ4w+otT66Y0sMcw70O0wH3GFAfPmQgFn+g==", "requires": { - "asn1.js": "5.0.1", - "async": "2.6.1", - "browserify-aes": "1.2.0", - "bs58": "4.0.1", - "keypair": "1.0.1", - "libp2p-crypto-secp256k1": "0.2.2", - "multihashing-async": "0.4.8", - "node-forge": "0.7.5", - "pem-jwk": "1.5.1", - "protons": "1.0.1", - "rsa-pem-to-jwk": "1.1.3", - "tweetnacl": "1.0.0", + "asn1.js": "^5.0.0", + "async": "^2.6.0", + "browserify-aes": "^1.2.0", + "bs58": "^4.0.1", + "keypair": "^1.0.1", + "libp2p-crypto-secp256k1": "~0.2.2", + "multihashing-async": "~0.4.8", + "node-forge": "^0.7.5", + "pem-jwk": "^1.5.1", + "protons": "^1.0.1", + "rsa-pem-to-jwk": "^1.1.3", + "tweetnacl": "^1.0.0", "webcrypto-shim": "github:dignifiedquire/webcrypto-shim#190bc9ec341375df6025b17ae12ddb2428ea49c8" }, "dependencies": { - "asn1.js": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.0.1.tgz", - "integrity": "sha512-aO8EaEgbgqq77IEw+1jfx5c9zTbzvkfuRBuZsSsPnTHMkmd5AI4J6OtITLZFa381jReeaQL67J0GBTUu0+ZTVw==", - "requires": { - "bn.js": "4.11.8", - "inherits": "2.0.3", - "minimalistic-assert": "1.0.1" - } - }, - "base-x": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.4.tgz", - "integrity": "sha512-UYOadoSIkEI/VrRGSG6qp93rp2WdokiAiNYDfGW5qURAY8GiAQkvMbwNNSDYiVJopqv4gCna7xqf4rrNGp+5AA==", - "requires": { - "safe-buffer": "5.1.2" - } - }, - "bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", - "requires": { - "base-x": "3.0.4" - } - }, - "js-sha3": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.7.0.tgz", - "integrity": "sha512-Wpks3yBDm0UcL5qlVhwW9Jr9n9i4FfeWBFOOXP5puDS/SiudJGhw7DPyBqn3487qD4F0lsC0q3zxink37f7zeA==" - }, "multihashing-async": { "version": "0.4.8", "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.4.8.tgz", "integrity": "sha512-LCc4lfxmTJOHKIjZjFNgvmfB6nXS/ErLInT9uwU8udFrRm2PH+aTPk3mfCREKmCiSHOlCWiv2O8rlnBx+OjlMw==", "requires": { - "async": "2.6.1", - "blakejs": "1.1.0", - "js-sha3": "0.7.0", - "multihashes": "0.4.13", - "murmurhash3js": "3.0.1", - "nodeify": "1.0.1" + "async": "^2.6.0", + "blakejs": "^1.1.0", + "js-sha3": "^0.7.0", + "multihashes": "~0.4.13", + "murmurhash3js": "^3.0.1", + "nodeify": "^1.0.1" } - }, - "tweetnacl": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.0.tgz", - "integrity": "sha1-cT2LgY2kIGh0C/aDhtBHnmb8ins=" } } }, @@ -6839,64 +6982,76 @@ "resolved": "https://registry.npmjs.org/libp2p-crypto-secp256k1/-/libp2p-crypto-secp256k1-0.2.2.tgz", "integrity": "sha1-DdUh8Yq8TjahUuJOmzYwewrpzwU=", "requires": { - "async": "2.6.1", - "multihashing-async": "0.4.8", - "nodeify": "1.0.1", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" + "async": "^2.5.0", + "multihashing-async": "~0.4.6", + "nodeify": "^1.0.1", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.3.0" }, "dependencies": { - "js-sha3": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.7.0.tgz", - "integrity": "sha512-Wpks3yBDm0UcL5qlVhwW9Jr9n9i4FfeWBFOOXP5puDS/SiudJGhw7DPyBqn3487qD4F0lsC0q3zxink37f7zeA==" - }, "multihashing-async": { "version": "0.4.8", "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.4.8.tgz", "integrity": "sha512-LCc4lfxmTJOHKIjZjFNgvmfB6nXS/ErLInT9uwU8udFrRm2PH+aTPk3mfCREKmCiSHOlCWiv2O8rlnBx+OjlMw==", "requires": { - "async": "2.6.1", - "blakejs": "1.1.0", - "js-sha3": "0.7.0", - "multihashes": "0.4.13", - "murmurhash3js": "3.0.1", - "nodeify": "1.0.1" + "async": "^2.6.0", + "blakejs": "^1.1.0", + "js-sha3": "^0.7.0", + "multihashes": "~0.4.13", + "murmurhash3js": "^3.0.1", + "nodeify": "^1.0.1" } } } }, "load-json-file": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", "requires": { - "graceful-fs": "4.1.11", - "parse-json": "2.2.0", - "pify": "2.3.0", - "strip-bom": "3.0.0" + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "strip-bom": "^3.0.0" }, "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" } } }, "loader-runner": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.0.tgz", - "integrity": "sha1-9IKuqC1UPgeSFwDVpG7yb9rGuKI=" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.1.tgz", + "integrity": "sha512-By6ZFY7ETWOc9RFaAIb23IjJVcM4dvJC/N57nmdz9RSkMXvAXGI7SyVlAw3v8vjtDRlqThgVDVmTnr9fqMlxkw==" }, "loader-utils": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", "requires": { - "big.js": "3.2.0", - "emojis-list": "2.1.0", - "json5": "0.5.1" + "big.js": "^3.1.3", + "emojis-list": "^2.0.0", + "json5": "^0.5.0" + }, + "dependencies": { + "big.js": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz", + "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==" + } } }, "locate-path": { @@ -6904,20 +7059,25 @@ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "requires": { - "p-locate": "2.0.0", - "path-exists": "3.0.0" + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" } }, "lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" }, "lodash.assign": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=" }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=" + }, "lodash.filter": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.filter/-/lodash.filter-4.6.0.tgz", @@ -6969,11 +7129,11 @@ "integrity": "sha1-LvpUw7HLq6m5Su4uWRSwvlf7t0k=" }, "loose-envify": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "requires": { - "js-tokens": "3.0.2" + "js-tokens": "^3.0.0 || ^4.0.0" } }, "lowercase-keys": { @@ -6986,8 +7146,8 @@ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", "requires": { - "pseudomap": "1.0.2", - "yallist": "2.1.2" + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" } }, "ltgt": { @@ -6996,52 +7156,19 @@ "integrity": "sha1-81ypHEk/e3PaDgdJUwTxezH4fuU=" }, "mafmt": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/mafmt/-/mafmt-6.0.0.tgz", - "integrity": "sha512-ikjvRXcbEu/kpSQSUlCX5mj2sRZs18rjFAR3azO7mTJ1HPtTcd1XL5y/ey5wSuRjX4dsgGIPEc9VYF3dUaudPw==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/mafmt/-/mafmt-6.0.2.tgz", + "integrity": "sha512-+ydrVDp/bo2GPTNN0378AFX66IJBlbrIBY0RaILWC9AICr9kviX5fonHeKsZiesEuuYetQeRhnZPL/J2k8vHAA==", "requires": { - "multiaddr": "4.0.0" - }, - "dependencies": { - "base-x": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.4.tgz", - "integrity": "sha512-UYOadoSIkEI/VrRGSG6qp93rp2WdokiAiNYDfGW5qURAY8GiAQkvMbwNNSDYiVJopqv4gCna7xqf4rrNGp+5AA==", - "requires": { - "safe-buffer": "5.1.2" - } - }, - "bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", - "requires": { - "base-x": "3.0.4" - } - }, - "multiaddr": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-4.0.0.tgz", - "integrity": "sha512-zUatrOCfBd/tJNOSoJ10d2EI2FDXB9PyPZhqUMdXE9mOyR3C+HLuOjga2Ga/eChwvEHIpTYRMoIKF2Nv7af2qQ==", - "requires": { - "bs58": "4.0.1", - "class-is": "1.1.0", - "ip": "1.1.5", - "ip-address": "5.8.9", - "lodash.filter": "4.6.0", - "lodash.map": "4.6.0", - "varint": "5.0.0", - "xtend": "4.0.1" - } - } + "multiaddr": "^5.0.0" } }, "magic-string": { "version": "0.22.5", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", + "resolved": "http://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", "integrity": "sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w==", "requires": { - "vlq": "0.2.3" + "vlq": "^0.2.2" } }, "make-dir": { @@ -7049,7 +7176,7 @@ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", "requires": { - "pify": "3.0.0" + "pify": "^3.0.0" } }, "map-cache": { @@ -7062,7 +7189,7 @@ "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", "requires": { - "object-visit": "1.0.1" + "object-visit": "^1.0.0" } }, "math-random": { @@ -7075,19 +7202,20 @@ "resolved": "https://registry.npmjs.org/maximatch/-/maximatch-0.1.0.tgz", "integrity": "sha1-hs2NawTJ8wfAWmuUGZBtA2D7E6I=", "requires": { - "array-differ": "1.0.0", - "array-union": "1.0.2", - "arrify": "1.0.1", - "minimatch": "3.0.4" + "array-differ": "^1.0.0", + "array-union": "^1.0.1", + "arrify": "^1.0.0", + "minimatch": "^3.0.0" } }, "md5.js": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.4.tgz", - "integrity": "sha1-6b296UogpawYsENA/Fdk1bCdkB0=", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", "requires": { - "hash-base": "3.0.4", - "inherits": "2.0.3" + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" } }, "media-typer": { @@ -7100,7 +7228,7 @@ "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", "requires": { - "mimic-fn": "1.2.0" + "mimic-fn": "^1.0.0" } }, "memdown": { @@ -7108,12 +7236,12 @@ "resolved": "https://registry.npmjs.org/memdown/-/memdown-1.4.1.tgz", "integrity": "sha1-tOThkhdGZP+65BNhqlAPMRnv4hU=", "requires": { - "abstract-leveldown": "2.7.2", - "functional-red-black-tree": "1.0.1", - "immediate": "3.2.3", - "inherits": "2.0.3", - "ltgt": "2.2.1", - "safe-buffer": "5.1.2" + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" }, "dependencies": { "abstract-leveldown": { @@ -7121,7 +7249,7 @@ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.7.2.tgz", "integrity": "sha512-+OVvxH2rHVEhWLdbudP6p0+dNMXu8JA1CbhP19T8paTYAcX7oJ4OVjT+ZUVpv7mITxXHqDMej+GdqXBmXkw09w==", "requires": { - "xtend": "4.0.1" + "xtend": "~4.0.0" } } } @@ -7131,8 +7259,8 @@ "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", "requires": { - "errno": "0.1.7", - "readable-stream": "2.3.6" + "errno": "^0.1.3", + "readable-stream": "^2.0.1" } }, "memorystream": { @@ -7150,7 +7278,14 @@ "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.0.4.tgz", "integrity": "sha1-pd5GU42uhNQRTMXqArR3KmNGcB8=", "requires": { - "source-map": "0.5.7" + "source-map": "^0.5.6" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } } }, "merge-stream": { @@ -7158,27 +7293,27 @@ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz", "integrity": "sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE=", "requires": { - "readable-stream": "2.3.6" + "readable-stream": "^2.0.1" } }, "merkle-patricia-tree": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/merkle-patricia-tree/-/merkle-patricia-tree-2.3.1.tgz", - "integrity": "sha512-Qp9Mpb3xazznXzzGQBqHbqCpT2AR9joUOHYYPiQjYCarrdCPCnLWXo4BFv77y4xN26KR224xoU1n/qYY7RYYgw==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/merkle-patricia-tree/-/merkle-patricia-tree-2.3.2.tgz", + "integrity": "sha512-81PW5m8oz/pz3GvsAwbauj7Y00rqm81Tzad77tHBwU7pIAtN+TJnMSOJhxBKflSVYhptMMb9RskhqHqrSm1V+g==", "requires": { - "async": "1.5.2", - "ethereumjs-util": "5.2.0", + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", "level-ws": "0.0.0", - "levelup": "1.3.9", - "memdown": "1.4.1", - "readable-stream": "2.3.6", - "rlp": "2.1.0", - "semaphore": "1.1.0" + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" }, "dependencies": { "async": { "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "resolved": "http://registry.npmjs.org/async/-/async-1.5.2.tgz", "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=" }, "ethereumjs-util": { @@ -7186,13 +7321,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "ethjs-util": "0.1.6", - "keccak": "1.4.0", - "rlp": "2.1.0", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "^0.1.3", + "keccak": "^1.0.2", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.0.1" } } } @@ -7207,19 +7342,34 @@ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", "requires": { - "arr-diff": "2.0.0", - "array-unique": "0.2.1", - "braces": "1.8.5", - "expand-brackets": "0.1.5", - "extglob": "0.3.2", - "filename-regex": "2.0.1", - "is-extglob": "1.0.0", - "is-glob": "2.0.1", - "kind-of": "3.2.2", - "normalize-path": "2.1.1", - "object.omit": "2.0.1", - "parse-glob": "3.0.4", - "regex-cache": "0.4.4" + "arr-diff": "^2.0.0", + "array-unique": "^0.2.1", + "braces": "^1.8.2", + "expand-brackets": "^0.1.4", + "extglob": "^0.3.1", + "filename-regex": "^2.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.1", + "kind-of": "^3.0.2", + "normalize-path": "^2.0.1", + "object.omit": "^2.0.0", + "parse-glob": "^3.0.4", + "regex-cache": "^0.4.2" + }, + "dependencies": { + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "requires": { + "is-extglob": "^1.0.0" + } + } } }, "miller-rabin": { @@ -7227,8 +7377,8 @@ "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", "requires": { - "bn.js": "4.11.8", - "brorand": "1.1.0" + "bn.js": "^4.0.0", + "brorand": "^1.0.1" } }, "mime": { @@ -7237,16 +7387,16 @@ "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==" }, "mime-db": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", - "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==" + "version": "1.36.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.36.0.tgz", + "integrity": "sha512-L+xvyD9MkoYMXb1jAmzI/lWYAxAMCPvIBSWur0PZ5nOf5euahRLVqH//FKW9mWp2lkqUgYiXPgkzfMUFi4zVDw==" }, "mime-types": { - "version": "2.1.18", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", - "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", "requires": { - "mime-db": "1.33.0" + "mime-db": "~1.36.0" } }, "mimic-fn": { @@ -7255,16 +7405,16 @@ "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==" }, "mimic-response": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.0.tgz", - "integrity": "sha1-3z02Uqc/3ta5sLJBRub9BSNTRY4=" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", + "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" }, "min-document": { "version": "2.19.0", "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", "requires": { - "dom-walk": "0.1.1" + "dom-walk": "^0.1.0" } }, "minimalistic-assert": { @@ -7282,12 +7432,12 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "requires": { - "brace-expansion": "1.1.11" + "brace-expansion": "^1.1.7" } }, "minimist": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" }, "mississippi": { @@ -7295,16 +7445,27 @@ "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz", "integrity": "sha512-zHo8v+otD1J10j/tC+VNoGK9keCuByhKovAvdn74dmxJl9+mWHnx6EMsDN4lgRoMI/eYo2nchAxniIbUPb5onw==", "requires": { - "concat-stream": "1.6.2", - "duplexify": "3.6.0", - "end-of-stream": "1.4.1", - "flush-write-stream": "1.0.3", - "from2": "2.3.0", - "parallel-transform": "1.1.0", - "pump": "2.0.1", - "pumpify": "1.5.1", - "stream-each": "1.2.2", - "through2": "2.0.3" + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^2.0.1", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + }, + "dependencies": { + "pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + } } }, "mixin-deep": { @@ -7312,8 +7473,8 @@ "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", "requires": { - "for-in": "1.0.2", - "is-extendable": "1.0.1" + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" }, "dependencies": { "is-extendable": { @@ -7321,14 +7482,14 @@ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "requires": { - "is-plain-object": "2.0.4" + "is-plain-object": "^2.0.4" } } } }, "mkdirp": { "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "requires": { "minimist": "0.0.8" @@ -7336,7 +7497,7 @@ "dependencies": { "minimist": { "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" } } @@ -7346,7 +7507,7 @@ "resolved": "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz", "integrity": "sha1-6bj2jlUsaKnBcTuEiD96HdA5uKE=", "requires": { - "mkdirp": "0.5.1" + "mkdirp": "*" } }, "mkdirp-then": { @@ -7354,8 +7515,8 @@ "resolved": "https://registry.npmjs.org/mkdirp-then/-/mkdirp-then-1.2.0.tgz", "integrity": "sha1-pJLIecpNhz9e5FAI+PVf0BUN48U=", "requires": { - "any-promise": "1.3.0", - "mkdirp": "0.5.1" + "any-promise": "^1.1.0", + "mkdirp": "^0.5.0" } }, "mocha": { @@ -7380,6 +7541,19 @@ "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==" }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, "has-flag": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", @@ -7390,15 +7564,15 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz", "integrity": "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==", "requires": { - "has-flag": "2.0.0" + "has-flag": "^2.0.0" } } } }, "mock-fs": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.5.0.tgz", - "integrity": "sha512-qqudNfOX7ZmX9vm1WIAU+gWlmxVNAnwY6UG3RkFutNywmRCUGP83tujP6IxX2DS1TmcaEZBOhYwDuYEmJYE+3w==" + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.7.0.tgz", + "integrity": "sha512-WlQNtUlzMRpvLHf8dqeUmNqfdPjGY29KrJF50Ldb4AcL+vQeR8QH3wQcFMgrhTwb1gHjZn9xggho+84tBskLgA==" }, "moment": { "version": "2.22.2", @@ -7415,12 +7589,12 @@ "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", "requires": { - "aproba": "1.2.0", - "copy-concurrently": "1.0.5", - "fs-write-stream-atomic": "1.0.10", - "mkdirp": "0.5.1", - "rimraf": "2.6.2", - "run-queue": "1.0.3" + "aproba": "^1.1.1", + "copy-concurrently": "^1.0.0", + "fs-write-stream-atomic": "^1.0.8", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.3" } }, "ms": { @@ -7433,32 +7607,14 @@ "resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-5.0.0.tgz", "integrity": "sha512-IMEo+iCv53MT8c/6SQWbJpJUEENTYr6qp7o635BKJLQG2nkxOIO9LSEFhF5e56Az+DkmI6HGAAjp69AT7Sjulw==", "requires": { - "bs58": "4.0.1", - "class-is": "1.1.0", - "ip": "1.1.5", - "ip-address": "5.8.9", - "lodash.filter": "4.6.0", - "lodash.map": "4.6.0", - "varint": "5.0.0", - "xtend": "4.0.1" - }, - "dependencies": { - "base-x": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.4.tgz", - "integrity": "sha512-UYOadoSIkEI/VrRGSG6qp93rp2WdokiAiNYDfGW5qURAY8GiAQkvMbwNNSDYiVJopqv4gCna7xqf4rrNGp+5AA==", - "requires": { - "safe-buffer": "5.1.2" - } - }, - "bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", - "requires": { - "base-x": "3.0.4" - } - } + "bs58": "^4.0.1", + "class-is": "^1.1.0", + "ip": "^1.1.5", + "ip-address": "^5.8.9", + "lodash.filter": "^4.6.0", + "lodash.map": "^4.6.0", + "varint": "^5.0.0", + "xtend": "^4.0.1" } }, "multibase": { @@ -7467,16 +7623,6 @@ "integrity": "sha512-fnYvZJWDn3eSJ7EeWvS8zbOpRwuyPHpDggSnqGXkQMvYED5NdO9nyqnZboGvAT+r/60J8KZ09tW8YJHkS22sFw==", "requires": { "base-x": "3.0.4" - }, - "dependencies": { - "base-x": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.4.tgz", - "integrity": "sha512-UYOadoSIkEI/VrRGSG6qp93rp2WdokiAiNYDfGW5qURAY8GiAQkvMbwNNSDYiVJopqv4gCna7xqf4rrNGp+5AA==", - "requires": { - "safe-buffer": "5.1.2" - } - } } }, "multicodec": { @@ -7484,34 +7630,16 @@ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-0.2.7.tgz", "integrity": "sha512-96xc9zs7bsclMW0Po9ERnRFqcsWHY8OZ8JW/I8DeHG58YYJZy3cBGI00Ze7hz9Ix56DNHMTSxEj9cgoZByruMg==", "requires": { - "varint": "5.0.0" + "varint": "^5.0.0" } }, "multihashes": { - "version": "0.4.13", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-0.4.13.tgz", - "integrity": "sha512-HwJGEKPCpLlNlgGQA56CYh/Wsqa+c4JAq8+mheIgw7OK5T4QvNJqgp6TH8gZ4q4l1aiWeNat/H/MrFXmTuoFfQ==", + "version": "0.4.14", + "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-0.4.14.tgz", + "integrity": "sha512-V/g/EIN6nALXfS/xHUAgtfPP3mn3sPIF/i9beuGKf25QXS2QZYCpeVJbDPEannkz32B2fihzCe2D/KMrbcmefg==", "requires": { - "bs58": "4.0.1", - "varint": "5.0.0" - }, - "dependencies": { - "base-x": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.4.tgz", - "integrity": "sha512-UYOadoSIkEI/VrRGSG6qp93rp2WdokiAiNYDfGW5qURAY8GiAQkvMbwNNSDYiVJopqv4gCna7xqf4rrNGp+5AA==", - "requires": { - "safe-buffer": "5.1.2" - } - }, - "bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", - "requires": { - "base-x": "3.0.4" - } - } + "bs58": "^4.0.1", + "varint": "^5.0.0" } }, "multihashing-async": { @@ -7519,19 +7647,12 @@ "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.5.1.tgz", "integrity": "sha512-Ft5lQNcJCfsns1QN1TDXqPZrrNwBYqIokprYJR2h2Jj01x0GFcYmJYAqHvme6vJoyI3XptEcmZpdr9g5Oy7q3Q==", "requires": { - "async": "2.6.1", - "blakejs": "1.1.0", - "js-sha3": "0.7.0", - "multihashes": "0.4.13", - "murmurhash3js": "3.0.1", - "nodeify": "1.0.1" - }, - "dependencies": { - "js-sha3": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.7.0.tgz", - "integrity": "sha512-Wpks3yBDm0UcL5qlVhwW9Jr9n9i4FfeWBFOOXP5puDS/SiudJGhw7DPyBqn3487qD4F0lsC0q3zxink37f7zeA==" - } + "async": "^2.6.1", + "blakejs": "^1.1.0", + "js-sha3": "^0.7.0", + "multihashes": "~0.4.13", + "murmurhash3js": "^3.0.1", + "nodeify": "^1.0.1" } }, "multipart-stream": { @@ -7539,9 +7660,9 @@ "resolved": "https://registry.npmjs.org/multipart-stream/-/multipart-stream-2.0.1.tgz", "integrity": "sha1-GVyctLLEHnjHKh6POMfQ66HNC6A=", "requires": { - "inherits": "2.0.3", - "is-stream": "1.1.0", - "sandwich-stream": "1.0.0" + "inherits": "^2.0.1", + "is-stream": "^1.0.1", + "sandwich-stream": "^1.0.0" } }, "murmurhash3js": { @@ -7554,23 +7675,30 @@ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", "requires": { - "any-promise": "1.3.0", - "object-assign": "4.1.1", - "thenify-all": "1.6.0" + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + }, + "dependencies": { + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + } } }, "nan": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz", - "integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==" + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz", + "integrity": "sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA==" }, "nano-ipfs-store": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/nano-ipfs-store/-/nano-ipfs-store-0.1.3.tgz", "integrity": "sha512-QlFPtHXBWzysxVL5HlefyjNpRFfZh24VoQ1XxeHfYc+M9s/y0QBEzsQlWio0GHQaKp1lDJagATwwZfKFq3NwXA==", "requires": { - "nano-sha256": "0.1.2", - "xmlhttprequest": "1.8.0" + "nano-sha256": "^0.1.2", + "xmlhttprequest": "^1.8.0" } }, "nano-json-stream-parser": { @@ -7584,22 +7712,21 @@ "integrity": "sha512-O84Y3Qx6UPRNGSApxHQ2xtp3xHOOhYK99JQaJ2phanHIA/JTIEJLvzV6bUwzVz2k3nFwEOfaqzgpUH8QME1BzA==" }, "nanomatch": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.9.tgz", - "integrity": "sha512-n8R9bS8yQ6eSXaV6jHUpKzD8gLsin02w1HSFiegwrs9E098Ylhw5jdyKPaYqvHknHaSCKTPp7C8dGCQ0q9koXA==", - "requires": { - "arr-diff": "4.0.0", - "array-unique": "0.3.2", - "define-property": "2.0.2", - "extend-shallow": "3.0.2", - "fragment-cache": "0.2.1", - "is-odd": "2.0.0", - "is-windows": "1.0.2", - "kind-of": "6.0.2", - "object.pick": "1.3.0", - "regex-not": "1.0.2", - "snapdragon": "0.8.2", - "to-regex": "3.0.2" + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" }, "dependencies": { "arr-diff": { @@ -7612,6 +7739,23 @@ "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "requires": { + "is-plain-object": "^2.0.4" + } + }, "kind-of": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", @@ -7624,10 +7768,10 @@ "resolved": "https://registry.npmjs.org/ndjson/-/ndjson-1.5.0.tgz", "integrity": "sha1-rmA7NrE0vOw0e0UkIrC/mNWDLsg=", "requires": { - "json-stringify-safe": "5.0.1", - "minimist": "1.2.0", - "split2": "2.2.0", - "through2": "2.0.3" + "json-stringify-safe": "^5.0.1", + "minimist": "^1.2.0", + "split2": "^2.1.0", + "through2": "^2.0.3" } }, "negotiator": { @@ -7636,14 +7780,14 @@ "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=" }, "neo-async": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.5.1.tgz", - "integrity": "sha512-3KL3fvuRkZ7s4IFOMfztb7zJp3QaVWnBeGoJlgB38XnCRPj/0tLzzLG5IB8NYOHbJ8g8UGrgZv44GLDk6CxTxA==" + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.5.2.tgz", + "integrity": "sha512-vdqTKI9GBIYcAEbFAcpKPErKINfPF5zIuz3/niBfq8WUZjpT2tytLlFVrBgWdOtqI4uaA/Rb6No0hux39XXDuw==" }, "next": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/next/-/next-6.0.3.tgz", - "integrity": "sha1-t1n94uxIZPkhFs7k/NgFqvKFE2w=", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/next/-/next-6.1.2.tgz", + "integrity": "sha512-/l0YNpHlph0l2VthNSzeADKZQJrF2Bq7a3OB0Cl91yeLYn+1y3oV9hQX/H6pj5lORai9fHGjooTwpqCOFfcnxg==", "requires": { "@babel/core": "7.0.0-beta.42", "@babel/plugin-proposal-class-properties": "7.0.0-beta.42", @@ -7657,7 +7801,7 @@ "@babel/template": "7.0.0-beta.42", "ansi-html": "0.0.7", "babel-core": "7.0.0-bridge.0", - "babel-loader": "8.0.0-beta.2", + "babel-loader": "8.0.0-beta.3", "babel-plugin-react-require": "3.0.0", "babel-plugin-transform-react-remove-prop-types": "0.4.13", "case-sensitive-paths-webpack-plugin": "2.1.1", @@ -7669,7 +7813,7 @@ "fresh": "0.5.2", "friendly-errors-webpack-plugin": "1.6.1", "glob": "7.1.2", - "hoist-non-react-statics": "2.5.0", + "hoist-non-react-statics": "2.5.5", "htmlescape": "1.1.1", "http-errors": "1.6.2", "http-status": "1.0.1", @@ -7679,7 +7823,7 @@ "path-to-regexp": "2.1.0", "prop-types": "15.6.0", "prop-types-exact": "1.1.1", - "react-hot-loader": "4.1.3", + "react-lifecycles-compat": "3.0.4", "recursive-copy": "2.0.6", "resolve": "1.5.0", "send": "0.16.1", @@ -7689,7 +7833,7 @@ "touch": "3.1.0", "uglifyjs-webpack-plugin": "1.1.6", "unfetch": "3.0.0", - "update-check": "1.4.0", + "update-check": "1.5.2", "url": "0.11.0", "uuid": "3.1.0", "walk": "2.3.9", @@ -7698,6 +7842,34 @@ "webpack-hot-middleware": "2.19.1", "webpack-sources": "1.1.0", "write-file-webpack-plugin": "4.2.0" + }, + "dependencies": { + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "resolve": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.5.0.tgz", + "integrity": "sha512-hgoSGrc3pjzAPHNBg+KnFcK2HwlHTs/YrAGUr6qgTVUZmXv1UEXXl0bZNBKMA9fud6lRYFdPGz0xXxycPzmmiw==", + "requires": { + "path-parse": "^1.0.5" + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } } }, "next-routes": { @@ -7705,7 +7877,7 @@ "resolved": "https://registry.npmjs.org/next-routes/-/next-routes-1.4.2.tgz", "integrity": "sha512-1Ljs0BEV9IGcJLKxC/WZUtmftSvmkY6DlI8fVs8dClCoR82QRzBGRka/L/XB76wE5814MMeP9qVJYQil0FE9QQ==", "requires": { - "path-to-regexp": "2.1.0" + "path-to-regexp": "^2.1.0" } }, "next-tick": { @@ -7718,50 +7890,45 @@ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", "requires": { - "encoding": "0.1.12", - "is-stream": "1.1.0" + "encoding": "^0.1.11", + "is-stream": "^1.0.1" } }, "node-forge": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz", - "integrity": "sha512-MmbQJ2MTESTjt3Gi/3yG1wGpIMhUfcIypUCGtTizFR9IiccFwxSpfp0vtIZlkFclEqERemxfnSdZEMR9VqqEFQ==" + "version": "0.7.6", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.6.tgz", + "integrity": "sha512-sol30LUpz1jQFBjOKwbjxijiE3b6pjd74YwfD0fJOKPjF+fONKb2Yg8rYgS6+bK6VDl+/wfr4IYpC7jDzLUIfw==" }, "node-libs-browser": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.1.0.tgz", "integrity": "sha512-5AzFzdoIMb89hBGMZglEegffzgRg+ZFoUmisQ8HI4j1KDdpx13J0taNp2y9xPbur6W61gepGDDotGBVQ7mfUCg==", "requires": { - "assert": "1.4.1", - "browserify-zlib": "0.2.0", - "buffer": "4.9.1", - "console-browserify": "1.1.0", - "constants-browserify": "1.0.0", - "crypto-browserify": "3.12.0", - "domain-browser": "1.2.0", - "events": "1.1.1", - "https-browserify": "1.0.0", - "os-browserify": "0.3.0", + "assert": "^1.1.1", + "browserify-zlib": "^0.2.0", + "buffer": "^4.3.0", + "console-browserify": "^1.1.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.11.0", + "domain-browser": "^1.1.1", + "events": "^1.0.0", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", "path-browserify": "0.0.0", - "process": "0.11.10", - "punycode": "1.4.1", - "querystring-es3": "0.2.1", - "readable-stream": "2.3.6", - "stream-browserify": "2.0.1", - "stream-http": "2.8.3", - "string_decoder": "1.1.1", - "timers-browserify": "2.0.10", + "process": "^0.11.10", + "punycode": "^1.2.4", + "querystring-es3": "^0.2.0", + "readable-stream": "^2.3.3", + "stream-browserify": "^2.0.1", + "stream-http": "^2.7.2", + "string_decoder": "^1.0.0", + "timers-browserify": "^2.0.4", "tty-browserify": "0.0.0", - "url": "0.11.0", - "util": "0.10.3", + "url": "^0.11.0", + "util": "^0.10.3", "vm-browserify": "0.0.4" }, "dependencies": { - "process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" - }, "punycode": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", @@ -7774,18 +7941,8 @@ "resolved": "https://registry.npmjs.org/nodeify/-/nodeify-1.0.1.tgz", "integrity": "sha1-ZKtpp7268DzhB7TwM1yHwLnpGx0=", "requires": { - "is-promise": "1.0.1", - "promise": "1.3.0" - }, - "dependencies": { - "promise": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/promise/-/promise-1.3.0.tgz", - "integrity": "sha1-5cyaTIJ45GZP/twBx9qEhCsEAXU=", - "requires": { - "is-promise": "1.0.1" - } - } + "is-promise": "~1.0.0", + "promise": "~1.3.0" } }, "nopt": { @@ -7793,7 +7950,7 @@ "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", "requires": { - "abbrev": "1.1.1" + "abbrev": "1" } }, "normalize-package-data": { @@ -7801,10 +7958,10 @@ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", "requires": { - "hosted-git-info": "2.6.0", - "is-builtin-module": "1.0.0", - "semver": "5.5.0", - "validate-npm-package-license": "3.0.3" + "hosted-git-info": "^2.1.4", + "is-builtin-module": "^1.0.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" } }, "normalize-path": { @@ -7812,7 +7969,7 @@ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", "requires": { - "remove-trailing-separator": "1.1.0" + "remove-trailing-separator": "^1.0.1" } }, "npm-run-path": { @@ -7820,7 +7977,7 @@ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", "requires": { - "path-key": "2.0.1" + "path-key": "^2.0.0" } }, "number-is-nan": { @@ -7845,23 +8002,23 @@ } }, "oauth-sign": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", - "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=" + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" }, "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz", + "integrity": "sha1-Q8NuXVaf+OSBbE76i+AtJpZ8GKo=" }, "object-copy": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", "requires": { - "copy-descriptor": "0.1.1", - "define-property": "0.2.5", - "kind-of": "3.2.2" + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" }, "dependencies": { "define-property": { @@ -7869,27 +8026,27 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "requires": { - "is-descriptor": "0.1.6" + "is-descriptor": "^0.1.0" } } } }, "object-inspect": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.6.0.tgz", - "integrity": "sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.4.1.tgz", + "integrity": "sha512-wqdhLpfCUbEsoEwl3FXwGyv8ief1k/1aUdIPCqVnupM6e8l63BEJdiF/0swtn04/8p05tG/T0FrpTlfwvljOdw==" }, "object-keys": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz", - "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=" + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz", + "integrity": "sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag==" }, "object-visit": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", "requires": { - "isobject": "3.0.1" + "isobject": "^3.0.0" }, "dependencies": { "isobject": { @@ -7904,10 +8061,19 @@ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", "requires": { - "define-properties": "1.1.2", - "function-bind": "1.1.1", - "has-symbols": "1.0.0", - "object-keys": "1.0.11" + "define-properties": "^1.1.2", + "function-bind": "^1.1.1", + "has-symbols": "^1.0.0", + "object-keys": "^1.0.11" + } + }, + "object.getownpropertydescriptors": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz", + "integrity": "sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=", + "requires": { + "define-properties": "^1.1.2", + "es-abstract": "^1.5.1" } }, "object.omit": { @@ -7915,8 +8081,8 @@ "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", "requires": { - "for-own": "0.1.5", - "is-extendable": "0.1.1" + "for-own": "^0.1.4", + "is-extendable": "^0.1.1" } }, "object.pick": { @@ -7924,7 +8090,7 @@ "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", "requires": { - "isobject": "3.0.1" + "isobject": "^3.0.1" }, "dependencies": { "isobject": { @@ -7939,7 +8105,7 @@ "resolved": "https://registry.npmjs.org/oboe/-/oboe-2.1.3.tgz", "integrity": "sha1-K0hl29Rr6BIlcT9Om/5Lz09oCk8=", "requires": { - "http-https": "1.0.0" + "http-https": "^1.0.0" } }, "on-finished": { @@ -7955,7 +8121,7 @@ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "requires": { - "wrappy": "1.0.2" + "wrappy": "1" } }, "optimist": { @@ -7963,7 +8129,7 @@ "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz", "integrity": "sha1-yQlBrVnkJzMokjB00s8ufLxuwNk=", "requires": { - "wordwrap": "0.0.2" + "wordwrap": "~0.0.2" } }, "optionator": { @@ -7971,12 +8137,12 @@ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", "requires": { - "deep-is": "0.1.3", - "fast-levenshtein": "2.0.6", - "levn": "0.3.0", - "prelude-ls": "1.1.2", - "type-check": "0.3.2", - "wordwrap": "1.0.0" + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.4", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "wordwrap": "~1.0.0" }, "dependencies": { "wordwrap": { @@ -7991,8 +8157,8 @@ "resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-0.3.0.tgz", "integrity": "sha1-cTfmmzKYuzQiR6G77jiByA4v14s=", "requires": { - "is-stream": "1.1.0", - "readable-stream": "2.3.6" + "is-stream": "^1.0.1", + "readable-stream": "^2.0.1" } }, "original-require": { @@ -8015,9 +8181,9 @@ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", "requires": { - "execa": "0.7.0", - "lcid": "1.0.0", - "mem": "1.1.0" + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.0" } }, "os-tmpdir": { @@ -8036,11 +8202,11 @@ "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" }, "p-limit": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.2.0.tgz", - "integrity": "sha512-Y/OtIaXtUPr4/YpMv1pCL5L5ed0rumAaAeBSj12F+bSlMdys7i8oQF/GUJmfpTS/QoaRrS/k6pma29haJpsMng==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "requires": { - "p-try": "1.0.0" + "p-try": "^1.0.0" } }, "p-locate": { @@ -8048,7 +8214,7 @@ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "requires": { - "p-limit": "1.2.0" + "p-limit": "^1.1.0" } }, "p-map": { @@ -8061,7 +8227,7 @@ "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz", "integrity": "sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y=", "requires": { - "p-finally": "1.0.0" + "p-finally": "^1.0.0" } }, "p-try": { @@ -8079,21 +8245,33 @@ "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz", "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=", "requires": { - "cyclist": "0.2.2", - "inherits": "2.0.3", - "readable-stream": "2.3.6" + "cyclist": "~0.2.2", + "inherits": "^2.0.3", + "readable-stream": "^2.1.5" } }, "parse-asn1": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz", + "resolved": "http://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz", "integrity": "sha512-KPx7flKXg775zZpnp9SxJlz00gTd4BmJ2yJufSc44gMCRrRQ7NSzAcSJQfifuOLgW6bEi+ftrALtsgALeB2Adw==", "requires": { - "asn1.js": "4.10.1", - "browserify-aes": "1.2.0", - "create-hash": "1.2.0", - "evp_bytestokey": "1.0.3", - "pbkdf2": "3.0.16" + "asn1.js": "^4.0.0", + "browserify-aes": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3" + }, + "dependencies": { + "asn1.js": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", + "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + } } }, "parse-glob": { @@ -8101,10 +8279,25 @@ "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", "requires": { - "glob-base": "0.3.0", - "is-dotfile": "1.0.3", - "is-extglob": "1.0.0", - "is-glob": "2.0.1" + "glob-base": "^0.3.0", + "is-dotfile": "^1.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.0" + }, + "dependencies": { + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "requires": { + "is-extglob": "^1.0.0" + } + } } }, "parse-headers": { @@ -8112,7 +8305,7 @@ "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.1.tgz", "integrity": "sha1-aug6eqJanZtwCswoaYzR8e1+lTY=", "requires": { - "for-each": "0.3.3", + "for-each": "^0.3.2", "trim": "0.0.1" } }, @@ -8121,7 +8314,7 @@ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "requires": { - "error-ex": "1.3.1" + "error-ex": "^1.2.0" } }, "parseurl": { @@ -8165,9 +8358,9 @@ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" }, "path-parse": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", - "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=" + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" }, "path-to-regexp": { "version": "2.1.0", @@ -8179,7 +8372,7 @@ "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", "requires": { - "pify": "2.3.0" + "pify": "^2.0.0" }, "dependencies": { "pify": { @@ -8190,15 +8383,15 @@ } }, "pbkdf2": { - "version": "3.0.16", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.16.tgz", - "integrity": "sha512-y4CXP3thSxqf7c0qmOF+9UeOTrifiVTIM+u7NWlq+PRsHbr7r7dpCmvzrZxa96JJUNi0Y5w9VqG5ZNeCVMoDcA==", + "version": "3.0.17", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz", + "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==", "requires": { - "create-hash": "1.2.0", - "create-hmac": "1.1.7", - "ripemd160": "2.0.2", - "safe-buffer": "5.1.2", - "sha.js": "2.4.11" + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" } }, "peer-id": { @@ -8206,10 +8399,10 @@ "resolved": "https://registry.npmjs.org/peer-id/-/peer-id-0.11.0.tgz", "integrity": "sha512-C/lRJk4CWIgOdKvfO572NvHbPcUwe49I6G0toIhDB5tCohqv/qzy0uBcAK9Ww8TvYI6U4J3C8ACShV9fWjNU4w==", "requires": { - "async": "2.6.1", - "libp2p-crypto": "0.13.0", - "lodash": "4.17.10", - "multihashes": "0.4.13" + "async": "^2.6.1", + "libp2p-crypto": "~0.13.0", + "lodash": "^4.17.10", + "multihashes": "~0.4.13" } }, "peer-info": { @@ -8217,60 +8410,29 @@ "resolved": "https://registry.npmjs.org/peer-info/-/peer-info-0.14.1.tgz", "integrity": "sha512-I9K+q7sisU0gg5ej6ekbhgolwlcm1tc2wDtLmumptoLYx0DkIT8WVHtgoTnupYwRRqcYADtwddFdiXfb8QFqzg==", "requires": { - "lodash.uniqby": "4.7.0", - "mafmt": "6.0.0", - "multiaddr": "4.0.0", - "peer-id": "0.10.7" + "lodash.uniqby": "^4.7.0", + "mafmt": "^6.0.0", + "multiaddr": "^4.0.0", + "peer-id": "~0.10.7" }, "dependencies": { - "asn1.js": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.0.1.tgz", - "integrity": "sha512-aO8EaEgbgqq77IEw+1jfx5c9zTbzvkfuRBuZsSsPnTHMkmd5AI4J6OtITLZFa381jReeaQL67J0GBTUu0+ZTVw==", - "requires": { - "bn.js": "4.11.8", - "inherits": "2.0.3", - "minimalistic-assert": "1.0.1" - } - }, - "base-x": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.4.tgz", - "integrity": "sha512-UYOadoSIkEI/VrRGSG6qp93rp2WdokiAiNYDfGW5qURAY8GiAQkvMbwNNSDYiVJopqv4gCna7xqf4rrNGp+5AA==", - "requires": { - "safe-buffer": "5.1.2" - } - }, - "bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", - "requires": { - "base-x": "3.0.4" - } - }, - "js-sha3": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.7.0.tgz", - "integrity": "sha512-Wpks3yBDm0UcL5qlVhwW9Jr9n9i4FfeWBFOOXP5puDS/SiudJGhw7DPyBqn3487qD4F0lsC0q3zxink37f7zeA==" - }, "libp2p-crypto": { "version": "0.12.1", - "resolved": "https://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.12.1.tgz", + "resolved": "http://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.12.1.tgz", "integrity": "sha512-1/z8rxZ0DcQNreZhEsl7PnLr7DWOioSvYbKBLGkRwNRiNh1JJLgh0PdTySBb44wkrOGT+TxcGRd7iq3/X6Wxwg==", "requires": { - "asn1.js": "5.0.1", - "async": "2.6.1", - "browserify-aes": "1.2.0", - "bs58": "4.0.1", - "keypair": "1.0.1", - "libp2p-crypto-secp256k1": "0.2.2", - "multihashing-async": "0.4.8", - "node-forge": "0.7.5", - "pem-jwk": "1.5.1", - "protons": "1.0.1", - "rsa-pem-to-jwk": "1.1.3", - "tweetnacl": "1.0.0", + "asn1.js": "^5.0.0", + "async": "^2.6.0", + "browserify-aes": "^1.1.1", + "bs58": "^4.0.1", + "keypair": "^1.0.1", + "libp2p-crypto-secp256k1": "~0.2.2", + "multihashing-async": "~0.4.7", + "node-forge": "^0.7.1", + "pem-jwk": "^1.5.1", + "protons": "^1.0.1", + "rsa-pem-to-jwk": "^1.1.3", + "tweetnacl": "^1.0.0", "webcrypto-shim": "github:dignifiedquire/webcrypto-shim#190bc9ec341375df6025b17ae12ddb2428ea49c8" } }, @@ -8279,14 +8441,14 @@ "resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-4.0.0.tgz", "integrity": "sha512-zUatrOCfBd/tJNOSoJ10d2EI2FDXB9PyPZhqUMdXE9mOyR3C+HLuOjga2Ga/eChwvEHIpTYRMoIKF2Nv7af2qQ==", "requires": { - "bs58": "4.0.1", - "class-is": "1.1.0", - "ip": "1.1.5", - "ip-address": "5.8.9", - "lodash.filter": "4.6.0", - "lodash.map": "4.6.0", - "varint": "5.0.0", - "xtend": "4.0.1" + "bs58": "^4.0.1", + "class-is": "^1.1.0", + "ip": "^1.1.5", + "ip-address": "^5.8.9", + "lodash.filter": "^4.6.0", + "lodash.map": "^4.6.0", + "varint": "^5.0.0", + "xtend": "^4.0.1" } }, "multihashing-async": { @@ -8294,12 +8456,12 @@ "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.4.8.tgz", "integrity": "sha512-LCc4lfxmTJOHKIjZjFNgvmfB6nXS/ErLInT9uwU8udFrRm2PH+aTPk3mfCREKmCiSHOlCWiv2O8rlnBx+OjlMw==", "requires": { - "async": "2.6.1", - "blakejs": "1.1.0", - "js-sha3": "0.7.0", - "multihashes": "0.4.13", - "murmurhash3js": "3.0.1", - "nodeify": "1.0.1" + "async": "^2.6.0", + "blakejs": "^1.1.0", + "js-sha3": "^0.7.0", + "multihashes": "~0.4.13", + "murmurhash3js": "^3.0.1", + "nodeify": "^1.0.1" } }, "peer-id": { @@ -8307,16 +8469,11 @@ "resolved": "https://registry.npmjs.org/peer-id/-/peer-id-0.10.7.tgz", "integrity": "sha512-VEpMFcL9q0NQijmR0jsj38OGbY4yzaWMEareVkDahopmlNT+Cpsot8btPgsgBBApP9NiZj2Enwvh8rZN30ocQw==", "requires": { - "async": "2.6.1", - "libp2p-crypto": "0.12.1", - "lodash": "4.17.10", - "multihashes": "0.4.13" + "async": "^2.6.0", + "libp2p-crypto": "~0.12.1", + "lodash": "^4.17.5", + "multihashes": "~0.4.13" } - }, - "tweetnacl": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.0.tgz", - "integrity": "sha1-cT2LgY2kIGh0C/aDhtBHnmb8ins=" } } }, @@ -8333,9 +8490,9 @@ "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-1.0.3.tgz", "integrity": "sha1-KBuj7B8kSP52X5Kk7s+IP+E2S1Q=", "requires": { - "bn.js": "1.3.0", - "inherits": "2.0.3", - "minimalistic-assert": "1.0.1" + "bn.js": "^1.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" } }, "bn.js": { @@ -8371,7 +8528,7 @@ "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", "requires": { - "pinkie": "2.0.4" + "pinkie": "^2.0.0" } }, "pkg-dir": { @@ -8379,7 +8536,7 @@ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", "requires": { - "find-up": "2.1.0" + "find-up": "^2.1.0" } }, "posix-character-classes": { @@ -8413,9 +8570,9 @@ "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==" }, "process": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/process/-/process-0.5.2.tgz", - "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=" + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" }, "process-nextick-args": { "version": "2.0.0", @@ -8423,11 +8580,11 @@ "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==" }, "promise": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "version": "1.3.0", + "resolved": "http://registry.npmjs.org/promise/-/promise-1.3.0.tgz", + "integrity": "sha1-5cyaTIJ45GZP/twBx9qEhCsEAXU=", "requires": { - "asap": "2.0.6" + "is-promise": "~1" } }, "promise-inflight": { @@ -8440,8 +8597,8 @@ "resolved": "https://registry.npmjs.org/promise-to-callback/-/promise-to-callback-1.0.0.tgz", "integrity": "sha1-XSp0kBC/tn2WNZj805YHRqaP7vc=", "requires": { - "is-fn": "1.0.0", - "set-immediate-shim": "1.0.1" + "is-fn": "^1.0.0", + "set-immediate-shim": "^1.0.1" } }, "promisify-es6": { @@ -8454,9 +8611,16 @@ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.0.tgz", "integrity": "sha1-zq8IMCL8RrSjX2nhPvda7Q1jmFY=", "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1" + "fbjs": "^0.8.16", + "loose-envify": "^1.3.1", + "object-assign": "^4.1.1" + }, + "dependencies": { + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + } } }, "prop-types-exact": { @@ -8464,8 +8628,8 @@ "resolved": "https://registry.npmjs.org/prop-types-exact/-/prop-types-exact-1.1.1.tgz", "integrity": "sha512-VrFC2QoIt7oj9bxVTAYDfDMBYV3u+VHQUOWJWk9OURT7uwPEenH879MQoAQ/reY2GZ55il6p/eCqHRs2nqm8wA==", "requires": { - "has": "1.0.1", - "object.assign": "4.1.0" + "has": "^1.0.1", + "object.assign": "^4.0.4" } }, "protocol-buffers-schema": { @@ -8478,19 +8642,19 @@ "resolved": "https://registry.npmjs.org/protons/-/protons-1.0.1.tgz", "integrity": "sha512-+0ZKnfVs+4c43tbAQ5j0Mck8wPcLnlxUYzKQoB4iDW4ocdXGnN4P+0dDbgX1FTpoY9+7P2Tn2scJyHHqj+S/lQ==", "requires": { - "protocol-buffers-schema": "3.3.2", - "safe-buffer": "5.1.2", - "signed-varint": "2.0.1", - "varint": "5.0.0" + "protocol-buffers-schema": "^3.3.1", + "safe-buffer": "^5.1.1", + "signed-varint": "^2.0.1", + "varint": "^5.0.0" } }, "proxy-addr": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.3.tgz", - "integrity": "sha512-jQTChiCJteusULxjBp8+jftSQE5Obdl3k4cnmLA6WXtK6XFuWRnvVL7aCiBqaLPM8c4ph0S4tKna8XvmIwEnXQ==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz", + "integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==", "requires": { - "forwarded": "0.1.2", - "ipaddr.js": "1.6.0" + "forwarded": "~0.1.2", + "ipaddr.js": "1.8.0" } }, "prr": { @@ -8503,22 +8667,28 @@ "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" }, + "psl": { + "version": "1.1.29", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.29.tgz", + "integrity": "sha512-AeUmQ0oLN02flVHXWh9sSJF7mcdFq0ppid/JkErufc3hGIV/AMa8Fo9VgDo/cT2jFdOWoFvHp90qqBH54W+gjQ==" + }, "public-encrypt": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.2.tgz", - "integrity": "sha512-4kJ5Esocg8X3h8YgJsKAuoesBgB7mqH3eowiDzMUPKiRDDE7E/BqqZD1hnTByIaAFiwAw246YEltSq7tdrOH0Q==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", "requires": { - "bn.js": "4.11.8", - "browserify-rsa": "4.0.1", - "create-hash": "1.2.0", - "parse-asn1": "5.1.1", - "randombytes": "2.0.6" + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" } }, "pull-defer": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/pull-defer/-/pull-defer-0.2.2.tgz", - "integrity": "sha1-CIew/7MK8ypW2+z6csFnInHwexM=" + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/pull-defer/-/pull-defer-0.2.3.tgz", + "integrity": "sha512-/An3KE7mVjZCqNhZsr22k1Tx8MACnUnHZZNPSJ0S62td8JtYr/AiRG42Vz7Syu31SoTLUzVIe61jtT/pNdjVYA==" }, "pull-pushable": { "version": "2.2.0", @@ -8526,9 +8696,9 @@ "integrity": "sha1-Xy867UethpGfAbEqLpnW8b13ZYE=" }, "pull-stream": { - "version": "3.6.8", - "resolved": "https://registry.npmjs.org/pull-stream/-/pull-stream-3.6.8.tgz", - "integrity": "sha512-wQUIptQBcM0rFsUhZoEpOT3vUn73DtTGVq3NQ86c4T7iMOSprDzeKWYq2ksXnbwiuExTKvt+8G9fzNLFQuiO+A==" + "version": "3.6.9", + "resolved": "https://registry.npmjs.org/pull-stream/-/pull-stream-3.6.9.tgz", + "integrity": "sha512-hJn4POeBrkttshdNl0AoSCVjMVSuBwuHocMerUdoZ2+oIUzrWHFTwJMlbHND7OiKLVgvz6TFj8ZUVywUMXccbw==" }, "pull-stream-to-stream": { "version": "1.3.4", @@ -8541,12 +8711,12 @@ "integrity": "sha1-dPtde+f6a9enjpeTPhmbeUWGaTg=" }, "pump": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", - "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "requires": { - "end-of-stream": "1.4.1", - "once": "1.4.0" + "end-of-stream": "^1.1.0", + "once": "^1.3.1" } }, "pumpify": { @@ -8554,9 +8724,20 @@ "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", "requires": { - "duplexify": "3.6.0", - "inherits": "2.0.3", - "pump": "2.0.1" + "duplexify": "^3.6.0", + "inherits": "^2.0.3", + "pump": "^2.0.0" + }, + "dependencies": { + "pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + } } }, "punycode": { @@ -8571,12 +8752,19 @@ }, "query-string": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz", + "resolved": "http://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz", "integrity": "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==", "requires": { - "decode-uri-component": "0.2.0", - "object-assign": "4.1.1", - "strict-uri-encode": "1.1.0" + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "dependencies": { + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + } } }, "querystring": { @@ -8595,18 +8783,18 @@ "integrity": "sha1-hJY/jJwmuULhU/7rU6rnRlK34LI=", "requires": { "buffer-equal": "0.0.1", - "minimist": "1.2.0", - "through2": "2.0.3" + "minimist": "^1.1.3", + "through2": "^2.0.0" } }, "randomatic": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.0.0.tgz", - "integrity": "sha512-VdxFOIEY3mNO5PtSRkkle/hPJDHvQhK21oa73K4yAc9qmp6N429gAyF1gZMOTMeS0/AYzaV/2Trcef+NaIonSA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.0.tgz", + "integrity": "sha512-KnGPVE0lo2WoXxIZ7cPR8YBpiol4gsSuOwDSg410oHh80ZMp5EiypNqL2K4Z77vJn6lB5rap7IkAmcUlalcnBQ==", "requires": { - "is-number": "4.0.0", - "kind-of": "6.0.2", - "math-random": "1.0.1" + "is-number": "^4.0.0", + "kind-of": "^6.0.0", + "math-random": "^1.0.1" }, "dependencies": { "is-number": { @@ -8626,7 +8814,7 @@ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz", "integrity": "sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A==", "requires": { - "safe-buffer": "5.1.2" + "safe-buffer": "^5.1.0" } }, "randomfill": { @@ -8634,8 +8822,8 @@ "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", "requires": { - "randombytes": "2.0.6", - "safe-buffer": "5.1.2" + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" } }, "randomhex": { @@ -8666,13 +8854,21 @@ }, "http-errors": { "version": "1.6.3", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", "requires": { - "depd": "1.1.2", + "depd": "~1.1.2", "inherits": "2.0.3", "setprototypeof": "1.1.0", - "statuses": "1.5.0" + "statuses": ">= 1.4.0 < 2" + } + }, + "iconv-lite": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", + "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" } }, "setprototypeof": { @@ -8687,55 +8883,62 @@ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "requires": { - "deep-extend": "0.6.0", - "ini": "1.3.5", - "minimist": "1.2.0", - "strip-json-comments": "2.0.1" + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" } }, "react": { - "version": "16.4.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.4.0.tgz", - "integrity": "sha512-K0UrkLXSAekf5nJu89obKUM7o2vc6MMN9LYoKnCa+c+8MJRAT120xzPLENcWSRc7GYKIg0LlgJRDorrufdglQQ==", + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react/-/react-16.5.2.tgz", + "integrity": "sha512-FDCSVd3DjVTmbEAjUNX6FgfAmQ+ypJfHUsqUJOYNCBUp1h8lqmtC+0mXJ+JjsWx4KAVTkk1vKd1hLQPvEviSuw==", "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1", - "prop-types": "15.6.0" + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "prop-types": "^15.6.2", + "schedule": "^0.5.0" + }, + "dependencies": { + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "prop-types": { + "version": "15.6.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", + "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", + "requires": { + "loose-envify": "^1.3.1", + "object-assign": "^4.1.1" + } + } } }, "react-dom": { - "version": "16.4.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.4.0.tgz", - "integrity": "sha512-bbLd+HYpBEnYoNyxDe9XpSG2t9wypMohwQPvKw8Hov3nF7SJiJIgK56b46zHpBUpHb06a1iEuw7G3rbrsnNL6w==", + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.5.2.tgz", + "integrity": "sha512-RC8LDw8feuZOHVgzEf7f+cxBr/DnKdqp56VU0lAs1f4UfKc4cU8wU4fTq/mgnvynLQo8OtlPC19NUFh/zjZPuA==", "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1", - "prop-types": "15.6.0" - } - }, - "react-hot-loader": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/react-hot-loader/-/react-hot-loader-4.1.3.tgz", - "integrity": "sha512-CF3Y/qUfL1PkM6TPrELNsSiHGKJFRnpyLdzsk+HV4IIuQAY2g1aZXQmK4L/O8WOaldoOujxAYfRfpzrWTvmvtg==", - "requires": { - "fast-levenshtein": "2.0.6", - "global": "4.3.2", - "hoist-non-react-statics": "2.5.0", - "prop-types": "15.6.1", - "react-lifecycles-compat": "3.0.4", - "shallowequal": "1.0.2" + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "prop-types": "^15.6.2", + "schedule": "^0.5.0" }, "dependencies": { + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, "prop-types": { - "version": "15.6.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.1.tgz", - "integrity": "sha512-4ec7bY1Y66LymSUOH/zARVYObB23AT2h8cf6e/O6ZALB/N0sqZFEx7rq6EYPX2MkOdKORuooI/H5k9TlR4q7kQ==", + "version": "15.6.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", + "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1" + "loose-envify": "^1.3.1", + "object-assign": "^4.1.1" } } } @@ -8750,9 +8953,9 @@ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", "requires": { - "load-json-file": "2.0.0", - "normalize-package-data": "2.4.0", - "path-type": "2.0.0" + "load-json-file": "^2.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^2.0.0" } }, "read-pkg-up": { @@ -8760,33 +8963,314 @@ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", "requires": { - "find-up": "2.1.0", - "read-pkg": "2.0.0" + "find-up": "^2.0.0", + "read-pkg": "^2.0.0" } }, "readable-stream": { "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "1.0.0", - "process-nextick-args": "2.0.0", - "safe-buffer": "5.1.2", - "string_decoder": "1.1.1", - "util-deprecate": "1.0.2" + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" } }, "readdirp": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz", - "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", "requires": { - "graceful-fs": "4.1.11", - "minimatch": "3.0.4", - "readable-stream": "2.3.6", - "set-immediate-shim": "1.0.1" + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" + }, + "dependencies": { + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=" + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" + } + } + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + } } }, "recursive-copy": { @@ -8794,16 +9278,16 @@ "resolved": "https://registry.npmjs.org/recursive-copy/-/recursive-copy-2.0.6.tgz", "integrity": "sha1-1ZD5618WW5ahuAvI+cvLXG+ciek=", "requires": { - "del": "2.2.2", + "del": "^2.2.0", "emitter-mixin": "0.0.3", - "errno": "0.1.7", - "graceful-fs": "4.1.11", - "junk": "1.0.3", - "maximatch": "0.1.0", - "mkdirp": "0.5.1", - "pify": "2.3.0", - "promise": "7.3.1", - "slash": "1.0.0" + "errno": "^0.1.2", + "graceful-fs": "^4.1.4", + "junk": "^1.0.1", + "maximatch": "^0.1.0", + "mkdirp": "^0.5.1", + "pify": "^2.3.0", + "promise": "^7.0.1", + "slash": "^1.0.0" }, "dependencies": { "del": { @@ -8811,13 +9295,13 @@ "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", "requires": { - "globby": "5.0.0", - "is-path-cwd": "1.0.0", - "is-path-in-cwd": "1.0.1", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1", - "rimraf": "2.6.2" + "globby": "^5.0.0", + "is-path-cwd": "^1.0.0", + "is-path-in-cwd": "^1.0.0", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "rimraf": "^2.2.8" } }, "globby": { @@ -8825,18 +9309,36 @@ "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", "requires": { - "array-union": "1.0.2", - "arrify": "1.0.1", - "glob": "7.1.2", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" + "array-union": "^1.0.1", + "arrify": "^1.0.0", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" } }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" + }, + "promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "requires": { + "asap": "~2.0.3" + } } } }, @@ -8846,11 +9348,11 @@ "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==" }, "regenerate-unicode-properties": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-6.0.0.tgz", - "integrity": "sha512-BvXxRS7RfVWxtm7vrq+0I0j7sqZ1zeSC+yzf5HS0qLnKcZPX541gFEGB39LvGuKHrkyKXrzXug+oC7xkM1Zovw==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-7.0.0.tgz", + "integrity": "sha512-s5NGghCE4itSlUS+0WUj88G6cfMVMmH8boTPNvABf8od+2dhT9WDlWu8n01raQAJZMOK8Ch6jSexaRO7swd6aw==", "requires": { - "regenerate": "1.4.0" + "regenerate": "^1.4.0" } }, "regenerator-runtime": { @@ -8863,7 +9365,7 @@ "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.12.4.tgz", "integrity": "sha512-p2I0fY+TbSLD2/VFTFb/ypEHxs3e3AjU0DzttdPqk2bSmDhfSh5E54b86Yc6XhUa5KykK1tgbvZ4Nr82oCJWkQ==", "requires": { - "private": "0.1.8" + "private": "^0.1.6" } }, "regex-cache": { @@ -8871,7 +9373,7 @@ "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", "requires": { - "is-equal-shallow": "0.1.3" + "is-equal-shallow": "^0.1.3" } }, "regex-not": { @@ -8879,21 +9381,40 @@ "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", "requires": { - "extend-shallow": "3.0.2", - "safe-regex": "1.1.0" + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "requires": { + "is-plain-object": "^2.0.4" + } + } } }, "regexpu-core": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.1.5.tgz", - "integrity": "sha512-3xo5pFze1F8oR4F9x3aFbdtdxAxQ9WBX6gXfLgeBt7KpDI0+oDF7WVntnhsPKqobU/GAYc2pmx+y3z0JI1+z3w==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.2.0.tgz", + "integrity": "sha512-Z835VSnJJ46CNBttalHD/dB+Sj2ezmY6Xp38npwU87peK6mqOzOpV8eYktdkLTEkzzD+JsTcxd84ozd8I14+rw==", "requires": { - "regenerate": "1.4.0", - "regenerate-unicode-properties": "6.0.0", - "regjsgen": "0.4.0", - "regjsparser": "0.3.0", - "unicode-match-property-ecmascript": "1.0.3", - "unicode-match-property-value-ecmascript": "1.0.1" + "regenerate": "^1.4.0", + "regenerate-unicode-properties": "^7.0.0", + "regjsgen": "^0.4.0", + "regjsparser": "^0.3.0", + "unicode-match-property-ecmascript": "^1.0.4", + "unicode-match-property-value-ecmascript": "^1.0.2" } }, "registry-auth-token": { @@ -8901,8 +9422,8 @@ "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz", "integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==", "requires": { - "rc": "1.2.8", - "safe-buffer": "5.1.2" + "rc": "^1.1.6", + "safe-buffer": "^5.0.1" } }, "registry-url": { @@ -8910,7 +9431,7 @@ "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=", "requires": { - "rc": "1.2.8" + "rc": "^1.0.1" } }, "regjsgen": { @@ -8923,7 +9444,7 @@ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.3.0.tgz", "integrity": "sha512-zza72oZBBHzt64G7DxdqrOo/30bhHkwMUoT0WqfGu98XLd7N+1tsy5MJ96Bk4MD0y74n629RhmrGW6XlnLLwCA==", "requires": { - "jsesc": "0.5.0" + "jsesc": "~0.5.0" }, "dependencies": { "jsesc": { @@ -8939,9 +9460,9 @@ "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=" }, "repeat-element": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.2.tgz", - "integrity": "sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=" + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==" }, "repeat-string": { "version": "1.6.1", @@ -8953,7 +9474,7 @@ "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", "requires": { - "is-finite": "1.0.2" + "is-finite": "^1.0.0" } }, "replace-ext": { @@ -8962,30 +9483,37 @@ "integrity": "sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ=" }, "request": { - "version": "2.87.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.87.0.tgz", - "integrity": "sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw==", - "requires": { - "aws-sign2": "0.7.0", - "aws4": "1.7.0", - "caseless": "0.12.0", - "combined-stream": "1.0.6", - "extend": "3.0.1", - "forever-agent": "0.6.1", - "form-data": "2.3.2", - "har-validator": "5.0.3", - "http-signature": "1.2.0", - "is-typedarray": "1.0.0", - "isstream": "0.1.2", - "json-stringify-safe": "5.0.1", - "mime-types": "2.1.18", - "oauth-sign": "0.8.2", - "performance-now": "2.1.0", - "qs": "6.5.2", - "safe-buffer": "5.1.2", - "tough-cookie": "2.3.4", - "tunnel-agent": "0.6.0", - "uuid": "3.1.0" + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.0", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.4.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" + } } }, "require-directory": { @@ -9004,11 +9532,11 @@ "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=" }, "resolve": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.5.0.tgz", - "integrity": "sha512-hgoSGrc3pjzAPHNBg+KnFcK2HwlHTs/YrAGUr6qgTVUZmXv1UEXXl0bZNBKMA9fud6lRYFdPGz0xXxycPzmmiw==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", + "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", "requires": { - "path-parse": "1.0.5" + "path-parse": "^1.0.5" } }, "resolve-url": { @@ -9021,7 +9549,7 @@ "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", "requires": { - "through": "2.3.8" + "through": "~2.3.4" } }, "ret": { @@ -9034,7 +9562,7 @@ "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", "requires": { - "align-text": "0.1.4" + "align-text": "^0.1.1" } }, "rimraf": { @@ -9042,7 +9570,7 @@ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", "requires": { - "glob": "7.1.2" + "glob": "^7.0.5" } }, "ripemd160": { @@ -9050,8 +9578,8 @@ "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", "requires": { - "hash-base": "3.0.4", - "inherits": "2.0.3" + "hash-base": "^3.0.0", + "inherits": "^2.0.1" } }, "rlp": { @@ -9059,7 +9587,7 @@ "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.1.0.tgz", "integrity": "sha512-93U7IKH5j7nmXFVg19MeNBGzQW5uXW1pmCuKY8veeKIhYTE32C2d0mOegfiIAfXcHOKJjjPlJisn8iHDF5AezA==", "requires": { - "safe-buffer": "5.1.2" + "safe-buffer": "^5.1.1" } }, "rsa-pem-to-jwk": { @@ -9067,15 +9595,8 @@ "resolved": "https://registry.npmjs.org/rsa-pem-to-jwk/-/rsa-pem-to-jwk-1.1.3.tgz", "integrity": "sha1-JF52vbfnI0z+58oDLTG1TDj6uY4=", "requires": { - "object-assign": "2.1.1", + "object-assign": "^2.0.0", "rsa-unpack": "0.0.6" - }, - "dependencies": { - "object-assign": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz", - "integrity": "sha1-Q8NuXVaf+OSBbE76i+AtJpZ8GKo=" - } } }, "rsa-unpack": { @@ -9083,7 +9604,7 @@ "resolved": "https://registry.npmjs.org/rsa-unpack/-/rsa-unpack-0.0.6.tgz", "integrity": "sha1-9Q69VqYoN45jHylxYQJs6atO3bo=", "requires": { - "optimist": "0.3.7" + "optimist": "~0.3.5" } }, "run-queue": { @@ -9091,7 +9612,7 @@ "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", "requires": { - "aproba": "1.2.0" + "aproba": "^1.1.1" } }, "rustbn.js": { @@ -9104,12 +9625,27 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, + "safe-event-emitter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/safe-event-emitter/-/safe-event-emitter-1.0.1.tgz", + "integrity": "sha512-e1wFe99A91XYYxoQbcq2ZJUWurxEyP8vfz7A7vuUe1s95q8r5ebraVaA1BukYJcpM6V16ugWoD9vngi8Ccu5fg==", + "requires": { + "events": "^3.0.0" + }, + "dependencies": { + "events": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.0.0.tgz", + "integrity": "sha512-Dc381HFWJzEOhQ+d8pkNon++bk9h6cdAoAj4iE6Q4y6xgTzySWXlKn05/TVNpjnfRqi/X0EpJEJohPjNI3zpVA==" + } + } + }, "safe-regex": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", "requires": { - "ret": "0.1.15" + "ret": "~0.1.10" } }, "safer-buffer": { @@ -9122,13 +9658,28 @@ "resolved": "https://registry.npmjs.org/sandwich-stream/-/sandwich-stream-1.0.0.tgz", "integrity": "sha1-eDDkV5e1kzKH8fmyj4cZB0ViYvI=" }, + "schedule": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/schedule/-/schedule-0.5.0.tgz", + "integrity": "sha512-HUcJicG5Ou8xfR//c2rPT0lPIRR09vVvN81T9fqfVgBmhERUbDEQoYKjpBxbueJnCPpSu2ujXzOnRQt6x9o/jw==", + "requires": { + "object-assign": "^4.1.1" + }, + "dependencies": { + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + } + } + }, "schema-utils": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.5.tgz", - "integrity": "sha512-yYrjb9TX2k/J1Y5UNy3KYdZq10xhYcF8nMpAW6o3hy6Q8WSIEf9lJHG/ePnOBfziPM3fvQwfOwa13U/Fh8qTfA==", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", + "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", "requires": { - "ajv": "6.5.0", - "ajv-keywords": "3.2.0" + "ajv": "^6.1.0", + "ajv-keywords": "^3.1.0" } }, "scrypt": { @@ -9136,16 +9687,21 @@ "resolved": "https://registry.npmjs.org/scrypt/-/scrypt-6.0.3.tgz", "integrity": "sha1-BOAUpWgrU/pQwtXM4WfXGcBthw0=", "requires": { - "nan": "2.10.0" + "nan": "^2.0.8" } }, + "scrypt-js": { + "version": "2.0.3", + "resolved": "http://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.3.tgz", + "integrity": "sha1-uwBAvgMEPamgEqLOqfyfhSz8h9Q=" + }, "scrypt.js": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/scrypt.js/-/scrypt.js-0.2.0.tgz", "integrity": "sha1-r40UZbcemZARC+38WTuUeeA6ito=", "requires": { - "scrypt": "6.0.3", - "scryptsy": "1.2.1" + "scrypt": "^6.0.2", + "scryptsy": "^1.2.1" } }, "scryptsy": { @@ -9153,22 +9709,22 @@ "resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-1.2.1.tgz", "integrity": "sha1-oyJfpLJST4AnAHYeKFW987LZIWM=", "requires": { - "pbkdf2": "3.0.16" + "pbkdf2": "^3.0.3" } }, "secp256k1": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.5.0.tgz", - "integrity": "sha512-e5QIJl8W7Y4tT6LHffVcZAxJjvpgE5Owawv6/XCYPQljE9aP2NFFddQ8OYMKhdLshNu88FfL3qCN3/xYkXGRsA==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.5.2.tgz", + "integrity": "sha512-iin3kojdybY6NArd+UFsoTuapOF7bnJNf2UbcWXaY3z+E1sJDipl60vtzB5hbO/uquBu7z0fd4VC4Irp+xoFVQ==", "requires": { - "bindings": "1.3.0", - "bip66": "1.1.5", - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "drbg.js": "1.0.1", - "elliptic": "6.4.0", - "nan": "2.10.0", - "safe-buffer": "5.1.2" + "bindings": "^1.2.1", + "bip66": "^1.1.3", + "bn.js": "^4.11.3", + "create-hash": "^1.1.2", + "drbg.js": "^1.0.1", + "elliptic": "^6.2.3", + "nan": "^2.2.1", + "safe-buffer": "^5.1.0" } }, "seek-bzip": { @@ -9176,25 +9732,25 @@ "resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.5.tgz", "integrity": "sha1-z+kXyz0nS8/6x5J1ivUxc+sfq9w=", "requires": { - "commander": "2.8.1" + "commander": "~2.8.1" }, "dependencies": { "commander": { "version": "2.8.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz", + "resolved": "http://registry.npmjs.org/commander/-/commander-2.8.1.tgz", "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=", "requires": { - "graceful-readlink": "1.0.1" + "graceful-readlink": ">= 1.0.0" } } } }, "semantic-ui-css": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/semantic-ui-css/-/semantic-ui-css-2.3.1.tgz", - "integrity": "sha512-8M2OkoKZHfEnNUYB4Ha8q+tTAWN/g17X2l6HUg6n3DP4QDJLQl1xyhnRvM9UhJpsRvkRqgWgQLbRA6cl7Ep2dw==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/semantic-ui-css/-/semantic-ui-css-2.4.0.tgz", + "integrity": "sha512-R5fmNOWSKhRrkLeVC0n47Q1wGMs838VHWolfdeJPSKQ811j7s2jGy+9FbMEmb8u0I3Zdh92HhTEPMNlxZj5sOg==", "requires": { - "jquery": "3.3.1" + "jquery": "x.*" } }, "semantic-ui-react": { @@ -9202,32 +9758,40 @@ "resolved": "https://registry.npmjs.org/semantic-ui-react/-/semantic-ui-react-0.80.2.tgz", "integrity": "sha512-1sQ8NkxoDrd2c8wM+kdZ7mz3QMEYsbM1dV7uNe4b8D9VEaHdp640Ktp9DhmyCgXIo5BqdigJcZtb0jcWWGFfQg==", "requires": { - "@babel/runtime": "7.0.0-beta.49", - "classnames": "2.2.5", - "fbjs": "0.8.16", - "keyboard-key": "1.0.1", - "lodash": "4.17.10", - "prop-types": "15.6.1" + "@babel/runtime": "^7.0.0-beta.48", + "classnames": "^2.2.5", + "fbjs": "^0.8.16", + "keyboard-key": "^1.0.1", + "lodash": "^4.17.10", + "prop-types": "^15.6.1" }, "dependencies": { "@babel/runtime": { - "version": "7.0.0-beta.49", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.0.0-beta.49.tgz", - "integrity": "sha1-A7O/B+uYIHLI6FHdLd1RECguYb8=", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.1.2.tgz", + "integrity": "sha512-Y3SCjmhSupzFB6wcv1KmmFucH6gDVnI30WjOcicV10ju0cZjak3Jcs67YLIXBrmZYw1xCrVeJPbycFwrqNyxpg==", "requires": { - "core-js": "2.5.7", - "regenerator-runtime": "0.11.1" + "regenerator-runtime": "^0.12.0" } }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, "prop-types": { - "version": "15.6.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.1.tgz", - "integrity": "sha512-4ec7bY1Y66LymSUOH/zARVYObB23AT2h8cf6e/O6ZALB/N0sqZFEx7rq6EYPX2MkOdKORuooI/H5k9TlR4q7kQ==", + "version": "15.6.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", + "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1" + "loose-envify": "^1.3.1", + "object-assign": "^4.1.1" } + }, + "regenerator-runtime": { + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz", + "integrity": "sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg==" } } }, @@ -9237,9 +9801,9 @@ "integrity": "sha512-O4OZEaNtkMd/K0i6js9SL+gqy0ZCBMgUvlSqHKi4IBdjhe7wB8pwztUk1BbZ1fmrvpwFrPbHzqd2w5pTcJH6LA==" }, "semver": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", - "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==" + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz", + "integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==" }, "send": { "version": "0.16.1", @@ -9247,18 +9811,18 @@ "integrity": "sha512-ElCLJdJIKPk6ux/Hocwhk7NFHpI3pVm/IZOYWqUmoxcgeyM+MpxHHKhb8QmlJDX1pU6WrgaHBkVNm73Sv7uc2A==", "requires": { "debug": "2.6.9", - "depd": "1.1.1", - "destroy": "1.0.4", - "encodeurl": "1.0.2", - "escape-html": "1.0.3", - "etag": "1.8.1", + "depd": "~1.1.1", + "destroy": "~1.0.4", + "encodeurl": "~1.0.1", + "escape-html": "~1.0.3", + "etag": "~1.8.1", "fresh": "0.5.2", - "http-errors": "1.6.2", + "http-errors": "~1.6.2", "mime": "1.4.1", "ms": "2.0.0", - "on-finished": "2.3.0", - "range-parser": "1.2.0", - "statuses": "1.3.1" + "on-finished": "~2.3.0", + "range-parser": "~1.2.0", + "statuses": "~1.3.1" }, "dependencies": { "debug": { @@ -9286,9 +9850,9 @@ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz", "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==", "requires": { - "encodeurl": "1.0.2", - "escape-html": "1.0.3", - "parseurl": "1.3.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.2", "send": "0.16.2" }, "dependencies": { @@ -9311,18 +9875,18 @@ "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", "requires": { "debug": "2.6.9", - "depd": "1.1.2", - "destroy": "1.0.4", - "encodeurl": "1.0.2", - "escape-html": "1.0.3", - "etag": "1.8.1", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", "fresh": "0.5.2", - "http-errors": "1.6.2", + "http-errors": "~1.6.2", "mime": "1.4.1", "ms": "2.0.0", - "on-finished": "2.3.0", - "range-parser": "1.2.0", - "statuses": "1.4.0" + "on-finished": "~2.3.0", + "range-parser": "~1.2.0", + "statuses": "~1.4.0" } }, "statuses": { @@ -9337,11 +9901,11 @@ "resolved": "https://registry.npmjs.org/servify/-/servify-0.1.12.tgz", "integrity": "sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw==", "requires": { - "body-parser": "1.18.3", - "cors": "2.8.4", - "express": "4.16.3", - "request": "2.87.0", - "xhr": "2.5.0" + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" } }, "set-blocking": { @@ -9359,20 +9923,10 @@ "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", "requires": { - "extend-shallow": "2.0.1", - "is-extendable": "0.1.1", - "is-plain-object": "2.0.4", - "split-string": "3.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "0.1.1" - } - } + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" } }, "setimmediate": { @@ -9387,11 +9941,11 @@ }, "sha.js": { "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "resolved": "http://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", "requires": { - "inherits": "2.0.3", - "safe-buffer": "5.1.2" + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" } }, "sha3": { @@ -9400,6 +9954,13 @@ "integrity": "sha1-pmxQmN5MJbyIM27ItIF9AFvKe6k=", "requires": { "nan": "2.10.0" + }, + "dependencies": { + "nan": { + "version": "2.10.0", + "resolved": "http://registry.npmjs.org/nan/-/nan-2.10.0.tgz", + "integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==" + } } }, "shallow-copy": { @@ -9407,17 +9968,12 @@ "resolved": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.1.tgz", "integrity": "sha1-QV9CcC1z2BAzApLMXuhurhoRoXA=" }, - "shallowequal": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.0.2.tgz", - "integrity": "sha512-zlVXeVUKvo+HEv1e2KQF/csyeMKx2oHvatQ9l6XjCUj3agvC8XGf6R9HvIPDSmp8FNPvx7b5kaEJTRi7CqxtEw==" - }, "shebang-command": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", "requires": { - "shebang-regex": "1.0.0" + "shebang-regex": "^1.0.0" } }, "shebang-regex": { @@ -9440,7 +9996,7 @@ "resolved": "https://registry.npmjs.org/signed-varint/-/signed-varint-2.0.1.tgz", "integrity": "sha1-UKmYnafJjCxh2tEZvJdHDvhSgSk=", "requires": { - "varint": "5.0.0" + "varint": "~5.0.0" } }, "simple-concat": { @@ -9453,9 +10009,9 @@ "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-2.8.1.tgz", "integrity": "sha512-lSSHRSw3mQNUGPAYRqo7xy9dhKmxFXIjLjp4KHpf99GEH2VH7C3AM+Qfx6du6jhfUi6Vm7XnbEVEf7Wb6N8jRw==", "requires": { - "decompress-response": "3.3.0", - "once": "1.4.0", - "simple-concat": "1.0.0" + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" } }, "slash": { @@ -9468,14 +10024,14 @@ "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", "requires": { - "base": "0.11.2", - "debug": "2.6.9", - "define-property": "0.2.5", - "extend-shallow": "2.0.1", - "map-cache": "0.2.2", - "source-map": "0.5.7", - "source-map-resolve": "0.5.2", - "use": "3.1.0" + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" }, "dependencies": { "debug": { @@ -9491,16 +10047,13 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "requires": { - "is-descriptor": "0.1.6" + "is-descriptor": "^0.1.0" } }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "0.1.1" - } + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" } } }, @@ -9509,9 +10062,9 @@ "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", "requires": { - "define-property": "1.0.0", - "isobject": "3.0.1", - "snapdragon-util": "3.0.1" + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" }, "dependencies": { "define-property": { @@ -9519,7 +10072,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "requires": { - "is-descriptor": "1.0.2" + "is-descriptor": "^1.0.0" } }, "is-accessor-descriptor": { @@ -9527,7 +10080,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": "6.0.2" + "kind-of": "^6.0.0" } }, "is-data-descriptor": { @@ -9535,7 +10088,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": "6.0.2" + "kind-of": "^6.0.0" } }, "is-descriptor": { @@ -9543,9 +10096,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "requires": { - "is-accessor-descriptor": "1.0.0", - "is-data-descriptor": "1.0.0", - "kind-of": "6.0.2" + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" } }, "isobject": { @@ -9565,7 +10118,7 @@ "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", "requires": { - "kind-of": "3.2.2" + "kind-of": "^3.2.0" } }, "solc": { @@ -9573,11 +10126,11 @@ "resolved": "https://registry.npmjs.org/solc/-/solc-0.4.24.tgz", "integrity": "sha512-2xd7Cf1HeVwrIb6Bu1cwY2/TaLRodrppCq3l7rhLimFQgmxptXhTC3+/wesVLpB09F1A2kZgvbMOgH7wvhFnBQ==", "requires": { - "fs-extra": "0.30.0", - "memorystream": "0.3.1", - "require-from-string": "1.2.1", - "semver": "5.5.0", - "yargs": "4.8.1" + "fs-extra": "^0.30.0", + "memorystream": "^0.3.1", + "require-from-string": "^1.1.0", + "semver": "^5.3.0", + "yargs": "^4.7.1" }, "dependencies": { "camelcase": { @@ -9590,9 +10143,9 @@ "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", "requires": { - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "wrap-ansi": "2.1.0" + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" } }, "find-up": { @@ -9600,40 +10153,33 @@ "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", "requires": { - "path-exists": "2.1.0", - "pinkie-promise": "2.0.1" + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" } }, - "fs-extra": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", - "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", - "requires": { - "graceful-fs": "4.1.11", - "jsonfile": "2.4.0", - "klaw": "1.3.1", - "path-is-absolute": "1.0.1", - "rimraf": "2.6.2" - } + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" }, "load-json-file": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", "requires": { - "graceful-fs": "4.1.11", - "parse-json": "2.2.0", - "pify": "2.3.0", - "pinkie-promise": "2.0.1", - "strip-bom": "2.0.0" + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" } }, "os-locale": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", "requires": { - "lcid": "1.0.0" + "lcid": "^1.0.0" } }, "path-exists": { @@ -9641,7 +10187,7 @@ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", "requires": { - "pinkie-promise": "2.0.1" + "pinkie-promise": "^2.0.0" } }, "path-type": { @@ -9649,9 +10195,9 @@ "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", "requires": { - "graceful-fs": "4.1.11", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" } }, "pify": { @@ -9664,9 +10210,9 @@ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", "requires": { - "load-json-file": "1.1.0", - "normalize-package-data": "2.4.0", - "path-type": "1.1.0" + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" } }, "read-pkg-up": { @@ -9674,8 +10220,8 @@ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", "requires": { - "find-up": "1.1.2", - "read-pkg": "1.1.0" + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" } }, "string-width": { @@ -9683,17 +10229,9 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" - } - }, - "strip-bom": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", - "requires": { - "is-utf8": "0.2.1" + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" } }, "which-module": { @@ -9713,23 +10251,23 @@ }, "yargs": { "version": "4.8.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-4.8.1.tgz", + "resolved": "http://registry.npmjs.org/yargs/-/yargs-4.8.1.tgz", "integrity": "sha1-wMQpJMpKqmsObaFznfshZDn53cA=", "requires": { - "cliui": "3.2.0", - "decamelize": "1.2.0", - "get-caller-file": "1.0.2", - "lodash.assign": "4.2.0", - "os-locale": "1.4.0", - "read-pkg-up": "1.0.1", - "require-directory": "2.1.1", - "require-main-filename": "1.0.1", - "set-blocking": "2.0.0", - "string-width": "1.0.2", - "which-module": "1.0.0", - "window-size": "0.2.0", - "y18n": "3.2.1", - "yargs-parser": "2.4.1" + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "lodash.assign": "^4.0.3", + "os-locale": "^1.4.0", + "read-pkg-up": "^1.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^1.0.1", + "which-module": "^1.0.0", + "window-size": "^0.2.0", + "y18n": "^3.2.1", + "yargs-parser": "^2.4.1" } }, "yargs-parser": { @@ -9737,8 +10275,8 @@ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz", "integrity": "sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ=", "requires": { - "camelcase": "3.0.0", - "lodash.assign": "4.2.0" + "camelcase": "^3.0.0", + "lodash.assign": "^4.0.6" } } } @@ -9749,20 +10287,20 @@ "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==" }, "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, "source-map-resolve": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", "requires": { - "atob": "2.1.1", - "decode-uri-component": "0.2.0", - "resolve-url": "0.2.1", - "source-map-url": "0.4.0", - "urix": "0.1.0" + "atob": "^2.1.1", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" } }, "source-map-support": { @@ -9770,7 +10308,14 @@ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", "requires": { - "source-map": "0.5.7" + "source-map": "^0.5.6" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } } }, "source-map-url": { @@ -9779,39 +10324,58 @@ "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=" }, "spdx-correct": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.0.tgz", - "integrity": "sha512-N19o9z5cEyc8yQQPukRCZ9EUmb4HUpnrmaL/fxS2pBo2jbfcFRVuFZ/oFC+vZz0MNNk0h80iMn5/S6qGZOL5+g==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.2.tgz", + "integrity": "sha512-q9hedtzyXHr5S0A1vEPoK/7l8NpfkFYTq6iCY+Pno2ZbdZR6WexZFtqeVGkGxW3TEJMN914Z55EnAGMmenlIQQ==", "requires": { - "spdx-expression-parse": "3.0.0", - "spdx-license-ids": "3.0.0" + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" } }, "spdx-exceptions": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz", - "integrity": "sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==" }, "spdx-expression-parse": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", "requires": { - "spdx-exceptions": "2.1.0", - "spdx-license-ids": "3.0.0" + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" } }, "spdx-license-ids": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz", - "integrity": "sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA==" + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.1.tgz", + "integrity": "sha512-TfOfPcYGBB5sDuPn3deByxPhmfegAhpDYKSOXZQN81Oyrrif8ZCodOLzK3AesELnCx03kikhyDwh0pfvvQvF8w==" }, "split-string": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", "requires": { - "extend-shallow": "3.0.2" + "extend-shallow": "^3.0.0" + }, + "dependencies": { + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "requires": { + "is-plain-object": "^2.0.4" + } + } } }, "split2": { @@ -9819,7 +10383,7 @@ "resolved": "https://registry.npmjs.org/split2/-/split2-2.2.0.tgz", "integrity": "sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw==", "requires": { - "through2": "2.0.3" + "through2": "^2.0.2" } }, "sprintf-js": { @@ -9828,18 +10392,33 @@ "integrity": "sha1-z/yvcC2vZeo5u04PorKZzsGhvkY=" }, "sshpk": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.1.tgz", - "integrity": "sha1-Ew9Zde3a2WPx1W+SuaxsUfqfg+s=", + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz", + "integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=", "requires": { - "asn1": "0.2.3", - "assert-plus": "1.0.0", - "bcrypt-pbkdf": "1.0.1", - "dashdash": "1.14.1", - "ecc-jsbn": "0.1.1", - "getpass": "0.1.7", - "jsbn": "0.1.1", - "tweetnacl": "0.14.5" + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "dependencies": { + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "optional": true + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "optional": true + } } }, "ssri": { @@ -9847,7 +10426,7 @@ "resolved": "https://registry.npmjs.org/ssri/-/ssri-5.3.0.tgz", "integrity": "sha512-XRSIPqLij52MtgoQavH/x/dU1qVKtWUAAZeOHsR9c2Ddi4XerFy3mc1alf+dLJKl9EUIm/Ht+EowFkTUOA6GAQ==", "requires": { - "safe-buffer": "5.1.2" + "safe-buffer": "^5.1.1" } }, "stable": { @@ -9865,7 +10444,7 @@ "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.0.0.tgz", "integrity": "sha512-6flshd3F1Gwm+Ksxq463LtFd1liC77N/PX1FVVc3OzL3hAmo2fwHFbuArkcfi7s9rTNsLEhcRmXGFZhlgy40uw==", "requires": { - "escodegen": "1.9.1" + "escodegen": "^1.8.1" } }, "static-extend": { @@ -9873,8 +10452,8 @@ "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", "requires": { - "define-property": "0.2.5", - "object-copy": "0.1.0" + "define-property": "^0.2.5", + "object-copy": "^0.1.0" }, "dependencies": { "define-property": { @@ -9882,7 +10461,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "requires": { - "is-descriptor": "0.1.6" + "is-descriptor": "^0.1.0" } } } @@ -9892,27 +10471,20 @@ "resolved": "https://registry.npmjs.org/static-module/-/static-module-2.2.5.tgz", "integrity": "sha512-D8vv82E/Kpmz3TXHKG8PPsCPg+RAX6cbCOyvjM6x04qZtQ47EtJFVwRsdov3n5d6/6ynrOY9XB4JkaZwB2xoRQ==", "requires": { - "concat-stream": "1.6.2", - "convert-source-map": "1.5.1", - "duplexer2": "0.1.4", - "escodegen": "1.9.1", - "falafel": "2.1.0", - "has": "1.0.1", - "magic-string": "0.22.5", + "concat-stream": "~1.6.0", + "convert-source-map": "^1.5.1", + "duplexer2": "~0.1.4", + "escodegen": "~1.9.0", + "falafel": "^2.1.0", + "has": "^1.0.1", + "magic-string": "^0.22.4", "merge-source-map": "1.0.4", - "object-inspect": "1.4.1", - "quote-stream": "1.0.2", - "readable-stream": "2.3.6", - "shallow-copy": "0.0.1", - "static-eval": "2.0.0", - "through2": "2.0.3" - }, - "dependencies": { - "object-inspect": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.4.1.tgz", - "integrity": "sha512-wqdhLpfCUbEsoEwl3FXwGyv8ief1k/1aUdIPCqVnupM6e8l63BEJdiF/0swtn04/8p05tG/T0FrpTlfwvljOdw==" - } + "object-inspect": "~1.4.0", + "quote-stream": "~1.0.2", + "readable-stream": "~2.3.3", + "shallow-copy": "~0.0.1", + "static-eval": "^2.0.0", + "through2": "~2.0.3" } }, "statuses": { @@ -9925,17 +10497,17 @@ "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.6" + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" } }, "stream-each": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.2.tgz", - "integrity": "sha512-mc1dbFhGBxvTM3bIWmAAINbqiuAk9TATcfIQC8P+/+HJefgaiTlMn2dHvkX8qlI12KeYKSQ1Ua9RrIqrn1VPoA==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", + "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", "requires": { - "end-of-stream": "1.4.1", - "stream-shift": "1.0.0" + "end-of-stream": "^1.1.0", + "stream-shift": "^1.0.0" } }, "stream-http": { @@ -9943,11 +10515,11 @@ "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", "requires": { - "builtin-status-codes": "3.0.0", - "inherits": "2.0.3", - "readable-stream": "2.3.6", - "to-arraybuffer": "1.0.1", - "xtend": "4.0.1" + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "to-arraybuffer": "^1.0.0", + "xtend": "^4.0.0" } }, "stream-shift": { @@ -9960,8 +10532,8 @@ "resolved": "https://registry.npmjs.org/stream-to-pull-stream/-/stream-to-pull-stream-1.7.2.tgz", "integrity": "sha1-dXYJrhzr0zx0MtSvvjH/eGULnd4=", "requires": { - "looper": "3.0.0", - "pull-stream": "3.6.8" + "looper": "^3.0.0", + "pull-stream": "^3.2.3" } }, "streamifier": { @@ -9984,7 +10556,7 @@ "resolved": "https://registry.npmjs.org/string-length/-/string-length-1.0.1.tgz", "integrity": "sha1-VpcPscOFWOnnC3KL894mmsRa36w=", "requires": { - "strip-ansi": "3.0.1" + "strip-ansi": "^3.0.0" } }, "string-width": { @@ -9992,8 +10564,8 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "requires": { - "is-fullwidth-code-point": "2.0.0", - "strip-ansi": "4.0.0" + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" }, "dependencies": { "ansi-regex": { @@ -10011,7 +10583,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "requires": { - "ansi-regex": "3.0.0" + "ansi-regex": "^3.0.0" } } } @@ -10021,9 +10593,9 @@ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz", "integrity": "sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=", "requires": { - "define-properties": "1.1.2", - "es-abstract": "1.12.0", - "function-bind": "1.1.1" + "define-properties": "^1.1.2", + "es-abstract": "^1.5.0", + "function-bind": "^1.0.2" } }, "string_decoder": { @@ -10031,28 +10603,31 @@ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "requires": { - "safe-buffer": "5.1.2" + "safe-buffer": "~5.1.0" } }, "strip-ansi": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "requires": { - "ansi-regex": "2.1.1" + "ansi-regex": "^2.0.0" } }, "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "requires": { + "is-utf8": "^0.2.0" + } }, "strip-dirs": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.1.0.tgz", "integrity": "sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g==", "requires": { - "is-natural-number": "4.0.1" + "is-natural-number": "^4.0.1" } }, "strip-eof": { @@ -10075,7 +10650,7 @@ }, "styled-jsx": { "version": "2.2.6", - "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-2.2.6.tgz", + "resolved": "http://registry.npmjs.org/styled-jsx/-/styled-jsx-2.2.6.tgz", "integrity": "sha512-lx678TbNf56I7W4JezJqbLdSiTOpuKvixaZTCjHapFbuJQV3b3dByza6u8+cPRtG/PAmBHeA61croO77rp5auw==", "requires": { "babel-plugin-syntax-jsx": "6.18.0", @@ -10087,10 +10662,10 @@ "stylis-rule-sheet": "0.0.8" }, "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + "convert-source-map": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", + "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=" } } }, @@ -10105,11 +10680,11 @@ "integrity": "sha512-UgR/mJxew0tbNFXzkm60G26bkyYAnzf8OqB9pX2okFYxwEUpuxQ6E5lKhHH23Fs4F5aU6axCtNZRaB8ZdVrWvQ==" }, "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "3.0.0" + "has-flag": "^3.0.0" } }, "swarm-js": { @@ -10117,29 +10692,43 @@ "resolved": "https://registry.npmjs.org/swarm-js/-/swarm-js-0.1.37.tgz", "integrity": "sha512-G8gi5fcXP/2upwiuOShJ258sIufBVztekgobr3cVgYXObZwJ5AXLqZn52AI+/ffft29pJexF9WNdUxjlkVehoQ==", "requires": { - "bluebird": "3.5.1", - "buffer": "5.1.0", - "decompress": "4.2.0", - "eth-lib": "0.1.27", - "fs-extra": "2.1.2", - "fs-promise": "2.0.3", - "got": "7.1.0", - "mime-types": "2.1.18", - "mkdirp-promise": "5.0.1", - "mock-fs": "4.5.0", - "setimmediate": "1.0.5", - "tar.gz": "1.0.7", - "xhr-request-promise": "0.1.2" + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "decompress": "^4.0.0", + "eth-lib": "^0.1.26", + "fs-extra": "^2.1.2", + "fs-promise": "^2.0.0", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar.gz": "^1.0.5", + "xhr-request-promise": "^0.1.2" }, "dependencies": { "buffer": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.1.0.tgz", - "integrity": "sha512-YkIRgwsZwJWTnyQrsBTWefizHh+8GYj3kbL1BTiAQ/9pwpino0G7B2gp5tx/FUBqUlvtxV85KNR3mwfAtv15Yw==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz", + "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==", + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4" + } + }, + "fs-extra": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz", + "integrity": "sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU=", "requires": { - "base64-js": "1.3.0", - "ieee754": "1.1.11" + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0" } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" } } }, @@ -10153,35 +10742,32 @@ "resolved": "https://registry.npmjs.org/tape/-/tape-4.9.1.tgz", "integrity": "sha512-6fKIXknLpoe/Jp4rzHKFPpJUHDHDqn8jus99IfPnHIjyz78HYlefTGD3b5EkbQzuLfaEvmfPK3IolLgq2xT3kw==", "requires": { - "deep-equal": "1.0.1", - "defined": "1.0.0", - "for-each": "0.3.3", - "function-bind": "1.1.1", - "glob": "7.1.2", - "has": "1.0.3", - "inherits": "2.0.3", - "minimist": "1.2.0", - "object-inspect": "1.6.0", - "resolve": "1.7.1", - "resumer": "0.0.0", - "string.prototype.trim": "1.1.2", - "through": "2.3.8" + "deep-equal": "~1.0.1", + "defined": "~1.0.0", + "for-each": "~0.3.3", + "function-bind": "~1.1.1", + "glob": "~7.1.2", + "has": "~1.0.3", + "inherits": "~2.0.3", + "minimist": "~1.2.0", + "object-inspect": "~1.6.0", + "resolve": "~1.7.1", + "resumer": "~0.0.0", + "string.prototype.trim": "~1.1.2", + "through": "~2.3.8" }, "dependencies": { - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "requires": { - "function-bind": "1.1.1" - } + "object-inspect": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.6.0.tgz", + "integrity": "sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==" }, "resolve": { "version": "1.7.1", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz", "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==", "requires": { - "path-parse": "1.0.5" + "path-parse": "^1.0.5" } } } @@ -10191,23 +10777,23 @@ "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", "requires": { - "block-stream": "0.0.9", - "fstream": "1.0.11", - "inherits": "2.0.3" + "block-stream": "*", + "fstream": "^1.0.2", + "inherits": "2" } }, "tar-stream": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.1.tgz", - "integrity": "sha512-IFLM5wp3QrJODQFPm6/to3LJZrONdBY/otxcvDIQzu217zKye6yVR3hhi9lAjrC2Z+m/j5oDxMPb1qcd8cIvpA==", + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.2.tgz", + "integrity": "sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A==", "requires": { - "bl": "1.2.2", - "buffer-alloc": "1.2.0", - "end-of-stream": "1.4.1", - "fs-constants": "1.0.0", - "readable-stream": "2.3.6", - "to-buffer": "1.1.1", - "xtend": "4.0.1" + "bl": "^1.0.0", + "buffer-alloc": "^1.2.0", + "end-of-stream": "^1.0.0", + "fs-constants": "^1.0.0", + "readable-stream": "^2.3.0", + "to-buffer": "^1.1.1", + "xtend": "^4.0.0" } }, "tar.gz": { @@ -10215,16 +10801,16 @@ "resolved": "https://registry.npmjs.org/tar.gz/-/tar.gz-1.0.7.tgz", "integrity": "sha512-uhGatJvds/3diZrETqMj4RxBR779LKlIE74SsMcn5JProZsfs9j0QBwWO1RW+IWNJxS2x8Zzra1+AW6OQHWphg==", "requires": { - "bluebird": "2.11.0", - "commander": "2.13.0", - "fstream": "1.0.11", - "mout": "0.11.1", - "tar": "2.2.1" + "bluebird": "^2.9.34", + "commander": "^2.8.1", + "fstream": "^1.0.8", + "mout": "^0.11.0", + "tar": "^2.1.1" }, "dependencies": { "bluebird": { "version": "2.11.0", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-2.11.0.tgz", + "resolved": "http://registry.npmjs.org/bluebird/-/bluebird-2.11.0.tgz", "integrity": "sha1-U0uQM8AiyVecVro7Plpcqvu2UOE=" } } @@ -10234,7 +10820,7 @@ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.0.tgz", "integrity": "sha1-5p44obq+lpsBCCB5eLn2K4hgSDk=", "requires": { - "any-promise": "1.3.0" + "any-promise": "^1.0.0" } }, "thenify-all": { @@ -10242,12 +10828,12 @@ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", "integrity": "sha1-GhkY1ALY/D+Y+/I02wvMjMEOlyY=", "requires": { - "thenify": "3.3.0" + "thenify": ">= 3.1.0 < 4" } }, "through": { "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz", "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" }, "through2": { @@ -10255,8 +10841,8 @@ "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", "requires": { - "readable-stream": "2.3.6", - "xtend": "4.0.1" + "readable-stream": "^2.1.5", + "xtend": "~4.0.1" } }, "through2-filter": { @@ -10264,14 +10850,14 @@ "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-2.0.0.tgz", "integrity": "sha1-YLxVoNrLdghdsfna6Zq0P4PWIuw=", "requires": { - "through2": "2.0.3", - "xtend": "4.0.1" + "through2": "~2.0.0", + "xtend": "~4.0.0" } }, "time-stamp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-2.0.0.tgz", - "integrity": "sha1-lcakRTDhW6jW9KPsuMOj+sRto1c=" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-2.1.0.tgz", + "integrity": "sha512-lJbq6KsFhZJtN3fPUVje1tq/hHsJOKUUcUj/MGCiQR6qWBDcyi5kxL9J7/RnaEChCn0+L/DUN2WvemDrkk4i3Q==" }, "timed-out": { "version": "4.0.1", @@ -10283,7 +10869,7 @@ "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.10.tgz", "integrity": "sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg==", "requires": { - "setimmediate": "1.0.5" + "setimmediate": "^1.0.4" } }, "to-absolute-glob": { @@ -10291,17 +10877,7 @@ "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz", "integrity": "sha1-HN+kcqnvUMI57maZm2YsoOs5k38=", "requires": { - "extend-shallow": "2.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "0.1.1" - } - } + "extend-shallow": "^2.0.1" } }, "to-arraybuffer": { @@ -10324,7 +10900,7 @@ "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", "requires": { - "kind-of": "3.2.2" + "kind-of": "^3.0.2" } }, "to-regex": { @@ -10332,10 +10908,29 @@ "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", "requires": { - "define-property": "2.0.2", - "extend-shallow": "3.0.2", - "regex-not": "1.0.2", - "safe-regex": "1.1.0" + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "requires": { + "is-plain-object": "^2.0.4" + } + } } }, "to-regex-range": { @@ -10343,8 +10938,8 @@ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", "requires": { - "is-number": "3.0.0", - "repeat-string": "1.6.1" + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" }, "dependencies": { "is-number": { @@ -10352,7 +10947,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "requires": { - "kind-of": "3.2.2" + "kind-of": "^3.0.2" } } } @@ -10362,15 +10957,16 @@ "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", "requires": { - "nopt": "1.0.10" + "nopt": "~1.0.10" } }, "tough-cookie": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz", - "integrity": "sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==", + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", "requires": { - "punycode": "1.4.1" + "psl": "^1.1.24", + "punycode": "^1.4.1" }, "dependencies": { "punycode": { @@ -10401,11 +10997,11 @@ "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=" }, "truffle": { - "version": "4.1.13", - "resolved": "https://registry.npmjs.org/truffle/-/truffle-4.1.13.tgz", - "integrity": "sha1-vydYaYi0/4RWPt+/MrR5QUCKdq0=", + "version": "4.1.14", + "resolved": "https://registry.npmjs.org/truffle/-/truffle-4.1.14.tgz", + "integrity": "sha512-e7tTLvKP3bN9dE7MagfWyFjy4ZgoEGbeujECy1me1ENBzbj/aO/+45gs72qsL3+3IkCNNcWNOJjjrm8BYZZNNg==", "requires": { - "mocha": "4.1.0", + "mocha": "^4.1.0", "original-require": "1.0.1", "solc": "0.4.24" } @@ -10415,22 +11011,26 @@ "resolved": "https://registry.npmjs.org/truffle-hdwallet-provider/-/truffle-hdwallet-provider-0.0.6.tgz", "integrity": "sha512-vh1nCk9+COz9Z1BnDYjrZEc8Z4KCWeoThAX6U13SpHMuSL7gX40ZDWszlVmovPLEwHSJBh/OaFmaduKfeXT9rA==", "requires": { - "bip39": "2.5.0", + "bip39": "^2.2.0", "ethereumjs-wallet": "0.6.0", - "web3": "0.18.4", - "web3-provider-engine": "14.0.6" + "web3": "^0.18.2", + "web3-provider-engine": "^14.0.5" }, "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2", + "from": "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2" + }, "web3": { "version": "0.18.4", "resolved": "https://registry.npmjs.org/web3/-/web3-0.18.4.tgz", "integrity": "sha1-gewXhBRUkfLqqJVbMcBgSeB8Xn0=", "requires": { "bignumber.js": "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2", - "crypto-js": "3.1.8", - "utf8": "2.1.1", - "xhr2": "0.1.4", - "xmlhttprequest": "1.8.0" + "crypto-js": "^3.1.4", + "utf8": "^2.1.1", + "xhr2": "*", + "xmlhttprequest": "*" } } } @@ -10445,21 +11045,20 @@ "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", "requires": { - "safe-buffer": "5.1.2" + "safe-buffer": "^5.0.1" } }, "tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", - "optional": true + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.0.tgz", + "integrity": "sha1-cT2LgY2kIGh0C/aDhtBHnmb8ins=" }, "type-check": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", "requires": { - "prelude-ls": "1.1.2" + "prelude-ls": "~1.1.2" } }, "type-is": { @@ -10468,7 +11067,7 @@ "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==", "requires": { "media-typer": "0.3.0", - "mime-types": "2.1.18" + "mime-types": "~2.1.18" } }, "typedarray": { @@ -10481,7 +11080,7 @@ "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", "requires": { - "is-typedarray": "1.0.0" + "is-typedarray": "^1.0.0" } }, "ua-parser-js": { @@ -10494,14 +11093,14 @@ "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.9.tgz", "integrity": "sha512-r+MU0rfv4L/0eeW3xZrd16t4NZfK8Ld4SWVglYBb7ez5uXFWHuVRs6xCTrf1yirs9a4j4Y27nn7SRfO6v67XsQ==", "requires": { - "commander": "2.13.0", - "source-map": "0.6.1" + "commander": "~2.13.0", + "source-map": "~0.6.1" }, "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + "commander": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", + "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==" } } }, @@ -10516,21 +11115,14 @@ "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.1.6.tgz", "integrity": "sha512-VUja+7rYbznEvUaeb8IxOCTUrq4BCb1ml0vffa+mfwKtrAwlqnU0ENF14DtYltV1cxd/HSuK51CCA/D/8kMQVw==", "requires": { - "cacache": "10.0.4", - "find-cache-dir": "1.0.0", - "schema-utils": "0.4.5", - "serialize-javascript": "1.5.0", - "source-map": "0.6.1", - "uglify-es": "3.3.9", - "webpack-sources": "1.1.0", - "worker-farm": "1.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - } + "cacache": "^10.0.1", + "find-cache-dir": "^1.0.0", + "schema-utils": "^0.4.2", + "serialize-javascript": "^1.4.0", + "source-map": "^0.6.1", + "uglify-es": "^3.3.4", + "webpack-sources": "^1.1.0", + "worker-farm": "^1.5.2" } }, "ultron": { @@ -10539,12 +11131,12 @@ "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==" }, "unbzip2-stream": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.2.5.tgz", - "integrity": "sha512-izD3jxT8xkzwtXRUZjtmRwKnZoeECrfZ8ra/ketwOcusbZEp4mjULMnJOCfTDZBgGQAAY1AJ/IgxcwkavcX9Og==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.3.0.tgz", + "integrity": "sha512-kE2WkurNnPUMcryNioS68DDbhoPB8Qxsd8btHSj+sd5Pjh2GsjmeHLzMSqV9HHziAo8FzVxVCJl9ZYhk7yY1pA==", "requires": { - "buffer": "3.6.0", - "through": "2.3.8" + "buffer": "^3.0.1", + "through": "^2.3.6" }, "dependencies": { "base64-js": { @@ -10554,12 +11146,12 @@ }, "buffer": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-3.6.0.tgz", + "resolved": "http://registry.npmjs.org/buffer/-/buffer-3.6.0.tgz", "integrity": "sha1-pyyTb3e5a/UvX357RnGAYoVR3vs=", "requires": { "base64-js": "0.0.8", - "ieee754": "1.1.11", - "isarray": "1.0.0" + "ieee754": "^1.1.4", + "isarray": "^1.0.0" } } } @@ -10575,75 +11167,67 @@ "integrity": "sha1-jR4FE6Ts0OX/LUGmund3Gq6LZII=" }, "unicode-canonical-property-names-ecmascript": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.3.tgz", - "integrity": "sha512-iG/2t0F2LAU8aZYPkX5gi7ebukHnr3sWFESpb+zPQeeaQwOkfoO6ZW17YX7MdRPNG9pCy+tjzGill+Ah0Em0HA==" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", + "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==" }, "unicode-match-property-ecmascript": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.3.tgz", - "integrity": "sha512-nFcaBFcr08UQNF15ZgI5ISh3yUnQm7SJRRxwYrL5VYX46pS+6Q7TCTv4zbK+j6/l7rQt0mMiTL2zpmeygny6rA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz", + "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", "requires": { - "unicode-canonical-property-names-ecmascript": "1.0.3", - "unicode-property-aliases-ecmascript": "1.0.3" + "unicode-canonical-property-names-ecmascript": "^1.0.4", + "unicode-property-aliases-ecmascript": "^1.0.4" } }, "unicode-match-property-value-ecmascript": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.0.1.tgz", - "integrity": "sha512-lM8B0FDZQh9yYGgiabRQcyWicB27VLOolSBRIxsO7FeQPtg+79Oe7sC8Mzr8BObDs+G9CeYmC/shHo6OggNEog==" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.0.2.tgz", + "integrity": "sha512-Rx7yODZC1L/T8XKo/2kNzVAQaRE88AaMvI1EF/Xnj3GW2wzN6fop9DDWuFAKUVFH7vozkz26DzP0qyWLKLIVPQ==" }, "unicode-property-aliases-ecmascript": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.3.tgz", - "integrity": "sha512-TdDmDOTxEf2ad1g3ZBpM6cqKIb2nJpVlz1Q++casDryKz18tpeMBhSng9hjC1CTQCkOV9Rw2knlSB6iRo7ad1w==" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.4.tgz", + "integrity": "sha512-2WSLa6OdYd2ng8oqiGIWnJqyFArvhn+5vgx5GTxMbUYjCYKUcuKS62YLFF0R/BDGlB1yzXjQOLtPAfHsgirEpg==" }, "union-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", "requires": { - "arr-union": "3.1.0", - "get-value": "2.0.6", - "is-extendable": "0.1.1", - "set-value": "0.4.3" + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^0.4.3" }, "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "0.1.1" - } - }, "set-value": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", "requires": { - "extend-shallow": "2.0.1", - "is-extendable": "0.1.1", - "is-plain-object": "2.0.4", - "to-object-path": "0.3.0" + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.1", + "to-object-path": "^0.3.0" } } } }, "unique-filename": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.0.tgz", - "integrity": "sha1-0F8v5AMlYIcfMOk8vnNe6iAVFPM=", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", + "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", "requires": { - "unique-slug": "2.0.0" + "unique-slug": "^2.0.0" } }, "unique-slug": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.0.tgz", - "integrity": "sha1-22Z258fMBimHj/GWCXx4hVrp9Ks=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.1.tgz", + "integrity": "sha512-n9cU6+gITaVu7VGj1Z8feKMmfAjEAQGhwD9fE3zvpRRa0wEIx8ODYkVGfSc94M2OX00tUFV8wH3zYbm1I8mxFg==", "requires": { - "imurmurhash": "0.1.4" + "imurmurhash": "^0.1.4" } }, "unique-stream": { @@ -10651,8 +11235,8 @@ "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.2.1.tgz", "integrity": "sha1-WqADz76Uxf+GbE59ZouxxNuts2k=", "requires": { - "json-stable-stringify": "1.0.1", - "through2-filter": "2.0.0" + "json-stable-stringify": "^1.0.0", + "through2-filter": "^2.0.0" } }, "unorm": { @@ -10670,8 +11254,8 @@ "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", "requires": { - "has-value": "0.3.1", - "isobject": "3.0.1" + "has-value": "^0.3.1", + "isobject": "^3.0.0" }, "dependencies": { "has-value": { @@ -10679,9 +11263,9 @@ "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", "requires": { - "get-value": "2.0.6", - "has-values": "0.1.4", - "isobject": "2.1.0" + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" }, "dependencies": { "isobject": { @@ -10712,9 +11296,9 @@ "integrity": "sha512-bzpH/oBhoS/QI/YtbkqCg6VEiPYjSZtrHQM6/QnJS6OL9pKUFLqb3aFh4Scvwm45+7iAgiMkLhSbaZxUqmrprw==" }, "update-check": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/update-check/-/update-check-1.4.0.tgz", - "integrity": "sha512-KSPgYhsCqS78LnMmJIcsh1BIOaOvSRPDo8x7Qcz0LF5ZsaioDyiVon5o0wqZgzkrU4jgrm5yuu9Ec/B84N6TZg==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/update-check/-/update-check-1.5.2.tgz", + "integrity": "sha512-1TrmYLuLj/5ZovwUS7fFd1jMH3NnFDN1y1A8dboedIDt7zs/zJMo6TwwlhYKkSeEwzleeiSBV5/3c9ufAQWDaQ==", "requires": { "registry-auth-token": "3.3.2", "registry-url": "3.1.0" @@ -10725,7 +11309,7 @@ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", "requires": { - "punycode": "2.1.1" + "punycode": "^2.1.0" } }, "urix": { @@ -10754,7 +11338,7 @@ "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", "requires": { - "prepend-http": "1.0.4" + "prepend-http": "^1.0.1" } }, "url-set-query": { @@ -10768,38 +11352,21 @@ "integrity": "sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k=" }, "use": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.0.tgz", - "integrity": "sha512-6UJEQM/L+mzC3ZJNM56Q4DFGLX/evKGRg15UJHGB9X5j5Z3AFbgZvjUh2yq/UJUY4U5dh7Fal++XbNg1uzpRAw==", - "requires": { - "kind-of": "6.0.2" - }, - "dependencies": { - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" - } - } + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==" }, "utf8": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.2.tgz", + "integrity": "sha1-H6DZJw6b6FDZsFAn9jUZv0ZFfZY=" }, "util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", "requires": { - "inherits": "2.0.1" - }, - "dependencies": { - "inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=" - } + "inherits": "2.0.3" } }, "util-deprecate": { @@ -10807,6 +11374,15 @@ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, + "util.promisify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz", + "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==", + "requires": { + "define-properties": "^1.1.2", + "object.getownpropertydescriptors": "^2.0.3" + } + }, "utils-merge": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", @@ -10818,12 +11394,12 @@ "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==" }, "validate-npm-package-license": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz", - "integrity": "sha512-63ZOUnL4SIXj4L0NixR3L1lcjO38crAbgrTpl28t8jjrfuiOBL5Iygm+60qPs/KsZGzPNg6Smnc/oY16QTjF0g==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "requires": { - "spdx-correct": "3.0.0", - "spdx-expression-parse": "3.0.0" + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" } }, "varint": { @@ -10841,9 +11417,9 @@ "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", "requires": { - "assert-plus": "1.0.0", + "assert-plus": "^1.0.0", "core-util-is": "1.0.2", - "extsprintf": "1.3.0" + "extsprintf": "^1.2.0" } }, "vinyl": { @@ -10851,16 +11427,9 @@ "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.5.3.tgz", "integrity": "sha1-sEVbOPxeDPMNQyUTLkYZcMIJHN4=", "requires": { - "clone": "1.0.4", - "clone-stats": "0.0.1", + "clone": "^1.0.0", + "clone-stats": "^0.0.1", "replace-ext": "0.0.1" - }, - "dependencies": { - "clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" - } } }, "vinyl-fs-browser": { @@ -10868,17 +11437,17 @@ "resolved": "https://registry.npmjs.org/vinyl-fs-browser/-/vinyl-fs-browser-0.1.0.tgz", "integrity": "sha1-mYVwWhzmE0HGoj/5G3gRt0/Ysz0=", "requires": { - "brfs": "1.6.1", - "duplexify": "3.6.0", - "glob-stream": "5.3.5", - "glob-watcher": "2.0.0", - "is-valid-glob": "0.3.0", - "merge-stream": "0.1.8", - "mkdirp": "0.5.1", - "object-assign": "3.0.0", - "through2": "2.0.3", - "through2-filter": "2.0.0", - "vinyl": "0.5.3" + "brfs": "^1.4.1", + "duplexify": "^3.2.0", + "glob-stream": "^5.0.0", + "glob-watcher": "^2.0.0", + "is-valid-glob": "^0.3.0", + "merge-stream": "^0.1.7", + "mkdirp": "^0.5.0", + "object-assign": "^3.0.0", + "through2": "^2.0.0", + "through2-filter": "^2.0.0", + "vinyl": "^0.5.0" }, "dependencies": { "isarray": { @@ -10891,7 +11460,7 @@ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-0.1.8.tgz", "integrity": "sha1-SKB7O0oSHXSj7b/c20sIrb8CQLE=", "requires": { - "through2": "0.6.5" + "through2": "^0.6.1" }, "dependencies": { "through2": { @@ -10899,8 +11468,8 @@ "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=", "requires": { - "readable-stream": "1.0.34", - "xtend": "4.0.1" + "readable-stream": ">=1.0.33-1 <1.1.0-0", + "xtend": ">=4.0.0 <4.1.0-0" } } } @@ -10912,13 +11481,13 @@ }, "readable-stream": { "version": "1.0.34", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", "isarray": "0.0.1", - "string_decoder": "0.10.31" + "string_decoder": "~0.10.x" } }, "string_decoder": { @@ -10933,21 +11502,26 @@ "resolved": "https://registry.npmjs.org/vinyl-fs-that-respects-files/-/vinyl-fs-that-respects-files-1.0.2.tgz", "integrity": "sha1-rdpVsNlABBYTCa2pDrD95ubtvmI=", "requires": { - "brfs": "1.6.1", - "duplexify": "3.6.0", - "glob-stream": "5.3.5", - "glob-watcher": "2.0.0", - "graceful-fs": "4.1.11", - "gulp-sourcemaps": "1.12.1", - "is-valid-glob": "0.3.0", - "merge-stream": "0.1.8", - "mkdirp": "0.5.1", - "object-assign": "3.0.0", - "through2": "2.0.3", - "through2-filter": "2.0.0", - "vinyl": "0.5.3" + "brfs": "^1.4.1", + "duplexify": "^3.2.0", + "glob-stream": "^5.0.0", + "glob-watcher": "^2.0.0", + "graceful-fs": "^4.0.0", + "gulp-sourcemaps": "^1.5.2", + "is-valid-glob": "^0.3.0", + "merge-stream": "^0.1.7", + "mkdirp": "^0.5.0", + "object-assign": "^3.0.0", + "through2": "^2.0.0", + "through2-filter": "^2.0.0", + "vinyl": "^0.5.0" }, "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + }, "isarray": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", @@ -10958,7 +11532,7 @@ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-0.1.8.tgz", "integrity": "sha1-SKB7O0oSHXSj7b/c20sIrb8CQLE=", "requires": { - "through2": "0.6.5" + "through2": "^0.6.1" }, "dependencies": { "through2": { @@ -10966,8 +11540,8 @@ "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=", "requires": { - "readable-stream": "1.0.34", - "xtend": "4.0.1" + "readable-stream": ">=1.0.33-1 <1.1.0-0", + "xtend": ">=4.0.0 <4.1.0-0" } } } @@ -10979,13 +11553,13 @@ }, "readable-stream": { "version": "1.0.34", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", "isarray": "0.0.1", - "string_decoder": "0.10.31" + "string_decoder": "~0.10.x" } }, "string_decoder": { @@ -11000,9 +11574,9 @@ "resolved": "https://registry.npmjs.org/vinyl-multipart-stream/-/vinyl-multipart-stream-1.2.6.tgz", "integrity": "sha1-m+LitzQPePWXJYJ9yvw9XSCh8E8=", "requires": { - "duplexify": "3.6.0", - "multipart-stream": "2.0.1", - "vinyl-fs-that-respects-files": "1.0.2" + "duplexify": "^3.4.2", + "multipart-stream": "^2.0.0", + "vinyl-fs-that-respects-files": "^1.0.1" } }, "vlq": { @@ -11023,7 +11597,7 @@ "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.9.tgz", "integrity": "sha1-MbTbZnjyrgHDnqn7hyWpAx5Vins=", "requires": { - "foreachasync": "3.0.0" + "foreachasync": "^3.0.0" } }, "watchpack": { @@ -11031,29 +11605,36 @@ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.6.0.tgz", "integrity": "sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA==", "requires": { - "chokidar": "2.0.3", - "graceful-fs": "4.1.11", - "neo-async": "2.5.1" + "chokidar": "^2.0.2", + "graceful-fs": "^4.1.2", + "neo-async": "^2.5.0" + }, + "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + } } }, "web3": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3/-/web3-1.0.0-beta.34.tgz", - "integrity": "sha1-NH5WG3hAmMtVYzFfSQR5odkfKrE=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3/-/web3-1.0.0-beta.36.tgz", + "integrity": "sha512-fZDunw1V0AQS27r5pUN3eOVP7u8YAvyo6vOapdgVRolAu5LgaweP7jncYyLINqIX9ZgWdS5A090bt+ymgaYHsw==", "requires": { - "web3-bzz": "1.0.0-beta.34", - "web3-core": "1.0.0-beta.34", - "web3-eth": "1.0.0-beta.34", - "web3-eth-personal": "1.0.0-beta.34", - "web3-net": "1.0.0-beta.34", - "web3-shh": "1.0.0-beta.34", - "web3-utils": "1.0.0-beta.34" + "web3-bzz": "1.0.0-beta.36", + "web3-core": "1.0.0-beta.36", + "web3-eth": "1.0.0-beta.36", + "web3-eth-personal": "1.0.0-beta.36", + "web3-net": "1.0.0-beta.36", + "web3-shh": "1.0.0-beta.36", + "web3-utils": "1.0.0-beta.36" } }, "web3-bzz": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.0.0-beta.34.tgz", - "integrity": "sha1-Bo03d3q2Xlxg+OyLmlDP5FJ3kpw=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.0.0-beta.36.tgz", + "integrity": "sha512-clDRS/ziboJ5ytnrfxq80YSu9HQsT0vggnT3BkoXadrauyEE/9JNLxRu016jjUxqdkfdv4MgIPDdOS3Bv2ghiw==", "requires": { "got": "7.1.0", "swarm-js": "0.1.37", @@ -11061,110 +11642,103 @@ } }, "web3-core": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.0.0-beta.34.tgz", - "integrity": "sha1-EhvoVV6fsA0sXQXd0zgdDJ5GmH4=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.0.0-beta.36.tgz", + "integrity": "sha512-C2QW9CMMRZdYAiKiLkMrKRSp+gekSqTDgZTNvlxAdN1hXn4d9UmcmWSJXOmIHqr5N2ISbRod+bW+qChODxVE3Q==", "requires": { - "web3-core-helpers": "1.0.0-beta.34", - "web3-core-method": "1.0.0-beta.34", - "web3-core-requestmanager": "1.0.0-beta.34", - "web3-utils": "1.0.0-beta.34" + "web3-core-helpers": "1.0.0-beta.36", + "web3-core-method": "1.0.0-beta.36", + "web3-core-requestmanager": "1.0.0-beta.36", + "web3-utils": "1.0.0-beta.36" } }, "web3-core-helpers": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz", - "integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.36.tgz", + "integrity": "sha512-gu74l0htiGWuxLQuMnZqKToFvkSM+UFPE7qUuy1ZosH/h2Jd+VBWg6k4CyNYVYfP0hL5x3CN8SBmB+HMowo55A==", "requires": { "underscore": "1.8.3", - "web3-eth-iban": "1.0.0-beta.34", - "web3-utils": "1.0.0-beta.34" + "web3-eth-iban": "1.0.0-beta.36", + "web3-utils": "1.0.0-beta.36" } }, "web3-core-method": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.0.0-beta.34.tgz", - "integrity": "sha1-7BY8iixJD6AqfsFVWfpzB/x8xt0=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.0.0-beta.36.tgz", + "integrity": "sha512-dJsP3KkGaqBBSdxfzvLsYPOmVaSs1lR/3oKob/gtUYG7UyTnwquwliAc7OXj+gqRA2E/FHZcM83cWdl31ltdSA==", "requires": { "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.34", - "web3-core-promievent": "1.0.0-beta.34", - "web3-core-subscriptions": "1.0.0-beta.34", - "web3-utils": "1.0.0-beta.34" + "web3-core-helpers": "1.0.0-beta.36", + "web3-core-promievent": "1.0.0-beta.36", + "web3-core-subscriptions": "1.0.0-beta.36", + "web3-utils": "1.0.0-beta.36" } }, "web3-core-promievent": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.0.0-beta.34.tgz", - "integrity": "sha1-pPT6Z4S7KT6CxglgrltWqUzQPtw=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.0.0-beta.36.tgz", + "integrity": "sha512-RGIL6TjcOeJTullFLMurChPTsg94cPF6LI763y/sPYtXTDol1vVa+J5aGLp/4WW8v+s+1bSQO6zYq2ZtkbmtEQ==", "requires": { "any-promise": "1.3.0", "eventemitter3": "1.1.1" } }, "web3-core-requestmanager": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.0.0-beta.34.tgz", - "integrity": "sha1-Afj2zyrmtvC3DDi64e90G1urIVw=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.0.0-beta.36.tgz", + "integrity": "sha512-/CHuaMbiMDu1v8ANGYI7yFCnh1GaCWx5pKnUPJf+QTk2xAAw+Bvd97yZJIWPOK5AOPUIzxgwx9Ob/5ln6mTmYA==", "requires": { "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.34", - "web3-providers-http": "1.0.0-beta.34", - "web3-providers-ipc": "1.0.0-beta.34", - "web3-providers-ws": "1.0.0-beta.34" + "web3-core-helpers": "1.0.0-beta.36", + "web3-providers-http": "1.0.0-beta.36", + "web3-providers-ipc": "1.0.0-beta.36", + "web3-providers-ws": "1.0.0-beta.36" } }, "web3-core-subscriptions": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.0.0-beta.34.tgz", - "integrity": "sha1-n+0UQDPyIcPPIQYDAv/a9e8t4t4=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.0.0-beta.36.tgz", + "integrity": "sha512-/evyLQ8CMEYXC5aUCodDpmEnmGVYQxaIjiEIfA/85f9ifHkfzP1aOwCAjcsLsJWnwrWDagxSpjCYrDtnNabdEw==", "requires": { "eventemitter3": "1.1.1", "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.34" + "web3-core-helpers": "1.0.0-beta.36" } }, "web3-eth": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.0.0-beta.34.tgz", - "integrity": "sha1-dAhgAIUMb+b1Ne9Jg31tS7YRMmg=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.0.0-beta.36.tgz", + "integrity": "sha512-uEa0UnbnNHUB4N2O1U+LsvxzSPJ/w3azy5115IseaUdDaiz6IFFgFfFP3ssauayQNCf7v2F44GXLfPhrNeb/Sw==", "requires": { "underscore": "1.8.3", - "web3-core": "1.0.0-beta.34", - "web3-core-helpers": "1.0.0-beta.34", - "web3-core-method": "1.0.0-beta.34", - "web3-core-subscriptions": "1.0.0-beta.34", - "web3-eth-abi": "1.0.0-beta.34", - "web3-eth-accounts": "1.0.0-beta.34", - "web3-eth-contract": "1.0.0-beta.34", - "web3-eth-iban": "1.0.0-beta.34", - "web3-eth-personal": "1.0.0-beta.34", - "web3-net": "1.0.0-beta.34", - "web3-utils": "1.0.0-beta.34" + "web3-core": "1.0.0-beta.36", + "web3-core-helpers": "1.0.0-beta.36", + "web3-core-method": "1.0.0-beta.36", + "web3-core-subscriptions": "1.0.0-beta.36", + "web3-eth-abi": "1.0.0-beta.36", + "web3-eth-accounts": "1.0.0-beta.36", + "web3-eth-contract": "1.0.0-beta.36", + "web3-eth-ens": "1.0.0-beta.36", + "web3-eth-iban": "1.0.0-beta.36", + "web3-eth-personal": "1.0.0-beta.36", + "web3-net": "1.0.0-beta.36", + "web3-utils": "1.0.0-beta.36" } }, "web3-eth-abi": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.0.0-beta.34.tgz", - "integrity": "sha1-A0Uz46ovfln/MXk+rqaFwO1a9no=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.0.0-beta.36.tgz", + "integrity": "sha512-fBfW+7hvA0rxEMV45fO7JU+0R32ayT7aRwG9Cl6NW2/QvhFeME2qVbMIWw0q5MryPZGIN8A6366hKNuWvVidDg==", "requires": { - "bn.js": "4.11.6", + "ethers": "4.0.0-beta.1", "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.34", - "web3-utils": "1.0.0-beta.34" - }, - "dependencies": { - "bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" - } + "web3-utils": "1.0.0-beta.36" } }, "web3-eth-accounts": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.0.0-beta.34.tgz", - "integrity": "sha1-4JFC7uzHl6w0WbdemyOUbTaV8zM=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.0.0-beta.36.tgz", + "integrity": "sha512-MmgIlBEZ0ILLWV4+wfMrbeVVMU/VmQnCpgSDcw7wHKOKu47bKncJ6rVqVsUbC6d9F613Rios+Yj2Ua6SCHtmrg==", "requires": { "any-promise": "1.3.0", "crypto-browserify": "3.12.0", @@ -11172,10 +11746,10 @@ "scrypt.js": "0.2.0", "underscore": "1.8.3", "uuid": "2.0.1", - "web3-core": "1.0.0-beta.34", - "web3-core-helpers": "1.0.0-beta.34", - "web3-core-method": "1.0.0-beta.34", - "web3-utils": "1.0.0-beta.34" + "web3-core": "1.0.0-beta.36", + "web3-core-helpers": "1.0.0-beta.36", + "web3-core-method": "1.0.0-beta.36", + "web3-utils": "1.0.0-beta.36" }, "dependencies": { "eth-lib": { @@ -11183,40 +11757,55 @@ "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.7.tgz", "integrity": "sha1-L5Pxex4jrsN1nNSj/iDBKGo/wco=", "requires": { - "bn.js": "4.11.8", - "elliptic": "6.4.0", - "xhr-request-promise": "0.1.2" + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" } }, "uuid": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", + "resolved": "http://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=" } } }, "web3-eth-contract": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.0.0-beta.34.tgz", - "integrity": "sha1-nbs4+udkOoCEJ6IBgEcOx0FckeY=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.0.0-beta.36.tgz", + "integrity": "sha512-cywqcIrUsCW4fyqsHdOb24OCC8AnBol8kNiptI+IHRylyCjTNgr53bUbjrXWjmEnear90rO0QhAVjLB1a4iEbQ==", + "requires": { + "underscore": "1.8.3", + "web3-core": "1.0.0-beta.36", + "web3-core-helpers": "1.0.0-beta.36", + "web3-core-method": "1.0.0-beta.36", + "web3-core-promievent": "1.0.0-beta.36", + "web3-core-subscriptions": "1.0.0-beta.36", + "web3-eth-abi": "1.0.0-beta.36", + "web3-utils": "1.0.0-beta.36" + } + }, + "web3-eth-ens": { + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.0.0-beta.36.tgz", + "integrity": "sha512-8ZdD7XoJfSX3jNlZHSLe4G837xQ0v5a8cHCcDcd1IoqoY855X9SrIQ0Xdqia9p4mR1YcH1vgmkXY9/3hsvxS7g==", "requires": { + "eth-ens-namehash": "2.0.8", "underscore": "1.8.3", - "web3-core": "1.0.0-beta.34", - "web3-core-helpers": "1.0.0-beta.34", - "web3-core-method": "1.0.0-beta.34", - "web3-core-promievent": "1.0.0-beta.34", - "web3-core-subscriptions": "1.0.0-beta.34", - "web3-eth-abi": "1.0.0-beta.34", - "web3-utils": "1.0.0-beta.34" + "web3-core": "1.0.0-beta.36", + "web3-core-helpers": "1.0.0-beta.36", + "web3-core-promievent": "1.0.0-beta.36", + "web3-eth-abi": "1.0.0-beta.36", + "web3-eth-contract": "1.0.0-beta.36", + "web3-utils": "1.0.0-beta.36" } }, "web3-eth-iban": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz", - "integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.36.tgz", + "integrity": "sha512-b5AEDjjhOLR4q47Hbzf65zYE+7U7JgCgrUb13RU4HMIGoMb1q4DXaJw1UH8VVHCZulevl2QBjpCyrntecMqqCQ==", "requires": { "bn.js": "4.11.6", - "web3-utils": "1.0.0-beta.34" + "web3-utils": "1.0.0-beta.36" }, "dependencies": { "bn.js": { @@ -11227,123 +11816,119 @@ } }, "web3-eth-personal": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.0.0-beta.34.tgz", - "integrity": "sha1-mvuhZzQuveVCC81YlcP2w0OI8gU=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.0.0-beta.36.tgz", + "integrity": "sha512-+oxvhojeWh4C/XtnlYURWRR3F5Cg7bQQNjtN1ZGnouKAZyBLoYDVVJ6OaPiveNtfC9RKnzLikn9/Uqc0xz410A==", "requires": { - "web3-core": "1.0.0-beta.34", - "web3-core-helpers": "1.0.0-beta.34", - "web3-core-method": "1.0.0-beta.34", - "web3-net": "1.0.0-beta.34", - "web3-utils": "1.0.0-beta.34" + "web3-core": "1.0.0-beta.36", + "web3-core-helpers": "1.0.0-beta.36", + "web3-core-method": "1.0.0-beta.36", + "web3-net": "1.0.0-beta.36", + "web3-utils": "1.0.0-beta.36" } }, "web3-net": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.0.0-beta.34.tgz", - "integrity": "sha1-QnzqL0MYgUScjjjVIykPFz+f9j0=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.0.0-beta.36.tgz", + "integrity": "sha512-BriXK0Pjr6Hc/VDq1Vn8vyOum4JB//wpCjgeGziFD6jC7Of8YaWC7AJYXje89OckzfcqX1aJyJlBwDpasNkAzQ==", "requires": { - "web3-core": "1.0.0-beta.34", - "web3-core-method": "1.0.0-beta.34", - "web3-utils": "1.0.0-beta.34" + "web3-core": "1.0.0-beta.36", + "web3-core-method": "1.0.0-beta.36", + "web3-utils": "1.0.0-beta.36" } }, "web3-provider-engine": { - "version": "14.0.6", - "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-14.0.6.tgz", - "integrity": "sha512-tr5cGSyxfSC/JqiUpBlJtfZpwQf1yAA8L/zy1C6fDFm0ntR974pobJ4v4676atpZne4Ze5VFy3kPPahHe9gQiQ==", - "requires": { - "async": "2.6.1", - "backoff": "2.5.0", - "clone": "2.1.2", - "cross-fetch": "2.2.2", - "eth-block-tracker": "3.0.1", - "eth-json-rpc-infura": "3.1.2", - "eth-sig-util": "1.4.2", - "ethereumjs-block": "1.7.1", - "ethereumjs-tx": "1.3.7", - "ethereumjs-util": "5.2.0", - "ethereumjs-vm": "2.4.0", - "json-rpc-error": "2.0.0", - "json-stable-stringify": "1.0.1", - "promise-to-callback": "1.0.0", - "readable-stream": "2.3.6", - "request": "2.87.0", - "semaphore": "1.1.0", - "tape": "4.9.1", - "ws": "5.2.2", - "xhr": "2.5.0", - "xtend": "4.0.1" + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-14.1.0.tgz", + "integrity": "sha512-vGZtqhSUzGTiMGhJXNnB/aRDlrPZLhLnBZ2NPArkZtr8XSrwg9m08tw4+PuWg5za0TJuoE/vuPQc501HddZZWw==", + "requires": { + "async": "^2.5.0", + "backoff": "^2.5.0", + "clone": "^2.0.0", + "cross-fetch": "^2.1.0", + "eth-block-tracker": "^3.0.0", + "eth-json-rpc-infura": "^3.1.0", + "eth-sig-util": "^1.4.2", + "ethereumjs-block": "^1.2.2", + "ethereumjs-tx": "^1.2.0", + "ethereumjs-util": "^5.1.5", + "ethereumjs-vm": "^2.3.4", + "json-rpc-error": "^2.0.0", + "json-stable-stringify": "^1.0.1", + "promise-to-callback": "^1.0.0", + "readable-stream": "^2.2.9", + "request": "^2.85.0", + "semaphore": "^1.0.3", + "ws": "^5.1.1", + "xhr": "^2.2.0", + "xtend": "^4.0.1" }, "dependencies": { + "clone": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", + "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" + }, "ethereumjs-util": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.2.0", - "ethjs-util": "0.1.6", - "keccak": "1.4.0", - "rlp": "2.1.0", - "safe-buffer": "5.1.2", - "secp256k1": "3.5.0" - } - }, - "ws": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", - "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", - "requires": { - "async-limiter": "1.0.0" + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "^0.1.3", + "keccak": "^1.0.2", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1", + "secp256k1": "^3.0.1" } } } }, "web3-providers-http": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.0.0-beta.34.tgz", - "integrity": "sha1-5WG1K7tDdmKCAH1AKFv+NVDCfno=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.0.0-beta.36.tgz", + "integrity": "sha512-KLSqMS59nRdpet9B0B64MKgtM3n9wAHTcAHJ03hv79avQNTjHxtjZm0ttcjcFUPpWDgTCtcYCa7tqaYo9Pbeog==", "requires": { - "web3-core-helpers": "1.0.0-beta.34", - "xhr2": "0.1.4" + "web3-core-helpers": "1.0.0-beta.36", + "xhr2-cookies": "1.1.0" } }, "web3-providers-ipc": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.0.0-beta.34.tgz", - "integrity": "sha1-obd/GjBtc2SanAOQUuQMtxMo0Ao=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.0.0-beta.36.tgz", + "integrity": "sha512-iEUrmdd2CzoWgp+75/ydom/1IaoLw95qkAzsgwjjZp1waDncHP/cvVGX74+fbUx4hRaPdchyzxCQfNpgLDmNjQ==", "requires": { "oboe": "2.1.3", "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.34" + "web3-core-helpers": "1.0.0-beta.36" } }, "web3-providers-ws": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.0.0-beta.34.tgz", - "integrity": "sha1-fecPG4Py3jZHZ3IVa+z+9uNRbrM=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.0.0-beta.36.tgz", + "integrity": "sha512-wAnENuZx75T5ZSrT2De2LOaUuPf2yRjq1VfcbD7+Zd79F3DZZLBJcPyCNVQ1U0fAXt0wfgCKl7sVw5pffqR9Bw==", "requires": { "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.34", + "web3-core-helpers": "1.0.0-beta.36", "websocket": "git://github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2" } }, "web3-shh": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.0.0-beta.34.tgz", - "integrity": "sha1-l1Bh1x6uxCzO5Xb3vY9w8DhEr+A=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.0.0-beta.36.tgz", + "integrity": "sha512-bREGHS/WprYFSvGUhyIk8RSpT2Z5SvJOKGBrsUW2nDIMWO6z0Op8E7fzC6GXY2HZfZliAqq6LirbXLgcLRWuPw==", "requires": { - "web3-core": "1.0.0-beta.34", - "web3-core-method": "1.0.0-beta.34", - "web3-core-subscriptions": "1.0.0-beta.34", - "web3-net": "1.0.0-beta.34" + "web3-core": "1.0.0-beta.36", + "web3-core-method": "1.0.0-beta.36", + "web3-core-subscriptions": "1.0.0-beta.36", + "web3-net": "1.0.0-beta.36" } }, "web3-utils": { - "version": "1.0.0-beta.34", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", - "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", + "version": "1.0.0-beta.36", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.36.tgz", + "integrity": "sha512-7ri74lG5fS2Th0fhYvTtiEHMB1Pmf2p7dQx1COQ3OHNI/CHNEMjzoNMEbBU6FAENrywfoFur40K4m0AOmEUq5A==", "requires": { "bn.js": "4.11.6", "eth-lib": "0.1.27", @@ -11358,39 +11943,45 @@ "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + }, + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" } } }, "webcrypto-shim": { - "version": "github:dignifiedquire/webcrypto-shim#190bc9ec341375df6025b17ae12ddb2428ea49c8" + "version": "github:dignifiedquire/webcrypto-shim#190bc9ec341375df6025b17ae12ddb2428ea49c8", + "from": "github:dignifiedquire/webcrypto-shim#master" }, "webpack": { "version": "3.10.0", "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.10.0.tgz", "integrity": "sha512-fxxKXoicjdXNUMY7LIdY89tkJJJ0m1Oo8PQutZ5rLgWbV5QVKI15Cn7+/IHnRTd3vfKfiwBx6SBqlorAuNA8LA==", "requires": { - "acorn": "5.6.1", - "acorn-dynamic-import": "2.0.2", - "ajv": "5.5.2", - "ajv-keywords": "2.1.1", - "async": "2.6.1", - "enhanced-resolve": "3.4.1", - "escope": "3.6.0", - "interpret": "1.1.0", - "json-loader": "0.5.7", - "json5": "0.5.1", - "loader-runner": "2.3.0", - "loader-utils": "1.1.0", - "memory-fs": "0.4.1", - "mkdirp": "0.5.1", - "node-libs-browser": "2.1.0", - "source-map": "0.5.7", - "supports-color": "4.5.0", - "tapable": "0.2.8", - "uglifyjs-webpack-plugin": "0.4.6", - "watchpack": "1.6.0", - "webpack-sources": "1.1.0", - "yargs": "8.0.2" + "acorn": "^5.0.0", + "acorn-dynamic-import": "^2.0.0", + "ajv": "^5.1.5", + "ajv-keywords": "^2.0.0", + "async": "^2.1.2", + "enhanced-resolve": "^3.4.0", + "escope": "^3.6.0", + "interpret": "^1.0.0", + "json-loader": "^0.5.4", + "json5": "^0.5.1", + "loader-runner": "^2.3.0", + "loader-utils": "^1.1.0", + "memory-fs": "~0.4.1", + "mkdirp": "~0.5.0", + "node-libs-browser": "^2.0.0", + "source-map": "^0.5.3", + "supports-color": "^4.2.1", + "tapable": "^0.2.7", + "uglifyjs-webpack-plugin": "^0.4.6", + "watchpack": "^1.4.0", + "webpack-sources": "^1.0.1", + "yargs": "^8.0.2" }, "dependencies": { "ajv": { @@ -11398,10 +11989,10 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", "requires": { - "co": "4.6.0", - "fast-deep-equal": "1.1.0", - "fast-json-stable-stringify": "2.0.0", - "json-schema-traverse": "0.3.1" + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.3.0" } }, "ajv-keywords": { @@ -11419,12 +12010,22 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=" }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=" + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + }, "supports-color": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", "requires": { - "has-flag": "2.0.0" + "has-flag": "^2.0.0" } }, "uglify-js": { @@ -11432,19 +12033,19 @@ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", "requires": { - "source-map": "0.5.7", - "uglify-to-browserify": "1.0.2", - "yargs": "3.10.0" + "source-map": "~0.5.1", + "uglify-to-browserify": "~1.0.0", + "yargs": "~3.10.0" }, "dependencies": { "yargs": { "version": "3.10.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "resolved": "http://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", "requires": { - "camelcase": "1.2.1", - "cliui": "2.1.0", - "decamelize": "1.2.0", + "camelcase": "^1.0.2", + "cliui": "^2.1.0", + "decamelize": "^1.0.0", "window-size": "0.1.0" } } @@ -11455,9 +12056,9 @@ "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-0.4.6.tgz", "integrity": "sha1-uVH0q7a9YX5m9j64kUmOORdj4wk=", "requires": { - "source-map": "0.5.7", - "uglify-js": "2.8.29", - "webpack-sources": "1.1.0" + "source-map": "^0.5.6", + "uglify-js": "^2.8.29", + "webpack-sources": "^1.0.1" } } } @@ -11467,11 +12068,11 @@ "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-1.12.0.tgz", "integrity": "sha1-007++y7dp+HTtdvgcolRMhllFwk=", "requires": { - "memory-fs": "0.4.1", - "mime": "1.4.1", - "path-is-absolute": "1.0.1", - "range-parser": "1.2.0", - "time-stamp": "2.0.0" + "memory-fs": "~0.4.1", + "mime": "^1.3.4", + "path-is-absolute": "^1.0.0", + "range-parser": "^1.0.3", + "time-stamp": "^2.0.0" } }, "webpack-hot-middleware": { @@ -11480,9 +12081,9 @@ "integrity": "sha512-2x60xmz7XBCNN/Drol+7i85E/5RrNrf+ivOPCgrxhP1F3q3WxpVjjvj8n8fOS1bS9oTRKEDfBYVAtkxqsG7LwQ==", "requires": { "ansi-html": "0.0.7", - "html-entities": "1.2.1", - "querystring": "0.2.0", - "strip-ansi": "3.0.1" + "html-entities": "^1.2.0", + "querystring": "^0.2.0", + "strip-ansi": "^3.0.0" } }, "webpack-sources": { @@ -11490,24 +12091,18 @@ "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.1.0.tgz", "integrity": "sha512-aqYp18kPphgoO5c/+NaUvEeACtZjMESmDChuD3NBciVpah3XpMEU9VAAtIaB1BsfJWWTSdv8Vv1m3T0aRk2dUw==", "requires": { - "source-list-map": "2.0.0", - "source-map": "0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - } + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" } }, "websocket": { "version": "git://github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2", + "from": "git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible", "requires": { - "debug": "2.6.9", - "nan": "2.10.0", - "typedarray-to-buffer": "3.1.5", - "yaeti": "0.0.6" + "debug": "^2.2.0", + "nan": "^2.3.3", + "typedarray-to-buffer": "^3.1.2", + "yaeti": "^0.0.6" }, "dependencies": { "debug": { @@ -11521,16 +12116,16 @@ } }, "whatwg-fetch": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz", - "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz", + "integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q==" }, "which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "requires": { - "isexe": "2.0.0" + "isexe": "^2.0.0" } }, "which-module": { @@ -11544,25 +12139,25 @@ "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=" }, "wordwrap": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", - "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=" + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", + "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=" }, "worker-farm": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.6.0.tgz", "integrity": "sha512-6w+3tHbM87WnSWnENBUvA2pxJPLhQUg5LKwUQHq3r+XPhIM+Gh2R5ycbwPCyuGbNg+lPgdcnQUhuC02kJCvffQ==", "requires": { - "errno": "0.1.7" + "errno": "~0.1.7" } }, "wrap-ansi": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "requires": { - "string-width": "1.0.2", - "strip-ansi": "3.0.1" + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" }, "dependencies": { "string-width": { @@ -11570,9 +12165,9 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" } } } @@ -11587,12 +12182,12 @@ "resolved": "https://registry.npmjs.org/write-file-webpack-plugin/-/write-file-webpack-plugin-4.2.0.tgz", "integrity": "sha512-sIjfV+M1Ia8p/lVcLjvM2I0Lq/40tCMZe+k0Pxg2TG6TKjUgHGwQeM42QdYLiHAIAITGQK1HEQA3YknFubzfDQ==", "requires": { - "chalk": "1.1.3", - "debug": "2.6.9", - "filesize": "3.6.1", - "lodash": "4.17.10", - "mkdirp": "0.5.1", - "moment": "2.22.2" + "chalk": "^1.1.1", + "debug": "^2.6.8", + "filesize": "^3.2.1", + "lodash": "^4.5.1", + "mkdirp": "^0.5.1", + "moment": "^2.11.2" }, "dependencies": { "ansi-styles": { @@ -11602,14 +12197,14 @@ }, "chalk": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" } }, "debug": { @@ -11628,13 +12223,11 @@ } }, "ws": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", - "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", + "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", "requires": { - "async-limiter": "1.0.0", - "safe-buffer": "5.1.2", - "ultron": "1.1.1" + "async-limiter": "~1.0.0" } }, "xhr": { @@ -11642,10 +12235,10 @@ "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.5.0.tgz", "integrity": "sha512-4nlO/14t3BNUZRXIXfXe+3N6w3s1KoxcJUUURctd64BLRe67E4gRwp4PjywtDY72fXpZ1y6Ch0VZQRY/gMPzzQ==", "requires": { - "global": "4.3.2", - "is-function": "1.0.1", - "parse-headers": "2.0.1", - "xtend": "4.0.1" + "global": "~4.3.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" } }, "xhr-request": { @@ -11653,13 +12246,20 @@ "resolved": "https://registry.npmjs.org/xhr-request/-/xhr-request-1.1.0.tgz", "integrity": "sha512-Y7qzEaR3FDtL3fP30k9wO/e+FBnBByZeybKOhASsGP30NIkRAAkKD/sCnLvgEfAIEC1rcmK7YG8f4oEnIrrWzA==", "requires": { - "buffer-to-arraybuffer": "0.0.5", - "object-assign": "4.1.1", - "query-string": "5.1.1", - "simple-get": "2.8.1", - "timed-out": "4.0.1", - "url-set-query": "1.0.0", - "xhr": "2.5.0" + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + }, + "dependencies": { + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + } } }, "xhr-request-promise": { @@ -11667,7 +12267,7 @@ "resolved": "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.2.tgz", "integrity": "sha1-NDxE0e53JrhkgGloLQ+EDIO0Jh0=", "requires": { - "xhr-request": "1.1.0" + "xhr-request": "^1.0.1" } }, "xhr2": { @@ -11675,6 +12275,14 @@ "resolved": "https://registry.npmjs.org/xhr2/-/xhr2-0.1.4.tgz", "integrity": "sha1-f4dliEdxbbUCYyOBL4GMras4el8=" }, + "xhr2-cookies": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz", + "integrity": "sha1-fXdEnQmZGX8VXLc7I99yUF7YnUg=", + "requires": { + "cookiejar": "^2.1.1" + } + }, "xmlhttprequest": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz", @@ -11705,19 +12313,19 @@ "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz", "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=", "requires": { - "camelcase": "4.1.0", - "cliui": "3.2.0", - "decamelize": "1.2.0", - "get-caller-file": "1.0.2", - "os-locale": "2.1.0", - "read-pkg-up": "2.0.0", - "require-directory": "2.1.1", - "require-main-filename": "1.0.1", - "set-blocking": "2.0.0", - "string-width": "2.1.1", - "which-module": "2.0.0", - "y18n": "3.2.1", - "yargs-parser": "7.0.0" + "camelcase": "^4.1.0", + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "os-locale": "^2.0.0", + "read-pkg-up": "^2.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^7.0.0" }, "dependencies": { "camelcase": { @@ -11730,9 +12338,9 @@ "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", "requires": { - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "wrap-ansi": "2.1.0" + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" }, "dependencies": { "string-width": { @@ -11740,9 +12348,9 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" } } } @@ -11759,7 +12367,7 @@ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", "requires": { - "camelcase": "4.1.0" + "camelcase": "^4.1.0" }, "dependencies": { "camelcase": { @@ -11770,12 +12378,12 @@ } }, "yauzl": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.9.1.tgz", - "integrity": "sha1-qBmB6nCleUYTOIPwKcWCGok1mn8=", + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", "requires": { - "buffer-crc32": "0.2.13", - "fd-slicer": "1.0.1" + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" } } } diff --git a/package.json b/package.json index d660755..37a9019 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,6 @@ "semantic-ui-react": "^0.80.2", "truffle": "^4.1.13", "truffle-hdwallet-provider": "0.0.6", - "web3": "^1.0.0-beta.34" + "web3": "^1.0.0-beta.36" } } From c6d90455f12d87f318103402738269576ed124a4 Mon Sep 17 00:00:00 2001 From: gladguy Date: Mon, 8 Oct 2018 21:07:09 +0400 Subject: [PATCH 05/16] Fix initial changes --- ethereum/contracts/AuditCriteriaManager.sol | 2 -- 1 file changed, 2 deletions(-) diff --git a/ethereum/contracts/AuditCriteriaManager.sol b/ethereum/contracts/AuditCriteriaManager.sol index ef4f44a..aeb2d2d 100644 --- a/ethereum/contracts/AuditCriteriaManager.sol +++ b/ethereum/contracts/AuditCriteriaManager.sol @@ -34,9 +34,7 @@ contract AuditCriteriaManager { public returns(uint256 index) { - //if(isCriteria(CriteriaAddress)) revert(); uint256 currentIndex = getCriteriaCount(); - CriteriaStructs[currentIndex].criteriaText = newCriteriaText; CriteriaStructs[currentIndex].minScore = minScore; CriteriaStructs[currentIndex].maxScore = maxScore; From fa87861ba4aff3c66f14c0b1364b29a6d649fa6a Mon Sep 17 00:00:00 2001 From: gladguy Date: Mon, 8 Oct 2018 21:12:35 +0400 Subject: [PATCH 06/16] Added crtieria status change method --- .../build/contracts/AuditCriteriaManager.json | 5200 ++++++++++------- ethereum/build/contracts/JobApplicant.json | 2 +- .../contracts/JobApplicationLibrary.json | 6 +- ethereum/build/contracts/Listing.json | 4 +- .../build/contracts/ListingsRegistry.json | 8 +- ethereum/build/contracts/Migrations.json | 2 +- ethereum/contracts/AuditCriteriaManager.sol | 17 +- 7 files changed, 3167 insertions(+), 2072 deletions(-) diff --git a/ethereum/build/contracts/AuditCriteriaManager.json b/ethereum/build/contracts/AuditCriteriaManager.json index 974b214..a4bcc94 100644 --- a/ethereum/build/contracts/AuditCriteriaManager.json +++ b/ethereum/build/contracts/AuditCriteriaManager.json @@ -72,6 +72,23 @@ "name": "LogDeleteCriteria", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "CriteriaIndex", + "type": "uint256" + }, + { + "indexed": false, + "name": "criteriaStatus", + "type": "bool" + } + ], + "name": "LogCriteriaStatusChange", + "type": "event" + }, { "constant": true, "inputs": [ @@ -222,6 +239,29 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "constant": false, + "inputs": [ + { + "name": "index", + "type": "uint256" + }, + { + "name": "status", + "type": "bool" + } + ], + "name": "changeStatus", + "outputs": [ + { + "name": "success", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, { "constant": true, "inputs": [], @@ -256,20 +296,20 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b506105d3806100206000396000f30060806040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100925780633d69ba9e146100b95780636776c6bb146100dc57806372b4763c146100f45780638931828f14610126578063ae48388d14610166578063b60215931461017e578063efef7d2214610196575b600080fd5b34801561009e57600080fd5b506100a76101b1565b60408051918252519081900360200190f35b3480156100c557600080fd5b506100a760043560243560443560643515156101b8565b3480156100e857600080fd5b506100a760043561027f565b34801561010057600080fd5b506101126004356024356044356102a3565b604080519115158252519081900360200190f35b34801561013257600080fd5b5061013e600435610329565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b34801561017257600080fd5b506100a7600435610372565b34801561018a57600080fd5b5061011260043561049a565b3480156101a257600080fd5b506101126004356024356104e2565b6001545b90565b6000806101c36101b1565b6000818152602081815260409182902089815560018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6810185905560049091018190558251908152908101899052808201879052905191925082917f1d993ec08481c99bf5092f1110228ab96e7c3a9ed793ff80146c9d250658f0c4916060908290030190a2505060015460001901949350505050565b600060018281548110151561029057fe5b906000526020600020015490505b919050565b60006102ae8461049a565b15156102b957600080fd5b60008481526020818152604091829020600281018690556001810185905560048101549054835191825291810191909152808201849052905185917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25060019392505050565b6000806000806103388561049a565b151561034357600080fd5b505050600091825250602081905260409020805460028201546001830154600390930154919390929160ff1690565b60008060006103808461049a565b151561038b57600080fd5b600084815260208190526040902060040154600180549193509060001981019081106103b357fe5b90600052602060002001549050806001838154811015156103d057fe5b600091825260208083209091019290925582815290819052604090206004018290556001805490610405906000198301610560565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a260008181526020818152604091829020805460029091015483518681529283019190915281830152905182917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25092915050565b60015460009015156104ae5750600061029e565b6000828152602081905260409020600401546001805484929081106104cf57fe5b9060005260206000200154149050919050565b60006104ed8361049a565b15156104f857600080fd5b600083815260208181526040918290208481556004810154600290910154835191825291810185905280830191909152905184917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a250600192915050565b81548183558181111561058457600083815260209020610584918101908301610589565b505050565b6101b591905b808211156105a3576000815560010161058f565b50905600a165627a7a723058206be59d9098d66f88146565a09a5ee50263d8236be230c26b86061fa053e459e10029", - "deployedBytecode": "0x60806040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100925780633d69ba9e146100b95780636776c6bb146100dc57806372b4763c146100f45780638931828f14610126578063ae48388d14610166578063b60215931461017e578063efef7d2214610196575b600080fd5b34801561009e57600080fd5b506100a76101b1565b60408051918252519081900360200190f35b3480156100c557600080fd5b506100a760043560243560443560643515156101b8565b3480156100e857600080fd5b506100a760043561027f565b34801561010057600080fd5b506101126004356024356044356102a3565b604080519115158252519081900360200190f35b34801561013257600080fd5b5061013e600435610329565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b34801561017257600080fd5b506100a7600435610372565b34801561018a57600080fd5b5061011260043561049a565b3480156101a257600080fd5b506101126004356024356104e2565b6001545b90565b6000806101c36101b1565b6000818152602081815260409182902089815560018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6810185905560049091018190558251908152908101899052808201879052905191925082917f1d993ec08481c99bf5092f1110228ab96e7c3a9ed793ff80146c9d250658f0c4916060908290030190a2505060015460001901949350505050565b600060018281548110151561029057fe5b906000526020600020015490505b919050565b60006102ae8461049a565b15156102b957600080fd5b60008481526020818152604091829020600281018690556001810185905560048101549054835191825291810191909152808201849052905185917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25060019392505050565b6000806000806103388561049a565b151561034357600080fd5b505050600091825250602081905260409020805460028201546001830154600390930154919390929160ff1690565b60008060006103808461049a565b151561038b57600080fd5b600084815260208190526040902060040154600180549193509060001981019081106103b357fe5b90600052602060002001549050806001838154811015156103d057fe5b600091825260208083209091019290925582815290819052604090206004018290556001805490610405906000198301610560565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a260008181526020818152604091829020805460029091015483518681529283019190915281830152905182917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25092915050565b60015460009015156104ae5750600061029e565b6000828152602081905260409020600401546001805484929081106104cf57fe5b9060005260206000200154149050919050565b60006104ed8361049a565b15156104f857600080fd5b600083815260208181526040918290208481556004810154600290910154835191825291810185905280830191909152905184917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a250600192915050565b81548183558181111561058457600083815260209020610584918101908301610589565b505050565b6101b591905b808211156105a3576000815560010161058f565b50905600a165627a7a723058206be59d9098d66f88146565a09a5ee50263d8236be230c26b86061fa053e459e10029", - "sourceMap": "28:3899:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28:3899:0;;;;;;;", - "deployedSourceMap": "28:3899:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3645:126;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3645:126:0;;;;;;;;;;;;;;;;;;;;835:786;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;835:786:0;;;;;;;;;;;;;3777:145;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3777:145:0;;;;;3195:444;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3195:444:0;;;;;;;;;;;;;;;;;;;;;;;;;;;2336:420;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2336:420:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1627:701;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1627:701:0;;;;;600:229;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;600:229:0;;;;;2765:422;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2765:422:0;;;;;;;3645:126;3745:13;:20;3645:126;;:::o;835:786::-;978:13;1052:20;1075:18;:16;:18::i;:::-;1102:15;:29;;;;;;;;;;;;:61;;;1170:38;;;;:54;;;1231:38;;;:54;;;1292:38;;;:54;;-1:-1:-1;;1292:54:0;;;;;;;27:10:-1;;23:18;;;45:23;;;1399:32:0;;;;;;1353:35;;;;:80;;;1447:132;;;;;;;;;;;;;;;;;;;1102:29;;-1:-1:-1;1102:29:0;;1447:132;;;;;;;;;;-1:-1:-1;;1614:1:0;1593:20;-1:-1:-1;;1593:22:0;;835:786;-1:-1:-1;;;;835:786:0:o;3777:145::-;3856:21;3896:13;3910:5;3896:20;;;;;;;;;;;;;;;;;;3889:27;;3777:145;;;;:::o;3195:444::-;3293:12;3322:17;3333:5;3322:10;:17::i;:::-;3321:18;3318:31;;;3341:8;;;3318:31;3358:15;:22;;;;;;;;;;;;:31;;;:42;;;3407:31;;;:42;;;3502:28;;;;3539:35;;3461:154;;;;;;;;;;;;;;;;;;;;3374:5;;3461:154;;;;;;;;;;-1:-1:-1;3629:4:0;3195:444;;;;;:::o;2336:420::-;2420:20;2442:13;2457;2472;2501:25;2512:13;2501:10;:25::i;:::-;2500:26;2497:39;;;2528:8;;;2497:39;-1:-1:-1;;;2560:15:0;:30;;;-1:-1:-1;2560:30:0;;;;;;;:43;;2613:39;;;;2662;;;;2710;;;;;2560:43;;2613:39;;2662;2710;;;2336:420::o;1627:701::-;1706:13;1785:19;1856:17;1735:31;1746:19;1735:10;:31::i;:::-;1734:32;1731:45;;;1768:8;;;1731:45;1807:15;:36;;;;;;;;;;:42;;;1878:13;1892:20;;1807:42;;-1:-1:-1;1878:13:0;-1:-1:-1;;1892:22:0;;;1878:37;;;;;;;;;;;;;;1856:59;;1951:9;1922:13;1936:11;1922:26;;;;;;;;;;;;;;;;;;;;;:38;;;;1967:26;;;;;;;;;;:32;;:46;;;2021:13;:22;;;;;-1:-1:-1;;2021:22:0;;;:::i;:::-;-1:-1:-1;2055:71:0;;;;;;;;2083:19;;2055:71;;;;;;;;;;2210:15;:26;;;;;;;;;;;;:39;;2261:35;;;;;2138:159;;;;;;;;;;;;;;;;;;2166:9;;2138:159;;;;;;;;;;-1:-1:-1;2311:11:0;1627:701;-1:-1:-1;;1627:701:0:o;600:229::-;706:13;:20;677:13;;706:25;703:42;;;-1:-1:-1;740:5:0;733:12;;703:42;774:15;:27;;;;;;;;;;:33;;;760:13;:48;;812:10;;774:33;760:48;;;;;;;;;;;;;;:62;752:71;;600:229;;;:::o;2765:422::-;2864:12;2893:25;2904:13;2893:10;:25::i;:::-;2892:26;2889:39;;;2920:8;;;2889:39;2937:15;:30;;;;;;;;;;;;:58;;;3056:36;;;;3123:39;;;;;3007:156;;;;;;;;;;;;;;;;;;;;2953:13;;3007:156;;;;;;;;;;-1:-1:-1;3177:4:0;2765:422;;;;:::o;28:3899::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;", - "source": "pragma solidity ^0.4.18;\r\n\r\ncontract AuditCriteriaManager {\r\n\r\n struct CriteriaStruct {\r\n bytes32 criteriaText;\r\n uint minScore;\r\n uint maxScore;\r\n bool isActive;\r\n uint256 index;\r\n }\r\n \r\n mapping(uint256 => CriteriaStruct) private CriteriaStructs;\r\n uint256[] private CriteriaIndex;\r\n\r\n event LogNewCriteria (uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore);\r\n event LogUpdateCriteria(uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore);\r\n event LogDeleteCriteria(uint256 indexed CriteriaIndex, uint index);\r\n \r\n function isCriteria(uint indexExist)\r\n public \r\n constant\r\n returns(bool isIndeed) \r\n {\r\n if(CriteriaIndex.length == 0) return false;\r\n return (CriteriaIndex[CriteriaStructs[indexExist].index] == indexExist);\r\n }\r\n\r\n function insertCriteria(\r\n bytes32 newCriteriaText, \r\n uint minScore, \r\n uint maxScore,\r\n bool isActive) \r\n public\r\n returns(uint256 index)\r\n {\r\n //if(isCriteria(CriteriaAddress)) revert();\r\n uint256 currentIndex = getCriteriaCount();\r\n\r\n CriteriaStructs[currentIndex].criteriaText = newCriteriaText;\r\n CriteriaStructs[currentIndex].minScore = minScore;\r\n CriteriaStructs[currentIndex].maxScore = maxScore;\r\n CriteriaStructs[currentIndex].isActive = isActive;\r\n CriteriaStructs[currentIndex].index = CriteriaIndex.push(currentIndex)-1;\r\n\r\n emit LogNewCriteria(\r\n currentIndex, \r\n CriteriaStructs[currentIndex].index, \r\n newCriteriaText, \r\n maxScore);\r\n return CriteriaIndex.length-1;\r\n }\r\n\r\n function deleteCriteria(uint256 deleteCriteriaIndex) \r\n public\r\n returns(uint256 index)\r\n {\r\n if(!isCriteria(deleteCriteriaIndex)) revert();\r\n\r\n uint256 rowToDelete = CriteriaStructs[deleteCriteriaIndex].index;\r\n uint256 keyToMove = CriteriaIndex[CriteriaIndex.length-1];\r\n CriteriaIndex[rowToDelete] = keyToMove;\r\n CriteriaStructs[keyToMove].index = rowToDelete; \r\n CriteriaIndex.length--;\r\n emit LogDeleteCriteria(\r\n deleteCriteriaIndex, \r\n rowToDelete);\r\n emit LogUpdateCriteria(\r\n keyToMove, \r\n rowToDelete, \r\n CriteriaStructs[keyToMove].criteriaText, \r\n CriteriaStructs[keyToMove].maxScore);\r\n return rowToDelete;\r\n }\r\n \r\n function getCriteria(uint256 criteriaIndex)\r\n public \r\n constant\r\n returns(bytes32 criteriaText, uint maxScore, uint minScore, bool isActive)\r\n {\r\n if(!isCriteria(criteriaIndex)) revert();\r\n\r\n return(\r\n CriteriaStructs[criteriaIndex].criteriaText, \r\n CriteriaStructs[criteriaIndex].maxScore, \r\n CriteriaStructs[criteriaIndex].minScore,\r\n CriteriaStructs[criteriaIndex].isActive);\r\n } \r\n \r\n function updateCriteriaText(uint256 criteriaIndex, bytes32 criteriaText) \r\n public\r\n returns(bool success) \r\n {\r\n if(!isCriteria(criteriaIndex)) revert();\r\n\r\n CriteriaStructs[criteriaIndex].criteriaText = criteriaText;\r\n emit LogUpdateCriteria(\r\n criteriaIndex, \r\n CriteriaStructs[criteriaIndex].index,\r\n criteriaText, \r\n CriteriaStructs[criteriaIndex].maxScore);\r\n return true;\r\n }\r\n \r\n function updateMaxMinScore(uint256 index, uint MaxScore, uint MinScore) \r\n public\r\n returns(bool success) \r\n {\r\n if(!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].maxScore = MaxScore;\r\n CriteriaStructs[index].minScore = MinScore;\r\n emit LogUpdateCriteria(\r\n index, \r\n CriteriaStructs[index].index,\r\n CriteriaStructs[index].criteriaText,\r\n CriteriaStructs[index].minScore);\r\n return true;\r\n }\r\n\r\n function getCriteriaCount() \r\n public\r\n constant\r\n returns(uint256 count)\r\n {\r\n return CriteriaIndex.length;\r\n }\r\n\r\n function getCriteriaAtIndex(uint index)\r\n public\r\n constant\r\n returns(uint256 criteriaIndex)\r\n {\r\n return CriteriaIndex[index];\r\n }\r\n\r\n}", + "bytecode": "0x608060405234801561001057600080fd5b50610673806100206000396000f3006080604052600436106100985763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc811461009d5780633d69ba9e146100c45780636776c6bb146100e757806372b4763c146100ff5780638931828f14610131578063ae48388d14610171578063b602159314610189578063efef7d22146101a1578063fa2693b3146101bc575b600080fd5b3480156100a957600080fd5b506100b26101d9565b60408051918252519081900360200190f35b3480156100d057600080fd5b506100b260043560243560443560643515156101e0565b3480156100f357600080fd5b506100b26004356102a7565b34801561010b57600080fd5b5061011d6004356024356044356102cb565b604080519115158252519081900360200190f35b34801561013d57600080fd5b50610149600435610351565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b34801561017d57600080fd5b506100b260043561039a565b34801561019557600080fd5b5061011d6004356104c2565b3480156101ad57600080fd5b5061011d60043560243561050a565b3480156101c857600080fd5b5061011d6004356024351515610588565b6001545b90565b6000806101eb6101d9565b6000818152602081815260409182902089815560018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6810185905560049091018190558251908152908101899052808201879052905191925082917f1d993ec08481c99bf5092f1110228ab96e7c3a9ed793ff80146c9d250658f0c4916060908290030190a2505060015460001901949350505050565b60006001828154811015156102b857fe5b906000526020600020015490505b919050565b60006102d6846104c2565b15156102e157600080fd5b60008481526020818152604091829020600281018690556001810185905560048101549054835191825291810191909152808201849052905185917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25060019392505050565b600080600080610360856104c2565b151561036b57600080fd5b505050600091825250602081905260409020805460028201546001830154600390930154919390929160ff1690565b60008060006103a8846104c2565b15156103b357600080fd5b600084815260208190526040902060040154600180549193509060001981019081106103db57fe5b90600052602060002001549050806001838154811015156103f857fe5b60009182526020808320909101929092558281529081905260409020600401829055600180549061042d906000198301610600565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a260008181526020818152604091829020805460029091015483518681529283019190915281830152905182917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25092915050565b60015460009015156104d6575060006102c6565b6000828152602081905260409020600401546001805484929081106104f757fe5b9060005260206000200154149050919050565b6000610515836104c2565b151561052057600080fd5b600083815260208181526040918290208481556004810154600290910154835191825291810185905280830191909152905184917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a250600192915050565b6000610593836104c2565b151561059e57600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b81548183558181111561062457600083815260209020610624918101908301610629565b505050565b6101dd91905b80821115610643576000815560010161062f565b50905600a165627a7a723058209a1dfa9a4d10733a435ab16d59f9c6122b169d49914fb98b7098e7680e29741d0029", + "deployedBytecode": "0x6080604052600436106100985763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc811461009d5780633d69ba9e146100c45780636776c6bb146100e757806372b4763c146100ff5780638931828f14610131578063ae48388d14610171578063b602159314610189578063efef7d22146101a1578063fa2693b3146101bc575b600080fd5b3480156100a957600080fd5b506100b26101d9565b60408051918252519081900360200190f35b3480156100d057600080fd5b506100b260043560243560443560643515156101e0565b3480156100f357600080fd5b506100b26004356102a7565b34801561010b57600080fd5b5061011d6004356024356044356102cb565b604080519115158252519081900360200190f35b34801561013d57600080fd5b50610149600435610351565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b34801561017d57600080fd5b506100b260043561039a565b34801561019557600080fd5b5061011d6004356104c2565b3480156101ad57600080fd5b5061011d60043560243561050a565b3480156101c857600080fd5b5061011d6004356024351515610588565b6001545b90565b6000806101eb6101d9565b6000818152602081815260409182902089815560018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6810185905560049091018190558251908152908101899052808201879052905191925082917f1d993ec08481c99bf5092f1110228ab96e7c3a9ed793ff80146c9d250658f0c4916060908290030190a2505060015460001901949350505050565b60006001828154811015156102b857fe5b906000526020600020015490505b919050565b60006102d6846104c2565b15156102e157600080fd5b60008481526020818152604091829020600281018690556001810185905560048101549054835191825291810191909152808201849052905185917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25060019392505050565b600080600080610360856104c2565b151561036b57600080fd5b505050600091825250602081905260409020805460028201546001830154600390930154919390929160ff1690565b60008060006103a8846104c2565b15156103b357600080fd5b600084815260208190526040902060040154600180549193509060001981019081106103db57fe5b90600052602060002001549050806001838154811015156103f857fe5b60009182526020808320909101929092558281529081905260409020600401829055600180549061042d906000198301610600565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a260008181526020818152604091829020805460029091015483518681529283019190915281830152905182917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25092915050565b60015460009015156104d6575060006102c6565b6000828152602081905260409020600401546001805484929081106104f757fe5b9060005260206000200154149050919050565b6000610515836104c2565b151561052057600080fd5b600083815260208181526040918290208481556004810154600290910154835191825291810185905280830191909152905184917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a250600192915050565b6000610593836104c2565b151561059e57600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b81548183558181111561062457600083815260209020610624918101908301610629565b505050565b6101dd91905b80821115610643576000815560010161062f565b50905600a165627a7a723058209a1dfa9a4d10733a435ab16d59f9c6122b169d49914fb98b7098e7680e29741d0029", + "sourceMap": "28:4238:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28:4238:0;;;;;;;", + "deployedSourceMap": "28:4238:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3984:126;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3984:126:0;;;;;;;;;;;;;;;;;;;;923:735;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;923:735:0;;;;;;;;;;;;;4116:145;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4116:145:0;;;;;3232:444;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3232:444:0;;;;;;;;;;;;;;;;;;;;;;;;;;;2373:420;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2373:420:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1664:701;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1664:701:0;;;;;688:229;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;688:229:0;;;;;2802:422;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2802:422:0;;;;;;;3682:294;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3682:294:0;;;;;;;;;3984:126;4084:13;:20;3984:126;;:::o;923:735::-;1066:13;1091:20;1114:18;:16;:18::i;:::-;1139:15;:29;;;;;;;;;;;;:61;;;1207:38;;;;:54;;;1268:38;;;:54;;;1329:38;;;:54;;-1:-1:-1;;1329:54:0;;;;;;;27:10:-1;;23:18;;;45:23;;;1436:32:0;;;;;;1390:35;;;;:80;;;1484:132;;;;;;;;;;;;;;;;;;;1139:29;;-1:-1:-1;1139:29:0;;1484:132;;;;;;;;;;-1:-1:-1;;1651:1:0;1630:20;-1:-1:-1;;1630:22:0;;923:735;-1:-1:-1;;;;923:735:0:o;4116:145::-;4195:21;4235:13;4249:5;4235:20;;;;;;;;;;;;;;;;;;4228:27;;4116:145;;;;:::o;3232:444::-;3330:12;3359:17;3370:5;3359:10;:17::i;:::-;3358:18;3355:31;;;3378:8;;;3355:31;3395:15;:22;;;;;;;;;;;;:31;;;:42;;;3444:31;;;:42;;;3539:28;;;;3576:35;;3498:154;;;;;;;;;;;;;;;;;;;;3411:5;;3498:154;;;;;;;;;;-1:-1:-1;3666:4:0;3232:444;;;;;:::o;2373:420::-;2457:20;2479:13;2494;2509;2538:25;2549:13;2538:10;:25::i;:::-;2537:26;2534:39;;;2565:8;;;2534:39;-1:-1:-1;;;2597:15:0;:30;;;-1:-1:-1;2597:30:0;;;;;;;:43;;2650:39;;;;2699;;;;2747;;;;;2597:43;;2650:39;;2699;2747;;;2373:420::o;1664:701::-;1743:13;1822:19;1893:17;1772:31;1783:19;1772:10;:31::i;:::-;1771:32;1768:45;;;1805:8;;;1768:45;1844:15;:36;;;;;;;;;;:42;;;1915:13;1929:20;;1844:42;;-1:-1:-1;1915:13:0;-1:-1:-1;;1929:22:0;;;1915:37;;;;;;;;;;;;;;1893:59;;1988:9;1959:13;1973:11;1959:26;;;;;;;;;;;;;;;;;;;;;:38;;;;2004:26;;;;;;;;;;:32;;:46;;;2058:13;:22;;;;;-1:-1:-1;;2058:22:0;;;:::i;:::-;-1:-1:-1;2092:71:0;;;;;;;;2120:19;;2092:71;;;;;;;;;;2247:15;:26;;;;;;;;;;;;:39;;2298:35;;;;;2175:159;;;;;;;;;;;;;;;;;;2203:9;;2175:159;;;;;;;;;;-1:-1:-1;2348:11:0;1664:701;-1:-1:-1;;1664:701:0:o;688:229::-;794:13;:20;765:13;;794:25;791:42;;;-1:-1:-1;828:5:0;821:12;;791:42;862:15;:27;;;;;;;;;;:33;;;848:13;:48;;900:10;;862:33;848:48;;;;;;;;;;;;;;:62;840:71;;688:229;;;:::o;2802:422::-;2901:12;2930:25;2941:13;2930:10;:25::i;:::-;2929:26;2926:39;;;2957:8;;;2926:39;2974:15;:30;;;;;;;;;;;;:58;;;3093:36;;;;3160:39;;;;;3044:156;;;;;;;;;;;;;;;;;;;;2990:13;;3044:156;;;;;;;;;;-1:-1:-1;3214:4:0;2802:422;;;;:::o;3682:294::-;3758:12;3787:17;3798:5;3787:10;:17::i;:::-;3786:18;3783:31;;;3806:8;;;3783:31;3823:15;:22;;;;;;;;;;;;:31;;:40;;-1:-1:-1;;3823:40:0;;;;;;;;;3881:71;;3823:40;3919:31;;;3881:71;;;;;;3823:22;;3881:71;;;;;;;;;-1:-1:-1;3966:4:0;3682:294;;;;:::o;28:4238::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;", + "source": "pragma solidity ^0.4.18;\r\n\r\ncontract AuditCriteriaManager {\r\n\r\n struct CriteriaStruct {\r\n bytes32 criteriaText;\r\n uint minScore;\r\n uint maxScore;\r\n bool isActive;\r\n uint256 index;\r\n }\r\n \r\n mapping(uint256 => CriteriaStruct) private CriteriaStructs;\r\n uint256[] private CriteriaIndex;\r\n\r\n event LogNewCriteria (uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore);\r\n event LogUpdateCriteria(uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore);\r\n event LogDeleteCriteria(uint256 indexed CriteriaIndex, uint index);\r\n event LogCriteriaStatusChange(uint256 indexed CriteriaIndex, bool criteriaStatus);\r\n \r\n function isCriteria(uint indexExist)\r\n public \r\n constant\r\n returns(bool isIndeed) \r\n {\r\n if(CriteriaIndex.length == 0) return false;\r\n return (CriteriaIndex[CriteriaStructs[indexExist].index] == indexExist);\r\n }\r\n\r\n function insertCriteria(\r\n bytes32 newCriteriaText, \r\n uint minScore, \r\n uint maxScore,\r\n bool isActive) \r\n public\r\n returns(uint256 index)\r\n {\r\n uint256 currentIndex = getCriteriaCount();\r\n CriteriaStructs[currentIndex].criteriaText = newCriteriaText;\r\n CriteriaStructs[currentIndex].minScore = minScore;\r\n CriteriaStructs[currentIndex].maxScore = maxScore;\r\n CriteriaStructs[currentIndex].isActive = isActive;\r\n CriteriaStructs[currentIndex].index = CriteriaIndex.push(currentIndex)-1;\r\n\r\n emit LogNewCriteria(\r\n currentIndex, \r\n CriteriaStructs[currentIndex].index, \r\n newCriteriaText, \r\n maxScore);\r\n return CriteriaIndex.length-1;\r\n }\r\n\r\n function deleteCriteria(uint256 deleteCriteriaIndex) \r\n public\r\n returns(uint256 index)\r\n {\r\n if(!isCriteria(deleteCriteriaIndex)) revert();\r\n\r\n uint256 rowToDelete = CriteriaStructs[deleteCriteriaIndex].index;\r\n uint256 keyToMove = CriteriaIndex[CriteriaIndex.length-1];\r\n CriteriaIndex[rowToDelete] = keyToMove;\r\n CriteriaStructs[keyToMove].index = rowToDelete; \r\n CriteriaIndex.length--;\r\n emit LogDeleteCriteria(\r\n deleteCriteriaIndex, \r\n rowToDelete);\r\n emit LogUpdateCriteria(\r\n keyToMove, \r\n rowToDelete, \r\n CriteriaStructs[keyToMove].criteriaText, \r\n CriteriaStructs[keyToMove].maxScore);\r\n return rowToDelete;\r\n }\r\n \r\n function getCriteria(uint256 criteriaIndex)\r\n public \r\n constant\r\n returns(bytes32 criteriaText, uint maxScore, uint minScore, bool isActive)\r\n {\r\n if(!isCriteria(criteriaIndex)) revert();\r\n\r\n return(\r\n CriteriaStructs[criteriaIndex].criteriaText, \r\n CriteriaStructs[criteriaIndex].maxScore, \r\n CriteriaStructs[criteriaIndex].minScore,\r\n CriteriaStructs[criteriaIndex].isActive);\r\n } \r\n \r\n function updateCriteriaText(uint256 criteriaIndex, bytes32 criteriaText) \r\n public\r\n returns(bool success) \r\n {\r\n if(!isCriteria(criteriaIndex)) revert();\r\n\r\n CriteriaStructs[criteriaIndex].criteriaText = criteriaText;\r\n emit LogUpdateCriteria(\r\n criteriaIndex, \r\n CriteriaStructs[criteriaIndex].index,\r\n criteriaText, \r\n CriteriaStructs[criteriaIndex].maxScore);\r\n return true;\r\n }\r\n \r\n function updateMaxMinScore(uint256 index, uint MaxScore, uint MinScore) \r\n public\r\n returns(bool success) \r\n {\r\n if(!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].maxScore = MaxScore;\r\n CriteriaStructs[index].minScore = MinScore;\r\n emit LogUpdateCriteria(\r\n index, \r\n CriteriaStructs[index].index,\r\n CriteriaStructs[index].criteriaText,\r\n CriteriaStructs[index].minScore);\r\n return true;\r\n }\r\n\r\n function changeStatus(uint256 index, bool status) \r\n public\r\n returns(bool success) \r\n {\r\n if(!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].isActive = status;\r\n \r\n emit LogCriteriaStatusChange(\r\n index,CriteriaStructs[index].isActive );\r\n return true;\r\n }\r\n\r\n\r\n function getCriteriaCount() \r\n public\r\n constant\r\n returns(uint256 count)\r\n {\r\n return CriteriaIndex.length;\r\n }\r\n\r\n function getCriteriaAtIndex(uint index)\r\n public\r\n constant\r\n returns(uint256 criteriaIndex)\r\n {\r\n return CriteriaIndex[index];\r\n }\r\n\r\n}", "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\AuditCriteriaManager.sol", "ast": { "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", "exportedSymbols": { "AuditCriteriaManager": [ - 368 + 409 ] }, - "id": 369, + "id": 410, "nodeType": "SourceUnit", "nodes": [ { @@ -289,9 +329,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 368, + "id": 409, "linearizedBaseContracts": [ - 368 + 409 ], "name": "AuditCriteriaManager", "nodeType": "ContractDefinition", @@ -433,7 +473,7 @@ ], "name": "CriteriaStruct", "nodeType": "StructDefinition", - "scope": 368, + "scope": 409, "src": "65:135:0", "visibility": "public" }, @@ -442,7 +482,7 @@ "id": 16, "name": "CriteriaStructs", "nodeType": "VariableDeclaration", - "scope": 368, + "scope": 409, "src": "208:58:0", "stateVariable": true, "storageLocation": "default", @@ -489,7 +529,7 @@ "id": 19, "name": "CriteriaIndex", "nodeType": "VariableDeclaration", - "scope": 368, + "scope": 409, "src": "271:31:0", "stateVariable": true, "storageLocation": "default", @@ -835,11 +875,80 @@ }, "src": "525:67:0" }, + { + "anonymous": false, + "documentation": null, + "id": 51, + "name": "LogCriteriaStatusChange", + "nodeType": "EventDefinition", + "parameters": { + "id": 50, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 47, + "indexed": true, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 51, + "src": "626:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 46, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "626:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 49, + "indexed": false, + "name": "criteriaStatus", + "nodeType": "VariableDeclaration", + "scope": 51, + "src": "657:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 48, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "657:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "625:52:0" + }, + "src": "596:82:0" + }, { "body": { - "id": 69, + "id": 75, "nodeType": "Block", - "src": "696:133:0", + "src": "784:133:0", "statements": [ { "condition": { @@ -848,7 +957,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 55, + "id": 61, "isConstant": false, "isLValue": false, "isPure": false, @@ -857,18 +966,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 52, + "id": 58, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "706:13:0", + "src": "794:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 53, + "id": 59, "isConstant": false, "isLValue": true, "isPure": false, @@ -876,7 +985,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "706:20:0", + "src": "794:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -887,14 +996,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 54, + "id": 60, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "730:1:0", + "src": "818:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -902,28 +1011,28 @@ }, "value": "0" }, - "src": "706:25:0", + "src": "794:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 58, + "id": 64, "nodeType": "IfStatement", - "src": "703:42:0", + "src": "791:42:0", "trueBody": { "expression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 56, + "id": 62, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "740:5:0", + "src": "828:5:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -931,10 +1040,10 @@ }, "value": "false" }, - "functionReturnParameters": 51, - "id": 57, + "functionReturnParameters": 57, + "id": 63, "nodeType": "Return", - "src": "733:12:0" + "src": "821:12:0" } }, { @@ -947,7 +1056,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 66, + "id": 72, "isConstant": false, "isLValue": false, "isPure": false, @@ -956,44 +1065,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 59, + "id": 65, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "760:13:0", + "src": "848:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 64, + "id": 70, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 60, + "id": 66, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "774:15:0", + "src": "862:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 62, + "id": 68, "indexExpression": { "argumentTypes": null, - "id": 61, + "id": 67, "name": "indexExist", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 47, - "src": "790:10:0", + "referencedDeclaration": 53, + "src": "878:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1004,13 +1113,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "774:27:0", + "src": "862:27:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 63, + "id": 69, "isConstant": false, "isLValue": true, "isPure": false, @@ -1018,7 +1127,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "774:33:0", + "src": "862:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1029,7 +1138,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "760:48:0", + "src": "848:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1039,46 +1148,46 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 65, + "id": 71, "name": "indexExist", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 47, - "src": "812:10:0", + "referencedDeclaration": 53, + "src": "900:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "760:62:0", + "src": "848:62:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 67, + "id": 73, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "759:64:0", + "src": "847:64:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 51, - "id": 68, + "functionReturnParameters": 57, + "id": 74, "nodeType": "Return", - "src": "752:71:0" + "src": "840:71:0" } ] }, "documentation": null, - "id": 70, + "id": 76, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1086,16 +1195,16 @@ "name": "isCriteria", "nodeType": "FunctionDefinition", "parameters": { - "id": 48, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 47, + "id": 53, "name": "indexExist", "nodeType": "VariableDeclaration", - "scope": 70, - "src": "620:15:0", + "scope": 76, + "src": "708:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1103,10 +1212,10 @@ "typeString": "uint256" }, "typeName": { - "id": 46, + "id": 52, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "620:4:0", + "src": "708:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1116,20 +1225,20 @@ "visibility": "internal" } ], - "src": "619:17:0" + "src": "707:17:0" }, "payable": false, "returnParameters": { - "id": 51, + "id": 57, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 50, + "id": 56, "name": "isIndeed", "nodeType": "VariableDeclaration", - "scope": 70, - "src": "677:13:0", + "scope": 76, + "src": "765:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1137,10 +1246,10 @@ "typeString": "bool" }, "typeName": { - "id": 49, + "id": 55, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "677:4:0", + "src": "765:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1150,32 +1259,32 @@ "visibility": "internal" } ], - "src": "676:15:0" + "src": "764:15:0" }, - "scope": 368, - "src": "600:229:0", + "scope": 409, + "src": "688:229:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 143, + "id": 149, "nodeType": "Block", - "src": "996:625:0", + "src": "1084:574:0", "statements": [ { "assignments": [ - 84 + 90 ], "declarations": [ { "constant": false, - "id": 84, + "id": 90, "name": "currentIndex", "nodeType": "VariableDeclaration", - "scope": 144, - "src": "1052:20:0", + "scope": 150, + "src": "1091:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1183,10 +1292,10 @@ "typeString": "uint256" }, "typeName": { - "id": 83, + "id": 89, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1052:7:0", + "src": "1091:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1196,24 +1305,24 @@ "visibility": "internal" } ], - "id": 87, + "id": 93, "initialValue": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 85, + "id": 91, "name": "getCriteriaCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 355, - "src": "1075:16:0", + "referencedDeclaration": 396, + "src": "1114:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" } }, - "id": 86, + "id": 92, "isConstant": false, "isLValue": false, "isPure": false, @@ -1221,19 +1330,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1075:18:0", + "src": "1114:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1052:41:0" + "src": "1091:41:0" }, { "expression": { "argumentTypes": null, - "id": 93, + "id": 99, "isConstant": false, "isLValue": false, "isPure": false, @@ -1244,26 +1353,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 88, + "id": 94, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1102:15:0", + "src": "1139:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 90, + "id": 96, "indexExpression": { "argumentTypes": null, - "id": 89, + "id": 95, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1118:12:0", + "referencedDeclaration": 90, + "src": "1155:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1274,13 +1383,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1102:29:0", + "src": "1139:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 91, + "id": 97, "isConstant": false, "isLValue": true, "isPure": false, @@ -1288,7 +1397,7 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "1102:42:0", + "src": "1139:42:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -1298,31 +1407,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 92, + "id": 98, "name": "newCriteriaText", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 72, - "src": "1148:15:0", + "referencedDeclaration": 78, + "src": "1185:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "1102:61:0", + "src": "1139:61:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 94, + "id": 100, "nodeType": "ExpressionStatement", - "src": "1102:61:0" + "src": "1139:61:0" }, { "expression": { "argumentTypes": null, - "id": 100, + "id": 106, "isConstant": false, "isLValue": false, "isPure": false, @@ -1333,26 +1442,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 95, + "id": 101, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1170:15:0", + "src": "1207:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 97, + "id": 103, "indexExpression": { "argumentTypes": null, - "id": 96, + "id": 102, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1186:12:0", + "referencedDeclaration": 90, + "src": "1223:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1363,13 +1472,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1170:29:0", + "src": "1207:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 98, + "id": 104, "isConstant": false, "isLValue": true, "isPure": false, @@ -1377,7 +1486,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "1170:38:0", + "src": "1207:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1387,31 +1496,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 99, + "id": 105, "name": "minScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "1216:8:0", + "referencedDeclaration": 80, + "src": "1253:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1170:54:0", + "src": "1207:54:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 101, + "id": 107, "nodeType": "ExpressionStatement", - "src": "1170:54:0" + "src": "1207:54:0" }, { "expression": { "argumentTypes": null, - "id": 107, + "id": 113, "isConstant": false, "isLValue": false, "isPure": false, @@ -1422,26 +1531,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 102, + "id": 108, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1231:15:0", + "src": "1268:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 104, + "id": 110, "indexExpression": { "argumentTypes": null, - "id": 103, + "id": 109, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1247:12:0", + "referencedDeclaration": 90, + "src": "1284:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1452,13 +1561,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1231:29:0", + "src": "1268:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 105, + "id": 111, "isConstant": false, "isLValue": true, "isPure": false, @@ -1466,7 +1575,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "1231:38:0", + "src": "1268:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1476,31 +1585,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 106, + "id": 112, "name": "maxScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 76, - "src": "1277:8:0", + "referencedDeclaration": 82, + "src": "1314:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1231:54:0", + "src": "1268:54:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 108, + "id": 114, "nodeType": "ExpressionStatement", - "src": "1231:54:0" + "src": "1268:54:0" }, { "expression": { "argumentTypes": null, - "id": 114, + "id": 120, "isConstant": false, "isLValue": false, "isPure": false, @@ -1511,26 +1620,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 109, + "id": 115, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1292:15:0", + "src": "1329:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 111, + "id": 117, "indexExpression": { "argumentTypes": null, - "id": 110, + "id": 116, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1308:12:0", + "referencedDeclaration": 90, + "src": "1345:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1541,13 +1650,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1292:29:0", + "src": "1329:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 112, + "id": 118, "isConstant": false, "isLValue": true, "isPure": false, @@ -1555,7 +1664,7 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "1292:38:0", + "src": "1329:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1565,31 +1674,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 113, + "id": 119, "name": "isActive", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 78, - "src": "1338:8:0", + "referencedDeclaration": 84, + "src": "1375:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1292:54:0", + "src": "1329:54:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 115, + "id": 121, "nodeType": "ExpressionStatement", - "src": "1292:54:0" + "src": "1329:54:0" }, { "expression": { "argumentTypes": null, - "id": 126, + "id": 132, "isConstant": false, "isLValue": false, "isPure": false, @@ -1600,26 +1709,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 116, + "id": 122, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1353:15:0", + "src": "1390:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 118, + "id": 124, "indexExpression": { "argumentTypes": null, - "id": 117, + "id": 123, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1369:12:0", + "referencedDeclaration": 90, + "src": "1406:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1630,13 +1739,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1353:29:0", + "src": "1390:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 119, + "id": 125, "isConstant": false, "isLValue": true, "isPure": false, @@ -1644,7 +1753,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1353:35:0", + "src": "1390:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1658,7 +1767,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 125, + "id": 131, "isConstant": false, "isLValue": false, "isPure": false, @@ -1668,12 +1777,12 @@ "arguments": [ { "argumentTypes": null, - "id": 122, + "id": 128, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1418:12:0", + "referencedDeclaration": 90, + "src": "1455:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1689,18 +1798,18 @@ ], "expression": { "argumentTypes": null, - "id": 120, + "id": 126, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1399:13:0", + "src": "1436:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 121, + "id": 127, "isConstant": false, "isLValue": false, "isPure": false, @@ -1708,13 +1817,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1399:18:0", + "src": "1436:18:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256) returns (uint256)" } }, - "id": 123, + "id": 129, "isConstant": false, "isLValue": false, "isPure": false, @@ -1722,7 +1831,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1399:32:0", + "src": "1436:32:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1733,14 +1842,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 124, + "id": 130, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1432:1:0", + "src": "1469:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -1748,21 +1857,21 @@ }, "value": "1" }, - "src": "1399:34:0", + "src": "1436:34:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1353:80:0", + "src": "1390:80:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 127, + "id": 133, "nodeType": "ExpressionStatement", - "src": "1353:80:0" + "src": "1390:80:0" }, { "eventCall": { @@ -1770,12 +1879,12 @@ "arguments": [ { "argumentTypes": null, - "id": 129, + "id": 135, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1472:12:0", + "referencedDeclaration": 90, + "src": "1509:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1787,26 +1896,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 130, + "id": 136, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1496:15:0", + "src": "1533:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 132, + "id": 138, "indexExpression": { "argumentTypes": null, - "id": 131, + "id": 137, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1512:12:0", + "referencedDeclaration": 90, + "src": "1549:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1817,13 +1926,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1496:29:0", + "src": "1533:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 133, + "id": 139, "isConstant": false, "isLValue": true, "isPure": false, @@ -1831,7 +1940,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1496:35:0", + "src": "1533:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1839,12 +1948,12 @@ }, { "argumentTypes": null, - "id": 134, + "id": 140, "name": "newCriteriaText", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 72, - "src": "1543:15:0", + "referencedDeclaration": 78, + "src": "1580:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -1852,12 +1961,12 @@ }, { "argumentTypes": null, - "id": 135, + "id": 141, "name": "maxScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 76, - "src": "1570:8:0", + "referencedDeclaration": 82, + "src": "1607:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1883,18 +1992,18 @@ "typeString": "uint256" } ], - "id": 128, + "id": 134, "name": "LogNewCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 29, - "src": "1447:14:0", + "src": "1484:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256,bytes32,uint256)" } }, - "id": 136, + "id": 142, "isConstant": false, "isLValue": false, "isPure": false, @@ -1902,15 +2011,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1447:132:0", + "src": "1484:132:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 137, + "id": 143, "nodeType": "EmitStatement", - "src": "1442:137:0" + "src": "1479:137:0" }, { "expression": { @@ -1919,7 +2028,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 141, + "id": 147, "isConstant": false, "isLValue": false, "isPure": false, @@ -1928,18 +2037,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 138, + "id": 144, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1593:13:0", + "src": "1630:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 139, + "id": 145, "isConstant": false, "isLValue": true, "isPure": false, @@ -1947,7 +2056,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1593:20:0", + "src": "1630:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1958,14 +2067,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 140, + "id": 146, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1614:1:0", + "src": "1651:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -1973,21 +2082,21 @@ }, "value": "1" }, - "src": "1593:22:0", + "src": "1630:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 82, - "id": 142, + "functionReturnParameters": 88, + "id": 148, "nodeType": "Return", - "src": "1586:29:0" + "src": "1623:29:0" } ] }, "documentation": null, - "id": 144, + "id": 150, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -1995,16 +2104,16 @@ "name": "insertCriteria", "nodeType": "FunctionDefinition", "parameters": { - "id": 79, + "id": 85, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 72, + "id": 78, "name": "newCriteriaText", "nodeType": "VariableDeclaration", - "scope": 144, - "src": "865:23:0", + "scope": 150, + "src": "953:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2012,10 +2121,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 71, + "id": 77, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "865:7:0", + "src": "953:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2026,11 +2135,11 @@ }, { "constant": false, - "id": 74, + "id": 80, "name": "minScore", "nodeType": "VariableDeclaration", - "scope": 144, - "src": "896:13:0", + "scope": 150, + "src": "984:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2038,10 +2147,10 @@ "typeString": "uint256" }, "typeName": { - "id": 73, + "id": 79, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "896:4:0", + "src": "984:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2052,11 +2161,11 @@ }, { "constant": false, - "id": 76, + "id": 82, "name": "maxScore", "nodeType": "VariableDeclaration", - "scope": 144, - "src": "917:13:0", + "scope": 150, + "src": "1005:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2064,10 +2173,10 @@ "typeString": "uint256" }, "typeName": { - "id": 75, + "id": 81, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "917:4:0", + "src": "1005:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2078,11 +2187,11 @@ }, { "constant": false, - "id": 78, + "id": 84, "name": "isActive", "nodeType": "VariableDeclaration", - "scope": 144, - "src": "937:13:0", + "scope": 150, + "src": "1025:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2090,10 +2199,10 @@ "typeString": "bool" }, "typeName": { - "id": 77, + "id": 83, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "937:4:0", + "src": "1025:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2103,20 +2212,20 @@ "visibility": "internal" } ], - "src": "858:93:0" + "src": "946:93:0" }, "payable": false, "returnParameters": { - "id": 82, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 81, + "id": 87, "name": "index", "nodeType": "VariableDeclaration", - "scope": 144, - "src": "978:13:0", + "scope": 150, + "src": "1066:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2124,10 +2233,10 @@ "typeString": "uint256" }, "typeName": { - "id": 80, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "978:7:0", + "src": "1066:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2137,24 +2246,24 @@ "visibility": "internal" } ], - "src": "977:15:0" + "src": "1065:15:0" }, - "scope": 368, - "src": "835:786:0", + "scope": 409, + "src": "923:735:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 213, + "id": 219, "nodeType": "Block", - "src": "1724:604:0", + "src": "1761:604:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 154, + "id": 160, "isConstant": false, "isLValue": false, "isPure": false, @@ -2162,18 +2271,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "1734:32:0", + "src": "1771:32:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 152, + "id": 158, "name": "deleteCriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "1746:19:0", + "referencedDeclaration": 152, + "src": "1783:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2187,18 +2296,18 @@ "typeString": "uint256" } ], - "id": 151, + "id": 157, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "1735:10:0", + "referencedDeclaration": 76, + "src": "1772:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 153, + "id": 159, "isConstant": false, "isLValue": false, "isPure": false, @@ -2206,7 +2315,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1735:31:0", + "src": "1772:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2218,30 +2327,30 @@ } }, "falseBody": null, - "id": 158, + "id": 164, "nodeType": "IfStatement", - "src": "1731:45:0", + "src": "1768:45:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 155, + "id": 161, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 388, - 389 + 429, + 430 ], - "referencedDeclaration": 388, - "src": "1768:6:0", + "referencedDeclaration": 429, + "src": "1805:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 156, + "id": 162, "isConstant": false, "isLValue": false, "isPure": false, @@ -2249,29 +2358,29 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1768:8:0", + "src": "1805:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 157, + "id": 163, "nodeType": "ExpressionStatement", - "src": "1768:8:0" + "src": "1805:8:0" } }, { "assignments": [ - 160 + 166 ], "declarations": [ { "constant": false, - "id": 160, + "id": 166, "name": "rowToDelete", "nodeType": "VariableDeclaration", - "scope": 214, - "src": "1785:19:0", + "scope": 220, + "src": "1822:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2279,10 +2388,10 @@ "typeString": "uint256" }, "typeName": { - "id": 159, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1785:7:0", + "src": "1822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2292,33 +2401,33 @@ "visibility": "internal" } ], - "id": 165, + "id": 171, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 161, + "id": 167, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1807:15:0", + "src": "1844:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 163, + "id": 169, "indexExpression": { "argumentTypes": null, - "id": 162, + "id": 168, "name": "deleteCriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "1823:19:0", + "referencedDeclaration": 152, + "src": "1860:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2329,13 +2438,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1807:36:0", + "src": "1844:36:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 164, + "id": 170, "isConstant": false, "isLValue": true, "isPure": false, @@ -2343,27 +2452,27 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1807:42:0", + "src": "1844:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1785:64:0" + "src": "1822:64:0" }, { "assignments": [ - 167 + 173 ], "declarations": [ { "constant": false, - "id": 167, + "id": 173, "name": "keyToMove", "nodeType": "VariableDeclaration", - "scope": 214, - "src": "1856:17:0", + "scope": 220, + "src": "1893:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2371,10 +2480,10 @@ "typeString": "uint256" }, "typeName": { - "id": 166, + "id": 172, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1856:7:0", + "src": "1893:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2384,30 +2493,30 @@ "visibility": "internal" } ], - "id": 174, + "id": 180, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 168, + "id": 174, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1878:13:0", + "src": "1915:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 173, + "id": 179, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 172, + "id": 178, "isConstant": false, "isLValue": false, "isPure": false, @@ -2416,18 +2525,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 169, + "id": 175, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1892:13:0", + "src": "1929:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 170, + "id": 176, "isConstant": false, "isLValue": true, "isPure": false, @@ -2435,7 +2544,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1892:20:0", + "src": "1929:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2446,14 +2555,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 171, + "id": 177, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1913:1:0", + "src": "1950:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -2461,7 +2570,7 @@ }, "value": "1" }, - "src": "1892:22:0", + "src": "1929:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2472,19 +2581,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1878:37:0", + "src": "1915:37:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1856:59:0" + "src": "1893:59:0" }, { "expression": { "argumentTypes": null, - "id": 179, + "id": 185, "isConstant": false, "isLValue": false, "isPure": false, @@ -2493,26 +2602,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 175, + "id": 181, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1922:13:0", + "src": "1959:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 177, + "id": 183, "indexExpression": { "argumentTypes": null, - "id": 176, + "id": 182, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 160, - "src": "1936:11:0", + "referencedDeclaration": 166, + "src": "1973:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2523,7 +2632,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1922:26:0", + "src": "1959:26:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2533,31 +2642,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 178, + "id": 184, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 167, - "src": "1951:9:0", + "referencedDeclaration": 173, + "src": "1988:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1922:38:0", + "src": "1959:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 180, + "id": 186, "nodeType": "ExpressionStatement", - "src": "1922:38:0" + "src": "1959:38:0" }, { "expression": { "argumentTypes": null, - "id": 186, + "id": 192, "isConstant": false, "isLValue": false, "isPure": false, @@ -2568,26 +2677,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 181, + "id": 187, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1967:15:0", + "src": "2004:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 183, + "id": 189, "indexExpression": { "argumentTypes": null, - "id": 182, + "id": 188, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 167, - "src": "1983:9:0", + "referencedDeclaration": 173, + "src": "2020:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2598,13 +2707,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1967:26:0", + "src": "2004:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 184, + "id": 190, "isConstant": false, "isLValue": true, "isPure": false, @@ -2612,7 +2721,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1967:32:0", + "src": "2004:32:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2622,31 +2731,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 185, + "id": 191, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 160, - "src": "2002:11:0", + "referencedDeclaration": 166, + "src": "2039:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1967:46:0", + "src": "2004:46:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 187, + "id": 193, "nodeType": "ExpressionStatement", - "src": "1967:46:0" + "src": "2004:46:0" }, { "expression": { "argumentTypes": null, - "id": 191, + "id": 197, "isConstant": false, "isLValue": false, "isPure": false, @@ -2654,23 +2763,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "2021:22:0", + "src": "2058:22:0", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 188, + "id": 194, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "2021:13:0", + "src": "2058:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 190, + "id": 196, "isConstant": false, "isLValue": true, "isPure": false, @@ -2678,7 +2787,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2021:20:0", + "src": "2058:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2689,9 +2798,9 @@ "typeString": "uint256" } }, - "id": 192, + "id": 198, "nodeType": "ExpressionStatement", - "src": "2021:22:0" + "src": "2058:22:0" }, { "eventCall": { @@ -2699,12 +2808,12 @@ "arguments": [ { "argumentTypes": null, - "id": 194, + "id": 200, "name": "deleteCriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2083:19:0", + "referencedDeclaration": 152, + "src": "2120:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2712,12 +2821,12 @@ }, { "argumentTypes": null, - "id": 195, + "id": 201, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 160, - "src": "2114:11:0", + "referencedDeclaration": 166, + "src": "2151:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2735,18 +2844,18 @@ "typeString": "uint256" } ], - "id": 193, + "id": 199, "name": "LogDeleteCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 45, - "src": "2055:17:0", + "src": "2092:17:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256)" } }, - "id": 196, + "id": 202, "isConstant": false, "isLValue": false, "isPure": false, @@ -2754,15 +2863,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2055:71:0", + "src": "2092:71:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 197, + "id": 203, "nodeType": "EmitStatement", - "src": "2050:76:0" + "src": "2087:76:0" }, { "eventCall": { @@ -2770,12 +2879,12 @@ "arguments": [ { "argumentTypes": null, - "id": 199, + "id": 205, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 167, - "src": "2166:9:0", + "referencedDeclaration": 173, + "src": "2203:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2783,12 +2892,12 @@ }, { "argumentTypes": null, - "id": 200, + "id": 206, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 160, - "src": "2187:11:0", + "referencedDeclaration": 166, + "src": "2224:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2800,26 +2909,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 201, + "id": 207, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2210:15:0", + "src": "2247:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 203, + "id": 209, "indexExpression": { "argumentTypes": null, - "id": 202, + "id": 208, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 167, - "src": "2226:9:0", + "referencedDeclaration": 173, + "src": "2263:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2830,13 +2939,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2210:26:0", + "src": "2247:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 204, + "id": 210, "isConstant": false, "isLValue": true, "isPure": false, @@ -2844,7 +2953,7 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2210:39:0", + "src": "2247:39:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2856,26 +2965,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 205, + "id": 211, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2261:15:0", + "src": "2298:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 207, + "id": 213, "indexExpression": { "argumentTypes": null, - "id": 206, + "id": 212, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 167, - "src": "2277:9:0", + "referencedDeclaration": 173, + "src": "2314:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2886,13 +2995,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2261:26:0", + "src": "2298:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 208, + "id": 214, "isConstant": false, "isLValue": true, "isPure": false, @@ -2900,7 +3009,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "2261:35:0", + "src": "2298:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2926,18 +3035,18 @@ "typeString": "uint256" } ], - "id": 198, + "id": 204, "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "2138:17:0", + "src": "2175:17:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256,bytes32,uint256)" } }, - "id": 209, + "id": 215, "isConstant": false, "isLValue": false, "isPure": false, @@ -2945,39 +3054,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2138:159:0", + "src": "2175:159:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 210, + "id": 216, "nodeType": "EmitStatement", - "src": "2133:164:0" + "src": "2170:164:0" }, { "expression": { "argumentTypes": null, - "id": 211, + "id": 217, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 160, - "src": "2311:11:0", + "referencedDeclaration": 166, + "src": "2348:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 150, - "id": 212, + "functionReturnParameters": 156, + "id": 218, "nodeType": "Return", - "src": "2304:18:0" + "src": "2341:18:0" } ] }, "documentation": null, - "id": 214, + "id": 220, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -2985,16 +3094,16 @@ "name": "deleteCriteria", "nodeType": "FunctionDefinition", "parameters": { - "id": 147, + "id": 153, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 146, + "id": 152, "name": "deleteCriteriaIndex", "nodeType": "VariableDeclaration", - "scope": 214, - "src": "1651:27:0", + "scope": 220, + "src": "1688:27:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3002,10 +3111,10 @@ "typeString": "uint256" }, "typeName": { - "id": 145, + "id": 151, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1651:7:0", + "src": "1688:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3015,20 +3124,20 @@ "visibility": "internal" } ], - "src": "1650:29:0" + "src": "1687:29:0" }, "payable": false, "returnParameters": { - "id": 150, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 149, + "id": 155, "name": "index", "nodeType": "VariableDeclaration", - "scope": 214, - "src": "1706:13:0", + "scope": 220, + "src": "1743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3036,10 +3145,10 @@ "typeString": "uint256" }, "typeName": { - "id": 148, + "id": 154, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1706:7:0", + "src": "1743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3049,24 +3158,24 @@ "visibility": "internal" } ], - "src": "1705:15:0" + "src": "1742:15:0" }, - "scope": 368, - "src": "1627:701:0", + "scope": 409, + "src": "1664:701:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 253, + "id": 259, "nodeType": "Block", - "src": "2490:266:0", + "src": "2527:266:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 230, + "id": 236, "isConstant": false, "isLValue": false, "isPure": false, @@ -3074,18 +3183,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2500:26:0", + "src": "2537:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 228, + "id": 234, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 216, - "src": "2512:13:0", + "referencedDeclaration": 222, + "src": "2549:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3099,18 +3208,18 @@ "typeString": "uint256" } ], - "id": 227, + "id": 233, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "2501:10:0", + "referencedDeclaration": 76, + "src": "2538:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 229, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -3118,7 +3227,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2501:25:0", + "src": "2538:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3130,30 +3239,30 @@ } }, "falseBody": null, - "id": 234, + "id": 240, "nodeType": "IfStatement", - "src": "2497:39:0", + "src": "2534:39:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 231, + "id": 237, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 388, - 389 + 429, + 430 ], - "referencedDeclaration": 388, - "src": "2528:6:0", + "referencedDeclaration": 429, + "src": "2565:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 232, + "id": 238, "isConstant": false, "isLValue": false, "isPure": false, @@ -3161,15 +3270,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2528:8:0", + "src": "2565:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 233, + "id": 239, "nodeType": "ExpressionStatement", - "src": "2528:8:0" + "src": "2565:8:0" } }, { @@ -3182,26 +3291,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 235, + "id": 241, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2560:15:0", + "src": "2597:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 237, + "id": 243, "indexExpression": { "argumentTypes": null, - "id": 236, + "id": 242, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 216, - "src": "2576:13:0", + "referencedDeclaration": 222, + "src": "2613:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3212,13 +3321,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2560:30:0", + "src": "2597:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 238, + "id": 244, "isConstant": false, "isLValue": true, "isPure": false, @@ -3226,7 +3335,7 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2560:43:0", + "src": "2597:43:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3238,26 +3347,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 239, + "id": 245, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2613:15:0", + "src": "2650:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 241, + "id": 247, "indexExpression": { "argumentTypes": null, - "id": 240, + "id": 246, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 216, - "src": "2629:13:0", + "referencedDeclaration": 222, + "src": "2666:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3268,13 +3377,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2613:30:0", + "src": "2650:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 242, + "id": 248, "isConstant": false, "isLValue": true, "isPure": false, @@ -3282,7 +3391,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "2613:39:0", + "src": "2650:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3294,26 +3403,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 243, + "id": 249, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2662:15:0", + "src": "2699:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 245, + "id": 251, "indexExpression": { "argumentTypes": null, - "id": 244, + "id": 250, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 216, - "src": "2678:13:0", + "referencedDeclaration": 222, + "src": "2715:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3324,13 +3433,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2662:30:0", + "src": "2699:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 246, + "id": 252, "isConstant": false, "isLValue": true, "isPure": false, @@ -3338,7 +3447,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "2662:39:0", + "src": "2699:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3350,26 +3459,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 247, + "id": 253, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2710:15:0", + "src": "2747:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 249, + "id": 255, "indexExpression": { "argumentTypes": null, - "id": 248, + "id": 254, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 216, - "src": "2726:13:0", + "referencedDeclaration": 222, + "src": "2763:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3380,13 +3489,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2710:30:0", + "src": "2747:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 250, + "id": 256, "isConstant": false, "isLValue": true, "isPure": false, @@ -3394,35 +3503,35 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "2710:39:0", + "src": "2747:39:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 251, + "id": 257, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2551:199:0", + "src": "2588:199:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_uint256_$_t_uint256_$_t_bool_$", "typeString": "tuple(bytes32,uint256,uint256,bool)" } }, - "functionReturnParameters": 226, - "id": 252, + "functionReturnParameters": 232, + "id": 258, "nodeType": "Return", - "src": "2545:205:0" + "src": "2582:205:0" } ] }, "documentation": null, - "id": 254, + "id": 260, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3430,16 +3539,16 @@ "name": "getCriteria", "nodeType": "FunctionDefinition", "parameters": { - "id": 217, + "id": 223, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 216, + "id": 222, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2357:21:0", + "scope": 260, + "src": "2394:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3447,10 +3556,10 @@ "typeString": "uint256" }, "typeName": { - "id": 215, + "id": 221, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2357:7:0", + "src": "2394:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3460,20 +3569,20 @@ "visibility": "internal" } ], - "src": "2356:23:0" + "src": "2393:23:0" }, "payable": false, "returnParameters": { - "id": 226, + "id": 232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 219, + "id": 225, "name": "criteriaText", "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2420:20:0", + "scope": 260, + "src": "2457:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3481,10 +3590,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 218, + "id": 224, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2420:7:0", + "src": "2457:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3495,11 +3604,11 @@ }, { "constant": false, - "id": 221, + "id": 227, "name": "maxScore", "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2442:13:0", + "scope": 260, + "src": "2479:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3507,10 +3616,10 @@ "typeString": "uint256" }, "typeName": { - "id": 220, + "id": 226, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2442:4:0", + "src": "2479:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3521,11 +3630,11 @@ }, { "constant": false, - "id": 223, + "id": 229, "name": "minScore", "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2457:13:0", + "scope": 260, + "src": "2494:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3533,10 +3642,10 @@ "typeString": "uint256" }, "typeName": { - "id": 222, + "id": 228, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2457:4:0", + "src": "2494:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3547,11 +3656,11 @@ }, { "constant": false, - "id": 225, + "id": 231, "name": "isActive", "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2472:13:0", + "scope": 260, + "src": "2509:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3559,10 +3668,10 @@ "typeString": "bool" }, "typeName": { - "id": 224, + "id": 230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2472:4:0", + "src": "2509:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3572,24 +3681,24 @@ "visibility": "internal" } ], - "src": "2419:67:0" + "src": "2456:67:0" }, - "scope": 368, - "src": "2336:420:0", + "scope": 409, + "src": "2373:420:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 293, + "id": 299, "nodeType": "Block", - "src": "2882:305:0", + "src": "2919:305:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 266, + "id": 272, "isConstant": false, "isLValue": false, "isPure": false, @@ -3597,18 +3706,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2892:26:0", + "src": "2929:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 264, + "id": 270, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "2904:13:0", + "referencedDeclaration": 262, + "src": "2941:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3622,18 +3731,18 @@ "typeString": "uint256" } ], - "id": 263, + "id": 269, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "2893:10:0", + "referencedDeclaration": 76, + "src": "2930:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 265, + "id": 271, "isConstant": false, "isLValue": false, "isPure": false, @@ -3641,7 +3750,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2893:25:0", + "src": "2930:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3653,30 +3762,30 @@ } }, "falseBody": null, - "id": 270, + "id": 276, "nodeType": "IfStatement", - "src": "2889:39:0", + "src": "2926:39:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 267, + "id": 273, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 388, - 389 + 429, + 430 ], - "referencedDeclaration": 388, - "src": "2920:6:0", + "referencedDeclaration": 429, + "src": "2957:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 268, + "id": 274, "isConstant": false, "isLValue": false, "isPure": false, @@ -3684,21 +3793,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2920:8:0", + "src": "2957:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 269, + "id": 275, "nodeType": "ExpressionStatement", - "src": "2920:8:0" + "src": "2957:8:0" } }, { "expression": { "argumentTypes": null, - "id": 276, + "id": 282, "isConstant": false, "isLValue": false, "isPure": false, @@ -3709,26 +3818,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 271, + "id": 277, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2937:15:0", + "src": "2974:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 273, + "id": 279, "indexExpression": { "argumentTypes": null, - "id": 272, + "id": 278, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "2953:13:0", + "referencedDeclaration": 262, + "src": "2990:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3739,13 +3848,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2937:30:0", + "src": "2974:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 274, + "id": 280, "isConstant": false, "isLValue": true, "isPure": false, @@ -3753,7 +3862,7 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2937:43:0", + "src": "2974:43:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3763,26 +3872,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 275, + "id": 281, "name": "criteriaText", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 258, - "src": "2983:12:0", + "referencedDeclaration": 264, + "src": "3020:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "2937:58:0", + "src": "2974:58:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 277, + "id": 283, "nodeType": "ExpressionStatement", - "src": "2937:58:0" + "src": "2974:58:0" }, { "eventCall": { @@ -3790,12 +3899,12 @@ "arguments": [ { "argumentTypes": null, - "id": 279, + "id": 285, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "3033:13:0", + "referencedDeclaration": 262, + "src": "3070:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3807,26 +3916,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 280, + "id": 286, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3056:15:0", + "src": "3093:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 282, + "id": 288, "indexExpression": { "argumentTypes": null, - "id": 281, + "id": 287, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "3072:13:0", + "referencedDeclaration": 262, + "src": "3109:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3837,13 +3946,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3056:30:0", + "src": "3093:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 283, + "id": 289, "isConstant": false, "isLValue": true, "isPure": false, @@ -3851,7 +3960,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "3056:36:0", + "src": "3093:36:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3859,12 +3968,12 @@ }, { "argumentTypes": null, - "id": 284, + "id": 290, "name": "criteriaText", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 258, - "src": "3101:12:0", + "referencedDeclaration": 264, + "src": "3138:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3876,26 +3985,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 285, + "id": 291, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3123:15:0", + "src": "3160:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 287, + "id": 293, "indexExpression": { "argumentTypes": null, - "id": 286, + "id": 292, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "3139:13:0", + "referencedDeclaration": 262, + "src": "3176:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3906,13 +4015,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3123:30:0", + "src": "3160:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 288, + "id": 294, "isConstant": false, "isLValue": true, "isPure": false, @@ -3920,7 +4029,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "3123:39:0", + "src": "3160:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3946,18 +4055,18 @@ "typeString": "uint256" } ], - "id": 278, + "id": 284, "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "3007:17:0", + "src": "3044:17:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256,bytes32,uint256)" } }, - "id": 289, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, @@ -3965,28 +4074,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3007:156:0", + "src": "3044:156:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 290, + "id": 296, "nodeType": "EmitStatement", - "src": "3002:161:0" + "src": "3039:161:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 291, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3177:4:0", + "src": "3214:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -3994,15 +4103,15 @@ }, "value": "true" }, - "functionReturnParameters": 262, - "id": 292, + "functionReturnParameters": 268, + "id": 298, "nodeType": "Return", - "src": "3170:11:0" + "src": "3207:11:0" } ] }, "documentation": null, - "id": 294, + "id": 300, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -4010,16 +4119,16 @@ "name": "updateCriteriaText", "nodeType": "FunctionDefinition", "parameters": { - "id": 259, + "id": 265, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 256, + "id": 262, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 294, - "src": "2793:21:0", + "scope": 300, + "src": "2830:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4027,10 +4136,10 @@ "typeString": "uint256" }, "typeName": { - "id": 255, + "id": 261, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2793:7:0", + "src": "2830:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4041,11 +4150,11 @@ }, { "constant": false, - "id": 258, + "id": 264, "name": "criteriaText", "nodeType": "VariableDeclaration", - "scope": 294, - "src": "2816:20:0", + "scope": 300, + "src": "2853:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4053,10 +4162,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 257, + "id": 263, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2816:7:0", + "src": "2853:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4066,20 +4175,20 @@ "visibility": "internal" } ], - "src": "2792:45:0" + "src": "2829:45:0" }, "payable": false, "returnParameters": { - "id": 262, + "id": 268, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 261, + "id": 267, "name": "success", "nodeType": "VariableDeclaration", - "scope": 294, - "src": "2864:12:0", + "scope": 300, + "src": "2901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4087,10 +4196,10 @@ "typeString": "bool" }, "typeName": { - "id": 260, + "id": 266, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2864:4:0", + "src": "2901:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4100,24 +4209,24 @@ "visibility": "internal" } ], - "src": "2863:14:0" + "src": "2900:14:0" }, - "scope": 368, - "src": "2765:422:0", + "scope": 409, + "src": "2802:422:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 345, + "id": 351, "nodeType": "Block", - "src": "3311:328:0", + "src": "3348:328:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 308, + "id": 314, "isConstant": false, "isLValue": false, "isPure": false, @@ -4125,18 +4234,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3321:18:0", + "src": "3358:18:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 306, + "id": 312, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3333:5:0", + "referencedDeclaration": 302, + "src": "3370:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4150,18 +4259,18 @@ "typeString": "uint256" } ], - "id": 305, + "id": 311, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "3322:10:0", + "referencedDeclaration": 76, + "src": "3359:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 307, + "id": 313, "isConstant": false, "isLValue": false, "isPure": false, @@ -4169,7 +4278,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3322:17:0", + "src": "3359:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4181,30 +4290,30 @@ } }, "falseBody": null, - "id": 312, + "id": 318, "nodeType": "IfStatement", - "src": "3318:31:0", + "src": "3355:31:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 309, + "id": 315, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 388, - 389 + 429, + 430 ], - "referencedDeclaration": 388, - "src": "3341:6:0", + "referencedDeclaration": 429, + "src": "3378:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 310, + "id": 316, "isConstant": false, "isLValue": false, "isPure": false, @@ -4212,21 +4321,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3341:8:0", + "src": "3378:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 311, + "id": 317, "nodeType": "ExpressionStatement", - "src": "3341:8:0" + "src": "3378:8:0" } }, { "expression": { "argumentTypes": null, - "id": 318, + "id": 324, "isConstant": false, "isLValue": false, "isPure": false, @@ -4237,26 +4346,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 313, + "id": 319, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3358:15:0", + "src": "3395:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 315, + "id": 321, "indexExpression": { "argumentTypes": null, - "id": 314, + "id": 320, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3374:5:0", + "referencedDeclaration": 302, + "src": "3411:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4267,13 +4376,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3358:22:0", + "src": "3395:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 316, + "id": 322, "isConstant": false, "isLValue": true, "isPure": false, @@ -4281,7 +4390,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "3358:31:0", + "src": "3395:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4291,31 +4400,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 317, + "id": 323, "name": "MaxScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 298, - "src": "3392:8:0", + "referencedDeclaration": 304, + "src": "3429:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3358:42:0", + "src": "3395:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 319, + "id": 325, "nodeType": "ExpressionStatement", - "src": "3358:42:0" + "src": "3395:42:0" }, { "expression": { "argumentTypes": null, - "id": 325, + "id": 331, "isConstant": false, "isLValue": false, "isPure": false, @@ -4326,26 +4435,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 320, + "id": 326, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3407:15:0", + "src": "3444:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 322, + "id": 328, "indexExpression": { "argumentTypes": null, - "id": 321, + "id": 327, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3423:5:0", + "referencedDeclaration": 302, + "src": "3460:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4356,13 +4465,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3407:22:0", + "src": "3444:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 323, + "id": 329, "isConstant": false, "isLValue": true, "isPure": false, @@ -4370,7 +4479,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "3407:31:0", + "src": "3444:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4380,26 +4489,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 324, + "id": 330, "name": "MinScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 300, - "src": "3441:8:0", + "referencedDeclaration": 306, + "src": "3478:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3407:42:0", + "src": "3444:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 326, + "id": 332, "nodeType": "ExpressionStatement", - "src": "3407:42:0" + "src": "3444:42:0" }, { "eventCall": { @@ -4407,12 +4516,12 @@ "arguments": [ { "argumentTypes": null, - "id": 328, + "id": 334, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3487:5:0", + "referencedDeclaration": 302, + "src": "3524:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4424,26 +4533,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 329, + "id": 335, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3502:15:0", + "src": "3539:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 331, + "id": 337, "indexExpression": { "argumentTypes": null, - "id": 330, + "id": 336, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3518:5:0", + "referencedDeclaration": 302, + "src": "3555:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4454,13 +4563,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3502:22:0", + "src": "3539:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 332, + "id": 338, "isConstant": false, "isLValue": true, "isPure": false, @@ -4468,7 +4577,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "3502:28:0", + "src": "3539:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4480,26 +4589,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 333, + "id": 339, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3539:15:0", + "src": "3576:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 335, + "id": 341, "indexExpression": { "argumentTypes": null, - "id": 334, + "id": 340, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3555:5:0", + "referencedDeclaration": 302, + "src": "3592:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4510,13 +4619,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3539:22:0", + "src": "3576:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 336, + "id": 342, "isConstant": false, "isLValue": true, "isPure": false, @@ -4524,7 +4633,7 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "3539:35:0", + "src": "3576:35:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4536,26 +4645,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 337, + "id": 343, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3583:15:0", + "src": "3620:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 339, + "id": 345, "indexExpression": { "argumentTypes": null, - "id": 338, + "id": 344, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3599:5:0", + "referencedDeclaration": 302, + "src": "3636:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4566,13 +4675,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3583:22:0", + "src": "3620:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 340, + "id": 346, "isConstant": false, "isLValue": true, "isPure": false, @@ -4580,7 +4689,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "3583:31:0", + "src": "3620:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4606,18 +4715,18 @@ "typeString": "uint256" } ], - "id": 327, + "id": 333, "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "3461:17:0", + "src": "3498:17:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256,bytes32,uint256)" } }, - "id": 341, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, @@ -4625,28 +4734,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3461:154:0", + "src": "3498:154:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 342, + "id": 348, "nodeType": "EmitStatement", - "src": "3456:159:0" + "src": "3493:159:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 343, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3629:4:0", + "src": "3666:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -4654,15 +4763,15 @@ }, "value": "true" }, - "functionReturnParameters": 304, - "id": 344, + "functionReturnParameters": 310, + "id": 350, "nodeType": "Return", - "src": "3622:11:0" + "src": "3659:11:0" } ] }, "documentation": null, - "id": 346, + "id": 352, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -4670,16 +4779,16 @@ "name": "updateMaxMinScore", "nodeType": "FunctionDefinition", "parameters": { - "id": 301, + "id": 307, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 296, + "id": 302, "name": "index", "nodeType": "VariableDeclaration", - "scope": 346, - "src": "3222:13:0", + "scope": 352, + "src": "3259:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4687,10 +4796,10 @@ "typeString": "uint256" }, "typeName": { - "id": 295, + "id": 301, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3222:7:0", + "src": "3259:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4701,11 +4810,11 @@ }, { "constant": false, - "id": 298, + "id": 304, "name": "MaxScore", "nodeType": "VariableDeclaration", - "scope": 346, - "src": "3237:13:0", + "scope": 352, + "src": "3274:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4713,10 +4822,10 @@ "typeString": "uint256" }, "typeName": { - "id": 297, + "id": 303, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3237:4:0", + "src": "3274:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4727,11 +4836,11 @@ }, { "constant": false, - "id": 300, + "id": 306, "name": "MinScore", "nodeType": "VariableDeclaration", - "scope": 346, - "src": "3252:13:0", + "scope": 352, + "src": "3289:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4739,10 +4848,10 @@ "typeString": "uint256" }, "typeName": { - "id": 299, + "id": 305, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3252:4:0", + "src": "3289:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4752,20 +4861,20 @@ "visibility": "internal" } ], - "src": "3221:45:0" + "src": "3258:45:0" }, "payable": false, "returnParameters": { - "id": 304, + "id": 310, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 303, + "id": 309, "name": "success", "nodeType": "VariableDeclaration", - "scope": 346, - "src": "3293:12:0", + "scope": 352, + "src": "3330:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4773,10 +4882,10 @@ "typeString": "bool" }, "typeName": { - "id": 302, + "id": 308, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3293:4:0", + "src": "3330:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4786,83 +4895,534 @@ "visibility": "internal" } ], - "src": "3292:14:0" + "src": "3329:14:0" }, - "scope": 368, - "src": "3195:444:0", + "scope": 409, + "src": "3232:444:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 354, + "id": 386, "nodeType": "Block", - "src": "3731:40:0", + "src": "3776:200:0", "statements": [ { - "expression": { + "condition": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 351, - "name": "CriteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "3745:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 352, + "id": 364, "isConstant": false, - "isLValue": true, + "isLValue": false, "isPure": false, "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3745:20:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 350, - "id": 353, - "nodeType": "Return", - "src": "3738:27:0" - } - ] - }, - "documentation": null, - "id": 355, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": true, - "modifiers": [], - "name": "getCriteriaCount", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 347, - "nodeType": "ParameterList", - "parameters": [], - "src": "3670:2:0" - }, - "payable": false, - "returnParameters": { - "id": 350, - "nodeType": "ParameterList", - "parameters": [ - { + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3786:18:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 362, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 354, + "src": "3798:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 361, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 76, + "src": "3787:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 363, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3787:17:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 368, + "nodeType": "IfStatement", + "src": "3783:31:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 365, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 429, + 430 + ], + "referencedDeclaration": 429, + "src": "3806:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3806:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 367, + "nodeType": "ExpressionStatement", + "src": "3806:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "id": 374, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 369, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3823:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 371, + "indexExpression": { + "argumentTypes": null, + "id": 370, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 354, + "src": "3839:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3823:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 372, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "isActive", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "3823:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 373, + "name": "status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 356, + "src": "3857:6:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "3823:40:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 375, + "nodeType": "ExpressionStatement", + "src": "3823:40:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 377, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 354, + "src": "3913:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 378, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3919:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 380, + "indexExpression": { + "argumentTypes": null, + "id": 379, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 354, + "src": "3935:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3919:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 381, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "isActive", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "3919:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 376, + "name": "LogCriteriaStatusChange", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 51, + "src": "3881:23:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bool_$returns$__$", + "typeString": "function (uint256,bool)" + } + }, + "id": 382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3881:71:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 383, + "nodeType": "EmitStatement", + "src": "3876:76:0" + }, + { + "expression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 384, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3966:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 360, + "id": 385, + "nodeType": "Return", + "src": "3959:11:0" + } + ] + }, + "documentation": null, + "id": 387, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "changeStatus", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 357, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 354, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 387, + "src": "3704:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 353, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3704:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 356, + "name": "status", + "nodeType": "VariableDeclaration", + "scope": 387, + "src": "3719:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 355, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3719:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3703:28:0" + }, + "payable": false, + "returnParameters": { + "id": 360, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 359, + "name": "success", + "nodeType": "VariableDeclaration", + "scope": 387, + "src": "3758:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 358, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3758:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3757:14:0" + }, + "scope": 409, + "src": "3682:294:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 395, + "nodeType": "Block", + "src": "4070:40:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 392, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "4084:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 393, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "4084:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 391, + "id": 394, + "nodeType": "Return", + "src": "4077:27:0" + } + ] + }, + "documentation": null, + "id": 396, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getCriteriaCount", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 388, + "nodeType": "ParameterList", + "parameters": [], + "src": "4009:2:0" + }, + "payable": false, + "returnParameters": { + "id": 391, + "nodeType": "ParameterList", + "parameters": [ + { "constant": false, - "id": 349, + "id": 390, "name": "count", "nodeType": "VariableDeclaration", - "scope": 355, - "src": "3713:13:0", + "scope": 396, + "src": "4052:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4870,10 +5430,10 @@ "typeString": "uint256" }, "typeName": { - "id": 348, + "id": 389, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3713:7:0", + "src": "4052:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4883,45 +5443,45 @@ "visibility": "internal" } ], - "src": "3712:15:0" + "src": "4051:15:0" }, - "scope": 368, - "src": "3645:126:0", + "scope": 409, + "src": "3984:126:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 366, + "id": 407, "nodeType": "Block", - "src": "3882:40:0", + "src": "4221:40:0", "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 362, + "id": 403, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "3896:13:0", + "src": "4235:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 364, + "id": 405, "indexExpression": { "argumentTypes": null, - "id": 363, + "id": 404, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 357, - "src": "3910:5:0", + "referencedDeclaration": 398, + "src": "4249:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4932,21 +5492,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3896:20:0", + "src": "4235:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 361, - "id": 365, + "functionReturnParameters": 402, + "id": 406, "nodeType": "Return", - "src": "3889:27:0" + "src": "4228:27:0" } ] }, "documentation": null, - "id": 367, + "id": 408, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4954,16 +5514,16 @@ "name": "getCriteriaAtIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 358, + "id": 399, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 357, + "id": 398, "name": "index", "nodeType": "VariableDeclaration", - "scope": 367, - "src": "3805:10:0", + "scope": 408, + "src": "4144:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4971,10 +5531,10 @@ "typeString": "uint256" }, "typeName": { - "id": 356, + "id": 397, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3805:4:0", + "src": "4144:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4984,20 +5544,20 @@ "visibility": "internal" } ], - "src": "3804:12:0" + "src": "4143:12:0" }, "payable": false, "returnParameters": { - "id": 361, + "id": 402, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 360, + "id": 401, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 367, - "src": "3856:21:0", + "scope": 408, + "src": "4195:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5005,10 +5565,10 @@ "typeString": "uint256" }, "typeName": { - "id": 359, + "id": 400, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3856:7:0", + "src": "4195:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5018,29 +5578,29 @@ "visibility": "internal" } ], - "src": "3855:23:0" + "src": "4194:23:0" }, - "scope": 368, - "src": "3777:145:0", + "scope": 409, + "src": "4116:145:0", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], - "scope": 369, - "src": "28:3899:0" + "scope": 410, + "src": "28:4238:0" } ], - "src": "0:3927:0" + "src": "0:4266:0" }, "legacyAST": { "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", "exportedSymbols": { "AuditCriteriaManager": [ - 368 + 409 ] }, - "id": 369, + "id": 410, "nodeType": "SourceUnit", "nodes": [ { @@ -5060,9 +5620,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 368, + "id": 409, "linearizedBaseContracts": [ - 368 + 409 ], "name": "AuditCriteriaManager", "nodeType": "ContractDefinition", @@ -5204,7 +5764,7 @@ ], "name": "CriteriaStruct", "nodeType": "StructDefinition", - "scope": 368, + "scope": 409, "src": "65:135:0", "visibility": "public" }, @@ -5213,7 +5773,7 @@ "id": 16, "name": "CriteriaStructs", "nodeType": "VariableDeclaration", - "scope": 368, + "scope": 409, "src": "208:58:0", "stateVariable": true, "storageLocation": "default", @@ -5260,7 +5820,7 @@ "id": 19, "name": "CriteriaIndex", "nodeType": "VariableDeclaration", - "scope": 368, + "scope": 409, "src": "271:31:0", "stateVariable": true, "storageLocation": "default", @@ -5606,11 +6166,80 @@ }, "src": "525:67:0" }, + { + "anonymous": false, + "documentation": null, + "id": 51, + "name": "LogCriteriaStatusChange", + "nodeType": "EventDefinition", + "parameters": { + "id": 50, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 47, + "indexed": true, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 51, + "src": "626:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 46, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "626:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 49, + "indexed": false, + "name": "criteriaStatus", + "nodeType": "VariableDeclaration", + "scope": 51, + "src": "657:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 48, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "657:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "625:52:0" + }, + "src": "596:82:0" + }, { "body": { - "id": 69, + "id": 75, "nodeType": "Block", - "src": "696:133:0", + "src": "784:133:0", "statements": [ { "condition": { @@ -5619,7 +6248,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 55, + "id": 61, "isConstant": false, "isLValue": false, "isPure": false, @@ -5628,18 +6257,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 52, + "id": 58, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "706:13:0", + "src": "794:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 53, + "id": 59, "isConstant": false, "isLValue": true, "isPure": false, @@ -5647,7 +6276,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "706:20:0", + "src": "794:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5658,14 +6287,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 54, + "id": 60, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "730:1:0", + "src": "818:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -5673,28 +6302,28 @@ }, "value": "0" }, - "src": "706:25:0", + "src": "794:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 58, + "id": 64, "nodeType": "IfStatement", - "src": "703:42:0", + "src": "791:42:0", "trueBody": { "expression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 56, + "id": 62, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "740:5:0", + "src": "828:5:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -5702,10 +6331,10 @@ }, "value": "false" }, - "functionReturnParameters": 51, - "id": 57, + "functionReturnParameters": 57, + "id": 63, "nodeType": "Return", - "src": "733:12:0" + "src": "821:12:0" } }, { @@ -5718,7 +6347,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 66, + "id": 72, "isConstant": false, "isLValue": false, "isPure": false, @@ -5727,44 +6356,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 59, + "id": 65, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "760:13:0", + "src": "848:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 64, + "id": 70, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 60, + "id": 66, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "774:15:0", + "src": "862:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 62, + "id": 68, "indexExpression": { "argumentTypes": null, - "id": 61, + "id": 67, "name": "indexExist", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 47, - "src": "790:10:0", + "referencedDeclaration": 53, + "src": "878:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5775,13 +6404,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "774:27:0", + "src": "862:27:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 63, + "id": 69, "isConstant": false, "isLValue": true, "isPure": false, @@ -5789,7 +6418,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "774:33:0", + "src": "862:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5800,7 +6429,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "760:48:0", + "src": "848:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5810,46 +6439,46 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 65, + "id": 71, "name": "indexExist", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 47, - "src": "812:10:0", + "referencedDeclaration": 53, + "src": "900:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "760:62:0", + "src": "848:62:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 67, + "id": 73, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "759:64:0", + "src": "847:64:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 51, - "id": 68, + "functionReturnParameters": 57, + "id": 74, "nodeType": "Return", - "src": "752:71:0" + "src": "840:71:0" } ] }, "documentation": null, - "id": 70, + "id": 76, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5857,16 +6486,16 @@ "name": "isCriteria", "nodeType": "FunctionDefinition", "parameters": { - "id": 48, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 47, + "id": 53, "name": "indexExist", "nodeType": "VariableDeclaration", - "scope": 70, - "src": "620:15:0", + "scope": 76, + "src": "708:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5874,10 +6503,10 @@ "typeString": "uint256" }, "typeName": { - "id": 46, + "id": 52, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "620:4:0", + "src": "708:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5887,20 +6516,20 @@ "visibility": "internal" } ], - "src": "619:17:0" + "src": "707:17:0" }, "payable": false, "returnParameters": { - "id": 51, + "id": 57, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 50, + "id": 56, "name": "isIndeed", "nodeType": "VariableDeclaration", - "scope": 70, - "src": "677:13:0", + "scope": 76, + "src": "765:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5908,10 +6537,10 @@ "typeString": "bool" }, "typeName": { - "id": 49, + "id": 55, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "677:4:0", + "src": "765:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5921,32 +6550,32 @@ "visibility": "internal" } ], - "src": "676:15:0" + "src": "764:15:0" }, - "scope": 368, - "src": "600:229:0", + "scope": 409, + "src": "688:229:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 143, + "id": 149, "nodeType": "Block", - "src": "996:625:0", + "src": "1084:574:0", "statements": [ { "assignments": [ - 84 + 90 ], "declarations": [ { "constant": false, - "id": 84, + "id": 90, "name": "currentIndex", "nodeType": "VariableDeclaration", - "scope": 144, - "src": "1052:20:0", + "scope": 150, + "src": "1091:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5954,10 +6583,10 @@ "typeString": "uint256" }, "typeName": { - "id": 83, + "id": 89, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1052:7:0", + "src": "1091:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5967,24 +6596,24 @@ "visibility": "internal" } ], - "id": 87, + "id": 93, "initialValue": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 85, + "id": 91, "name": "getCriteriaCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 355, - "src": "1075:16:0", + "referencedDeclaration": 396, + "src": "1114:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" } }, - "id": 86, + "id": 92, "isConstant": false, "isLValue": false, "isPure": false, @@ -5992,19 +6621,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1075:18:0", + "src": "1114:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1052:41:0" + "src": "1091:41:0" }, { "expression": { "argumentTypes": null, - "id": 93, + "id": 99, "isConstant": false, "isLValue": false, "isPure": false, @@ -6015,26 +6644,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 88, + "id": 94, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1102:15:0", + "src": "1139:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 90, + "id": 96, "indexExpression": { "argumentTypes": null, - "id": 89, + "id": 95, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1118:12:0", + "referencedDeclaration": 90, + "src": "1155:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6045,13 +6674,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1102:29:0", + "src": "1139:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 91, + "id": 97, "isConstant": false, "isLValue": true, "isPure": false, @@ -6059,7 +6688,7 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "1102:42:0", + "src": "1139:42:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -6069,31 +6698,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 92, + "id": 98, "name": "newCriteriaText", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 72, - "src": "1148:15:0", + "referencedDeclaration": 78, + "src": "1185:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "1102:61:0", + "src": "1139:61:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 94, + "id": 100, "nodeType": "ExpressionStatement", - "src": "1102:61:0" + "src": "1139:61:0" }, { "expression": { "argumentTypes": null, - "id": 100, + "id": 106, "isConstant": false, "isLValue": false, "isPure": false, @@ -6104,26 +6733,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 95, + "id": 101, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1170:15:0", + "src": "1207:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 97, + "id": 103, "indexExpression": { "argumentTypes": null, - "id": 96, + "id": 102, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1186:12:0", + "referencedDeclaration": 90, + "src": "1223:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6134,13 +6763,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1170:29:0", + "src": "1207:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 98, + "id": 104, "isConstant": false, "isLValue": true, "isPure": false, @@ -6148,7 +6777,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "1170:38:0", + "src": "1207:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6158,31 +6787,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 99, + "id": 105, "name": "minScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "1216:8:0", + "referencedDeclaration": 80, + "src": "1253:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1170:54:0", + "src": "1207:54:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 101, + "id": 107, "nodeType": "ExpressionStatement", - "src": "1170:54:0" + "src": "1207:54:0" }, { "expression": { "argumentTypes": null, - "id": 107, + "id": 113, "isConstant": false, "isLValue": false, "isPure": false, @@ -6193,26 +6822,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 102, + "id": 108, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1231:15:0", + "src": "1268:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 104, + "id": 110, "indexExpression": { "argumentTypes": null, - "id": 103, + "id": 109, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1247:12:0", + "referencedDeclaration": 90, + "src": "1284:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6223,13 +6852,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1231:29:0", + "src": "1268:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 105, + "id": 111, "isConstant": false, "isLValue": true, "isPure": false, @@ -6237,7 +6866,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "1231:38:0", + "src": "1268:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6247,31 +6876,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 106, + "id": 112, "name": "maxScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 76, - "src": "1277:8:0", + "referencedDeclaration": 82, + "src": "1314:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1231:54:0", + "src": "1268:54:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 108, + "id": 114, "nodeType": "ExpressionStatement", - "src": "1231:54:0" + "src": "1268:54:0" }, { "expression": { "argumentTypes": null, - "id": 114, + "id": 120, "isConstant": false, "isLValue": false, "isPure": false, @@ -6282,26 +6911,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 109, + "id": 115, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1292:15:0", + "src": "1329:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 111, + "id": 117, "indexExpression": { "argumentTypes": null, - "id": 110, + "id": 116, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1308:12:0", + "referencedDeclaration": 90, + "src": "1345:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6312,13 +6941,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1292:29:0", + "src": "1329:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 112, + "id": 118, "isConstant": false, "isLValue": true, "isPure": false, @@ -6326,7 +6955,7 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "1292:38:0", + "src": "1329:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6336,31 +6965,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 113, + "id": 119, "name": "isActive", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 78, - "src": "1338:8:0", + "referencedDeclaration": 84, + "src": "1375:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1292:54:0", + "src": "1329:54:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 115, + "id": 121, "nodeType": "ExpressionStatement", - "src": "1292:54:0" + "src": "1329:54:0" }, { "expression": { "argumentTypes": null, - "id": 126, + "id": 132, "isConstant": false, "isLValue": false, "isPure": false, @@ -6371,26 +7000,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 116, + "id": 122, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1353:15:0", + "src": "1390:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 118, + "id": 124, "indexExpression": { "argumentTypes": null, - "id": 117, + "id": 123, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1369:12:0", + "referencedDeclaration": 90, + "src": "1406:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6401,13 +7030,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1353:29:0", + "src": "1390:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 119, + "id": 125, "isConstant": false, "isLValue": true, "isPure": false, @@ -6415,7 +7044,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1353:35:0", + "src": "1390:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6429,7 +7058,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 125, + "id": 131, "isConstant": false, "isLValue": false, "isPure": false, @@ -6439,12 +7068,12 @@ "arguments": [ { "argumentTypes": null, - "id": 122, + "id": 128, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1418:12:0", + "referencedDeclaration": 90, + "src": "1455:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6460,18 +7089,18 @@ ], "expression": { "argumentTypes": null, - "id": 120, + "id": 126, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1399:13:0", + "src": "1436:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 121, + "id": 127, "isConstant": false, "isLValue": false, "isPure": false, @@ -6479,13 +7108,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1399:18:0", + "src": "1436:18:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256) returns (uint256)" } }, - "id": 123, + "id": 129, "isConstant": false, "isLValue": false, "isPure": false, @@ -6493,7 +7122,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1399:32:0", + "src": "1436:32:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6504,14 +7133,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 124, + "id": 130, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1432:1:0", + "src": "1469:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -6519,21 +7148,21 @@ }, "value": "1" }, - "src": "1399:34:0", + "src": "1436:34:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1353:80:0", + "src": "1390:80:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 127, + "id": 133, "nodeType": "ExpressionStatement", - "src": "1353:80:0" + "src": "1390:80:0" }, { "eventCall": { @@ -6541,12 +7170,12 @@ "arguments": [ { "argumentTypes": null, - "id": 129, + "id": 135, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1472:12:0", + "referencedDeclaration": 90, + "src": "1509:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6558,26 +7187,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 130, + "id": 136, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1496:15:0", + "src": "1533:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 132, + "id": 138, "indexExpression": { "argumentTypes": null, - "id": 131, + "id": 137, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1512:12:0", + "referencedDeclaration": 90, + "src": "1549:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6588,13 +7217,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1496:29:0", + "src": "1533:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 133, + "id": 139, "isConstant": false, "isLValue": true, "isPure": false, @@ -6602,7 +7231,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1496:35:0", + "src": "1533:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6610,12 +7239,12 @@ }, { "argumentTypes": null, - "id": 134, + "id": 140, "name": "newCriteriaText", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 72, - "src": "1543:15:0", + "referencedDeclaration": 78, + "src": "1580:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -6623,12 +7252,12 @@ }, { "argumentTypes": null, - "id": 135, + "id": 141, "name": "maxScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 76, - "src": "1570:8:0", + "referencedDeclaration": 82, + "src": "1607:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6654,18 +7283,18 @@ "typeString": "uint256" } ], - "id": 128, + "id": 134, "name": "LogNewCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 29, - "src": "1447:14:0", + "src": "1484:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256,bytes32,uint256)" } }, - "id": 136, + "id": 142, "isConstant": false, "isLValue": false, "isPure": false, @@ -6673,15 +7302,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1447:132:0", + "src": "1484:132:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 137, + "id": 143, "nodeType": "EmitStatement", - "src": "1442:137:0" + "src": "1479:137:0" }, { "expression": { @@ -6690,7 +7319,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 141, + "id": 147, "isConstant": false, "isLValue": false, "isPure": false, @@ -6699,18 +7328,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 138, + "id": 144, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1593:13:0", + "src": "1630:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 139, + "id": 145, "isConstant": false, "isLValue": true, "isPure": false, @@ -6718,7 +7347,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1593:20:0", + "src": "1630:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6729,14 +7358,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 140, + "id": 146, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1614:1:0", + "src": "1651:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -6744,21 +7373,21 @@ }, "value": "1" }, - "src": "1593:22:0", + "src": "1630:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 82, - "id": 142, + "functionReturnParameters": 88, + "id": 148, "nodeType": "Return", - "src": "1586:29:0" + "src": "1623:29:0" } ] }, "documentation": null, - "id": 144, + "id": 150, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -6766,16 +7395,16 @@ "name": "insertCriteria", "nodeType": "FunctionDefinition", "parameters": { - "id": 79, + "id": 85, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 72, + "id": 78, "name": "newCriteriaText", "nodeType": "VariableDeclaration", - "scope": 144, - "src": "865:23:0", + "scope": 150, + "src": "953:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6783,10 +7412,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 71, + "id": 77, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "865:7:0", + "src": "953:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -6797,11 +7426,11 @@ }, { "constant": false, - "id": 74, + "id": 80, "name": "minScore", "nodeType": "VariableDeclaration", - "scope": 144, - "src": "896:13:0", + "scope": 150, + "src": "984:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6809,10 +7438,10 @@ "typeString": "uint256" }, "typeName": { - "id": 73, + "id": 79, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "896:4:0", + "src": "984:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6823,11 +7452,11 @@ }, { "constant": false, - "id": 76, + "id": 82, "name": "maxScore", "nodeType": "VariableDeclaration", - "scope": 144, - "src": "917:13:0", + "scope": 150, + "src": "1005:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6835,10 +7464,10 @@ "typeString": "uint256" }, "typeName": { - "id": 75, + "id": 81, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "917:4:0", + "src": "1005:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6849,11 +7478,11 @@ }, { "constant": false, - "id": 78, + "id": 84, "name": "isActive", "nodeType": "VariableDeclaration", - "scope": 144, - "src": "937:13:0", + "scope": 150, + "src": "1025:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6861,10 +7490,10 @@ "typeString": "bool" }, "typeName": { - "id": 77, + "id": 83, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "937:4:0", + "src": "1025:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6874,20 +7503,20 @@ "visibility": "internal" } ], - "src": "858:93:0" + "src": "946:93:0" }, "payable": false, "returnParameters": { - "id": 82, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 81, + "id": 87, "name": "index", "nodeType": "VariableDeclaration", - "scope": 144, - "src": "978:13:0", + "scope": 150, + "src": "1066:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6895,10 +7524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 80, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "978:7:0", + "src": "1066:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6908,24 +7537,24 @@ "visibility": "internal" } ], - "src": "977:15:0" + "src": "1065:15:0" }, - "scope": 368, - "src": "835:786:0", + "scope": 409, + "src": "923:735:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 213, + "id": 219, "nodeType": "Block", - "src": "1724:604:0", + "src": "1761:604:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 154, + "id": 160, "isConstant": false, "isLValue": false, "isPure": false, @@ -6933,18 +7562,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "1734:32:0", + "src": "1771:32:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 152, + "id": 158, "name": "deleteCriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "1746:19:0", + "referencedDeclaration": 152, + "src": "1783:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6958,18 +7587,18 @@ "typeString": "uint256" } ], - "id": 151, + "id": 157, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "1735:10:0", + "referencedDeclaration": 76, + "src": "1772:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 153, + "id": 159, "isConstant": false, "isLValue": false, "isPure": false, @@ -6977,7 +7606,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1735:31:0", + "src": "1772:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6989,30 +7618,30 @@ } }, "falseBody": null, - "id": 158, + "id": 164, "nodeType": "IfStatement", - "src": "1731:45:0", + "src": "1768:45:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 155, + "id": 161, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 388, - 389 + 429, + 430 ], - "referencedDeclaration": 388, - "src": "1768:6:0", + "referencedDeclaration": 429, + "src": "1805:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 156, + "id": 162, "isConstant": false, "isLValue": false, "isPure": false, @@ -7020,29 +7649,29 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1768:8:0", + "src": "1805:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 157, + "id": 163, "nodeType": "ExpressionStatement", - "src": "1768:8:0" + "src": "1805:8:0" } }, { "assignments": [ - 160 + 166 ], "declarations": [ { "constant": false, - "id": 160, + "id": 166, "name": "rowToDelete", "nodeType": "VariableDeclaration", - "scope": 214, - "src": "1785:19:0", + "scope": 220, + "src": "1822:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7050,10 +7679,10 @@ "typeString": "uint256" }, "typeName": { - "id": 159, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1785:7:0", + "src": "1822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7063,33 +7692,33 @@ "visibility": "internal" } ], - "id": 165, + "id": 171, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 161, + "id": 167, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1807:15:0", + "src": "1844:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 163, + "id": 169, "indexExpression": { "argumentTypes": null, - "id": 162, + "id": 168, "name": "deleteCriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "1823:19:0", + "referencedDeclaration": 152, + "src": "1860:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7100,13 +7729,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1807:36:0", + "src": "1844:36:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 164, + "id": 170, "isConstant": false, "isLValue": true, "isPure": false, @@ -7114,27 +7743,27 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1807:42:0", + "src": "1844:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1785:64:0" + "src": "1822:64:0" }, { "assignments": [ - 167 + 173 ], "declarations": [ { "constant": false, - "id": 167, + "id": 173, "name": "keyToMove", "nodeType": "VariableDeclaration", - "scope": 214, - "src": "1856:17:0", + "scope": 220, + "src": "1893:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7142,10 +7771,10 @@ "typeString": "uint256" }, "typeName": { - "id": 166, + "id": 172, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1856:7:0", + "src": "1893:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7155,30 +7784,30 @@ "visibility": "internal" } ], - "id": 174, + "id": 180, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 168, + "id": 174, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1878:13:0", + "src": "1915:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 173, + "id": 179, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 172, + "id": 178, "isConstant": false, "isLValue": false, "isPure": false, @@ -7187,18 +7816,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 169, + "id": 175, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1892:13:0", + "src": "1929:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 170, + "id": 176, "isConstant": false, "isLValue": true, "isPure": false, @@ -7206,7 +7835,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1892:20:0", + "src": "1929:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7217,14 +7846,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 171, + "id": 177, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1913:1:0", + "src": "1950:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -7232,7 +7861,7 @@ }, "value": "1" }, - "src": "1892:22:0", + "src": "1929:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7243,19 +7872,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1878:37:0", + "src": "1915:37:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1856:59:0" + "src": "1893:59:0" }, { "expression": { "argumentTypes": null, - "id": 179, + "id": 185, "isConstant": false, "isLValue": false, "isPure": false, @@ -7264,26 +7893,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 175, + "id": 181, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1922:13:0", + "src": "1959:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 177, + "id": 183, "indexExpression": { "argumentTypes": null, - "id": 176, + "id": 182, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 160, - "src": "1936:11:0", + "referencedDeclaration": 166, + "src": "1973:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7294,7 +7923,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1922:26:0", + "src": "1959:26:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7304,31 +7933,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 178, + "id": 184, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 167, - "src": "1951:9:0", + "referencedDeclaration": 173, + "src": "1988:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1922:38:0", + "src": "1959:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 180, + "id": 186, "nodeType": "ExpressionStatement", - "src": "1922:38:0" + "src": "1959:38:0" }, { "expression": { "argumentTypes": null, - "id": 186, + "id": 192, "isConstant": false, "isLValue": false, "isPure": false, @@ -7339,26 +7968,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 181, + "id": 187, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1967:15:0", + "src": "2004:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 183, + "id": 189, "indexExpression": { "argumentTypes": null, - "id": 182, + "id": 188, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 167, - "src": "1983:9:0", + "referencedDeclaration": 173, + "src": "2020:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7369,13 +7998,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1967:26:0", + "src": "2004:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 184, + "id": 190, "isConstant": false, "isLValue": true, "isPure": false, @@ -7383,7 +8012,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1967:32:0", + "src": "2004:32:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7393,31 +8022,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 185, + "id": 191, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 160, - "src": "2002:11:0", + "referencedDeclaration": 166, + "src": "2039:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1967:46:0", + "src": "2004:46:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 187, + "id": 193, "nodeType": "ExpressionStatement", - "src": "1967:46:0" + "src": "2004:46:0" }, { "expression": { "argumentTypes": null, - "id": 191, + "id": 197, "isConstant": false, "isLValue": false, "isPure": false, @@ -7425,23 +8054,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "2021:22:0", + "src": "2058:22:0", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 188, + "id": 194, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "2021:13:0", + "src": "2058:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 190, + "id": 196, "isConstant": false, "isLValue": true, "isPure": false, @@ -7449,7 +8078,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2021:20:0", + "src": "2058:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7460,9 +8089,9 @@ "typeString": "uint256" } }, - "id": 192, + "id": 198, "nodeType": "ExpressionStatement", - "src": "2021:22:0" + "src": "2058:22:0" }, { "eventCall": { @@ -7470,25 +8099,208 @@ "arguments": [ { "argumentTypes": null, - "id": 194, + "id": 200, "name": "deleteCriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2083:19:0", + "referencedDeclaration": 152, + "src": "2120:19:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 201, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 166, + "src": "2151:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 199, + "name": "LogDeleteCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 45, + "src": "2092:17:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256)" + } + }, + "id": 202, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2092:71:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 203, + "nodeType": "EmitStatement", + "src": "2087:76:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 205, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 173, + "src": "2203:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 206, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 166, + "src": "2224:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 207, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2247:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 209, + "indexExpression": { + "argumentTypes": null, + "id": 208, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 173, + "src": "2263:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2247:26:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 210, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2247:39:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" } }, { "argumentTypes": null, - "id": 195, - "name": "rowToDelete", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 160, - "src": "2114:11:0", + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 211, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2298:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 213, + "indexExpression": { + "argumentTypes": null, + "id": 212, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 173, + "src": "2314:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2298:26:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 214, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "2298:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7501,23 +8313,31 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], - "id": 193, - "name": "LogDeleteCriteria", + "id": 204, + "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 45, - "src": "2055:17:0", + "referencedDeclaration": 39, + "src": "2175:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,bytes32,uint256)" } }, - "id": 196, + "id": 215, "isConstant": false, "isLValue": false, "isPure": false, @@ -7525,72 +8345,263 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2055:71:0", + "src": "2175:159:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 197, + "id": 216, "nodeType": "EmitStatement", - "src": "2050:76:0" + "src": "2170:164:0" }, { - "eventCall": { + "expression": { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 199, - "name": "keyToMove", + "id": 217, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 166, + "src": "2348:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 156, + "id": 218, + "nodeType": "Return", + "src": "2341:18:0" + } + ] + }, + "documentation": null, + "id": 220, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "deleteCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 153, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 152, + "name": "deleteCriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 220, + "src": "1688:27:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 151, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1688:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1687:29:0" + }, + "payable": false, + "returnParameters": { + "id": 156, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 155, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 220, + "src": "1743:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 154, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1743:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1742:15:0" + }, + "scope": 409, + "src": "1664:701:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 259, + "nodeType": "Block", + "src": "2527:266:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 236, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2537:26:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 234, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 222, + "src": "2549:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 233, + "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 167, - "src": "2166:9:0", + "referencedDeclaration": 76, + "src": "2538:10:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" } }, - { - "argumentTypes": null, - "id": 200, - "name": "rowToDelete", + "id": 235, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2538:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 240, + "nodeType": "IfStatement", + "src": "2534:39:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 237, + "name": "revert", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 160, - "src": "2187:11:0", + "overloadedDeclarations": [ + 429, + 430 + ], + "referencedDeclaration": 429, + "src": "2565:6:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" } }, + "id": 238, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2565:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 239, + "nodeType": "ExpressionStatement", + "src": "2565:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "components": [ { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 201, + "id": 241, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2210:15:0", + "src": "2597:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 203, + "id": 243, "indexExpression": { "argumentTypes": null, - "id": 202, - "name": "keyToMove", + "id": 242, + "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 167, - "src": "2226:9:0", + "referencedDeclaration": 222, + "src": "2613:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7601,13 +8612,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2210:26:0", + "src": "2597:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 204, + "id": 244, "isConstant": false, "isLValue": true, "isPure": false, @@ -7615,7 +8626,7 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2210:39:0", + "src": "2597:43:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -7627,26 +8638,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 205, + "id": 245, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2261:15:0", + "src": "2650:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 207, + "id": 247, "indexExpression": { "argumentTypes": null, - "id": 206, - "name": "keyToMove", + "id": 246, + "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 167, - "src": "2277:9:0", + "referencedDeclaration": 222, + "src": "2666:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7657,13 +8668,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2261:26:0", + "src": "2650:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 208, + "id": 248, "isConstant": false, "isLValue": true, "isPure": false, @@ -7671,101 +8682,164 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "2261:35:0", + "src": "2650:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 249, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2699:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 251, + "indexExpression": { + "argumentTypes": null, + "id": 250, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 222, + "src": "2715:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2699:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } }, - { + "id": 252, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "2699:39:0", + "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 253, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2747:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 255, + "indexExpression": { + "argumentTypes": null, + "id": 254, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 222, + "src": "2763:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2747:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "id": 256, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "isActive", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "2747:39:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" } - ], - "id": 198, - "name": "LogUpdateCriteria", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39, - "src": "2138:17:0", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,bytes32,uint256)" } - }, - "id": 209, + ], + "id": 257, "isConstant": false, + "isInlineArray": false, "isLValue": false, "isPure": false, - "kind": "functionCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2138:159:0", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 210, - "nodeType": "EmitStatement", - "src": "2133:164:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 211, - "name": "rowToDelete", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 160, - "src": "2311:11:0", + "nodeType": "TupleExpression", + "src": "2588:199:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_tuple$_t_bytes32_$_t_uint256_$_t_uint256_$_t_bool_$", + "typeString": "tuple(bytes32,uint256,uint256,bool)" } }, - "functionReturnParameters": 150, - "id": 212, + "functionReturnParameters": 232, + "id": 258, "nodeType": "Return", - "src": "2304:18:0" + "src": "2582:205:0" } ] }, "documentation": null, - "id": 214, + "id": 260, "implemented": true, "isConstructor": false, - "isDeclaredConst": false, + "isDeclaredConst": true, "modifiers": [], - "name": "deleteCriteria", + "name": "getCriteria", "nodeType": "FunctionDefinition", "parameters": { - "id": 147, + "id": 223, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 146, - "name": "deleteCriteriaIndex", + "id": 222, + "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 214, - "src": "1651:27:0", + "scope": 260, + "src": "2394:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7773,10 +8847,10 @@ "typeString": "uint256" }, "typeName": { - "id": 145, + "id": 221, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1651:7:0", + "src": "2394:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7786,20 +8860,46 @@ "visibility": "internal" } ], - "src": "1650:29:0" + "src": "2393:23:0" }, "payable": false, "returnParameters": { - "id": 150, + "id": 232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 149, - "name": "index", + "id": 225, + "name": "criteriaText", + "nodeType": "VariableDeclaration", + "scope": 260, + "src": "2457:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 224, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2457:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 227, + "name": "maxScore", "nodeType": "VariableDeclaration", - "scope": 214, - "src": "1706:13:0", + "scope": 260, + "src": "2479:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7807,10 +8907,36 @@ "typeString": "uint256" }, "typeName": { - "id": 148, - "name": "uint256", + "id": 226, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2479:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 229, + "name": "minScore", + "nodeType": "VariableDeclaration", + "scope": 260, + "src": "2494:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 228, + "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1706:7:0", + "src": "2494:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7818,26 +8944,52 @@ }, "value": null, "visibility": "internal" + }, + { + "constant": false, + "id": 231, + "name": "isActive", + "nodeType": "VariableDeclaration", + "scope": 260, + "src": "2509:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 230, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2509:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" } ], - "src": "1705:15:0" + "src": "2456:67:0" }, - "scope": 368, - "src": "1627:701:0", - "stateMutability": "nonpayable", + "scope": 409, + "src": "2373:420:0", + "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 253, + "id": 299, "nodeType": "Block", - "src": "2490:266:0", + "src": "2919:305:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 230, + "id": 272, "isConstant": false, "isLValue": false, "isPure": false, @@ -7845,18 +8997,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2500:26:0", + "src": "2929:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 228, + "id": 270, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 216, - "src": "2512:13:0", + "referencedDeclaration": 262, + "src": "2941:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7870,18 +9022,18 @@ "typeString": "uint256" } ], - "id": 227, + "id": 269, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "2501:10:0", + "referencedDeclaration": 76, + "src": "2930:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 229, + "id": 271, "isConstant": false, "isLValue": false, "isPure": false, @@ -7889,7 +9041,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2501:25:0", + "src": "2930:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7901,30 +9053,30 @@ } }, "falseBody": null, - "id": 234, + "id": 276, "nodeType": "IfStatement", - "src": "2497:39:0", + "src": "2926:39:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 231, + "id": 273, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 388, - 389 + 429, + 430 ], - "referencedDeclaration": 388, - "src": "2528:6:0", + "referencedDeclaration": 429, + "src": "2957:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 232, + "id": 274, "isConstant": false, "isLValue": false, "isPure": false, @@ -7932,128 +9084,118 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2528:8:0", + "src": "2957:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 233, + "id": 275, "nodeType": "ExpressionStatement", - "src": "2528:8:0" + "src": "2957:8:0" } }, { "expression": { "argumentTypes": null, - "components": [ - { + "id": 282, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { "argumentTypes": null, - "expression": { + "baseExpression": { + "argumentTypes": null, + "id": 277, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2974:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 279, + "indexExpression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 235, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2560:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 237, - "indexExpression": { - "argumentTypes": null, - "id": 236, - "name": "criteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 216, - "src": "2576:13:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2560:30:0", + "id": 278, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 262, + "src": "2990:13:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 238, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "criteriaText", - "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "2560:43:0", + "nodeType": "IndexAccess", + "src": "2974:30:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, + "id": 280, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2974:43:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 281, + "name": "criteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 264, + "src": "3020:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "src": "2974:58:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "id": 283, + "nodeType": "ExpressionStatement", + "src": "2974:58:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 239, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2613:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 241, - "indexExpression": { - "argumentTypes": null, - "id": 240, - "name": "criteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 216, - "src": "2629:13:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2613:30:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 242, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "maxScore", - "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "2613:39:0", + "id": 285, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 262, + "src": "3070:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8065,26 +9207,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 243, + "id": 286, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2662:15:0", + "src": "3093:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 245, + "id": 288, "indexExpression": { "argumentTypes": null, - "id": 244, + "id": 287, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 216, - "src": "2678:13:0", + "referencedDeclaration": 262, + "src": "3109:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8095,52 +9237,65 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2662:30:0", + "src": "3093:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 246, + "id": 289, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "minScore", + "memberName": "index", "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "2662:39:0", + "referencedDeclaration": 11, + "src": "3093:36:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, + { + "argumentTypes": null, + "id": 290, + "name": "criteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 264, + "src": "3138:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 247, + "id": 291, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2710:15:0", + "src": "3160:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 249, + "id": 293, "indexExpression": { "argumentTypes": null, - "id": 248, + "id": 292, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 216, - "src": "2726:13:0", + "referencedDeclaration": 262, + "src": "3176:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8151,126 +9306,120 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2710:30:0", + "src": "3160:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 250, + "id": 294, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "isActive", + "memberName": "maxScore", "nodeType": "MemberAccess", - "referencedDeclaration": 9, - "src": "2710:39:0", + "referencedDeclaration": 7, + "src": "3160:39:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } } ], - "id": 251, + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 284, + "name": "LogUpdateCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39, + "src": "3044:17:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,bytes32,uint256)" + } + }, + "id": 295, "isConstant": false, - "isInlineArray": false, "isLValue": false, "isPure": false, + "kind": "functionCall", "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2551:199:0", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes32_$_t_uint256_$_t_uint256_$_t_bool_$", - "typeString": "tuple(bytes32,uint256,uint256,bool)" - } - }, - "functionReturnParameters": 226, - "id": 252, - "nodeType": "Return", - "src": "2545:205:0" - } - ] - }, - "documentation": null, - "id": 254, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": true, - "modifiers": [], - "name": "getCriteria", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 217, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 216, - "name": "criteriaIndex", - "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2357:21:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 215, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2357:7:0", + "names": [], + "nodeType": "FunctionCall", + "src": "3044:156:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "value": null, - "visibility": "internal" - } - ], - "src": "2356:23:0" - }, - "payable": false, - "returnParameters": { - "id": 226, - "nodeType": "ParameterList", - "parameters": [ + "id": 296, + "nodeType": "EmitStatement", + "src": "3039:161:0" + }, { - "constant": false, - "id": 219, - "name": "criteriaText", - "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2420:20:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "typeName": { - "id": 218, - "name": "bytes32", - "nodeType": "ElementaryTypeName", - "src": "2420:7:0", + "expression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 297, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3214:4:0", + "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" }, - "value": null, - "visibility": "internal" - }, + "functionReturnParameters": 268, + "id": 298, + "nodeType": "Return", + "src": "3207:11:0" + } + ] + }, + "documentation": null, + "id": 300, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "updateCriteriaText", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 265, + "nodeType": "ParameterList", + "parameters": [ { "constant": false, - "id": 221, - "name": "maxScore", + "id": 262, + "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2442:13:0", + "scope": 300, + "src": "2830:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8278,10 +9427,10 @@ "typeString": "uint256" }, "typeName": { - "id": 220, - "name": "uint", + "id": 261, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2442:4:0", + "src": "2830:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8292,37 +9441,45 @@ }, { "constant": false, - "id": 223, - "name": "minScore", + "id": 264, + "name": "criteriaText", "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2457:13:0", + "scope": 300, + "src": "2853:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" }, "typeName": { - "id": 222, - "name": "uint", + "id": 263, + "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2457:4:0", + "src": "2853:7:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" } }, "value": null, "visibility": "internal" - }, + } + ], + "src": "2829:45:0" + }, + "payable": false, + "returnParameters": { + "id": 268, + "nodeType": "ParameterList", + "parameters": [ { "constant": false, - "id": 225, - "name": "isActive", + "id": 267, + "name": "success", "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2472:13:0", + "scope": 300, + "src": "2901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8330,10 +9487,10 @@ "typeString": "bool" }, "typeName": { - "id": 224, + "id": 266, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2472:4:0", + "src": "2901:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8343,24 +9500,24 @@ "visibility": "internal" } ], - "src": "2419:67:0" + "src": "2900:14:0" }, - "scope": 368, - "src": "2336:420:0", - "stateMutability": "view", + "scope": 409, + "src": "2802:422:0", + "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 293, + "id": 351, "nodeType": "Block", - "src": "2882:305:0", + "src": "3348:328:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 266, + "id": 314, "isConstant": false, "isLValue": false, "isPure": false, @@ -8368,18 +9525,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2892:26:0", + "src": "3358:18:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 264, - "name": "criteriaIndex", + "id": 312, + "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "2904:13:0", + "referencedDeclaration": 302, + "src": "3370:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8393,18 +9550,18 @@ "typeString": "uint256" } ], - "id": 263, + "id": 311, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "2893:10:0", + "referencedDeclaration": 76, + "src": "3359:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 265, + "id": 313, "isConstant": false, "isLValue": false, "isPure": false, @@ -8412,7 +9569,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2893:25:0", + "src": "3359:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8424,30 +9581,30 @@ } }, "falseBody": null, - "id": 270, + "id": 318, "nodeType": "IfStatement", - "src": "2889:39:0", + "src": "3355:31:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 267, + "id": 315, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 388, - 389 + 429, + 430 ], - "referencedDeclaration": 388, - "src": "2920:6:0", + "referencedDeclaration": 429, + "src": "3378:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 268, + "id": 316, "isConstant": false, "isLValue": false, "isPure": false, @@ -8455,21 +9612,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2920:8:0", + "src": "3378:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 269, + "id": 317, "nodeType": "ExpressionStatement", - "src": "2920:8:0" + "src": "3378:8:0" } }, { "expression": { "argumentTypes": null, - "id": 276, + "id": 324, "isConstant": false, "isLValue": false, "isPure": false, @@ -8480,26 +9637,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 271, + "id": 319, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2937:15:0", + "src": "3395:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 273, + "id": 321, "indexExpression": { "argumentTypes": null, - "id": 272, - "name": "criteriaIndex", + "id": 320, + "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "2953:13:0", + "referencedDeclaration": 302, + "src": "3411:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8510,50 +9667,139 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2937:30:0", + "src": "3395:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 274, + "id": 322, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberName": "criteriaText", + "memberName": "maxScore", "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "2937:43:0", + "referencedDeclaration": 7, + "src": "3395:31:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 275, - "name": "criteriaText", + "id": 323, + "name": "MaxScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 258, - "src": "2983:12:0", + "referencedDeclaration": 304, + "src": "3429:8:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "src": "2937:58:0", + "src": "3395:42:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 325, + "nodeType": "ExpressionStatement", + "src": "3395:42:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 331, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 326, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3444:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 328, + "indexExpression": { + "argumentTypes": null, + "id": 327, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 302, + "src": "3460:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3444:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 329, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "3444:31:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 330, + "name": "MinScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 306, + "src": "3478:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3444:42:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 277, + "id": 332, "nodeType": "ExpressionStatement", - "src": "2937:58:0" + "src": "3444:42:0" }, { "eventCall": { @@ -8561,12 +9807,12 @@ "arguments": [ { "argumentTypes": null, - "id": 279, - "name": "criteriaIndex", + "id": 334, + "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "3033:13:0", + "referencedDeclaration": 302, + "src": "3524:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8578,26 +9824,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 280, + "id": 335, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3056:15:0", + "src": "3539:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 282, + "id": 337, "indexExpression": { "argumentTypes": null, - "id": 281, - "name": "criteriaIndex", + "id": 336, + "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "3072:13:0", + "referencedDeclaration": 302, + "src": "3555:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8608,13 +9854,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3056:30:0", + "src": "3539:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 283, + "id": 338, "isConstant": false, "isLValue": true, "isPure": false, @@ -8622,7 +9868,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "3056:36:0", + "src": "3539:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8630,12 +9876,55 @@ }, { "argumentTypes": null, - "id": 284, - "name": "criteriaText", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 258, - "src": "3101:12:0", + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 339, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3576:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 341, + "indexExpression": { + "argumentTypes": null, + "id": 340, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 302, + "src": "3592:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3576:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 342, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "3576:35:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -8647,26 +9936,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 285, + "id": 343, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3123:15:0", + "src": "3620:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 287, + "id": 345, "indexExpression": { "argumentTypes": null, - "id": 286, - "name": "criteriaIndex", + "id": 344, + "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "3139:13:0", + "referencedDeclaration": 302, + "src": "3636:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8677,21 +9966,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3123:30:0", + "src": "3620:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 288, + "id": 346, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "maxScore", + "memberName": "minScore", "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "3123:39:0", + "referencedDeclaration": 5, + "src": "3620:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8717,18 +10006,18 @@ "typeString": "uint256" } ], - "id": 278, + "id": 333, "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "3007:17:0", + "src": "3498:17:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256,bytes32,uint256)" } }, - "id": 289, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, @@ -8736,28 +10025,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3007:156:0", + "src": "3498:154:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 290, + "id": 348, "nodeType": "EmitStatement", - "src": "3002:161:0" + "src": "3493:159:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 291, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3177:4:0", + "src": "3666:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -8765,32 +10054,32 @@ }, "value": "true" }, - "functionReturnParameters": 262, - "id": 292, + "functionReturnParameters": 310, + "id": 350, "nodeType": "Return", - "src": "3170:11:0" + "src": "3659:11:0" } ] }, "documentation": null, - "id": 294, + "id": 352, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], - "name": "updateCriteriaText", + "name": "updateMaxMinScore", "nodeType": "FunctionDefinition", "parameters": { - "id": 259, + "id": 307, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 256, - "name": "criteriaIndex", + "id": 302, + "name": "index", "nodeType": "VariableDeclaration", - "scope": 294, - "src": "2793:21:0", + "scope": 352, + "src": "3259:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8798,10 +10087,10 @@ "typeString": "uint256" }, "typeName": { - "id": 255, + "id": 301, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2793:7:0", + "src": "3259:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8812,45 +10101,71 @@ }, { "constant": false, - "id": 258, - "name": "criteriaText", + "id": 304, + "name": "MaxScore", "nodeType": "VariableDeclaration", - "scope": 294, - "src": "2816:20:0", + "scope": 352, + "src": "3274:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 257, - "name": "bytes32", + "id": 303, + "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2816:7:0", + "src": "3274:4:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 306, + "name": "MinScore", + "nodeType": "VariableDeclaration", + "scope": 352, + "src": "3289:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 305, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3289:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "2792:45:0" + "src": "3258:45:0" }, "payable": false, "returnParameters": { - "id": 262, + "id": 310, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 261, + "id": 309, "name": "success", "nodeType": "VariableDeclaration", - "scope": 294, - "src": "2864:12:0", + "scope": 352, + "src": "3330:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8858,10 +10173,10 @@ "typeString": "bool" }, "typeName": { - "id": 260, + "id": 308, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2864:4:0", + "src": "3330:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8871,24 +10186,24 @@ "visibility": "internal" } ], - "src": "2863:14:0" + "src": "3329:14:0" }, - "scope": 368, - "src": "2765:422:0", + "scope": 409, + "src": "3232:444:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 345, + "id": 386, "nodeType": "Block", - "src": "3311:328:0", + "src": "3776:200:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 308, + "id": 364, "isConstant": false, "isLValue": false, "isPure": false, @@ -8896,18 +10211,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3321:18:0", + "src": "3786:18:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 306, + "id": 362, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3333:5:0", + "referencedDeclaration": 354, + "src": "3798:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8921,18 +10236,18 @@ "typeString": "uint256" } ], - "id": 305, + "id": 361, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "3322:10:0", + "referencedDeclaration": 76, + "src": "3787:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 307, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -8940,7 +10255,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3322:17:0", + "src": "3787:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8952,30 +10267,30 @@ } }, "falseBody": null, - "id": 312, + "id": 368, "nodeType": "IfStatement", - "src": "3318:31:0", + "src": "3783:31:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 309, + "id": 365, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 388, - 389 + 429, + 430 ], - "referencedDeclaration": 388, - "src": "3341:6:0", + "referencedDeclaration": 429, + "src": "3806:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 310, + "id": 366, "isConstant": false, "isLValue": false, "isPure": false, @@ -8983,110 +10298,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3341:8:0", + "src": "3806:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 311, + "id": 367, "nodeType": "ExpressionStatement", - "src": "3341:8:0" + "src": "3806:8:0" } }, { "expression": { "argumentTypes": null, - "id": 318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 313, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "3358:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 315, - "indexExpression": { - "argumentTypes": null, - "id": 314, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3374:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3358:22:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 316, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "maxScore", - "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "3358:31:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 317, - "name": "MaxScore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 298, - "src": "3392:8:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3358:42:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 319, - "nodeType": "ExpressionStatement", - "src": "3358:42:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 325, + "id": 374, "isConstant": false, "isLValue": false, "isPure": false, @@ -9097,26 +10323,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 320, + "id": 369, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3407:15:0", + "src": "3823:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 322, + "id": 371, "indexExpression": { "argumentTypes": null, - "id": 321, + "id": 370, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3423:5:0", + "referencedDeclaration": 354, + "src": "3839:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9127,50 +10353,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3407:22:0", + "src": "3823:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 323, + "id": 372, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberName": "minScore", + "memberName": "isActive", "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "3407:31:0", + "referencedDeclaration": 9, + "src": "3823:31:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 324, - "name": "MinScore", + "id": 373, + "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 300, - "src": "3441:8:0", + "referencedDeclaration": 356, + "src": "3857:6:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "src": "3407:42:0", + "src": "3823:40:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 326, + "id": 375, "nodeType": "ExpressionStatement", - "src": "3407:42:0" + "src": "3823:40:0" }, { "eventCall": { @@ -9178,68 +10404,12 @@ "arguments": [ { "argumentTypes": null, - "id": 328, + "id": 377, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3487:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 329, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "3502:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 331, - "indexExpression": { - "argumentTypes": null, - "id": 330, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3518:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3502:22:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 332, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "index", - "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "3502:28:0", + "referencedDeclaration": 354, + "src": "3913:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9251,82 +10421,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 333, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "3539:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 335, - "indexExpression": { - "argumentTypes": null, - "id": 334, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3555:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3539:22:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 336, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "criteriaText", - "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "3539:35:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 337, + "id": 378, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3583:15:0", + "src": "3919:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 339, + "id": 380, "indexExpression": { "argumentTypes": null, - "id": 338, + "id": 379, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 296, - "src": "3599:5:0", + "referencedDeclaration": 354, + "src": "3935:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9337,24 +10451,24 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3583:22:0", + "src": "3919:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 340, + "id": 381, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "minScore", + "memberName": "isActive", "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "3583:31:0", + "referencedDeclaration": 9, + "src": "3919:31:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } } ], @@ -9365,30 +10479,22 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } ], - "id": 327, - "name": "LogUpdateCriteria", + "id": 376, + "name": "LogCriteriaStatusChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 39, - "src": "3461:17:0", + "referencedDeclaration": 51, + "src": "3881:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,bytes32,uint256)" + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bool_$returns$__$", + "typeString": "function (uint256,bool)" } }, - "id": 341, + "id": 382, "isConstant": false, "isLValue": false, "isPure": false, @@ -9396,28 +10502,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3461:154:0", + "src": "3881:71:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 342, + "id": 383, "nodeType": "EmitStatement", - "src": "3456:159:0" + "src": "3876:76:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 343, + "id": 384, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3629:4:0", + "src": "3966:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9425,32 +10531,32 @@ }, "value": "true" }, - "functionReturnParameters": 304, - "id": 344, + "functionReturnParameters": 360, + "id": 385, "nodeType": "Return", - "src": "3622:11:0" + "src": "3959:11:0" } ] }, "documentation": null, - "id": 346, + "id": 387, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], - "name": "updateMaxMinScore", + "name": "changeStatus", "nodeType": "FunctionDefinition", "parameters": { - "id": 301, + "id": 357, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 296, + "id": 354, "name": "index", "nodeType": "VariableDeclaration", - "scope": 346, - "src": "3222:13:0", + "scope": 387, + "src": "3704:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9458,36 +10564,10 @@ "typeString": "uint256" }, "typeName": { - "id": 295, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3222:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 298, - "name": "MaxScore", - "nodeType": "VariableDeclaration", - "scope": 346, - "src": "3237:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 297, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3237:4:0", + "src": "3704:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9498,45 +10578,45 @@ }, { "constant": false, - "id": 300, - "name": "MinScore", + "id": 356, + "name": "status", "nodeType": "VariableDeclaration", - "scope": 346, - "src": "3252:13:0", + "scope": 387, + "src": "3719:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" }, "typeName": { - "id": 299, - "name": "uint", + "id": 355, + "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3252:4:0", + "src": "3719:4:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, "value": null, "visibility": "internal" } ], - "src": "3221:45:0" + "src": "3703:28:0" }, "payable": false, "returnParameters": { - "id": 304, + "id": 360, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 303, + "id": 359, "name": "success", "nodeType": "VariableDeclaration", - "scope": 346, - "src": "3293:12:0", + "scope": 387, + "src": "3758:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9544,10 +10624,10 @@ "typeString": "bool" }, "typeName": { - "id": 302, + "id": 358, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3293:4:0", + "src": "3758:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9557,37 +10637,37 @@ "visibility": "internal" } ], - "src": "3292:14:0" + "src": "3757:14:0" }, - "scope": 368, - "src": "3195:444:0", + "scope": 409, + "src": "3682:294:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 354, + "id": 395, "nodeType": "Block", - "src": "3731:40:0", + "src": "4070:40:0", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 351, + "id": 392, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "3745:13:0", + "src": "4084:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 352, + "id": 393, "isConstant": false, "isLValue": true, "isPure": false, @@ -9595,21 +10675,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3745:20:0", + "src": "4084:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 350, - "id": 353, + "functionReturnParameters": 391, + "id": 394, "nodeType": "Return", - "src": "3738:27:0" + "src": "4077:27:0" } ] }, "documentation": null, - "id": 355, + "id": 396, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -9617,23 +10697,23 @@ "name": "getCriteriaCount", "nodeType": "FunctionDefinition", "parameters": { - "id": 347, + "id": 388, "nodeType": "ParameterList", "parameters": [], - "src": "3670:2:0" + "src": "4009:2:0" }, "payable": false, "returnParameters": { - "id": 350, + "id": 391, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 349, + "id": 390, "name": "count", "nodeType": "VariableDeclaration", - "scope": 355, - "src": "3713:13:0", + "scope": 396, + "src": "4052:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9641,10 +10721,10 @@ "typeString": "uint256" }, "typeName": { - "id": 348, + "id": 389, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3713:7:0", + "src": "4052:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9654,45 +10734,45 @@ "visibility": "internal" } ], - "src": "3712:15:0" + "src": "4051:15:0" }, - "scope": 368, - "src": "3645:126:0", + "scope": 409, + "src": "3984:126:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 366, + "id": 407, "nodeType": "Block", - "src": "3882:40:0", + "src": "4221:40:0", "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 362, + "id": 403, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "3896:13:0", + "src": "4235:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 364, + "id": 405, "indexExpression": { "argumentTypes": null, - "id": 363, + "id": 404, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 357, - "src": "3910:5:0", + "referencedDeclaration": 398, + "src": "4249:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9703,21 +10783,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3896:20:0", + "src": "4235:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 361, - "id": 365, + "functionReturnParameters": 402, + "id": 406, "nodeType": "Return", - "src": "3889:27:0" + "src": "4228:27:0" } ] }, "documentation": null, - "id": 367, + "id": 408, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -9725,16 +10805,16 @@ "name": "getCriteriaAtIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 358, + "id": 399, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 357, + "id": 398, "name": "index", "nodeType": "VariableDeclaration", - "scope": 367, - "src": "3805:10:0", + "scope": 408, + "src": "4144:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9742,10 +10822,10 @@ "typeString": "uint256" }, "typeName": { - "id": 356, + "id": 397, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3805:4:0", + "src": "4144:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9755,20 +10835,20 @@ "visibility": "internal" } ], - "src": "3804:12:0" + "src": "4143:12:0" }, "payable": false, "returnParameters": { - "id": 361, + "id": 402, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 360, + "id": 401, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 367, - "src": "3856:21:0", + "scope": 408, + "src": "4195:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9776,10 +10856,10 @@ "typeString": "uint256" }, "typeName": { - "id": 359, + "id": 400, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3856:7:0", + "src": "4195:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9789,20 +10869,20 @@ "visibility": "internal" } ], - "src": "3855:23:0" + "src": "4194:23:0" }, - "scope": 368, - "src": "3777:145:0", + "scope": 409, + "src": "4116:145:0", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], - "scope": 369, - "src": "28:3899:0" + "scope": 410, + "src": "28:4238:0" } ], - "src": "0:3927:0" + "src": "0:4266:0" }, "compiler": { "name": "solc", @@ -9812,10 +10892,10 @@ "1538849010791": { "events": {}, "links": {}, - "address": "0x05add86f80a773869f4e31e464d56f56bde764a7", - "transactionHash": "0x4920994fa986faf8c5e7acda8f31ff2d08db09ca246bccf7d5efcd56441d78c5" + "address": "0x235efe5ac04ea17ff4c85ae67a003f366f11c2f5", + "transactionHash": "0x1de7c7b90fb9c4330018223a937fc1dbbeea1e8be727690cac6be6057243c9ff" } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-08T16:52:52.839Z" + "updatedAt": "2018-10-08T17:12:18.985Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/JobApplicant.json b/ethereum/build/contracts/JobApplicant.json index 94671da..c68c373 100644 --- a/ethereum/build/contracts/JobApplicant.json +++ b/ethereum/build/contracts/JobApplicant.json @@ -9222,5 +9222,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-08T16:52:52.825Z" + "updatedAt": "2018-10-08T17:12:18.980Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/JobApplicationLibrary.json b/ethereum/build/contracts/JobApplicationLibrary.json index 06b7483..80e18f3 100644 --- a/ethereum/build/contracts/JobApplicationLibrary.json +++ b/ethereum/build/contracts/JobApplicationLibrary.json @@ -641,10 +641,10 @@ "1538849010791": { "events": {}, "links": {}, - "address": "0x4ef40c4a7fc80cb4bc48a8444b6a741348fc9675", - "transactionHash": "0xb5f92198d89d893d0f5ad378c1c0ac7d8547f43264d786a598fbdbd2193c9f13" + "address": "0xc2d20493431f8f40a554b2be92958d4d00200f55", + "transactionHash": "0xefc1064d45daf4e66c01a1bcbf0a311d5653cfdd9d249955254dd11287ae100f" } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-08T16:52:52.832Z" + "updatedAt": "2018-10-08T17:12:18.972Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/Listing.json b/ethereum/build/contracts/Listing.json index b34cad6..10c343a 100644 --- a/ethereum/build/contracts/Listing.json +++ b/ethereum/build/contracts/Listing.json @@ -5277,10 +5277,10 @@ "1538849010791": { "events": {}, "links": { - "JobApplicationLibrary": "0x4ef40c4a7fc80cb4bc48a8444b6a741348fc9675" + "JobApplicationLibrary": "0xc2d20493431f8f40a554b2be92958d4d00200f55" } } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-08T16:52:52.834Z" + "updatedAt": "2018-10-08T17:12:18.974Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/ListingsRegistry.json b/ethereum/build/contracts/ListingsRegistry.json index da02ced..79886ca 100644 --- a/ethereum/build/contracts/ListingsRegistry.json +++ b/ethereum/build/contracts/ListingsRegistry.json @@ -6687,12 +6687,12 @@ "1538849010791": { "events": {}, "links": { - "JobApplicationLibrary": "0x4ef40c4a7fc80cb4bc48a8444b6a741348fc9675" + "JobApplicationLibrary": "0xc2d20493431f8f40a554b2be92958d4d00200f55" }, - "address": "0xbe11354d02f964a93260b61089fd9a56d8b46a8d", - "transactionHash": "0x55d57f8778859078a2f017170aacd4fdfb2bfeea7d2b604c44eed49590f6c1d9" + "address": "0x537f01e1b7af9438b95e40496d6fb7ab4d2e2427", + "transactionHash": "0xd8ac307a68f5fda8df7e6710ecc1d124f83592248f4845892ad37f5519744c71" } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-08T16:52:52.830Z" + "updatedAt": "2018-10-08T17:12:18.970Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/Migrations.json b/ethereum/build/contracts/Migrations.json index 3a33cf6..4214863 100644 --- a/ethereum/build/contracts/Migrations.json +++ b/ethereum/build/contracts/Migrations.json @@ -1376,5 +1376,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-08T16:52:52.836Z" + "updatedAt": "2018-10-08T17:12:18.976Z" } \ No newline at end of file diff --git a/ethereum/contracts/AuditCriteriaManager.sol b/ethereum/contracts/AuditCriteriaManager.sol index aeb2d2d..ab16a2c 100644 --- a/ethereum/contracts/AuditCriteriaManager.sol +++ b/ethereum/contracts/AuditCriteriaManager.sol @@ -16,7 +16,8 @@ contract AuditCriteriaManager { event LogNewCriteria (uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore); event LogUpdateCriteria(uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore); event LogDeleteCriteria(uint256 indexed CriteriaIndex, uint index); - + event LogCriteriaStatusChange(uint256 indexed CriteriaIndex, bool criteriaStatus); + function isCriteria(uint indexExist) public constant @@ -116,6 +117,20 @@ contract AuditCriteriaManager { return true; } + function changeStatus(uint256 index, bool status) + public + returns(bool success) + { + if(!isCriteria(index)) revert(); + + CriteriaStructs[index].isActive = status; + + emit LogCriteriaStatusChange( + index,CriteriaStructs[index].isActive ); + return true; + } + + function getCriteriaCount() public constant From b1b070bac81ed85a307112016c31bc76b70b577d Mon Sep 17 00:00:00 2001 From: gladguy Date: Fri, 12 Oct 2018 22:07:44 +0400 Subject: [PATCH 07/16] Added Criteria 9 Test cases ! --- ethereum/.gitignore | 77 + .../build/contracts/AuditCriteriaManager.json | 3535 +++++++++-------- ethereum/build/contracts/JobApplicant.json | 2 +- .../contracts/JobApplicationLibrary.json | 8 +- ethereum/build/contracts/Listing.json | 8 +- .../build/contracts/ListingsRegistry.json | 10 +- ethereum/build/contracts/Migrations.json | 2 +- ethereum/contracts/AuditCriteriaManager.sol | 197 +- ethereum/test/TestAuditCriteriaManager.sol | 88 + 9 files changed, 2150 insertions(+), 1777 deletions(-) create mode 100644 ethereum/.gitignore create mode 100644 ethereum/test/TestAuditCriteriaManager.sol diff --git a/ethereum/.gitignore b/ethereum/.gitignore new file mode 100644 index 0000000..ab8924d --- /dev/null +++ b/ethereum/.gitignore @@ -0,0 +1,77 @@ + +### Solidity ### +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# next.js build output +.next + +# nuxt.js build output +.nuxt + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless + diff --git a/ethereum/build/contracts/AuditCriteriaManager.json b/ethereum/build/contracts/AuditCriteriaManager.json index a4bcc94..5aeb53a 100644 --- a/ethereum/build/contracts/AuditCriteriaManager.json +++ b/ethereum/build/contracts/AuditCriteriaManager.json @@ -17,7 +17,7 @@ { "indexed": false, "name": "CriteriaText", - "type": "bytes32" + "type": "string" }, { "indexed": false, @@ -44,7 +44,7 @@ { "indexed": false, "name": "CriteriaText", - "type": "bytes32" + "type": "string" }, { "indexed": false, @@ -113,7 +113,7 @@ "inputs": [ { "name": "newCriteriaText", - "type": "bytes32" + "type": "string" }, { "name": "minScore", @@ -139,6 +139,15 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "constant": false, + "inputs": [], + "name": "deleteAllCriteria", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, { "constant": false, "inputs": [ @@ -170,7 +179,7 @@ "outputs": [ { "name": "criteriaText", - "type": "bytes32" + "type": "string" }, { "name": "maxScore", @@ -198,7 +207,7 @@ }, { "name": "criteriaText", - "type": "bytes32" + "type": "string" } ], "name": "updateCriteriaText", @@ -296,20 +305,20 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b50610673806100206000396000f3006080604052600436106100985763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc811461009d5780633d69ba9e146100c45780636776c6bb146100e757806372b4763c146100ff5780638931828f14610131578063ae48388d14610171578063b602159314610189578063efef7d22146101a1578063fa2693b3146101bc575b600080fd5b3480156100a957600080fd5b506100b26101d9565b60408051918252519081900360200190f35b3480156100d057600080fd5b506100b260043560243560443560643515156101e0565b3480156100f357600080fd5b506100b26004356102a7565b34801561010b57600080fd5b5061011d6004356024356044356102cb565b604080519115158252519081900360200190f35b34801561013d57600080fd5b50610149600435610351565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b34801561017d57600080fd5b506100b260043561039a565b34801561019557600080fd5b5061011d6004356104c2565b3480156101ad57600080fd5b5061011d60043560243561050a565b3480156101c857600080fd5b5061011d6004356024351515610588565b6001545b90565b6000806101eb6101d9565b6000818152602081815260409182902089815560018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6810185905560049091018190558251908152908101899052808201879052905191925082917f1d993ec08481c99bf5092f1110228ab96e7c3a9ed793ff80146c9d250658f0c4916060908290030190a2505060015460001901949350505050565b60006001828154811015156102b857fe5b906000526020600020015490505b919050565b60006102d6846104c2565b15156102e157600080fd5b60008481526020818152604091829020600281018690556001810185905560048101549054835191825291810191909152808201849052905185917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25060019392505050565b600080600080610360856104c2565b151561036b57600080fd5b505050600091825250602081905260409020805460028201546001830154600390930154919390929160ff1690565b60008060006103a8846104c2565b15156103b357600080fd5b600084815260208190526040902060040154600180549193509060001981019081106103db57fe5b90600052602060002001549050806001838154811015156103f857fe5b60009182526020808320909101929092558281529081905260409020600401829055600180549061042d906000198301610600565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a260008181526020818152604091829020805460029091015483518681529283019190915281830152905182917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25092915050565b60015460009015156104d6575060006102c6565b6000828152602081905260409020600401546001805484929081106104f757fe5b9060005260206000200154149050919050565b6000610515836104c2565b151561052057600080fd5b600083815260208181526040918290208481556004810154600290910154835191825291810185905280830191909152905184917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a250600192915050565b6000610593836104c2565b151561059e57600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b81548183558181111561062457600083815260209020610624918101908301610629565b505050565b6101dd91905b80821115610643576000815560010161062f565b50905600a165627a7a723058209a1dfa9a4d10733a435ab16d59f9c6122b169d49914fb98b7098e7680e29741d0029", - "deployedBytecode": "0x6080604052600436106100985763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc811461009d5780633d69ba9e146100c45780636776c6bb146100e757806372b4763c146100ff5780638931828f14610131578063ae48388d14610171578063b602159314610189578063efef7d22146101a1578063fa2693b3146101bc575b600080fd5b3480156100a957600080fd5b506100b26101d9565b60408051918252519081900360200190f35b3480156100d057600080fd5b506100b260043560243560443560643515156101e0565b3480156100f357600080fd5b506100b26004356102a7565b34801561010b57600080fd5b5061011d6004356024356044356102cb565b604080519115158252519081900360200190f35b34801561013d57600080fd5b50610149600435610351565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b34801561017d57600080fd5b506100b260043561039a565b34801561019557600080fd5b5061011d6004356104c2565b3480156101ad57600080fd5b5061011d60043560243561050a565b3480156101c857600080fd5b5061011d6004356024351515610588565b6001545b90565b6000806101eb6101d9565b6000818152602081815260409182902089815560018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6810185905560049091018190558251908152908101899052808201879052905191925082917f1d993ec08481c99bf5092f1110228ab96e7c3a9ed793ff80146c9d250658f0c4916060908290030190a2505060015460001901949350505050565b60006001828154811015156102b857fe5b906000526020600020015490505b919050565b60006102d6846104c2565b15156102e157600080fd5b60008481526020818152604091829020600281018690556001810185905560048101549054835191825291810191909152808201849052905185917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25060019392505050565b600080600080610360856104c2565b151561036b57600080fd5b505050600091825250602081905260409020805460028201546001830154600390930154919390929160ff1690565b60008060006103a8846104c2565b15156103b357600080fd5b600084815260208190526040902060040154600180549193509060001981019081106103db57fe5b90600052602060002001549050806001838154811015156103f857fe5b60009182526020808320909101929092558281529081905260409020600401829055600180549061042d906000198301610600565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a260008181526020818152604091829020805460029091015483518681529283019190915281830152905182917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a25092915050565b60015460009015156104d6575060006102c6565b6000828152602081905260409020600401546001805484929081106104f757fe5b9060005260206000200154149050919050565b6000610515836104c2565b151561052057600080fd5b600083815260208181526040918290208481556004810154600290910154835191825291810185905280830191909152905184917f979922c7e8fc9a4ff4f3569549e039cf2da0065c31c65d09a9482bf88977dc25919081900360600190a250600192915050565b6000610593836104c2565b151561059e57600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b81548183558181111561062457600083815260209020610624918101908301610629565b505050565b6101dd91905b80821115610643576000815560010161062f565b50905600a165627a7a723058209a1dfa9a4d10733a435ab16d59f9c6122b169d49914fb98b7098e7680e29741d0029", - "sourceMap": "28:4238:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28:4238:0;;;;;;;", - "deployedSourceMap": "28:4238:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3984:126;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3984:126:0;;;;;;;;;;;;;;;;;;;;923:735;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;923:735:0;;;;;;;;;;;;;4116:145;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4116:145:0;;;;;3232:444;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3232:444:0;;;;;;;;;;;;;;;;;;;;;;;;;;;2373:420;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2373:420:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1664:701;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1664:701:0;;;;;688:229;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;688:229:0;;;;;2802:422;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2802:422:0;;;;;;;3682:294;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3682:294:0;;;;;;;;;3984:126;4084:13;:20;3984:126;;:::o;923:735::-;1066:13;1091:20;1114:18;:16;:18::i;:::-;1139:15;:29;;;;;;;;;;;;:61;;;1207:38;;;;:54;;;1268:38;;;:54;;;1329:38;;;:54;;-1:-1:-1;;1329:54:0;;;;;;;27:10:-1;;23:18;;;45:23;;;1436:32:0;;;;;;1390:35;;;;:80;;;1484:132;;;;;;;;;;;;;;;;;;;1139:29;;-1:-1:-1;1139:29:0;;1484:132;;;;;;;;;;-1:-1:-1;;1651:1:0;1630:20;-1:-1:-1;;1630:22:0;;923:735;-1:-1:-1;;;;923:735:0:o;4116:145::-;4195:21;4235:13;4249:5;4235:20;;;;;;;;;;;;;;;;;;4228:27;;4116:145;;;;:::o;3232:444::-;3330:12;3359:17;3370:5;3359:10;:17::i;:::-;3358:18;3355:31;;;3378:8;;;3355:31;3395:15;:22;;;;;;;;;;;;:31;;;:42;;;3444:31;;;:42;;;3539:28;;;;3576:35;;3498:154;;;;;;;;;;;;;;;;;;;;3411:5;;3498:154;;;;;;;;;;-1:-1:-1;3666:4:0;3232:444;;;;;:::o;2373:420::-;2457:20;2479:13;2494;2509;2538:25;2549:13;2538:10;:25::i;:::-;2537:26;2534:39;;;2565:8;;;2534:39;-1:-1:-1;;;2597:15:0;:30;;;-1:-1:-1;2597:30:0;;;;;;;:43;;2650:39;;;;2699;;;;2747;;;;;2597:43;;2650:39;;2699;2747;;;2373:420::o;1664:701::-;1743:13;1822:19;1893:17;1772:31;1783:19;1772:10;:31::i;:::-;1771:32;1768:45;;;1805:8;;;1768:45;1844:15;:36;;;;;;;;;;:42;;;1915:13;1929:20;;1844:42;;-1:-1:-1;1915:13:0;-1:-1:-1;;1929:22:0;;;1915:37;;;;;;;;;;;;;;1893:59;;1988:9;1959:13;1973:11;1959:26;;;;;;;;;;;;;;;;;;;;;:38;;;;2004:26;;;;;;;;;;:32;;:46;;;2058:13;:22;;;;;-1:-1:-1;;2058:22:0;;;:::i;:::-;-1:-1:-1;2092:71:0;;;;;;;;2120:19;;2092:71;;;;;;;;;;2247:15;:26;;;;;;;;;;;;:39;;2298:35;;;;;2175:159;;;;;;;;;;;;;;;;;;2203:9;;2175:159;;;;;;;;;;-1:-1:-1;2348:11:0;1664:701;-1:-1:-1;;1664:701:0:o;688:229::-;794:13;:20;765:13;;794:25;791:42;;;-1:-1:-1;828:5:0;821:12;;791:42;862:15;:27;;;;;;;;;;:33;;;848:13;:48;;900:10;;862:33;848:48;;;;;;;;;;;;;;:62;840:71;;688:229;;;:::o;2802:422::-;2901:12;2930:25;2941:13;2930:10;:25::i;:::-;2929:26;2926:39;;;2957:8;;;2926:39;2974:15;:30;;;;;;;;;;;;:58;;;3093:36;;;;3160:39;;;;;3044:156;;;;;;;;;;;;;;;;;;;;2990:13;;3044:156;;;;;;;;;;-1:-1:-1;3214:4:0;2802:422;;;;:::o;3682:294::-;3758:12;3787:17;3798:5;3787:10;:17::i;:::-;3786:18;3783:31;;;3806:8;;;3783:31;3823:15;:22;;;;;;;;;;;;:31;;:40;;-1:-1:-1;;3823:40:0;;;;;;;;;3881:71;;3823:40;3919:31;;;3881:71;;;;;;3823:22;;3881:71;;;;;;;;;-1:-1:-1;3966:4:0;3682:294;;;;:::o;28:4238::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;", - "source": "pragma solidity ^0.4.18;\r\n\r\ncontract AuditCriteriaManager {\r\n\r\n struct CriteriaStruct {\r\n bytes32 criteriaText;\r\n uint minScore;\r\n uint maxScore;\r\n bool isActive;\r\n uint256 index;\r\n }\r\n \r\n mapping(uint256 => CriteriaStruct) private CriteriaStructs;\r\n uint256[] private CriteriaIndex;\r\n\r\n event LogNewCriteria (uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore);\r\n event LogUpdateCriteria(uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore);\r\n event LogDeleteCriteria(uint256 indexed CriteriaIndex, uint index);\r\n event LogCriteriaStatusChange(uint256 indexed CriteriaIndex, bool criteriaStatus);\r\n \r\n function isCriteria(uint indexExist)\r\n public \r\n constant\r\n returns(bool isIndeed) \r\n {\r\n if(CriteriaIndex.length == 0) return false;\r\n return (CriteriaIndex[CriteriaStructs[indexExist].index] == indexExist);\r\n }\r\n\r\n function insertCriteria(\r\n bytes32 newCriteriaText, \r\n uint minScore, \r\n uint maxScore,\r\n bool isActive) \r\n public\r\n returns(uint256 index)\r\n {\r\n uint256 currentIndex = getCriteriaCount();\r\n CriteriaStructs[currentIndex].criteriaText = newCriteriaText;\r\n CriteriaStructs[currentIndex].minScore = minScore;\r\n CriteriaStructs[currentIndex].maxScore = maxScore;\r\n CriteriaStructs[currentIndex].isActive = isActive;\r\n CriteriaStructs[currentIndex].index = CriteriaIndex.push(currentIndex)-1;\r\n\r\n emit LogNewCriteria(\r\n currentIndex, \r\n CriteriaStructs[currentIndex].index, \r\n newCriteriaText, \r\n maxScore);\r\n return CriteriaIndex.length-1;\r\n }\r\n\r\n function deleteCriteria(uint256 deleteCriteriaIndex) \r\n public\r\n returns(uint256 index)\r\n {\r\n if(!isCriteria(deleteCriteriaIndex)) revert();\r\n\r\n uint256 rowToDelete = CriteriaStructs[deleteCriteriaIndex].index;\r\n uint256 keyToMove = CriteriaIndex[CriteriaIndex.length-1];\r\n CriteriaIndex[rowToDelete] = keyToMove;\r\n CriteriaStructs[keyToMove].index = rowToDelete; \r\n CriteriaIndex.length--;\r\n emit LogDeleteCriteria(\r\n deleteCriteriaIndex, \r\n rowToDelete);\r\n emit LogUpdateCriteria(\r\n keyToMove, \r\n rowToDelete, \r\n CriteriaStructs[keyToMove].criteriaText, \r\n CriteriaStructs[keyToMove].maxScore);\r\n return rowToDelete;\r\n }\r\n \r\n function getCriteria(uint256 criteriaIndex)\r\n public \r\n constant\r\n returns(bytes32 criteriaText, uint maxScore, uint minScore, bool isActive)\r\n {\r\n if(!isCriteria(criteriaIndex)) revert();\r\n\r\n return(\r\n CriteriaStructs[criteriaIndex].criteriaText, \r\n CriteriaStructs[criteriaIndex].maxScore, \r\n CriteriaStructs[criteriaIndex].minScore,\r\n CriteriaStructs[criteriaIndex].isActive);\r\n } \r\n \r\n function updateCriteriaText(uint256 criteriaIndex, bytes32 criteriaText) \r\n public\r\n returns(bool success) \r\n {\r\n if(!isCriteria(criteriaIndex)) revert();\r\n\r\n CriteriaStructs[criteriaIndex].criteriaText = criteriaText;\r\n emit LogUpdateCriteria(\r\n criteriaIndex, \r\n CriteriaStructs[criteriaIndex].index,\r\n criteriaText, \r\n CriteriaStructs[criteriaIndex].maxScore);\r\n return true;\r\n }\r\n \r\n function updateMaxMinScore(uint256 index, uint MaxScore, uint MinScore) \r\n public\r\n returns(bool success) \r\n {\r\n if(!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].maxScore = MaxScore;\r\n CriteriaStructs[index].minScore = MinScore;\r\n emit LogUpdateCriteria(\r\n index, \r\n CriteriaStructs[index].index,\r\n CriteriaStructs[index].criteriaText,\r\n CriteriaStructs[index].minScore);\r\n return true;\r\n }\r\n\r\n function changeStatus(uint256 index, bool status) \r\n public\r\n returns(bool success) \r\n {\r\n if(!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].isActive = status;\r\n \r\n emit LogCriteriaStatusChange(\r\n index,CriteriaStructs[index].isActive );\r\n return true;\r\n }\r\n\r\n\r\n function getCriteriaCount() \r\n public\r\n constant\r\n returns(uint256 count)\r\n {\r\n return CriteriaIndex.length;\r\n }\r\n\r\n function getCriteriaAtIndex(uint index)\r\n public\r\n constant\r\n returns(uint256 criteriaIndex)\r\n {\r\n return CriteriaIndex[index];\r\n }\r\n\r\n}", + "bytecode": "0x608060405234801561001057600080fd5b50610ac8806100206000396000f3006080604052600436106100a35763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100a857806348d007c6146100cf5780635487193c146101415780636776c6bb1461015857806372b4763c146101705780638931828f1461018e5780638d15438e14610237578063ae48388d1461029f578063b6021593146102b7578063fa2693b3146102cf575b600080fd5b3480156100b457600080fd5b506100bd6102ec565b60408051918252519081900360200190f35b3480156100db57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012d9583359536956044949193909101919081908401838280828437509497506102f39650505050505050565b604080519115158252519081900360200190f35b34801561014d57600080fd5b506101566103f7565b005b34801561016457600080fd5b506100bd600435610405565b34801561017c57600080fd5b5061012d600435602435604435610429565b34801561019a57600080fd5b506101a660043561052a565b604051808060200185815260200184815260200183151515158152602001828103825286818151815260200191508051906020019080838360005b838110156101f95781810151838201526020016101e1565b50505050905090810190601f1680156102265780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b34801561024357600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100bd9436949293602493928401919081908401838280828437509497505084359550505060208301359260400135151591506106069050565b3480156102ab57600080fd5b506100bd60043561075a565b3480156102c357600080fd5b5061012d6004356108fa565b3480156102db57600080fd5b5061012d6004356024351515610942565b6001545b90565b60006102fe836108fa565b151561030957600080fd5b6000838152602081815260409091208351610326928501906109ba565b50600083815260208181526040808320600481015460029091015482518281529283018190526060838501818152885191850191909152875189967f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9694958a959093926080850192918701918190849084905b838110156103b257818101518382015260200161039a565b50505050905090810190601f1680156103df5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a250600192915050565b61040360016000610a38565b565b600060018281548110151561041657fe5b906000526020600020015490505b919050565b6000610434846108fa565b151561043f57600080fd5b600084815260208181526040918290206002808201879055600180830187905560048301548551818152958601889052606094860185815284549283161561010002600019019092169290920493850184905288947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b949293928892906080830190859080156105105780601f106104e557610100808354040283529160200191610510565b820191906000526020600020905b8154815290600101906020018083116104f357829003601f168201915b505094505050505060405180910390a25060019392505050565b6060600080600061053a856108fa565b151561054557600080fd5b600085815260208181526040918290206002808201546001808401546003850154855488516101009482161594909402600019011694909404601f81018790048702830187019097528682529395919460ff90931692909186918301828280156105f05780601f106105c5576101008083540402835291602001916105f0565b820191906000526020600020905b8154815290600101906020018083116105d357829003601f168201915b5050505050935093509350935093509193509193565b6000806106116102ec565b60008181526020818152604090912088519293506106339290918901906109ba565b5060008181526020818152604080832060018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018690556004909101819055815181815291820188905260608284018181528b51918401919091528a5186957f029b14de10d3e6ca536bbb8aae7ea299ced00c37fd6975e22c47d64288f575249593948d948c9491939192608085019291870191908190849084905b8381101561070d5781810151838201526020016106f5565b50505050905090810190601f16801561073a5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a2505060015460001901949350505050565b6000806000610768846108fa565b151561077357600080fd5b6000848152602081905260409020600401546001805491935090600019810190811061079b57fe5b90600052602060002001549050806001838154811015156107b857fe5b6000918252602080832090910192909255828152908190526040902060040182905560018054906107ed906000198301610a59565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a26000818152602081815260409182902060028082015484518781529485018190526060938501848152835460001961010060018316150201169290920493850184905285947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b94889493906080830190859080156108e35780601f106108b8576101008083540402835291602001916108e3565b820191906000526020600020905b8154815290600101906020018083116108c657829003601f168201915b505094505050505060405180910390a25092915050565b600154600090151561090e57506000610424565b60008281526020819052604090206004015460018054849290811061092f57fe5b9060005260206000200154149050919050565b600061094d836108fa565b151561095857600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106109fb57805160ff1916838001178555610a28565b82800160010185558215610a28579182015b82811115610a28578251825591602001919060010190610a0d565b50610a34929150610a82565b5090565b5080546000825590600052602060002090810190610a569190610a82565b50565b815481835581811115610a7d57600083815260209020610a7d918101908301610a82565b505050565b6102f091905b80821115610a345760008155600101610a885600a165627a7a72305820dbdd376beef18ac2fb3f5d52b330fc11aad36c4bec4844b7917614c26fe5df270029", + "deployedBytecode": "0x6080604052600436106100a35763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100a857806348d007c6146100cf5780635487193c146101415780636776c6bb1461015857806372b4763c146101705780638931828f1461018e5780638d15438e14610237578063ae48388d1461029f578063b6021593146102b7578063fa2693b3146102cf575b600080fd5b3480156100b457600080fd5b506100bd6102ec565b60408051918252519081900360200190f35b3480156100db57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012d9583359536956044949193909101919081908401838280828437509497506102f39650505050505050565b604080519115158252519081900360200190f35b34801561014d57600080fd5b506101566103f7565b005b34801561016457600080fd5b506100bd600435610405565b34801561017c57600080fd5b5061012d600435602435604435610429565b34801561019a57600080fd5b506101a660043561052a565b604051808060200185815260200184815260200183151515158152602001828103825286818151815260200191508051906020019080838360005b838110156101f95781810151838201526020016101e1565b50505050905090810190601f1680156102265780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b34801561024357600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100bd9436949293602493928401919081908401838280828437509497505084359550505060208301359260400135151591506106069050565b3480156102ab57600080fd5b506100bd60043561075a565b3480156102c357600080fd5b5061012d6004356108fa565b3480156102db57600080fd5b5061012d6004356024351515610942565b6001545b90565b60006102fe836108fa565b151561030957600080fd5b6000838152602081815260409091208351610326928501906109ba565b50600083815260208181526040808320600481015460029091015482518281529283018190526060838501818152885191850191909152875189967f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9694958a959093926080850192918701918190849084905b838110156103b257818101518382015260200161039a565b50505050905090810190601f1680156103df5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a250600192915050565b61040360016000610a38565b565b600060018281548110151561041657fe5b906000526020600020015490505b919050565b6000610434846108fa565b151561043f57600080fd5b600084815260208181526040918290206002808201879055600180830187905560048301548551818152958601889052606094860185815284549283161561010002600019019092169290920493850184905288947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b949293928892906080830190859080156105105780601f106104e557610100808354040283529160200191610510565b820191906000526020600020905b8154815290600101906020018083116104f357829003601f168201915b505094505050505060405180910390a25060019392505050565b6060600080600061053a856108fa565b151561054557600080fd5b600085815260208181526040918290206002808201546001808401546003850154855488516101009482161594909402600019011694909404601f81018790048702830187019097528682529395919460ff90931692909186918301828280156105f05780601f106105c5576101008083540402835291602001916105f0565b820191906000526020600020905b8154815290600101906020018083116105d357829003601f168201915b5050505050935093509350935093509193509193565b6000806106116102ec565b60008181526020818152604090912088519293506106339290918901906109ba565b5060008181526020818152604080832060018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018690556004909101819055815181815291820188905260608284018181528b51918401919091528a5186957f029b14de10d3e6ca536bbb8aae7ea299ced00c37fd6975e22c47d64288f575249593948d948c9491939192608085019291870191908190849084905b8381101561070d5781810151838201526020016106f5565b50505050905090810190601f16801561073a5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a2505060015460001901949350505050565b6000806000610768846108fa565b151561077357600080fd5b6000848152602081905260409020600401546001805491935090600019810190811061079b57fe5b90600052602060002001549050806001838154811015156107b857fe5b6000918252602080832090910192909255828152908190526040902060040182905560018054906107ed906000198301610a59565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a26000818152602081815260409182902060028082015484518781529485018190526060938501848152835460001961010060018316150201169290920493850184905285947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b94889493906080830190859080156108e35780601f106108b8576101008083540402835291602001916108e3565b820191906000526020600020905b8154815290600101906020018083116108c657829003601f168201915b505094505050505060405180910390a25092915050565b600154600090151561090e57506000610424565b60008281526020819052604090206004015460018054849290811061092f57fe5b9060005260206000200154149050919050565b600061094d836108fa565b151561095857600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106109fb57805160ff1916838001178555610a28565b82800160010185558215610a28579182015b82811115610a28578251825591602001919060010190610a0d565b50610a34929150610a82565b5090565b5080546000825590600052602060002090810190610a569190610a82565b50565b815481835581811115610a7d57600083815260209020610a7d918101908301610a82565b505050565b6102f091905b80821115610a345760008155600101610a885600a165627a7a72305820dbdd376beef18ac2fb3f5d52b330fc11aad36c4bec4844b7917614c26fe5df270029", + "sourceMap": "30:4163:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30:4163:0;;;;;;;", + "deployedSourceMap": "30:4163:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3930:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3930:116:0;;;;;;;;;;;;;;;;;;;;2782:411;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2782:411:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2782:411:0;;-1:-1:-1;2782:411:0;;-1:-1:-1;;;;;;;2782:411:0;;;;;;;;;;;;;;;;;;;1602:72;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1602:72:0;;;;;;4052:136;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4052:136:0;;;;;3199:435;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3199:435:0;;;;;;;;;2367:409;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2367:409:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2367:409:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;903:693;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;903:693:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;903:693:0;;-1:-1:-1;;903:693:0;;;-1:-1:-1;;;903:693:0;;;;;;;;;;;-1:-1:-1;903:693:0;;-1:-1:-1;903:693:0;1680:681;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1680:681:0;;;;;678:219;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;678:219:0;;;;;3640:282;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3640:282:0;;;;;;;;;3930:116;4020:13;:20;3930:116;;:::o;2782:411::-;2875:12;2901:25;2912:13;2901:10;:25::i;:::-;2900:26;2896:40;;;2928:8;;;2896:40;2945:15;:30;;;;;;;;;;;:58;;;;;;;;:::i;:::-;-1:-1:-1;3063:15:0;:30;;;;;;;;;;;:36;;;;3129:39;;;;;3015:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3041:13;;3015:154;;3063:36;;3108:12;;3015:154;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3015:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3183:4:0;2782:411;;;;:::o;1602:72::-;1648:20;1655:13;;1648:20;:::i;:::-;1602:72::o;4052:136::-;4125:21;4162:13;4176:5;4162:20;;;;;;;;;;;;;;;;;;4155:27;;4052:136;;;;:::o;3199:435::-;3292:12;3318:17;3329:5;3318:10;:17::i;:::-;3317:18;3313:32;;;3337:8;;;3313:32;3354:15;:22;;;;;;;;;;;;:31;;;;:42;;;3403:31;;;;:42;;;3497:28;;;;3457:153;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3457:153:0;;;;;;;;;;;;;;3354:22;;3457:153;;3497:28;;3354:22;3403:42;;3457:153;;;;;3354:22;;3457:153;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3624:4:0;3199:435;;;;;:::o;2367:409::-;2444:19;2465:13;2480;2495;2522:25;2533:13;2522:10;:25::i;:::-;2521:26;2517:40;;;2549:8;;;2517:40;2582:15;:30;;;;;;;;;;;;2634:39;;;;;2682;;;;;2730;;;;2566:204;;;;2730:39;2566:204;;;;;;;;-1:-1:-1;;2566:204:0;;;;;;;;;;;;;;;;;;;;;;;;2582:30;;2634:39;;2730;;;;;2566:204;;2582:30;;2566:204;;2582:30;2566:204;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2367:409;;;;;:::o;903:693::-;1038:13;1060:20;1083:18;:16;:18::i;:::-;1108:15;:29;;;;;;;;;;;:60;;1060:41;;-1:-1:-1;1108:60:0;;:29;;:60;;;;:::i;:::-;-1:-1:-1;1175:15:0;:29;;;;;;;;;;;:38;;;;:49;;;1231:38;;;:49;;;1287:38;;;:49;;-1:-1:-1;;1287:49:0;;;;;;;27:10:-1;;23:18;;;45:23;;;1381:32:0;;;;;;1343:35;;;;:74;;;1431:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1175:29;;1431:121;;27:10:-1;;1431:121:0;;1231:49;;1431:121;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1431:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1589:1:0;1566:20;-1:-1:-1;;1566:24:0;;903:693;-1:-1:-1;;;;903:693:0:o;1680:681::-;1754:13;1831:19;1902:17;1781:31;1792:19;1781:10;:31::i;:::-;1780:32;1776:46;;;1814:8;;;1776:46;1853:15;:36;;;;;;;;;;:42;;;1924:13;1938:20;;1853:42;;-1:-1:-1;1924:13:0;-1:-1:-1;;1938:24:0;;;1924:39;;;;;;;;;;;;;;1902:61;;1999:9;1970:13;1984:11;1970:26;;;;;;;;;;;;;;;;;;;;;:38;;;;2015:26;;;;;;;;;;:32;;:46;;;2068:13;:22;;;;;-1:-1:-1;;2068:22:0;;;:::i;:::-;-1:-1:-1;2104:66:0;;;;;;;;2130:19;;2104:66;;;;;;;;;;2246:15;:26;;;;;;;;;;;;2294:35;;;;;2182:148;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2182:148:0;;;;;;;;;;;;;;;;;;2208:9;;2182:148;;2226:11;;2246:26;2182:148;;;;;2246:26;;2182:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2344:11:0;1680:681;-1:-1:-1;;1680:681:0:o;678:219::-;774:13;:20;748:13;;774:25;770:43;;;-1:-1:-1;808:5:0;801:12;;770:43;842:15;:27;;;;;;;;;;:33;;;828:13;:48;;880:10;;842:33;828:48;;;;;;;;;;;;;;:62;820:71;;678:219;;;:::o;3640:282::-;3711:12;3737:17;3748:5;3737:10;:17::i;:::-;3736:18;3732:32;;;3756:8;;;3732:32;3773:15;:22;;;;;;;;;;;;:31;;:40;;-1:-1:-1;;3773:40:0;;;;;;;;;3827:71;;3773:40;3866:31;;;3827:71;;;;;;3773:22;;3827:71;;;;;;;;;-1:-1:-1;3912:4:0;3640:282;;;;:::o;30:4163::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30:4163:0;;;-1:-1:-1;30:4163:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;", + "source": "pragma solidity ^ 0.4 .18;\r\n\r\ncontract AuditCriteriaManager {\r\n\r\n struct CriteriaStruct {\r\n string criteriaText;\r\n uint minScore;\r\n uint maxScore;\r\n bool isActive;\r\n uint256 index;\r\n }\r\n\r\n mapping(uint256 => CriteriaStruct) private CriteriaStructs;\r\n uint256[] private CriteriaIndex;\r\n\r\n event LogNewCriteria(uint256 indexed CriteriaIndex, uint index, string CriteriaText, uint maxScore);\r\n event LogUpdateCriteria(uint256 indexed CriteriaIndex, uint index, string CriteriaText, uint maxScore);\r\n event LogDeleteCriteria(uint256 indexed CriteriaIndex, uint index);\r\n event LogCriteriaStatusChange(uint256 indexed CriteriaIndex, bool criteriaStatus);\r\n\r\n function isCriteria(uint indexExist)\r\n public\r\n constant\r\n returns(bool isIndeed) {\r\n if (CriteriaIndex.length == 0) return false;\r\n return (CriteriaIndex[CriteriaStructs[indexExist].index] == indexExist);\r\n }\r\n\r\n function insertCriteria(\r\n string newCriteriaText,\r\n uint minScore,\r\n uint maxScore,\r\n bool isActive)\r\n public\r\n returns(uint256 index) {\r\n uint256 currentIndex = getCriteriaCount();\r\n CriteriaStructs[currentIndex].criteriaText = newCriteriaText;\r\n CriteriaStructs[currentIndex].minScore = minScore;\r\n CriteriaStructs[currentIndex].maxScore = maxScore;\r\n CriteriaStructs[currentIndex].isActive = isActive;\r\n CriteriaStructs[currentIndex].index = CriteriaIndex.push(currentIndex) - 1;\r\n\r\n emit LogNewCriteria(\r\n currentIndex,\r\n CriteriaStructs[currentIndex].index,\r\n newCriteriaText,\r\n maxScore);\r\n return CriteriaIndex.length - 1;\r\n }\r\n\r\n function deleteAllCriteria() public\r\n {\r\n delete CriteriaIndex;\r\n }\r\n\r\n function deleteCriteria(uint256 deleteCriteriaIndex)\r\n public\r\n returns(uint256 index) {\r\n if (!isCriteria(deleteCriteriaIndex)) revert();\r\n\r\n uint256 rowToDelete = CriteriaStructs[deleteCriteriaIndex].index;\r\n uint256 keyToMove = CriteriaIndex[CriteriaIndex.length - 1];\r\n CriteriaIndex[rowToDelete] = keyToMove;\r\n CriteriaStructs[keyToMove].index = rowToDelete;\r\n CriteriaIndex.length--;\r\n\r\n emit LogDeleteCriteria(\r\n deleteCriteriaIndex,\r\n rowToDelete);\r\n emit LogUpdateCriteria(\r\n keyToMove,\r\n rowToDelete,\r\n CriteriaStructs[keyToMove].criteriaText,\r\n CriteriaStructs[keyToMove].maxScore);\r\n return rowToDelete;\r\n }\r\n\r\n function getCriteria(uint256 criteriaIndex)\r\n public\r\n constant\r\n returns(string criteriaText, uint maxScore, uint minScore, bool isActive) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n return (\r\n CriteriaStructs[criteriaIndex].criteriaText,\r\n CriteriaStructs[criteriaIndex].maxScore,\r\n CriteriaStructs[criteriaIndex].minScore,\r\n CriteriaStructs[criteriaIndex].isActive);\r\n }\r\n\r\n function updateCriteriaText(uint256 criteriaIndex, string criteriaText)\r\n public\r\n returns(bool success) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n CriteriaStructs[criteriaIndex].criteriaText = criteriaText;\r\n emit LogUpdateCriteria(\r\n criteriaIndex,\r\n CriteriaStructs[criteriaIndex].index,\r\n criteriaText,\r\n CriteriaStructs[criteriaIndex].maxScore);\r\n return true;\r\n }\r\n\r\n function updateMaxMinScore(uint256 index, uint MaxScore, uint MinScore)\r\n public\r\n returns(bool success) {\r\n if (!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].maxScore = MaxScore;\r\n CriteriaStructs[index].minScore = MinScore;\r\n emit LogUpdateCriteria(\r\n index,\r\n CriteriaStructs[index].index,\r\n CriteriaStructs[index].criteriaText,\r\n CriteriaStructs[index].minScore);\r\n return true;\r\n }\r\n\r\n function changeStatus(uint256 index, bool status)\r\n public\r\n returns(bool success) {\r\n if (!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].isActive = status;\r\n\r\n emit LogCriteriaStatusChange(\r\n index, CriteriaStructs[index].isActive);\r\n return true;\r\n }\r\n\r\n\r\n function getCriteriaCount()\r\n public\r\n constant\r\n returns(uint256 count) {\r\n return CriteriaIndex.length;\r\n }\r\n\r\n function getCriteriaAtIndex(uint index)\r\n public\r\n constant\r\n returns(uint256 criteriaIndex) {\r\n return CriteriaIndex[index];\r\n }\r\n\r\n}", "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\AuditCriteriaManager.sol", "ast": { "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", "exportedSymbols": { "AuditCriteriaManager": [ - 409 + 416 ] }, - "id": 410, + "id": 417, "nodeType": "SourceUnit", "nodes": [ { @@ -321,7 +330,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:0" + "src": "0:26:0" }, { "baseContracts": [], @@ -329,9 +338,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 409, + "id": 416, "linearizedBaseContracts": [ - 409 + 416 ], "name": "AuditCriteriaManager", "nodeType": "ContractDefinition", @@ -346,21 +355,21 @@ "name": "criteriaText", "nodeType": "VariableDeclaration", "scope": 12, - "src": "94:20:0", + "src": "96:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" }, "typeName": { "id": 2, - "name": "bytes32", + "name": "string", "nodeType": "ElementaryTypeName", - "src": "94:7:0", + "src": "96:6:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, @@ -372,7 +381,7 @@ "name": "minScore", "nodeType": "VariableDeclaration", "scope": 12, - "src": "121:13:0", + "src": "122:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -383,7 +392,7 @@ "id": 4, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "121:4:0", + "src": "122:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -398,7 +407,7 @@ "name": "maxScore", "nodeType": "VariableDeclaration", "scope": 12, - "src": "141:13:0", + "src": "142:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -409,7 +418,7 @@ "id": 6, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "141:4:0", + "src": "142:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -424,7 +433,7 @@ "name": "isActive", "nodeType": "VariableDeclaration", "scope": 12, - "src": "161:13:0", + "src": "162:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -435,7 +444,7 @@ "id": 8, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "161:4:0", + "src": "162:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -450,7 +459,7 @@ "name": "index", "nodeType": "VariableDeclaration", "scope": 12, - "src": "181:13:0", + "src": "182:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -461,7 +470,7 @@ "id": 10, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "181:7:0", + "src": "182:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -473,8 +482,8 @@ ], "name": "CriteriaStruct", "nodeType": "StructDefinition", - "scope": 409, - "src": "65:135:0", + "scope": 416, + "src": "67:134:0", "visibility": "public" }, { @@ -482,8 +491,8 @@ "id": 16, "name": "CriteriaStructs", "nodeType": "VariableDeclaration", - "scope": 409, - "src": "208:58:0", + "scope": 416, + "src": "207:58:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -496,14 +505,14 @@ "id": 13, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "216:7:0", + "src": "215:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "208:34:0", + "src": "207:34:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct)" @@ -514,7 +523,7 @@ "name": "CriteriaStruct", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 12, - "src": "227:14:0", + "src": "226:14:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage_ptr", "typeString": "struct AuditCriteriaManager.CriteriaStruct" @@ -529,8 +538,8 @@ "id": 19, "name": "CriteriaIndex", "nodeType": "VariableDeclaration", - "scope": 409, - "src": "271:31:0", + "scope": 416, + "src": "270:31:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -542,7 +551,7 @@ "id": 17, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "271:7:0", + "src": "270:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -551,7 +560,7 @@ "id": 18, "length": null, "nodeType": "ArrayTypeName", - "src": "271:9:0", + "src": "270:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" @@ -577,7 +586,7 @@ "name": "CriteriaIndex", "nodeType": "VariableDeclaration", "scope": 29, - "src": "333:29:0", + "src": "329:29:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -588,7 +597,7 @@ "id": 20, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "333:7:0", + "src": "329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -604,7 +613,7 @@ "name": "index", "nodeType": "VariableDeclaration", "scope": 29, - "src": "364:10:0", + "src": "360:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -615,7 +624,7 @@ "id": 22, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "364:4:0", + "src": "360:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -631,21 +640,21 @@ "name": "CriteriaText", "nodeType": "VariableDeclaration", "scope": 29, - "src": "376:20:0", + "src": "372:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" }, "typeName": { "id": 24, - "name": "bytes32", + "name": "string", "nodeType": "ElementaryTypeName", - "src": "376:7:0", + "src": "372:6:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, @@ -658,7 +667,7 @@ "name": "maxScore", "nodeType": "VariableDeclaration", "scope": 29, - "src": "398:13:0", + "src": "393:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -669,7 +678,7 @@ "id": 26, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "398:4:0", + "src": "393:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -679,9 +688,9 @@ "visibility": "internal" } ], - "src": "332:80:0" + "src": "328:79:0" }, - "src": "309:104:0" + "src": "308:100:0" }, { "anonymous": false, @@ -700,7 +709,7 @@ "name": "CriteriaIndex", "nodeType": "VariableDeclaration", "scope": 39, - "src": "441:29:0", + "src": "436:29:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -711,7 +720,7 @@ "id": 30, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "441:7:0", + "src": "436:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -727,7 +736,7 @@ "name": "index", "nodeType": "VariableDeclaration", "scope": 39, - "src": "472:10:0", + "src": "467:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -738,7 +747,7 @@ "id": 32, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "472:4:0", + "src": "467:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -754,21 +763,21 @@ "name": "CriteriaText", "nodeType": "VariableDeclaration", "scope": 39, - "src": "484:20:0", + "src": "479:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" }, "typeName": { "id": 34, - "name": "bytes32", + "name": "string", "nodeType": "ElementaryTypeName", - "src": "484:7:0", + "src": "479:6:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, @@ -781,7 +790,7 @@ "name": "maxScore", "nodeType": "VariableDeclaration", "scope": 39, - "src": "506:13:0", + "src": "500:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -792,7 +801,7 @@ "id": 36, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "506:4:0", + "src": "500:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -802,9 +811,9 @@ "visibility": "internal" } ], - "src": "440:80:0" + "src": "435:79:0" }, - "src": "417:104:0" + "src": "412:103:0" }, { "anonymous": false, @@ -823,7 +832,7 @@ "name": "CriteriaIndex", "nodeType": "VariableDeclaration", "scope": 45, - "src": "549:29:0", + "src": "543:29:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -834,7 +843,7 @@ "id": 40, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "549:7:0", + "src": "543:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -850,7 +859,7 @@ "name": "index", "nodeType": "VariableDeclaration", "scope": 45, - "src": "580:10:0", + "src": "574:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -861,7 +870,7 @@ "id": 42, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "580:4:0", + "src": "574:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -871,9 +880,9 @@ "visibility": "internal" } ], - "src": "548:43:0" + "src": "542:43:0" }, - "src": "525:67:0" + "src": "519:67:0" }, { "anonymous": false, @@ -892,7 +901,7 @@ "name": "CriteriaIndex", "nodeType": "VariableDeclaration", "scope": 51, - "src": "626:29:0", + "src": "620:29:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -903,7 +912,7 @@ "id": 46, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "626:7:0", + "src": "620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -919,7 +928,7 @@ "name": "criteriaStatus", "nodeType": "VariableDeclaration", "scope": 51, - "src": "657:19:0", + "src": "651:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -930,7 +939,7 @@ "id": 48, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "657:4:0", + "src": "651:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -940,15 +949,15 @@ "visibility": "internal" } ], - "src": "625:52:0" + "src": "619:52:0" }, - "src": "596:82:0" + "src": "590:82:0" }, { "body": { "id": 75, "nodeType": "Block", - "src": "784:133:0", + "src": "763:134:0", "statements": [ { "condition": { @@ -971,7 +980,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "794:13:0", + "src": "774:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -985,7 +994,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "794:20:0", + "src": "774:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1003,7 +1012,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "818:1:0", + "src": "798:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -1011,7 +1020,7 @@ }, "value": "0" }, - "src": "794:25:0", + "src": "774:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1020,7 +1029,7 @@ "falseBody": null, "id": 64, "nodeType": "IfStatement", - "src": "791:42:0", + "src": "770:43:0", "trueBody": { "expression": { "argumentTypes": null, @@ -1032,7 +1041,7 @@ "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "828:5:0", + "src": "808:5:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1043,7 +1052,7 @@ "functionReturnParameters": 57, "id": 63, "nodeType": "Return", - "src": "821:12:0" + "src": "801:12:0" } }, { @@ -1070,7 +1079,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "848:13:0", + "src": "828:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -1088,7 +1097,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "862:15:0", + "src": "842:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -1102,7 +1111,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 53, - "src": "878:10:0", + "src": "858:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1113,7 +1122,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "862:27:0", + "src": "842:27:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -1127,7 +1136,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "862:33:0", + "src": "842:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1138,7 +1147,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "848:48:0", + "src": "828:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1153,13 +1162,13 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 53, - "src": "900:10:0", + "src": "880:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "848:62:0", + "src": "828:62:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1173,7 +1182,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "847:64:0", + "src": "827:64:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1182,7 +1191,7 @@ "functionReturnParameters": 57, "id": 74, "nodeType": "Return", - "src": "840:71:0" + "src": "820:71:0" } ] }, @@ -1204,7 +1213,7 @@ "name": "indexExist", "nodeType": "VariableDeclaration", "scope": 76, - "src": "708:15:0", + "src": "698:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1215,7 +1224,7 @@ "id": 52, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "708:4:0", + "src": "698:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1225,7 +1234,7 @@ "visibility": "internal" } ], - "src": "707:17:0" + "src": "697:17:0" }, "payable": false, "returnParameters": { @@ -1238,7 +1247,7 @@ "name": "isIndeed", "nodeType": "VariableDeclaration", "scope": 76, - "src": "765:13:0", + "src": "748:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1249,7 +1258,7 @@ "id": 55, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "765:4:0", + "src": "748:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1259,10 +1268,10 @@ "visibility": "internal" } ], - "src": "764:15:0" + "src": "747:15:0" }, - "scope": 409, - "src": "688:229:0", + "scope": 416, + "src": "678:219:0", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -1271,7 +1280,7 @@ "body": { "id": 149, "nodeType": "Block", - "src": "1084:574:0", + "src": "1053:543:0", "statements": [ { "assignments": [ @@ -1284,7 +1293,7 @@ "name": "currentIndex", "nodeType": "VariableDeclaration", "scope": 150, - "src": "1091:20:0", + "src": "1060:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1295,7 +1304,7 @@ "id": 89, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1091:7:0", + "src": "1060:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1315,8 +1324,8 @@ "name": "getCriteriaCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 396, - "src": "1114:16:0", + "referencedDeclaration": 403, + "src": "1083:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" @@ -1330,14 +1339,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1114:18:0", + "src": "1083:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1091:41:0" + "src": "1060:41:0" }, { "expression": { @@ -1358,7 +1367,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1139:15:0", + "src": "1108:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -1372,7 +1381,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1155:12:0", + "src": "1124:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1383,7 +1392,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1139:29:0", + "src": "1108:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -1397,10 +1406,10 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "1139:42:0", + "src": "1108:42:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, "nodeType": "Assignment", @@ -1412,21 +1421,21 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 78, - "src": "1185:15:0", + "src": "1153:15:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" } }, - "src": "1139:61:0", + "src": "1108:60:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, "id": 100, "nodeType": "ExpressionStatement", - "src": "1139:61:0" + "src": "1108:60:0" }, { "expression": { @@ -1447,7 +1456,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1207:15:0", + "src": "1175:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -1461,7 +1470,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1223:12:0", + "src": "1191:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1472,7 +1481,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1207:29:0", + "src": "1175:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -1486,7 +1495,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "1207:38:0", + "src": "1175:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1501,13 +1510,13 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 80, - "src": "1253:8:0", + "src": "1216:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1207:54:0", + "src": "1175:49:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1515,7 +1524,7 @@ }, "id": 107, "nodeType": "ExpressionStatement", - "src": "1207:54:0" + "src": "1175:49:0" }, { "expression": { @@ -1536,7 +1545,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1268:15:0", + "src": "1231:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -1550,7 +1559,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1284:12:0", + "src": "1247:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1561,7 +1570,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1268:29:0", + "src": "1231:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -1575,7 +1584,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "1268:38:0", + "src": "1231:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1590,13 +1599,13 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 82, - "src": "1314:8:0", + "src": "1272:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1268:54:0", + "src": "1231:49:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1604,7 +1613,7 @@ }, "id": 114, "nodeType": "ExpressionStatement", - "src": "1268:54:0" + "src": "1231:49:0" }, { "expression": { @@ -1625,7 +1634,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1329:15:0", + "src": "1287:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -1639,7 +1648,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1345:12:0", + "src": "1303:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1650,7 +1659,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1329:29:0", + "src": "1287:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -1664,7 +1673,7 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "1329:38:0", + "src": "1287:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1679,13 +1688,13 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 84, - "src": "1375:8:0", + "src": "1328:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1329:54:0", + "src": "1287:49:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1693,7 +1702,7 @@ }, "id": 121, "nodeType": "ExpressionStatement", - "src": "1329:54:0" + "src": "1287:49:0" }, { "expression": { @@ -1714,7 +1723,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1390:15:0", + "src": "1343:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -1728,7 +1737,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1406:12:0", + "src": "1359:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1739,7 +1748,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1390:29:0", + "src": "1343:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -1753,7 +1762,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1390:35:0", + "src": "1343:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1782,7 +1791,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1455:12:0", + "src": "1400:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1803,7 +1812,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1436:13:0", + "src": "1381:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -1817,7 +1826,7 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1436:18:0", + "src": "1381:18:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256) returns (uint256)" @@ -1831,7 +1840,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1436:32:0", + "src": "1381:32:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1849,7 +1858,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1469:1:0", + "src": "1416:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -1857,13 +1866,13 @@ }, "value": "1" }, - "src": "1436:34:0", + "src": "1381:36:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1390:80:0", + "src": "1343:74:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1871,7 +1880,7 @@ }, "id": 133, "nodeType": "ExpressionStatement", - "src": "1390:80:0" + "src": "1343:74:0" }, { "eventCall": { @@ -1884,7 +1893,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1509:12:0", + "src": "1454:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1901,7 +1910,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1533:15:0", + "src": "1475:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -1915,7 +1924,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1549:12:0", + "src": "1491:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1926,7 +1935,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1533:29:0", + "src": "1475:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -1940,7 +1949,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1533:35:0", + "src": "1475:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1953,10 +1962,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 78, - "src": "1580:15:0", + "src": "1519:15:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" } }, { @@ -1966,7 +1975,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 82, - "src": "1607:8:0", + "src": "1543:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1984,8 +1993,8 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" }, { "typeIdentifier": "t_uint256", @@ -1997,10 +2006,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 29, - "src": "1484:14:0", + "src": "1431:14:0", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,bytes32,uint256)" + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,string memory,uint256)" } }, "id": 142, @@ -2011,7 +2020,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1484:132:0", + "src": "1431:121:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" @@ -2019,7 +2028,7 @@ }, "id": 143, "nodeType": "EmitStatement", - "src": "1479:137:0" + "src": "1426:126:0" }, { "expression": { @@ -2042,7 +2051,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1630:13:0", + "src": "1566:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -2056,7 +2065,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1630:20:0", + "src": "1566:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2074,7 +2083,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1651:1:0", + "src": "1589:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -2082,7 +2091,7 @@ }, "value": "1" }, - "src": "1630:22:0", + "src": "1566:24:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2091,7 +2100,7 @@ "functionReturnParameters": 88, "id": 148, "nodeType": "Return", - "src": "1623:29:0" + "src": "1559:31:0" } ] }, @@ -2113,21 +2122,21 @@ "name": "newCriteriaText", "nodeType": "VariableDeclaration", "scope": 150, - "src": "953:23:0", + "src": "933:22:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" }, "typeName": { "id": 77, - "name": "bytes32", + "name": "string", "nodeType": "ElementaryTypeName", - "src": "953:7:0", + "src": "933:6:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, @@ -2139,7 +2148,7 @@ "name": "minScore", "nodeType": "VariableDeclaration", "scope": 150, - "src": "984:13:0", + "src": "962:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2150,7 +2159,7 @@ "id": 79, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "984:4:0", + "src": "962:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2165,7 +2174,7 @@ "name": "maxScore", "nodeType": "VariableDeclaration", "scope": 150, - "src": "1005:13:0", + "src": "982:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2176,7 +2185,7 @@ "id": 81, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1005:4:0", + "src": "982:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2191,7 +2200,7 @@ "name": "isActive", "nodeType": "VariableDeclaration", "scope": 150, - "src": "1025:13:0", + "src": "1002:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2202,7 +2211,7 @@ "id": 83, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1025:4:0", + "src": "1002:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2212,7 +2221,7 @@ "visibility": "internal" } ], - "src": "946:93:0" + "src": "926:90:0" }, "payable": false, "returnParameters": { @@ -2225,7 +2234,7 @@ "name": "index", "nodeType": "VariableDeclaration", "scope": 150, - "src": "1066:13:0", + "src": "1038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2236,7 +2245,7 @@ "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1066:7:0", + "src": "1038:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2246,24 +2255,93 @@ "visibility": "internal" } ], - "src": "1065:15:0" + "src": "1037:15:0" }, - "scope": 409, - "src": "923:735:0", + "scope": 416, + "src": "903:693:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 219, + "id": 156, "nodeType": "Block", - "src": "1761:604:0", + "src": "1641:33:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 154, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "1648:20:0", + "subExpression": { + "argumentTypes": null, + "id": 153, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1655:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 155, + "nodeType": "ExpressionStatement", + "src": "1648:20:0" + } + ] + }, + "documentation": null, + "id": 157, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "deleteAllCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 151, + "nodeType": "ParameterList", + "parameters": [], + "src": "1628:2:0" + }, + "payable": false, + "returnParameters": { + "id": 152, + "nodeType": "ParameterList", + "parameters": [], + "src": "1641:0:0" + }, + "scope": 416, + "src": "1602:72:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 226, + "nodeType": "Block", + "src": "1769:592:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 160, + "id": 167, "isConstant": false, "isLValue": false, "isPure": false, @@ -2271,18 +2349,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "1771:32:0", + "src": "1780:32:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 158, + "id": 165, "name": "deleteCriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "1783:19:0", + "referencedDeclaration": 159, + "src": "1792:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2296,18 +2374,18 @@ "typeString": "uint256" } ], - "id": 157, + "id": 164, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "1772:10:0", + "src": "1781:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 159, + "id": 166, "isConstant": false, "isLValue": false, "isPure": false, @@ -2315,7 +2393,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1772:31:0", + "src": "1781:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2327,30 +2405,30 @@ } }, "falseBody": null, - "id": 164, + "id": 171, "nodeType": "IfStatement", - "src": "1768:45:0", + "src": "1776:46:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 161, + "id": 168, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 429, - 430 + 436, + 437 ], - "referencedDeclaration": 429, - "src": "1805:6:0", + "referencedDeclaration": 436, + "src": "1814:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 162, + "id": 169, "isConstant": false, "isLValue": false, "isPure": false, @@ -2358,29 +2436,29 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1805:8:0", + "src": "1814:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 163, + "id": 170, "nodeType": "ExpressionStatement", - "src": "1805:8:0" + "src": "1814:8:0" } }, { "assignments": [ - 166 + 173 ], "declarations": [ { "constant": false, - "id": 166, + "id": 173, "name": "rowToDelete", "nodeType": "VariableDeclaration", - "scope": 220, - "src": "1822:19:0", + "scope": 227, + "src": "1831:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2388,10 +2466,10 @@ "typeString": "uint256" }, "typeName": { - "id": 165, + "id": 172, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1822:7:0", + "src": "1831:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2401,33 +2479,33 @@ "visibility": "internal" } ], - "id": 171, + "id": 178, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 167, + "id": 174, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1844:15:0", + "src": "1853:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 169, + "id": 176, "indexExpression": { "argumentTypes": null, - "id": 168, + "id": 175, "name": "deleteCriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "1860:19:0", + "referencedDeclaration": 159, + "src": "1869:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2438,13 +2516,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1844:36:0", + "src": "1853:36:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 170, + "id": 177, "isConstant": false, "isLValue": true, "isPure": false, @@ -2452,27 +2530,27 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1844:42:0", + "src": "1853:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1822:64:0" + "src": "1831:64:0" }, { "assignments": [ - 173 + 180 ], "declarations": [ { "constant": false, - "id": 173, + "id": 180, "name": "keyToMove", "nodeType": "VariableDeclaration", - "scope": 220, - "src": "1893:17:0", + "scope": 227, + "src": "1902:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2480,10 +2558,10 @@ "typeString": "uint256" }, "typeName": { - "id": 172, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1893:7:0", + "src": "1902:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2493,30 +2571,30 @@ "visibility": "internal" } ], - "id": 180, + "id": 187, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 174, + "id": 181, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1915:13:0", + "src": "1924:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 179, + "id": 186, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 178, + "id": 185, "isConstant": false, "isLValue": false, "isPure": false, @@ -2525,18 +2603,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 175, + "id": 182, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1929:13:0", + "src": "1938:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 176, + "id": 183, "isConstant": false, "isLValue": true, "isPure": false, @@ -2544,7 +2622,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1929:20:0", + "src": "1938:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2555,14 +2633,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 177, + "id": 184, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1950:1:0", + "src": "1961:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -2570,7 +2648,7 @@ }, "value": "1" }, - "src": "1929:22:0", + "src": "1938:24:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2581,19 +2659,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1915:37:0", + "src": "1924:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1893:59:0" + "src": "1902:61:0" }, { "expression": { "argumentTypes": null, - "id": 185, + "id": 192, "isConstant": false, "isLValue": false, "isPure": false, @@ -2602,26 +2680,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 181, + "id": 188, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1959:13:0", + "src": "1970:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 183, + "id": 190, "indexExpression": { "argumentTypes": null, - "id": 182, + "id": 189, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 166, - "src": "1973:11:0", + "referencedDeclaration": 173, + "src": "1984:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2632,7 +2710,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1959:26:0", + "src": "1970:26:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2642,31 +2720,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 184, + "id": 191, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "1988:9:0", + "referencedDeclaration": 180, + "src": "1999:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1959:38:0", + "src": "1970:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 186, + "id": 193, "nodeType": "ExpressionStatement", - "src": "1959:38:0" + "src": "1970:38:0" }, { "expression": { "argumentTypes": null, - "id": 192, + "id": 199, "isConstant": false, "isLValue": false, "isPure": false, @@ -2677,26 +2755,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 187, + "id": 194, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2004:15:0", + "src": "2015:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 189, + "id": 196, "indexExpression": { "argumentTypes": null, - "id": 188, + "id": 195, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "2020:9:0", + "referencedDeclaration": 180, + "src": "2031:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2707,13 +2785,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2004:26:0", + "src": "2015:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 190, + "id": 197, "isConstant": false, "isLValue": true, "isPure": false, @@ -2721,7 +2799,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "2004:32:0", + "src": "2015:32:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2731,31 +2809,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 191, + "id": 198, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 166, - "src": "2039:11:0", + "referencedDeclaration": 173, + "src": "2050:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2004:46:0", + "src": "2015:46:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 193, + "id": 200, "nodeType": "ExpressionStatement", - "src": "2004:46:0" + "src": "2015:46:0" }, { "expression": { "argumentTypes": null, - "id": 197, + "id": 204, "isConstant": false, "isLValue": false, "isPure": false, @@ -2763,23 +2841,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "2058:22:0", + "src": "2068:22:0", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 194, + "id": 201, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "2058:13:0", + "src": "2068:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 196, + "id": 203, "isConstant": false, "isLValue": true, "isPure": false, @@ -2787,7 +2865,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2058:20:0", + "src": "2068:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2798,9 +2876,9 @@ "typeString": "uint256" } }, - "id": 198, + "id": 205, "nodeType": "ExpressionStatement", - "src": "2058:22:0" + "src": "2068:22:0" }, { "eventCall": { @@ -2808,12 +2886,12 @@ "arguments": [ { "argumentTypes": null, - "id": 200, + "id": 207, "name": "deleteCriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "2120:19:0", + "referencedDeclaration": 159, + "src": "2130:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2821,12 +2899,12 @@ }, { "argumentTypes": null, - "id": 201, + "id": 208, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 166, - "src": "2151:11:0", + "referencedDeclaration": 173, + "src": "2158:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2844,18 +2922,18 @@ "typeString": "uint256" } ], - "id": 199, + "id": 206, "name": "LogDeleteCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 45, - "src": "2092:17:0", + "src": "2104:17:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256)" } }, - "id": 202, + "id": 209, "isConstant": false, "isLValue": false, "isPure": false, @@ -2863,15 +2941,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2092:71:0", + "src": "2104:66:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 203, + "id": 210, "nodeType": "EmitStatement", - "src": "2087:76:0" + "src": "2099:71:0" }, { "eventCall": { @@ -2879,12 +2957,12 @@ "arguments": [ { "argumentTypes": null, - "id": 205, + "id": 212, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "2203:9:0", + "referencedDeclaration": 180, + "src": "2208:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2892,12 +2970,12 @@ }, { "argumentTypes": null, - "id": 206, + "id": 213, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 166, - "src": "2224:11:0", + "referencedDeclaration": 173, + "src": "2226:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2909,26 +2987,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 207, + "id": 214, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2247:15:0", + "src": "2246:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 209, + "id": 216, "indexExpression": { "argumentTypes": null, - "id": 208, + "id": 215, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "2263:9:0", + "referencedDeclaration": 180, + "src": "2262:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2939,13 +3017,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2247:26:0", + "src": "2246:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 210, + "id": 217, "isConstant": false, "isLValue": true, "isPure": false, @@ -2953,10 +3031,10 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2247:39:0", + "src": "2246:39:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, { @@ -2965,26 +3043,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 211, + "id": 218, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2298:15:0", + "src": "2294:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 213, + "id": 220, "indexExpression": { "argumentTypes": null, - "id": 212, + "id": 219, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "2314:9:0", + "referencedDeclaration": 180, + "src": "2310:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2995,13 +3073,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2298:26:0", + "src": "2294:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 214, + "id": 221, "isConstant": false, "isLValue": true, "isPure": false, @@ -3009,7 +3087,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "2298:35:0", + "src": "2294:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3027,26 +3105,26 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], - "id": 204, + "id": 211, "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "2175:17:0", + "src": "2182:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,bytes32,uint256)" + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,string memory,uint256)" } }, - "id": 215, + "id": 222, "isConstant": false, "isLValue": false, "isPure": false, @@ -3054,39 +3132,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2175:159:0", + "src": "2182:148:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 216, + "id": 223, "nodeType": "EmitStatement", - "src": "2170:164:0" + "src": "2177:153:0" }, { "expression": { "argumentTypes": null, - "id": 217, + "id": 224, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 166, - "src": "2348:11:0", + "referencedDeclaration": 173, + "src": "2344:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 156, - "id": 218, + "functionReturnParameters": 163, + "id": 225, "nodeType": "Return", - "src": "2341:18:0" + "src": "2337:18:0" } ] }, "documentation": null, - "id": 220, + "id": 227, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -3094,16 +3172,16 @@ "name": "deleteCriteria", "nodeType": "FunctionDefinition", "parameters": { - "id": 153, + "id": 160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 152, + "id": 159, "name": "deleteCriteriaIndex", "nodeType": "VariableDeclaration", - "scope": 220, - "src": "1688:27:0", + "scope": 227, + "src": "1704:27:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3111,10 +3189,10 @@ "typeString": "uint256" }, "typeName": { - "id": 151, + "id": 158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1688:7:0", + "src": "1704:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3124,20 +3202,20 @@ "visibility": "internal" } ], - "src": "1687:29:0" + "src": "1703:29:0" }, "payable": false, "returnParameters": { - "id": 156, + "id": 163, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 155, + "id": 162, "name": "index", "nodeType": "VariableDeclaration", - "scope": 220, - "src": "1743:13:0", + "scope": 227, + "src": "1754:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3145,10 +3223,10 @@ "typeString": "uint256" }, "typeName": { - "id": 154, + "id": 161, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1743:7:0", + "src": "1754:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3158,24 +3236,24 @@ "visibility": "internal" } ], - "src": "1742:15:0" + "src": "1753:15:0" }, - "scope": 409, - "src": "1664:701:0", + "scope": 416, + "src": "1680:681:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 259, + "id": 266, "nodeType": "Block", - "src": "2527:266:0", + "src": "2510:266:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 236, + "id": 243, "isConstant": false, "isLValue": false, "isPure": false, @@ -3183,18 +3261,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2537:26:0", + "src": "2521:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 234, + "id": 241, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 222, - "src": "2549:13:0", + "referencedDeclaration": 229, + "src": "2533:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3208,18 +3286,18 @@ "typeString": "uint256" } ], - "id": 233, + "id": 240, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "2538:10:0", + "src": "2522:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 235, + "id": 242, "isConstant": false, "isLValue": false, "isPure": false, @@ -3227,7 +3305,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2538:25:0", + "src": "2522:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3239,30 +3317,30 @@ } }, "falseBody": null, - "id": 240, + "id": 247, "nodeType": "IfStatement", - "src": "2534:39:0", + "src": "2517:40:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 237, + "id": 244, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 429, - 430 + 436, + 437 ], - "referencedDeclaration": 429, - "src": "2565:6:0", + "referencedDeclaration": 436, + "src": "2549:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 238, + "id": 245, "isConstant": false, "isLValue": false, "isPure": false, @@ -3270,15 +3348,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2565:8:0", + "src": "2549:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 239, + "id": 246, "nodeType": "ExpressionStatement", - "src": "2565:8:0" + "src": "2549:8:0" } }, { @@ -3291,26 +3369,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 241, + "id": 248, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2597:15:0", + "src": "2582:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 243, + "id": 250, "indexExpression": { "argumentTypes": null, - "id": 242, + "id": 249, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 222, - "src": "2613:13:0", + "referencedDeclaration": 229, + "src": "2598:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3321,13 +3399,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2597:30:0", + "src": "2582:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 244, + "id": 251, "isConstant": false, "isLValue": true, "isPure": false, @@ -3335,10 +3413,10 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2597:43:0", + "src": "2582:43:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, { @@ -3347,26 +3425,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 245, + "id": 252, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2650:15:0", + "src": "2634:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 247, + "id": 254, "indexExpression": { "argumentTypes": null, - "id": 246, + "id": 253, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 222, - "src": "2666:13:0", + "referencedDeclaration": 229, + "src": "2650:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3377,13 +3455,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2650:30:0", + "src": "2634:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 248, + "id": 255, "isConstant": false, "isLValue": true, "isPure": false, @@ -3391,7 +3469,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "2650:39:0", + "src": "2634:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3403,26 +3481,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 249, + "id": 256, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2699:15:0", + "src": "2682:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 251, + "id": 258, "indexExpression": { "argumentTypes": null, - "id": 250, + "id": 257, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 222, - "src": "2715:13:0", + "referencedDeclaration": 229, + "src": "2698:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3433,13 +3511,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2699:30:0", + "src": "2682:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 252, + "id": 259, "isConstant": false, "isLValue": true, "isPure": false, @@ -3447,7 +3525,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "2699:39:0", + "src": "2682:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3459,26 +3537,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 253, + "id": 260, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2747:15:0", + "src": "2730:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 255, + "id": 262, "indexExpression": { "argumentTypes": null, - "id": 254, + "id": 261, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 222, - "src": "2763:13:0", + "referencedDeclaration": 229, + "src": "2746:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3489,13 +3567,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2747:30:0", + "src": "2730:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 256, + "id": 263, "isConstant": false, "isLValue": true, "isPure": false, @@ -3503,35 +3581,35 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "2747:39:0", + "src": "2730:39:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 257, + "id": 264, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2588:199:0", + "src": "2573:197:0", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes32_$_t_uint256_$_t_uint256_$_t_bool_$", - "typeString": "tuple(bytes32,uint256,uint256,bool)" + "typeIdentifier": "t_tuple$_t_string_storage_$_t_uint256_$_t_uint256_$_t_bool_$", + "typeString": "tuple(string storage ref,uint256,uint256,bool)" } }, - "functionReturnParameters": 232, - "id": 258, + "functionReturnParameters": 239, + "id": 265, "nodeType": "Return", - "src": "2582:205:0" + "src": "2566:204:0" } ] }, "documentation": null, - "id": 260, + "id": 267, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3539,16 +3617,16 @@ "name": "getCriteria", "nodeType": "FunctionDefinition", "parameters": { - "id": 223, + "id": 230, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 222, + "id": 229, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 260, - "src": "2394:21:0", + "scope": 267, + "src": "2388:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3556,10 +3634,10 @@ "typeString": "uint256" }, "typeName": { - "id": 221, + "id": 228, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2394:7:0", + "src": "2388:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3569,34 +3647,34 @@ "visibility": "internal" } ], - "src": "2393:23:0" + "src": "2387:23:0" }, "payable": false, "returnParameters": { - "id": 232, + "id": 239, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 225, + "id": 232, "name": "criteriaText", "nodeType": "VariableDeclaration", - "scope": 260, - "src": "2457:20:0", + "scope": 267, + "src": "2444:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" }, "typeName": { - "id": 224, - "name": "bytes32", + "id": 231, + "name": "string", "nodeType": "ElementaryTypeName", - "src": "2457:7:0", + "src": "2444:6:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, @@ -3604,11 +3682,11 @@ }, { "constant": false, - "id": 227, + "id": 234, "name": "maxScore", "nodeType": "VariableDeclaration", - "scope": 260, - "src": "2479:13:0", + "scope": 267, + "src": "2465:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3616,10 +3694,10 @@ "typeString": "uint256" }, "typeName": { - "id": 226, + "id": 233, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2479:4:0", + "src": "2465:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3630,11 +3708,11 @@ }, { "constant": false, - "id": 229, + "id": 236, "name": "minScore", "nodeType": "VariableDeclaration", - "scope": 260, - "src": "2494:13:0", + "scope": 267, + "src": "2480:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3642,10 +3720,10 @@ "typeString": "uint256" }, "typeName": { - "id": 228, + "id": 235, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2494:4:0", + "src": "2480:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3656,11 +3734,11 @@ }, { "constant": false, - "id": 231, + "id": 238, "name": "isActive", "nodeType": "VariableDeclaration", - "scope": 260, - "src": "2509:13:0", + "scope": 267, + "src": "2495:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3668,10 +3746,10 @@ "typeString": "bool" }, "typeName": { - "id": 230, + "id": 237, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2509:4:0", + "src": "2495:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3681,24 +3759,24 @@ "visibility": "internal" } ], - "src": "2456:67:0" + "src": "2443:66:0" }, - "scope": 409, - "src": "2373:420:0", + "scope": 416, + "src": "2367:409:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 299, + "id": 306, "nodeType": "Block", - "src": "2919:305:0", + "src": "2889:304:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 272, + "id": 279, "isConstant": false, "isLValue": false, "isPure": false, @@ -3706,18 +3784,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2929:26:0", + "src": "2900:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 270, + "id": 277, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 262, - "src": "2941:13:0", + "referencedDeclaration": 269, + "src": "2912:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3731,18 +3809,18 @@ "typeString": "uint256" } ], - "id": 269, + "id": 276, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "2930:10:0", + "src": "2901:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 271, + "id": 278, "isConstant": false, "isLValue": false, "isPure": false, @@ -3750,7 +3828,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2930:25:0", + "src": "2901:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3762,30 +3840,30 @@ } }, "falseBody": null, - "id": 276, + "id": 283, "nodeType": "IfStatement", - "src": "2926:39:0", + "src": "2896:40:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 273, + "id": 280, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 429, - 430 + 436, + 437 ], - "referencedDeclaration": 429, - "src": "2957:6:0", + "referencedDeclaration": 436, + "src": "2928:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 274, + "id": 281, "isConstant": false, "isLValue": false, "isPure": false, @@ -3793,21 +3871,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2957:8:0", + "src": "2928:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 275, + "id": 282, "nodeType": "ExpressionStatement", - "src": "2957:8:0" + "src": "2928:8:0" } }, { "expression": { "argumentTypes": null, - "id": 282, + "id": 289, "isConstant": false, "isLValue": false, "isPure": false, @@ -3818,26 +3896,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 277, + "id": 284, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2974:15:0", + "src": "2945:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 279, + "id": 286, "indexExpression": { "argumentTypes": null, - "id": 278, + "id": 285, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 262, - "src": "2990:13:0", + "referencedDeclaration": 269, + "src": "2961:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3848,13 +3926,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2974:30:0", + "src": "2945:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 280, + "id": 287, "isConstant": false, "isLValue": true, "isPure": false, @@ -3862,36 +3940,36 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2974:43:0", + "src": "2945:43:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 281, + "id": 288, "name": "criteriaText", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 264, - "src": "3020:12:0", + "referencedDeclaration": 271, + "src": "2991:12:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" } }, - "src": "2974:58:0", + "src": "2945:58:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, - "id": 283, + "id": 290, "nodeType": "ExpressionStatement", - "src": "2974:58:0" + "src": "2945:58:0" }, { "eventCall": { @@ -3899,12 +3977,12 @@ "arguments": [ { "argumentTypes": null, - "id": 285, + "id": 292, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 262, - "src": "3070:13:0", + "referencedDeclaration": 269, + "src": "3041:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3916,26 +3994,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 286, + "id": 293, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3093:15:0", + "src": "3063:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 288, + "id": 295, "indexExpression": { "argumentTypes": null, - "id": 287, + "id": 294, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 262, - "src": "3109:13:0", + "referencedDeclaration": 269, + "src": "3079:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3946,13 +4024,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3093:30:0", + "src": "3063:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 289, + "id": 296, "isConstant": false, "isLValue": true, "isPure": false, @@ -3960,7 +4038,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "3093:36:0", + "src": "3063:36:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3968,15 +4046,15 @@ }, { "argumentTypes": null, - "id": 290, + "id": 297, "name": "criteriaText", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 264, - "src": "3138:12:0", + "referencedDeclaration": 271, + "src": "3108:12:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" } }, { @@ -3985,26 +4063,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 291, + "id": 298, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3160:15:0", + "src": "3129:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 293, + "id": 300, "indexExpression": { "argumentTypes": null, - "id": 292, + "id": 299, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 262, - "src": "3176:13:0", + "referencedDeclaration": 269, + "src": "3145:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4015,13 +4093,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3160:30:0", + "src": "3129:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 294, + "id": 301, "isConstant": false, "isLValue": true, "isPure": false, @@ -4029,7 +4107,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "3160:39:0", + "src": "3129:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4047,26 +4125,26 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], - "id": 284, + "id": 291, "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "3044:17:0", + "src": "3015:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,bytes32,uint256)" + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,string memory,uint256)" } }, - "id": 295, + "id": 302, "isConstant": false, "isLValue": false, "isPure": false, @@ -4074,28 +4152,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3044:156:0", + "src": "3015:154:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 296, + "id": 303, "nodeType": "EmitStatement", - "src": "3039:161:0" + "src": "3010:159:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 297, + "id": 304, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3214:4:0", + "src": "3183:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -4103,15 +4181,15 @@ }, "value": "true" }, - "functionReturnParameters": 268, - "id": 298, + "functionReturnParameters": 275, + "id": 305, "nodeType": "Return", - "src": "3207:11:0" + "src": "3176:11:0" } ] }, "documentation": null, - "id": 300, + "id": 307, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -4119,16 +4197,16 @@ "name": "updateCriteriaText", "nodeType": "FunctionDefinition", "parameters": { - "id": 265, + "id": 272, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 262, + "id": 269, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 300, - "src": "2830:21:0", + "scope": 307, + "src": "2810:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4136,10 +4214,10 @@ "typeString": "uint256" }, "typeName": { - "id": 261, + "id": 268, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2830:7:0", + "src": "2810:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4150,45 +4228,45 @@ }, { "constant": false, - "id": 264, + "id": 271, "name": "criteriaText", "nodeType": "VariableDeclaration", - "scope": 300, - "src": "2853:20:0", + "scope": 307, + "src": "2833:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" }, "typeName": { - "id": 263, - "name": "bytes32", + "id": 270, + "name": "string", "nodeType": "ElementaryTypeName", - "src": "2853:7:0", + "src": "2833:6:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, "visibility": "internal" } ], - "src": "2829:45:0" + "src": "2809:44:0" }, "payable": false, "returnParameters": { - "id": 268, + "id": 275, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 267, + "id": 274, "name": "success", "nodeType": "VariableDeclaration", - "scope": 300, - "src": "2901:12:0", + "scope": 307, + "src": "2875:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4196,10 +4274,10 @@ "typeString": "bool" }, "typeName": { - "id": 266, + "id": 273, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2901:4:0", + "src": "2875:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4209,24 +4287,24 @@ "visibility": "internal" } ], - "src": "2900:14:0" + "src": "2874:14:0" }, - "scope": 409, - "src": "2802:422:0", + "scope": 416, + "src": "2782:411:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 351, + "id": 358, "nodeType": "Block", - "src": "3348:328:0", + "src": "3306:328:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 314, + "id": 321, "isConstant": false, "isLValue": false, "isPure": false, @@ -4234,18 +4312,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3358:18:0", + "src": "3317:18:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 312, + "id": 319, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3370:5:0", + "referencedDeclaration": 309, + "src": "3329:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4259,18 +4337,18 @@ "typeString": "uint256" } ], - "id": 311, + "id": 318, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "3359:10:0", + "src": "3318:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 313, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, @@ -4278,7 +4356,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3359:17:0", + "src": "3318:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4290,30 +4368,30 @@ } }, "falseBody": null, - "id": 318, + "id": 325, "nodeType": "IfStatement", - "src": "3355:31:0", + "src": "3313:32:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 315, + "id": 322, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 429, - 430 + 436, + 437 ], - "referencedDeclaration": 429, - "src": "3378:6:0", + "referencedDeclaration": 436, + "src": "3337:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 316, + "id": 323, "isConstant": false, "isLValue": false, "isPure": false, @@ -4321,21 +4399,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3378:8:0", + "src": "3337:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 317, + "id": 324, "nodeType": "ExpressionStatement", - "src": "3378:8:0" + "src": "3337:8:0" } }, { "expression": { "argumentTypes": null, - "id": 324, + "id": 331, "isConstant": false, "isLValue": false, "isPure": false, @@ -4346,26 +4424,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 319, + "id": 326, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3395:15:0", + "src": "3354:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 321, + "id": 328, "indexExpression": { "argumentTypes": null, - "id": 320, + "id": 327, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3411:5:0", + "referencedDeclaration": 309, + "src": "3370:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4376,13 +4454,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3395:22:0", + "src": "3354:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 322, + "id": 329, "isConstant": false, "isLValue": true, "isPure": false, @@ -4390,7 +4468,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "3395:31:0", + "src": "3354:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4400,31 +4478,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 323, + "id": 330, "name": "MaxScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 304, - "src": "3429:8:0", + "referencedDeclaration": 311, + "src": "3388:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3395:42:0", + "src": "3354:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 325, + "id": 332, "nodeType": "ExpressionStatement", - "src": "3395:42:0" + "src": "3354:42:0" }, { "expression": { "argumentTypes": null, - "id": 331, + "id": 338, "isConstant": false, "isLValue": false, "isPure": false, @@ -4435,26 +4513,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 326, + "id": 333, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3444:15:0", + "src": "3403:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 328, + "id": 335, "indexExpression": { "argumentTypes": null, - "id": 327, + "id": 334, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3460:5:0", + "referencedDeclaration": 309, + "src": "3419:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4465,13 +4543,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3444:22:0", + "src": "3403:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 329, + "id": 336, "isConstant": false, "isLValue": true, "isPure": false, @@ -4479,7 +4557,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "3444:31:0", + "src": "3403:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4489,26 +4567,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 330, + "id": 337, "name": "MinScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 306, - "src": "3478:8:0", + "referencedDeclaration": 313, + "src": "3437:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3444:42:0", + "src": "3403:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 332, + "id": 339, "nodeType": "ExpressionStatement", - "src": "3444:42:0" + "src": "3403:42:0" }, { "eventCall": { @@ -4516,12 +4594,12 @@ "arguments": [ { "argumentTypes": null, - "id": 334, + "id": 341, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3524:5:0", + "referencedDeclaration": 309, + "src": "3483:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4533,26 +4611,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 335, + "id": 342, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3539:15:0", + "src": "3497:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 337, + "id": 344, "indexExpression": { "argumentTypes": null, - "id": 336, + "id": 343, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3555:5:0", + "referencedDeclaration": 309, + "src": "3513:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4563,13 +4641,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3539:22:0", + "src": "3497:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 338, + "id": 345, "isConstant": false, "isLValue": true, "isPure": false, @@ -4577,7 +4655,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "3539:28:0", + "src": "3497:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4589,26 +4667,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 339, + "id": 346, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3576:15:0", + "src": "3534:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 341, + "id": 348, "indexExpression": { "argumentTypes": null, - "id": 340, + "id": 347, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3592:5:0", + "referencedDeclaration": 309, + "src": "3550:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4619,13 +4697,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3576:22:0", + "src": "3534:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 342, + "id": 349, "isConstant": false, "isLValue": true, "isPure": false, @@ -4633,10 +4711,10 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "3576:35:0", + "src": "3534:35:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, { @@ -4645,26 +4723,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 343, + "id": 350, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3620:15:0", + "src": "3578:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 345, + "id": 352, "indexExpression": { "argumentTypes": null, - "id": 344, + "id": 351, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3636:5:0", + "referencedDeclaration": 309, + "src": "3594:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4675,13 +4753,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3620:22:0", + "src": "3578:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 346, + "id": 353, "isConstant": false, "isLValue": true, "isPure": false, @@ -4689,7 +4767,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "3620:31:0", + "src": "3578:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4707,26 +4785,26 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], - "id": 333, + "id": 340, "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "3498:17:0", + "src": "3457:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,bytes32,uint256)" + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,string memory,uint256)" } }, - "id": 347, + "id": 354, "isConstant": false, "isLValue": false, "isPure": false, @@ -4734,28 +4812,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3498:154:0", + "src": "3457:153:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 348, + "id": 355, "nodeType": "EmitStatement", - "src": "3493:159:0" + "src": "3452:158:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 349, + "id": 356, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3666:4:0", + "src": "3624:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -4763,15 +4841,15 @@ }, "value": "true" }, - "functionReturnParameters": 310, - "id": 350, + "functionReturnParameters": 317, + "id": 357, "nodeType": "Return", - "src": "3659:11:0" + "src": "3617:11:0" } ] }, "documentation": null, - "id": 352, + "id": 359, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -4779,16 +4857,16 @@ "name": "updateMaxMinScore", "nodeType": "FunctionDefinition", "parameters": { - "id": 307, + "id": 314, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 302, + "id": 309, "name": "index", "nodeType": "VariableDeclaration", - "scope": 352, - "src": "3259:13:0", + "scope": 359, + "src": "3226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4796,10 +4874,10 @@ "typeString": "uint256" }, "typeName": { - "id": 301, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3259:7:0", + "src": "3226:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4810,11 +4888,11 @@ }, { "constant": false, - "id": 304, + "id": 311, "name": "MaxScore", "nodeType": "VariableDeclaration", - "scope": 352, - "src": "3274:13:0", + "scope": 359, + "src": "3241:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4822,10 +4900,10 @@ "typeString": "uint256" }, "typeName": { - "id": 303, + "id": 310, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3274:4:0", + "src": "3241:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4836,11 +4914,11 @@ }, { "constant": false, - "id": 306, + "id": 313, "name": "MinScore", "nodeType": "VariableDeclaration", - "scope": 352, - "src": "3289:13:0", + "scope": 359, + "src": "3256:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4848,10 +4926,10 @@ "typeString": "uint256" }, "typeName": { - "id": 305, + "id": 312, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3289:4:0", + "src": "3256:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4861,20 +4939,20 @@ "visibility": "internal" } ], - "src": "3258:45:0" + "src": "3225:45:0" }, "payable": false, "returnParameters": { - "id": 310, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 309, + "id": 316, "name": "success", "nodeType": "VariableDeclaration", - "scope": 352, - "src": "3330:12:0", + "scope": 359, + "src": "3292:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4882,10 +4960,10 @@ "typeString": "bool" }, "typeName": { - "id": 308, + "id": 315, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3330:4:0", + "src": "3292:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4895,24 +4973,24 @@ "visibility": "internal" } ], - "src": "3329:14:0" + "src": "3291:14:0" }, - "scope": 409, - "src": "3232:444:0", + "scope": 416, + "src": "3199:435:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 386, + "id": 393, "nodeType": "Block", - "src": "3776:200:0", + "src": "3725:197:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 364, + "id": 371, "isConstant": false, "isLValue": false, "isPure": false, @@ -4920,18 +4998,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3786:18:0", + "src": "3736:18:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 362, + "id": 369, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 354, - "src": "3798:5:0", + "referencedDeclaration": 361, + "src": "3748:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4945,18 +5023,18 @@ "typeString": "uint256" } ], - "id": 361, + "id": 368, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "3787:10:0", + "src": "3737:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 363, + "id": 370, "isConstant": false, "isLValue": false, "isPure": false, @@ -4964,7 +5042,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3787:17:0", + "src": "3737:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4976,30 +5054,30 @@ } }, "falseBody": null, - "id": 368, + "id": 375, "nodeType": "IfStatement", - "src": "3783:31:0", + "src": "3732:32:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 365, + "id": 372, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 429, - 430 + 436, + 437 ], - "referencedDeclaration": 429, - "src": "3806:6:0", + "referencedDeclaration": 436, + "src": "3756:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 366, + "id": 373, "isConstant": false, "isLValue": false, "isPure": false, @@ -5007,21 +5085,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3806:8:0", + "src": "3756:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 367, + "id": 374, "nodeType": "ExpressionStatement", - "src": "3806:8:0" + "src": "3756:8:0" } }, { "expression": { "argumentTypes": null, - "id": 374, + "id": 381, "isConstant": false, "isLValue": false, "isPure": false, @@ -5032,26 +5110,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 369, + "id": 376, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3823:15:0", + "src": "3773:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 371, + "id": 378, "indexExpression": { "argumentTypes": null, - "id": 370, + "id": 377, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 354, - "src": "3839:5:0", + "referencedDeclaration": 361, + "src": "3789:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5062,13 +5140,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3823:22:0", + "src": "3773:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 372, + "id": 379, "isConstant": false, "isLValue": true, "isPure": false, @@ -5076,7 +5154,7 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "3823:31:0", + "src": "3773:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5086,26 +5164,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 373, + "id": 380, "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "3857:6:0", + "referencedDeclaration": 363, + "src": "3807:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3823:40:0", + "src": "3773:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 375, + "id": 382, "nodeType": "ExpressionStatement", - "src": "3823:40:0" + "src": "3773:40:0" }, { "eventCall": { @@ -5113,12 +5191,12 @@ "arguments": [ { "argumentTypes": null, - "id": 377, + "id": 384, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 354, - "src": "3913:5:0", + "referencedDeclaration": 361, + "src": "3859:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5130,26 +5208,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 378, + "id": 385, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3919:15:0", + "src": "3866:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 380, + "id": 387, "indexExpression": { "argumentTypes": null, - "id": 379, + "id": 386, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 354, - "src": "3935:5:0", + "referencedDeclaration": 361, + "src": "3882:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5160,13 +5238,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3919:22:0", + "src": "3866:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 381, + "id": 388, "isConstant": false, "isLValue": true, "isPure": false, @@ -5174,7 +5252,7 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "3919:31:0", + "src": "3866:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5192,18 +5270,18 @@ "typeString": "bool" } ], - "id": 376, + "id": 383, "name": "LogCriteriaStatusChange", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 51, - "src": "3881:23:0", + "src": "3827:23:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bool_$returns$__$", "typeString": "function (uint256,bool)" } }, - "id": 382, + "id": 389, "isConstant": false, "isLValue": false, "isPure": false, @@ -5211,28 +5289,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3881:71:0", + "src": "3827:71:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 383, + "id": 390, "nodeType": "EmitStatement", - "src": "3876:76:0" + "src": "3822:76:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 384, + "id": 391, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3966:4:0", + "src": "3912:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -5240,15 +5318,15 @@ }, "value": "true" }, - "functionReturnParameters": 360, - "id": 385, + "functionReturnParameters": 367, + "id": 392, "nodeType": "Return", - "src": "3959:11:0" + "src": "3905:11:0" } ] }, "documentation": null, - "id": 387, + "id": 394, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -5256,16 +5334,16 @@ "name": "changeStatus", "nodeType": "FunctionDefinition", "parameters": { - "id": 357, + "id": 364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 354, + "id": 361, "name": "index", "nodeType": "VariableDeclaration", - "scope": 387, - "src": "3704:13:0", + "scope": 394, + "src": "3662:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5273,10 +5351,10 @@ "typeString": "uint256" }, "typeName": { - "id": 353, + "id": 360, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3704:7:0", + "src": "3662:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5287,11 +5365,11 @@ }, { "constant": false, - "id": 356, + "id": 363, "name": "status", "nodeType": "VariableDeclaration", - "scope": 387, - "src": "3719:11:0", + "scope": 394, + "src": "3677:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5299,10 +5377,10 @@ "typeString": "bool" }, "typeName": { - "id": 355, + "id": 362, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3719:4:0", + "src": "3677:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5312,20 +5390,20 @@ "visibility": "internal" } ], - "src": "3703:28:0" + "src": "3661:28:0" }, "payable": false, "returnParameters": { - "id": 360, + "id": 367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 359, + "id": 366, "name": "success", "nodeType": "VariableDeclaration", - "scope": 387, - "src": "3758:12:0", + "scope": 394, + "src": "3711:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5333,10 +5411,10 @@ "typeString": "bool" }, "typeName": { - "id": 358, + "id": 365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3758:4:0", + "src": "3711:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5346,37 +5424,37 @@ "visibility": "internal" } ], - "src": "3757:14:0" + "src": "3710:14:0" }, - "scope": 409, - "src": "3682:294:0", + "scope": 416, + "src": "3640:282:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 395, + "id": 402, "nodeType": "Block", - "src": "4070:40:0", + "src": "4006:40:0", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 392, + "id": 399, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "4084:13:0", + "src": "4020:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 393, + "id": 400, "isConstant": false, "isLValue": true, "isPure": false, @@ -5384,21 +5462,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4084:20:0", + "src": "4020:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 391, - "id": 394, + "functionReturnParameters": 398, + "id": 401, "nodeType": "Return", - "src": "4077:27:0" + "src": "4013:27:0" } ] }, "documentation": null, - "id": 396, + "id": 403, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5406,23 +5484,23 @@ "name": "getCriteriaCount", "nodeType": "FunctionDefinition", "parameters": { - "id": 388, + "id": 395, "nodeType": "ParameterList", "parameters": [], - "src": "4009:2:0" + "src": "3955:2:0" }, "payable": false, "returnParameters": { - "id": 391, + "id": 398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 390, + "id": 397, "name": "count", "nodeType": "VariableDeclaration", - "scope": 396, - "src": "4052:13:0", + "scope": 403, + "src": "3991:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5430,10 +5508,10 @@ "typeString": "uint256" }, "typeName": { - "id": 389, + "id": 396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4052:7:0", + "src": "3991:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5443,45 +5521,45 @@ "visibility": "internal" } ], - "src": "4051:15:0" + "src": "3990:15:0" }, - "scope": 409, - "src": "3984:126:0", + "scope": 416, + "src": "3930:116:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 407, + "id": 414, "nodeType": "Block", - "src": "4221:40:0", + "src": "4148:40:0", "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 403, + "id": 410, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "4235:13:0", + "src": "4162:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 405, + "id": 412, "indexExpression": { "argumentTypes": null, - "id": 404, + "id": 411, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "4249:5:0", + "referencedDeclaration": 405, + "src": "4176:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5492,21 +5570,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4235:20:0", + "src": "4162:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 402, - "id": 406, + "functionReturnParameters": 409, + "id": 413, "nodeType": "Return", - "src": "4228:27:0" + "src": "4155:27:0" } ] }, "documentation": null, - "id": 408, + "id": 415, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5514,16 +5592,16 @@ "name": "getCriteriaAtIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 399, + "id": 406, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 398, + "id": 405, "name": "index", "nodeType": "VariableDeclaration", - "scope": 408, - "src": "4144:10:0", + "scope": 415, + "src": "4080:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5531,10 +5609,10 @@ "typeString": "uint256" }, "typeName": { - "id": 397, + "id": 404, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4144:4:0", + "src": "4080:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5544,20 +5622,20 @@ "visibility": "internal" } ], - "src": "4143:12:0" + "src": "4079:12:0" }, "payable": false, "returnParameters": { - "id": 402, + "id": 409, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 401, + "id": 408, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 408, - "src": "4195:21:0", + "scope": 415, + "src": "4125:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5565,10 +5643,10 @@ "typeString": "uint256" }, "typeName": { - "id": 400, + "id": 407, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4195:7:0", + "src": "4125:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5578,29 +5656,29 @@ "visibility": "internal" } ], - "src": "4194:23:0" + "src": "4124:23:0" }, - "scope": 409, - "src": "4116:145:0", + "scope": 416, + "src": "4052:136:0", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], - "scope": 410, - "src": "28:4238:0" + "scope": 417, + "src": "30:4163:0" } ], - "src": "0:4266:0" + "src": "0:4193:0" }, "legacyAST": { "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", "exportedSymbols": { "AuditCriteriaManager": [ - 409 + 416 ] }, - "id": 410, + "id": 417, "nodeType": "SourceUnit", "nodes": [ { @@ -5612,7 +5690,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:0" + "src": "0:26:0" }, { "baseContracts": [], @@ -5620,9 +5698,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 409, + "id": 416, "linearizedBaseContracts": [ - 409 + 416 ], "name": "AuditCriteriaManager", "nodeType": "ContractDefinition", @@ -5637,21 +5715,21 @@ "name": "criteriaText", "nodeType": "VariableDeclaration", "scope": 12, - "src": "94:20:0", + "src": "96:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" }, "typeName": { "id": 2, - "name": "bytes32", + "name": "string", "nodeType": "ElementaryTypeName", - "src": "94:7:0", + "src": "96:6:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, @@ -5663,7 +5741,7 @@ "name": "minScore", "nodeType": "VariableDeclaration", "scope": 12, - "src": "121:13:0", + "src": "122:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5674,7 +5752,7 @@ "id": 4, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "121:4:0", + "src": "122:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5689,7 +5767,7 @@ "name": "maxScore", "nodeType": "VariableDeclaration", "scope": 12, - "src": "141:13:0", + "src": "142:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5700,7 +5778,7 @@ "id": 6, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "141:4:0", + "src": "142:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5715,7 +5793,7 @@ "name": "isActive", "nodeType": "VariableDeclaration", "scope": 12, - "src": "161:13:0", + "src": "162:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5726,7 +5804,7 @@ "id": 8, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "161:4:0", + "src": "162:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5741,7 +5819,7 @@ "name": "index", "nodeType": "VariableDeclaration", "scope": 12, - "src": "181:13:0", + "src": "182:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5752,7 +5830,7 @@ "id": 10, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "181:7:0", + "src": "182:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5764,8 +5842,8 @@ ], "name": "CriteriaStruct", "nodeType": "StructDefinition", - "scope": 409, - "src": "65:135:0", + "scope": 416, + "src": "67:134:0", "visibility": "public" }, { @@ -5773,8 +5851,8 @@ "id": 16, "name": "CriteriaStructs", "nodeType": "VariableDeclaration", - "scope": 409, - "src": "208:58:0", + "scope": 416, + "src": "207:58:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5787,14 +5865,14 @@ "id": 13, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "216:7:0", + "src": "215:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "208:34:0", + "src": "207:34:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct)" @@ -5805,7 +5883,7 @@ "name": "CriteriaStruct", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 12, - "src": "227:14:0", + "src": "226:14:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage_ptr", "typeString": "struct AuditCriteriaManager.CriteriaStruct" @@ -5820,8 +5898,8 @@ "id": 19, "name": "CriteriaIndex", "nodeType": "VariableDeclaration", - "scope": 409, - "src": "271:31:0", + "scope": 416, + "src": "270:31:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5833,7 +5911,7 @@ "id": 17, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "271:7:0", + "src": "270:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5842,7 +5920,7 @@ "id": 18, "length": null, "nodeType": "ArrayTypeName", - "src": "271:9:0", + "src": "270:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" @@ -5868,7 +5946,7 @@ "name": "CriteriaIndex", "nodeType": "VariableDeclaration", "scope": 29, - "src": "333:29:0", + "src": "329:29:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5879,7 +5957,7 @@ "id": 20, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "333:7:0", + "src": "329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5895,7 +5973,7 @@ "name": "index", "nodeType": "VariableDeclaration", "scope": 29, - "src": "364:10:0", + "src": "360:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5906,7 +5984,7 @@ "id": 22, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "364:4:0", + "src": "360:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5922,21 +6000,21 @@ "name": "CriteriaText", "nodeType": "VariableDeclaration", "scope": 29, - "src": "376:20:0", + "src": "372:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" }, "typeName": { "id": 24, - "name": "bytes32", + "name": "string", "nodeType": "ElementaryTypeName", - "src": "376:7:0", + "src": "372:6:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, @@ -5949,7 +6027,7 @@ "name": "maxScore", "nodeType": "VariableDeclaration", "scope": 29, - "src": "398:13:0", + "src": "393:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5960,7 +6038,7 @@ "id": 26, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "398:4:0", + "src": "393:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5970,9 +6048,9 @@ "visibility": "internal" } ], - "src": "332:80:0" + "src": "328:79:0" }, - "src": "309:104:0" + "src": "308:100:0" }, { "anonymous": false, @@ -5991,7 +6069,7 @@ "name": "CriteriaIndex", "nodeType": "VariableDeclaration", "scope": 39, - "src": "441:29:0", + "src": "436:29:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6002,7 +6080,7 @@ "id": 30, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "441:7:0", + "src": "436:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6018,7 +6096,7 @@ "name": "index", "nodeType": "VariableDeclaration", "scope": 39, - "src": "472:10:0", + "src": "467:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6029,7 +6107,7 @@ "id": 32, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "472:4:0", + "src": "467:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6045,21 +6123,21 @@ "name": "CriteriaText", "nodeType": "VariableDeclaration", "scope": 39, - "src": "484:20:0", + "src": "479:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" }, "typeName": { "id": 34, - "name": "bytes32", + "name": "string", "nodeType": "ElementaryTypeName", - "src": "484:7:0", + "src": "479:6:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, @@ -6072,7 +6150,7 @@ "name": "maxScore", "nodeType": "VariableDeclaration", "scope": 39, - "src": "506:13:0", + "src": "500:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6083,7 +6161,7 @@ "id": 36, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "506:4:0", + "src": "500:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6093,9 +6171,9 @@ "visibility": "internal" } ], - "src": "440:80:0" + "src": "435:79:0" }, - "src": "417:104:0" + "src": "412:103:0" }, { "anonymous": false, @@ -6114,7 +6192,7 @@ "name": "CriteriaIndex", "nodeType": "VariableDeclaration", "scope": 45, - "src": "549:29:0", + "src": "543:29:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6125,7 +6203,7 @@ "id": 40, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "549:7:0", + "src": "543:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6141,7 +6219,7 @@ "name": "index", "nodeType": "VariableDeclaration", "scope": 45, - "src": "580:10:0", + "src": "574:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6152,7 +6230,7 @@ "id": 42, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "580:4:0", + "src": "574:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6162,9 +6240,9 @@ "visibility": "internal" } ], - "src": "548:43:0" + "src": "542:43:0" }, - "src": "525:67:0" + "src": "519:67:0" }, { "anonymous": false, @@ -6183,7 +6261,7 @@ "name": "CriteriaIndex", "nodeType": "VariableDeclaration", "scope": 51, - "src": "626:29:0", + "src": "620:29:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6194,7 +6272,7 @@ "id": 46, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "626:7:0", + "src": "620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6210,7 +6288,7 @@ "name": "criteriaStatus", "nodeType": "VariableDeclaration", "scope": 51, - "src": "657:19:0", + "src": "651:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6221,7 +6299,7 @@ "id": 48, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "657:4:0", + "src": "651:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6231,15 +6309,15 @@ "visibility": "internal" } ], - "src": "625:52:0" + "src": "619:52:0" }, - "src": "596:82:0" + "src": "590:82:0" }, { "body": { "id": 75, "nodeType": "Block", - "src": "784:133:0", + "src": "763:134:0", "statements": [ { "condition": { @@ -6262,7 +6340,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "794:13:0", + "src": "774:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -6276,7 +6354,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "794:20:0", + "src": "774:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6294,7 +6372,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "818:1:0", + "src": "798:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -6302,7 +6380,7 @@ }, "value": "0" }, - "src": "794:25:0", + "src": "774:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6311,7 +6389,7 @@ "falseBody": null, "id": 64, "nodeType": "IfStatement", - "src": "791:42:0", + "src": "770:43:0", "trueBody": { "expression": { "argumentTypes": null, @@ -6323,7 +6401,7 @@ "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "828:5:0", + "src": "808:5:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -6334,7 +6412,7 @@ "functionReturnParameters": 57, "id": 63, "nodeType": "Return", - "src": "821:12:0" + "src": "801:12:0" } }, { @@ -6361,7 +6439,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "848:13:0", + "src": "828:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -6379,7 +6457,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "862:15:0", + "src": "842:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -6393,7 +6471,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 53, - "src": "878:10:0", + "src": "858:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6404,7 +6482,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "862:27:0", + "src": "842:27:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -6418,7 +6496,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "862:33:0", + "src": "842:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6429,7 +6507,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "848:48:0", + "src": "828:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6444,13 +6522,13 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 53, - "src": "900:10:0", + "src": "880:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "848:62:0", + "src": "828:62:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6464,7 +6542,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "847:64:0", + "src": "827:64:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6473,7 +6551,7 @@ "functionReturnParameters": 57, "id": 74, "nodeType": "Return", - "src": "840:71:0" + "src": "820:71:0" } ] }, @@ -6495,7 +6573,7 @@ "name": "indexExist", "nodeType": "VariableDeclaration", "scope": 76, - "src": "708:15:0", + "src": "698:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6506,7 +6584,7 @@ "id": 52, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "708:4:0", + "src": "698:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6516,7 +6594,7 @@ "visibility": "internal" } ], - "src": "707:17:0" + "src": "697:17:0" }, "payable": false, "returnParameters": { @@ -6529,7 +6607,7 @@ "name": "isIndeed", "nodeType": "VariableDeclaration", "scope": 76, - "src": "765:13:0", + "src": "748:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6540,7 +6618,7 @@ "id": 55, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "765:4:0", + "src": "748:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6550,10 +6628,10 @@ "visibility": "internal" } ], - "src": "764:15:0" + "src": "747:15:0" }, - "scope": 409, - "src": "688:229:0", + "scope": 416, + "src": "678:219:0", "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -6562,7 +6640,7 @@ "body": { "id": 149, "nodeType": "Block", - "src": "1084:574:0", + "src": "1053:543:0", "statements": [ { "assignments": [ @@ -6575,7 +6653,7 @@ "name": "currentIndex", "nodeType": "VariableDeclaration", "scope": 150, - "src": "1091:20:0", + "src": "1060:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6586,7 +6664,7 @@ "id": 89, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1091:7:0", + "src": "1060:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6606,8 +6684,8 @@ "name": "getCriteriaCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 396, - "src": "1114:16:0", + "referencedDeclaration": 403, + "src": "1083:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" @@ -6621,14 +6699,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1114:18:0", + "src": "1083:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1091:41:0" + "src": "1060:41:0" }, { "expression": { @@ -6649,7 +6727,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1139:15:0", + "src": "1108:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -6663,7 +6741,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1155:12:0", + "src": "1124:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6674,7 +6752,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1139:29:0", + "src": "1108:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -6688,10 +6766,10 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "1139:42:0", + "src": "1108:42:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, "nodeType": "Assignment", @@ -6703,21 +6781,21 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 78, - "src": "1185:15:0", + "src": "1153:15:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" } }, - "src": "1139:61:0", + "src": "1108:60:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, "id": 100, "nodeType": "ExpressionStatement", - "src": "1139:61:0" + "src": "1108:60:0" }, { "expression": { @@ -6738,7 +6816,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1207:15:0", + "src": "1175:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -6752,7 +6830,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1223:12:0", + "src": "1191:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6763,7 +6841,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1207:29:0", + "src": "1175:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -6777,7 +6855,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "1207:38:0", + "src": "1175:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6792,13 +6870,13 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 80, - "src": "1253:8:0", + "src": "1216:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1207:54:0", + "src": "1175:49:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6806,7 +6884,7 @@ }, "id": 107, "nodeType": "ExpressionStatement", - "src": "1207:54:0" + "src": "1175:49:0" }, { "expression": { @@ -6827,7 +6905,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1268:15:0", + "src": "1231:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -6841,7 +6919,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1284:12:0", + "src": "1247:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6852,7 +6930,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1268:29:0", + "src": "1231:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -6866,7 +6944,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "1268:38:0", + "src": "1231:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6881,13 +6959,13 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 82, - "src": "1314:8:0", + "src": "1272:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1268:54:0", + "src": "1231:49:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6895,7 +6973,7 @@ }, "id": 114, "nodeType": "ExpressionStatement", - "src": "1268:54:0" + "src": "1231:49:0" }, { "expression": { @@ -6916,7 +6994,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1329:15:0", + "src": "1287:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -6930,7 +7008,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1345:12:0", + "src": "1303:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6941,7 +7019,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1329:29:0", + "src": "1287:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -6955,7 +7033,7 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "1329:38:0", + "src": "1287:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6970,13 +7048,13 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 84, - "src": "1375:8:0", + "src": "1328:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1329:54:0", + "src": "1287:49:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6984,7 +7062,7 @@ }, "id": 121, "nodeType": "ExpressionStatement", - "src": "1329:54:0" + "src": "1287:49:0" }, { "expression": { @@ -7005,7 +7083,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1390:15:0", + "src": "1343:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -7019,7 +7097,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1406:12:0", + "src": "1359:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7030,7 +7108,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1390:29:0", + "src": "1343:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -7044,7 +7122,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1390:35:0", + "src": "1343:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7073,7 +7151,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1455:12:0", + "src": "1400:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7094,7 +7172,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1436:13:0", + "src": "1381:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -7108,7 +7186,7 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1436:18:0", + "src": "1381:18:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256) returns (uint256)" @@ -7122,7 +7200,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1436:32:0", + "src": "1381:32:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7140,7 +7218,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1469:1:0", + "src": "1416:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -7148,13 +7226,13 @@ }, "value": "1" }, - "src": "1436:34:0", + "src": "1381:36:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1390:80:0", + "src": "1343:74:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7162,7 +7240,7 @@ }, "id": 133, "nodeType": "ExpressionStatement", - "src": "1390:80:0" + "src": "1343:74:0" }, { "eventCall": { @@ -7175,7 +7253,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1509:12:0", + "src": "1454:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7192,7 +7270,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1533:15:0", + "src": "1475:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -7206,7 +7284,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1549:12:0", + "src": "1491:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7217,7 +7295,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1533:29:0", + "src": "1475:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -7231,7 +7309,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1533:35:0", + "src": "1475:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7244,10 +7322,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 78, - "src": "1580:15:0", + "src": "1519:15:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" } }, { @@ -7257,7 +7335,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 82, - "src": "1607:8:0", + "src": "1543:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7275,8 +7353,8 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" }, { "typeIdentifier": "t_uint256", @@ -7288,10 +7366,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 29, - "src": "1484:14:0", + "src": "1431:14:0", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,bytes32,uint256)" + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,string memory,uint256)" } }, "id": 142, @@ -7302,7 +7380,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1484:132:0", + "src": "1431:121:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" @@ -7310,7 +7388,7 @@ }, "id": 143, "nodeType": "EmitStatement", - "src": "1479:137:0" + "src": "1426:126:0" }, { "expression": { @@ -7333,7 +7411,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1630:13:0", + "src": "1566:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -7347,7 +7425,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1630:20:0", + "src": "1566:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7365,7 +7443,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1651:1:0", + "src": "1589:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -7373,7 +7451,7 @@ }, "value": "1" }, - "src": "1630:22:0", + "src": "1566:24:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7382,7 +7460,7 @@ "functionReturnParameters": 88, "id": 148, "nodeType": "Return", - "src": "1623:29:0" + "src": "1559:31:0" } ] }, @@ -7404,21 +7482,21 @@ "name": "newCriteriaText", "nodeType": "VariableDeclaration", "scope": 150, - "src": "953:23:0", + "src": "933:22:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" }, "typeName": { "id": 77, - "name": "bytes32", + "name": "string", "nodeType": "ElementaryTypeName", - "src": "953:7:0", + "src": "933:6:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, @@ -7430,7 +7508,7 @@ "name": "minScore", "nodeType": "VariableDeclaration", "scope": 150, - "src": "984:13:0", + "src": "962:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7441,7 +7519,7 @@ "id": 79, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "984:4:0", + "src": "962:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7456,7 +7534,7 @@ "name": "maxScore", "nodeType": "VariableDeclaration", "scope": 150, - "src": "1005:13:0", + "src": "982:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7467,7 +7545,7 @@ "id": 81, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1005:4:0", + "src": "982:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7482,7 +7560,7 @@ "name": "isActive", "nodeType": "VariableDeclaration", "scope": 150, - "src": "1025:13:0", + "src": "1002:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7493,7 +7571,7 @@ "id": 83, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1025:4:0", + "src": "1002:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7503,7 +7581,7 @@ "visibility": "internal" } ], - "src": "946:93:0" + "src": "926:90:0" }, "payable": false, "returnParameters": { @@ -7516,7 +7594,7 @@ "name": "index", "nodeType": "VariableDeclaration", "scope": 150, - "src": "1066:13:0", + "src": "1038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7527,7 +7605,7 @@ "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1066:7:0", + "src": "1038:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7537,24 +7615,93 @@ "visibility": "internal" } ], - "src": "1065:15:0" + "src": "1037:15:0" }, - "scope": 409, - "src": "923:735:0", + "scope": 416, + "src": "903:693:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 219, + "id": 156, "nodeType": "Block", - "src": "1761:604:0", + "src": "1641:33:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 154, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "1648:20:0", + "subExpression": { + "argumentTypes": null, + "id": 153, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1655:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 155, + "nodeType": "ExpressionStatement", + "src": "1648:20:0" + } + ] + }, + "documentation": null, + "id": 157, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "deleteAllCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 151, + "nodeType": "ParameterList", + "parameters": [], + "src": "1628:2:0" + }, + "payable": false, + "returnParameters": { + "id": 152, + "nodeType": "ParameterList", + "parameters": [], + "src": "1641:0:0" + }, + "scope": 416, + "src": "1602:72:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 226, + "nodeType": "Block", + "src": "1769:592:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 160, + "id": 167, "isConstant": false, "isLValue": false, "isPure": false, @@ -7562,18 +7709,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "1771:32:0", + "src": "1780:32:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 158, + "id": 165, "name": "deleteCriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "1783:19:0", + "referencedDeclaration": 159, + "src": "1792:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7587,18 +7734,18 @@ "typeString": "uint256" } ], - "id": 157, + "id": 164, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "1772:10:0", + "src": "1781:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 159, + "id": 166, "isConstant": false, "isLValue": false, "isPure": false, @@ -7606,7 +7753,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1772:31:0", + "src": "1781:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7618,30 +7765,30 @@ } }, "falseBody": null, - "id": 164, + "id": 171, "nodeType": "IfStatement", - "src": "1768:45:0", + "src": "1776:46:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 161, + "id": 168, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 429, - 430 + 436, + 437 ], - "referencedDeclaration": 429, - "src": "1805:6:0", + "referencedDeclaration": 436, + "src": "1814:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 162, + "id": 169, "isConstant": false, "isLValue": false, "isPure": false, @@ -7649,29 +7796,29 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1805:8:0", + "src": "1814:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 163, + "id": 170, "nodeType": "ExpressionStatement", - "src": "1805:8:0" + "src": "1814:8:0" } }, { "assignments": [ - 166 + 173 ], "declarations": [ { "constant": false, - "id": 166, + "id": 173, "name": "rowToDelete", "nodeType": "VariableDeclaration", - "scope": 220, - "src": "1822:19:0", + "scope": 227, + "src": "1831:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7679,10 +7826,10 @@ "typeString": "uint256" }, "typeName": { - "id": 165, + "id": 172, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1822:7:0", + "src": "1831:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7692,33 +7839,33 @@ "visibility": "internal" } ], - "id": 171, + "id": 178, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 167, + "id": 174, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1844:15:0", + "src": "1853:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 169, + "id": 176, "indexExpression": { "argumentTypes": null, - "id": 168, + "id": 175, "name": "deleteCriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "1860:19:0", + "referencedDeclaration": 159, + "src": "1869:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7729,13 +7876,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1844:36:0", + "src": "1853:36:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 170, + "id": 177, "isConstant": false, "isLValue": true, "isPure": false, @@ -7743,27 +7890,27 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1844:42:0", + "src": "1853:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1822:64:0" + "src": "1831:64:0" }, { "assignments": [ - 173 + 180 ], "declarations": [ { "constant": false, - "id": 173, + "id": 180, "name": "keyToMove", "nodeType": "VariableDeclaration", - "scope": 220, - "src": "1893:17:0", + "scope": 227, + "src": "1902:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7771,10 +7918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 172, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1893:7:0", + "src": "1902:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7784,30 +7931,30 @@ "visibility": "internal" } ], - "id": 180, + "id": 187, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 174, + "id": 181, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1915:13:0", + "src": "1924:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 179, + "id": 186, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 178, + "id": 185, "isConstant": false, "isLValue": false, "isPure": false, @@ -7816,18 +7963,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 175, + "id": 182, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1929:13:0", + "src": "1938:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 176, + "id": 183, "isConstant": false, "isLValue": true, "isPure": false, @@ -7835,7 +7982,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1929:20:0", + "src": "1938:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7846,14 +7993,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 177, + "id": 184, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1950:1:0", + "src": "1961:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -7861,7 +8008,7 @@ }, "value": "1" }, - "src": "1929:22:0", + "src": "1938:24:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7872,19 +8019,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1915:37:0", + "src": "1924:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1893:59:0" + "src": "1902:61:0" }, { "expression": { "argumentTypes": null, - "id": 185, + "id": 192, "isConstant": false, "isLValue": false, "isPure": false, @@ -7893,26 +8040,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 181, + "id": 188, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1959:13:0", + "src": "1970:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 183, + "id": 190, "indexExpression": { "argumentTypes": null, - "id": 182, + "id": 189, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 166, - "src": "1973:11:0", + "referencedDeclaration": 173, + "src": "1984:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7923,7 +8070,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1959:26:0", + "src": "1970:26:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7933,31 +8080,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 184, + "id": 191, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "1988:9:0", + "referencedDeclaration": 180, + "src": "1999:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1959:38:0", + "src": "1970:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 186, + "id": 193, "nodeType": "ExpressionStatement", - "src": "1959:38:0" + "src": "1970:38:0" }, { "expression": { "argumentTypes": null, - "id": 192, + "id": 199, "isConstant": false, "isLValue": false, "isPure": false, @@ -7968,26 +8115,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 187, + "id": 194, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2004:15:0", + "src": "2015:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 189, + "id": 196, "indexExpression": { "argumentTypes": null, - "id": 188, + "id": 195, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "2020:9:0", + "referencedDeclaration": 180, + "src": "2031:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7998,13 +8145,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2004:26:0", + "src": "2015:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 190, + "id": 197, "isConstant": false, "isLValue": true, "isPure": false, @@ -8012,7 +8159,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "2004:32:0", + "src": "2015:32:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8022,31 +8169,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 191, + "id": 198, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 166, - "src": "2039:11:0", + "referencedDeclaration": 173, + "src": "2050:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2004:46:0", + "src": "2015:46:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 193, + "id": 200, "nodeType": "ExpressionStatement", - "src": "2004:46:0" + "src": "2015:46:0" }, { "expression": { "argumentTypes": null, - "id": 197, + "id": 204, "isConstant": false, "isLValue": false, "isPure": false, @@ -8054,23 +8201,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "2058:22:0", + "src": "2068:22:0", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 194, + "id": 201, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "2058:13:0", + "src": "2068:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 196, + "id": 203, "isConstant": false, "isLValue": true, "isPure": false, @@ -8078,7 +8225,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2058:20:0", + "src": "2068:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8089,9 +8236,9 @@ "typeString": "uint256" } }, - "id": 198, + "id": 205, "nodeType": "ExpressionStatement", - "src": "2058:22:0" + "src": "2068:22:0" }, { "eventCall": { @@ -8099,12 +8246,12 @@ "arguments": [ { "argumentTypes": null, - "id": 200, + "id": 207, "name": "deleteCriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 152, - "src": "2120:19:0", + "referencedDeclaration": 159, + "src": "2130:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8112,12 +8259,12 @@ }, { "argumentTypes": null, - "id": 201, + "id": 208, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 166, - "src": "2151:11:0", + "referencedDeclaration": 173, + "src": "2158:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8135,18 +8282,18 @@ "typeString": "uint256" } ], - "id": 199, + "id": 206, "name": "LogDeleteCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 45, - "src": "2092:17:0", + "src": "2104:17:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256)" } }, - "id": 202, + "id": 209, "isConstant": false, "isLValue": false, "isPure": false, @@ -8154,15 +8301,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2092:71:0", + "src": "2104:66:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 203, + "id": 210, "nodeType": "EmitStatement", - "src": "2087:76:0" + "src": "2099:71:0" }, { "eventCall": { @@ -8170,12 +8317,12 @@ "arguments": [ { "argumentTypes": null, - "id": 205, + "id": 212, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "2203:9:0", + "referencedDeclaration": 180, + "src": "2208:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8183,12 +8330,12 @@ }, { "argumentTypes": null, - "id": 206, + "id": 213, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 166, - "src": "2224:11:0", + "referencedDeclaration": 173, + "src": "2226:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8200,26 +8347,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 207, + "id": 214, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2247:15:0", + "src": "2246:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 209, + "id": 216, "indexExpression": { "argumentTypes": null, - "id": 208, + "id": 215, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "2263:9:0", + "referencedDeclaration": 180, + "src": "2262:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8230,13 +8377,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2247:26:0", + "src": "2246:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 210, + "id": 217, "isConstant": false, "isLValue": true, "isPure": false, @@ -8244,10 +8391,10 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2247:39:0", + "src": "2246:39:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, { @@ -8256,26 +8403,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 211, + "id": 218, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2298:15:0", + "src": "2294:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 213, + "id": 220, "indexExpression": { "argumentTypes": null, - "id": 212, + "id": 219, "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "2314:9:0", + "referencedDeclaration": 180, + "src": "2310:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8286,13 +8433,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2298:26:0", + "src": "2294:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 214, + "id": 221, "isConstant": false, "isLValue": true, "isPure": false, @@ -8300,7 +8447,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "2298:35:0", + "src": "2294:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8318,26 +8465,26 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], - "id": 204, + "id": 211, "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "2175:17:0", + "src": "2182:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,bytes32,uint256)" + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,string memory,uint256)" } }, - "id": 215, + "id": 222, "isConstant": false, "isLValue": false, "isPure": false, @@ -8345,39 +8492,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2175:159:0", + "src": "2182:148:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 216, + "id": 223, "nodeType": "EmitStatement", - "src": "2170:164:0" + "src": "2177:153:0" }, { "expression": { "argumentTypes": null, - "id": 217, + "id": 224, "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 166, - "src": "2348:11:0", + "referencedDeclaration": 173, + "src": "2344:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 156, - "id": 218, + "functionReturnParameters": 163, + "id": 225, "nodeType": "Return", - "src": "2341:18:0" + "src": "2337:18:0" } ] }, "documentation": null, - "id": 220, + "id": 227, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -8385,16 +8532,16 @@ "name": "deleteCriteria", "nodeType": "FunctionDefinition", "parameters": { - "id": 153, + "id": 160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 152, + "id": 159, "name": "deleteCriteriaIndex", "nodeType": "VariableDeclaration", - "scope": 220, - "src": "1688:27:0", + "scope": 227, + "src": "1704:27:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8402,10 +8549,10 @@ "typeString": "uint256" }, "typeName": { - "id": 151, + "id": 158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1688:7:0", + "src": "1704:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8415,20 +8562,20 @@ "visibility": "internal" } ], - "src": "1687:29:0" + "src": "1703:29:0" }, "payable": false, "returnParameters": { - "id": 156, + "id": 163, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 155, + "id": 162, "name": "index", "nodeType": "VariableDeclaration", - "scope": 220, - "src": "1743:13:0", + "scope": 227, + "src": "1754:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8436,10 +8583,10 @@ "typeString": "uint256" }, "typeName": { - "id": 154, + "id": 161, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1743:7:0", + "src": "1754:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8449,24 +8596,24 @@ "visibility": "internal" } ], - "src": "1742:15:0" + "src": "1753:15:0" }, - "scope": 409, - "src": "1664:701:0", + "scope": 416, + "src": "1680:681:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 259, + "id": 266, "nodeType": "Block", - "src": "2527:266:0", + "src": "2510:266:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 236, + "id": 243, "isConstant": false, "isLValue": false, "isPure": false, @@ -8474,18 +8621,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2537:26:0", + "src": "2521:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 234, + "id": 241, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 222, - "src": "2549:13:0", + "referencedDeclaration": 229, + "src": "2533:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8499,18 +8646,18 @@ "typeString": "uint256" } ], - "id": 233, + "id": 240, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "2538:10:0", + "src": "2522:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 235, + "id": 242, "isConstant": false, "isLValue": false, "isPure": false, @@ -8518,7 +8665,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2538:25:0", + "src": "2522:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8530,30 +8677,30 @@ } }, "falseBody": null, - "id": 240, + "id": 247, "nodeType": "IfStatement", - "src": "2534:39:0", + "src": "2517:40:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 237, + "id": 244, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 429, - 430 + 436, + 437 ], - "referencedDeclaration": 429, - "src": "2565:6:0", + "referencedDeclaration": 436, + "src": "2549:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 238, + "id": 245, "isConstant": false, "isLValue": false, "isPure": false, @@ -8561,15 +8708,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2565:8:0", + "src": "2549:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 239, + "id": 246, "nodeType": "ExpressionStatement", - "src": "2565:8:0" + "src": "2549:8:0" } }, { @@ -8582,26 +8729,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 241, + "id": 248, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2597:15:0", + "src": "2582:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 243, + "id": 250, "indexExpression": { "argumentTypes": null, - "id": 242, + "id": 249, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 222, - "src": "2613:13:0", + "referencedDeclaration": 229, + "src": "2598:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8612,13 +8759,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2597:30:0", + "src": "2582:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 244, + "id": 251, "isConstant": false, "isLValue": true, "isPure": false, @@ -8626,10 +8773,10 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2597:43:0", + "src": "2582:43:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, { @@ -8638,26 +8785,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 245, + "id": 252, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2650:15:0", + "src": "2634:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 247, + "id": 254, "indexExpression": { "argumentTypes": null, - "id": 246, + "id": 253, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 222, - "src": "2666:13:0", + "referencedDeclaration": 229, + "src": "2650:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8668,13 +8815,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2650:30:0", + "src": "2634:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 248, + "id": 255, "isConstant": false, "isLValue": true, "isPure": false, @@ -8682,7 +8829,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "2650:39:0", + "src": "2634:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8694,26 +8841,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 249, + "id": 256, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2699:15:0", + "src": "2682:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 251, + "id": 258, "indexExpression": { "argumentTypes": null, - "id": 250, + "id": 257, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 222, - "src": "2715:13:0", + "referencedDeclaration": 229, + "src": "2698:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8724,13 +8871,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2699:30:0", + "src": "2682:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 252, + "id": 259, "isConstant": false, "isLValue": true, "isPure": false, @@ -8738,7 +8885,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "2699:39:0", + "src": "2682:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8750,26 +8897,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 253, + "id": 260, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2747:15:0", + "src": "2730:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 255, + "id": 262, "indexExpression": { "argumentTypes": null, - "id": 254, + "id": 261, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 222, - "src": "2763:13:0", + "referencedDeclaration": 229, + "src": "2746:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8780,13 +8927,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2747:30:0", + "src": "2730:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 256, + "id": 263, "isConstant": false, "isLValue": true, "isPure": false, @@ -8794,35 +8941,35 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "2747:39:0", + "src": "2730:39:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 257, + "id": 264, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2588:199:0", + "src": "2573:197:0", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_bytes32_$_t_uint256_$_t_uint256_$_t_bool_$", - "typeString": "tuple(bytes32,uint256,uint256,bool)" + "typeIdentifier": "t_tuple$_t_string_storage_$_t_uint256_$_t_uint256_$_t_bool_$", + "typeString": "tuple(string storage ref,uint256,uint256,bool)" } }, - "functionReturnParameters": 232, - "id": 258, + "functionReturnParameters": 239, + "id": 265, "nodeType": "Return", - "src": "2582:205:0" + "src": "2566:204:0" } ] }, "documentation": null, - "id": 260, + "id": 267, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -8830,16 +8977,16 @@ "name": "getCriteria", "nodeType": "FunctionDefinition", "parameters": { - "id": 223, + "id": 230, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 222, + "id": 229, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 260, - "src": "2394:21:0", + "scope": 267, + "src": "2388:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8847,10 +8994,10 @@ "typeString": "uint256" }, "typeName": { - "id": 221, + "id": 228, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2394:7:0", + "src": "2388:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8860,34 +9007,34 @@ "visibility": "internal" } ], - "src": "2393:23:0" + "src": "2387:23:0" }, "payable": false, "returnParameters": { - "id": 232, + "id": 239, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 225, + "id": 232, "name": "criteriaText", "nodeType": "VariableDeclaration", - "scope": 260, - "src": "2457:20:0", + "scope": 267, + "src": "2444:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" }, "typeName": { - "id": 224, - "name": "bytes32", + "id": 231, + "name": "string", "nodeType": "ElementaryTypeName", - "src": "2457:7:0", + "src": "2444:6:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, @@ -8895,11 +9042,11 @@ }, { "constant": false, - "id": 227, + "id": 234, "name": "maxScore", "nodeType": "VariableDeclaration", - "scope": 260, - "src": "2479:13:0", + "scope": 267, + "src": "2465:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8907,10 +9054,10 @@ "typeString": "uint256" }, "typeName": { - "id": 226, + "id": 233, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2479:4:0", + "src": "2465:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8921,11 +9068,11 @@ }, { "constant": false, - "id": 229, + "id": 236, "name": "minScore", "nodeType": "VariableDeclaration", - "scope": 260, - "src": "2494:13:0", + "scope": 267, + "src": "2480:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8933,10 +9080,10 @@ "typeString": "uint256" }, "typeName": { - "id": 228, + "id": 235, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2494:4:0", + "src": "2480:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8947,11 +9094,11 @@ }, { "constant": false, - "id": 231, + "id": 238, "name": "isActive", "nodeType": "VariableDeclaration", - "scope": 260, - "src": "2509:13:0", + "scope": 267, + "src": "2495:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8959,10 +9106,10 @@ "typeString": "bool" }, "typeName": { - "id": 230, + "id": 237, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2509:4:0", + "src": "2495:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8972,24 +9119,24 @@ "visibility": "internal" } ], - "src": "2456:67:0" + "src": "2443:66:0" }, - "scope": 409, - "src": "2373:420:0", + "scope": 416, + "src": "2367:409:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 299, + "id": 306, "nodeType": "Block", - "src": "2919:305:0", + "src": "2889:304:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 272, + "id": 279, "isConstant": false, "isLValue": false, "isPure": false, @@ -8997,18 +9144,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2929:26:0", + "src": "2900:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 270, + "id": 277, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 262, - "src": "2941:13:0", + "referencedDeclaration": 269, + "src": "2912:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9022,18 +9169,18 @@ "typeString": "uint256" } ], - "id": 269, + "id": 276, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "2930:10:0", + "src": "2901:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 271, + "id": 278, "isConstant": false, "isLValue": false, "isPure": false, @@ -9041,7 +9188,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2930:25:0", + "src": "2901:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9053,30 +9200,30 @@ } }, "falseBody": null, - "id": 276, + "id": 283, "nodeType": "IfStatement", - "src": "2926:39:0", + "src": "2896:40:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 273, + "id": 280, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 429, - 430 + 436, + 437 ], - "referencedDeclaration": 429, - "src": "2957:6:0", + "referencedDeclaration": 436, + "src": "2928:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 274, + "id": 281, "isConstant": false, "isLValue": false, "isPure": false, @@ -9084,21 +9231,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2957:8:0", + "src": "2928:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 275, + "id": 282, "nodeType": "ExpressionStatement", - "src": "2957:8:0" + "src": "2928:8:0" } }, { "expression": { "argumentTypes": null, - "id": 282, + "id": 289, "isConstant": false, "isLValue": false, "isPure": false, @@ -9109,26 +9256,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 277, + "id": 284, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2974:15:0", + "src": "2945:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 279, + "id": 286, "indexExpression": { "argumentTypes": null, - "id": 278, + "id": 285, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 262, - "src": "2990:13:0", + "referencedDeclaration": 269, + "src": "2961:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9139,13 +9286,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2974:30:0", + "src": "2945:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 280, + "id": 287, "isConstant": false, "isLValue": true, "isPure": false, @@ -9153,36 +9300,36 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2974:43:0", + "src": "2945:43:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 281, + "id": 288, "name": "criteriaText", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 264, - "src": "3020:12:0", + "referencedDeclaration": 271, + "src": "2991:12:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" } }, - "src": "2974:58:0", + "src": "2945:58:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, - "id": 283, + "id": 290, "nodeType": "ExpressionStatement", - "src": "2974:58:0" + "src": "2945:58:0" }, { "eventCall": { @@ -9190,12 +9337,12 @@ "arguments": [ { "argumentTypes": null, - "id": 285, + "id": 292, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 262, - "src": "3070:13:0", + "referencedDeclaration": 269, + "src": "3041:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9207,26 +9354,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 286, + "id": 293, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3093:15:0", + "src": "3063:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 288, + "id": 295, "indexExpression": { "argumentTypes": null, - "id": 287, + "id": 294, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 262, - "src": "3109:13:0", + "referencedDeclaration": 269, + "src": "3079:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9237,13 +9384,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3093:30:0", + "src": "3063:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 289, + "id": 296, "isConstant": false, "isLValue": true, "isPure": false, @@ -9251,7 +9398,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "3093:36:0", + "src": "3063:36:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9259,15 +9406,15 @@ }, { "argumentTypes": null, - "id": 290, + "id": 297, "name": "criteriaText", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 264, - "src": "3138:12:0", + "referencedDeclaration": 271, + "src": "3108:12:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" } }, { @@ -9276,26 +9423,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 291, + "id": 298, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3160:15:0", + "src": "3129:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 293, + "id": 300, "indexExpression": { "argumentTypes": null, - "id": 292, + "id": 299, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 262, - "src": "3176:13:0", + "referencedDeclaration": 269, + "src": "3145:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9306,13 +9453,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3160:30:0", + "src": "3129:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 294, + "id": 301, "isConstant": false, "isLValue": true, "isPure": false, @@ -9320,7 +9467,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "3160:39:0", + "src": "3129:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9338,26 +9485,26 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], - "id": 284, + "id": 291, "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "3044:17:0", + "src": "3015:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,bytes32,uint256)" + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,string memory,uint256)" } }, - "id": 295, + "id": 302, "isConstant": false, "isLValue": false, "isPure": false, @@ -9365,28 +9512,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3044:156:0", + "src": "3015:154:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 296, + "id": 303, "nodeType": "EmitStatement", - "src": "3039:161:0" + "src": "3010:159:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 297, + "id": 304, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3214:4:0", + "src": "3183:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9394,15 +9541,15 @@ }, "value": "true" }, - "functionReturnParameters": 268, - "id": 298, + "functionReturnParameters": 275, + "id": 305, "nodeType": "Return", - "src": "3207:11:0" + "src": "3176:11:0" } ] }, "documentation": null, - "id": 300, + "id": 307, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -9410,16 +9557,16 @@ "name": "updateCriteriaText", "nodeType": "FunctionDefinition", "parameters": { - "id": 265, + "id": 272, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 262, + "id": 269, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 300, - "src": "2830:21:0", + "scope": 307, + "src": "2810:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9427,10 +9574,10 @@ "typeString": "uint256" }, "typeName": { - "id": 261, + "id": 268, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2830:7:0", + "src": "2810:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9441,45 +9588,45 @@ }, { "constant": false, - "id": 264, + "id": 271, "name": "criteriaText", "nodeType": "VariableDeclaration", - "scope": 300, - "src": "2853:20:0", + "scope": 307, + "src": "2833:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" }, "typeName": { - "id": 263, - "name": "bytes32", + "id": 270, + "name": "string", "nodeType": "ElementaryTypeName", - "src": "2853:7:0", + "src": "2833:6:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, "visibility": "internal" } ], - "src": "2829:45:0" + "src": "2809:44:0" }, "payable": false, "returnParameters": { - "id": 268, + "id": 275, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 267, + "id": 274, "name": "success", "nodeType": "VariableDeclaration", - "scope": 300, - "src": "2901:12:0", + "scope": 307, + "src": "2875:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9487,10 +9634,10 @@ "typeString": "bool" }, "typeName": { - "id": 266, + "id": 273, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2901:4:0", + "src": "2875:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9500,24 +9647,24 @@ "visibility": "internal" } ], - "src": "2900:14:0" + "src": "2874:14:0" }, - "scope": 409, - "src": "2802:422:0", + "scope": 416, + "src": "2782:411:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 351, + "id": 358, "nodeType": "Block", - "src": "3348:328:0", + "src": "3306:328:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 314, + "id": 321, "isConstant": false, "isLValue": false, "isPure": false, @@ -9525,18 +9672,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3358:18:0", + "src": "3317:18:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 312, + "id": 319, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3370:5:0", + "referencedDeclaration": 309, + "src": "3329:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9550,18 +9697,18 @@ "typeString": "uint256" } ], - "id": 311, + "id": 318, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "3359:10:0", + "src": "3318:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 313, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, @@ -9569,7 +9716,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3359:17:0", + "src": "3318:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9581,30 +9728,30 @@ } }, "falseBody": null, - "id": 318, + "id": 325, "nodeType": "IfStatement", - "src": "3355:31:0", + "src": "3313:32:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 315, + "id": 322, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 429, - 430 + 436, + 437 ], - "referencedDeclaration": 429, - "src": "3378:6:0", + "referencedDeclaration": 436, + "src": "3337:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 316, + "id": 323, "isConstant": false, "isLValue": false, "isPure": false, @@ -9612,21 +9759,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3378:8:0", + "src": "3337:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 317, + "id": 324, "nodeType": "ExpressionStatement", - "src": "3378:8:0" + "src": "3337:8:0" } }, { "expression": { "argumentTypes": null, - "id": 324, + "id": 331, "isConstant": false, "isLValue": false, "isPure": false, @@ -9637,26 +9784,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 319, + "id": 326, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3395:15:0", + "src": "3354:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 321, + "id": 328, "indexExpression": { "argumentTypes": null, - "id": 320, + "id": 327, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3411:5:0", + "referencedDeclaration": 309, + "src": "3370:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9667,13 +9814,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3395:22:0", + "src": "3354:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 322, + "id": 329, "isConstant": false, "isLValue": true, "isPure": false, @@ -9681,7 +9828,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "3395:31:0", + "src": "3354:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9691,31 +9838,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 323, + "id": 330, "name": "MaxScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 304, - "src": "3429:8:0", + "referencedDeclaration": 311, + "src": "3388:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3395:42:0", + "src": "3354:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 325, + "id": 332, "nodeType": "ExpressionStatement", - "src": "3395:42:0" + "src": "3354:42:0" }, { "expression": { "argumentTypes": null, - "id": 331, + "id": 338, "isConstant": false, "isLValue": false, "isPure": false, @@ -9726,26 +9873,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 326, + "id": 333, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3444:15:0", + "src": "3403:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 328, + "id": 335, "indexExpression": { "argumentTypes": null, - "id": 327, + "id": 334, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3460:5:0", + "referencedDeclaration": 309, + "src": "3419:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9756,13 +9903,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3444:22:0", + "src": "3403:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 329, + "id": 336, "isConstant": false, "isLValue": true, "isPure": false, @@ -9770,7 +9917,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "3444:31:0", + "src": "3403:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9780,26 +9927,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 330, + "id": 337, "name": "MinScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 306, - "src": "3478:8:0", + "referencedDeclaration": 313, + "src": "3437:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3444:42:0", + "src": "3403:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 332, + "id": 339, "nodeType": "ExpressionStatement", - "src": "3444:42:0" + "src": "3403:42:0" }, { "eventCall": { @@ -9807,12 +9954,12 @@ "arguments": [ { "argumentTypes": null, - "id": 334, + "id": 341, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3524:5:0", + "referencedDeclaration": 309, + "src": "3483:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9824,26 +9971,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 335, + "id": 342, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3539:15:0", + "src": "3497:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 337, + "id": 344, "indexExpression": { "argumentTypes": null, - "id": 336, + "id": 343, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3555:5:0", + "referencedDeclaration": 309, + "src": "3513:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9854,13 +10001,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3539:22:0", + "src": "3497:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 338, + "id": 345, "isConstant": false, "isLValue": true, "isPure": false, @@ -9868,7 +10015,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "3539:28:0", + "src": "3497:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9880,26 +10027,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 339, + "id": 346, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3576:15:0", + "src": "3534:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 341, + "id": 348, "indexExpression": { "argumentTypes": null, - "id": 340, + "id": 347, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3592:5:0", + "referencedDeclaration": 309, + "src": "3550:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9910,13 +10057,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3576:22:0", + "src": "3534:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 342, + "id": 349, "isConstant": false, "isLValue": true, "isPure": false, @@ -9924,10 +10071,10 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "3576:35:0", + "src": "3534:35:0", "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, { @@ -9936,26 +10083,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 343, + "id": 350, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3620:15:0", + "src": "3578:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 345, + "id": 352, "indexExpression": { "argumentTypes": null, - "id": 344, + "id": 351, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 302, - "src": "3636:5:0", + "referencedDeclaration": 309, + "src": "3594:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9966,13 +10113,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3620:22:0", + "src": "3578:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 346, + "id": 353, "isConstant": false, "isLValue": true, "isPure": false, @@ -9980,7 +10127,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "3620:31:0", + "src": "3578:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9998,26 +10145,26 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], - "id": 333, + "id": 340, "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "3498:17:0", + "src": "3457:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,bytes32,uint256)" + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,string memory,uint256)" } }, - "id": 347, + "id": 354, "isConstant": false, "isLValue": false, "isPure": false, @@ -10025,28 +10172,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3498:154:0", + "src": "3457:153:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 348, + "id": 355, "nodeType": "EmitStatement", - "src": "3493:159:0" + "src": "3452:158:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 349, + "id": 356, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3666:4:0", + "src": "3624:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10054,15 +10201,15 @@ }, "value": "true" }, - "functionReturnParameters": 310, - "id": 350, + "functionReturnParameters": 317, + "id": 357, "nodeType": "Return", - "src": "3659:11:0" + "src": "3617:11:0" } ] }, "documentation": null, - "id": 352, + "id": 359, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -10070,16 +10217,16 @@ "name": "updateMaxMinScore", "nodeType": "FunctionDefinition", "parameters": { - "id": 307, + "id": 314, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 302, + "id": 309, "name": "index", "nodeType": "VariableDeclaration", - "scope": 352, - "src": "3259:13:0", + "scope": 359, + "src": "3226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10087,10 +10234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 301, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3259:7:0", + "src": "3226:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10101,11 +10248,11 @@ }, { "constant": false, - "id": 304, + "id": 311, "name": "MaxScore", "nodeType": "VariableDeclaration", - "scope": 352, - "src": "3274:13:0", + "scope": 359, + "src": "3241:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10113,10 +10260,10 @@ "typeString": "uint256" }, "typeName": { - "id": 303, + "id": 310, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3274:4:0", + "src": "3241:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10127,11 +10274,11 @@ }, { "constant": false, - "id": 306, + "id": 313, "name": "MinScore", "nodeType": "VariableDeclaration", - "scope": 352, - "src": "3289:13:0", + "scope": 359, + "src": "3256:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10139,10 +10286,10 @@ "typeString": "uint256" }, "typeName": { - "id": 305, + "id": 312, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3289:4:0", + "src": "3256:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10152,20 +10299,20 @@ "visibility": "internal" } ], - "src": "3258:45:0" + "src": "3225:45:0" }, "payable": false, "returnParameters": { - "id": 310, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 309, + "id": 316, "name": "success", "nodeType": "VariableDeclaration", - "scope": 352, - "src": "3330:12:0", + "scope": 359, + "src": "3292:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10173,10 +10320,10 @@ "typeString": "bool" }, "typeName": { - "id": 308, + "id": 315, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3330:4:0", + "src": "3292:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10186,24 +10333,24 @@ "visibility": "internal" } ], - "src": "3329:14:0" + "src": "3291:14:0" }, - "scope": 409, - "src": "3232:444:0", + "scope": 416, + "src": "3199:435:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 386, + "id": 393, "nodeType": "Block", - "src": "3776:200:0", + "src": "3725:197:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 364, + "id": 371, "isConstant": false, "isLValue": false, "isPure": false, @@ -10211,18 +10358,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3786:18:0", + "src": "3736:18:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 362, + "id": 369, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 354, - "src": "3798:5:0", + "referencedDeclaration": 361, + "src": "3748:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10236,18 +10383,18 @@ "typeString": "uint256" } ], - "id": 361, + "id": 368, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "3787:10:0", + "src": "3737:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 363, + "id": 370, "isConstant": false, "isLValue": false, "isPure": false, @@ -10255,7 +10402,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3787:17:0", + "src": "3737:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10267,30 +10414,30 @@ } }, "falseBody": null, - "id": 368, + "id": 375, "nodeType": "IfStatement", - "src": "3783:31:0", + "src": "3732:32:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 365, + "id": 372, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 429, - 430 + 436, + 437 ], - "referencedDeclaration": 429, - "src": "3806:6:0", + "referencedDeclaration": 436, + "src": "3756:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 366, + "id": 373, "isConstant": false, "isLValue": false, "isPure": false, @@ -10298,21 +10445,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3806:8:0", + "src": "3756:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 367, + "id": 374, "nodeType": "ExpressionStatement", - "src": "3806:8:0" + "src": "3756:8:0" } }, { "expression": { "argumentTypes": null, - "id": 374, + "id": 381, "isConstant": false, "isLValue": false, "isPure": false, @@ -10323,26 +10470,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 369, + "id": 376, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3823:15:0", + "src": "3773:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 371, + "id": 378, "indexExpression": { "argumentTypes": null, - "id": 370, + "id": 377, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 354, - "src": "3839:5:0", + "referencedDeclaration": 361, + "src": "3789:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10353,13 +10500,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3823:22:0", + "src": "3773:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 372, + "id": 379, "isConstant": false, "isLValue": true, "isPure": false, @@ -10367,7 +10514,7 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "3823:31:0", + "src": "3773:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10377,26 +10524,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 373, + "id": 380, "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "3857:6:0", + "referencedDeclaration": 363, + "src": "3807:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3823:40:0", + "src": "3773:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 375, + "id": 382, "nodeType": "ExpressionStatement", - "src": "3823:40:0" + "src": "3773:40:0" }, { "eventCall": { @@ -10404,12 +10551,12 @@ "arguments": [ { "argumentTypes": null, - "id": 377, + "id": 384, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 354, - "src": "3913:5:0", + "referencedDeclaration": 361, + "src": "3859:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10421,26 +10568,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 378, + "id": 385, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3919:15:0", + "src": "3866:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 380, + "id": 387, "indexExpression": { "argumentTypes": null, - "id": 379, + "id": 386, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 354, - "src": "3935:5:0", + "referencedDeclaration": 361, + "src": "3882:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10451,13 +10598,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3919:22:0", + "src": "3866:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 381, + "id": 388, "isConstant": false, "isLValue": true, "isPure": false, @@ -10465,7 +10612,7 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "3919:31:0", + "src": "3866:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10483,18 +10630,18 @@ "typeString": "bool" } ], - "id": 376, + "id": 383, "name": "LogCriteriaStatusChange", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 51, - "src": "3881:23:0", + "src": "3827:23:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bool_$returns$__$", "typeString": "function (uint256,bool)" } }, - "id": 382, + "id": 389, "isConstant": false, "isLValue": false, "isPure": false, @@ -10502,28 +10649,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3881:71:0", + "src": "3827:71:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 383, + "id": 390, "nodeType": "EmitStatement", - "src": "3876:76:0" + "src": "3822:76:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 384, + "id": 391, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3966:4:0", + "src": "3912:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10531,15 +10678,15 @@ }, "value": "true" }, - "functionReturnParameters": 360, - "id": 385, + "functionReturnParameters": 367, + "id": 392, "nodeType": "Return", - "src": "3959:11:0" + "src": "3905:11:0" } ] }, "documentation": null, - "id": 387, + "id": 394, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -10547,16 +10694,16 @@ "name": "changeStatus", "nodeType": "FunctionDefinition", "parameters": { - "id": 357, + "id": 364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 354, + "id": 361, "name": "index", "nodeType": "VariableDeclaration", - "scope": 387, - "src": "3704:13:0", + "scope": 394, + "src": "3662:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10564,10 +10711,10 @@ "typeString": "uint256" }, "typeName": { - "id": 353, + "id": 360, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3704:7:0", + "src": "3662:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10578,11 +10725,11 @@ }, { "constant": false, - "id": 356, + "id": 363, "name": "status", "nodeType": "VariableDeclaration", - "scope": 387, - "src": "3719:11:0", + "scope": 394, + "src": "3677:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10590,10 +10737,10 @@ "typeString": "bool" }, "typeName": { - "id": 355, + "id": 362, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3719:4:0", + "src": "3677:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10603,20 +10750,20 @@ "visibility": "internal" } ], - "src": "3703:28:0" + "src": "3661:28:0" }, "payable": false, "returnParameters": { - "id": 360, + "id": 367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 359, + "id": 366, "name": "success", "nodeType": "VariableDeclaration", - "scope": 387, - "src": "3758:12:0", + "scope": 394, + "src": "3711:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10624,10 +10771,10 @@ "typeString": "bool" }, "typeName": { - "id": 358, + "id": 365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3758:4:0", + "src": "3711:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10637,37 +10784,37 @@ "visibility": "internal" } ], - "src": "3757:14:0" + "src": "3710:14:0" }, - "scope": 409, - "src": "3682:294:0", + "scope": 416, + "src": "3640:282:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 395, + "id": 402, "nodeType": "Block", - "src": "4070:40:0", + "src": "4006:40:0", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 392, + "id": 399, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "4084:13:0", + "src": "4020:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 393, + "id": 400, "isConstant": false, "isLValue": true, "isPure": false, @@ -10675,21 +10822,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4084:20:0", + "src": "4020:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 391, - "id": 394, + "functionReturnParameters": 398, + "id": 401, "nodeType": "Return", - "src": "4077:27:0" + "src": "4013:27:0" } ] }, "documentation": null, - "id": 396, + "id": 403, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -10697,23 +10844,23 @@ "name": "getCriteriaCount", "nodeType": "FunctionDefinition", "parameters": { - "id": 388, + "id": 395, "nodeType": "ParameterList", "parameters": [], - "src": "4009:2:0" + "src": "3955:2:0" }, "payable": false, "returnParameters": { - "id": 391, + "id": 398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 390, + "id": 397, "name": "count", "nodeType": "VariableDeclaration", - "scope": 396, - "src": "4052:13:0", + "scope": 403, + "src": "3991:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10721,10 +10868,10 @@ "typeString": "uint256" }, "typeName": { - "id": 389, + "id": 396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4052:7:0", + "src": "3991:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10734,45 +10881,45 @@ "visibility": "internal" } ], - "src": "4051:15:0" + "src": "3990:15:0" }, - "scope": 409, - "src": "3984:126:0", + "scope": 416, + "src": "3930:116:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 407, + "id": 414, "nodeType": "Block", - "src": "4221:40:0", + "src": "4148:40:0", "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 403, + "id": 410, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "4235:13:0", + "src": "4162:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 405, + "id": 412, "indexExpression": { "argumentTypes": null, - "id": 404, + "id": 411, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "4249:5:0", + "referencedDeclaration": 405, + "src": "4176:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10783,21 +10930,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4235:20:0", + "src": "4162:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 402, - "id": 406, + "functionReturnParameters": 409, + "id": 413, "nodeType": "Return", - "src": "4228:27:0" + "src": "4155:27:0" } ] }, "documentation": null, - "id": 408, + "id": 415, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -10805,16 +10952,16 @@ "name": "getCriteriaAtIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 399, + "id": 406, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 398, + "id": 405, "name": "index", "nodeType": "VariableDeclaration", - "scope": 408, - "src": "4144:10:0", + "scope": 415, + "src": "4080:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10822,10 +10969,10 @@ "typeString": "uint256" }, "typeName": { - "id": 397, + "id": 404, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4144:4:0", + "src": "4080:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10835,20 +10982,20 @@ "visibility": "internal" } ], - "src": "4143:12:0" + "src": "4079:12:0" }, "payable": false, "returnParameters": { - "id": 402, + "id": 409, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 401, + "id": 408, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 408, - "src": "4195:21:0", + "scope": 415, + "src": "4125:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10856,10 +11003,10 @@ "typeString": "uint256" }, "typeName": { - "id": 400, + "id": 407, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4195:7:0", + "src": "4125:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10869,20 +11016,20 @@ "visibility": "internal" } ], - "src": "4194:23:0" + "src": "4124:23:0" }, - "scope": 409, - "src": "4116:145:0", + "scope": 416, + "src": "4052:136:0", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], - "scope": 410, - "src": "28:4238:0" + "scope": 417, + "src": "30:4163:0" } ], - "src": "0:4266:0" + "src": "0:4193:0" }, "compiler": { "name": "solc", @@ -10894,8 +11041,14 @@ "links": {}, "address": "0x235efe5ac04ea17ff4c85ae67a003f366f11c2f5", "transactionHash": "0x1de7c7b90fb9c4330018223a937fc1dbbeea1e8be727690cac6be6057243c9ff" + }, + "1539360877990": { + "events": {}, + "links": {}, + "address": "0x395a74222962b2cb2620a556f1fcf2650bea0222", + "transactionHash": "0x52e78058c6805c9a94041bc06cd5fdba69c57e4d9a76592ca06f0952e8f04201" } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-08T17:12:18.985Z" + "updatedAt": "2018-10-12T17:29:21.807Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/JobApplicant.json b/ethereum/build/contracts/JobApplicant.json index c68c373..e7bfddf 100644 --- a/ethereum/build/contracts/JobApplicant.json +++ b/ethereum/build/contracts/JobApplicant.json @@ -9222,5 +9222,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-08T17:12:18.980Z" + "updatedAt": "2018-10-12T17:29:21.792Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/JobApplicationLibrary.json b/ethereum/build/contracts/JobApplicationLibrary.json index 80e18f3..eaeeb64 100644 --- a/ethereum/build/contracts/JobApplicationLibrary.json +++ b/ethereum/build/contracts/JobApplicationLibrary.json @@ -643,8 +643,14 @@ "links": {}, "address": "0xc2d20493431f8f40a554b2be92958d4d00200f55", "transactionHash": "0xefc1064d45daf4e66c01a1bcbf0a311d5653cfdd9d249955254dd11287ae100f" + }, + "1539360877990": { + "events": {}, + "links": {}, + "address": "0xf1ba4d207a40ac007ee579866af735c36608ac9d", + "transactionHash": "0x6a851e0bc940026ade59d1f9b96d1ae6dc1b09ece41ecfe68a41653b3549d590" } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-08T17:12:18.972Z" + "updatedAt": "2018-10-12T17:29:21.796Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/Listing.json b/ethereum/build/contracts/Listing.json index 10c343a..b3cadf9 100644 --- a/ethereum/build/contracts/Listing.json +++ b/ethereum/build/contracts/Listing.json @@ -5279,8 +5279,14 @@ "links": { "JobApplicationLibrary": "0xc2d20493431f8f40a554b2be92958d4d00200f55" } + }, + "1539360877990": { + "events": {}, + "links": { + "JobApplicationLibrary": "0xf1ba4d207a40ac007ee579866af735c36608ac9d" + } } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-08T17:12:18.974Z" + "updatedAt": "2018-10-12T17:29:21.811Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/ListingsRegistry.json b/ethereum/build/contracts/ListingsRegistry.json index 79886ca..10e6732 100644 --- a/ethereum/build/contracts/ListingsRegistry.json +++ b/ethereum/build/contracts/ListingsRegistry.json @@ -6691,8 +6691,16 @@ }, "address": "0x537f01e1b7af9438b95e40496d6fb7ab4d2e2427", "transactionHash": "0xd8ac307a68f5fda8df7e6710ecc1d124f83592248f4845892ad37f5519744c71" + }, + "1539360877990": { + "events": {}, + "links": { + "JobApplicationLibrary": "0xf1ba4d207a40ac007ee579866af735c36608ac9d" + }, + "address": "0x7cefc68865c7a3c8cecd81df0e6216164e984819", + "transactionHash": "0xda07fe9d40feac048e834e5e3c4803daec69859c5c06cc246f35d58e47e525d2" } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-08T17:12:18.970Z" + "updatedAt": "2018-10-12T17:29:21.799Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/Migrations.json b/ethereum/build/contracts/Migrations.json index 4214863..ba8301d 100644 --- a/ethereum/build/contracts/Migrations.json +++ b/ethereum/build/contracts/Migrations.json @@ -1376,5 +1376,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-08T17:12:18.976Z" + "updatedAt": "2018-10-12T17:29:21.803Z" } \ No newline at end of file diff --git a/ethereum/contracts/AuditCriteriaManager.sol b/ethereum/contracts/AuditCriteriaManager.sol index ab16a2c..a38b8f9 100644 --- a/ethereum/contracts/AuditCriteriaManager.sol +++ b/ethereum/contracts/AuditCriteriaManager.sol @@ -1,149 +1,184 @@ -pragma solidity ^0.4.18; +pragma solidity ^ 0.4 .18; contract AuditCriteriaManager { struct CriteriaStruct { - bytes32 criteriaText; + string criteriaText; uint minScore; uint maxScore; bool isActive; uint256 index; } - + mapping(uint256 => CriteriaStruct) private CriteriaStructs; uint256[] private CriteriaIndex; - event LogNewCriteria (uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore); - event LogUpdateCriteria(uint256 indexed CriteriaIndex, uint index, bytes32 CriteriaText, uint maxScore); + event LogNewCriteria(uint256 indexed CriteriaIndex, uint index, string CriteriaText, uint maxScore); + event LogUpdateCriteria(uint256 indexed CriteriaIndex, uint index, string CriteriaText, uint maxScore); event LogDeleteCriteria(uint256 indexed CriteriaIndex, uint index); event LogCriteriaStatusChange(uint256 indexed CriteriaIndex, bool criteriaStatus); - + function isCriteria(uint indexExist) - public - constant - returns(bool isIndeed) - { - if(CriteriaIndex.length == 0) return false; + public + constant + returns(bool isIndeed) { + if (CriteriaIndex.length == 0) return false; return (CriteriaIndex[CriteriaStructs[indexExist].index] == indexExist); } function insertCriteria( - bytes32 newCriteriaText, - uint minScore, + string newCriteriaText, + uint minScore, uint maxScore, - bool isActive) - public - returns(uint256 index) - { + bool isActive) + public + returns(uint256 index) { uint256 currentIndex = getCriteriaCount(); - CriteriaStructs[currentIndex].criteriaText = newCriteriaText; - CriteriaStructs[currentIndex].minScore = minScore; - CriteriaStructs[currentIndex].maxScore = maxScore; - CriteriaStructs[currentIndex].isActive = isActive; - CriteriaStructs[currentIndex].index = CriteriaIndex.push(currentIndex)-1; + CriteriaStructs[currentIndex].criteriaText = newCriteriaText; + CriteriaStructs[currentIndex].minScore = minScore; + CriteriaStructs[currentIndex].maxScore = maxScore; + CriteriaStructs[currentIndex].isActive = isActive; + CriteriaStructs[currentIndex].index = CriteriaIndex.push(currentIndex) - 1; emit LogNewCriteria( - currentIndex, - CriteriaStructs[currentIndex].index, - newCriteriaText, - maxScore); - return CriteriaIndex.length-1; + currentIndex, + CriteriaStructs[currentIndex].index, + newCriteriaText, + maxScore); + return CriteriaIndex.length - 1; } - function deleteCriteria(uint256 deleteCriteriaIndex) - public - returns(uint256 index) + function deleteAllCriteria() public { - if(!isCriteria(deleteCriteriaIndex)) revert(); + delete CriteriaIndex; + } + + function deleteCriteria(uint256 deleteCriteriaIndex) + public + returns(uint256 index) { + if (!isCriteria(deleteCriteriaIndex)) revert(); uint256 rowToDelete = CriteriaStructs[deleteCriteriaIndex].index; - uint256 keyToMove = CriteriaIndex[CriteriaIndex.length-1]; + uint256 keyToMove = CriteriaIndex[CriteriaIndex.length - 1]; CriteriaIndex[rowToDelete] = keyToMove; - CriteriaStructs[keyToMove].index = rowToDelete; + CriteriaStructs[keyToMove].index = rowToDelete; CriteriaIndex.length--; + emit LogDeleteCriteria( - deleteCriteriaIndex, - rowToDelete); + deleteCriteriaIndex, + rowToDelete); emit LogUpdateCriteria( - keyToMove, - rowToDelete, - CriteriaStructs[keyToMove].criteriaText, - CriteriaStructs[keyToMove].maxScore); + keyToMove, + rowToDelete, + CriteriaStructs[keyToMove].criteriaText, + CriteriaStructs[keyToMove].maxScore); return rowToDelete; } - - function getCriteria(uint256 criteriaIndex) - public - constant - returns(bytes32 criteriaText, uint maxScore, uint minScore, bool isActive) - { - if(!isCriteria(criteriaIndex)) revert(); - return( - CriteriaStructs[criteriaIndex].criteriaText, - CriteriaStructs[criteriaIndex].maxScore, + function getCriteria(uint256 criteriaIndex) + public + constant + returns(string criteriaText, uint maxScore, uint minScore, bool isActive) { + if (!isCriteria(criteriaIndex)) revert(); + + return ( + CriteriaStructs[criteriaIndex].criteriaText, + CriteriaStructs[criteriaIndex].maxScore, CriteriaStructs[criteriaIndex].minScore, CriteriaStructs[criteriaIndex].isActive); - } - - function updateCriteriaText(uint256 criteriaIndex, bytes32 criteriaText) - public - returns(bool success) - { - if(!isCriteria(criteriaIndex)) revert(); + } + + + function getCriteriaText(uint256 criteriaIndex) + public + constant + returns(string criteriaText) { + if (!isCriteria(criteriaIndex)) revert(); + + return ( + CriteriaStructs[criteriaIndex].criteriaText); + } + + function getMaxScore(uint256 criteriaIndex) + public + constant + returns(uint maxScore) { + if (!isCriteria(criteriaIndex)) revert(); + + return (CriteriaStructs[criteriaIndex].maxScore); + } + + function getMinScore(uint256 criteriaIndex) + public + constant + returns(uint minScore) { + if (!isCriteria(criteriaIndex)) revert(); + + return (CriteriaStructs[criteriaIndex].minScore); + } + + function getStatus(uint256 criteriaIndex) + public + constant + returns(bool isActive) { + if (!isCriteria(criteriaIndex)) revert(); + + return (CriteriaStructs[criteriaIndex].isActive); + } + + function updateCriteriaText(uint256 criteriaIndex, string criteriaText) + public + returns(bool success) { + if (!isCriteria(criteriaIndex)) revert(); CriteriaStructs[criteriaIndex].criteriaText = criteriaText; emit LogUpdateCriteria( - criteriaIndex, + criteriaIndex, CriteriaStructs[criteriaIndex].index, - criteriaText, + criteriaText, CriteriaStructs[criteriaIndex].maxScore); return true; } - - function updateMaxMinScore(uint256 index, uint MaxScore, uint MinScore) - public - returns(bool success) - { - if(!isCriteria(index)) revert(); + + function updateMaxMinScore(uint256 index, uint MaxScore, uint MinScore) + public + returns(bool success) { + if (!isCriteria(index)) revert(); CriteriaStructs[index].maxScore = MaxScore; CriteriaStructs[index].minScore = MinScore; emit LogUpdateCriteria( - index, + index, CriteriaStructs[index].index, CriteriaStructs[index].criteriaText, CriteriaStructs[index].minScore); return true; } - function changeStatus(uint256 index, bool status) - public - returns(bool success) - { - if(!isCriteria(index)) revert(); + function changeStatus(uint256 index, bool status) + public + returns(bool success) { + if (!isCriteria(index)) revert(); CriteriaStructs[index].isActive = status; - + emit LogCriteriaStatusChange( - index,CriteriaStructs[index].isActive ); + index, CriteriaStructs[index].isActive); return true; } - function getCriteriaCount() - public - constant - returns(uint256 count) - { + function getCriteriaCount() + public + constant + returns(uint256 count) { return CriteriaIndex.length; } function getCriteriaAtIndex(uint index) - public - constant - returns(uint256 criteriaIndex) - { + public + constant + returns(uint256 criteriaIndex) { return CriteriaIndex[index]; } diff --git a/ethereum/test/TestAuditCriteriaManager.sol b/ethereum/test/TestAuditCriteriaManager.sol new file mode 100644 index 0000000..b0422c2 --- /dev/null +++ b/ethereum/test/TestAuditCriteriaManager.sol @@ -0,0 +1,88 @@ +pragma solidity ^ 0.4 .24; +import "truffle/Assert.sol"; +import "truffle/DeployedAddresses.sol"; +import "../contracts/AuditCriteriaManager.sol"; + +contract TestAuditCriteriaManager { + AuditCriteriaManager criteria = AuditCriteriaManager(DeployedAddresses.AuditCriteriaManager()); + + function testIsCriteria() public { + bool expected = false; + bool result = criteria.isCriteria(1); + Assert.equal(result, expected, "There is no Audit Criteria Exist"); + } + + function testSaveCriteria() public { + uint256 expected = criteria.getCriteriaCount(); + uint256 result = criteria.insertCriteria("Criteria Text",0,100,true); + Assert.equal(result, expected, "There is no Audit Criteria Exist"); + } + + function testgetCriteriaCount() public { + + uint256 row = 0; + row = addFourCriterias(); + row = row + 1; + + uint256 result = criteria.getCriteriaCount(); + + Assert.equal(result, row, "There is no Audit Criteria Exist"); + } + + function testDeleteCriteria() public + { + addFourCriterias(); + criteria.deleteCriteria(2); + uint256 results = criteria.getCriteriaCount(); + Assert.equal(results, 3, "Row deleted !"); + } + + function testDeleteAllCriteria() public + { + addFourCriterias(); + criteria.deleteAllCriteria(); + uint256 results = criteria.getCriteriaCount(); + + Assert.equal(results, 0, "All rows deleted !"); + } + + function testGetCriteriaText() public + { + addFourCriterias(); + var criteriaText = criteria.getCriteriaText(0); + Assert.equal(criteriaText, "Criteria Text 1", "Get Criteria is Success !"); + } + + function testGetStatus() public + { + addFourCriterias(); + bool isActive = criteria.getStatus(0); + Assert.equal(isActive, true, "Get Criteria is Success !"); + } + + function testGetCriteriaMaxScore() public + { + addFourCriterias(); + uint256 maxScore = criteria.getMaxScore(0); + Assert.equal(maxScore, 500, "Get Criteria is Success !"); + } + + function testGetCriteriaMinScore() public + { + addFourCriterias(); + uint256 minScore = criteria.getMinScore(0); + Assert.equal(minScore, 1, "Get Criteria is Success !"); + } + + function addFourCriterias() public + returns(uint256 rowIndex) + { + criteria.deleteAllCriteria(); + uint256 row = 0; + row = criteria.insertCriteria("Criteria Text 1",1,500,true); + row = criteria.insertCriteria("Criteria Text 2",0,100,true); + row = criteria.insertCriteria("Criteria Text 3",0,100,true); + row = criteria.insertCriteria("Criteria Text 4",0,100,true); + return row; + } +} \ No newline at end of file From 0464c5fae71816a3d5dbfda8e72cab77a9763c37 Mon Sep 17 00:00:00 2001 From: gladguy Date: Sat, 13 Oct 2018 14:11:53 +0400 Subject: [PATCH 08/16] Added 13 testcases to Company --- .../build/contracts/AuditCriteriaManager.json | 9978 ++++++----- ethereum/build/contracts/Company.json | 14213 ++++++++++------ ethereum/build/contracts/JobApplicant.json | 2 +- .../contracts/JobApplicationLibrary.json | 8 +- ethereum/build/contracts/Listing.json | 8 +- .../build/contracts/ListingsRegistry.json | 10 +- ethereum/build/contracts/Migrations.json | 2 +- ethereum/contracts/AuditCriteriaManager.sol | 1 + ethereum/contracts/Company.sol | 208 +- ethereum/migrations/2_deploy_contracts.js | 3 + ethereum/test/TestCompany.sol | 47 + 11 files changed, 15741 insertions(+), 8739 deletions(-) create mode 100644 ethereum/test/TestCompany.sol diff --git a/ethereum/build/contracts/AuditCriteriaManager.json b/ethereum/build/contracts/AuditCriteriaManager.json index 5aeb53a..1b1bafa 100644 --- a/ethereum/build/contracts/AuditCriteriaManager.json +++ b/ethereum/build/contracts/AuditCriteriaManager.json @@ -198,6 +198,82 @@ "stateMutability": "view", "type": "function" }, + { + "constant": true, + "inputs": [ + { + "name": "criteriaIndex", + "type": "uint256" + } + ], + "name": "getCriteriaText", + "outputs": [ + { + "name": "criteriaText", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "criteriaIndex", + "type": "uint256" + } + ], + "name": "getMaxScore", + "outputs": [ + { + "name": "maxScore", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "criteriaIndex", + "type": "uint256" + } + ], + "name": "getMinScore", + "outputs": [ + { + "name": "minScore", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "criteriaIndex", + "type": "uint256" + } + ], + "name": "getStatus", + "outputs": [ + { + "name": "isActive", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, { "constant": false, "inputs": [ @@ -305,20 +381,20 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b50610ac8806100206000396000f3006080604052600436106100a35763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100a857806348d007c6146100cf5780635487193c146101415780636776c6bb1461015857806372b4763c146101705780638931828f1461018e5780638d15438e14610237578063ae48388d1461029f578063b6021593146102b7578063fa2693b3146102cf575b600080fd5b3480156100b457600080fd5b506100bd6102ec565b60408051918252519081900360200190f35b3480156100db57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012d9583359536956044949193909101919081908401838280828437509497506102f39650505050505050565b604080519115158252519081900360200190f35b34801561014d57600080fd5b506101566103f7565b005b34801561016457600080fd5b506100bd600435610405565b34801561017c57600080fd5b5061012d600435602435604435610429565b34801561019a57600080fd5b506101a660043561052a565b604051808060200185815260200184815260200183151515158152602001828103825286818151815260200191508051906020019080838360005b838110156101f95781810151838201526020016101e1565b50505050905090810190601f1680156102265780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b34801561024357600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100bd9436949293602493928401919081908401838280828437509497505084359550505060208301359260400135151591506106069050565b3480156102ab57600080fd5b506100bd60043561075a565b3480156102c357600080fd5b5061012d6004356108fa565b3480156102db57600080fd5b5061012d6004356024351515610942565b6001545b90565b60006102fe836108fa565b151561030957600080fd5b6000838152602081815260409091208351610326928501906109ba565b50600083815260208181526040808320600481015460029091015482518281529283018190526060838501818152885191850191909152875189967f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9694958a959093926080850192918701918190849084905b838110156103b257818101518382015260200161039a565b50505050905090810190601f1680156103df5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a250600192915050565b61040360016000610a38565b565b600060018281548110151561041657fe5b906000526020600020015490505b919050565b6000610434846108fa565b151561043f57600080fd5b600084815260208181526040918290206002808201879055600180830187905560048301548551818152958601889052606094860185815284549283161561010002600019019092169290920493850184905288947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b949293928892906080830190859080156105105780601f106104e557610100808354040283529160200191610510565b820191906000526020600020905b8154815290600101906020018083116104f357829003601f168201915b505094505050505060405180910390a25060019392505050565b6060600080600061053a856108fa565b151561054557600080fd5b600085815260208181526040918290206002808201546001808401546003850154855488516101009482161594909402600019011694909404601f81018790048702830187019097528682529395919460ff90931692909186918301828280156105f05780601f106105c5576101008083540402835291602001916105f0565b820191906000526020600020905b8154815290600101906020018083116105d357829003601f168201915b5050505050935093509350935093509193509193565b6000806106116102ec565b60008181526020818152604090912088519293506106339290918901906109ba565b5060008181526020818152604080832060018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018690556004909101819055815181815291820188905260608284018181528b51918401919091528a5186957f029b14de10d3e6ca536bbb8aae7ea299ced00c37fd6975e22c47d64288f575249593948d948c9491939192608085019291870191908190849084905b8381101561070d5781810151838201526020016106f5565b50505050905090810190601f16801561073a5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a2505060015460001901949350505050565b6000806000610768846108fa565b151561077357600080fd5b6000848152602081905260409020600401546001805491935090600019810190811061079b57fe5b90600052602060002001549050806001838154811015156107b857fe5b6000918252602080832090910192909255828152908190526040902060040182905560018054906107ed906000198301610a59565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a26000818152602081815260409182902060028082015484518781529485018190526060938501848152835460001961010060018316150201169290920493850184905285947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b94889493906080830190859080156108e35780601f106108b8576101008083540402835291602001916108e3565b820191906000526020600020905b8154815290600101906020018083116108c657829003601f168201915b505094505050505060405180910390a25092915050565b600154600090151561090e57506000610424565b60008281526020819052604090206004015460018054849290811061092f57fe5b9060005260206000200154149050919050565b600061094d836108fa565b151561095857600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106109fb57805160ff1916838001178555610a28565b82800160010185558215610a28579182015b82811115610a28578251825591602001919060010190610a0d565b50610a34929150610a82565b5090565b5080546000825590600052602060002090810190610a569190610a82565b50565b815481835581811115610a7d57600083815260209020610a7d918101908301610a82565b505050565b6102f091905b80821115610a345760008155600101610a885600a165627a7a72305820dbdd376beef18ac2fb3f5d52b330fc11aad36c4bec4844b7917614c26fe5df270029", - "deployedBytecode": "0x6080604052600436106100a35763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100a857806348d007c6146100cf5780635487193c146101415780636776c6bb1461015857806372b4763c146101705780638931828f1461018e5780638d15438e14610237578063ae48388d1461029f578063b6021593146102b7578063fa2693b3146102cf575b600080fd5b3480156100b457600080fd5b506100bd6102ec565b60408051918252519081900360200190f35b3480156100db57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261012d9583359536956044949193909101919081908401838280828437509497506102f39650505050505050565b604080519115158252519081900360200190f35b34801561014d57600080fd5b506101566103f7565b005b34801561016457600080fd5b506100bd600435610405565b34801561017c57600080fd5b5061012d600435602435604435610429565b34801561019a57600080fd5b506101a660043561052a565b604051808060200185815260200184815260200183151515158152602001828103825286818151815260200191508051906020019080838360005b838110156101f95781810151838201526020016101e1565b50505050905090810190601f1680156102265780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b34801561024357600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100bd9436949293602493928401919081908401838280828437509497505084359550505060208301359260400135151591506106069050565b3480156102ab57600080fd5b506100bd60043561075a565b3480156102c357600080fd5b5061012d6004356108fa565b3480156102db57600080fd5b5061012d6004356024351515610942565b6001545b90565b60006102fe836108fa565b151561030957600080fd5b6000838152602081815260409091208351610326928501906109ba565b50600083815260208181526040808320600481015460029091015482518281529283018190526060838501818152885191850191909152875189967f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9694958a959093926080850192918701918190849084905b838110156103b257818101518382015260200161039a565b50505050905090810190601f1680156103df5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a250600192915050565b61040360016000610a38565b565b600060018281548110151561041657fe5b906000526020600020015490505b919050565b6000610434846108fa565b151561043f57600080fd5b600084815260208181526040918290206002808201879055600180830187905560048301548551818152958601889052606094860185815284549283161561010002600019019092169290920493850184905288947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b949293928892906080830190859080156105105780601f106104e557610100808354040283529160200191610510565b820191906000526020600020905b8154815290600101906020018083116104f357829003601f168201915b505094505050505060405180910390a25060019392505050565b6060600080600061053a856108fa565b151561054557600080fd5b600085815260208181526040918290206002808201546001808401546003850154855488516101009482161594909402600019011694909404601f81018790048702830187019097528682529395919460ff90931692909186918301828280156105f05780601f106105c5576101008083540402835291602001916105f0565b820191906000526020600020905b8154815290600101906020018083116105d357829003601f168201915b5050505050935093509350935093509193509193565b6000806106116102ec565b60008181526020818152604090912088519293506106339290918901906109ba565b5060008181526020818152604080832060018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018690556004909101819055815181815291820188905260608284018181528b51918401919091528a5186957f029b14de10d3e6ca536bbb8aae7ea299ced00c37fd6975e22c47d64288f575249593948d948c9491939192608085019291870191908190849084905b8381101561070d5781810151838201526020016106f5565b50505050905090810190601f16801561073a5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a2505060015460001901949350505050565b6000806000610768846108fa565b151561077357600080fd5b6000848152602081905260409020600401546001805491935090600019810190811061079b57fe5b90600052602060002001549050806001838154811015156107b857fe5b6000918252602080832090910192909255828152908190526040902060040182905560018054906107ed906000198301610a59565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a26000818152602081815260409182902060028082015484518781529485018190526060938501848152835460001961010060018316150201169290920493850184905285947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b94889493906080830190859080156108e35780601f106108b8576101008083540402835291602001916108e3565b820191906000526020600020905b8154815290600101906020018083116108c657829003601f168201915b505094505050505060405180910390a25092915050565b600154600090151561090e57506000610424565b60008281526020819052604090206004015460018054849290811061092f57fe5b9060005260206000200154149050919050565b600061094d836108fa565b151561095857600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106109fb57805160ff1916838001178555610a28565b82800160010185558215610a28579182015b82811115610a28578251825591602001919060010190610a0d565b50610a34929150610a82565b5090565b5080546000825590600052602060002090810190610a569190610a82565b50565b815481835581811115610a7d57600083815260209020610a7d918101908301610a82565b505050565b6102f091905b80821115610a345760008155600101610a885600a165627a7a72305820dbdd376beef18ac2fb3f5d52b330fc11aad36c4bec4844b7917614c26fe5df270029", - "sourceMap": "30:4163:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30:4163:0;;;;;;;", - "deployedSourceMap": "30:4163:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3930:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3930:116:0;;;;;;;;;;;;;;;;;;;;2782:411;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2782:411:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2782:411:0;;-1:-1:-1;2782:411:0;;-1:-1:-1;;;;;;;2782:411:0;;;;;;;;;;;;;;;;;;;1602:72;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1602:72:0;;;;;;4052:136;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4052:136:0;;;;;3199:435;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3199:435:0;;;;;;;;;2367:409;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2367:409:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2367:409:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;903:693;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;903:693:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;903:693:0;;-1:-1:-1;;903:693:0;;;-1:-1:-1;;;903:693:0;;;;;;;;;;;-1:-1:-1;903:693:0;;-1:-1:-1;903:693:0;1680:681;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1680:681:0;;;;;678:219;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;678:219:0;;;;;3640:282;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3640:282:0;;;;;;;;;3930:116;4020:13;:20;3930:116;;:::o;2782:411::-;2875:12;2901:25;2912:13;2901:10;:25::i;:::-;2900:26;2896:40;;;2928:8;;;2896:40;2945:15;:30;;;;;;;;;;;:58;;;;;;;;:::i;:::-;-1:-1:-1;3063:15:0;:30;;;;;;;;;;;:36;;;;3129:39;;;;;3015:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3041:13;;3015:154;;3063:36;;3108:12;;3015:154;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3015:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3183:4:0;2782:411;;;;:::o;1602:72::-;1648:20;1655:13;;1648:20;:::i;:::-;1602:72::o;4052:136::-;4125:21;4162:13;4176:5;4162:20;;;;;;;;;;;;;;;;;;4155:27;;4052:136;;;;:::o;3199:435::-;3292:12;3318:17;3329:5;3318:10;:17::i;:::-;3317:18;3313:32;;;3337:8;;;3313:32;3354:15;:22;;;;;;;;;;;;:31;;;;:42;;;3403:31;;;;:42;;;3497:28;;;;3457:153;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3457:153:0;;;;;;;;;;;;;;3354:22;;3457:153;;3497:28;;3354:22;3403:42;;3457:153;;;;;3354:22;;3457:153;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3624:4:0;3199:435;;;;;:::o;2367:409::-;2444:19;2465:13;2480;2495;2522:25;2533:13;2522:10;:25::i;:::-;2521:26;2517:40;;;2549:8;;;2517:40;2582:15;:30;;;;;;;;;;;;2634:39;;;;;2682;;;;;2730;;;;2566:204;;;;2730:39;2566:204;;;;;;;;-1:-1:-1;;2566:204:0;;;;;;;;;;;;;;;;;;;;;;;;2582:30;;2634:39;;2730;;;;;2566:204;;2582:30;;2566:204;;2582:30;2566:204;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2367:409;;;;;:::o;903:693::-;1038:13;1060:20;1083:18;:16;:18::i;:::-;1108:15;:29;;;;;;;;;;;:60;;1060:41;;-1:-1:-1;1108:60:0;;:29;;:60;;;;:::i;:::-;-1:-1:-1;1175:15:0;:29;;;;;;;;;;;:38;;;;:49;;;1231:38;;;:49;;;1287:38;;;:49;;-1:-1:-1;;1287:49:0;;;;;;;27:10:-1;;23:18;;;45:23;;;1381:32:0;;;;;;1343:35;;;;:74;;;1431:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1175:29;;1431:121;;27:10:-1;;1431:121:0;;1231:49;;1431:121;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1431:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1589:1:0;1566:20;-1:-1:-1;;1566:24:0;;903:693;-1:-1:-1;;;;903:693:0:o;1680:681::-;1754:13;1831:19;1902:17;1781:31;1792:19;1781:10;:31::i;:::-;1780:32;1776:46;;;1814:8;;;1776:46;1853:15;:36;;;;;;;;;;:42;;;1924:13;1938:20;;1853:42;;-1:-1:-1;1924:13:0;-1:-1:-1;;1938:24:0;;;1924:39;;;;;;;;;;;;;;1902:61;;1999:9;1970:13;1984:11;1970:26;;;;;;;;;;;;;;;;;;;;;:38;;;;2015:26;;;;;;;;;;:32;;:46;;;2068:13;:22;;;;;-1:-1:-1;;2068:22:0;;;:::i;:::-;-1:-1:-1;2104:66:0;;;;;;;;2130:19;;2104:66;;;;;;;;;;2246:15;:26;;;;;;;;;;;;2294:35;;;;;2182:148;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2182:148:0;;;;;;;;;;;;;;;;;;2208:9;;2182:148;;2226:11;;2246:26;2182:148;;;;;2246:26;;2182:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2344:11:0;1680:681;-1:-1:-1;;1680:681:0:o;678:219::-;774:13;:20;748:13;;774:25;770:43;;;-1:-1:-1;808:5:0;801:12;;770:43;842:15;:27;;;;;;;;;;:33;;;828:13;:48;;880:10;;842:33;828:48;;;;;;;;;;;;;;:62;820:71;;678:219;;;:::o;3640:282::-;3711:12;3737:17;3748:5;3737:10;:17::i;:::-;3736:18;3732:32;;;3756:8;;;3732:32;3773:15;:22;;;;;;;;;;;;:31;;:40;;-1:-1:-1;;3773:40:0;;;;;;;;;3827:71;;3773:40;3866:31;;;3827:71;;;;;;3773:22;;3827:71;;;;;;;;;-1:-1:-1;3912:4:0;3640:282;;;;:::o;30:4163::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30:4163:0;;;-1:-1:-1;30:4163:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;", - "source": "pragma solidity ^ 0.4 .18;\r\n\r\ncontract AuditCriteriaManager {\r\n\r\n struct CriteriaStruct {\r\n string criteriaText;\r\n uint minScore;\r\n uint maxScore;\r\n bool isActive;\r\n uint256 index;\r\n }\r\n\r\n mapping(uint256 => CriteriaStruct) private CriteriaStructs;\r\n uint256[] private CriteriaIndex;\r\n\r\n event LogNewCriteria(uint256 indexed CriteriaIndex, uint index, string CriteriaText, uint maxScore);\r\n event LogUpdateCriteria(uint256 indexed CriteriaIndex, uint index, string CriteriaText, uint maxScore);\r\n event LogDeleteCriteria(uint256 indexed CriteriaIndex, uint index);\r\n event LogCriteriaStatusChange(uint256 indexed CriteriaIndex, bool criteriaStatus);\r\n\r\n function isCriteria(uint indexExist)\r\n public\r\n constant\r\n returns(bool isIndeed) {\r\n if (CriteriaIndex.length == 0) return false;\r\n return (CriteriaIndex[CriteriaStructs[indexExist].index] == indexExist);\r\n }\r\n\r\n function insertCriteria(\r\n string newCriteriaText,\r\n uint minScore,\r\n uint maxScore,\r\n bool isActive)\r\n public\r\n returns(uint256 index) {\r\n uint256 currentIndex = getCriteriaCount();\r\n CriteriaStructs[currentIndex].criteriaText = newCriteriaText;\r\n CriteriaStructs[currentIndex].minScore = minScore;\r\n CriteriaStructs[currentIndex].maxScore = maxScore;\r\n CriteriaStructs[currentIndex].isActive = isActive;\r\n CriteriaStructs[currentIndex].index = CriteriaIndex.push(currentIndex) - 1;\r\n\r\n emit LogNewCriteria(\r\n currentIndex,\r\n CriteriaStructs[currentIndex].index,\r\n newCriteriaText,\r\n maxScore);\r\n return CriteriaIndex.length - 1;\r\n }\r\n\r\n function deleteAllCriteria() public\r\n {\r\n delete CriteriaIndex;\r\n }\r\n\r\n function deleteCriteria(uint256 deleteCriteriaIndex)\r\n public\r\n returns(uint256 index) {\r\n if (!isCriteria(deleteCriteriaIndex)) revert();\r\n\r\n uint256 rowToDelete = CriteriaStructs[deleteCriteriaIndex].index;\r\n uint256 keyToMove = CriteriaIndex[CriteriaIndex.length - 1];\r\n CriteriaIndex[rowToDelete] = keyToMove;\r\n CriteriaStructs[keyToMove].index = rowToDelete;\r\n CriteriaIndex.length--;\r\n\r\n emit LogDeleteCriteria(\r\n deleteCriteriaIndex,\r\n rowToDelete);\r\n emit LogUpdateCriteria(\r\n keyToMove,\r\n rowToDelete,\r\n CriteriaStructs[keyToMove].criteriaText,\r\n CriteriaStructs[keyToMove].maxScore);\r\n return rowToDelete;\r\n }\r\n\r\n function getCriteria(uint256 criteriaIndex)\r\n public\r\n constant\r\n returns(string criteriaText, uint maxScore, uint minScore, bool isActive) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n return (\r\n CriteriaStructs[criteriaIndex].criteriaText,\r\n CriteriaStructs[criteriaIndex].maxScore,\r\n CriteriaStructs[criteriaIndex].minScore,\r\n CriteriaStructs[criteriaIndex].isActive);\r\n }\r\n\r\n function updateCriteriaText(uint256 criteriaIndex, string criteriaText)\r\n public\r\n returns(bool success) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n CriteriaStructs[criteriaIndex].criteriaText = criteriaText;\r\n emit LogUpdateCriteria(\r\n criteriaIndex,\r\n CriteriaStructs[criteriaIndex].index,\r\n criteriaText,\r\n CriteriaStructs[criteriaIndex].maxScore);\r\n return true;\r\n }\r\n\r\n function updateMaxMinScore(uint256 index, uint MaxScore, uint MinScore)\r\n public\r\n returns(bool success) {\r\n if (!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].maxScore = MaxScore;\r\n CriteriaStructs[index].minScore = MinScore;\r\n emit LogUpdateCriteria(\r\n index,\r\n CriteriaStructs[index].index,\r\n CriteriaStructs[index].criteriaText,\r\n CriteriaStructs[index].minScore);\r\n return true;\r\n }\r\n\r\n function changeStatus(uint256 index, bool status)\r\n public\r\n returns(bool success) {\r\n if (!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].isActive = status;\r\n\r\n emit LogCriteriaStatusChange(\r\n index, CriteriaStructs[index].isActive);\r\n return true;\r\n }\r\n\r\n\r\n function getCriteriaCount()\r\n public\r\n constant\r\n returns(uint256 count) {\r\n return CriteriaIndex.length;\r\n }\r\n\r\n function getCriteriaAtIndex(uint index)\r\n public\r\n constant\r\n returns(uint256 criteriaIndex) {\r\n return CriteriaIndex[index];\r\n }\r\n\r\n}", + "bytecode": "0x608060405234801561001057600080fd5b50610d05806100206000396000f3006080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100d45780632e70cbfd146100fb57806348d007c6146101135780635487193c1461018557806359b630d11461019c5780635c622a0e146101b45780636776c6bb146101cc57806372b4763c146101e45780638931828f146102025780638d15438e146102ab578063ae48388d14610313578063b60215931461032b578063d54d535b14610343578063fa2693b3146103d0575b600080fd5b3480156100e057600080fd5b506100e96103ed565b60408051918252519081900360200190f35b34801561010757600080fd5b506100e96004356103f4565b34801561011f57600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101719583359536956044949193909101919081908401838280828437509497506104239650505050505050565b604080519115158252519081900360200190f35b34801561019157600080fd5b5061019a610527565b005b3480156101a857600080fd5b506100e9600435610535565b3480156101c057600080fd5b50610171600435610561565b3480156101d857600080fd5b506100e9600435610590565b3480156101f057600080fd5b506101716004356024356044356105b3565b34801561020e57600080fd5b5061021a6004356106b4565b604051808060200185815260200184815260200183151515158152602001828103825286818151815260200191508051906020019080838360005b8381101561026d578181015183820152602001610255565b50505050905090810190601f16801561029a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156102b757600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100e99436949293602493928401919081908401838280828437509497505084359550505060208301359260400135151591506107909050565b34801561031f57600080fd5b506100e96004356108e4565b34801561033757600080fd5b50610171600435610a84565b34801561034f57600080fd5b5061035b600435610acc565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561039557818101518382015260200161037d565b50505050905090810190601f1680156103c25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103dc57600080fd5b506101716004356024351515610b7f565b6001545b90565b60006103ff82610a84565b151561040a57600080fd5b506000818152602081905260409020600201545b919050565b600061042e83610a84565b151561043957600080fd5b600083815260208181526040909120835161045692850190610bf7565b50600083815260208181526040808320600481015460029091015482518281529283018190526060838501818152885191850191909152875189967f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9694958a959093926080850192918701918190849084905b838110156104e25781810151838201526020016104ca565b50505050905090810190601f16801561050f5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a250600192915050565b61053360016000610c75565b565b600061054082610a84565b151561054b57600080fd5b5060009081526020819052604090206001015490565b600061056c82610a84565b151561057757600080fd5b5060009081526020819052604090206003015460ff1690565b60006001828154811015156105a157fe5b90600052602060002001549050919050565b60006105be84610a84565b15156105c957600080fd5b600084815260208181526040918290206002808201879055600180830187905560048301548551818152958601889052606094860185815284549283161561010002600019019092169290920493850184905288947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9492939288929060808301908590801561069a5780601f1061066f5761010080835404028352916020019161069a565b820191906000526020600020905b81548152906001019060200180831161067d57829003601f168201915b505094505050505060405180910390a25060019392505050565b606060008060006106c485610a84565b15156106cf57600080fd5b600085815260208181526040918290206002808201546001808401546003850154855488516101009482161594909402600019011694909404601f81018790048702830187019097528682529395919460ff909316929091869183018282801561077a5780601f1061074f5761010080835404028352916020019161077a565b820191906000526020600020905b81548152906001019060200180831161075d57829003601f168201915b5050505050935093509350935093509193509193565b60008061079b6103ed565b60008181526020818152604090912088519293506107bd929091890190610bf7565b5060008181526020818152604080832060018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018690556004909101819055815181815291820188905260608284018181528b51918401919091528a5186957f029b14de10d3e6ca536bbb8aae7ea299ced00c37fd6975e22c47d64288f575249593948d948c9491939192608085019291870191908190849084905b8381101561089757818101518382015260200161087f565b50505050905090810190601f1680156108c45780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a2505060015460001901949350505050565b60008060006108f284610a84565b15156108fd57600080fd5b6000848152602081905260409020600401546001805491935090600019810190811061092557fe5b906000526020600020015490508060018381548110151561094257fe5b600091825260208083209091019290925582815290819052604090206004018290556001805490610977906000198301610c96565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a26000818152602081815260409182902060028082015484518781529485018190526060938501848152835460001961010060018316150201169290920493850184905285947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9488949390608083019085908015610a6d5780601f10610a4257610100808354040283529160200191610a6d565b820191906000526020600020905b815481529060010190602001808311610a5057829003601f168201915b505094505050505060405180910390a25092915050565b6001546000901515610a985750600061041e565b600082815260208190526040902060040154600180548492908110610ab957fe5b9060005260206000200154149050919050565b6060610ad782610a84565b1515610ae257600080fd5b6000828152602081815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610b735780601f10610b4857610100808354040283529160200191610b73565b820191906000526020600020905b815481529060010190602001808311610b5657829003601f168201915b50505050509050919050565b6000610b8a83610a84565b1515610b9557600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610c3857805160ff1916838001178555610c65565b82800160010185558215610c65579182015b82811115610c65578251825591602001919060010190610c4a565b50610c71929150610cbf565b5090565b5080546000825590600052602060002090810190610c939190610cbf565b50565b815481835581811115610cba57600083815260209020610cba918101908301610cbf565b505050565b6103f191905b80821115610c715760008155600101610cc55600a165627a7a7230582068f2738b49d2a1a4600ea9bd50665be10bcf08ec467101b187b4412c9673f6400029", + "deployedBytecode": "0x6080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100d45780632e70cbfd146100fb57806348d007c6146101135780635487193c1461018557806359b630d11461019c5780635c622a0e146101b45780636776c6bb146101cc57806372b4763c146101e45780638931828f146102025780638d15438e146102ab578063ae48388d14610313578063b60215931461032b578063d54d535b14610343578063fa2693b3146103d0575b600080fd5b3480156100e057600080fd5b506100e96103ed565b60408051918252519081900360200190f35b34801561010757600080fd5b506100e96004356103f4565b34801561011f57600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101719583359536956044949193909101919081908401838280828437509497506104239650505050505050565b604080519115158252519081900360200190f35b34801561019157600080fd5b5061019a610527565b005b3480156101a857600080fd5b506100e9600435610535565b3480156101c057600080fd5b50610171600435610561565b3480156101d857600080fd5b506100e9600435610590565b3480156101f057600080fd5b506101716004356024356044356105b3565b34801561020e57600080fd5b5061021a6004356106b4565b604051808060200185815260200184815260200183151515158152602001828103825286818151815260200191508051906020019080838360005b8381101561026d578181015183820152602001610255565b50505050905090810190601f16801561029a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156102b757600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100e99436949293602493928401919081908401838280828437509497505084359550505060208301359260400135151591506107909050565b34801561031f57600080fd5b506100e96004356108e4565b34801561033757600080fd5b50610171600435610a84565b34801561034f57600080fd5b5061035b600435610acc565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561039557818101518382015260200161037d565b50505050905090810190601f1680156103c25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103dc57600080fd5b506101716004356024351515610b7f565b6001545b90565b60006103ff82610a84565b151561040a57600080fd5b506000818152602081905260409020600201545b919050565b600061042e83610a84565b151561043957600080fd5b600083815260208181526040909120835161045692850190610bf7565b50600083815260208181526040808320600481015460029091015482518281529283018190526060838501818152885191850191909152875189967f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9694958a959093926080850192918701918190849084905b838110156104e25781810151838201526020016104ca565b50505050905090810190601f16801561050f5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a250600192915050565b61053360016000610c75565b565b600061054082610a84565b151561054b57600080fd5b5060009081526020819052604090206001015490565b600061056c82610a84565b151561057757600080fd5b5060009081526020819052604090206003015460ff1690565b60006001828154811015156105a157fe5b90600052602060002001549050919050565b60006105be84610a84565b15156105c957600080fd5b600084815260208181526040918290206002808201879055600180830187905560048301548551818152958601889052606094860185815284549283161561010002600019019092169290920493850184905288947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9492939288929060808301908590801561069a5780601f1061066f5761010080835404028352916020019161069a565b820191906000526020600020905b81548152906001019060200180831161067d57829003601f168201915b505094505050505060405180910390a25060019392505050565b606060008060006106c485610a84565b15156106cf57600080fd5b600085815260208181526040918290206002808201546001808401546003850154855488516101009482161594909402600019011694909404601f81018790048702830187019097528682529395919460ff909316929091869183018282801561077a5780601f1061074f5761010080835404028352916020019161077a565b820191906000526020600020905b81548152906001019060200180831161075d57829003601f168201915b5050505050935093509350935093509193509193565b60008061079b6103ed565b60008181526020818152604090912088519293506107bd929091890190610bf7565b5060008181526020818152604080832060018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018690556004909101819055815181815291820188905260608284018181528b51918401919091528a5186957f029b14de10d3e6ca536bbb8aae7ea299ced00c37fd6975e22c47d64288f575249593948d948c9491939192608085019291870191908190849084905b8381101561089757818101518382015260200161087f565b50505050905090810190601f1680156108c45780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a2505060015460001901949350505050565b60008060006108f284610a84565b15156108fd57600080fd5b6000848152602081905260409020600401546001805491935090600019810190811061092557fe5b906000526020600020015490508060018381548110151561094257fe5b600091825260208083209091019290925582815290819052604090206004018290556001805490610977906000198301610c96565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a26000818152602081815260409182902060028082015484518781529485018190526060938501848152835460001961010060018316150201169290920493850184905285947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9488949390608083019085908015610a6d5780601f10610a4257610100808354040283529160200191610a6d565b820191906000526020600020905b815481529060010190602001808311610a5057829003601f168201915b505094505050505060405180910390a25092915050565b6001546000901515610a985750600061041e565b600082815260208190526040902060040154600180548492908110610ab957fe5b9060005260206000200154149050919050565b6060610ad782610a84565b1515610ae257600080fd5b6000828152602081815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610b735780601f10610b4857610100808354040283529160200191610b73565b820191906000526020600020905b815481529060010190602001808311610b5657829003601f168201915b50505050509050919050565b6000610b8a83610a84565b1515610b9557600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610c3857805160ff1916838001178555610c65565b82800160010185558215610c65579182015b82811115610c65578251825591602001919060010190610c4a565b50610c71929150610cbf565b5090565b5080546000825590600052602060002090810190610c939190610cbf565b50565b815481835581811115610cba57600083815260209020610cba918101908301610cbf565b505050565b6103f191905b80821115610c715760008155600101610cc55600a165627a7a7230582068f2738b49d2a1a4600ea9bd50665be10bcf08ec467101b187b4412c9673f6400029", + "sourceMap": "30:5025:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30:5025:0;;;;;;;", + "deployedSourceMap": "30:5025:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4792:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4792:116:0;;;;;;;;;;;;;;;;;;;;3020:202;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3020:202:0;;;;;3644:411;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3644:411:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3644:411:0;;-1:-1:-1;3644:411:0;;-1:-1:-1;;;;;;;3644:411:0;;;;;;;;;;;;;;;;;;;1608:72;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1608:72:0;;;;;;3228:202;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3228:202:0;;;;;3436:200;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3436:200:0;;;;;4914:136;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4914:136:0;;;;;4061:435;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4061:435:0;;;;;;;;;2373:409;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2373:409:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2373:409:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;903:699;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;903:699:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;903:699:0;;-1:-1:-1;;903:699:0;;;-1:-1:-1;;;903:699:0;;;;;;;;;;;-1:-1:-1;903:699:0;;-1:-1:-1;903:699:0;1686:681;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1686:681:0;;;;;678:219;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;678:219:0;;;;;2790:224;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2790:224:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2790:224:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4502:282;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4502:282:0;;;;;;;;;4792:116;4882:13;:20;4792:116;;:::o;3020:202::-;3097:13;3124:25;3135:13;3124:10;:25::i;:::-;3123:26;3119:40;;;3151:8;;;3119:40;-1:-1:-1;3176:15:0;:30;;;;;;;;;;:39;;;3020:202;;;;:::o;3644:411::-;3737:12;3763:25;3774:13;3763:10;:25::i;:::-;3762:26;3758:40;;;3790:8;;;3758:40;3807:15;:30;;;;;;;;;;;:58;;;;;;;;:::i;:::-;-1:-1:-1;3925:15:0;:30;;;;;;;;;;;:36;;;;3991:39;;;;;3877:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3903:13;;3877:154;;3925:36;;3970:12;;3877:154;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3877:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4045:4:0;3644:411;;;;:::o;1608:72::-;1654:20;1661:13;;1654:20;:::i;:::-;1608:72::o;3228:202::-;3305:13;3332:25;3343:13;3332:10;:25::i;:::-;3331:26;3327:40;;;3359:8;;;3327:40;-1:-1:-1;3384:15:0;:30;;;;;;;;;;:39;;;;3228:202::o;3436:200::-;3511:13;3538:25;3549:13;3538:10;:25::i;:::-;3537:26;3533:40;;;3565:8;;;3533:40;-1:-1:-1;3590:15:0;:30;;;;;;;;;;:39;;;;;;3436:200::o;4914:136::-;4987:21;5024:13;5038:5;5024:20;;;;;;;;;;;;;;;;;;5017:27;;4914:136;;;:::o;4061:435::-;4154:12;4180:17;4191:5;4180:10;:17::i;:::-;4179:18;4175:32;;;4199:8;;;4175:32;4216:15;:22;;;;;;;;;;;;:31;;;;:42;;;4265:31;;;;:42;;;4359:28;;;;4319:153;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4319:153:0;;;;;;;;;;;;;;4216:22;;4319:153;;4359:28;;4216:22;4265:42;;4319:153;;;;;4216:22;;4319:153;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4486:4:0;4061:435;;;;;:::o;2373:409::-;2450:19;2471:13;2486;2501;2528:25;2539:13;2528:10;:25::i;:::-;2527:26;2523:40;;;2555:8;;;2523:40;2588:15;:30;;;;;;;;;;;;2640:39;;;;;2688;;;;;2736;;;;2572:204;;;;2736:39;2572:204;;;;;;;;-1:-1:-1;;2572:204:0;;;;;;;;;;;;;;;;;;;;;;;;2588:30;;2640:39;;2736;;;;;2572:204;;2588:30;;2572:204;;2588:30;2572:204;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2373:409;;;;;:::o;903:699::-;1038:13;1060:20;1083:18;:16;:18::i;:::-;1108:15;:29;;;;;;;;;;;:60;;1060:41;;-1:-1:-1;1108:60:0;;:29;;:60;;;;:::i;:::-;-1:-1:-1;1175:15:0;:29;;;;;;;;;;;:38;;;;:49;;;1231:38;;;:49;;;1287:38;;;:49;;-1:-1:-1;;1287:49:0;;;;;;;27:10:-1;;23:18;;;45:23;;;1387:32:0;;;;;;1349:35;;;;:74;;;1437:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1175:29;;1437:121;;27:10:-1;;1437:121:0;;1231:49;;1437:121;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1437:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1595:1:0;1572:20;-1:-1:-1;;1572:24:0;;903:699;-1:-1:-1;;;;903:699:0:o;1686:681::-;1760:13;1837:19;1908:17;1787:31;1798:19;1787:10;:31::i;:::-;1786:32;1782:46;;;1820:8;;;1782:46;1859:15;:36;;;;;;;;;;:42;;;1930:13;1944:20;;1859:42;;-1:-1:-1;1930:13:0;-1:-1:-1;;1944:24:0;;;1930:39;;;;;;;;;;;;;;1908:61;;2005:9;1976:13;1990:11;1976:26;;;;;;;;;;;;;;;;;;;;;:38;;;;2021:26;;;;;;;;;;:32;;:46;;;2074:13;:22;;;;;-1:-1:-1;;2074:22:0;;;:::i;:::-;-1:-1:-1;2110:66:0;;;;;;;;2136:19;;2110:66;;;;;;;;;;2252:15;:26;;;;;;;;;;;;2300:35;;;;;2188:148;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2188:148:0;;;;;;;;;;;;;;;;;;2214:9;;2188:148;;2232:11;;2252:26;2188:148;;;;;2252:26;;2188:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2350:11:0;1686:681;-1:-1:-1;;1686:681:0:o;678:219::-;774:13;:20;748:13;;774:25;770:43;;;-1:-1:-1;808:5:0;801:12;;770:43;842:15;:27;;;;;;;;;;:33;;;828:13;:48;;880:10;;842:33;828:48;;;;;;;;;;;;;;:62;820:71;;678:219;;;:::o;2790:224::-;2871:19;2904:25;2915:13;2904:10;:25::i;:::-;2903:26;2899:40;;;2931:8;;;2899:40;2964:15;:30;;;;;;;;;;;;2948:60;;;;;;-1:-1:-1;;2948:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2964:30;;2948:60;;2964:30;2948:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2790:224;;;:::o;4502:282::-;4573:12;4599:17;4610:5;4599:10;:17::i;:::-;4598:18;4594:32;;;4618:8;;;4594:32;4635:15;:22;;;;;;;;;;;;:31;;:40;;-1:-1:-1;;4635:40:0;;;;;;;;;4689:71;;4635:40;4728:31;;;4689:71;;;;;;4635:22;;4689:71;;;;;;;;;-1:-1:-1;4774:4:0;4502:282;;;;:::o;30:5025::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30:5025:0;;;-1:-1:-1;30:5025:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;", + "source": "pragma solidity ^ 0.4 .18;\r\n\r\ncontract AuditCriteriaManager {\r\n\r\n struct CriteriaStruct {\r\n string criteriaText;\r\n uint minScore;\r\n uint maxScore;\r\n bool isActive;\r\n uint256 index;\r\n }\r\n\r\n mapping(uint256 => CriteriaStruct) private CriteriaStructs;\r\n uint256[] private CriteriaIndex;\r\n\r\n event LogNewCriteria(uint256 indexed CriteriaIndex, uint index, string CriteriaText, uint maxScore);\r\n event LogUpdateCriteria(uint256 indexed CriteriaIndex, uint index, string CriteriaText, uint maxScore);\r\n event LogDeleteCriteria(uint256 indexed CriteriaIndex, uint index);\r\n event LogCriteriaStatusChange(uint256 indexed CriteriaIndex, bool criteriaStatus);\r\n\r\n function isCriteria(uint indexExist)\r\n public\r\n constant\r\n returns(bool isIndeed) {\r\n if (CriteriaIndex.length == 0) return false;\r\n return (CriteriaIndex[CriteriaStructs[indexExist].index] == indexExist);\r\n }\r\n\r\n function insertCriteria(\r\n string newCriteriaText,\r\n uint minScore,\r\n uint maxScore,\r\n bool isActive)\r\n public\r\n returns(uint256 index) {\r\n uint256 currentIndex = getCriteriaCount();\r\n CriteriaStructs[currentIndex].criteriaText = newCriteriaText;\r\n CriteriaStructs[currentIndex].minScore = minScore;\r\n CriteriaStructs[currentIndex].maxScore = maxScore;\r\n CriteriaStructs[currentIndex].isActive = isActive;\r\n \r\n CriteriaStructs[currentIndex].index = CriteriaIndex.push(currentIndex) - 1;\r\n\r\n emit LogNewCriteria(\r\n currentIndex,\r\n CriteriaStructs[currentIndex].index,\r\n newCriteriaText,\r\n maxScore);\r\n return CriteriaIndex.length - 1;\r\n }\r\n\r\n function deleteAllCriteria() public\r\n {\r\n delete CriteriaIndex;\r\n }\r\n\r\n function deleteCriteria(uint256 deleteCriteriaIndex)\r\n public\r\n returns(uint256 index) {\r\n if (!isCriteria(deleteCriteriaIndex)) revert();\r\n\r\n uint256 rowToDelete = CriteriaStructs[deleteCriteriaIndex].index;\r\n uint256 keyToMove = CriteriaIndex[CriteriaIndex.length - 1];\r\n CriteriaIndex[rowToDelete] = keyToMove;\r\n CriteriaStructs[keyToMove].index = rowToDelete;\r\n CriteriaIndex.length--;\r\n\r\n emit LogDeleteCriteria(\r\n deleteCriteriaIndex,\r\n rowToDelete);\r\n emit LogUpdateCriteria(\r\n keyToMove,\r\n rowToDelete,\r\n CriteriaStructs[keyToMove].criteriaText,\r\n CriteriaStructs[keyToMove].maxScore);\r\n return rowToDelete;\r\n }\r\n\r\n function getCriteria(uint256 criteriaIndex)\r\n public\r\n constant\r\n returns(string criteriaText, uint maxScore, uint minScore, bool isActive) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n return (\r\n CriteriaStructs[criteriaIndex].criteriaText,\r\n CriteriaStructs[criteriaIndex].maxScore,\r\n CriteriaStructs[criteriaIndex].minScore,\r\n CriteriaStructs[criteriaIndex].isActive);\r\n }\r\n\r\n\r\n function getCriteriaText(uint256 criteriaIndex)\r\n public\r\n constant\r\n returns(string criteriaText) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n return (\r\n CriteriaStructs[criteriaIndex].criteriaText);\r\n }\r\n\r\n function getMaxScore(uint256 criteriaIndex)\r\n public\r\n constant\r\n returns(uint maxScore) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n return (CriteriaStructs[criteriaIndex].maxScore);\r\n }\r\n\r\n function getMinScore(uint256 criteriaIndex)\r\n public\r\n constant\r\n returns(uint minScore) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n return (CriteriaStructs[criteriaIndex].minScore);\r\n }\r\n\r\n function getStatus(uint256 criteriaIndex)\r\n public\r\n constant\r\n returns(bool isActive) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n return (CriteriaStructs[criteriaIndex].isActive);\r\n } \r\n\r\n function updateCriteriaText(uint256 criteriaIndex, string criteriaText)\r\n public\r\n returns(bool success) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n CriteriaStructs[criteriaIndex].criteriaText = criteriaText;\r\n emit LogUpdateCriteria(\r\n criteriaIndex,\r\n CriteriaStructs[criteriaIndex].index,\r\n criteriaText,\r\n CriteriaStructs[criteriaIndex].maxScore);\r\n return true;\r\n }\r\n\r\n function updateMaxMinScore(uint256 index, uint MaxScore, uint MinScore)\r\n public\r\n returns(bool success) {\r\n if (!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].maxScore = MaxScore;\r\n CriteriaStructs[index].minScore = MinScore;\r\n emit LogUpdateCriteria(\r\n index,\r\n CriteriaStructs[index].index,\r\n CriteriaStructs[index].criteriaText,\r\n CriteriaStructs[index].minScore);\r\n return true;\r\n }\r\n\r\n function changeStatus(uint256 index, bool status)\r\n public\r\n returns(bool success) {\r\n if (!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].isActive = status;\r\n\r\n emit LogCriteriaStatusChange(\r\n index, CriteriaStructs[index].isActive);\r\n return true;\r\n }\r\n\r\n\r\n function getCriteriaCount()\r\n public\r\n constant\r\n returns(uint256 count) {\r\n return CriteriaIndex.length;\r\n }\r\n\r\n function getCriteriaAtIndex(uint index)\r\n public\r\n constant\r\n returns(uint256 criteriaIndex) {\r\n return CriteriaIndex[index];\r\n }\r\n\r\n}", "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\AuditCriteriaManager.sol", "ast": { "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", "exportedSymbols": { "AuditCriteriaManager": [ - 416 + 504 ] }, - "id": 417, + "id": 505, "nodeType": "SourceUnit", "nodes": [ { @@ -338,9 +414,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 416, + "id": 504, "linearizedBaseContracts": [ - 416 + 504 ], "name": "AuditCriteriaManager", "nodeType": "ContractDefinition", @@ -482,7 +558,7 @@ ], "name": "CriteriaStruct", "nodeType": "StructDefinition", - "scope": 416, + "scope": 504, "src": "67:134:0", "visibility": "public" }, @@ -491,7 +567,7 @@ "id": 16, "name": "CriteriaStructs", "nodeType": "VariableDeclaration", - "scope": 416, + "scope": 504, "src": "207:58:0", "stateVariable": true, "storageLocation": "default", @@ -538,7 +614,7 @@ "id": 19, "name": "CriteriaIndex", "nodeType": "VariableDeclaration", - "scope": 416, + "scope": 504, "src": "270:31:0", "stateVariable": true, "storageLocation": "default", @@ -1270,7 +1346,7 @@ ], "src": "747:15:0" }, - "scope": 416, + "scope": 504, "src": "678:219:0", "stateMutability": "view", "superFunction": null, @@ -1280,7 +1356,7 @@ "body": { "id": 149, "nodeType": "Block", - "src": "1053:543:0", + "src": "1053:549:0", "statements": [ { "assignments": [ @@ -1324,7 +1400,7 @@ "name": "getCriteriaCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 403, + "referencedDeclaration": 491, "src": "1083:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", @@ -1723,7 +1799,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1343:15:0", + "src": "1349:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -1737,7 +1813,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1359:12:0", + "src": "1365:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1748,7 +1824,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1343:29:0", + "src": "1349:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -1762,7 +1838,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1343:35:0", + "src": "1349:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1791,7 +1867,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1400:12:0", + "src": "1406:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1812,7 +1888,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1381:13:0", + "src": "1387:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -1826,7 +1902,7 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1381:18:0", + "src": "1387:18:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256) returns (uint256)" @@ -1840,7 +1916,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1381:32:0", + "src": "1387:32:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1858,7 +1934,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1416:1:0", + "src": "1422:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -1866,13 +1942,13 @@ }, "value": "1" }, - "src": "1381:36:0", + "src": "1387:36:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1343:74:0", + "src": "1349:74:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1880,7 +1956,7 @@ }, "id": 133, "nodeType": "ExpressionStatement", - "src": "1343:74:0" + "src": "1349:74:0" }, { "eventCall": { @@ -1893,7 +1969,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1454:12:0", + "src": "1460:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1910,7 +1986,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1475:15:0", + "src": "1481:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -1924,7 +2000,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 90, - "src": "1491:12:0", + "src": "1497:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1935,7 +2011,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1475:29:0", + "src": "1481:29:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -1949,7 +2025,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1475:35:0", + "src": "1481:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1962,7 +2038,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 78, - "src": "1519:15:0", + "src": "1525:15:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -1975,7 +2051,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 82, - "src": "1543:8:0", + "src": "1549:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2006,7 +2082,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 29, - "src": "1431:14:0", + "src": "1437:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256,string memory,uint256)" @@ -2020,7 +2096,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1431:121:0", + "src": "1437:121:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" @@ -2028,7 +2104,7 @@ }, "id": 143, "nodeType": "EmitStatement", - "src": "1426:126:0" + "src": "1432:126:0" }, { "expression": { @@ -2051,7 +2127,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1566:13:0", + "src": "1572:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -2065,7 +2141,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1566:20:0", + "src": "1572:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2083,7 +2159,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1589:1:0", + "src": "1595:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -2091,7 +2167,7 @@ }, "value": "1" }, - "src": "1566:24:0", + "src": "1572:24:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2100,7 +2176,7 @@ "functionReturnParameters": 88, "id": 148, "nodeType": "Return", - "src": "1559:31:0" + "src": "1565:31:0" } ] }, @@ -2257,8 +2333,8 @@ ], "src": "1037:15:0" }, - "scope": 416, - "src": "903:693:0", + "scope": 504, + "src": "903:699:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2267,7 +2343,7 @@ "body": { "id": 156, "nodeType": "Block", - "src": "1641:33:0", + "src": "1647:33:0", "statements": [ { "expression": { @@ -2280,7 +2356,7 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "1648:20:0", + "src": "1654:20:0", "subExpression": { "argumentTypes": null, "id": 153, @@ -2288,7 +2364,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1655:13:0", + "src": "1661:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -2301,7 +2377,7 @@ }, "id": 155, "nodeType": "ExpressionStatement", - "src": "1648:20:0" + "src": "1654:20:0" } ] }, @@ -2317,17 +2393,17 @@ "id": 151, "nodeType": "ParameterList", "parameters": [], - "src": "1628:2:0" + "src": "1634:2:0" }, "payable": false, "returnParameters": { "id": 152, "nodeType": "ParameterList", "parameters": [], - "src": "1641:0:0" + "src": "1647:0:0" }, - "scope": 416, - "src": "1602:72:0", + "scope": 504, + "src": "1608:72:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2336,7 +2412,7 @@ "body": { "id": 226, "nodeType": "Block", - "src": "1769:592:0", + "src": "1775:592:0", "statements": [ { "condition": { @@ -2349,7 +2425,7 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "1780:32:0", + "src": "1786:32:0", "subExpression": { "argumentTypes": null, "arguments": [ @@ -2360,7 +2436,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 159, - "src": "1792:19:0", + "src": "1798:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2379,7 +2455,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "1781:10:0", + "src": "1787:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" @@ -2393,7 +2469,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1781:31:0", + "src": "1787:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2407,7 +2483,7 @@ "falseBody": null, "id": 171, "nodeType": "IfStatement", - "src": "1776:46:0", + "src": "1782:46:0", "trueBody": { "expression": { "argumentTypes": null, @@ -2418,11 +2494,11 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 436, - 437 + 979, + 980 ], - "referencedDeclaration": 436, - "src": "1814:6:0", + "referencedDeclaration": 979, + "src": "1820:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" @@ -2436,7 +2512,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1814:8:0", + "src": "1820:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" @@ -2444,7 +2520,7 @@ }, "id": 170, "nodeType": "ExpressionStatement", - "src": "1814:8:0" + "src": "1820:8:0" } }, { @@ -2458,7 +2534,7 @@ "name": "rowToDelete", "nodeType": "VariableDeclaration", "scope": 227, - "src": "1831:19:0", + "src": "1837:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2469,7 +2545,7 @@ "id": 172, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1831:7:0", + "src": "1837:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2491,7 +2567,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1853:15:0", + "src": "1859:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -2505,7 +2581,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 159, - "src": "1869:19:0", + "src": "1875:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2516,7 +2592,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1853:36:0", + "src": "1859:36:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -2530,14 +2606,14 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "1853:42:0", + "src": "1859:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1831:64:0" + "src": "1837:64:0" }, { "assignments": [ @@ -2550,7 +2626,7 @@ "name": "keyToMove", "nodeType": "VariableDeclaration", "scope": 227, - "src": "1902:17:0", + "src": "1908:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2561,7 +2637,7 @@ "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1902:7:0", + "src": "1908:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2581,7 +2657,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1924:13:0", + "src": "1930:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -2608,7 +2684,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1938:13:0", + "src": "1944:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -2622,7 +2698,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1938:20:0", + "src": "1944:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2640,7 +2716,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1961:1:0", + "src": "1967:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -2648,7 +2724,7 @@ }, "value": "1" }, - "src": "1938:24:0", + "src": "1944:24:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2659,14 +2735,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1924:39:0", + "src": "1930:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1902:61:0" + "src": "1908:61:0" }, { "expression": { @@ -2685,7 +2761,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "1970:13:0", + "src": "1976:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -2699,7 +2775,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 173, - "src": "1984:11:0", + "src": "1990:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2710,7 +2786,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1970:26:0", + "src": "1976:26:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2725,13 +2801,13 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 180, - "src": "1999:9:0", + "src": "2005:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1970:38:0", + "src": "1976:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2739,7 +2815,7 @@ }, "id": 193, "nodeType": "ExpressionStatement", - "src": "1970:38:0" + "src": "1976:38:0" }, { "expression": { @@ -2760,7 +2836,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2015:15:0", + "src": "2021:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -2774,7 +2850,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 180, - "src": "2031:9:0", + "src": "2037:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2785,7 +2861,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2015:26:0", + "src": "2021:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -2799,7 +2875,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "2015:32:0", + "src": "2021:32:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2814,13 +2890,13 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 173, - "src": "2050:11:0", + "src": "2056:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2015:46:0", + "src": "2021:46:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2828,7 +2904,7 @@ }, "id": 200, "nodeType": "ExpressionStatement", - "src": "2015:46:0" + "src": "2021:46:0" }, { "expression": { @@ -2841,7 +2917,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "2068:22:0", + "src": "2074:22:0", "subExpression": { "argumentTypes": null, "expression": { @@ -2851,7 +2927,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "2068:13:0", + "src": "2074:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -2865,7 +2941,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2068:20:0", + "src": "2074:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2878,7 +2954,7 @@ }, "id": 205, "nodeType": "ExpressionStatement", - "src": "2068:22:0" + "src": "2074:22:0" }, { "eventCall": { @@ -2891,7 +2967,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 159, - "src": "2130:19:0", + "src": "2136:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2904,7 +2980,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 173, - "src": "2158:11:0", + "src": "2164:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2927,7 +3003,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 45, - "src": "2104:17:0", + "src": "2110:17:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256)" @@ -2941,7 +3017,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2104:66:0", + "src": "2110:66:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" @@ -2949,7 +3025,7 @@ }, "id": 210, "nodeType": "EmitStatement", - "src": "2099:71:0" + "src": "2105:71:0" }, { "eventCall": { @@ -2962,7 +3038,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 180, - "src": "2208:9:0", + "src": "2214:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2975,7 +3051,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 173, - "src": "2226:11:0", + "src": "2232:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2992,7 +3068,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2246:15:0", + "src": "2252:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -3006,7 +3082,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 180, - "src": "2262:9:0", + "src": "2268:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3017,7 +3093,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2246:26:0", + "src": "2252:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -3031,7 +3107,7 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2246:39:0", + "src": "2252:39:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -3048,7 +3124,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2294:15:0", + "src": "2300:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -3062,7 +3138,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 180, - "src": "2310:9:0", + "src": "2316:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3073,7 +3149,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2294:26:0", + "src": "2300:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -3087,7 +3163,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "2294:35:0", + "src": "2300:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3118,7 +3194,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "2182:17:0", + "src": "2188:17:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256,string memory,uint256)" @@ -3132,7 +3208,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2182:148:0", + "src": "2188:148:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" @@ -3140,7 +3216,7 @@ }, "id": 223, "nodeType": "EmitStatement", - "src": "2177:153:0" + "src": "2183:153:0" }, { "expression": { @@ -3150,7 +3226,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 173, - "src": "2344:11:0", + "src": "2350:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3159,7 +3235,7 @@ "functionReturnParameters": 163, "id": 225, "nodeType": "Return", - "src": "2337:18:0" + "src": "2343:18:0" } ] }, @@ -3181,7 +3257,7 @@ "name": "deleteCriteriaIndex", "nodeType": "VariableDeclaration", "scope": 227, - "src": "1704:27:0", + "src": "1710:27:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3192,7 +3268,7 @@ "id": 158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1704:7:0", + "src": "1710:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3202,7 +3278,7 @@ "visibility": "internal" } ], - "src": "1703:29:0" + "src": "1709:29:0" }, "payable": false, "returnParameters": { @@ -3215,7 +3291,7 @@ "name": "index", "nodeType": "VariableDeclaration", "scope": 227, - "src": "1754:13:0", + "src": "1760:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3226,7 +3302,7 @@ "id": 161, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1754:7:0", + "src": "1760:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3236,10 +3312,10 @@ "visibility": "internal" } ], - "src": "1753:15:0" + "src": "1759:15:0" }, - "scope": 416, - "src": "1680:681:0", + "scope": 504, + "src": "1686:681:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3248,7 +3324,7 @@ "body": { "id": 266, "nodeType": "Block", - "src": "2510:266:0", + "src": "2516:266:0", "statements": [ { "condition": { @@ -3261,7 +3337,7 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2521:26:0", + "src": "2527:26:0", "subExpression": { "argumentTypes": null, "arguments": [ @@ -3272,7 +3348,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 229, - "src": "2533:13:0", + "src": "2539:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3291,7 +3367,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "2522:10:0", + "src": "2528:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" @@ -3305,7 +3381,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2522:25:0", + "src": "2528:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3319,7 +3395,7 @@ "falseBody": null, "id": 247, "nodeType": "IfStatement", - "src": "2517:40:0", + "src": "2523:40:0", "trueBody": { "expression": { "argumentTypes": null, @@ -3330,11 +3406,11 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 436, - 437 + 979, + 980 ], - "referencedDeclaration": 436, - "src": "2549:6:0", + "referencedDeclaration": 979, + "src": "2555:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" @@ -3348,7 +3424,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2549:8:0", + "src": "2555:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" @@ -3356,7 +3432,7 @@ }, "id": 246, "nodeType": "ExpressionStatement", - "src": "2549:8:0" + "src": "2555:8:0" } }, { @@ -3374,7 +3450,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2582:15:0", + "src": "2588:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -3388,7 +3464,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 229, - "src": "2598:13:0", + "src": "2604:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3399,7 +3475,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2582:30:0", + "src": "2588:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -3413,7 +3489,7 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2582:43:0", + "src": "2588:43:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -3430,7 +3506,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2634:15:0", + "src": "2640:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -3444,7 +3520,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 229, - "src": "2650:13:0", + "src": "2656:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3455,7 +3531,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2634:30:0", + "src": "2640:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -3469,7 +3545,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "2634:39:0", + "src": "2640:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3486,7 +3562,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2682:15:0", + "src": "2688:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -3500,7 +3576,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 229, - "src": "2698:13:0", + "src": "2704:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3511,7 +3587,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2682:30:0", + "src": "2688:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -3525,7 +3601,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "2682:39:0", + "src": "2688:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3542,7 +3618,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2730:15:0", + "src": "2736:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" @@ -3556,7 +3632,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 229, - "src": "2746:13:0", + "src": "2752:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3567,7 +3643,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2730:30:0", + "src": "2736:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" @@ -3581,7 +3657,7 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "2730:39:0", + "src": "2736:39:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3595,7 +3671,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2573:197:0", + "src": "2579:197:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_string_storage_$_t_uint256_$_t_uint256_$_t_bool_$", "typeString": "tuple(string storage ref,uint256,uint256,bool)" @@ -3604,7 +3680,7 @@ "functionReturnParameters": 239, "id": 265, "nodeType": "Return", - "src": "2566:204:0" + "src": "2572:204:0" } ] }, @@ -3626,7 +3702,7 @@ "name": "criteriaIndex", "nodeType": "VariableDeclaration", "scope": 267, - "src": "2388:21:0", + "src": "2394:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3637,7 +3713,7 @@ "id": 228, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2388:7:0", + "src": "2394:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3647,7 +3723,7 @@ "visibility": "internal" } ], - "src": "2387:23:0" + "src": "2393:23:0" }, "payable": false, "returnParameters": { @@ -3660,7 +3736,7 @@ "name": "criteriaText", "nodeType": "VariableDeclaration", "scope": 267, - "src": "2444:19:0", + "src": "2450:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3671,7 +3747,7 @@ "id": 231, "name": "string", "nodeType": "ElementaryTypeName", - "src": "2444:6:0", + "src": "2450:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -3686,7 +3762,7 @@ "name": "maxScore", "nodeType": "VariableDeclaration", "scope": 267, - "src": "2465:13:0", + "src": "2471:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3697,7 +3773,7 @@ "id": 233, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2465:4:0", + "src": "2471:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3712,7 +3788,7 @@ "name": "minScore", "nodeType": "VariableDeclaration", "scope": 267, - "src": "2480:13:0", + "src": "2486:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3723,7 +3799,7 @@ "id": 235, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2480:4:0", + "src": "2486:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3738,7 +3814,7 @@ "name": "isActive", "nodeType": "VariableDeclaration", "scope": 267, - "src": "2495:13:0", + "src": "2501:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3749,7 +3825,7 @@ "id": 237, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2495:4:0", + "src": "2501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3759,24 +3835,24 @@ "visibility": "internal" } ], - "src": "2443:66:0" + "src": "2449:66:0" }, - "scope": 416, - "src": "2367:409:0", + "scope": 504, + "src": "2373:409:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 306, + "id": 288, "nodeType": "Block", - "src": "2889:304:0", + "src": "2892:122:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 279, + "id": 277, "isConstant": false, "isLValue": false, "isPure": false, @@ -3784,18 +3860,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2900:26:0", + "src": "2903:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 277, + "id": 275, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 269, - "src": "2912:13:0", + "src": "2915:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3809,18 +3885,18 @@ "typeString": "uint256" } ], - "id": 276, + "id": 274, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "2901:10:0", + "src": "2904:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 278, + "id": 276, "isConstant": false, "isLValue": false, "isPure": false, @@ -3828,7 +3904,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2901:25:0", + "src": "2904:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3840,30 +3916,30 @@ } }, "falseBody": null, - "id": 283, + "id": 281, "nodeType": "IfStatement", - "src": "2896:40:0", + "src": "2899:40:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 280, + "id": 278, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 436, - 437 + 979, + 980 ], - "referencedDeclaration": 436, - "src": "2928:6:0", + "referencedDeclaration": 979, + "src": "2931:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 281, + "id": 279, "isConstant": false, "isLValue": false, "isPure": false, @@ -3871,218 +3947,47 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2928:8:0", + "src": "2931:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 282, + "id": 280, "nodeType": "ExpressionStatement", - "src": "2928:8:0" + "src": "2931:8:0" } }, { "expression": { "argumentTypes": null, - "id": 289, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 284, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2945:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 286, - "indexExpression": { - "argumentTypes": null, - "id": 285, - "name": "criteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "2961:13:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2945:30:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 287, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "criteriaText", - "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "2945:43:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 288, - "name": "criteriaText", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 271, - "src": "2991:12:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "2945:58:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 290, - "nodeType": "ExpressionStatement", - "src": "2945:58:0" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 292, - "name": "criteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "3041:13:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 293, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "3063:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 295, - "indexExpression": { - "argumentTypes": null, - "id": 294, - "name": "criteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "3079:13:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3063:30:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 296, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "index", - "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "3063:36:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 297, - "name": "criteriaText", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 271, - "src": "3108:12:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, + "components": [ { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 298, + "id": 282, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3129:15:0", + "src": "2964:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 300, + "id": 284, "indexExpression": { "argumentTypes": null, - "id": 299, + "id": 283, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 269, - "src": "3145:13:0", + "src": "2980:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4093,111 +3998,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3129:30:0", + "src": "2964:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 301, + "id": 285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "maxScore", + "memberName": "criteriaText", "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "3129:39:0", + "referencedDeclaration": 3, + "src": "2964:43:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } } ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 291, - "name": "LogUpdateCriteria", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39, - "src": "3015:17:0", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,string memory,uint256)" - } - }, - "id": 302, + "id": 286, "isConstant": false, + "isInlineArray": false, "isLValue": false, "isPure": false, - "kind": "functionCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3015:154:0", + "nodeType": "TupleExpression", + "src": "2955:53:0", "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, - "id": 303, - "nodeType": "EmitStatement", - "src": "3010:159:0" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 304, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3183:4:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 275, - "id": 305, + "functionReturnParameters": 273, + "id": 287, "nodeType": "Return", - "src": "3176:11:0" + "src": "2948:60:0" } ] }, "documentation": null, - "id": 307, + "id": 289, "implemented": true, "isConstructor": false, - "isDeclaredConst": false, + "isDeclaredConst": true, "modifiers": [], - "name": "updateCriteriaText", + "name": "getCriteriaText", "nodeType": "FunctionDefinition", "parameters": { - "id": 272, + "id": 270, "nodeType": "ParameterList", "parameters": [ { @@ -4205,8 +4056,8 @@ "id": 269, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 307, - "src": "2810:21:0", + "scope": 289, + "src": "2815:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4217,7 +4068,7 @@ "id": 268, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2810:7:0", + "src": "2815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4225,86 +4076,60 @@ }, "value": null, "visibility": "internal" - }, - { - "constant": false, - "id": 271, - "name": "criteriaText", - "nodeType": "VariableDeclaration", - "scope": 307, - "src": "2833:19:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 270, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2833:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" } ], - "src": "2809:44:0" + "src": "2814:23:0" }, "payable": false, "returnParameters": { - "id": 275, + "id": 273, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 274, - "name": "success", + "id": 272, + "name": "criteriaText", "nodeType": "VariableDeclaration", - "scope": 307, - "src": "2875:12:0", + "scope": 289, + "src": "2871:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" }, "typeName": { - "id": 273, - "name": "bool", + "id": 271, + "name": "string", "nodeType": "ElementaryTypeName", - "src": "2875:4:0", + "src": "2871:6:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, "visibility": "internal" } ], - "src": "2874:14:0" + "src": "2870:21:0" }, - "scope": 416, - "src": "2782:411:0", - "stateMutability": "nonpayable", + "scope": 504, + "src": "2790:224:0", + "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 358, + "id": 310, "nodeType": "Block", - "src": "3306:328:0", + "src": "3112:110:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 321, + "id": 299, "isConstant": false, "isLValue": false, "isPure": false, @@ -4312,18 +4137,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3317:18:0", + "src": "3123:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 319, - "name": "index", + "id": 297, + "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3329:5:0", + "referencedDeclaration": 291, + "src": "3135:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4337,18 +4162,18 @@ "typeString": "uint256" } ], - "id": 318, + "id": 296, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "3318:10:0", + "src": "3124:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 320, + "id": 298, "isConstant": false, "isLValue": false, "isPure": false, @@ -4356,7 +4181,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3318:17:0", + "src": "3124:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4368,30 +4193,30 @@ } }, "falseBody": null, - "id": 325, + "id": 303, "nodeType": "IfStatement", - "src": "3313:32:0", + "src": "3119:40:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 322, + "id": 300, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 436, - 437 + 979, + 980 ], - "referencedDeclaration": 436, - "src": "3337:6:0", + "referencedDeclaration": 979, + "src": "3151:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 323, + "id": 301, "isConstant": false, "isLValue": false, "isPure": false, @@ -4399,238 +4224,47 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3337:8:0", + "src": "3151:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 324, + "id": 302, "nodeType": "ExpressionStatement", - "src": "3337:8:0" + "src": "3151:8:0" } }, { "expression": { "argumentTypes": null, - "id": 331, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 326, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "3354:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 328, - "indexExpression": { - "argumentTypes": null, - "id": 327, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3370:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3354:22:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 329, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "maxScore", - "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "3354:31:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 330, - "name": "MaxScore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 311, - "src": "3388:8:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3354:42:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 332, - "nodeType": "ExpressionStatement", - "src": "3354:42:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 333, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "3403:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 335, - "indexExpression": { - "argumentTypes": null, - "id": 334, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3419:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3403:22:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 336, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "minScore", - "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "3403:31:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 337, - "name": "MinScore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 313, - "src": "3437:8:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "3403:42:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 339, - "nodeType": "ExpressionStatement", - "src": "3403:42:0" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 341, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3483:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, + "components": [ { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 342, + "id": 304, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3497:15:0", + "src": "3176:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 344, + "id": 306, "indexExpression": { "argumentTypes": null, - "id": 343, - "name": "index", + "id": 305, + "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3513:5:0", + "referencedDeclaration": 291, + "src": "3192:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4641,232 +4275,66 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3497:22:0", + "src": "3176:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 345, + "id": 307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "index", + "memberName": "maxScore", "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "3497:28:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 346, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "3534:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 348, - "indexExpression": { - "argumentTypes": null, - "id": 347, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3550:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3534:22:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 349, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "criteriaText", - "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "3534:35:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 350, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "3578:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 352, - "indexExpression": { - "argumentTypes": null, - "id": 351, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3594:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3578:22:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 353, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "minScore", - "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "3578:31:0", + "referencedDeclaration": 7, + "src": "3176:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 340, - "name": "LogUpdateCriteria", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39, - "src": "3457:17:0", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,string memory,uint256)" - } - }, - "id": 354, + "id": 308, "isConstant": false, + "isInlineArray": false, "isLValue": false, "isPure": false, - "kind": "functionCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3457:153:0", + "nodeType": "TupleExpression", + "src": "3175:41:0", "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 355, - "nodeType": "EmitStatement", - "src": "3452:158:0" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3624:4:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 317, - "id": 357, + "functionReturnParameters": 295, + "id": 309, "nodeType": "Return", - "src": "3617:11:0" + "src": "3168:48:0" } ] }, "documentation": null, - "id": 359, + "id": 311, "implemented": true, "isConstructor": false, - "isDeclaredConst": false, + "isDeclaredConst": true, "modifiers": [], - "name": "updateMaxMinScore", + "name": "getMaxScore", "nodeType": "FunctionDefinition", "parameters": { - "id": 314, + "id": 292, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 309, - "name": "index", + "id": 291, + "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 359, - "src": "3226:13:0", + "scope": 311, + "src": "3041:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4874,62 +4342,10 @@ "typeString": "uint256" }, "typeName": { - "id": 308, + "id": 290, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3226:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 311, - "name": "MaxScore", - "nodeType": "VariableDeclaration", - "scope": 359, - "src": "3241:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 310, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3241:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 313, - "name": "MinScore", - "nodeType": "VariableDeclaration", - "scope": 359, - "src": "3256:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 312, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "3256:4:0", + "src": "3041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4939,58 +4355,58 @@ "visibility": "internal" } ], - "src": "3225:45:0" + "src": "3040:23:0" }, "payable": false, "returnParameters": { - "id": 317, + "id": 295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 316, - "name": "success", + "id": 294, + "name": "maxScore", "nodeType": "VariableDeclaration", - "scope": 359, - "src": "3292:12:0", + "scope": 311, + "src": "3097:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 315, - "name": "bool", + "id": 293, + "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3292:4:0", + "src": "3097:4:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "3291:14:0" + "src": "3096:15:0" }, - "scope": 416, - "src": "3199:435:0", - "stateMutability": "nonpayable", + "scope": 504, + "src": "3020:202:0", + "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 393, + "id": 332, "nodeType": "Block", - "src": "3725:197:0", + "src": "3320:110:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 371, + "id": 321, "isConstant": false, "isLValue": false, "isPure": false, @@ -4998,18 +4414,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3736:18:0", + "src": "3331:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 369, - "name": "index", + "id": 319, + "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 361, - "src": "3748:5:0", + "referencedDeclaration": 313, + "src": "3343:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5023,18 +4439,18 @@ "typeString": "uint256" } ], - "id": 368, + "id": 318, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "3737:10:0", + "src": "3332:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 370, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, @@ -5042,7 +4458,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3737:17:0", + "src": "3332:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5054,30 +4470,30 @@ } }, "falseBody": null, - "id": 375, + "id": 325, "nodeType": "IfStatement", - "src": "3732:32:0", + "src": "3327:40:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 372, + "id": 322, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 436, - 437 + 979, + 980 ], - "referencedDeclaration": 436, - "src": "3756:6:0", + "referencedDeclaration": 979, + "src": "3359:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 373, + "id": 323, "isConstant": false, "isLValue": false, "isPure": false, @@ -5085,149 +4501,47 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3756:8:0", + "src": "3359:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 374, + "id": 324, "nodeType": "ExpressionStatement", - "src": "3756:8:0" + "src": "3359:8:0" } }, { "expression": { "argumentTypes": null, - "id": 381, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { + "components": [ + { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 376, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "3773:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 378, - "indexExpression": { - "argumentTypes": null, - "id": 377, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 361, - "src": "3789:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3773:22:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 379, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "isActive", - "nodeType": "MemberAccess", - "referencedDeclaration": 9, - "src": "3773:31:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 380, - "name": "status", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 363, - "src": "3807:6:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "3773:40:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 382, - "nodeType": "ExpressionStatement", - "src": "3773:40:0" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 384, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 361, - "src": "3859:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { + "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 385, + "id": 326, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3866:15:0", + "src": "3384:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 387, + "id": 328, "indexExpression": { "argumentTypes": null, - "id": 386, - "name": "index", + "id": 327, + "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 361, - "src": "3882:5:0", + "referencedDeclaration": 313, + "src": "3400:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5238,112 +4552,66 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3866:22:0", + "src": "3384:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 388, + "id": 329, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "isActive", + "memberName": "minScore", "nodeType": "MemberAccess", - "referencedDeclaration": 9, - "src": "3866:31:0", + "referencedDeclaration": 5, + "src": "3384:39:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { "typeIdentifier": "t_uint256", "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" } - ], - "id": 383, - "name": "LogCriteriaStatusChange", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 51, - "src": "3827:23:0", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bool_$returns$__$", - "typeString": "function (uint256,bool)" } - }, - "id": 389, + ], + "id": 330, "isConstant": false, + "isInlineArray": false, "isLValue": false, "isPure": false, - "kind": "functionCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3827:71:0", + "nodeType": "TupleExpression", + "src": "3383:41:0", "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 390, - "nodeType": "EmitStatement", - "src": "3822:76:0" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 391, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3912:4:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 367, - "id": 392, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "3905:11:0" + "src": "3376:48:0" } ] }, "documentation": null, - "id": 394, + "id": 333, "implemented": true, "isConstructor": false, - "isDeclaredConst": false, + "isDeclaredConst": true, "modifiers": [], - "name": "changeStatus", + "name": "getMinScore", "nodeType": "FunctionDefinition", "parameters": { - "id": 364, + "id": 314, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 361, - "name": "index", + "id": 313, + "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 394, - "src": "3662:13:0", + "scope": 333, + "src": "3249:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5351,10 +4619,10 @@ "typeString": "uint256" }, "typeName": { - "id": 360, + "id": 312, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3662:7:0", + "src": "3249:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5362,246 +4630,265 @@ }, "value": null, "visibility": "internal" - }, - { - "constant": false, - "id": 363, - "name": "status", - "nodeType": "VariableDeclaration", - "scope": 394, - "src": "3677:11:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 362, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3677:4:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" } ], - "src": "3661:28:0" + "src": "3248:23:0" }, "payable": false, "returnParameters": { - "id": 367, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 366, - "name": "success", + "id": 316, + "name": "minScore", "nodeType": "VariableDeclaration", - "scope": 394, - "src": "3711:12:0", + "scope": 333, + "src": "3305:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 365, - "name": "bool", + "id": 315, + "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3711:4:0", + "src": "3305:4:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "3710:14:0" + "src": "3304:15:0" }, - "scope": 416, - "src": "3640:282:0", - "stateMutability": "nonpayable", + "scope": 504, + "src": "3228:202:0", + "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 402, + "id": 354, "nodeType": "Block", - "src": "4006:40:0", + "src": "3526:110:0", "statements": [ { - "expression": { + "condition": { "argumentTypes": null, - "expression": { + "id": 343, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3537:26:0", + "subExpression": { "argumentTypes": null, - "id": 399, - "name": "CriteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "4020:13:0", + "arguments": [ + { + "argumentTypes": null, + "id": 341, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 335, + "src": "3549:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 340, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 76, + "src": "3538:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 342, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3538:25:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 400, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4020:20:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "functionReturnParameters": 398, - "id": 401, - "nodeType": "Return", - "src": "4013:27:0" - } - ] - }, - "documentation": null, - "id": 403, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": true, - "modifiers": [], - "name": "getCriteriaCount", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 395, - "nodeType": "ParameterList", - "parameters": [], - "src": "3955:2:0" - }, - "payable": false, - "returnParameters": { - "id": 398, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 397, - "name": "count", - "nodeType": "VariableDeclaration", - "scope": 403, - "src": "3991:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 396, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3991:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3990:15:0" - }, - "scope": 416, - "src": "3930:116:0", - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 414, - "nodeType": "Block", - "src": "4148:40:0", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { + "falseBody": null, + "id": 347, + "nodeType": "IfStatement", + "src": "3533:40:0", + "trueBody": { + "expression": { "argumentTypes": null, - "id": 410, - "name": "CriteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "4162:13:0", + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 344, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 979, + 980 + ], + "referencedDeclaration": 979, + "src": "3565:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 345, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3565:8:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 412, - "indexExpression": { - "argumentTypes": null, - "id": 411, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 405, - "src": "4176:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "id": 346, + "nodeType": "ExpressionStatement", + "src": "3565:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 348, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3590:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 350, + "indexExpression": { + "argumentTypes": null, + "id": 349, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 335, + "src": "3606:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3590:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 351, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "isActive", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "3590:39:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } } - }, + ], + "id": 352, "isConstant": false, - "isLValue": true, + "isInlineArray": false, + "isLValue": false, "isPure": false, "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4162:20:0", + "nodeType": "TupleExpression", + "src": "3589:41:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "functionReturnParameters": 409, - "id": 413, + "functionReturnParameters": 339, + "id": 353, "nodeType": "Return", - "src": "4155:27:0" + "src": "3582:48:0" } ] }, "documentation": null, - "id": 415, + "id": 355, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], - "name": "getCriteriaAtIndex", + "name": "getStatus", "nodeType": "FunctionDefinition", "parameters": { - "id": 406, + "id": 336, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 405, - "name": "index", + "id": 335, + "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 415, - "src": "4080:10:0", + "scope": 355, + "src": "3455:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5609,10 +4896,10 @@ "typeString": "uint256" }, "typeName": { - "id": 404, - "name": "uint", + "id": 334, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4080:4:0", + "src": "3455:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5622,157 +4909,2054 @@ "visibility": "internal" } ], - "src": "4079:12:0" + "src": "3454:23:0" }, "payable": false, "returnParameters": { - "id": 409, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 408, - "name": "criteriaIndex", + "id": 338, + "name": "isActive", "nodeType": "VariableDeclaration", - "scope": 415, - "src": "4125:21:0", + "scope": 355, + "src": "3511:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" }, "typeName": { - "id": 407, - "name": "uint256", + "id": 337, + "name": "bool", "nodeType": "ElementaryTypeName", - "src": "4125:7:0", + "src": "3511:4:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, "value": null, "visibility": "internal" } ], - "src": "4124:23:0" + "src": "3510:15:0" }, - "scope": 416, - "src": "4052:136:0", + "scope": 504, + "src": "3436:200:0", "stateMutability": "view", "superFunction": null, "visibility": "public" - } - ], - "scope": 417, - "src": "30:4163:0" - } - ], - "src": "0:4193:0" - }, - "legacyAST": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", - "exportedSymbols": { - "AuditCriteriaManager": [ - 416 - ] - }, - "id": 417, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1, - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ], - "nodeType": "PragmaDirective", - "src": "0:26:0" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 416, - "linearizedBaseContracts": [ - 416 - ], - "name": "AuditCriteriaManager", - "nodeType": "ContractDefinition", - "nodes": [ + }, { - "canonicalName": "AuditCriteriaManager.CriteriaStruct", - "id": 12, - "members": [ - { - "constant": false, - "id": 3, - "name": "criteriaText", - "nodeType": "VariableDeclaration", - "scope": 12, - "src": "96:19:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "96:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5, - "name": "minScore", - "nodeType": "VariableDeclaration", - "scope": 12, - "src": "122:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "122:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7, - "name": "maxScore", - "nodeType": "VariableDeclaration", - "scope": 12, - "src": "142:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "body": { + "id": 394, + "nodeType": "Block", + "src": "3751:304:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 367, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3762:26:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 365, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 357, + "src": "3774:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 364, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 76, + "src": "3763:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3763:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 371, + "nodeType": "IfStatement", + "src": "3758:40:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 368, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 979, + 980 + ], + "referencedDeclaration": 979, + "src": "3790:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 369, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3790:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 370, + "nodeType": "ExpressionStatement", + "src": "3790:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "id": 377, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 372, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3807:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 374, + "indexExpression": { + "argumentTypes": null, + "id": 373, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 357, + "src": "3823:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3807:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 375, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "3807:43:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 376, + "name": "criteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 359, + "src": "3853:12:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "3807:58:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 378, + "nodeType": "ExpressionStatement", + "src": "3807:58:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 380, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 357, + "src": "3903:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 381, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3925:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 383, + "indexExpression": { + "argumentTypes": null, + "id": 382, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 357, + "src": "3941:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3925:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 384, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "3925:36:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 385, + "name": "criteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 359, + "src": "3970:12:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 386, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3991:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 388, + "indexExpression": { + "argumentTypes": null, + "id": 387, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 357, + "src": "4007:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3991:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 389, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "3991:39:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 379, + "name": "LogUpdateCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39, + "src": "3877:17:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,string memory,uint256)" + } + }, + "id": 390, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3877:154:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 391, + "nodeType": "EmitStatement", + "src": "3872:159:0" + }, + { + "expression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 392, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4045:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 363, + "id": 393, + "nodeType": "Return", + "src": "4038:11:0" + } + ] + }, + "documentation": null, + "id": 395, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "updateCriteriaText", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 360, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 357, + "name": "criteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 395, + "src": "3672:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 356, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3672:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 359, + "name": "criteriaText", + "nodeType": "VariableDeclaration", + "scope": 395, + "src": "3695:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 358, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3695:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3671:44:0" + }, + "payable": false, + "returnParameters": { + "id": 363, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 362, + "name": "success", + "nodeType": "VariableDeclaration", + "scope": 395, + "src": "3737:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 361, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3737:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3736:14:0" + }, + "scope": 504, + "src": "3644:411:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 446, + "nodeType": "Block", + "src": "4168:328:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 409, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4179:18:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 407, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 397, + "src": "4191:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 406, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 76, + "src": "4180:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 408, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4180:17:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 413, + "nodeType": "IfStatement", + "src": "4175:32:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 410, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 979, + 980 + ], + "referencedDeclaration": 979, + "src": "4199:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 411, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4199:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 412, + "nodeType": "ExpressionStatement", + "src": "4199:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "id": 419, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 414, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "4216:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 416, + "indexExpression": { + "argumentTypes": null, + "id": 415, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 397, + "src": "4232:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4216:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 417, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "4216:31:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 418, + "name": "MaxScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 399, + "src": "4250:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "4216:42:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 420, + "nodeType": "ExpressionStatement", + "src": "4216:42:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 426, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 421, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "4265:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 423, + "indexExpression": { + "argumentTypes": null, + "id": 422, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 397, + "src": "4281:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4265:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 424, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "4265:31:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 425, + "name": "MinScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 401, + "src": "4299:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "4265:42:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 427, + "nodeType": "ExpressionStatement", + "src": "4265:42:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 429, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 397, + "src": "4345:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 430, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "4359:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 432, + "indexExpression": { + "argumentTypes": null, + "id": 431, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 397, + "src": "4375:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4359:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 433, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "4359:28:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 434, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "4396:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 436, + "indexExpression": { + "argumentTypes": null, + "id": 435, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 397, + "src": "4412:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4396:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 437, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "4396:35:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 438, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "4440:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 440, + "indexExpression": { + "argumentTypes": null, + "id": 439, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 397, + "src": "4456:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4440:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 441, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "4440:31:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 428, + "name": "LogUpdateCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 39, + "src": "4319:17:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,string memory,uint256)" + } + }, + "id": 442, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4319:153:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 443, + "nodeType": "EmitStatement", + "src": "4314:158:0" + }, + { + "expression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 444, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4486:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 405, + "id": 445, + "nodeType": "Return", + "src": "4479:11:0" + } + ] + }, + "documentation": null, + "id": 447, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "updateMaxMinScore", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 402, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 397, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 447, + "src": "4088:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 396, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4088:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 399, + "name": "MaxScore", + "nodeType": "VariableDeclaration", + "scope": 447, + "src": "4103:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 398, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4103:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 401, + "name": "MinScore", + "nodeType": "VariableDeclaration", + "scope": 447, + "src": "4118:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 400, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4118:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4087:45:0" + }, + "payable": false, + "returnParameters": { + "id": 405, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 404, + "name": "success", + "nodeType": "VariableDeclaration", + "scope": 447, + "src": "4154:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 403, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4154:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4153:14:0" + }, + "scope": 504, + "src": "4061:435:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 481, + "nodeType": "Block", + "src": "4587:197:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 459, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4598:18:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 457, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 449, + "src": "4610:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 456, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 76, + "src": "4599:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 458, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4599:17:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 463, + "nodeType": "IfStatement", + "src": "4594:32:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 460, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 979, + 980 + ], + "referencedDeclaration": 979, + "src": "4618:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4618:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 462, + "nodeType": "ExpressionStatement", + "src": "4618:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "id": 469, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 464, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "4635:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 466, + "indexExpression": { + "argumentTypes": null, + "id": 465, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 449, + "src": "4651:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4635:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 467, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "isActive", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "4635:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 468, + "name": "status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 451, + "src": "4669:6:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "4635:40:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 470, + "nodeType": "ExpressionStatement", + "src": "4635:40:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 472, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 449, + "src": "4721:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 473, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "4728:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 475, + "indexExpression": { + "argumentTypes": null, + "id": 474, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 449, + "src": "4744:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4728:22:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 476, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "isActive", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "4728:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 471, + "name": "LogCriteriaStatusChange", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 51, + "src": "4689:23:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bool_$returns$__$", + "typeString": "function (uint256,bool)" + } + }, + "id": 477, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4689:71:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 478, + "nodeType": "EmitStatement", + "src": "4684:76:0" + }, + { + "expression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 479, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4774:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 455, + "id": 480, + "nodeType": "Return", + "src": "4767:11:0" + } + ] + }, + "documentation": null, + "id": 482, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "changeStatus", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 452, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 449, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 482, + "src": "4524:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 448, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4524:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 451, + "name": "status", + "nodeType": "VariableDeclaration", + "scope": 482, + "src": "4539:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 450, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4539:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4523:28:0" + }, + "payable": false, + "returnParameters": { + "id": 455, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 454, + "name": "success", + "nodeType": "VariableDeclaration", + "scope": 482, + "src": "4573:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 453, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4573:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4572:14:0" + }, + "scope": 504, + "src": "4502:282:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 490, + "nodeType": "Block", + "src": "4868:40:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 487, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "4882:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 488, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "4882:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 486, + "id": 489, + "nodeType": "Return", + "src": "4875:27:0" + } + ] + }, + "documentation": null, + "id": 491, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getCriteriaCount", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 483, + "nodeType": "ParameterList", + "parameters": [], + "src": "4817:2:0" + }, + "payable": false, + "returnParameters": { + "id": 486, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 485, + "name": "count", + "nodeType": "VariableDeclaration", + "scope": 491, + "src": "4853:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 484, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4853:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4852:15:0" + }, + "scope": 504, + "src": "4792:116:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 502, + "nodeType": "Block", + "src": "5010:40:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 498, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "5024:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 500, + "indexExpression": { + "argumentTypes": null, + "id": 499, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 493, + "src": "5038:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5024:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 497, + "id": 501, + "nodeType": "Return", + "src": "5017:27:0" + } + ] + }, + "documentation": null, + "id": 503, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getCriteriaAtIndex", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 494, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 493, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 503, + "src": "4942:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 492, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4942:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4941:12:0" + }, + "payable": false, + "returnParameters": { + "id": 497, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 496, + "name": "criteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 503, + "src": "4987:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 495, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4987:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4986:23:0" + }, + "scope": 504, + "src": "4914:136:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + } + ], + "scope": 505, + "src": "30:5025:0" + } + ], + "src": "0:5055:0" + }, + "legacyAST": { + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", + "exportedSymbols": { + "AuditCriteriaManager": [ + 504 + ] + }, + "id": 505, + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "^", + "0.4", + ".18" + ], + "nodeType": "PragmaDirective", + "src": "0:26:0" + }, + { + "baseContracts": [], + "contractDependencies": [], + "contractKind": "contract", + "documentation": null, + "fullyImplemented": true, + "id": 504, + "linearizedBaseContracts": [ + 504 + ], + "name": "AuditCriteriaManager", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "AuditCriteriaManager.CriteriaStruct", + "id": 12, + "members": [ + { + "constant": false, + "id": 3, + "name": "criteriaText", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "96:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "96:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 5, + "name": "minScore", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "122:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 4, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "122:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 7, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 12, + "src": "142:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { "id": 6, @@ -5842,7 +7026,7 @@ ], "name": "CriteriaStruct", "nodeType": "StructDefinition", - "scope": 416, + "scope": 504, "src": "67:134:0", "visibility": "public" }, @@ -5851,7 +7035,7 @@ "id": 16, "name": "CriteriaStructs", "nodeType": "VariableDeclaration", - "scope": 416, + "scope": 504, "src": "207:58:0", "stateVariable": true, "storageLocation": "default", @@ -5898,7 +7082,7 @@ "id": 19, "name": "CriteriaIndex", "nodeType": "VariableDeclaration", - "scope": 416, + "scope": 504, "src": "270:31:0", "stateVariable": true, "storageLocation": "default", @@ -5916,37 +7100,160 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" } - }, - "id": 18, - "length": null, - "nodeType": "ArrayTypeName", - "src": "270:9:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } + }, + "id": 18, + "length": null, + "nodeType": "ArrayTypeName", + "src": "270:9:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", + "typeString": "uint256[]" + } + }, + "value": null, + "visibility": "private" + }, + { + "anonymous": false, + "documentation": null, + "id": 29, + "name": "LogNewCriteria", + "nodeType": "EventDefinition", + "parameters": { + "id": 28, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 21, + "indexed": true, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "329:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 20, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "329:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 23, + "indexed": false, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "360:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 22, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "360:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 25, + "indexed": false, + "name": "CriteriaText", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "372:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 24, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "372:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 27, + "indexed": false, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "393:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 26, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "393:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "328:79:0" }, - "value": null, - "visibility": "private" + "src": "308:100:0" }, { "anonymous": false, "documentation": null, - "id": 29, - "name": "LogNewCriteria", + "id": 39, + "name": "LogUpdateCriteria", "nodeType": "EventDefinition", "parameters": { - "id": 28, + "id": 38, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 21, + "id": 31, "indexed": true, "name": "CriteriaIndex", "nodeType": "VariableDeclaration", - "scope": 29, - "src": "329:29:0", + "scope": 39, + "src": "436:29:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5954,10 +7261,10 @@ "typeString": "uint256" }, "typeName": { - "id": 20, + "id": 30, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "329:7:0", + "src": "436:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5968,12 +7275,12 @@ }, { "constant": false, - "id": 23, + "id": 33, "indexed": false, "name": "index", "nodeType": "VariableDeclaration", - "scope": 29, - "src": "360:10:0", + "scope": 39, + "src": "467:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5981,10 +7288,10 @@ "typeString": "uint256" }, "typeName": { - "id": 22, + "id": 32, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "360:4:0", + "src": "467:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5995,12 +7302,12 @@ }, { "constant": false, - "id": 25, + "id": 35, "indexed": false, "name": "CriteriaText", "nodeType": "VariableDeclaration", - "scope": 29, - "src": "372:19:0", + "scope": 39, + "src": "479:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6008,10 +7315,10 @@ "typeString": "string" }, "typeName": { - "id": 24, + "id": 34, "name": "string", "nodeType": "ElementaryTypeName", - "src": "372:6:0", + "src": "479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6022,12 +7329,12 @@ }, { "constant": false, - "id": 27, + "id": 37, "indexed": false, "name": "maxScore", "nodeType": "VariableDeclaration", - "scope": 29, - "src": "393:13:0", + "scope": 39, + "src": "500:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6035,68 +7342,422 @@ "typeString": "uint256" }, "typeName": { - "id": 26, + "id": 36, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "500:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "435:79:0" + }, + "src": "412:103:0" + }, + { + "anonymous": false, + "documentation": null, + "id": 45, + "name": "LogDeleteCriteria", + "nodeType": "EventDefinition", + "parameters": { + "id": 44, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41, + "indexed": true, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 45, + "src": "543:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 40, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "543:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 43, + "indexed": false, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 45, + "src": "574:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 42, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "393:4:0", + "src": "574:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "542:43:0" + }, + "src": "519:67:0" + }, + { + "anonymous": false, + "documentation": null, + "id": 51, + "name": "LogCriteriaStatusChange", + "nodeType": "EventDefinition", + "parameters": { + "id": 50, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 47, + "indexed": true, + "name": "CriteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 51, + "src": "620:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 46, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "620:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 49, + "indexed": false, + "name": "criteriaStatus", + "nodeType": "VariableDeclaration", + "scope": 51, + "src": "651:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 48, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "651:4:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, "value": null, "visibility": "internal" } ], - "src": "328:79:0" + "src": "619:52:0" }, - "src": "308:100:0" + "src": "590:82:0" }, { - "anonymous": false, - "documentation": null, - "id": 39, - "name": "LogUpdateCriteria", - "nodeType": "EventDefinition", - "parameters": { - "id": 38, - "nodeType": "ParameterList", - "parameters": [ + "body": { + "id": 75, + "nodeType": "Block", + "src": "763:134:0", + "statements": [ { - "constant": false, - "id": 31, - "indexed": true, - "name": "CriteriaIndex", - "nodeType": "VariableDeclaration", - "scope": 39, - "src": "436:29:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 61, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 58, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "774:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 59, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "774:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 60, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "798:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "774:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } }, - "typeName": { - "id": 30, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "436:7:0", + "falseBody": null, + "id": 64, + "nodeType": "IfStatement", + "src": "770:43:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 62, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "808:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "functionReturnParameters": 57, + "id": 63, + "nodeType": "Return", + "src": "801:12:0" + } + }, + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 72, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 65, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "828:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 70, + "indexExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 66, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "842:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 68, + "indexExpression": { + "argumentTypes": null, + "id": 67, + "name": "indexExist", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 53, + "src": "858:10:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "842:27:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 69, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "842:33:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "828:48:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 71, + "name": "indexExist", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 53, + "src": "880:10:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "828:62:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 73, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "827:64:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "value": null, - "visibility": "internal" - }, + "functionReturnParameters": 57, + "id": 74, + "nodeType": "Return", + "src": "820:71:0" + } + ] + }, + "documentation": null, + "id": 76, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "isCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 54, + "nodeType": "ParameterList", + "parameters": [ { "constant": false, - "id": 33, - "indexed": false, - "name": "index", + "id": 53, + "name": "indexExist", "nodeType": "VariableDeclaration", - "scope": 39, - "src": "467:10:0", + "scope": 76, + "src": "698:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6104,10 +7765,10 @@ "typeString": "uint256" }, "typeName": { - "id": 32, + "id": 52, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "467:4:0", + "src": "698:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6115,388 +7776,699 @@ }, "value": null, "visibility": "internal" - }, - { - "constant": false, - "id": 35, - "indexed": false, - "name": "CriteriaText", - "nodeType": "VariableDeclaration", - "scope": 39, - "src": "479:19:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 34, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "479:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, + } + ], + "src": "697:17:0" + }, + "payable": false, + "returnParameters": { + "id": 57, + "nodeType": "ParameterList", + "parameters": [ { "constant": false, - "id": 37, - "indexed": false, - "name": "maxScore", + "id": 56, + "name": "isIndeed", "nodeType": "VariableDeclaration", - "scope": 39, - "src": "500:13:0", + "scope": 76, + "src": "748:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" }, "typeName": { - "id": 36, - "name": "uint", + "id": 55, + "name": "bool", "nodeType": "ElementaryTypeName", - "src": "500:4:0", + "src": "748:4:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, "value": null, "visibility": "internal" } ], - "src": "435:79:0" + "src": "747:15:0" }, - "src": "412:103:0" + "scope": 504, + "src": "678:219:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" }, { - "anonymous": false, - "documentation": null, - "id": 45, - "name": "LogDeleteCriteria", - "nodeType": "EventDefinition", - "parameters": { - "id": 44, - "nodeType": "ParameterList", - "parameters": [ + "body": { + "id": 149, + "nodeType": "Block", + "src": "1053:549:0", + "statements": [ { - "constant": false, - "id": 41, - "indexed": true, - "name": "CriteriaIndex", - "nodeType": "VariableDeclaration", - "scope": 45, - "src": "543:29:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "assignments": [ + 90 + ], + "declarations": [ + { + "constant": false, + "id": 90, + "name": "currentIndex", + "nodeType": "VariableDeclaration", + "scope": 150, + "src": "1060:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 89, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1060:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 93, + "initialValue": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 91, + "name": "getCriteriaCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 491, + "src": "1083:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 92, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1083:18:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } }, - "typeName": { - "id": 40, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "543:7:0", + "nodeType": "VariableDeclarationStatement", + "src": "1060:41:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 99, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 94, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1108:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 96, + "indexExpression": { + "argumentTypes": null, + "id": 95, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 90, + "src": "1124:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1108:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 97, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "1108:42:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 98, + "name": "newCriteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 78, + "src": "1153:15:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "1108:60:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, - "value": null, - "visibility": "internal" + "id": 100, + "nodeType": "ExpressionStatement", + "src": "1108:60:0" }, { - "constant": false, - "id": 43, - "indexed": false, - "name": "index", - "nodeType": "VariableDeclaration", - "scope": 45, - "src": "574:10:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 42, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "574:4:0", + "expression": { + "argumentTypes": null, + "id": 106, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 101, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1175:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 103, + "indexExpression": { + "argumentTypes": null, + "id": 102, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 90, + "src": "1191:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1175:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 104, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "minScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "1175:38:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 105, + "name": "minScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 80, + "src": "1216:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1175:49:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "value": null, - "visibility": "internal" - } - ], - "src": "542:43:0" - }, - "src": "519:67:0" - }, - { - "anonymous": false, - "documentation": null, - "id": 51, - "name": "LogCriteriaStatusChange", - "nodeType": "EventDefinition", - "parameters": { - "id": 50, - "nodeType": "ParameterList", - "parameters": [ + "id": 107, + "nodeType": "ExpressionStatement", + "src": "1175:49:0" + }, { - "constant": false, - "id": 47, - "indexed": true, - "name": "CriteriaIndex", - "nodeType": "VariableDeclaration", - "scope": 51, - "src": "620:29:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 46, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "620:7:0", + "expression": { + "argumentTypes": null, + "id": 113, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 108, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1231:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 110, + "indexExpression": { + "argumentTypes": null, + "id": 109, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 90, + "src": "1247:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1231:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 111, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "1231:38:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 112, + "name": "maxScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 82, + "src": "1272:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1231:49:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "value": null, - "visibility": "internal" + "id": 114, + "nodeType": "ExpressionStatement", + "src": "1231:49:0" }, { - "constant": false, - "id": 49, - "indexed": false, - "name": "criteriaStatus", - "nodeType": "VariableDeclaration", - "scope": 51, - "src": "651:19:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 48, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "651:4:0", + "expression": { + "argumentTypes": null, + "id": 120, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 115, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1287:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 117, + "indexExpression": { + "argumentTypes": null, + "id": 116, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 90, + "src": "1303:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1287:29:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 118, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "isActive", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "1287:38:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 119, + "name": "isActive", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 84, + "src": "1328:8:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "1287:49:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "value": null, - "visibility": "internal" - } - ], - "src": "619:52:0" - }, - "src": "590:82:0" - }, - { - "body": { - "id": 75, - "nodeType": "Block", - "src": "763:134:0", - "statements": [ + "id": 121, + "nodeType": "ExpressionStatement", + "src": "1287:49:0" + }, { - "condition": { + "expression": { "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 61, + "id": 132, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "leftExpression": { + "leftHandSide": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 58, - "name": "CriteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "774:13:0", + "baseExpression": { + "argumentTypes": null, + "id": 122, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1349:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 124, + "indexExpression": { + "argumentTypes": null, + "id": 123, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 90, + "src": "1365:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1349:29:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 125, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1349:35:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 128, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 90, + "src": "1406:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "argumentTypes": null, + "id": 126, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1387:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 127, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "push", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1387:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) returns (uint256)" + } + }, + "id": 129, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1387:32:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 59, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "774:20:0", + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 130, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1422:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1387:36:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 60, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "798:1:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "774:25:0", + "src": "1349:74:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "falseBody": null, - "id": 64, - "nodeType": "IfStatement", - "src": "770:43:0", - "trueBody": { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 62, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "808:5:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 57, - "id": 63, - "nodeType": "Return", - "src": "801:12:0" - } + "id": 133, + "nodeType": "ExpressionStatement", + "src": "1349:74:0" }, { - "expression": { + "eventCall": { "argumentTypes": null, - "components": [ + "arguments": [ { "argumentTypes": null, - "commonType": { + "id": 135, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 90, + "src": "1460:12:0", + "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" - }, - "id": 72, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { + } + }, + { + "argumentTypes": null, + "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 65, - "name": "CriteriaIndex", + "id": 136, + "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "828:13:0", + "referencedDeclaration": 16, + "src": "1481:15:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 70, + "id": 138, "indexExpression": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 66, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "842:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 68, - "indexExpression": { - "argumentTypes": null, - "id": 67, - "name": "indexExist", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 53, - "src": "858:10:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "842:27:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 69, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "index", - "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "842:33:0", + "id": 137, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 90, + "src": "1497:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6507,73 +8479,220 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "828:48:0", + "src": "1481:29:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 71, - "name": "indexExist", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 53, - "src": "880:10:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "src": "828:62:0", + "id": 139, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1481:35:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 140, + "name": "newCriteriaText", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 78, + "src": "1525:15:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "argumentTypes": null, + "id": 141, + "name": "maxScore", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 82, + "src": "1549:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } + ], + "id": 134, + "name": "LogNewCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 29, + "src": "1437:14:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256,string memory,uint256)" } - ], - "id": 73, + }, + "id": 142, "isConstant": false, - "isInlineArray": false, "isLValue": false, "isPure": false, + "kind": "functionCall", "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "827:64:0", + "names": [], + "nodeType": "FunctionCall", + "src": "1437:121:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "functionReturnParameters": 57, - "id": 74, + "id": 143, + "nodeType": "EmitStatement", + "src": "1432:126:0" + }, + { + "expression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 144, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1572:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 145, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1572:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 146, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1595:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1572:24:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 88, + "id": 148, "nodeType": "Return", - "src": "820:71:0" + "src": "1565:31:0" } ] }, "documentation": null, - "id": 76, + "id": 150, "implemented": true, "isConstructor": false, - "isDeclaredConst": true, + "isDeclaredConst": false, "modifiers": [], - "name": "isCriteria", + "name": "insertCriteria", "nodeType": "FunctionDefinition", "parameters": { - "id": 54, + "id": 85, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 53, - "name": "indexExist", + "id": 78, + "name": "newCriteriaText", "nodeType": "VariableDeclaration", - "scope": 76, - "src": "698:15:0", + "scope": 150, + "src": "933:22:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 77, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "933:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 80, + "name": "minScore", + "nodeType": "VariableDeclaration", + "scope": 150, + "src": "962:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6581,10 +8700,36 @@ "typeString": "uint256" }, "typeName": { - "id": 52, + "id": 79, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "698:4:0", + "src": "962:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 82, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 150, + "src": "982:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 81, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "982:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6592,68 +8737,272 @@ }, "value": null, "visibility": "internal" + }, + { + "constant": false, + "id": 84, + "name": "isActive", + "nodeType": "VariableDeclaration", + "scope": 150, + "src": "1002:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 83, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1002:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" } ], - "src": "697:17:0" + "src": "926:90:0" }, "payable": false, "returnParameters": { - "id": 57, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 56, - "name": "isIndeed", + "id": 87, + "name": "index", "nodeType": "VariableDeclaration", - "scope": 76, - "src": "748:13:0", + "scope": 150, + "src": "1038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 55, - "name": "bool", + "id": 86, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "748:4:0", + "src": "1038:7:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "747:15:0" + "src": "1037:15:0" + }, + "scope": 504, + "src": "903:699:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 156, + "nodeType": "Block", + "src": "1647:33:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 154, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "1654:20:0", + "subExpression": { + "argumentTypes": null, + "id": 153, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1661:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 155, + "nodeType": "ExpressionStatement", + "src": "1654:20:0" + } + ] }, - "scope": 416, - "src": "678:219:0", - "stateMutability": "view", + "documentation": null, + "id": 157, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "deleteAllCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 151, + "nodeType": "ParameterList", + "parameters": [], + "src": "1634:2:0" + }, + "payable": false, + "returnParameters": { + "id": 152, + "nodeType": "ParameterList", + "parameters": [], + "src": "1647:0:0" + }, + "scope": 504, + "src": "1608:72:0", + "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 149, + "id": 226, "nodeType": "Block", - "src": "1053:543:0", + "src": "1775:592:0", "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 167, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "1786:32:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 165, + "name": "deleteCriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 159, + "src": "1798:19:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 164, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 76, + "src": "1787:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1787:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 171, + "nodeType": "IfStatement", + "src": "1782:46:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 168, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 979, + 980 + ], + "referencedDeclaration": 979, + "src": "1820:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 169, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1820:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 170, + "nodeType": "ExpressionStatement", + "src": "1820:8:0" + } + }, { "assignments": [ - 90 + 173 ], "declarations": [ { "constant": false, - "id": 90, - "name": "currentIndex", + "id": 173, + "name": "rowToDelete", "nodeType": "VariableDeclaration", - "scope": 150, - "src": "1060:20:0", + "scope": 227, + "src": "1837:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6661,10 +9010,10 @@ "typeString": "uint256" }, "typeName": { - "id": 89, + "id": 172, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1060:7:0", + "src": "1837:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6674,277 +9023,238 @@ "visibility": "internal" } ], - "id": 93, + "id": 178, "initialValue": { "argumentTypes": null, - "arguments": [], "expression": { - "argumentTypes": [], - "id": 91, - "name": "getCriteriaCount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 403, - "src": "1083:16:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", - "typeString": "function () view returns (uint256)" - } - }, - "id": 92, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1083:18:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1060:41:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 99, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { "argumentTypes": null, - "expression": { + "baseExpression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 94, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "1108:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 96, - "indexExpression": { - "argumentTypes": null, - "id": 95, - "name": "currentIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 90, - "src": "1124:12:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1108:29:0", + "id": 174, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "1859:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 97, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "criteriaText", - "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "1108:42:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 98, - "name": "newCriteriaText", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 78, - "src": "1153:15:0", + "id": 176, + "indexExpression": { + "argumentTypes": null, + "id": 175, + "name": "deleteCriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 159, + "src": "1875:19:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1859:36:0", "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "src": "1108:60:0", + "id": 177, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1859:42:0", "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 100, - "nodeType": "ExpressionStatement", - "src": "1108:60:0" + "nodeType": "VariableDeclarationStatement", + "src": "1837:64:0" }, { - "expression": { + "assignments": [ + 180 + ], + "declarations": [ + { + "constant": false, + "id": 180, + "name": "keyToMove", + "nodeType": "VariableDeclaration", + "scope": 227, + "src": "1908:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 179, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1908:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 187, + "initialValue": { "argumentTypes": null, - "id": 106, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { + "baseExpression": { "argumentTypes": null, - "expression": { + "id": 181, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1930:13:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 186, + "indexExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 185, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 101, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "1175:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 103, - "indexExpression": { + "expression": { "argumentTypes": null, - "id": 102, - "name": "currentIndex", + "id": 182, + "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 90, - "src": "1191:12:0", + "referencedDeclaration": 19, + "src": "1944:13:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, + "id": 183, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1175:29:0", + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1944:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 104, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "minScore", - "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "1175:38:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 105, - "name": "minScore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 80, - "src": "1216:8:0", + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 184, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1967:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1944:24:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1175:49:0", + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1930:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 107, - "nodeType": "ExpressionStatement", - "src": "1175:49:0" + "nodeType": "VariableDeclarationStatement", + "src": "1908:61:0" }, { "expression": { "argumentTypes": null, - "id": 113, + "id": 192, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "expression": { + "baseExpression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 108, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "1231:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 110, - "indexExpression": { - "argumentTypes": null, - "id": 109, - "name": "currentIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 90, - "src": "1247:12:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1231:29:0", + "id": 188, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "1976:13:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 190, + "indexExpression": { + "argumentTypes": null, + "id": 189, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 173, + "src": "1990:11:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 111, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberName": "maxScore", - "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "1231:38:0", + "nodeType": "IndexAccess", + "src": "1976:26:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6954,31 +9264,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 112, - "name": "maxScore", + "id": 191, + "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 82, - "src": "1272:8:0", + "referencedDeclaration": 180, + "src": "2005:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1231:49:0", + "src": "1976:38:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 114, + "id": 193, "nodeType": "ExpressionStatement", - "src": "1231:49:0" + "src": "1976:38:0" }, { "expression": { "argumentTypes": null, - "id": 120, + "id": 199, "isConstant": false, "isLValue": false, "isPure": false, @@ -6989,26 +9299,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 115, + "id": 194, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1287:15:0", + "src": "2021:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 117, + "id": 196, "indexExpression": { "argumentTypes": null, - "id": 116, - "name": "currentIndex", + "id": 195, + "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 90, - "src": "1303:12:0", + "referencedDeclaration": 180, + "src": "2037:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7019,228 +9329,171 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1287:29:0", + "src": "2021:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 118, + "id": 197, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberName": "isActive", + "memberName": "index", "nodeType": "MemberAccess", - "referencedDeclaration": 9, - "src": "1287:38:0", + "referencedDeclaration": 11, + "src": "2021:32:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 119, - "name": "isActive", + "id": 198, + "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 84, - "src": "1328:8:0", + "referencedDeclaration": 173, + "src": "2056:11:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "src": "1287:49:0", + "src": "2021:46:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 121, + "id": 200, "nodeType": "ExpressionStatement", - "src": "1287:49:0" + "src": "2021:46:0" }, { "expression": { "argumentTypes": null, - "id": 132, + "id": 204, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "leftHandSide": { + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "2074:22:0", + "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 122, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "1343:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 124, - "indexExpression": { - "argumentTypes": null, - "id": 123, - "name": "currentIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 90, - "src": "1359:12:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1343:29:0", + "id": 201, + "name": "CriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 19, + "src": "2074:13:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, - "id": 125, + "id": 203, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberName": "index", + "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "1343:35:0", + "referencedDeclaration": null, + "src": "2074:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 131, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 205, + "nodeType": "ExpressionStatement", + "src": "2074:22:0" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 128, - "name": "currentIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 90, - "src": "1400:12:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 126, - "name": "CriteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1381:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1381:18:0", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) returns (uint256)" - } - }, - "id": 129, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1381:32:0", + "id": 207, + "name": "deleteCriteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 159, + "src": "2136:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { + { "argumentTypes": null, - "hexValue": "31", - "id": 130, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1416:1:0", - "subdenomination": null, + "id": 208, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 173, + "src": "2164:11:0", "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, - "value": "1" - }, - "src": "1381:36:0", + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 206, + "name": "LogDeleteCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 45, + "src": "2110:17:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256)" } }, - "src": "1343:74:0", + "id": 209, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2110:66:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 133, - "nodeType": "ExpressionStatement", - "src": "1343:74:0" + "id": 210, + "nodeType": "EmitStatement", + "src": "2105:71:0" }, { "eventCall": { @@ -7248,12 +9501,25 @@ "arguments": [ { "argumentTypes": null, - "id": 135, - "name": "currentIndex", + "id": 212, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 180, + "src": "2214:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 213, + "name": "rowToDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 90, - "src": "1454:12:0", + "referencedDeclaration": 173, + "src": "2232:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7265,26 +9531,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 136, + "id": 214, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "1475:15:0", + "src": "2252:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 138, + "id": 216, "indexExpression": { "argumentTypes": null, - "id": 137, - "name": "currentIndex", + "id": 215, + "name": "keyToMove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 90, - "src": "1491:12:0", + "referencedDeclaration": 180, + "src": "2268:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7295,47 +9561,77 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1475:29:0", + "src": "2252:26:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 139, + "id": 217, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "index", + "memberName": "criteriaText", "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "1475:35:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 140, - "name": "newCriteriaText", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 78, - "src": "1519:15:0", + "referencedDeclaration": 3, + "src": "2252:39:0", "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, { "argumentTypes": null, - "id": 141, - "name": "maxScore", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 82, - "src": "1543:8:0", + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 218, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2300:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 220, + "indexExpression": { + "argumentTypes": null, + "id": 219, + "name": "keyToMove", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 180, + "src": "2316:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2300:26:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 221, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "2300:35:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7353,26 +9649,26 @@ "typeString": "uint256" }, { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], - "id": 134, - "name": "LogNewCriteria", + "id": 211, + "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 29, - "src": "1431:14:0", + "referencedDeclaration": 39, + "src": "2188:17:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256,string memory,uint256)" } }, - "id": 142, + "id": 222, "isConstant": false, "isLValue": false, "isPure": false, @@ -7380,221 +9676,90 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1431:121:0", + "src": "2188:148:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 143, - "nodeType": "EmitStatement", - "src": "1426:126:0" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 144, - "name": "CriteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1566:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 145, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1566:20:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1589:1:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1566:24:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 88, - "id": 148, - "nodeType": "Return", - "src": "1559:31:0" - } - ] - }, - "documentation": null, - "id": 150, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": false, - "modifiers": [], - "name": "insertCriteria", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 85, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 78, - "name": "newCriteriaText", - "nodeType": "VariableDeclaration", - "scope": 150, - "src": "933:22:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 77, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "933:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 80, - "name": "minScore", - "nodeType": "VariableDeclaration", - "scope": 150, - "src": "962:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 79, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "962:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 82, - "name": "maxScore", - "nodeType": "VariableDeclaration", - "scope": 150, - "src": "982:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 81, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "982:4:0", + "id": 223, + "nodeType": "EmitStatement", + "src": "2183:153:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 224, + "name": "rowToDelete", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 173, + "src": "2350:11:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "value": null, - "visibility": "internal" - }, + "functionReturnParameters": 163, + "id": 225, + "nodeType": "Return", + "src": "2343:18:0" + } + ] + }, + "documentation": null, + "id": 227, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "deleteCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 160, + "nodeType": "ParameterList", + "parameters": [ { "constant": false, - "id": 84, - "name": "isActive", + "id": 159, + "name": "deleteCriteriaIndex", "nodeType": "VariableDeclaration", - "scope": 150, - "src": "1002:13:0", + "scope": 227, + "src": "1710:27:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 83, - "name": "bool", + "id": 158, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1002:4:0", + "src": "1710:7:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "926:90:0" + "src": "1709:29:0" }, "payable": false, "returnParameters": { - "id": 88, + "id": 163, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 87, + "id": 162, "name": "index", "nodeType": "VariableDeclaration", - "scope": 150, - "src": "1038:13:0", + "scope": 227, + "src": "1760:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7602,10 +9767,10 @@ "typeString": "uint256" }, "typeName": { - "id": 86, + "id": 161, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1038:7:0", + "src": "1760:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7615,93 +9780,24 @@ "visibility": "internal" } ], - "src": "1037:15:0" - }, - "scope": 416, - "src": "903:693:0", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 156, - "nodeType": "Block", - "src": "1641:33:0", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1648:20:0", - "subExpression": { - "argumentTypes": null, - "id": 153, - "name": "CriteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1655:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 155, - "nodeType": "ExpressionStatement", - "src": "1648:20:0" - } - ] - }, - "documentation": null, - "id": 157, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": false, - "modifiers": [], - "name": "deleteAllCriteria", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 151, - "nodeType": "ParameterList", - "parameters": [], - "src": "1628:2:0" - }, - "payable": false, - "returnParameters": { - "id": 152, - "nodeType": "ParameterList", - "parameters": [], - "src": "1641:0:0" + "src": "1759:15:0" }, - "scope": 416, - "src": "1602:72:0", + "scope": 504, + "src": "1686:681:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 226, + "id": 266, "nodeType": "Block", - "src": "1769:592:0", + "src": "2516:266:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 167, + "id": 243, "isConstant": false, "isLValue": false, "isPure": false, @@ -7709,18 +9805,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "1780:32:0", + "src": "2527:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 165, - "name": "deleteCriteriaIndex", + "id": 241, + "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 159, - "src": "1792:19:0", + "referencedDeclaration": 229, + "src": "2539:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7728,645 +9824,638 @@ } ], "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 164, - "name": "isCriteria", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 76, - "src": "1781:10:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1781:31:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 171, - "nodeType": "IfStatement", - "src": "1776:46:0", - "trueBody": { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 168, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 436, - 437 - ], - "referencedDeclaration": 436, - "src": "1814:6:0", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1814:8:0", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 170, - "nodeType": "ExpressionStatement", - "src": "1814:8:0" - } - }, - { - "assignments": [ - 173 - ], - "declarations": [ - { - "constant": false, - "id": 173, - "name": "rowToDelete", - "nodeType": "VariableDeclaration", - "scope": 227, - "src": "1831:19:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 172, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1831:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 178, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 174, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "1853:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 176, - "indexExpression": { - "argumentTypes": null, - "id": 175, - "name": "deleteCriteriaIndex", + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 240, + "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 159, - "src": "1869:19:0", + "referencedDeclaration": 76, + "src": "2528:10:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" } }, + "id": 242, "isConstant": false, - "isLValue": true, + "isLValue": false, "isPure": false, + "kind": "functionCall", "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1853:36:0", + "names": [], + "nodeType": "FunctionCall", + "src": "2528:25:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 177, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "index", - "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "1853:42:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "nodeType": "VariableDeclarationStatement", - "src": "1831:64:0" + "falseBody": null, + "id": 247, + "nodeType": "IfStatement", + "src": "2523:40:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 244, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 979, + 980 + ], + "referencedDeclaration": 979, + "src": "2555:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 245, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2555:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 246, + "nodeType": "ExpressionStatement", + "src": "2555:8:0" + } }, { - "assignments": [ - 180 - ], - "declarations": [ - { - "constant": false, - "id": 180, - "name": "keyToMove", - "nodeType": "VariableDeclaration", - "scope": 227, - "src": "1902:17:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 248, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2588:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 250, + "indexExpression": { + "argumentTypes": null, + "id": 249, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 229, + "src": "2604:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2588:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 251, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "criteriaText", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2588:43:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } }, - "typeName": { - "id": 179, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1902:7:0", + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 252, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2640:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 254, + "indexExpression": { + "argumentTypes": null, + "id": 253, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 229, + "src": "2656:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2640:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 255, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "maxScore", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "2640:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "value": null, - "visibility": "internal" - } - ], - "id": 187, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 181, - "name": "CriteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1924:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 186, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { + { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 182, - "name": "CriteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1938:13:0", + "baseExpression": { + "argumentTypes": null, + "id": 256, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2688:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 258, + "indexExpression": { + "argumentTypes": null, + "id": 257, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 229, + "src": "2704:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2688:30:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 183, + "id": 259, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "length", + "memberName": "minScore", "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1938:20:0", + "referencedDeclaration": 5, + "src": "2688:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { + { "argumentTypes": null, - "hexValue": "31", - "id": 184, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 260, + "name": "CriteriaStructs", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2736:15:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", + "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" + } + }, + "id": 262, + "indexExpression": { + "argumentTypes": null, + "id": 261, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 229, + "src": "2752:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2736:30:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", + "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + } + }, + "id": 263, "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", + "isLValue": true, + "isPure": false, "lValueRequested": false, - "nodeType": "Literal", - "src": "1961:1:0", - "subdenomination": null, + "memberName": "isActive", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "2736:39:0", "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1938:24:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" + } } - }, + ], + "id": 264, "isConstant": false, - "isLValue": true, + "isInlineArray": false, + "isLValue": false, "isPure": false, "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1924:39:0", + "nodeType": "TupleExpression", + "src": "2579:197:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_string_storage_$_t_uint256_$_t_uint256_$_t_bool_$", + "typeString": "tuple(string storage ref,uint256,uint256,bool)" + } + }, + "functionReturnParameters": 239, + "id": 265, + "nodeType": "Return", + "src": "2572:204:0" + } + ] + }, + "documentation": null, + "id": 267, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getCriteria", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 230, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 229, + "name": "criteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 267, + "src": "2394:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 228, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2394:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "nodeType": "VariableDeclarationStatement", - "src": "1902:61:0" + "value": null, + "visibility": "internal" + } + ], + "src": "2393:23:0" + }, + "payable": false, + "returnParameters": { + "id": 239, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 232, + "name": "criteriaText", + "nodeType": "VariableDeclaration", + "scope": 267, + "src": "2450:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 231, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2450:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" }, { - "expression": { - "argumentTypes": null, - "id": 192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 188, - "name": "CriteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1970:13:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 190, - "indexExpression": { - "argumentTypes": null, - "id": 189, - "name": "rowToDelete", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "1984:11:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1970:26:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 191, - "name": "keyToMove", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 180, - "src": "1999:9:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1970:38:0", + "constant": false, + "id": 234, + "name": "maxScore", + "nodeType": "VariableDeclaration", + "scope": 267, + "src": "2471:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 233, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2471:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 236, + "name": "minScore", + "nodeType": "VariableDeclaration", + "scope": 267, + "src": "2486:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 235, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2486:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 193, - "nodeType": "ExpressionStatement", - "src": "1970:38:0" + "value": null, + "visibility": "internal" }, { - "expression": { + "constant": false, + "id": 238, + "name": "isActive", + "nodeType": "VariableDeclaration", + "scope": 267, + "src": "2501:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 237, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2501:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2449:66:0" + }, + "scope": 504, + "src": "2373:409:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 288, + "nodeType": "Block", + "src": "2892:122:0", + "statements": [ + { + "condition": { "argumentTypes": null, - "id": 199, + "id": 277, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "leftHandSide": { + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2903:26:0", + "subExpression": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 194, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2015:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 196, - "indexExpression": { + "arguments": [ + { "argumentTypes": null, - "id": 195, - "name": "keyToMove", + "id": 275, + "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 180, - "src": "2031:9:0", + "referencedDeclaration": 269, + "src": "2915:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2015:26:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } - }, - "id": 197, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "index", - "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "2015:32:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 198, - "name": "rowToDelete", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "2050:11:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2015:46:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 200, - "nodeType": "ExpressionStatement", - "src": "2015:46:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "2068:22:0", - "subExpression": { - "argumentTypes": null, + ], "expression": { - "argumentTypes": null, - "id": 201, - "name": "CriteriaIndex", + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 274, + "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2068:13:0", + "referencedDeclaration": 76, + "src": "2904:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" } }, - "id": 203, + "id": 276, "isConstant": false, - "isLValue": true, + "isLValue": false, "isPure": false, - "lValueRequested": true, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2068:20:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 205, - "nodeType": "ExpressionStatement", - "src": "2068:22:0" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 207, - "name": "deleteCriteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 159, - "src": "2130:19:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 208, - "name": "rowToDelete", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "2158:11:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 206, - "name": "LogDeleteCriteria", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 45, - "src": "2104:17:0", + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2904:25:0", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256)" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 209, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2104:66:0", "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 210, - "nodeType": "EmitStatement", - "src": "2099:71:0" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 212, - "name": "keyToMove", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 180, - "src": "2208:9:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 213, - "name": "rowToDelete", + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 281, + "nodeType": "IfStatement", + "src": "2899:40:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 278, + "name": "revert", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "2226:11:0", + "overloadedDeclarations": [ + 979, + 980 + ], + "referencedDeclaration": 979, + "src": "2931:6:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" } }, + "id": 279, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2931:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 280, + "nodeType": "ExpressionStatement", + "src": "2931:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "components": [ { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 214, + "id": 282, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2246:15:0", + "src": "2964:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 216, + "id": 284, "indexExpression": { "argumentTypes": null, - "id": 215, - "name": "keyToMove", + "id": 283, + "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 180, - "src": "2262:9:0", + "referencedDeclaration": 269, + "src": "2980:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8377,13 +10466,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2246:26:0", + "src": "2964:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 217, + "id": 285, "isConstant": false, "isLValue": true, "isPure": false, @@ -8391,38 +10480,259 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2246:39:0", + "src": "2964:43:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } + } + ], + "id": 286, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2955:53:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "functionReturnParameters": 273, + "id": 287, + "nodeType": "Return", + "src": "2948:60:0" + } + ] + }, + "documentation": null, + "id": 289, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getCriteriaText", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 270, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 269, + "name": "criteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 289, + "src": "2815:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 268, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2815:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2814:23:0" + }, + "payable": false, + "returnParameters": { + "id": 273, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 272, + "name": "criteriaText", + "nodeType": "VariableDeclaration", + "scope": 289, + "src": "2871:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 271, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2871:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2870:21:0" + }, + "scope": 504, + "src": "2790:224:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 310, + "nodeType": "Block", + "src": "3112:110:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 299, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3123:26:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 297, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 291, + "src": "3135:13:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 296, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 76, + "src": "3124:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 298, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3124:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 303, + "nodeType": "IfStatement", + "src": "3119:40:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 300, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 979, + 980 + ], + "referencedDeclaration": 979, + "src": "3151:6:0", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" + } }, + "id": 301, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3151:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 302, + "nodeType": "ExpressionStatement", + "src": "3151:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "components": [ { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 218, + "id": 304, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2294:15:0", + "src": "3176:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 220, + "id": 306, "indexExpression": { "argumentTypes": null, - "id": 219, - "name": "keyToMove", + "id": 305, + "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 180, - "src": "2310:9:0", + "referencedDeclaration": 291, + "src": "3192:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8433,13 +10743,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2294:26:0", + "src": "3176:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 221, + "id": 307, "isConstant": false, "isLValue": true, "isPure": false, @@ -8447,101 +10757,52 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "2294:35:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - }, - { + "src": "3176:39:0", + "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } - ], - "id": 211, - "name": "LogUpdateCriteria", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 39, - "src": "2182:17:0", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256,uint256,string memory,uint256)" } - }, - "id": 222, + ], + "id": 308, "isConstant": false, + "isInlineArray": false, "isLValue": false, "isPure": false, - "kind": "functionCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2182:148:0", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 223, - "nodeType": "EmitStatement", - "src": "2177:153:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 224, - "name": "rowToDelete", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "2344:11:0", + "nodeType": "TupleExpression", + "src": "3175:41:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 163, - "id": 225, + "functionReturnParameters": 295, + "id": 309, "nodeType": "Return", - "src": "2337:18:0" + "src": "3168:48:0" } ] }, "documentation": null, - "id": 227, + "id": 311, "implemented": true, "isConstructor": false, - "isDeclaredConst": false, + "isDeclaredConst": true, "modifiers": [], - "name": "deleteCriteria", + "name": "getMaxScore", "nodeType": "FunctionDefinition", "parameters": { - "id": 160, + "id": 292, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 159, - "name": "deleteCriteriaIndex", + "id": 291, + "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 227, - "src": "1704:27:0", + "scope": 311, + "src": "3041:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8549,10 +10810,10 @@ "typeString": "uint256" }, "typeName": { - "id": 158, + "id": 290, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1704:7:0", + "src": "3041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8562,20 +10823,20 @@ "visibility": "internal" } ], - "src": "1703:29:0" + "src": "3040:23:0" }, "payable": false, "returnParameters": { - "id": 163, + "id": 295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 162, - "name": "index", + "id": 294, + "name": "maxScore", "nodeType": "VariableDeclaration", - "scope": 227, - "src": "1754:13:0", + "scope": 311, + "src": "3097:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8583,10 +10844,10 @@ "typeString": "uint256" }, "typeName": { - "id": 161, - "name": "uint256", + "id": 293, + "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1754:7:0", + "src": "3097:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8596,24 +10857,24 @@ "visibility": "internal" } ], - "src": "1753:15:0" + "src": "3096:15:0" }, - "scope": 416, - "src": "1680:681:0", - "stateMutability": "nonpayable", + "scope": 504, + "src": "3020:202:0", + "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 266, + "id": 332, "nodeType": "Block", - "src": "2510:266:0", + "src": "3320:110:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 243, + "id": 321, "isConstant": false, "isLValue": false, "isPure": false, @@ -8621,18 +10882,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2521:26:0", + "src": "3331:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 241, + "id": 319, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2533:13:0", + "referencedDeclaration": 313, + "src": "3343:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8646,18 +10907,18 @@ "typeString": "uint256" } ], - "id": 240, + "id": 318, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "2522:10:0", + "src": "3332:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 242, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, @@ -8665,7 +10926,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2522:25:0", + "src": "3332:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8677,30 +10938,30 @@ } }, "falseBody": null, - "id": 247, + "id": 325, "nodeType": "IfStatement", - "src": "2517:40:0", + "src": "3327:40:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 244, + "id": 322, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 436, - 437 + 979, + 980 ], - "referencedDeclaration": 436, - "src": "2549:6:0", + "referencedDeclaration": 979, + "src": "3359:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 245, + "id": 323, "isConstant": false, "isLValue": false, "isPure": false, @@ -8708,15 +10969,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2549:8:0", + "src": "3359:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 246, + "id": 324, "nodeType": "ExpressionStatement", - "src": "2549:8:0" + "src": "3359:8:0" } }, { @@ -8729,26 +10990,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 248, + "id": 326, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2582:15:0", + "src": "3384:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 250, + "id": 328, "indexExpression": { "argumentTypes": null, - "id": 249, + "id": 327, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2598:13:0", + "referencedDeclaration": 313, + "src": "3400:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8759,164 +11020,273 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2582:30:0", + "src": "3384:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 251, + "id": 329, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "criteriaText", + "memberName": "minScore", "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "2582:43:0", + "referencedDeclaration": 5, + "src": "3384:39:0", "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } - }, - { - "argumentTypes": null, - "expression": { + } + ], + "id": 330, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "3383:41:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 317, + "id": 331, + "nodeType": "Return", + "src": "3376:48:0" + } + ] + }, + "documentation": null, + "id": 333, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getMinScore", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 314, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 313, + "name": "criteriaIndex", + "nodeType": "VariableDeclaration", + "scope": 333, + "src": "3249:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 312, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3249:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3248:23:0" + }, + "payable": false, + "returnParameters": { + "id": 317, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 316, + "name": "minScore", + "nodeType": "VariableDeclaration", + "scope": 333, + "src": "3305:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 315, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3305:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3304:15:0" + }, + "scope": 504, + "src": "3228:202:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 354, + "nodeType": "Block", + "src": "3526:110:0", + "statements": [ + { + "condition": { + "argumentTypes": null, + "id": 343, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3537:26:0", + "subExpression": { + "argumentTypes": null, + "arguments": [ + { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 252, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2634:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 254, - "indexExpression": { - "argumentTypes": null, - "id": 253, - "name": "criteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2650:13:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2634:30:0", + "id": 341, + "name": "criteriaIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 335, + "src": "3549:13:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } - }, - "id": 255, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "maxScore", - "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "2634:39:0", + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 340, + "name": "isCriteria", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 76, + "src": "3538:10:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" } }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 256, - "name": "CriteriaStructs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2682:15:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", - "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" - } - }, - "id": 258, - "indexExpression": { - "argumentTypes": null, - "id": 257, - "name": "criteriaIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2698:13:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2682:30:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", - "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" - } - }, - "id": 259, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "minScore", - "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "2682:39:0", + "id": 342, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3538:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 347, + "nodeType": "IfStatement", + "src": "3533:40:0", + "trueBody": { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 344, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 979, + 980 + ], + "referencedDeclaration": 979, + "src": "3565:6:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_function_revert_pure$__$returns$__$", + "typeString": "function () pure" } }, + "id": 345, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3565:8:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 346, + "nodeType": "ExpressionStatement", + "src": "3565:8:0" + } + }, + { + "expression": { + "argumentTypes": null, + "components": [ { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 260, + "id": 348, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2730:15:0", + "src": "3590:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 262, + "id": 350, "indexExpression": { "argumentTypes": null, - "id": 261, + "id": 349, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2746:13:0", + "referencedDeclaration": 335, + "src": "3606:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8927,13 +11297,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2730:30:0", + "src": "3590:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 263, + "id": 351, "isConstant": false, "isLValue": true, "isPure": false, @@ -8941,52 +11311,52 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "2730:39:0", + "src": "3590:39:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 264, + "id": 352, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2573:197:0", + "src": "3589:41:0", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_string_storage_$_t_uint256_$_t_uint256_$_t_bool_$", - "typeString": "tuple(string storage ref,uint256,uint256,bool)" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "functionReturnParameters": 239, - "id": 265, + "functionReturnParameters": 339, + "id": 353, "nodeType": "Return", - "src": "2566:204:0" + "src": "3582:48:0" } ] }, "documentation": null, - "id": 267, + "id": 355, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], - "name": "getCriteria", + "name": "getStatus", "nodeType": "FunctionDefinition", "parameters": { - "id": 230, + "id": 336, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 229, + "id": 335, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 267, - "src": "2388:21:0", + "scope": 355, + "src": "3455:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8994,10 +11364,10 @@ "typeString": "uint256" }, "typeName": { - "id": 228, + "id": 334, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2388:7:0", + "src": "3455:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9007,98 +11377,20 @@ "visibility": "internal" } ], - "src": "2387:23:0" + "src": "3454:23:0" }, "payable": false, "returnParameters": { - "id": 239, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 232, - "name": "criteriaText", - "nodeType": "VariableDeclaration", - "scope": 267, - "src": "2444:19:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 231, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2444:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 234, - "name": "maxScore", - "nodeType": "VariableDeclaration", - "scope": 267, - "src": "2465:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 233, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2465:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 236, - "name": "minScore", - "nodeType": "VariableDeclaration", - "scope": 267, - "src": "2480:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 235, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2480:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 238, + "id": 338, "name": "isActive", "nodeType": "VariableDeclaration", - "scope": 267, - "src": "2495:13:0", + "scope": 355, + "src": "3511:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9106,10 +11398,10 @@ "typeString": "bool" }, "typeName": { - "id": 237, + "id": 337, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2495:4:0", + "src": "3511:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9119,24 +11411,24 @@ "visibility": "internal" } ], - "src": "2443:66:0" + "src": "3510:15:0" }, - "scope": 416, - "src": "2367:409:0", + "scope": 504, + "src": "3436:200:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 306, + "id": 394, "nodeType": "Block", - "src": "2889:304:0", + "src": "3751:304:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 279, + "id": 367, "isConstant": false, "isLValue": false, "isPure": false, @@ -9144,18 +11436,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2900:26:0", + "src": "3762:26:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 277, + "id": 365, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "2912:13:0", + "referencedDeclaration": 357, + "src": "3774:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9169,18 +11461,18 @@ "typeString": "uint256" } ], - "id": 276, + "id": 364, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "2901:10:0", + "src": "3763:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 278, + "id": 366, "isConstant": false, "isLValue": false, "isPure": false, @@ -9188,7 +11480,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2901:25:0", + "src": "3763:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9200,30 +11492,30 @@ } }, "falseBody": null, - "id": 283, + "id": 371, "nodeType": "IfStatement", - "src": "2896:40:0", + "src": "3758:40:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 280, + "id": 368, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 436, - 437 + 979, + 980 ], - "referencedDeclaration": 436, - "src": "2928:6:0", + "referencedDeclaration": 979, + "src": "3790:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 281, + "id": 369, "isConstant": false, "isLValue": false, "isPure": false, @@ -9231,21 +11523,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2928:8:0", + "src": "3790:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 282, + "id": 370, "nodeType": "ExpressionStatement", - "src": "2928:8:0" + "src": "3790:8:0" } }, { "expression": { "argumentTypes": null, - "id": 289, + "id": 377, "isConstant": false, "isLValue": false, "isPure": false, @@ -9256,26 +11548,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 284, + "id": 372, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "2945:15:0", + "src": "3807:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 286, + "id": 374, "indexExpression": { "argumentTypes": null, - "id": 285, + "id": 373, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "2961:13:0", + "referencedDeclaration": 357, + "src": "3823:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9286,13 +11578,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2945:30:0", + "src": "3807:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 287, + "id": 375, "isConstant": false, "isLValue": true, "isPure": false, @@ -9300,7 +11592,7 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "2945:43:0", + "src": "3807:43:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -9310,26 +11602,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 288, + "id": 376, "name": "criteriaText", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 271, - "src": "2991:12:0", + "referencedDeclaration": 359, + "src": "3853:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "2945:58:0", + "src": "3807:58:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 290, + "id": 378, "nodeType": "ExpressionStatement", - "src": "2945:58:0" + "src": "3807:58:0" }, { "eventCall": { @@ -9337,12 +11629,12 @@ "arguments": [ { "argumentTypes": null, - "id": 292, + "id": 380, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "3041:13:0", + "referencedDeclaration": 357, + "src": "3903:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9354,26 +11646,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 293, + "id": 381, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3063:15:0", + "src": "3925:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 295, + "id": 383, "indexExpression": { "argumentTypes": null, - "id": 294, + "id": 382, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "3079:13:0", + "referencedDeclaration": 357, + "src": "3941:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9384,13 +11676,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3063:30:0", + "src": "3925:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 296, + "id": 384, "isConstant": false, "isLValue": true, "isPure": false, @@ -9398,7 +11690,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "3063:36:0", + "src": "3925:36:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9406,12 +11698,12 @@ }, { "argumentTypes": null, - "id": 297, + "id": 385, "name": "criteriaText", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 271, - "src": "3108:12:0", + "referencedDeclaration": 359, + "src": "3970:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9423,26 +11715,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 298, + "id": 386, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3129:15:0", + "src": "3991:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 300, + "id": 388, "indexExpression": { "argumentTypes": null, - "id": 299, + "id": 387, "name": "criteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 269, - "src": "3145:13:0", + "referencedDeclaration": 357, + "src": "4007:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9453,13 +11745,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3129:30:0", + "src": "3991:30:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 301, + "id": 389, "isConstant": false, "isLValue": true, "isPure": false, @@ -9467,7 +11759,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "3129:39:0", + "src": "3991:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9493,18 +11785,18 @@ "typeString": "uint256" } ], - "id": 291, + "id": 379, "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "3015:17:0", + "src": "3877:17:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256,string memory,uint256)" } }, - "id": 302, + "id": 390, "isConstant": false, "isLValue": false, "isPure": false, @@ -9512,28 +11804,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3015:154:0", + "src": "3877:154:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 303, + "id": 391, "nodeType": "EmitStatement", - "src": "3010:159:0" + "src": "3872:159:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 304, + "id": 392, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3183:4:0", + "src": "4045:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9541,15 +11833,15 @@ }, "value": "true" }, - "functionReturnParameters": 275, - "id": 305, + "functionReturnParameters": 363, + "id": 393, "nodeType": "Return", - "src": "3176:11:0" + "src": "4038:11:0" } ] }, "documentation": null, - "id": 307, + "id": 395, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -9557,16 +11849,16 @@ "name": "updateCriteriaText", "nodeType": "FunctionDefinition", "parameters": { - "id": 272, + "id": 360, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 269, + "id": 357, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 307, - "src": "2810:21:0", + "scope": 395, + "src": "3672:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9574,10 +11866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 268, + "id": 356, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2810:7:0", + "src": "3672:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9588,11 +11880,11 @@ }, { "constant": false, - "id": 271, + "id": 359, "name": "criteriaText", "nodeType": "VariableDeclaration", - "scope": 307, - "src": "2833:19:0", + "scope": 395, + "src": "3695:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9600,10 +11892,10 @@ "typeString": "string" }, "typeName": { - "id": 270, + "id": 358, "name": "string", "nodeType": "ElementaryTypeName", - "src": "2833:6:0", + "src": "3695:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9613,20 +11905,20 @@ "visibility": "internal" } ], - "src": "2809:44:0" + "src": "3671:44:0" }, "payable": false, "returnParameters": { - "id": 275, + "id": 363, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 274, + "id": 362, "name": "success", "nodeType": "VariableDeclaration", - "scope": 307, - "src": "2875:12:0", + "scope": 395, + "src": "3737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9634,10 +11926,10 @@ "typeString": "bool" }, "typeName": { - "id": 273, + "id": 361, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2875:4:0", + "src": "3737:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9647,24 +11939,24 @@ "visibility": "internal" } ], - "src": "2874:14:0" + "src": "3736:14:0" }, - "scope": 416, - "src": "2782:411:0", + "scope": 504, + "src": "3644:411:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 358, + "id": 446, "nodeType": "Block", - "src": "3306:328:0", + "src": "4168:328:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 321, + "id": 409, "isConstant": false, "isLValue": false, "isPure": false, @@ -9672,18 +11964,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3317:18:0", + "src": "4179:18:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 319, + "id": 407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3329:5:0", + "referencedDeclaration": 397, + "src": "4191:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9697,18 +11989,18 @@ "typeString": "uint256" } ], - "id": 318, + "id": 406, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "3318:10:0", + "src": "4180:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 320, + "id": 408, "isConstant": false, "isLValue": false, "isPure": false, @@ -9716,7 +12008,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3318:17:0", + "src": "4180:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9728,30 +12020,30 @@ } }, "falseBody": null, - "id": 325, + "id": 413, "nodeType": "IfStatement", - "src": "3313:32:0", + "src": "4175:32:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 322, + "id": 410, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 436, - 437 + 979, + 980 ], - "referencedDeclaration": 436, - "src": "3337:6:0", + "referencedDeclaration": 979, + "src": "4199:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 323, + "id": 411, "isConstant": false, "isLValue": false, "isPure": false, @@ -9759,21 +12051,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3337:8:0", + "src": "4199:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 324, + "id": 412, "nodeType": "ExpressionStatement", - "src": "3337:8:0" + "src": "4199:8:0" } }, { "expression": { "argumentTypes": null, - "id": 331, + "id": 419, "isConstant": false, "isLValue": false, "isPure": false, @@ -9784,26 +12076,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 326, + "id": 414, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3354:15:0", + "src": "4216:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 328, + "id": 416, "indexExpression": { "argumentTypes": null, - "id": 327, + "id": 415, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3370:5:0", + "referencedDeclaration": 397, + "src": "4232:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9814,13 +12106,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3354:22:0", + "src": "4216:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 329, + "id": 417, "isConstant": false, "isLValue": true, "isPure": false, @@ -9828,7 +12120,7 @@ "memberName": "maxScore", "nodeType": "MemberAccess", "referencedDeclaration": 7, - "src": "3354:31:0", + "src": "4216:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9838,31 +12130,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 330, + "id": 418, "name": "MaxScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 311, - "src": "3388:8:0", + "referencedDeclaration": 399, + "src": "4250:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3354:42:0", + "src": "4216:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 332, + "id": 420, "nodeType": "ExpressionStatement", - "src": "3354:42:0" + "src": "4216:42:0" }, { "expression": { "argumentTypes": null, - "id": 338, + "id": 426, "isConstant": false, "isLValue": false, "isPure": false, @@ -9873,26 +12165,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 333, + "id": 421, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3403:15:0", + "src": "4265:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 335, + "id": 423, "indexExpression": { "argumentTypes": null, - "id": 334, + "id": 422, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3419:5:0", + "referencedDeclaration": 397, + "src": "4281:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9903,13 +12195,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3403:22:0", + "src": "4265:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 336, + "id": 424, "isConstant": false, "isLValue": true, "isPure": false, @@ -9917,7 +12209,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "3403:31:0", + "src": "4265:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9927,26 +12219,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 337, + "id": 425, "name": "MinScore", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 313, - "src": "3437:8:0", + "referencedDeclaration": 401, + "src": "4299:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3403:42:0", + "src": "4265:42:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 339, + "id": 427, "nodeType": "ExpressionStatement", - "src": "3403:42:0" + "src": "4265:42:0" }, { "eventCall": { @@ -9954,12 +12246,12 @@ "arguments": [ { "argumentTypes": null, - "id": 341, + "id": 429, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3483:5:0", + "referencedDeclaration": 397, + "src": "4345:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9971,26 +12263,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 342, + "id": 430, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3497:15:0", + "src": "4359:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 344, + "id": 432, "indexExpression": { "argumentTypes": null, - "id": 343, + "id": 431, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3513:5:0", + "referencedDeclaration": 397, + "src": "4375:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10001,13 +12293,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3497:22:0", + "src": "4359:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 345, + "id": 433, "isConstant": false, "isLValue": true, "isPure": false, @@ -10015,7 +12307,7 @@ "memberName": "index", "nodeType": "MemberAccess", "referencedDeclaration": 11, - "src": "3497:28:0", + "src": "4359:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10027,26 +12319,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 346, + "id": 434, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3534:15:0", + "src": "4396:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 348, + "id": 436, "indexExpression": { "argumentTypes": null, - "id": 347, + "id": 435, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3550:5:0", + "referencedDeclaration": 397, + "src": "4412:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10057,13 +12349,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3534:22:0", + "src": "4396:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 349, + "id": 437, "isConstant": false, "isLValue": true, "isPure": false, @@ -10071,7 +12363,7 @@ "memberName": "criteriaText", "nodeType": "MemberAccess", "referencedDeclaration": 3, - "src": "3534:35:0", + "src": "4396:35:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -10083,26 +12375,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 350, + "id": 438, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3578:15:0", + "src": "4440:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 352, + "id": 440, "indexExpression": { "argumentTypes": null, - "id": 351, + "id": 439, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 309, - "src": "3594:5:0", + "referencedDeclaration": 397, + "src": "4456:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10113,13 +12405,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3578:22:0", + "src": "4440:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 353, + "id": 441, "isConstant": false, "isLValue": true, "isPure": false, @@ -10127,7 +12419,7 @@ "memberName": "minScore", "nodeType": "MemberAccess", "referencedDeclaration": 5, - "src": "3578:31:0", + "src": "4440:31:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10153,18 +12445,18 @@ "typeString": "uint256" } ], - "id": 340, + "id": 428, "name": "LogUpdateCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 39, - "src": "3457:17:0", + "src": "4319:17:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256,string memory,uint256)" } }, - "id": 354, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, @@ -10172,28 +12464,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3457:153:0", + "src": "4319:153:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 355, + "id": 443, "nodeType": "EmitStatement", - "src": "3452:158:0" + "src": "4314:158:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 356, + "id": 444, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3624:4:0", + "src": "4486:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10201,15 +12493,15 @@ }, "value": "true" }, - "functionReturnParameters": 317, - "id": 357, + "functionReturnParameters": 405, + "id": 445, "nodeType": "Return", - "src": "3617:11:0" + "src": "4479:11:0" } ] }, "documentation": null, - "id": 359, + "id": 447, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -10217,16 +12509,16 @@ "name": "updateMaxMinScore", "nodeType": "FunctionDefinition", "parameters": { - "id": 314, + "id": 402, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 309, + "id": 397, "name": "index", "nodeType": "VariableDeclaration", - "scope": 359, - "src": "3226:13:0", + "scope": 447, + "src": "4088:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10234,10 +12526,10 @@ "typeString": "uint256" }, "typeName": { - "id": 308, + "id": 396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3226:7:0", + "src": "4088:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10248,11 +12540,11 @@ }, { "constant": false, - "id": 311, + "id": 399, "name": "MaxScore", "nodeType": "VariableDeclaration", - "scope": 359, - "src": "3241:13:0", + "scope": 447, + "src": "4103:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10260,10 +12552,10 @@ "typeString": "uint256" }, "typeName": { - "id": 310, + "id": 398, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3241:4:0", + "src": "4103:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10274,11 +12566,11 @@ }, { "constant": false, - "id": 313, + "id": 401, "name": "MinScore", "nodeType": "VariableDeclaration", - "scope": 359, - "src": "3256:13:0", + "scope": 447, + "src": "4118:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10286,10 +12578,10 @@ "typeString": "uint256" }, "typeName": { - "id": 312, + "id": 400, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3256:4:0", + "src": "4118:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10299,20 +12591,20 @@ "visibility": "internal" } ], - "src": "3225:45:0" + "src": "4087:45:0" }, "payable": false, "returnParameters": { - "id": 317, + "id": 405, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 316, + "id": 404, "name": "success", "nodeType": "VariableDeclaration", - "scope": 359, - "src": "3292:12:0", + "scope": 447, + "src": "4154:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10320,10 +12612,10 @@ "typeString": "bool" }, "typeName": { - "id": 315, + "id": 403, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3292:4:0", + "src": "4154:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10333,24 +12625,24 @@ "visibility": "internal" } ], - "src": "3291:14:0" + "src": "4153:14:0" }, - "scope": 416, - "src": "3199:435:0", + "scope": 504, + "src": "4061:435:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 393, + "id": 481, "nodeType": "Block", - "src": "3725:197:0", + "src": "4587:197:0", "statements": [ { "condition": { "argumentTypes": null, - "id": 371, + "id": 459, "isConstant": false, "isLValue": false, "isPure": false, @@ -10358,18 +12650,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3736:18:0", + "src": "4598:18:0", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 369, + "id": 457, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 361, - "src": "3748:5:0", + "referencedDeclaration": 449, + "src": "4610:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10383,18 +12675,18 @@ "typeString": "uint256" } ], - "id": 368, + "id": 456, "name": "isCriteria", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 76, - "src": "3737:10:0", + "src": "4599:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 370, + "id": 458, "isConstant": false, "isLValue": false, "isPure": false, @@ -10402,7 +12694,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3737:17:0", + "src": "4599:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10414,30 +12706,30 @@ } }, "falseBody": null, - "id": 375, + "id": 463, "nodeType": "IfStatement", - "src": "3732:32:0", + "src": "4594:32:0", "trueBody": { "expression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 372, + "id": 460, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 436, - 437 + 979, + 980 ], - "referencedDeclaration": 436, - "src": "3756:6:0", + "referencedDeclaration": 979, + "src": "4618:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 373, + "id": 461, "isConstant": false, "isLValue": false, "isPure": false, @@ -10445,21 +12737,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3756:8:0", + "src": "4618:8:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 374, + "id": 462, "nodeType": "ExpressionStatement", - "src": "3756:8:0" + "src": "4618:8:0" } }, { "expression": { "argumentTypes": null, - "id": 381, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -10470,26 +12762,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 376, + "id": 464, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3773:15:0", + "src": "4635:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 378, + "id": 466, "indexExpression": { "argumentTypes": null, - "id": 377, + "id": 465, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 361, - "src": "3789:5:0", + "referencedDeclaration": 449, + "src": "4651:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10500,13 +12792,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3773:22:0", + "src": "4635:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 379, + "id": 467, "isConstant": false, "isLValue": true, "isPure": false, @@ -10514,7 +12806,7 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "3773:31:0", + "src": "4635:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10524,26 +12816,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 380, + "id": 468, "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 363, - "src": "3807:6:0", + "referencedDeclaration": 451, + "src": "4669:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3773:40:0", + "src": "4635:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 382, + "id": 470, "nodeType": "ExpressionStatement", - "src": "3773:40:0" + "src": "4635:40:0" }, { "eventCall": { @@ -10551,12 +12843,12 @@ "arguments": [ { "argumentTypes": null, - "id": 384, + "id": 472, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 361, - "src": "3859:5:0", + "referencedDeclaration": 449, + "src": "4721:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10568,26 +12860,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 385, + "id": 473, "name": "CriteriaStructs", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 16, - "src": "3866:15:0", + "src": "4728:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CriteriaStruct_$12_storage_$", "typeString": "mapping(uint256 => struct AuditCriteriaManager.CriteriaStruct storage ref)" } }, - "id": 387, + "id": 475, "indexExpression": { "argumentTypes": null, - "id": 386, + "id": 474, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 361, - "src": "3882:5:0", + "referencedDeclaration": 449, + "src": "4744:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10598,13 +12890,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3866:22:0", + "src": "4728:22:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CriteriaStruct_$12_storage", "typeString": "struct AuditCriteriaManager.CriteriaStruct storage ref" } }, - "id": 388, + "id": 476, "isConstant": false, "isLValue": true, "isPure": false, @@ -10612,7 +12904,7 @@ "memberName": "isActive", "nodeType": "MemberAccess", "referencedDeclaration": 9, - "src": "3866:31:0", + "src": "4728:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10630,18 +12922,18 @@ "typeString": "bool" } ], - "id": 383, + "id": 471, "name": "LogCriteriaStatusChange", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 51, - "src": "3827:23:0", + "src": "4689:23:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bool_$returns$__$", "typeString": "function (uint256,bool)" } }, - "id": 389, + "id": 477, "isConstant": false, "isLValue": false, "isPure": false, @@ -10649,28 +12941,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3827:71:0", + "src": "4689:71:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 390, + "id": 478, "nodeType": "EmitStatement", - "src": "3822:76:0" + "src": "4684:76:0" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 391, + "id": 479, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3912:4:0", + "src": "4774:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10678,15 +12970,15 @@ }, "value": "true" }, - "functionReturnParameters": 367, - "id": 392, + "functionReturnParameters": 455, + "id": 480, "nodeType": "Return", - "src": "3905:11:0" + "src": "4767:11:0" } ] }, "documentation": null, - "id": 394, + "id": 482, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -10694,16 +12986,16 @@ "name": "changeStatus", "nodeType": "FunctionDefinition", "parameters": { - "id": 364, + "id": 452, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 361, + "id": 449, "name": "index", "nodeType": "VariableDeclaration", - "scope": 394, - "src": "3662:13:0", + "scope": 482, + "src": "4524:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10711,10 +13003,10 @@ "typeString": "uint256" }, "typeName": { - "id": 360, + "id": 448, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3662:7:0", + "src": "4524:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10725,11 +13017,11 @@ }, { "constant": false, - "id": 363, + "id": 451, "name": "status", "nodeType": "VariableDeclaration", - "scope": 394, - "src": "3677:11:0", + "scope": 482, + "src": "4539:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10737,10 +13029,10 @@ "typeString": "bool" }, "typeName": { - "id": 362, + "id": 450, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3677:4:0", + "src": "4539:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10750,20 +13042,20 @@ "visibility": "internal" } ], - "src": "3661:28:0" + "src": "4523:28:0" }, "payable": false, "returnParameters": { - "id": 367, + "id": 455, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 366, + "id": 454, "name": "success", "nodeType": "VariableDeclaration", - "scope": 394, - "src": "3711:12:0", + "scope": 482, + "src": "4573:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10771,10 +13063,10 @@ "typeString": "bool" }, "typeName": { - "id": 365, + "id": 453, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3711:4:0", + "src": "4573:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10784,37 +13076,37 @@ "visibility": "internal" } ], - "src": "3710:14:0" + "src": "4572:14:0" }, - "scope": 416, - "src": "3640:282:0", + "scope": 504, + "src": "4502:282:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 402, + "id": 490, "nodeType": "Block", - "src": "4006:40:0", + "src": "4868:40:0", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 399, + "id": 487, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "4020:13:0", + "src": "4882:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 400, + "id": 488, "isConstant": false, "isLValue": true, "isPure": false, @@ -10822,21 +13114,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4020:20:0", + "src": "4882:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 398, - "id": 401, + "functionReturnParameters": 486, + "id": 489, "nodeType": "Return", - "src": "4013:27:0" + "src": "4875:27:0" } ] }, "documentation": null, - "id": 403, + "id": 491, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -10844,23 +13136,23 @@ "name": "getCriteriaCount", "nodeType": "FunctionDefinition", "parameters": { - "id": 395, + "id": 483, "nodeType": "ParameterList", "parameters": [], - "src": "3955:2:0" + "src": "4817:2:0" }, "payable": false, "returnParameters": { - "id": 398, + "id": 486, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 397, + "id": 485, "name": "count", "nodeType": "VariableDeclaration", - "scope": 403, - "src": "3991:13:0", + "scope": 491, + "src": "4853:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10868,10 +13160,10 @@ "typeString": "uint256" }, "typeName": { - "id": 396, + "id": 484, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3991:7:0", + "src": "4853:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10881,45 +13173,45 @@ "visibility": "internal" } ], - "src": "3990:15:0" + "src": "4852:15:0" }, - "scope": 416, - "src": "3930:116:0", + "scope": 504, + "src": "4792:116:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 414, + "id": 502, "nodeType": "Block", - "src": "4148:40:0", + "src": "5010:40:0", "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 410, + "id": 498, "name": "CriteriaIndex", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 19, - "src": "4162:13:0", + "src": "5024:13:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 412, + "id": 500, "indexExpression": { "argumentTypes": null, - "id": 411, + "id": 499, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 405, - "src": "4176:5:0", + "referencedDeclaration": 493, + "src": "5038:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10930,21 +13222,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4162:20:0", + "src": "5024:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 409, - "id": 413, + "functionReturnParameters": 497, + "id": 501, "nodeType": "Return", - "src": "4155:27:0" + "src": "5017:27:0" } ] }, "documentation": null, - "id": 415, + "id": 503, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -10952,16 +13244,16 @@ "name": "getCriteriaAtIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 406, + "id": 494, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 405, + "id": 493, "name": "index", "nodeType": "VariableDeclaration", - "scope": 415, - "src": "4080:10:0", + "scope": 503, + "src": "4942:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10969,10 +13261,10 @@ "typeString": "uint256" }, "typeName": { - "id": 404, + "id": 492, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4080:4:0", + "src": "4942:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10982,20 +13274,20 @@ "visibility": "internal" } ], - "src": "4079:12:0" + "src": "4941:12:0" }, "payable": false, "returnParameters": { - "id": 409, + "id": 497, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 408, + "id": 496, "name": "criteriaIndex", "nodeType": "VariableDeclaration", - "scope": 415, - "src": "4125:21:0", + "scope": 503, + "src": "4987:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11003,10 +13295,10 @@ "typeString": "uint256" }, "typeName": { - "id": 407, + "id": 495, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4125:7:0", + "src": "4987:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11016,20 +13308,20 @@ "visibility": "internal" } ], - "src": "4124:23:0" + "src": "4986:23:0" }, - "scope": 416, - "src": "4052:136:0", + "scope": 504, + "src": "4914:136:0", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], - "scope": 417, - "src": "30:4163:0" + "scope": 505, + "src": "30:5025:0" } ], - "src": "0:4193:0" + "src": "0:5055:0" }, "compiler": { "name": "solc", @@ -11047,8 +13339,14 @@ "links": {}, "address": "0x395a74222962b2cb2620a556f1fcf2650bea0222", "transactionHash": "0x52e78058c6805c9a94041bc06cd5fdba69c57e4d9a76592ca06f0952e8f04201" + }, + "1539420319630": { + "events": {}, + "links": {}, + "address": "0x3124c46b3813c552f7a76ebd0464a6761794b771", + "transactionHash": "0x3122b3cd21f2e7b87a3a80cdbdb95038412000e36dd40d6c3736b11c8d8ddf51" } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-12T17:29:21.807Z" + "updatedAt": "2018-10-13T10:09:33.016Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/Company.json b/ethereum/build/contracts/Company.json index a9142af..a32d2d8 100644 --- a/ethereum/build/contracts/Company.json +++ b/ethereum/build/contracts/Company.json @@ -64,7 +64,12 @@ } ], "name": "addSupportAgent", - "outputs": [], + "outputs": [ + { + "name": "index", + "type": "uint256" + } + ], "payable": false, "stateMutability": "nonpayable", "type": "function" @@ -154,6 +159,25 @@ "stateMutability": "view", "type": "function" }, + { + "constant": true, + "inputs": [ + { + "name": "_address", + "type": "address" + } + ], + "name": "getAgentEmail", + "outputs": [ + { + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, { "constant": true, "inputs": [ @@ -200,20 +224,20 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b50610db6806100206000396000f3006080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166319df220d81146100a85780632accc6bd146100cf578063413e25231461029a57806351eef9d6146102bb57806361293545146102d057806383936f8c146103045780638fd2f1a614610325578063beee39c61461038a578063c99901b0146104ad578063fe679100146104e2575b600080fd5b3480156100b457600080fd5b506100bd6104fa565b60408051918252519081900360200190f35b3480156100db57600080fd5b506100f0600160a060020a036004351661059c565b6040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b83811015610139578181015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b83811015610199578181015183820152602001610181565b50505050905090810190601f1680156101c65780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156101f95781810151838201526020016101e1565b50505050905090810190601f1680156102265780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b83811015610259578181015183820152602001610241565b50505050905090810190601f1680156102865780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b3480156102a657600080fd5b506100bd600160a060020a036004351661080e565b3480156102c757600080fd5b506100bd610907565b3480156102dc57600080fd5b506102e860043561090e565b60408051600160a060020a039092168252519081900360200190f35b34801561031057600080fd5b506100bd600160a060020a036004351661093a565b34801561033157600080fd5b5061033a610958565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561037657818101518382015260200161035e565b505050509050019250505060405180910390f35b34801561039657600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526104ab958335600160a060020a031695369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506109ba9650505050505050565b005b3480156104b957600080fd5b506104ce600160a060020a0360043516610cd6565b604080519115158252519081900360200190f35b3480156104ee57600080fd5b506102e8600435610ceb565b600080805b6001546000190182101561058d576105168261090e565b600160a060020a0381166000908152600260205260409020805460ff1916905560018054919250908390811061054857fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff191690556001805490610581906000198301610d13565b506001909101906104ff565b610595610907565b9250505090565b600160a060020a038116600090815260208181526040918290208054835160026001808416156101000260001901909316819004601f8101869004860283018601909652858252606095869586958695909490850193850192600386019286919083018282801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050865460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959950889450925084019050828280156106dc5780601f106106b1576101008083540402835291602001916106dc565b820191906000526020600020905b8154815290600101906020018083116106bf57829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529598508794509250840190508282801561076a5780601f1061073f5761010080835404028352916020019161076a565b820191906000526020600020905b81548152906001019060200180831161074d57829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959750869450925084019050828280156107f85780601f106107cd576101008083540402835291602001916107f8565b820191906000526020600020905b8154815290600101906020018083116107db57829003601f168201915b5050505050905093509350935093509193509193565b60008061081a8361093a565b6001805491925090600019810190811061083057fe5b60009182526020909120015460018054600160a060020a03909216918390811061085657fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905560018054600019810190811061089e57fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916905560018054906108d7906000198301610d13565b50600160a060020a0383166000908152600260205260409020805460ff19169055610900610907565b9392505050565b6001545b90565b600060018281548110151561091f57fe5b600091825260209091200154600160a060020a031692915050565b600160a060020a031660009081526020819052604090206004015490565b606060018054806020026020016040519081016040528092919081815260200182805480156109b057602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610992575b5050505050905090565b6109c2610d3c565b600160a060020a038616600090815260208181526040918290208251815460026001821615610100026000190190911604601f8101849004909302810160c090810190945260a08101838152909391928492849190840182828015610a685780601f10610a3d57610100808354040283529160200191610a68565b820191906000526020600020905b815481529060010190602001808311610a4b57829003601f168201915b50505050508152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b5050509183525050600282810180546040805160206001841615610100026000190190931694909404601f81018390048302850183019091528084529381019390830182828015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b505050918352505060038201805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152938201939291830182828015610c305780601f10610c0557610100808354040283529160200191610c30565b820191906000526020600020905b815481529060010190602001808311610c1357829003601f168201915b5050509183525050600491909101546020918201529581528086019490945250604080840192909252606083015260018054608090930183905282810181557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf69092018054600160a060020a0390951673ffffffffffffffffffffffffffffffffffffffff1990951685179055600093845260029092529120805460ff19169091179055565b60026020526000908152604090205460ff1681565b6001805482908110610cf957fe5b600091825260209091200154600160a060020a0316905081565b815481835581811115610d3757600083815260209020610d37918101908301610d6c565b505050565b60a06040519081016040528060608152602001606081526020016060815260200160608152602001600081525090565b61090b91905b80821115610d865760008155600101610d72565b50905600a165627a7a72305820c3a07cfcc84956a555f4211c1d551ad0dbf93ab2867966607f5f8ac928de6ba00029", - "deployedBytecode": "0x6080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166319df220d81146100a85780632accc6bd146100cf578063413e25231461029a57806351eef9d6146102bb57806361293545146102d057806383936f8c146103045780638fd2f1a614610325578063beee39c61461038a578063c99901b0146104ad578063fe679100146104e2575b600080fd5b3480156100b457600080fd5b506100bd6104fa565b60408051918252519081900360200190f35b3480156100db57600080fd5b506100f0600160a060020a036004351661059c565b6040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b83811015610139578181015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b83811015610199578181015183820152602001610181565b50505050905090810190601f1680156101c65780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156101f95781810151838201526020016101e1565b50505050905090810190601f1680156102265780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b83811015610259578181015183820152602001610241565b50505050905090810190601f1680156102865780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b3480156102a657600080fd5b506100bd600160a060020a036004351661080e565b3480156102c757600080fd5b506100bd610907565b3480156102dc57600080fd5b506102e860043561090e565b60408051600160a060020a039092168252519081900360200190f35b34801561031057600080fd5b506100bd600160a060020a036004351661093a565b34801561033157600080fd5b5061033a610958565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561037657818101518382015260200161035e565b505050509050019250505060405180910390f35b34801561039657600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526104ab958335600160a060020a031695369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506109ba9650505050505050565b005b3480156104b957600080fd5b506104ce600160a060020a0360043516610cd6565b604080519115158252519081900360200190f35b3480156104ee57600080fd5b506102e8600435610ceb565b600080805b6001546000190182101561058d576105168261090e565b600160a060020a0381166000908152600260205260409020805460ff1916905560018054919250908390811061054857fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff191690556001805490610581906000198301610d13565b506001909101906104ff565b610595610907565b9250505090565b600160a060020a038116600090815260208181526040918290208054835160026001808416156101000260001901909316819004601f8101869004860283018601909652858252606095869586958695909490850193850192600386019286919083018282801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050865460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959950889450925084019050828280156106dc5780601f106106b1576101008083540402835291602001916106dc565b820191906000526020600020905b8154815290600101906020018083116106bf57829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529598508794509250840190508282801561076a5780601f1061073f5761010080835404028352916020019161076a565b820191906000526020600020905b81548152906001019060200180831161074d57829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959750869450925084019050828280156107f85780601f106107cd576101008083540402835291602001916107f8565b820191906000526020600020905b8154815290600101906020018083116107db57829003601f168201915b5050505050905093509350935093509193509193565b60008061081a8361093a565b6001805491925090600019810190811061083057fe5b60009182526020909120015460018054600160a060020a03909216918390811061085657fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905560018054600019810190811061089e57fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916905560018054906108d7906000198301610d13565b50600160a060020a0383166000908152600260205260409020805460ff19169055610900610907565b9392505050565b6001545b90565b600060018281548110151561091f57fe5b600091825260209091200154600160a060020a031692915050565b600160a060020a031660009081526020819052604090206004015490565b606060018054806020026020016040519081016040528092919081815260200182805480156109b057602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610992575b5050505050905090565b6109c2610d3c565b600160a060020a038616600090815260208181526040918290208251815460026001821615610100026000190190911604601f8101849004909302810160c090810190945260a08101838152909391928492849190840182828015610a685780601f10610a3d57610100808354040283529160200191610a68565b820191906000526020600020905b815481529060010190602001808311610a4b57829003601f168201915b50505050508152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b5050509183525050600282810180546040805160206001841615610100026000190190931694909404601f81018390048302850183019091528084529381019390830182828015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b505050918352505060038201805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152938201939291830182828015610c305780601f10610c0557610100808354040283529160200191610c30565b820191906000526020600020905b815481529060010190602001808311610c1357829003601f168201915b5050509183525050600491909101546020918201529581528086019490945250604080840192909252606083015260018054608090930183905282810181557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf69092018054600160a060020a0390951673ffffffffffffffffffffffffffffffffffffffff1990951685179055600093845260029092529120805460ff19169091179055565b60026020526000908152604090205460ff1681565b6001805482908110610cf957fe5b600091825260209091200154600160a060020a0316905081565b815481835581811115610d3757600083815260209020610d37918101908301610d6c565b505050565b60a06040519081016040528060608152602001606081526020016060815260200160608152602001600081525090565b61090b91905b80821115610d865760008155600101610d72565b50905600a165627a7a72305820c3a07cfcc84956a555f4211c1d551ad0dbf93ab2867966607f5f8ac928de6ba00029", - "sourceMap": "28:3126:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28:3126:0;;;;;;;", - "deployedSourceMap": "28:3126:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1993:342;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1993:342:0;;;;;;;;;;;;;;;;;;;;2767:263;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2767:263:0;-1:-1:-1;;;;;2767:263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2767:263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2767:263:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2767:263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2767:263:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2767:263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2767:263:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2767:263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1467:518;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1467:518:0;-1:-1:-1;;;;;1467:518:0;;;;;3042:109;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3042:109:0;;;;2463:132;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2463:132:0;;;;;;;;;-1:-1:-1;;;;;2463:132:0;;;;;;;;;;;;;;2603:149;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2603:149:0;-1:-1:-1;;;;;2603:149:0;;;;;2347:108;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2347:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2347:108:0;;;;;;;;;;;;;;;;;909:550;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;909:550:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;909:550:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;909:550:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;909:550:0;;;;-1:-1:-1;909:550:0;-1:-1:-1;909:550:0;;-1:-1:-1;909:550:0;;;;;;;;-1:-1:-1;;909:550:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;909:550:0;;;;-1:-1:-1;909:550:0;-1:-1:-1;909:550:0;;-1:-1:-1;909:550:0;;;;;;;;-1:-1:-1;;909:550:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;909:550:0;;;;-1:-1:-1;909:550:0;-1:-1:-1;909:550:0;;-1:-1:-1;909:550:0;;;;;;;;-1:-1:-1;909:550:0;;-1:-1:-1;909:550:0;;-1:-1:-1;;;;;;;909:550:0;;;301:47;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;301:47:0;-1:-1:-1;;;;;301:47:0;;;;;;;;;;;;;;;;;;;;;;;258:36;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;258:36:0;;;;;1993:342;2042:4;;;2057:240;2107:1;2078:26;-1:-1:-1;;2078:30:0;2074:34;;2057:240;;;2146:30;2174:1;2146:27;:30::i;:::-;-1:-1:-1;;;;;2189:24:0;;2216:5;2189:24;;;:14;:24;;;;;:32;;-1:-1:-1;;2189:32:0;;;;2236:22;;2127:49;;-1:-1:-1;2189:32:0;2256:1;;2236:22;;;;;;;;;;;;;;;2229:29;;-1:-1:-1;;2229:29:0;;;;2264:28;;;;;-1:-1:-1;;2264:28:0;;;:::i;:::-;-1:-1:-1;2110:3:0;;;;;2057:240;;;2307:20;:18;:20::i;:::-;2300:27;;1993:342;;;:::o;2767:263::-;-1:-1:-1;;;;;2897:23:0;;:13;:23;;;;;;;;;;;;2889:133;;;;2959:29;2928;2889:133;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;2841:6;;;;;;;;2897:23;;2928:29;;;;2959;;;2989:32;;;;2897:23;;2889:133;;;2897:23;2889:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2889:133:0;;-1:-1:-1;2889:133:0;-1:-1:-1;2889:133:0;;;-1:-1:-1;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2889:133:0;;-1:-1:-1;2889:133:0;-1:-1:-1;2889:133:0;;;-1:-1:-1;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;-1:-1:-1;;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2889:133:0;;-1:-1:-1;2889:133:0;-1:-1:-1;2889:133:0;;;-1:-1:-1;2889:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2767:263;;;;;:::o;1467:518::-;1532:4;1629:20;1652:36;1679:8;1652:26;:36::i;:::-;1756:19;1776:26;;1629:59;;-1:-1:-1;1756:19:0;-1:-1:-1;;1776:30:0;;;1756:51;;;;;;;;;;;;;;;;;1717:36;;-1:-1:-1;;;;;1756:51:0;;;;1737:15;;1717:36;;;;;;;;;;;;;;;:90;;-1:-1:-1;;1717:90:0;-1:-1:-1;;;;;1717:90:0;;;;;;;;;;-1:-1:-1;1840:26:0;;-1:-1:-1;;1840:30:0;;;1820:51;;;;;;;;;;;;;;;1813:58;;-1:-1:-1;;1813:58:0;;;;1878:28;;;;;-1:-1:-1;;1878:28:0;;;:::i;:::-;-1:-1:-1;;;;;;1912:24:0;;1939:5;1912:24;;;:14;:24;;;;;:32;;-1:-1:-1;;1912:32:0;;;1957:20;:18;:20::i;:::-;1950:27;1467:518;-1:-1:-1;;;1467:518:0:o;3042:109::-;3117:19;:26;3042:109;;:::o;2463:132::-;2533:7;2559:19;2579:5;2559:26;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2559:26:0;;2463:132;-1:-1:-1;;2463:132:0:o;2603:149::-;-1:-1:-1;;;;;2709:23:0;2678:4;2709:23;;;;;;;;;;:34;;;;2603:149::o;2347:108::-;2399:9;2428:19;2421:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2421:26:0;;;;;;;;;;;;;;;;;;;;;;;2347:108;:::o;909:550::-;1039:32;;:::i;:::-;-1:-1:-1;;;;;1074:23:0;;:13;:23;;;;;;;;;;;;1039:58;;;;;;;;;;;-1:-1:-1;;1039:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1074:23;;1039:58;;1074:23;;1039:58;;;1074:23;1039:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1039:58:0;;;-1:-1:-1;;1039:58:0;;;;;;;;;;;;;;;;-1:-1:-1;;1039:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1039:58:0;;;-1:-1:-1;;1039:58:0;;;;;;;;;;;;;;;;-1:-1:-1;;1039:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1039:58:0;;;-1:-1:-1;;1039:58:0;;;;;;;;;;;1118:28;;;1157:18;;;:28;;;;-1:-1:-1;1196:18:0;;;;:28;;;;1228:21;;;:34;1293:19;:26;;1266:23;;;;:53;;;23:18:-1;;;45:23;;1377:34:0;;;;;;-1:-1:-1;;;;;1377:34:0;;;-1:-1:-1;;1377:34:0;;;;;;;-1:-1:-1;1420:24:0;;;:14;:24;;;;;:31;;-1:-1:-1;;1420:31:0;;;;;;909:550::o;301:47::-;;;;;;;;;;;;;;;:::o;258:36::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;258:36:0;;-1:-1:-1;258:36:0;:::o;28:3126::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;", - "source": "pragma solidity ^0.4.18;\r\n\r\ncontract Company {\r\n \r\n struct SupportAgent\r\n {\r\n\tstring\temail;\r\n string\tfName;\r\n string\tlName;\r\n\tstring\ttimeZone;\r\n\tuint\tagentIndex;\t\r\n }\r\n \r\n mapping (address => SupportAgent) supportAgents;\r\n address[] public supportAgentRecords;\r\n mapping (address => bool) public isSupportAgent;\r\n\r\n//////////////////////////////////////////////////////////////////////////////////////////////////////\r\n modifier agentDoesNotExist(address supportagent) {\r\n require(!isSupportAgent[supportagent]);\r\n _;\r\n }\r\n\r\n modifier agentExist(address supportagent) {\r\n require(isSupportAgent[supportagent]);\r\n _;\r\n }\r\n\r\n modifier notNull(address _address) {\r\n require(_address != 0);\r\n _;\r\n }\r\n//////////////////////////////////////////////////////////////////////////////////////////////////////\r\n \r\n function addSupportAgent(address _address, string _email, string _fName, string _lName, string _timeZone) public \r\n {\r\n SupportAgent memory supportAgent = supportAgents[_address];\r\n \r\n supportAgent.email\t = _email;\r\n supportAgent.fName\t = _fName;\r\n supportAgent.lName\t = _lName;\r\n\tsupportAgent.timeZone\t = _timeZone;\r\n\tsupportAgent.agentIndex = supportAgentRecords.length; // Row ID (Array Index) of an Agent\r\n \r\n supportAgentRecords.push(_address) -1;\r\n\r\n\tisSupportAgent[_address] = true;\r\n }\r\n\r\n function removeOneSupportAgent(address _address) public returns (uint)\r\n {\r\n\t/*\r\n\t\tSwap the last agent to position of the to-be remove agent position\r\n\t*/\r\n\r\n\tuint removeThisAgent = findSupportAgentArrayIndex(_address); // Get the Array Index\r\n\r\n\tsupportAgentRecords[removeThisAgent] = supportAgentRecords[supportAgentRecords.length - 1];\r\n\r\n\tdelete supportAgentRecords[supportAgentRecords.length - 1]; \r\n\r\n\tsupportAgentRecords.length--;\r\n\r\n\tisSupportAgent[_address] = false;\r\n\r\n\treturn countSupportAgents();\r\n }\r\n\r\n function removeAllSupportAgent() public returns (uint)\r\n {\r\n\tfor (uint i = 0; i < supportAgentRecords.length - 1; i++) \r\n\t{\r\n\t\r\n\t address _address = findSupportAgentAddressById(i);\r\n isSupportAgent[_address] = false;\r\n\r\n\t delete supportAgentRecords[i];\r\n\t supportAgentRecords.length--;\r\n\t}\r\n\treturn countSupportAgents();\r\n }\r\n \r\n function findAllSupportAgents() view public returns(address[]) {\r\n return supportAgentRecords;\r\n }\r\n\r\n function findSupportAgentAddressById(uint index) view public returns (address)\r\n {\r\n\treturn (supportAgentRecords[index]);\t\r\n }\r\n\r\n function findSupportAgentArrayIndex(address _address) view public returns (uint) \r\n {\r\n return (supportAgents[_address].agentIndex);\r\n }\r\n \r\n\t\r\n function findSupportAgentByAddress(address _address) view public returns (string, string, string,string) \r\n {\r\n return (supportAgents[_address].email, supportAgents[_address].fName, supportAgents[_address].lName,supportAgents[_address].timeZone);\r\n }\r\n \r\n function countSupportAgents() view public returns (uint) {\r\n return supportAgentRecords.length;\r\n }\r\n}", + "bytecode": "0x608060405234801561001057600080fd5b506112cb806100206000396000f3006080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166319df220d81146100b35780632accc6bd146100da578063413e2523146102a557806351eef9d6146102c657806361293545146102db57806383936f8c1461030f5780638fd2f1a614610330578063beee39c614610395578063c5722598146104b6578063c99901b01461054c578063fe67910014610581575b600080fd5b3480156100bf57600080fd5b506100c8610599565b60408051918252519081900360200190f35b3480156100e657600080fd5b506100fb600160a060020a0360043516610669565b6040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b8381101561014457818101518382015260200161012c565b50505050905090810190601f1680156101715780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b838110156101a457818101518382015260200161018c565b50505050905090810190601f1680156101d15780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156102045781810151838201526020016101ec565b50505050905090810190601f1680156102315780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b8381101561026457818101518382015260200161024c565b50505050905090810190601f1680156102915780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b3480156102b157600080fd5b506100c8600160a060020a0360043516610988565b3480156102d257600080fd5b506100c8610afe565b3480156102e757600080fd5b506102f3600435610b05565b60408051600160a060020a039092168252519081900360200190f35b34801561031b57600080fd5b506100c8600160a060020a0360043516610b20565b34801561033c57600080fd5b50610345610bdc565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610381578181015183820152602001610369565b505050509050019250505060405180910390f35b3480156103a157600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526100c8958335600160a060020a031695369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a999881019791965091820194509250829150840183828082843750949750610c3e9650505050505050565b3480156104c257600080fd5b506104d7600160a060020a0360043516610fc4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156105115781810151838201526020016104f9565b50505050905090810190601f16801561053e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561055857600080fd5b5061056d600160a060020a036004351661111c565b604080519115158252519081900360200190f35b34801561058d57600080fd5b506102f3600435611131565b600080805b60035482101561064e57506000818152602081815260408083208054600160a060020a031680855260048452828520805460ff191690556002845291842084905584845291839052815473ffffffffffffffffffffffffffffffffffffffff191682559161060f6001830182611159565b61061d600283016000611159565b61062b600383016000611159565b610639600483016000611159565b5060006005919091015560019091019061059e565b61065a600360006111a0565b610662610afe565b9250505090565b600160a060020a03811660009081526004602052604081205460609182918291829160ff1615156001146107125760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a0385166000908152600260208181526040808420548085528483529381902060018082018054845192811615610100026000190116869004601f810186900486028301860190945283825294820193600383019360049093019286918301828280156107c75780601f1061079c576101008083540402835291602001916107c7565b820191906000526020600020905b8154815290600101906020018083116107aa57829003601f168201915b5050865460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959950889450925084019050828280156108555780601f1061082a57610100808354040283529160200191610855565b820191906000526020600020905b81548152906001019060200180831161083857829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156108e35780601f106108b8576101008083540402835291602001916108e3565b820191906000526020600020905b8154815290600101906020018083116108c657829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959750869450925084019050828280156109715780601f1061094657610100808354040283529160200191610971565b820191906000526020600020905b81548152906001019060200180831161095457829003601f168201915b505050505090509450945094509450509193509193565b600160a060020a038116600090815260046020526040812054819060ff161515600114610a2a5760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a0382166000908152600260209081526040808320805460048452828520805460ff1916905590849055808452918390528220805473ffffffffffffffffffffffffffffffffffffffff191681559091610a8e6001830182611159565b610a9c600283016000611159565b610aaa600383016000611159565b610ab8600483016000611159565b506000600591909101556003805482908110610ad057fe5b60009182526020822001556003805490610aee9060001983016111be565b50610af7610afe565b9392505050565b6003545b90565b600090815260208190526040902054600160a060020a031690565b600160a060020a03811660009081526004602052604081205460ff161515600114610bc05760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a031660009081526002602052604090205490565b60606001805480602002602001604051908101604052809291908181526020018280548015610c3457602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610c16575b5050505050905090565b600160a060020a038516600090815260046020526040812054819060ff1615610cb65760408051600080516020611280833981519152815260206004820152601560248201527f4167656e7420616c726561647920657869737420210000000000000000000000604482015290519081900360640190fd5b855160051115610d155760408051600080516020611280833981519152815260206004820152601760248201527f496e76616c696420456d61696c20616464726573732021000000000000000000604482015290519081900360640190fd5b845160031115610d9a5760408051600080516020611280833981519152815260206004820152602b60248201527f4669727374206e616d652073686f756c6420636f6e7461696e206d696e696d7560448201527f6d2033206c657474657273000000000000000000000000000000000000000000606482015290519081900360840190fd5b835160031115610e1f5760408051600080516020611280833981519152815260206004820152602a60248201527f4c617374206e616d652073686f756c6420636f6e7461696e206d696e696d756d60448201527f2033206c65747465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b825160031115610e7e5760408051600080516020611280833981519152815260206004820152601360248201527f54696d657a6f6e6520697320496e76616c696400000000000000000000000000604482015290519081900360640190fd5b610e86610afe565b600160a060020a0388166000818152600460209081526040808320805460ff191660019081179091558584528383529220805473ffffffffffffffffffffffffffffffffffffffff191690931783558951939450610eec939290910191908901906111e7565b506000818152602081815260409091208651610f10926002909201918801906111e7565b506000818152602081815260409091208551610f34926003909201918701906111e7565b506000818152602081815260409091208451610f58926004909201918601906111e7565b50600380546001810182557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810183905560008381526020818152604080832060050193909355600160a060020a038b1682526002905220829055546000190191505095945050505050565b600160a060020a0381166000908152600460205260408120546060919060ff1615156001146110685760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a038216600090815260026020818152604080842054808552848352938190206001908101805483519281161561010002600019011694909404601f8101849004840282018401909252818152929183018282801561110f5780601f106110e45761010080835404028352916020019161110f565b820191906000526020600020905b8154815290600101906020018083116110f257829003601f168201915b5050505050915050919050565b60046020526000908152604090205460ff1681565b600180548290811061113f57fe5b600091825260209091200154600160a060020a0316905081565b50805460018160011615610100020316600290046000825580601f1061117f575061119d565b601f01602090049060005260206000209081019061119d9190611265565b50565b508054600082559060005260206000209081019061119d9190611265565b8154818355818111156111e2576000838152602090206111e2918101908301611265565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061122857805160ff1916838001178555611255565b82800160010185558215611255579182015b8281111561125557825182559160200191906001019061123a565b50611261929150611265565b5090565b610b0291905b80821115611261576000815560010161126b560008c379a000000000000000000000000000000000000000000000000000000000a165627a7a72305820794b49a8c5ce6b98886dbf13cea5b908b3e1a280a7a63f3f44726bfa7105c2c40029", + "deployedBytecode": "0x6080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166319df220d81146100b35780632accc6bd146100da578063413e2523146102a557806351eef9d6146102c657806361293545146102db57806383936f8c1461030f5780638fd2f1a614610330578063beee39c614610395578063c5722598146104b6578063c99901b01461054c578063fe67910014610581575b600080fd5b3480156100bf57600080fd5b506100c8610599565b60408051918252519081900360200190f35b3480156100e657600080fd5b506100fb600160a060020a0360043516610669565b6040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b8381101561014457818101518382015260200161012c565b50505050905090810190601f1680156101715780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b838110156101a457818101518382015260200161018c565b50505050905090810190601f1680156101d15780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156102045781810151838201526020016101ec565b50505050905090810190601f1680156102315780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b8381101561026457818101518382015260200161024c565b50505050905090810190601f1680156102915780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b3480156102b157600080fd5b506100c8600160a060020a0360043516610988565b3480156102d257600080fd5b506100c8610afe565b3480156102e757600080fd5b506102f3600435610b05565b60408051600160a060020a039092168252519081900360200190f35b34801561031b57600080fd5b506100c8600160a060020a0360043516610b20565b34801561033c57600080fd5b50610345610bdc565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610381578181015183820152602001610369565b505050509050019250505060405180910390f35b3480156103a157600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526100c8958335600160a060020a031695369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a999881019791965091820194509250829150840183828082843750949750610c3e9650505050505050565b3480156104c257600080fd5b506104d7600160a060020a0360043516610fc4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156105115781810151838201526020016104f9565b50505050905090810190601f16801561053e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561055857600080fd5b5061056d600160a060020a036004351661111c565b604080519115158252519081900360200190f35b34801561058d57600080fd5b506102f3600435611131565b600080805b60035482101561064e57506000818152602081815260408083208054600160a060020a031680855260048452828520805460ff191690556002845291842084905584845291839052815473ffffffffffffffffffffffffffffffffffffffff191682559161060f6001830182611159565b61061d600283016000611159565b61062b600383016000611159565b610639600483016000611159565b5060006005919091015560019091019061059e565b61065a600360006111a0565b610662610afe565b9250505090565b600160a060020a03811660009081526004602052604081205460609182918291829160ff1615156001146107125760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a0385166000908152600260208181526040808420548085528483529381902060018082018054845192811615610100026000190116869004601f810186900486028301860190945283825294820193600383019360049093019286918301828280156107c75780601f1061079c576101008083540402835291602001916107c7565b820191906000526020600020905b8154815290600101906020018083116107aa57829003601f168201915b5050865460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959950889450925084019050828280156108555780601f1061082a57610100808354040283529160200191610855565b820191906000526020600020905b81548152906001019060200180831161083857829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156108e35780601f106108b8576101008083540402835291602001916108e3565b820191906000526020600020905b8154815290600101906020018083116108c657829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959750869450925084019050828280156109715780601f1061094657610100808354040283529160200191610971565b820191906000526020600020905b81548152906001019060200180831161095457829003601f168201915b505050505090509450945094509450509193509193565b600160a060020a038116600090815260046020526040812054819060ff161515600114610a2a5760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a0382166000908152600260209081526040808320805460048452828520805460ff1916905590849055808452918390528220805473ffffffffffffffffffffffffffffffffffffffff191681559091610a8e6001830182611159565b610a9c600283016000611159565b610aaa600383016000611159565b610ab8600483016000611159565b506000600591909101556003805482908110610ad057fe5b60009182526020822001556003805490610aee9060001983016111be565b50610af7610afe565b9392505050565b6003545b90565b600090815260208190526040902054600160a060020a031690565b600160a060020a03811660009081526004602052604081205460ff161515600114610bc05760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a031660009081526002602052604090205490565b60606001805480602002602001604051908101604052809291908181526020018280548015610c3457602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610c16575b5050505050905090565b600160a060020a038516600090815260046020526040812054819060ff1615610cb65760408051600080516020611280833981519152815260206004820152601560248201527f4167656e7420616c726561647920657869737420210000000000000000000000604482015290519081900360640190fd5b855160051115610d155760408051600080516020611280833981519152815260206004820152601760248201527f496e76616c696420456d61696c20616464726573732021000000000000000000604482015290519081900360640190fd5b845160031115610d9a5760408051600080516020611280833981519152815260206004820152602b60248201527f4669727374206e616d652073686f756c6420636f6e7461696e206d696e696d7560448201527f6d2033206c657474657273000000000000000000000000000000000000000000606482015290519081900360840190fd5b835160031115610e1f5760408051600080516020611280833981519152815260206004820152602a60248201527f4c617374206e616d652073686f756c6420636f6e7461696e206d696e696d756d60448201527f2033206c65747465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b825160031115610e7e5760408051600080516020611280833981519152815260206004820152601360248201527f54696d657a6f6e6520697320496e76616c696400000000000000000000000000604482015290519081900360640190fd5b610e86610afe565b600160a060020a0388166000818152600460209081526040808320805460ff191660019081179091558584528383529220805473ffffffffffffffffffffffffffffffffffffffff191690931783558951939450610eec939290910191908901906111e7565b506000818152602081815260409091208651610f10926002909201918801906111e7565b506000818152602081815260409091208551610f34926003909201918701906111e7565b506000818152602081815260409091208451610f58926004909201918601906111e7565b50600380546001810182557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810183905560008381526020818152604080832060050193909355600160a060020a038b1682526002905220829055546000190191505095945050505050565b600160a060020a0381166000908152600460205260408120546060919060ff1615156001146110685760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a038216600090815260026020818152604080842054808552848352938190206001908101805483519281161561010002600019011694909404601f8101849004840282018401909252818152929183018282801561110f5780601f106110e45761010080835404028352916020019161110f565b820191906000526020600020905b8154815290600101906020018083116110f257829003601f168201915b5050505050915050919050565b60046020526000908152604090205460ff1681565b600180548290811061113f57fe5b600091825260209091200154600160a060020a0316905081565b50805460018160011615610100020316600290046000825580601f1061117f575061119d565b601f01602090049060005260206000209081019061119d9190611265565b50565b508054600082559060005260206000209081019061119d9190611265565b8154818355818111156111e2576000838152602090206111e2918101908301611265565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061122857805160ff1916838001178555611255565b82800160010185558215611255579182015b8281111561125557825182559160200191906001019061123a565b50611261929150611265565b5090565b610b0291905b80821115611261576000815560010161126b560008c379a000000000000000000000000000000000000000000000000000000000a165627a7a72305820794b49a8c5ce6b98886dbf13cea5b908b3e1a280a7a63f3f44726bfa7105c2c40029", + "sourceMap": "30:5731:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30:5731:0;;;;;;;", + "deployedSourceMap": "30:5731:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3720:430;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3720:430:0;;;;;;;;;;;;;;;;;;;;5104:526;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5104:526:0;-1:-1:-1;;;;;5104:526:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5104:526:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5104:526:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5104:526:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5104:526:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5104:526:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5104:526:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5104:526:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3124:588;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3124:588:0;-1:-1:-1;;;;;3124:588:0;;;;;5650:102;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5650:102:0;;;;4280:139;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4280:139:0;;;;;;;;;-1:-1:-1;;;;;4280:139:0;;;;;;;;;;;;;;4427:290;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4427:290:0;-1:-1:-1;;;;;4427:290:0;;;;;4164:108;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4164:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4164:108:0;;;;;;;;;;;;;;;;;1068:2048;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1068:2048:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1068:2048:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1068:2048:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1068:2048:0;;;;-1:-1:-1;1068:2048:0;-1:-1:-1;1068:2048:0;;-1:-1:-1;1068:2048:0;;;;;;;;-1:-1:-1;;1068:2048:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1068:2048:0;;;;-1:-1:-1;1068:2048:0;-1:-1:-1;1068:2048:0;;-1:-1:-1;1068:2048:0;;;;;;;;-1:-1:-1;;1068:2048:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1068:2048:0;;;;-1:-1:-1;1068:2048:0;-1:-1:-1;1068:2048:0;;-1:-1:-1;1068:2048:0;;;;;;;;-1:-1:-1;1068:2048:0;;-1:-1:-1;1068:2048:0;;-1:-1:-1;;;;;;;1068:2048:0;4731:356;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4731:356:0;-1:-1:-1;;;;;4731:356:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4731:356:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;457:46;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;457:46:0;-1:-1:-1;;;;;457:46:0;;;;;;;;;;;;;;;;;;;;;;;300:36;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;300:36:0;;;;;3720:430;3768:4;;;3787:282;3806:10;:17;3802:21;;3787:282;;;-1:-1:-1;3875:13:0;:16;;;;;;;;;;;:29;;-1:-1:-1;;;;;3875:29:0;3938:28;;;:14;:28;;;;;3931:35;;-1:-1:-1;;3931:35:0;;;3985:12;:26;;;;;3978:33;;;4030:16;;;;;;;4023:23;;-1:-1:-1;;4023:23:0;;;3875:29;4023:23;3875:29;4023:23;;3875:13;4023:23;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;-1:-1:-1;4023:23:0;;;;;;;3825:3;;;;;3787:282;;;4079:17;4086:10;;4079:17;:::i;:::-;4122:20;:18;:20::i;:::-;4115:27;;3720:430;;;:::o;5104:526::-;-1:-1:-1;;;;;5248:24:0;;5394:13;5248:24;;;:14;:24;;;;;;5177:6;;;;;;;;5248:24;;:32;;:24;:32;5226:133;;;;;-1:-1:-1;;;;;;;;;;;5226:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5410:22:0;;;;;;:12;:22;;;;;;;;;5479:20;;;;;;;;;;:26;;;;5461:161;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;5479:26;5517;;;5555;;;;5592:29;;;;;5479:26;;5461:161;;5479:26;5461:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5461:161:0;;-1:-1:-1;5461:161:0;-1:-1:-1;5461:161:0;;;-1:-1:-1;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5461:161:0;;-1:-1:-1;5461:161:0;-1:-1:-1;5461:161:0;;;-1:-1:-1;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5461:161:0;;-1:-1:-1;5461:161:0;-1:-1:-1;5461:161:0;;;-1:-1:-1;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5104:526;;;;;;:::o;3124:588::-;-1:-1:-1;;;;;3237:24:0;;3188:4;3237:24;;;:14;:24;;;;;;3188:4;;3237:24;;:32;;:24;:32;3215:133;;;;;-1:-1:-1;;;;;;;;;;;3215:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3400:22:0;;;;;;:12;:22;;;;;;;;;;3463:14;:24;;;;;3456:31;;-1:-1:-1;;3456:31:0;;;3499:29;;;;3558:20;;;;;;;;;3551:27;;-1:-1:-1;;3551:27:0;;;3400:22;;3551:27;3456:31;3551:27;;3400:22;3551:27;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;-1:-1:-1;3551:27:0;;;;;;;3597:10;:17;;3608:5;;3597:17;;;;;;;;;;;;;;3590:24;3637:10;:19;;;;;-1:-1:-1;;3637:19:0;;;:::i;:::-;;3684:20;:18;:20::i;:::-;3677:27;3124:588;-1:-1:-1;;;3124:588:0:o;5650:102::-;5727:10;:17;5650:102;;:::o;4280:139::-;4349:7;4377:20;;;;;;;;;;:33;-1:-1:-1;;;;;4377:33:0;;4280:139::o;4427:290::-;-1:-1:-1;;;;;4542:24:0;;4501:4;4542:24;;;:14;:24;;;;;;;;:32;;:24;:32;4520:133;;;;;-1:-1:-1;;;;;;;;;;;4520:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4685:22:0;;;;;:12;:22;;;;;;;4427:290::o;4164:108::-;4216:9;4245:19;4238:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4238:26:0;;;;;;;;;;;;;;;;;;;;;;;4164:108;:::o;1068:2048::-;-1:-1:-1;;;;;1788:24:0;;1202:13;1788:24;;;:14;:24;;;;;;1202:13;;1788:24;;:33;1766:108;;;;;-1:-1:-1;;;;;;;;;;;1766:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1940:20;;1963:1;-1:-1:-1;1939:33:0;1917:110;;;;;-1:-1:-1;;;;;;;;;;;1917:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2067:20;;2090:1;-1:-1:-1;2066:33:0;2044:130;;;;;-1:-1:-1;;;;;;;;;;;2044:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2226:20;;2249:1;-1:-1:-1;2225:33:0;2203:129;;;;;-1:-1:-1;;;;;;;;;;;2203:129:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2396:23;;2422:1;-1:-1:-1;2395:36:0;2373:109;;;;;-1:-1:-1;;;;;;;;;;;2373:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2536:20;:18;:20::i;:::-;-1:-1:-1;;;;;2567:24:0;;;;;;:14;:24;;;;;;;;:31;;-1:-1:-1;;2567:31:0;2594:4;2567:31;;;;;;2619:27;;;;;;;;:51;;-1:-1:-1;;2619:51:0;;;;;;2681:49;;2513:43;;-1:-1:-1;2681:49:0;;:33;;;;;:49;;;;;:::i;:::-;-1:-1:-1;2741:13:0;:27;;;;;;;;;;;:49;;;;:33;;;;;:49;;;;:::i;:::-;-1:-1:-1;2801:13:0;:27;;;;;;;;;;;:49;;;;:33;;;;;:49;;;;:::i;:::-;-1:-1:-1;2869:13:0;:27;;;;;;;;;;;:52;;;;:36;;;;;:52;;;;:::i;:::-;-1:-1:-1;2970:10:0;27::-1;;3002:1:0;23:18:-1;;45:23;;2970:29:0;;;;;;-1:-1:-1;2934:27:0;;;2970:29;2934:27;;;;;;;:33;;:69;;;;-1:-1:-1;;;;;3024:22:0;;;;:12;:22;;;:37;;;3089:17;-1:-1:-1;;3089:19:0;;-1:-1:-1;1068:2048:0;;;;;;;;:::o;4731:356::-;-1:-1:-1;;;;;4839:24:0;;4981:13;4839:24;;;:14;:24;;;;;;4792:6;;4981:13;4839:24;;:32;;:24;:32;4817:133;;;;;-1:-1:-1;;;;;;;;;;;4817:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4997:22:0;;;;;;:12;:22;;;;;;;;;5052:20;;;;;;;;;;:26;;;;5044:35;;;;;;;;;;-1:-1:-1;;5044:35:0;;;;;;;;;;;;;;;;;;;;;;;;;5052:26;5044:35;;5052:26;5044:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4731:356;;;;:::o;457:46::-;;;;;;;;;;;;;;;:::o;300:36::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;300:36:0;;-1:-1:-1;300:36:0;:::o;30:5731::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30:5731:0;;;-1:-1:-1;30:5731:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;", + "source": "pragma solidity ^ 0.4 .18;\r\n\r\ncontract Company {\r\n\r\n struct SupportAgent {\r\n address agentAddress;\r\n string email;\r\n string fName;\r\n string lName;\r\n string timeZone;\r\n uint index;\r\n }\r\n\r\n mapping(uint256 => SupportAgent) private SupportAgents;\r\n address[] public supportAgentRecords;\r\n \r\n mapping(address => uint256) private agentRecords;\r\n \r\n uint256[] private agentIndex;\r\n \r\n \r\n mapping(address => bool) public isSupportAgent;\r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////\r\n modifier agentDoesNotExist(address supportagent) {\r\n require(!isSupportAgent[supportagent]);\r\n _;\r\n }\r\n\r\n modifier agentExist(address supportagent) {\r\n require(isSupportAgent[supportagent]);\r\n _;\r\n }\r\n\r\n modifier notNull(address _address) {\r\n require(_address != 0);\r\n _;\r\n }\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n function addSupportAgent(address _address, string _email, string _fName, string _lName, string _timeZone) \r\n public\r\n returns(uint256 index) {\r\n \r\n \r\n // If the first argument of `require` evaluates\r\n // to `false`, execution terminates and all\r\n // changes to the state and to Ether balances\r\n // are reverted.\r\n // This used to consume all gas in old EVM versions, but\r\n // not anymore.\r\n // It is often a good idea to use `require` to check if\r\n // functions are called correctly.\r\n // As a second argument, you can also provide an\r\n // explanation about what went wrong. \r\n \r\n require(\r\n isSupportAgent[_address] == false,\r\n \"Agent already exist !\"\r\n ); \r\n \r\n \r\n require(\r\n (bytes(_email).length < 5)==false,\r\n \"Invalid Email address !\"\r\n );\r\n \r\n require(\r\n (bytes(_fName).length < 3)==false,\r\n \"First name should contain minimum 3 letters\"\r\n ); \r\n \r\n require(\r\n (bytes(_lName).length < 3)==false,\r\n \"Last name should contain minimum 3 letters\"\r\n ); \r\n \r\n require(\r\n (bytes(_timeZone).length < 3)==false,\r\n \"Timezone is Invalid\"\r\n ); \r\n \r\n uint256 currentIndex = countSupportAgents();\r\n isSupportAgent[_address] = true;\r\n \r\n SupportAgents[currentIndex].agentAddress = _address;\r\n SupportAgents[currentIndex].email = _email;\r\n SupportAgents[currentIndex].fName = _fName;\r\n SupportAgents[currentIndex].lName = _lName; \r\n SupportAgents[currentIndex].timeZone = _timeZone;\r\n\r\n SupportAgents[currentIndex].index = agentIndex.push(currentIndex) - 1;\r\n \r\n agentRecords[_address] = currentIndex;\r\n \r\n return agentIndex.length-1;\r\n }\r\n\r\n function removeOneSupportAgent(address _address) public returns(uint) {\r\n \r\n require(\r\n isSupportAgent[_address] == true,\r\n \"There is no such agent with the given address !\"\r\n ); \r\n \r\n\r\n uint256 index = agentRecords[_address]; \r\n \r\n delete isSupportAgent[_address];\r\n delete agentRecords[_address];\r\n \r\n delete SupportAgents[index];\r\n delete agentIndex[index];\r\n \r\n agentIndex.length--;\r\n \r\n return countSupportAgents();\r\n }\r\n\r\n function removeAllSupportAgent() public returns(uint) {\r\n\r\n for (uint i=0; i < agentIndex.length; i++) \r\n {\r\n address agentAddress = SupportAgents[i].agentAddress; \r\n \r\n delete isSupportAgent[agentAddress];\r\n delete agentRecords[agentAddress];\r\n delete SupportAgents[i];\r\n \r\n }\r\n delete agentIndex; \r\n return countSupportAgents();\r\n }\r\n \r\n\r\n function findAllSupportAgents() view public returns(address[]) {\r\n return supportAgentRecords;\r\n }\r\n\r\n function findSupportAgentAddressById(uint index) view public returns(address) {\r\n return (SupportAgents[index].agentAddress);\r\n }\r\n\r\n function findSupportAgentArrayIndex(address _address) view public returns(uint) {\r\n\r\n require(\r\n isSupportAgent[_address] == true,\r\n \"There is no such agent with the given address !\"\r\n ); \r\n\r\n return agentRecords[_address];\r\n\r\n }\r\n\r\n \r\n function getAgentEmail(address _address) view public returns(string) \r\n {\r\n require(\r\n isSupportAgent[_address] == true,\r\n \"There is no such agent with the given address !\"\r\n ); \r\n \r\n uint256 index = agentRecords[_address]; \r\n \r\n return (SupportAgents[index].email);\r\n }\r\n \r\n \r\n function findSupportAgentByAddress(address _address) view public returns(string, string, string, string) \r\n {\r\n require(\r\n isSupportAgent[_address] == true,\r\n \"There is no such agent with the given address !\"\r\n ); \r\n \r\n uint256 index = agentRecords[_address]; \r\n \r\n return \r\n (SupportAgents[index].email, \r\n SupportAgents[index].fName, \r\n SupportAgents[index].lName,\r\n SupportAgents[index].timeZone);\r\n }\r\n \r\n \r\n function countSupportAgents() view public returns(uint256) {\r\n return agentIndex.length;\r\n }\r\n \r\n}", "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\Company.sol", "ast": { "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Company.sol", "exportedSymbols": { "Company": [ - 296 + 443 ] }, - "id": 297, + "id": 444, "nodeType": "SourceUnit", "nodes": [ { @@ -225,7 +249,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:24:0" + "src": "0:26:0" }, { "baseContracts": [], @@ -233,24 +257,50 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 296, + "id": 443, "linearizedBaseContracts": [ - 296 + 443 ], "name": "Company", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "Company.SupportAgent", - "id": 12, + "id": 14, "members": [ { "constant": false, "id": 3, + "name": "agentAddress", + "nodeType": "VariableDeclaration", + "scope": 14, + "src": "87:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "87:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 5, "name": "email", "nodeType": "VariableDeclaration", - "scope": 12, - "src": "87:12:0", + "scope": 14, + "src": "118:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -258,10 +308,10 @@ "typeString": "string" }, "typeName": { - "id": 2, + "id": 4, "name": "string", "nodeType": "ElementaryTypeName", - "src": "87:6:0", + "src": "118:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -272,11 +322,11 @@ }, { "constant": false, - "id": 5, + "id": 7, "name": "fName", "nodeType": "VariableDeclaration", - "scope": 12, - "src": "110:12:0", + "scope": 14, + "src": "141:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -284,10 +334,10 @@ "typeString": "string" }, "typeName": { - "id": 4, + "id": 6, "name": "string", "nodeType": "ElementaryTypeName", - "src": "110:6:0", + "src": "141:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -298,11 +348,11 @@ }, { "constant": false, - "id": 7, + "id": 9, "name": "lName", "nodeType": "VariableDeclaration", - "scope": 12, - "src": "133:12:0", + "scope": 14, + "src": "164:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -310,10 +360,10 @@ "typeString": "string" }, "typeName": { - "id": 6, + "id": 8, "name": "string", "nodeType": "ElementaryTypeName", - "src": "133:6:0", + "src": "164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -324,11 +374,11 @@ }, { "constant": false, - "id": 9, + "id": 11, "name": "timeZone", "nodeType": "VariableDeclaration", - "scope": 12, - "src": "149:15:0", + "scope": 14, + "src": "187:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -336,10 +386,10 @@ "typeString": "string" }, "typeName": { - "id": 8, + "id": 10, "name": "string", "nodeType": "ElementaryTypeName", - "src": "149:6:0", + "src": "187:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -350,11 +400,11 @@ }, { "constant": false, - "id": 11, - "name": "agentIndex", + "id": 13, + "name": "index", "nodeType": "VariableDeclaration", - "scope": 12, - "src": "168:15:0", + "scope": 14, + "src": "213:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -362,10 +412,10 @@ "typeString": "uint256" }, "typeName": { - "id": 10, + "id": 12, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "168:4:0", + "src": "213:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -377,64 +427,64 @@ ], "name": "SupportAgent", "nodeType": "StructDefinition", - "scope": 296, - "src": "58:134:0", + "scope": 443, + "src": "56:175:0", "visibility": "public" }, { "constant": false, - "id": 16, - "name": "supportAgents", + "id": 18, + "name": "SupportAgents", "nodeType": "VariableDeclaration", - "scope": 296, - "src": "204:47:0", + "scope": 443, + "src": "239:54:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent)" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent)" }, "typeName": { - "id": 15, + "id": 17, "keyType": { - "id": 13, - "name": "address", + "id": 15, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "213:7:0", + "src": "247:7:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "204:33:0", + "src": "239:32:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent)" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent)" }, "valueType": { "contractScope": null, - "id": 14, + "id": 16, "name": "SupportAgent", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12, - "src": "224:12:0", + "referencedDeclaration": 14, + "src": "258:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage_ptr", + "typeIdentifier": "t_struct$_SupportAgent_$14_storage_ptr", "typeString": "struct Company.SupportAgent" } } }, "value": null, - "visibility": "internal" + "visibility": "private" }, { "constant": false, - "id": 19, + "id": 21, "name": "supportAgentRecords", "nodeType": "VariableDeclaration", - "scope": 296, - "src": "258:36:0", + "scope": 443, + "src": "300:36:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -443,19 +493,19 @@ }, "typeName": { "baseType": { - "id": 17, + "id": 19, "name": "address", "nodeType": "ElementaryTypeName", - "src": "258:7:0", + "src": "300:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 18, + "id": 20, "length": null, "nodeType": "ArrayTypeName", - "src": "258:9:0", + "src": "300:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -466,11 +516,92 @@ }, { "constant": false, - "id": 23, + "id": 25, + "name": "agentRecords", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "349:48:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + }, + "typeName": { + "id": 24, + "keyType": { + "id": 22, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "357:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "349:27:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + }, + "valueType": { + "id": 23, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "368:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + }, + "value": null, + "visibility": "private" + }, + { + "constant": false, + "id": 28, + "name": "agentIndex", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "410:28:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[]" + }, + "typeName": { + "baseType": { + "id": 26, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "410:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 27, + "length": null, + "nodeType": "ArrayTypeName", + "src": "410:9:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", + "typeString": "uint256[]" + } + }, + "value": null, + "visibility": "private" + }, + { + "constant": false, + "id": 32, "name": "isSupportAgent", "nodeType": "VariableDeclaration", - "scope": 296, - "src": "301:47:0", + "scope": 443, + "src": "457:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -478,28 +609,28 @@ "typeString": "mapping(address => bool)" }, "typeName": { - "id": 22, + "id": 31, "keyType": { - "id": 20, + "id": 29, "name": "address", "nodeType": "ElementaryTypeName", - "src": "310:7:0", + "src": "465:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "301:25:0", + "src": "457:24:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 21, + "id": 30, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "321:4:0", + "src": "476:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -511,9 +642,9 @@ }, { "body": { - "id": 35, + "id": 44, "nodeType": "Block", - "src": "510:69:0", + "src": "669:69:0", "statements": [ { "expression": { @@ -521,7 +652,7 @@ "arguments": [ { "argumentTypes": null, - "id": 31, + "id": 40, "isConstant": false, "isLValue": false, "isPure": false, @@ -529,31 +660,31 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "529:29:0", + "src": "688:29:0", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 28, + "id": 37, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "530:14:0", + "referencedDeclaration": 32, + "src": "689:14:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 30, + "id": 39, "indexExpression": { "argumentTypes": null, - "id": 29, + "id": 38, "name": "supportagent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "545:12:0", + "referencedDeclaration": 34, + "src": "704:12:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -564,7 +695,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "530:28:0", + "src": "689:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -583,21 +714,21 @@ "typeString": "bool" } ], - "id": 27, + "id": 36, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 461, + 462 ], - "referencedDeclaration": 1225, - "src": "521:7:0", + "referencedDeclaration": 461, + "src": "680:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 32, + "id": 41, "isConstant": false, "isLValue": false, "isPure": false, @@ -605,38 +736,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "521:38:0", + "src": "680:38:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 33, + "id": 42, "nodeType": "ExpressionStatement", - "src": "521:38:0" + "src": "680:38:0" }, { - "id": 34, + "id": 43, "nodeType": "PlaceholderStatement", - "src": "570:1:0" + "src": "729:1:0" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 36, + "id": 45, "name": "agentDoesNotExist", "nodeType": "ModifierDefinition", "parameters": { - "id": 26, + "id": 35, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 25, + "id": 34, "name": "supportagent", "nodeType": "VariableDeclaration", - "scope": 36, - "src": "488:20:0", + "scope": 45, + "src": "647:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -644,10 +775,10 @@ "typeString": "address" }, "typeName": { - "id": 24, + "id": 33, "name": "address", "nodeType": "ElementaryTypeName", - "src": "488:7:0", + "src": "647:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -657,16 +788,16 @@ "visibility": "internal" } ], - "src": "487:22:0" + "src": "646:22:0" }, - "src": "461:118:0", + "src": "620:118:0", "visibility": "internal" }, { "body": { - "id": 47, + "id": 56, "nodeType": "Block", - "src": "629:68:0", + "src": "788:68:0", "statements": [ { "expression": { @@ -676,26 +807,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 41, + "id": 50, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "648:14:0", + "referencedDeclaration": 32, + "src": "807:14:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 43, + "id": 52, "indexExpression": { "argumentTypes": null, - "id": 42, + "id": 51, "name": "supportagent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "663:12:0", + "referencedDeclaration": 47, + "src": "822:12:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -706,7 +837,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "648:28:0", + "src": "807:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -720,21 +851,21 @@ "typeString": "bool" } ], - "id": 40, + "id": 49, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 461, + 462 ], - "referencedDeclaration": 1225, - "src": "640:7:0", + "referencedDeclaration": 461, + "src": "799:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 44, + "id": 53, "isConstant": false, "isLValue": false, "isPure": false, @@ -742,38 +873,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "640:37:0", + "src": "799:37:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 45, + "id": 54, "nodeType": "ExpressionStatement", - "src": "640:37:0" + "src": "799:37:0" }, { - "id": 46, + "id": 55, "nodeType": "PlaceholderStatement", - "src": "688:1:0" + "src": "847:1:0" } ] }, "documentation": null, - "id": 48, + "id": 57, "name": "agentExist", "nodeType": "ModifierDefinition", "parameters": { - "id": 39, + "id": 48, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 38, + "id": 47, "name": "supportagent", "nodeType": "VariableDeclaration", - "scope": 48, - "src": "607:20:0", + "scope": 57, + "src": "766:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -781,10 +912,10 @@ "typeString": "address" }, "typeName": { - "id": 37, + "id": 46, "name": "address", "nodeType": "ElementaryTypeName", - "src": "607:7:0", + "src": "766:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -794,16 +925,16 @@ "visibility": "internal" } ], - "src": "606:22:0" + "src": "765:22:0" }, - "src": "587:110:0", + "src": "746:110:0", "visibility": "internal" }, { "body": { - "id": 59, + "id": 68, "nodeType": "Block", - "src": "740:53:0", + "src": "899:53:0", "statements": [ { "expression": { @@ -815,19 +946,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 55, + "id": 64, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 53, + "id": 62, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 50, - "src": "759:8:0", + "referencedDeclaration": 59, + "src": "918:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -838,14 +969,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 54, + "id": 63, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "771:1:0", + "src": "930:1:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -853,7 +984,7 @@ }, "value": "0" }, - "src": "759:13:0", + "src": "918:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -867,21 +998,21 @@ "typeString": "bool" } ], - "id": 52, + "id": 61, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 461, + 462 ], - "referencedDeclaration": 1225, - "src": "751:7:0", + "referencedDeclaration": 461, + "src": "910:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 56, + "id": 65, "isConstant": false, "isLValue": false, "isPure": false, @@ -889,38 +1020,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "751:22:0", + "src": "910:22:0", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 57, + "id": 66, "nodeType": "ExpressionStatement", - "src": "751:22:0" + "src": "910:22:0" }, { - "id": 58, + "id": 67, "nodeType": "PlaceholderStatement", - "src": "784:1:0" + "src": "943:1:0" } ] }, "documentation": null, - "id": 60, + "id": 69, "name": "notNull", "nodeType": "ModifierDefinition", "parameters": { - "id": 51, + "id": 60, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 50, + "id": 59, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 60, - "src": "722:16:0", + "scope": 69, + "src": "881:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -928,10 +1059,10 @@ "typeString": "address" }, "typeName": { - "id": 49, + "id": 58, "name": "address", "nodeType": "ElementaryTypeName", - "src": "722:7:0", + "src": "881:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -941,532 +1072,1126 @@ "visibility": "internal" } ], - "src": "721:18:0" + "src": "880:18:0" }, - "src": "705:88:0", + "src": "864:88:0", "visibility": "internal" }, { "body": { - "id": 124, + "id": 214, "nodeType": "Block", - "src": "1028:431:0", + "src": "1217:1899:0", "statements": [ { - "assignments": [ - 74 - ], - "declarations": [ - { - "constant": false, - "id": 74, - "name": "supportAgent", - "nodeType": "VariableDeclaration", - "scope": 125, - "src": "1039:32:0", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", - "typeString": "struct Company.SupportAgent" - }, - "typeName": { - "contractScope": null, - "id": 73, - "name": "SupportAgent", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12, - "src": "1039:12:0", + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 89, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 85, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "1788:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 87, + "indexExpression": { + "argumentTypes": null, + "id": 86, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 71, + "src": "1803:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1788:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 88, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1816:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "1788:33:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage_ptr", - "typeString": "struct Company.SupportAgent" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "value": null, - "visibility": "internal" - } - ], - "id": 78, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 75, - "name": "supportAgents", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "1074:13:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + { + "argumentTypes": null, + "hexValue": "4167656e7420616c72656164792065786973742021", + "id": 90, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1836:23:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_cf05af21c42bc46dd555c3e9e69f3fa78dfb0860489b964e3d12cf994acd9d91", + "typeString": "literal_string \"Agent already exist !\"" + }, + "value": "Agent already exist !" } - }, - "id": 77, - "indexExpression": { - "argumentTypes": null, - "id": 76, - "name": "_address", + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_cf05af21c42bc46dd555c3e9e69f3fa78dfb0860489b964e3d12cf994acd9d91", + "typeString": "literal_string \"Agent already exist !\"" + } + ], + "id": 84, + "name": "require", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 62, - "src": "1088:8:0", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "1766:7:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, + "id": 91, "isConstant": false, - "isLValue": true, + "isLValue": false, "isPure": false, + "kind": "functionCall", "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1074:23:0", + "names": [], + "nodeType": "FunctionCall", + "src": "1766:108:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage", - "typeString": "struct Company.SupportAgent storage ref" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "nodeType": "VariableDeclarationStatement", - "src": "1039:58:0" + "id": 92, + "nodeType": "ExpressionStatement", + "src": "1766:108:0" }, { "expression": { "argumentTypes": null, - "id": 83, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 79, - "name": "supportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "1118:12:0", + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 99, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 95, + "name": "_email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 73, + "src": "1946:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 94, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1940:5:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": "bytes" + }, + "id": 96, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1940:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory", + "typeString": "bytes memory" + } + }, + "id": 97, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1940:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "hexValue": "35", + "id": 98, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1963:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_5_by_1", + "typeString": "int_const 5" + }, + "value": "5" + }, + "src": "1940:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 100, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1939:26:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 101, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1967:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "1939:33:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", - "typeString": "struct Company.SupportAgent memory" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 81, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "email", - "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "1118:18:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" + { + "argumentTypes": null, + "hexValue": "496e76616c696420456d61696c20616464726573732021", + "id": 103, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1987:25:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ebbe95df7058c1a391298274699fe83b8627312fc7f82b26ef5fb123858078ea", + "typeString": "literal_string \"Invalid Email address !\"" + }, + "value": "Invalid Email address !" } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 82, - "name": "_email", + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ebbe95df7058c1a391298274699fe83b8627312fc7f82b26ef5fb123858078ea", + "typeString": "literal_string \"Invalid Email address !\"" + } + ], + "id": 93, + "name": "require", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 64, - "src": "1140:6:0", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "1917:7:0", "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "src": "1118:28:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" - } - }, - "id": 84, - "nodeType": "ExpressionStatement", - "src": "1118:28:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 89, + "id": 104, "isConstant": false, "isLValue": false, "isPure": false, + "kind": "functionCall", "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 85, - "name": "supportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "1157:12:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", - "typeString": "struct Company.SupportAgent memory" - } - }, - "id": 87, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "fName", - "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "1157:18:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 88, - "name": "_fName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 66, - "src": "1179:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1157:28:0", + "names": [], + "nodeType": "FunctionCall", + "src": "1917:110:0", "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 90, + "id": 105, "nodeType": "ExpressionStatement", - "src": "1157:28:0" + "src": "1917:110:0" }, { "expression": { "argumentTypes": null, - "id": 95, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { + "arguments": [ + { "argumentTypes": null, - "id": 91, - "name": "supportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "1196:12:0", + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 115, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 108, + "name": "_fName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 75, + "src": "2073:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 107, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2067:5:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": "bytes" + }, + "id": 109, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2067:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory", + "typeString": "bytes memory" + } + }, + "id": 110, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2067:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "hexValue": "33", + "id": 111, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2090:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "src": "2067:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 113, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2066:26:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 114, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2094:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "2066:33:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", - "typeString": "struct Company.SupportAgent memory" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 93, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "lName", - "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "1196:18:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" + { + "argumentTypes": null, + "hexValue": "4669727374206e616d652073686f756c6420636f6e7461696e206d696e696d756d2033206c657474657273", + "id": 116, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2114:45:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5f9dc8fd126aa581a445c3053d9bd6918365229d33711d8efb0ce486a628db32", + "typeString": "literal_string \"First name should contain minimum 3 letters\"" + }, + "value": "First name should contain minimum 3 letters" } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 94, - "name": "_lName", + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_5f9dc8fd126aa581a445c3053d9bd6918365229d33711d8efb0ce486a628db32", + "typeString": "literal_string \"First name should contain minimum 3 letters\"" + } + ], + "id": 106, + "name": "require", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 68, - "src": "1218:6:0", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "2044:7:0", "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "src": "1196:28:0", + "id": 117, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2044:130:0", "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 96, + "id": 118, "nodeType": "ExpressionStatement", - "src": "1196:28:0" + "src": "2044:130:0" }, { "expression": { "argumentTypes": null, - "id": 101, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { + "arguments": [ + { "argumentTypes": null, - "id": 97, - "name": "supportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "1228:12:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", - "typeString": "struct Company.SupportAgent memory" - } - }, - "id": 99, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "timeZone", - "nodeType": "MemberAccess", - "referencedDeclaration": 9, - "src": "1228:21:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 128, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 125, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 121, + "name": "_lName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 77, + "src": "2232:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 120, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2226:5:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": "bytes" + }, + "id": 122, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2226:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory", + "typeString": "bytes memory" + } + }, + "id": 123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2226:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "hexValue": "33", + "id": 124, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2249:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "src": "2226:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 126, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2225:26:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 127, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2253:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "2225:33:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "4c617374206e616d652073686f756c6420636f6e7461696e206d696e696d756d2033206c657474657273", + "id": 129, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2273:44:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d67de0144365e2af8189ca3dbe099727a0009a350983897187eef357e87731ca", + "typeString": "literal_string \"Last name should contain minimum 3 letters\"" + }, + "value": "Last name should contain minimum 3 letters" } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 100, - "name": "_timeZone", + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_d67de0144365e2af8189ca3dbe099727a0009a350983897187eef357e87731ca", + "typeString": "literal_string \"Last name should contain minimum 3 letters\"" + } + ], + "id": 119, + "name": "require", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "1253:9:0", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "2203:7:0", "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "src": "1228:34:0", + "id": 130, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2203:129:0", "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 102, + "id": 131, "nodeType": "ExpressionStatement", - "src": "1228:34:0" + "src": "2203:129:0" }, { "expression": { "argumentTypes": null, - "id": 108, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { + "arguments": [ + { "argumentTypes": null, - "id": 103, - "name": "supportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "1266:12:0", + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 138, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 134, + "name": "_timeZone", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 79, + "src": "2402:9:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 133, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2396:5:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": "bytes" + }, + "id": 135, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2396:16:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory", + "typeString": "bytes memory" + } + }, + "id": 136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2396:23:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "hexValue": "33", + "id": 137, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2422:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "src": "2396:27:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 139, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2395:29:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 140, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2426:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "2395:36:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", - "typeString": "struct Company.SupportAgent memory" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 105, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "agentIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "1266:23:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { + { "argumentTypes": null, - "id": 106, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1293:19:0", + "hexValue": "54696d657a6f6e6520697320496e76616c6964", + "id": 142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2446:21:0", + "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" + "typeIdentifier": "t_stringliteral_bdd71664d7dbc0937c6d7d9afe7f7d88cb6272238aa1bd5a76c90e070c4fd904", + "typeString": "literal_string \"Timezone is Invalid\"" + }, + "value": "Timezone is Invalid" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_bdd71664d7dbc0937c6d7d9afe7f7d88cb6272238aa1bd5a76c90e070c4fd904", + "typeString": "literal_string \"Timezone is Invalid\"" } - }, - "id": 107, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1293:26:0", + ], + "id": 132, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "2373:7:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "src": "1266:53:0", + "id": 143, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2373:109:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 109, + "id": 144, "nodeType": "ExpressionStatement", - "src": "1266:53:0" + "src": "2373:109:0" }, { - "expression": { + "assignments": [ + 146 + ], + "declarations": [ + { + "constant": false, + "id": 146, + "name": "currentIndex", + "nodeType": "VariableDeclaration", + "scope": 215, + "src": "2513:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 145, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2513:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 149, + "initialValue": { "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 147, + "name": "countSupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 442, + "src": "2536:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } }, - "id": 116, + "id": 148, "isConstant": false, "isLValue": false, "isPure": false, + "kind": "functionCall", "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 113, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 62, - "src": "1402:8:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 110, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1377:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1377:24:0", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) returns (uint256)" - } - }, - "id": 114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1377:34:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1413:1:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1377:37:0", + "names": [], + "nodeType": "FunctionCall", + "src": "2536:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 117, - "nodeType": "ExpressionStatement", - "src": "1377:37:0" + "nodeType": "VariableDeclarationStatement", + "src": "2513:43:0" }, { "expression": { "argumentTypes": null, - "id": 122, + "id": 154, "isConstant": false, "isLValue": false, "isPure": false, @@ -1475,26 +2200,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 118, + "id": 150, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "1420:14:0", + "referencedDeclaration": 32, + "src": "2567:14:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 120, + "id": 152, "indexExpression": { "argumentTypes": null, - "id": 119, + "id": 151, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 62, - "src": "1435:8:0", + "referencedDeclaration": 71, + "src": "2582:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1505,7 +2230,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1420:24:0", + "src": "2567:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1516,14 +2241,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 121, + "id": 153, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1447:4:0", + "src": "2594:4:0", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1531,719 +2256,805 @@ }, "value": "true" }, - "src": "1420:31:0", + "src": "2567:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 123, + "id": 155, "nodeType": "ExpressionStatement", - "src": "1420:31:0" - } - ] - }, - "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 125, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": false, - "modifiers": [], - "name": "addSupportAgent", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 71, - "nodeType": "ParameterList", - "parameters": [ + "src": "2567:31:0" + }, { - "constant": false, - "id": 62, - "name": "_address", - "nodeType": "VariableDeclaration", - "scope": 125, - "src": "934:16:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 61, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "934:7:0", + "expression": { + "argumentTypes": null, + "id": 161, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 156, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2619:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 158, + "indexExpression": { + "argumentTypes": null, + "id": 157, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2633:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2619:27:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 159, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "agentAddress", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2619:40:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 160, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 71, + "src": "2662:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2619:51:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 64, - "name": "_email", - "nodeType": "VariableDeclaration", - "scope": 125, - "src": "952:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 63, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "952:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" + "id": 162, + "nodeType": "ExpressionStatement", + "src": "2619:51:0" }, { - "constant": false, - "id": 66, - "name": "_fName", - "nodeType": "VariableDeclaration", - "scope": 125, - "src": "967:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 65, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "967:6:0", + "expression": { + "argumentTypes": null, + "id": 168, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 163, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2681:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 165, + "indexExpression": { + "argumentTypes": null, + "id": 164, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2695:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2681:27:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 166, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "2681:33:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 167, + "name": "_email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 73, + "src": "2724:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "2681:49:0", "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, - "value": null, - "visibility": "internal" + "id": 169, + "nodeType": "ExpressionStatement", + "src": "2681:49:0" }, { - "constant": false, - "id": 68, - "name": "_lName", - "nodeType": "VariableDeclaration", - "scope": 125, - "src": "982:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 67, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "982:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 70, - "name": "_timeZone", - "nodeType": "VariableDeclaration", - "scope": 125, - "src": "997:16:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 69, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "997:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "933:81:0" - }, - "payable": false, - "returnParameters": { - "id": 72, - "nodeType": "ParameterList", - "parameters": [], - "src": "1028:0:0" - }, - "scope": 296, - "src": "909:550:0", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 171, - "nodeType": "Block", - "src": "1543:442:0", - "statements": [ - { - "assignments": [ - 133 - ], - "declarations": [ - { - "constant": false, - "id": 133, - "name": "removeThisAgent", - "nodeType": "VariableDeclaration", - "scope": 172, - "src": "1629:20:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 132, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1629:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 137, - "initialValue": { + "expression": { "argumentTypes": null, - "arguments": [ - { + "id": 175, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { "argumentTypes": null, - "id": 135, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 127, - "src": "1679:8:0", + "baseExpression": { + "argumentTypes": null, + "id": 170, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2741:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 172, + "indexExpression": { + "argumentTypes": null, + "id": 171, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2755:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2741:27:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" } + }, + "id": 173, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "fName", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "2741:33:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 134, - "name": "findSupportAgentArrayIndex", + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 174, + "name": "_fName", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 254, - "src": "1652:26:0", + "referencedDeclaration": 75, + "src": "2784:6:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view returns (uint256)" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" } }, - "id": 136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1652:36:0", + "src": "2741:49:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, - "nodeType": "VariableDeclarationStatement", - "src": "1629:59:0" + "id": 176, + "nodeType": "ExpressionStatement", + "src": "2741:49:0" }, { "expression": { "argumentTypes": null, - "id": 147, + "id": 182, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 138, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1717:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 140, - "indexExpression": { + "expression": { "argumentTypes": null, - "id": 139, - "name": "removeThisAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 133, - "src": "1737:15:0", + "baseExpression": { + "argumentTypes": null, + "id": 177, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2801:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 179, + "indexExpression": { + "argumentTypes": null, + "id": 178, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2815:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2801:27:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" } }, + "id": 180, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1717:36:0", + "memberName": "lName", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "2801:33:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 141, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1756:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 146, - "indexExpression": { + "id": 181, + "name": "_lName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 77, + "src": "2844:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "2801:49:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 183, + "nodeType": "ExpressionStatement", + "src": "2801:49:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 189, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "baseExpression": { + "argumentTypes": null, + "id": 184, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2869:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } }, - "id": 145, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { + "id": 186, + "indexExpression": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 142, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1776:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 143, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1776:26:0", + "id": 185, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2883:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1805:1:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1776:30:0", + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2869:27:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" } }, + "id": 187, "isConstant": false, "isLValue": true, "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1756:51:0", + "lValueRequested": true, + "memberName": "timeZone", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "2869:36:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 188, + "name": "_timeZone", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 79, + "src": "2912:9:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" } }, - "src": "1717:90:0", + "src": "2869:52:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, - "id": 148, + "id": 190, "nodeType": "ExpressionStatement", - "src": "1717:90:0" + "src": "2869:52:0" }, { "expression": { "argumentTypes": null, - "id": 155, + "id": 201, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1813:58:0", - "subExpression": { + "leftHandSide": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 149, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1820:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 154, - "indexExpression": { + "expression": { "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "baseExpression": { + "argumentTypes": null, + "id": 191, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2934:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 193, + "indexExpression": { + "argumentTypes": null, + "id": 192, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2948:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } }, - "id": 153, "isConstant": false, - "isLValue": false, + "isLValue": true, "isPure": false, "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, + "nodeType": "IndexAccess", + "src": "2934:27:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 194, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 13, + "src": "2934:33:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 200, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 197, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2986:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], "expression": { "argumentTypes": null, - "id": 150, - "name": "supportAgentRecords", + "id": 195, + "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1840:19:0", + "referencedDeclaration": 28, + "src": "2970:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, - "id": 151, + "id": 196, "isConstant": false, - "isLValue": true, + "isLValue": false, "isPure": false, "lValueRequested": false, - "memberName": "length", + "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1840:26:0", + "src": "2970:15:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) returns (uint256)" } }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 152, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1869:1:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1840:30:0", + "id": 198, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2970:29:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1820:51:0", + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 199, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3002:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "2970:33:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, + "src": "2934:69:0", "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 156, + "id": 202, "nodeType": "ExpressionStatement", - "src": "1813:58:0" + "src": "2934:69:0" }, { "expression": { "argumentTypes": null, - "id": 160, + "id": 207, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "1878:28:0", - "subExpression": { + "leftHandSide": { "argumentTypes": null, - "expression": { + "baseExpression": { "argumentTypes": null, - "id": 157, - "name": "supportAgentRecords", + "id": 203, + "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1878:19:0", + "referencedDeclaration": 25, + "src": "3024:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 205, + "indexExpression": { + "argumentTypes": null, + "id": 204, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 71, + "src": "3037:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 159, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1878:26:0", + "nodeType": "IndexAccess", + "src": "3024:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 206, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "3049:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3024:37:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 161, + "id": 208, "nodeType": "ExpressionStatement", - "src": "1878:28:0" + "src": "3024:37:0" }, { "expression": { "argumentTypes": null, - "id": 166, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 212, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "leftHandSide": { + "leftExpression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 162, - "name": "isSupportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "1912:14:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 164, - "indexExpression": { + "expression": { "argumentTypes": null, - "id": 163, - "name": "_address", + "id": 209, + "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 127, - "src": "1927:8:0", + "referencedDeclaration": 28, + "src": "3089:10:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, + "id": 210, "isConstant": false, "isLValue": true, "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1912:24:0", + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3089:17:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { "argumentTypes": null, - "hexValue": "66616c7365", - "id": 165, + "hexValue": "31", + "id": 211, "isConstant": false, "isLValue": false, "isPure": true, - "kind": "bool", + "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1939:5:0", + "src": "3107:1:0", "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" }, - "value": "false" + "value": "1" }, - "src": "1912:32:0", + "src": "3089:19:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 167, - "nodeType": "ExpressionStatement", - "src": "1912:32:0" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 168, - "name": "countSupportAgents", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "1957:18:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", - "typeString": "function () view returns (uint256)" - } - }, - "id": 169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1957:20:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 131, - "id": 170, + "functionReturnParameters": 83, + "id": 213, "nodeType": "Return", - "src": "1950:27:0" + "src": "3082:26:0" } ] }, - "documentation": null, - "id": 172, + "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", + "id": 215, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], - "name": "removeOneSupportAgent", + "name": "addSupportAgent", "nodeType": "FunctionDefinition", "parameters": { - "id": 128, + "id": 80, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 127, + "id": 71, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 172, - "src": "1498:16:0", + "scope": 215, + "src": "1093:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2251,10 +3062,10 @@ "typeString": "address" }, "typeName": { - "id": 126, + "id": 70, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1498:7:0", + "src": "1093:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2262,22 +3073,126 @@ }, "value": null, "visibility": "internal" + }, + { + "constant": false, + "id": 73, + "name": "_email", + "nodeType": "VariableDeclaration", + "scope": 215, + "src": "1111:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 72, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1111:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 75, + "name": "_fName", + "nodeType": "VariableDeclaration", + "scope": 215, + "src": "1126:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 74, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1126:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 77, + "name": "_lName", + "nodeType": "VariableDeclaration", + "scope": 215, + "src": "1141:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 76, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1141:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 79, + "name": "_timeZone", + "nodeType": "VariableDeclaration", + "scope": 215, + "src": "1156:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 78, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1156:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" } ], - "src": "1497:18:0" + "src": "1092:81:0" }, "payable": false, "returnParameters": { - "id": 131, + "id": 83, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 130, - "name": "", + "id": 82, + "name": "index", "nodeType": "VariableDeclaration", - "scope": 172, - "src": "1532:4:0", + "scope": 215, + "src": "1202:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2285,10 +3200,10 @@ "typeString": "uint256" }, "typeName": { - "id": 129, - "name": "uint", + "id": 81, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1532:4:0", + "src": "1202:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2298,491 +3213,532 @@ "visibility": "internal" } ], - "src": "1531:6:0" + "src": "1201:15:0" }, - "scope": 296, - "src": "1467:518:0", + "scope": 443, + "src": "1068:2048:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 217, + "id": 265, "nodeType": "Block", - "src": "2053:282:0", + "src": "3194:518:0", "statements": [ { - "body": { - "id": 212, - "nodeType": "Block", - "src": "2118:179:0", - "statements": [ + "expression": { + "argumentTypes": null, + "arguments": [ { - "assignments": [ - 191 - ], - "declarations": [ - { - "constant": false, - "id": 191, - "name": "_address", - "nodeType": "VariableDeclaration", - "scope": 218, - "src": "2127:16:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 190, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2127:7:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 195, - "initialValue": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 227, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 193, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 178, - "src": "2174:1:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } + "baseExpression": { + "argumentTypes": null, + "id": 223, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "3237:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 192, - "name": "findSupportAgentAddressById", + }, + "id": 225, + "indexExpression": { + "argumentTypes": null, + "id": 224, + "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 240, - "src": "2146:27:0", + "referencedDeclaration": 217, + "src": "3252:8:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 194, "isConstant": false, - "isLValue": false, + "isLValue": true, "isPure": false, - "kind": "functionCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2146:30:0", + "nodeType": "IndexAccess", + "src": "3237:24:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "nodeType": "VariableDeclarationStatement", - "src": "2127:49:0" - }, - { - "expression": { + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { "argumentTypes": null, - "id": 200, + "hexValue": "74727565", + "id": 226, "isConstant": false, "isLValue": false, - "isPure": false, + "isPure": true, + "kind": "bool", "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 196, - "name": "isSupportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "2189:14:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 198, - "indexExpression": { - "argumentTypes": null, - "id": 197, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 191, - "src": "2204:8:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2189:24:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 199, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2216:5:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "2189:32:0", + "nodeType": "Literal", + "src": "3265:4:0", + "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" - } + }, + "value": "true" }, - "id": 201, - "nodeType": "ExpressionStatement", - "src": "2189:32:0" + "src": "3237:32:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } }, { - "expression": { - "argumentTypes": null, - "id": 205, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "2229:29:0", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 202, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2236:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 204, - "indexExpression": { - "argumentTypes": null, - "id": 203, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 178, - "src": "2256:1:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2236:22:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } + "argumentTypes": null, + "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", + "id": 228, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3284:49:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" }, - "id": 206, - "nodeType": "ExpressionStatement", - "src": "2229:29:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "2264:28:0", - "subExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 207, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2264:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 209, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2264:26:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } + "value": "There is no such agent with the given address !" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" }, - "id": 211, - "nodeType": "ExpressionStatement", - "src": "2264:28:0" + { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + } + ], + "id": 222, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "3215:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" }, - "id": 186, + "id": 229, "isConstant": false, "isLValue": false, "isPure": false, + "kind": "functionCall", "lValueRequested": false, - "leftExpression": { + "names": [], + "nodeType": "FunctionCall", + "src": "3215:133:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 230, + "nodeType": "ExpressionStatement", + "src": "3215:133:0" + }, + { + "assignments": [ + 232 + ], + "declarations": [ + { + "constant": false, + "id": 232, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 266, + "src": "3384:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 231, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3384:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 236, + "initialValue": { + "argumentTypes": null, + "baseExpression": { "argumentTypes": null, - "id": 181, - "name": "i", + "id": 233, + "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 178, - "src": "2074:1:0", + "referencedDeclaration": 25, + "src": "3400:12:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" } }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { + "id": 235, + "indexExpression": { "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { + "id": 234, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 217, + "src": "3413:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3400:22:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3384:38:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 240, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3456:31:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 182, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2078:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 183, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2078:26:0", + "id": 237, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "3463:14:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" } }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { + "id": 239, + "indexExpression": { "argumentTypes": null, - "hexValue": "31", - "id": 184, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2107:1:0", - "subdenomination": null, + "id": 238, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 217, + "src": "3478:8:0", "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" + "typeIdentifier": "t_address", + "typeString": "address" + } }, - "src": "2078:30:0", + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3463:24:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "src": "2074:34:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 213, - "initializationExpression": { - "assignments": [ - 178 - ], - "declarations": [ - { - "constant": false, - "id": 178, - "name": "i", - "nodeType": "VariableDeclaration", - "scope": 218, - "src": "2062:6:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 177, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2062:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 180, - "initialValue": { + "id": 241, + "nodeType": "ExpressionStatement", + "src": "3456:31:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 245, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3499:29:0", + "subExpression": { "argumentTypes": null, - "hexValue": "30", - "id": 179, + "baseExpression": { + "argumentTypes": null, + "id": 242, + "name": "agentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "3506:12:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 244, + "indexExpression": { + "argumentTypes": null, + "id": 243, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 217, + "src": "3519:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2071:1:0", - "subdenomination": null, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3506:22:0", "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } }, - "nodeType": "VariableDeclarationStatement", - "src": "2062:10:0" + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } }, - "loopExpression": { - "expression": { + "id": 246, + "nodeType": "ExpressionStatement", + "src": "3499:29:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 250, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3551:27:0", + "subExpression": { "argumentTypes": null, - "id": 188, + "baseExpression": { + "argumentTypes": null, + "id": 247, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "3558:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 249, + "indexExpression": { + "argumentTypes": null, + "id": 248, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 232, + "src": "3572:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, "isConstant": false, - "isLValue": false, + "isLValue": true, "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "2110:3:0", - "subExpression": { + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3558:20:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 251, + "nodeType": "ExpressionStatement", + "src": "3551:27:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 255, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3590:24:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { "argumentTypes": null, - "id": 187, - "name": "i", + "id": 252, + "name": "agentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 28, + "src": "3597:10:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 254, + "indexExpression": { + "argumentTypes": null, + "id": 253, + "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 178, - "src": "2110:1:0", + "referencedDeclaration": 232, + "src": "3608:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3597:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 189, - "nodeType": "ExpressionStatement", - "src": "2110:3:0" + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } }, - "nodeType": "ForStatement", - "src": "2057:240:0" + "id": 256, + "nodeType": "ExpressionStatement", + "src": "3590:24:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 260, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "3637:19:0", + "subExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 257, + "name": "agentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 28, + "src": "3637:10:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 259, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3637:17:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 261, + "nodeType": "ExpressionStatement", + "src": "3637:19:0" }, { "expression": { @@ -2790,18 +3746,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 214, + "id": 262, "name": "countSupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "2307:18:0", + "referencedDeclaration": 442, + "src": "3684:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" } }, - "id": 215, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -2809,45 +3765,72 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2307:20:0", + "src": "3684:20:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 176, - "id": 216, + "functionReturnParameters": 221, + "id": 264, "nodeType": "Return", - "src": "2300:27:0" + "src": "3677:27:0" } ] }, "documentation": null, - "id": 218, + "id": 266, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], - "name": "removeAllSupportAgent", + "name": "removeOneSupportAgent", "nodeType": "FunctionDefinition", "parameters": { - "id": 173, + "id": 218, "nodeType": "ParameterList", - "parameters": [], - "src": "2023:2:0" + "parameters": [ + { + "constant": false, + "id": 217, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 266, + "src": "3155:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 216, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3155:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3154:18:0" }, "payable": false, "returnParameters": { - "id": 176, + "id": 221, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 175, + "id": 220, "name": "", "nodeType": "VariableDeclaration", - "scope": 218, - "src": "2042:4:0", + "scope": 266, + "src": "3188:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2855,10 +3838,10 @@ "typeString": "uint256" }, "typeName": { - "id": 174, + "id": 219, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2042:4:0", + "src": "3188:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2868,908 +3851,779 @@ "visibility": "internal" } ], - "src": "2041:6:0" + "src": "3187:6:0" }, - "scope": 296, - "src": "1993:342:0", + "scope": 443, + "src": "3124:588:0", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 226, + "id": 312, "nodeType": "Block", - "src": "2410:45:0", + "src": "3774:376:0", "statements": [ { - "expression": { - "argumentTypes": null, - "id": 224, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2428:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "functionReturnParameters": 223, - "id": 225, - "nodeType": "Return", - "src": "2421:26:0" - } - ] - }, - "documentation": null, - "id": 227, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": true, - "modifiers": [], - "name": "findAllSupportAgents", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 219, - "nodeType": "ParameterList", - "parameters": [], - "src": "2376:2:0" - }, - "payable": false, - "returnParameters": { - "id": 223, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 222, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 227, - "src": "2399:9:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 220, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2399:7:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 221, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2399:9:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2398:11:0" - }, - "scope": 296, - "src": "2347:108:0", - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 239, - "nodeType": "Block", - "src": "2547:48:0", - "statements": [ - { - "expression": { - "argumentTypes": null, - "components": [ + "body": { + "id": 304, + "nodeType": "Block", + "src": "3840:229:0", + "statements": [ { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 234, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2559:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 236, - "indexExpression": { - "argumentTypes": null, - "id": 235, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2579:5:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "assignments": [ + 283 + ], + "declarations": [ + { + "constant": false, + "id": 283, + "name": "agentAddress", + "nodeType": "VariableDeclaration", + "scope": 313, + "src": "3852:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 282, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3852:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2559:26:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "id": 237, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2558:28:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 233, - "id": 238, - "nodeType": "Return", - "src": "2551:35:0" - } - ] - }, - "documentation": null, - "id": 240, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": true, - "modifiers": [], - "name": "findSupportAgentAddressById", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 230, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 229, - "name": "index", - "nodeType": "VariableDeclaration", - "scope": 240, - "src": "2500:10:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 228, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2500:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2499:12:0" - }, - "payable": false, - "returnParameters": { - "id": 233, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 232, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 240, - "src": "2533:7:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 231, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2533:7:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2532:9:0" - }, - "scope": 296, - "src": "2463:132:0", - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 253, - "nodeType": "Block", - "src": "2690:62:0", - "statements": [ - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { + ], + "id": 288, + "initialValue": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 247, - "name": "supportAgents", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2709:13:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent storage ref)" - } - }, - "id": 249, - "indexExpression": { + "expression": { "argumentTypes": null, - "id": 248, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 242, - "src": "2723:8:0", + "baseExpression": { + "argumentTypes": null, + "id": 284, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "3875:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 286, + "indexExpression": { + "argumentTypes": null, + "id": 285, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 272, + "src": "3889:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3875:16:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" } }, + "id": 287, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2709:23:0", + "memberName": "agentAddress", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "3875:29:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage", - "typeString": "struct Company.SupportAgent storage ref" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 250, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "agentIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "2709:34:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 251, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2708:36:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 246, - "id": 252, - "nodeType": "Return", - "src": "2701:43:0" - } - ] - }, - "documentation": null, - "id": 254, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": true, - "modifiers": [], - "name": "findSupportAgentArrayIndex", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 243, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 242, - "name": "_address", - "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2639:16:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 241, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2639:7:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2638:18:0" - }, - "payable": false, - "returnParameters": { - "id": 246, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 245, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2678:4:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 244, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2678:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2677:6:0" - }, - "scope": 296, - "src": "2603:149:0", - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 285, - "nodeType": "Block", - "src": "2878:152:0", - "statements": [ - { - "expression": { - "argumentTypes": null, - "components": [ + "nodeType": "VariableDeclarationStatement", + "src": "3852:52:0" + }, { - "argumentTypes": null, "expression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 267, - "name": "supportAgents", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2897:13:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent storage ref)" - } - }, - "id": 269, - "indexExpression": { + "id": 292, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3931:35:0", + "subExpression": { "argumentTypes": null, - "id": 268, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "2911:8:0", + "baseExpression": { + "argumentTypes": null, + "id": 289, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "3938:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 291, + "indexExpression": { + "argumentTypes": null, + "id": 290, + "name": "agentAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 283, + "src": "3953:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3938:28:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2897:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage", - "typeString": "struct Company.SupportAgent storage ref" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 270, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "email", - "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "2897:29:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } + "id": 293, + "nodeType": "ExpressionStatement", + "src": "3931:35:0" }, { - "argumentTypes": null, "expression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 271, - "name": "supportAgents", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2928:13:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent storage ref)" - } - }, - "id": 273, - "indexExpression": { + "id": 297, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3978:33:0", + "subExpression": { "argumentTypes": null, - "id": 272, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "2942:8:0", + "baseExpression": { + "argumentTypes": null, + "id": 294, + "name": "agentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "3985:12:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 296, + "indexExpression": { + "argumentTypes": null, + "id": 295, + "name": "agentAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 283, + "src": "3998:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3985:26:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2928:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage", - "typeString": "struct Company.SupportAgent storage ref" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 274, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "fName", - "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "2928:29:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } + "id": 298, + "nodeType": "ExpressionStatement", + "src": "3978:33:0" }, { - "argumentTypes": null, "expression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 275, - "name": "supportAgents", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2959:13:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent storage ref)" - } - }, - "id": 277, - "indexExpression": { + "id": 302, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "4023:23:0", + "subExpression": { "argumentTypes": null, - "id": 276, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "2973:8:0", + "baseExpression": { + "argumentTypes": null, + "id": 299, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "4030:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 301, + "indexExpression": { + "argumentTypes": null, + "id": 300, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 272, + "src": "4044:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4030:16:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" } }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2959:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage", - "typeString": "struct Company.SupportAgent storage ref" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 278, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "lName", - "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "2959:29:0", + "id": 303, + "nodeType": "ExpressionStatement", + "src": "4023:23:0" + } + ] + }, + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 278, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 275, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 272, + "src": "3802:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 276, + "name": "agentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 28, + "src": "3806:10:0", "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, + "id": 277, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3806:17:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3802:21:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 305, + "initializationExpression": { + "assignments": [ + 272 + ], + "declarations": [ { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 279, - "name": "supportAgents", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2989:13:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent storage ref)" - } - }, - "id": 281, - "indexExpression": { - "argumentTypes": null, - "id": 280, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "3003:8:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2989:23:0", + "constant": false, + "id": 272, + "name": "i", + "nodeType": "VariableDeclaration", + "scope": 313, + "src": "3792:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 271, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3792:4:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage", - "typeString": "struct Company.SupportAgent storage ref" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 282, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timeZone", - "nodeType": "MemberAccess", - "referencedDeclaration": 9, - "src": "2989:32:0", + "value": null, + "visibility": "internal" + } + ], + "id": 274, + "initialValue": { + "argumentTypes": null, + "hexValue": "30", + "id": 273, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3799:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "3792:8:0" + }, + "loopExpression": { + "expression": { + "argumentTypes": null, + "id": 280, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "3825:3:0", + "subExpression": { + "argumentTypes": null, + "id": 279, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 272, + "src": "3825:1:0", "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } - ], - "id": 283, + }, + "id": 281, + "nodeType": "ExpressionStatement", + "src": "3825:3:0" + }, + "nodeType": "ForStatement", + "src": "3787:282:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 307, "isConstant": false, - "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2896:126:0", + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "4079:17:0", + "subExpression": { + "argumentTypes": null, + "id": 306, + "name": "agentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 28, + "src": "4086:10:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_string_storage_$_t_string_storage_$_t_string_storage_$_t_string_storage_$", - "typeString": "tuple(string storage ref,string storage ref,string storage ref,string storage ref)" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 308, + "nodeType": "ExpressionStatement", + "src": "4079:17:0" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 309, + "name": "countSupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 442, + "src": "4122:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 310, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4122:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "functionReturnParameters": 266, - "id": 284, + "functionReturnParameters": 270, + "id": 311, "nodeType": "Return", - "src": "2889:133:0" + "src": "4115:27:0" } ] }, "documentation": null, - "id": 286, + "id": 313, "implemented": true, "isConstructor": false, - "isDeclaredConst": true, + "isDeclaredConst": false, "modifiers": [], - "name": "findSupportAgentByAddress", + "name": "removeAllSupportAgent", "nodeType": "FunctionDefinition", "parameters": { - "id": 257, + "id": 267, "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 256, - "name": "_address", - "nodeType": "VariableDeclaration", - "scope": 286, - "src": "2802:16:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 255, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2802:7:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2801:18:0" + "parameters": [], + "src": "3750:2:0" }, "payable": false, "returnParameters": { - "id": 266, + "id": 270, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 259, + "id": 269, "name": "", "nodeType": "VariableDeclaration", - "scope": 286, - "src": "2841:6:0", + "scope": 313, + "src": "3768:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 258, - "name": "string", + "id": 268, + "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2841:6:0", + "src": "3768:4:0", "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" - }, + } + ], + "src": "3767:6:0" + }, + "scope": 443, + "src": "3720:430:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 321, + "nodeType": "Block", + "src": "4227:45:0", + "statements": [ { - "constant": false, - "id": 261, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 286, - "src": "2849:6:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 260, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2849:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 263, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 286, - "src": "2857:6:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 262, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2857:6:0", + "expression": { + "argumentTypes": null, + "id": 319, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 21, + "src": "4245:19:0", "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" } }, - "value": null, - "visibility": "internal" - }, + "functionReturnParameters": 318, + "id": 320, + "nodeType": "Return", + "src": "4238:26:0" + } + ] + }, + "documentation": null, + "id": 322, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findAllSupportAgents", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 314, + "nodeType": "ParameterList", + "parameters": [], + "src": "4193:2:0" + }, + "payable": false, + "returnParameters": { + "id": 318, + "nodeType": "ParameterList", + "parameters": [ { "constant": false, - "id": 265, + "id": 317, "name": "", "nodeType": "VariableDeclaration", - "scope": 286, - "src": "2864:6:0", + "scope": 322, + "src": "4216:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" }, "typeName": { - "id": 264, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "2864:6:0", + "baseType": { + "id": 315, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4216:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 316, + "length": null, + "nodeType": "ArrayTypeName", + "src": "4216:9:0", "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" } }, "value": null, "visibility": "internal" } ], - "src": "2840:31:0" + "src": "4215:11:0" }, - "scope": 296, - "src": "2767:263:0", + "scope": 443, + "src": "4164:108:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 294, + "id": 335, "nodeType": "Block", - "src": "3099:52:0", + "src": "4358:61:0", "statements": [ { "expression": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 291, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "3117:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 329, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "4377:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 331, + "indexExpression": { + "argumentTypes": null, + "id": 330, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 324, + "src": "4391:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4377:20:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 332, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "agentAddress", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "4377:33:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } } - }, - "id": 292, + ], + "id": 333, "isConstant": false, - "isLValue": true, + "isInlineArray": false, + "isLValue": false, "isPure": false, "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3117:26:0", + "nodeType": "TupleExpression", + "src": "4376:35:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "functionReturnParameters": 290, - "id": 293, + "functionReturnParameters": 328, + "id": 334, "nodeType": "Return", - "src": "3110:33:0" + "src": "4369:42:0" } ] }, "documentation": null, - "id": 295, + "id": 336, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], - "name": "countSupportAgents", + "name": "findSupportAgentAddressById", "nodeType": "FunctionDefinition", "parameters": { - "id": 287, - "nodeType": "ParameterList", - "parameters": [], - "src": "3069:2:0" - }, - "payable": false, - "returnParameters": { - "id": 290, + "id": 325, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 289, - "name": "", + "id": 324, + "name": "index", "nodeType": "VariableDeclaration", - "scope": 295, - "src": "3093:4:0", + "scope": 336, + "src": "4317:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3777,10 +4631,10 @@ "typeString": "uint256" }, "typeName": { - "id": 288, + "id": 323, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3093:4:0", + "src": "4317:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3790,452 +4644,4275 @@ "visibility": "internal" } ], - "src": "3092:6:0" + "src": "4316:12:0" + }, + "payable": false, + "returnParameters": { + "id": 328, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 327, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 336, + "src": "4349:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 326, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4349:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4348:9:0" }, - "scope": 296, - "src": "3042:109:0", + "scope": 443, + "src": "4280:139:0", "stateMutability": "view", "superFunction": null, "visibility": "public" - } - ], - "scope": 297, - "src": "28:3126:0" - } - ], - "src": "0:3154:0" - }, - "legacyAST": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Company.sol", - "exportedSymbols": { - "Company": [ - 296 - ] - }, - "id": 297, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1, - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ], - "nodeType": "PragmaDirective", - "src": "0:24:0" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 296, - "linearizedBaseContracts": [ - 296 - ], - "name": "Company", - "nodeType": "ContractDefinition", - "nodes": [ + }, { - "canonicalName": "Company.SupportAgent", - "id": 12, - "members": [ - { - "constant": false, - "id": 3, - "name": "email", - "nodeType": "VariableDeclaration", - "scope": 12, - "src": "87:12:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 2, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "87:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5, - "name": "fName", - "nodeType": "VariableDeclaration", - "scope": 12, - "src": "110:12:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 4, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "110:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7, - "name": "lName", - "nodeType": "VariableDeclaration", - "scope": 12, - "src": "133:12:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "133:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9, - "name": "timeZone", - "nodeType": "VariableDeclaration", - "scope": 12, - "src": "149:15:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" + "body": { + "id": 356, + "nodeType": "Block", + "src": "4507:210:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 348, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 344, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "4542:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 346, + "indexExpression": { + "argumentTypes": null, + "id": 345, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 338, + "src": "4557:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4542:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 347, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4570:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "4542:32:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", + "id": 349, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4589:49:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + }, + "value": "There is no such agent with the given address !" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + } + ], + "id": 343, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "4520:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 350, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4520:133:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 351, + "nodeType": "ExpressionStatement", + "src": "4520:133:0" }, - "typeName": { - "id": 8, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "149:6:0", + { + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 352, + "name": "agentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "4685:12:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 354, + "indexExpression": { + "argumentTypes": null, + "id": 353, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 338, + "src": "4698:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4685:22:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 342, + "id": 355, + "nodeType": "Return", + "src": "4678:29:0" + } + ] + }, + "documentation": null, + "id": 357, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findSupportAgentArrayIndex", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 339, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 338, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 357, + "src": "4463:16:0", + "stateVariable": false, + "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 11, - "name": "agentIndex", - "nodeType": "VariableDeclaration", - "scope": 12, - "src": "168:15:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 10, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "168:4:0", + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 337, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4463:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4462:18:0" + }, + "payable": false, + "returnParameters": { + "id": 342, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 341, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 357, + "src": "4501:4:0", + "stateVariable": false, + "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "SupportAgent", - "nodeType": "StructDefinition", - "scope": 296, - "src": "58:134:0", - "visibility": "public" - }, - { - "constant": false, - "id": 16, - "name": "supportAgents", - "nodeType": "VariableDeclaration", - "scope": 296, - "src": "204:47:0", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent)" - }, - "typeName": { - "id": 15, - "keyType": { - "id": 13, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "213:7:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "204:33:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent)" - }, - "valueType": { - "contractScope": null, - "id": 14, - "name": "SupportAgent", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12, - "src": "224:12:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage_ptr", - "typeString": "struct Company.SupportAgent" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 19, - "name": "supportAgentRecords", - "nodeType": "VariableDeclaration", - "scope": 296, - "src": "258:36:0", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 17, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "258:7:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 18, - "length": null, - "nodeType": "ArrayTypeName", - "src": "258:9:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 23, - "name": "isSupportAgent", - "nodeType": "VariableDeclaration", - "scope": 296, - "src": "301:47:0", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "typeName": { - "id": 22, - "keyType": { - "id": 20, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "310:7:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "301:25:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 21, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "321:4:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + }, + "typeName": { + "id": 340, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4501:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" } - } + ], + "src": "4500:6:0" }, - "value": null, + "scope": 443, + "src": "4427:290:0", + "stateMutability": "view", + "superFunction": null, "visibility": "public" }, { "body": { - "id": 35, + "id": 385, "nodeType": "Block", - "src": "510:69:0", + "src": "4806:281:0", "statements": [ { "expression": { "argumentTypes": null, - "arguments": [ - { + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 369, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 365, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "4839:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 367, + "indexExpression": { + "argumentTypes": null, + "id": 366, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 359, + "src": "4854:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4839:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 368, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4867:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "4839:32:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", + "id": 370, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4886:49:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + }, + "value": "There is no such agent with the given address !" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + } + ], + "id": 364, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "4817:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 371, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4817:133:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 372, + "nodeType": "ExpressionStatement", + "src": "4817:133:0" + }, + { + "assignments": [ + 374 + ], + "declarations": [ + { + "constant": false, + "id": 374, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 386, + "src": "4981:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 373, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4981:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 378, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 375, + "name": "agentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "4997:12:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 377, + "indexExpression": { + "argumentTypes": null, + "id": 376, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 359, + "src": "5010:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4997:22:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4981:38:0" + }, + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 379, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "5052:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 381, + "indexExpression": { + "argumentTypes": null, + "id": 380, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 374, + "src": "5066:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5052:20:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 382, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "5052:26:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + } + ], + "id": 383, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "5051:28:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "functionReturnParameters": 363, + "id": 384, + "nodeType": "Return", + "src": "5044:35:0" + } + ] + }, + "documentation": null, + "id": 386, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "getAgentEmail", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 360, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 359, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 386, + "src": "4754:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 358, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4754:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4753:18:0" + }, + "payable": false, + "returnParameters": { + "id": 363, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 362, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 386, + "src": "4792:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 361, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "4792:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4791:8:0" + }, + "scope": 443, + "src": "4731:356:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 432, + "nodeType": "Block", + "src": "5215:415:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 404, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 400, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "5248:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 402, + "indexExpression": { + "argumentTypes": null, + "id": 401, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 388, + "src": "5263:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5248:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 403, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5276:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "5248:32:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", + "id": 405, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5295:49:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + }, + "value": "There is no such agent with the given address !" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + } + ], + "id": 399, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "5226:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 406, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5226:133:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 407, + "nodeType": "ExpressionStatement", + "src": "5226:133:0" + }, + { + "assignments": [ + 409 + ], + "declarations": [ + { + "constant": false, + "id": 409, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 433, + "src": "5394:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 408, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5394:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 413, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 410, + "name": "agentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "5410:12:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 412, + "indexExpression": { + "argumentTypes": null, + "id": 411, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 388, + "src": "5423:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5410:22:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5394:38:0" + }, + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 414, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "5479:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 416, + "indexExpression": { + "argumentTypes": null, + "id": 415, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 409, + "src": "5493:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5479:20:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 417, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "5479:26:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 418, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "5517:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 420, + "indexExpression": { + "argumentTypes": null, + "id": 419, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 409, + "src": "5531:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5517:20:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 421, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "fName", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "5517:26:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 422, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "5555:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 424, + "indexExpression": { + "argumentTypes": null, + "id": 423, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 409, + "src": "5569:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5555:20:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 425, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "lName", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "5555:26:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 426, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "5592:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 428, + "indexExpression": { + "argumentTypes": null, + "id": 427, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 409, + "src": "5606:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5592:20:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 429, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "timeZone", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "5592:29:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + } + ], + "id": 430, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "5478:144:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_string_storage_$_t_string_storage_$_t_string_storage_$_t_string_storage_$", + "typeString": "tuple(string storage ref,string storage ref,string storage ref,string storage ref)" + } + }, + "functionReturnParameters": 398, + "id": 431, + "nodeType": "Return", + "src": "5461:161:0" + } + ] + }, + "documentation": null, + "id": 433, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findSupportAgentByAddress", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 389, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 388, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 433, + "src": "5139:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 387, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5139:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "5138:18:0" + }, + "payable": false, + "returnParameters": { + "id": 398, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 391, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 433, + "src": "5177:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 390, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "5177:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 393, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 433, + "src": "5185:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 392, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "5185:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 395, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 433, + "src": "5193:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 394, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "5193:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 397, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 433, + "src": "5201:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 396, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "5201:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "5176:32:0" + }, + "scope": 443, + "src": "5104:526:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 441, + "nodeType": "Block", + "src": "5709:43:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 438, + "name": "agentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 28, + "src": "5727:10:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 439, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "5727:17:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 437, + "id": 440, + "nodeType": "Return", + "src": "5720:24:0" + } + ] + }, + "documentation": null, + "id": 442, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "countSupportAgents", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 434, + "nodeType": "ParameterList", + "parameters": [], + "src": "5677:2:0" + }, + "payable": false, + "returnParameters": { + "id": 437, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 436, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 442, + "src": "5700:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 435, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5700:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "5699:9:0" + }, + "scope": 443, + "src": "5650:102:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + } + ], + "scope": 444, + "src": "30:5731:0" + } + ], + "src": "0:5761:0" + }, + "legacyAST": { + "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Company.sol", + "exportedSymbols": { + "Company": [ + 443 + ] + }, + "id": 444, + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "^", + "0.4", + ".18" + ], + "nodeType": "PragmaDirective", + "src": "0:26:0" + }, + { + "baseContracts": [], + "contractDependencies": [], + "contractKind": "contract", + "documentation": null, + "fullyImplemented": true, + "id": 443, + "linearizedBaseContracts": [ + 443 + ], + "name": "Company", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "Company.SupportAgent", + "id": 14, + "members": [ + { + "constant": false, + "id": 3, + "name": "agentAddress", + "nodeType": "VariableDeclaration", + "scope": 14, + "src": "87:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "87:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 5, + "name": "email", + "nodeType": "VariableDeclaration", + "scope": 14, + "src": "118:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 4, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "118:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 7, + "name": "fName", + "nodeType": "VariableDeclaration", + "scope": 14, + "src": "141:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 6, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "141:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 9, + "name": "lName", + "nodeType": "VariableDeclaration", + "scope": 14, + "src": "164:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 8, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "164:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 11, + "name": "timeZone", + "nodeType": "VariableDeclaration", + "scope": 14, + "src": "187:15:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 10, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "187:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 13, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 14, + "src": "213:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 12, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "213:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "name": "SupportAgent", + "nodeType": "StructDefinition", + "scope": 443, + "src": "56:175:0", + "visibility": "public" + }, + { + "constant": false, + "id": 18, + "name": "SupportAgents", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "239:54:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent)" + }, + "typeName": { + "id": 17, + "keyType": { + "id": 15, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "247:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Mapping", + "src": "239:32:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent)" + }, + "valueType": { + "contractScope": null, + "id": 16, + "name": "SupportAgent", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 14, + "src": "258:12:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage_ptr", + "typeString": "struct Company.SupportAgent" + } + } + }, + "value": null, + "visibility": "private" + }, + { + "constant": false, + "id": 21, + "name": "supportAgentRecords", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "300:36:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 19, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "300:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 20, + "length": null, + "nodeType": "ArrayTypeName", + "src": "300:9:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "value": null, + "visibility": "public" + }, + { + "constant": false, + "id": 25, + "name": "agentRecords", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "349:48:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + }, + "typeName": { + "id": 24, + "keyType": { + "id": 22, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "357:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "349:27:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + }, + "valueType": { + "id": 23, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "368:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + }, + "value": null, + "visibility": "private" + }, + { + "constant": false, + "id": 28, + "name": "agentIndex", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "410:28:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[]" + }, + "typeName": { + "baseType": { + "id": 26, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "410:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 27, + "length": null, + "nodeType": "ArrayTypeName", + "src": "410:9:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", + "typeString": "uint256[]" + } + }, + "value": null, + "visibility": "private" + }, + { + "constant": false, + "id": 32, + "name": "isSupportAgent", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "457:46:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "typeName": { + "id": 31, + "keyType": { + "id": 29, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "465:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "457:24:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "valueType": { + "id": 30, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "476:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "value": null, + "visibility": "public" + }, + { + "body": { + "id": 44, + "nodeType": "Block", + "src": "669:69:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 40, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "688:29:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 37, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "689:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 39, + "indexExpression": { + "argumentTypes": null, + "id": 38, + "name": "supportagent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 34, + "src": "704:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "689:28:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 36, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 461, + "src": "680:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 41, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "680:38:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 42, + "nodeType": "ExpressionStatement", + "src": "680:38:0" + }, + { + "id": 43, + "nodeType": "PlaceholderStatement", + "src": "729:1:0" + } + ] + }, + "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", + "id": 45, + "name": "agentDoesNotExist", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 35, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 34, + "name": "supportagent", + "nodeType": "VariableDeclaration", + "scope": 45, + "src": "647:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 33, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "647:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "646:22:0" + }, + "src": "620:118:0", + "visibility": "internal" + }, + { + "body": { + "id": 56, + "nodeType": "Block", + "src": "788:68:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 50, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "807:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 52, + "indexExpression": { + "argumentTypes": null, + "id": 51, + "name": "supportagent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 47, + "src": "822:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "807:28:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 49, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 461, + "src": "799:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 53, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "799:37:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 54, + "nodeType": "ExpressionStatement", + "src": "799:37:0" + }, + { + "id": 55, + "nodeType": "PlaceholderStatement", + "src": "847:1:0" + } + ] + }, + "documentation": null, + "id": 57, + "name": "agentExist", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 48, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 47, + "name": "supportagent", + "nodeType": "VariableDeclaration", + "scope": 57, + "src": "766:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 46, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "766:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "765:22:0" + }, + "src": "746:110:0", + "visibility": "internal" + }, + { + "body": { + "id": 68, + "nodeType": "Block", + "src": "899:53:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 64, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 62, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 59, + "src": "918:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 63, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "930:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "918:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 61, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 461, + "src": "910:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 65, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "910:22:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 66, + "nodeType": "ExpressionStatement", + "src": "910:22:0" + }, + { + "id": 67, + "nodeType": "PlaceholderStatement", + "src": "943:1:0" + } + ] + }, + "documentation": null, + "id": 69, + "name": "notNull", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 60, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 59, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 69, + "src": "881:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 58, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "881:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "880:18:0" + }, + "src": "864:88:0", + "visibility": "internal" + }, + { + "body": { + "id": 214, + "nodeType": "Block", + "src": "1217:1899:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 89, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 85, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "1788:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 87, + "indexExpression": { + "argumentTypes": null, + "id": 86, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 71, + "src": "1803:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1788:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 88, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1816:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "1788:33:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "4167656e7420616c72656164792065786973742021", + "id": 90, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1836:23:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_cf05af21c42bc46dd555c3e9e69f3fa78dfb0860489b964e3d12cf994acd9d91", + "typeString": "literal_string \"Agent already exist !\"" + }, + "value": "Agent already exist !" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_cf05af21c42bc46dd555c3e9e69f3fa78dfb0860489b964e3d12cf994acd9d91", + "typeString": "literal_string \"Agent already exist !\"" + } + ], + "id": 84, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "1766:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 91, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1766:108:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 92, + "nodeType": "ExpressionStatement", + "src": "1766:108:0" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 99, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 95, + "name": "_email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 73, + "src": "1946:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 94, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1940:5:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": "bytes" + }, + "id": 96, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1940:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory", + "typeString": "bytes memory" + } + }, + "id": 97, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1940:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "hexValue": "35", + "id": 98, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1963:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_5_by_1", + "typeString": "int_const 5" + }, + "value": "5" + }, + "src": "1940:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 100, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1939:26:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 101, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1967:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "1939:33:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "496e76616c696420456d61696c20616464726573732021", + "id": 103, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1987:25:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ebbe95df7058c1a391298274699fe83b8627312fc7f82b26ef5fb123858078ea", + "typeString": "literal_string \"Invalid Email address !\"" + }, + "value": "Invalid Email address !" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ebbe95df7058c1a391298274699fe83b8627312fc7f82b26ef5fb123858078ea", + "typeString": "literal_string \"Invalid Email address !\"" + } + ], + "id": 93, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "1917:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1917:110:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 105, + "nodeType": "ExpressionStatement", + "src": "1917:110:0" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 115, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 108, + "name": "_fName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 75, + "src": "2073:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 107, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2067:5:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": "bytes" + }, + "id": 109, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2067:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory", + "typeString": "bytes memory" + } + }, + "id": 110, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2067:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "hexValue": "33", + "id": 111, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2090:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "src": "2067:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 113, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2066:26:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 114, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2094:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "2066:33:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "4669727374206e616d652073686f756c6420636f6e7461696e206d696e696d756d2033206c657474657273", + "id": 116, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2114:45:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_5f9dc8fd126aa581a445c3053d9bd6918365229d33711d8efb0ce486a628db32", + "typeString": "literal_string \"First name should contain minimum 3 letters\"" + }, + "value": "First name should contain minimum 3 letters" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_5f9dc8fd126aa581a445c3053d9bd6918365229d33711d8efb0ce486a628db32", + "typeString": "literal_string \"First name should contain minimum 3 letters\"" + } + ], + "id": 106, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "2044:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 117, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2044:130:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 118, + "nodeType": "ExpressionStatement", + "src": "2044:130:0" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 128, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 125, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 121, + "name": "_lName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 77, + "src": "2232:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 120, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2226:5:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": "bytes" + }, + "id": 122, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2226:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory", + "typeString": "bytes memory" + } + }, + "id": 123, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2226:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "hexValue": "33", + "id": 124, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2249:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "src": "2226:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 126, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2225:26:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 127, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2253:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "2225:33:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "4c617374206e616d652073686f756c6420636f6e7461696e206d696e696d756d2033206c657474657273", + "id": 129, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2273:44:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d67de0144365e2af8189ca3dbe099727a0009a350983897187eef357e87731ca", + "typeString": "literal_string \"Last name should contain minimum 3 letters\"" + }, + "value": "Last name should contain minimum 3 letters" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_d67de0144365e2af8189ca3dbe099727a0009a350983897187eef357e87731ca", + "typeString": "literal_string \"Last name should contain minimum 3 letters\"" + } + ], + "id": 119, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "2203:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 130, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2203:129:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 131, + "nodeType": "ExpressionStatement", + "src": "2203:129:0" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 138, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 134, + "name": "_timeZone", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 79, + "src": "2402:9:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 133, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2396:5:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", + "typeString": "type(bytes storage pointer)" + }, + "typeName": "bytes" + }, + "id": 135, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2396:16:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory", + "typeString": "bytes memory" + } + }, + "id": 136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2396:23:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "hexValue": "33", + "id": 137, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2422:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_3_by_1", + "typeString": "int_const 3" + }, + "value": "3" + }, + "src": "2396:27:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "id": 139, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2395:29:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "66616c7365", + "id": 140, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2426:5:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "2395:36:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "54696d657a6f6e6520697320496e76616c6964", + "id": 142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2446:21:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_bdd71664d7dbc0937c6d7d9afe7f7d88cb6272238aa1bd5a76c90e070c4fd904", + "typeString": "literal_string \"Timezone is Invalid\"" + }, + "value": "Timezone is Invalid" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_bdd71664d7dbc0937c6d7d9afe7f7d88cb6272238aa1bd5a76c90e070c4fd904", + "typeString": "literal_string \"Timezone is Invalid\"" + } + ], + "id": 132, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "2373:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 143, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2373:109:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 144, + "nodeType": "ExpressionStatement", + "src": "2373:109:0" + }, + { + "assignments": [ + 146 + ], + "declarations": [ + { + "constant": false, + "id": 146, + "name": "currentIndex", + "nodeType": "VariableDeclaration", + "scope": 215, + "src": "2513:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 145, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2513:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 149, + "initialValue": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 147, + "name": "countSupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 442, + "src": "2536:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 148, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2536:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2513:43:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 154, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 150, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "2567:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 152, + "indexExpression": { + "argumentTypes": null, + "id": 151, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 71, + "src": "2582:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2567:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 153, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2594:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "2567:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 155, + "nodeType": "ExpressionStatement", + "src": "2567:31:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 161, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 156, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2619:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 158, + "indexExpression": { + "argumentTypes": null, + "id": 157, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2633:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2619:27:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 159, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "agentAddress", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "2619:40:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 160, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 71, + "src": "2662:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2619:51:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 162, + "nodeType": "ExpressionStatement", + "src": "2619:51:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 168, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 163, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2681:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 165, + "indexExpression": { + "argumentTypes": null, + "id": 164, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2695:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2681:27:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 166, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "2681:33:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 167, + "name": "_email", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 73, + "src": "2724:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "2681:49:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 169, + "nodeType": "ExpressionStatement", + "src": "2681:49:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 175, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 170, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2741:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 172, + "indexExpression": { + "argumentTypes": null, + "id": 171, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2755:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2741:27:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 173, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "fName", + "nodeType": "MemberAccess", + "referencedDeclaration": 7, + "src": "2741:33:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 174, + "name": "_fName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 75, + "src": "2784:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "2741:49:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 176, + "nodeType": "ExpressionStatement", + "src": "2741:49:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 182, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 177, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2801:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 179, + "indexExpression": { + "argumentTypes": null, + "id": 178, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2815:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2801:27:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 180, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "lName", + "nodeType": "MemberAccess", + "referencedDeclaration": 9, + "src": "2801:33:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 181, + "name": "_lName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 77, + "src": "2844:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "2801:49:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 183, + "nodeType": "ExpressionStatement", + "src": "2801:49:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 189, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { "argumentTypes": null, - "id": 31, + "baseExpression": { + "argumentTypes": null, + "id": 184, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2869:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 186, + "indexExpression": { + "argumentTypes": null, + "id": 185, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2883:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, "isConstant": false, - "isLValue": false, + "isLValue": true, "isPure": false, "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "529:29:0", - "subExpression": { + "nodeType": "IndexAccess", + "src": "2869:27:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 187, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "timeZone", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "2869:36:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 188, + "name": "_timeZone", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 79, + "src": "2912:9:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "2869:52:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 190, + "nodeType": "ExpressionStatement", + "src": "2869:52:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 201, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { "argumentTypes": null, - "baseExpression": { + "id": 191, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2934:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 193, + "indexExpression": { + "argumentTypes": null, + "id": 192, + "name": "currentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "2948:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2934:27:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 194, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "index", + "nodeType": "MemberAccess", + "referencedDeclaration": 13, + "src": "2934:33:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 200, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "arguments": [ + { "argumentTypes": null, - "id": 28, - "name": "isSupportAgent", + "id": 197, + "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "530:14:0", + "referencedDeclaration": 146, + "src": "2986:12:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } - }, - "id": 30, - "indexExpression": { + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { "argumentTypes": null, - "id": 29, - "name": "supportagent", + "id": 195, + "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "545:12:0", + "referencedDeclaration": 28, + "src": "2970:10:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, + "id": 196, "isConstant": false, - "isLValue": true, + "isLValue": false, "isPure": false, "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "530:28:0", + "memberName": "push", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2970:15:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) returns (uint256)" } }, + "id": 198, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2970:29:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 199, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3002:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "2970:33:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" + }, + "src": "2934:69:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 202, + "nodeType": "ExpressionStatement", + "src": "2934:69:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 207, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 203, + "name": "agentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "3024:12:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 205, + "indexExpression": { + "argumentTypes": null, + "id": 204, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 71, + "src": "3037:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" } - ], - "id": 27, - "name": "require", + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3024:22:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 206, + "name": "currentIndex", "nodeType": "Identifier", - "overloadedDeclarations": [ - 1225, - 1226 - ], - "referencedDeclaration": 1225, - "src": "521:7:0", + "overloadedDeclarations": [], + "referencedDeclaration": 146, + "src": "3049:12:0", "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 32, + "src": "3024:37:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 208, + "nodeType": "ExpressionStatement", + "src": "3024:37:0" + }, + { + "expression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 212, "isConstant": false, "isLValue": false, "isPure": false, - "kind": "functionCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "521:38:0", + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 209, + "name": "agentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 28, + "src": "3089:10:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 210, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3089:17:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 211, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3107:1:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3089:19:0", "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 33, - "nodeType": "ExpressionStatement", - "src": "521:38:0" - }, - { - "id": 34, - "nodeType": "PlaceholderStatement", - "src": "570:1:0" + "functionReturnParameters": 83, + "id": 213, + "nodeType": "Return", + "src": "3082:26:0" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 36, - "name": "agentDoesNotExist", - "nodeType": "ModifierDefinition", + "id": 215, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "addSupportAgent", + "nodeType": "FunctionDefinition", "parameters": { - "id": 26, + "id": 80, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 25, - "name": "supportagent", + "id": 71, + "name": "_address", "nodeType": "VariableDeclaration", - "scope": 36, - "src": "488:20:0", + "scope": 215, + "src": "1093:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4243,10 +8920,10 @@ "typeString": "address" }, "typeName": { - "id": 24, + "id": 70, "name": "address", "nodeType": "ElementaryTypeName", - "src": "488:7:0", + "src": "1093:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4254,155 +8931,159 @@ }, "value": null, "visibility": "internal" - } - ], - "src": "487:22:0" - }, - "src": "461:118:0", - "visibility": "internal" - }, - { - "body": { - "id": 47, - "nodeType": "Block", - "src": "629:68:0", - "statements": [ + }, { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 41, - "name": "isSupportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "648:14:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 43, - "indexExpression": { - "argumentTypes": null, - "id": 42, - "name": "supportagent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 38, - "src": "663:12:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "648:28:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 40, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1225, - 1226 - ], - "referencedDeclaration": 1225, - "src": "640:7:0", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 44, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "640:37:0", + "constant": false, + "id": 73, + "name": "_email", + "nodeType": "VariableDeclaration", + "scope": 215, + "src": "1111:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 72, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1111:6:0", "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, - "id": 45, - "nodeType": "ExpressionStatement", - "src": "640:37:0" + "value": null, + "visibility": "internal" }, { - "id": 46, - "nodeType": "PlaceholderStatement", - "src": "688:1:0" + "constant": false, + "id": 75, + "name": "_fName", + "nodeType": "VariableDeclaration", + "scope": 215, + "src": "1126:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 74, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1126:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 77, + "name": "_lName", + "nodeType": "VariableDeclaration", + "scope": 215, + "src": "1141:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 76, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1141:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 79, + "name": "_timeZone", + "nodeType": "VariableDeclaration", + "scope": 215, + "src": "1156:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 78, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1156:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": null, + "visibility": "internal" } - ] + ], + "src": "1092:81:0" }, - "documentation": null, - "id": 48, - "name": "agentExist", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 39, + "payable": false, + "returnParameters": { + "id": 83, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 38, - "name": "supportagent", + "id": 82, + "name": "index", "nodeType": "VariableDeclaration", - "scope": 48, - "src": "607:20:0", + "scope": 215, + "src": "1202:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 37, - "name": "address", + "id": 81, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "607:7:0", + "src": "1202:7:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "606:22:0" + "src": "1201:15:0" }, - "src": "587:110:0", - "visibility": "internal" + "scope": 443, + "src": "1068:2048:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" }, { "body": { - "id": 59, + "id": 265, "nodeType": "Block", - "src": "740:53:0", + "src": "3194:518:0", "statements": [ { "expression": { @@ -4411,689 +9092,315 @@ { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_bool", + "typeString": "bool" }, - "id": 55, + "id": 227, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 53, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 50, - "src": "759:8:0", + "baseExpression": { + "argumentTypes": null, + "id": 223, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "3237:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 225, + "indexExpression": { + "argumentTypes": null, + "id": 224, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 217, + "src": "3252:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3237:24:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, "nodeType": "BinaryOperation", - "operator": "!=", + "operator": "==", "rightExpression": { "argumentTypes": null, - "hexValue": "30", - "id": 54, + "hexValue": "74727565", + "id": 226, "isConstant": false, "isLValue": false, "isPure": true, - "kind": "number", + "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "771:1:0", + "src": "3265:4:0", "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" + "typeIdentifier": "t_bool", + "typeString": "bool" }, - "value": "0" + "value": "true" }, - "src": "759:13:0", + "src": "3237:32:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } + }, + { + "argumentTypes": null, + "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", + "id": 228, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3284:49:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + }, + "value": "There is no such agent with the given address !" } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 52, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 1225, - 1226 - ], - "referencedDeclaration": 1225, - "src": "751:7:0", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 56, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "751:22:0", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 57, - "nodeType": "ExpressionStatement", - "src": "751:22:0" - }, - { - "id": 58, - "nodeType": "PlaceholderStatement", - "src": "784:1:0" - } - ] - }, - "documentation": null, - "id": 60, - "name": "notNull", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 51, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 50, - "name": "_address", - "nodeType": "VariableDeclaration", - "scope": 60, - "src": "722:16:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 49, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "722:7:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "721:18:0" - }, - "src": "705:88:0", - "visibility": "internal" - }, - { - "body": { - "id": 124, - "nodeType": "Block", - "src": "1028:431:0", - "statements": [ - { - "assignments": [ - 74 - ], - "declarations": [ - { - "constant": false, - "id": 74, - "name": "supportAgent", - "nodeType": "VariableDeclaration", - "scope": 125, - "src": "1039:32:0", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", - "typeString": "struct Company.SupportAgent" - }, - "typeName": { - "contractScope": null, - "id": 73, - "name": "SupportAgent", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 12, - "src": "1039:12:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage_ptr", - "typeString": "struct Company.SupportAgent" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 78, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 75, - "name": "supportAgents", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "1074:13:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent storage ref)" - } - }, - "id": 77, - "indexExpression": { - "argumentTypes": null, - "id": 76, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 62, - "src": "1088:8:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1074:23:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage", - "typeString": "struct Company.SupportAgent storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "1039:58:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 83, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 79, - "name": "supportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "1118:12:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", - "typeString": "struct Company.SupportAgent memory" - } - }, - "id": 81, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "email", - "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "1118:18:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 82, - "name": "_email", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 64, - "src": "1140:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1118:28:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" - } - }, - "id": 84, - "nodeType": "ExpressionStatement", - "src": "1118:28:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 89, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 85, - "name": "supportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "1157:12:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", - "typeString": "struct Company.SupportAgent memory" - } - }, - "id": 87, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "fName", - "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "1157:18:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 88, - "name": "_fName", + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + } + ], + "id": 222, + "name": "require", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 66, - "src": "1179:6:0", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "3215:7:0", "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "src": "1157:28:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" - } - }, - "id": 90, - "nodeType": "ExpressionStatement", - "src": "1157:28:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 95, + "id": 229, "isConstant": false, "isLValue": false, "isPure": false, + "kind": "functionCall", "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 91, - "name": "supportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "1196:12:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", - "typeString": "struct Company.SupportAgent memory" - } - }, - "id": 93, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "lName", - "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "1196:18:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 94, - "name": "_lName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 68, - "src": "1218:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "1196:28:0", + "names": [], + "nodeType": "FunctionCall", + "src": "3215:133:0", "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 96, + "id": 230, "nodeType": "ExpressionStatement", - "src": "1196:28:0" + "src": "3215:133:0" }, { - "expression": { - "argumentTypes": null, - "id": 101, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 97, - "name": "supportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "1228:12:0", + "assignments": [ + 232 + ], + "declarations": [ + { + "constant": false, + "id": 232, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 266, + "src": "3384:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 231, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3384:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", - "typeString": "struct Company.SupportAgent memory" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 99, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "timeZone", - "nodeType": "MemberAccess", - "referencedDeclaration": 9, - "src": "1228:21:0", + "value": null, + "visibility": "internal" + } + ], + "id": 236, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 233, + "name": "agentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "3400:12:0", "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" } }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { + "id": 235, + "indexExpression": { "argumentTypes": null, - "id": 100, - "name": "_timeZone", + "id": 234, + "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 70, - "src": "1253:9:0", + "referencedDeclaration": 217, + "src": "3413:8:0", "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "src": "1228:34:0", - "typeDescriptions": { - "typeIdentifier": "t_string_memory", - "typeString": "string memory" - } - }, - "id": 102, - "nodeType": "ExpressionStatement", - "src": "1228:34:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 108, "isConstant": false, - "isLValue": false, + "isLValue": true, "isPure": false, "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 103, - "name": "supportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 74, - "src": "1266:12:0", - "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_memory_ptr", - "typeString": "struct Company.SupportAgent memory" - } - }, - "id": 105, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "agentIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "1266:23:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 106, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1293:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 107, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1293:26:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1266:53:0", + "nodeType": "IndexAccess", + "src": "3400:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 109, - "nodeType": "ExpressionStatement", - "src": "1266:53:0" + "nodeType": "VariableDeclarationStatement", + "src": "3384:38:0" }, { "expression": { "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 116, + "id": 240, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "leftExpression": { + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3456:31:0", + "subExpression": { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 113, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 62, - "src": "1402:8:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 110, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1377:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 112, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1377:24:0", + "baseExpression": { + "argumentTypes": null, + "id": 237, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "3463:14:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) returns (uint256)" + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 239, + "indexExpression": { + "argumentTypes": null, + "id": 238, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 217, + "src": "3478:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1377:34:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 115, "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1413:1:0", - "subdenomination": null, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3463:24:0", "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" + "typeIdentifier": "t_bool", + "typeString": "bool" + } }, - "src": "1377:37:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 117, + "id": 241, "nodeType": "ExpressionStatement", - "src": "1377:37:0" + "src": "3456:31:0" }, { "expression": { "argumentTypes": null, - "id": 122, + "id": 245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "leftHandSide": { + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3499:29:0", + "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 118, - "name": "isSupportAgent", + "id": 242, + "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "1420:14:0", + "referencedDeclaration": 25, + "src": "3506:12:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" } }, - "id": 120, + "id": 244, "indexExpression": { "argumentTypes": null, - "id": 119, + "id": 243, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 62, - "src": "1435:8:0", + "referencedDeclaration": 217, + "src": "3519:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5104,325 +9411,118 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1420:24:0", + "src": "3506:22:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 121, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1447:4:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "1420:31:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 123, + "id": 246, "nodeType": "ExpressionStatement", - "src": "1420:31:0" - } - ] - }, - "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 125, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": false, - "modifiers": [], - "name": "addSupportAgent", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 71, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 62, - "name": "_address", - "nodeType": "VariableDeclaration", - "scope": 125, - "src": "934:16:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 61, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "934:7:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 64, - "name": "_email", - "nodeType": "VariableDeclaration", - "scope": 125, - "src": "952:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 63, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "952:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 66, - "name": "_fName", - "nodeType": "VariableDeclaration", - "scope": 125, - "src": "967:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 65, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "967:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 68, - "name": "_lName", - "nodeType": "VariableDeclaration", - "scope": 125, - "src": "982:13:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 67, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "982:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" + "src": "3499:29:0" }, { - "constant": false, - "id": 70, - "name": "_timeZone", - "nodeType": "VariableDeclaration", - "scope": 125, - "src": "997:16:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 69, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "997:6:0", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "933:81:0" - }, - "payable": false, - "returnParameters": { - "id": 72, - "nodeType": "ParameterList", - "parameters": [], - "src": "1028:0:0" - }, - "scope": 296, - "src": "909:550:0", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 171, - "nodeType": "Block", - "src": "1543:442:0", - "statements": [ - { - "assignments": [ - 133 - ], - "declarations": [ - { - "constant": false, - "id": 133, - "name": "removeThisAgent", - "nodeType": "VariableDeclaration", - "scope": 172, - "src": "1629:20:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 132, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1629:4:0", + "expression": { + "argumentTypes": null, + "id": 250, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3551:27:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 247, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "3558:13:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "value": null, - "visibility": "internal" - } - ], - "id": 137, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { + "id": 249, + "indexExpression": { "argumentTypes": null, - "id": 135, - "name": "_address", + "id": 248, + "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 127, - "src": "1679:8:0", + "referencedDeclaration": 232, + "src": "3572:5:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } - ], - "id": 134, - "name": "findSupportAgentArrayIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 254, - "src": "1652:26:0", + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3558:20:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view returns (uint256)" + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1652:36:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "nodeType": "VariableDeclarationStatement", - "src": "1629:59:0" + "id": 251, + "nodeType": "ExpressionStatement", + "src": "3551:27:0" }, { "expression": { "argumentTypes": null, - "id": 147, + "id": 255, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "leftHandSide": { + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3590:24:0", + "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 138, - "name": "supportAgentRecords", + "id": 252, + "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1717:19:0", + "referencedDeclaration": 28, + "src": "3597:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, - "id": 140, + "id": 254, "indexExpression": { "argumentTypes": null, - "id": 139, - "name": "removeThisAgent", + "id": 253, + "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 133, - "src": "1737:15:0", + "referencedDeclaration": 232, + "src": "3608:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5433,358 +9533,665 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1717:36:0", + "src": "3597:17:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 256, + "nodeType": "ExpressionStatement", + "src": "3590:24:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 260, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "3637:19:0", + "subExpression": { "argumentTypes": null, - "baseExpression": { + "expression": { "argumentTypes": null, - "id": 141, - "name": "supportAgentRecords", + "id": 257, + "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1756:19:0", + "referencedDeclaration": 28, + "src": "3637:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, - "id": 146, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 145, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { + "id": 259, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3637:17:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 261, + "nodeType": "ExpressionStatement", + "src": "3637:19:0" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 262, + "name": "countSupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 442, + "src": "3684:18:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 263, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3684:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 221, + "id": 264, + "nodeType": "Return", + "src": "3677:27:0" + } + ] + }, + "documentation": null, + "id": 266, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "removeOneSupportAgent", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 218, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 217, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 266, + "src": "3155:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 216, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3155:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3154:18:0" + }, + "payable": false, + "returnParameters": { + "id": 221, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 220, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 266, + "src": "3188:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 219, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3188:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3187:6:0" + }, + "scope": 443, + "src": "3124:588:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 312, + "nodeType": "Block", + "src": "3774:376:0", + "statements": [ + { + "body": { + "id": 304, + "nodeType": "Block", + "src": "3840:229:0", + "statements": [ + { + "assignments": [ + 283 + ], + "declarations": [ + { + "constant": false, + "id": 283, + "name": "agentAddress", + "nodeType": "VariableDeclaration", + "scope": 313, + "src": "3852:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 282, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3852:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 288, + "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 142, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1776:19:0", + "baseExpression": { + "argumentTypes": null, + "id": 284, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "3875:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 286, + "indexExpression": { + "argumentTypes": null, + "id": 285, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 272, + "src": "3889:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3875:16:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 287, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "agentAddress", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "3875:29:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3852:52:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 292, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3931:35:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 289, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "3938:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 291, + "indexExpression": { + "argumentTypes": null, + "id": 290, + "name": "agentAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 283, + "src": "3953:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3938:28:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 143, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 293, + "nodeType": "ExpressionStatement", + "src": "3931:35:0" + }, + { + "expression": { + "argumentTypes": null, + "id": 297, "isConstant": false, - "isLValue": true, + "isLValue": false, "isPure": false, "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1776:26:0", + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3978:33:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 294, + "name": "agentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "3985:12:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 296, + "indexExpression": { + "argumentTypes": null, + "id": 295, + "name": "agentAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 283, + "src": "3998:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3985:26:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { + "id": 298, + "nodeType": "ExpressionStatement", + "src": "3978:33:0" + }, + { + "expression": { "argumentTypes": null, - "hexValue": "31", - "id": 144, + "id": 302, "isConstant": false, "isLValue": false, - "isPure": true, - "kind": "number", + "isPure": false, "lValueRequested": false, - "nodeType": "Literal", - "src": "1805:1:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "4023:23:0", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 299, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "4030:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 301, + "indexExpression": { + "argumentTypes": null, + "id": 300, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 272, + "src": "4044:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4030:16:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } }, - "value": "1" + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } }, - "src": "1776:30:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1756:51:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "id": 303, + "nodeType": "ExpressionStatement", + "src": "4023:23:0" } - }, - "src": "1717:90:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } + ] }, - "id": 148, - "nodeType": "ExpressionStatement", - "src": "1717:90:0" - }, - { - "expression": { + "condition": { "argumentTypes": null, - "id": 155, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 278, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "1813:58:0", - "subExpression": { + "leftExpression": { "argumentTypes": null, - "baseExpression": { + "id": 275, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 272, + "src": "3802:1:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "expression": { "argumentTypes": null, - "id": 149, - "name": "supportAgentRecords", + "id": 276, + "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1820:19:0", + "referencedDeclaration": 28, + "src": "3806:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, - "id": 154, - "indexExpression": { - "argumentTypes": null, - "commonType": { + "id": 277, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3806:17:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3802:21:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 305, + "initializationExpression": { + "assignments": [ + 272 + ], + "declarations": [ + { + "constant": false, + "id": 272, + "name": "i", + "nodeType": "VariableDeclaration", + "scope": 313, + "src": "3792:6:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 150, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1840:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 151, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1840:26:0", + "typeName": { + "id": 271, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3792:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 152, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1869:1:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "1840:30:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1820:51:0", + "value": null, + "visibility": "internal" + } + ], + "id": 274, + "initialValue": { + "argumentTypes": null, + "hexValue": "30", + "id": 273, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3799:1:0", + "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } + "nodeType": "VariableDeclarationStatement", + "src": "3792:8:0" }, - "id": 156, - "nodeType": "ExpressionStatement", - "src": "1813:58:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 160, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "1878:28:0", - "subExpression": { + "loopExpression": { + "expression": { "argumentTypes": null, - "expression": { + "id": 280, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "3825:3:0", + "subExpression": { "argumentTypes": null, - "id": 157, - "name": "supportAgentRecords", + "id": 279, + "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "1878:19:0", + "referencedDeclaration": 272, + "src": "3825:1:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 159, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1878:26:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } + "id": 281, + "nodeType": "ExpressionStatement", + "src": "3825:3:0" }, - "id": 161, - "nodeType": "ExpressionStatement", - "src": "1878:28:0" + "nodeType": "ForStatement", + "src": "3787:282:0" }, { "expression": { "argumentTypes": null, - "id": 166, + "id": 307, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "leftHandSide": { + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "4079:17:0", + "subExpression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 162, - "name": "isSupportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "1912:14:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 164, - "indexExpression": { - "argumentTypes": null, - "id": 163, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 127, - "src": "1927:8:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1912:24:0", + "id": 306, + "name": "agentIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 28, + "src": "4086:10:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1939:5:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "1912:32:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 167, + "id": 308, "nodeType": "ExpressionStatement", - "src": "1912:32:0" + "src": "4079:17:0" }, { "expression": { @@ -5792,661 +10199,601 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 168, + "id": 309, "name": "countSupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "1957:18:0", + "referencedDeclaration": 442, + "src": "4122:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" } - }, - "id": 169, + }, + "id": 310, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4122:20:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 270, + "id": 311, + "nodeType": "Return", + "src": "4115:27:0" + } + ] + }, + "documentation": null, + "id": 313, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": false, + "modifiers": [], + "name": "removeAllSupportAgent", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 267, + "nodeType": "ParameterList", + "parameters": [], + "src": "3750:2:0" + }, + "payable": false, + "returnParameters": { + "id": 270, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 269, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 313, + "src": "3768:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 268, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3768:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3767:6:0" + }, + "scope": 443, + "src": "3720:430:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 321, + "nodeType": "Block", + "src": "4227:45:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 319, + "name": "supportAgentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 21, + "src": "4245:19:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage", + "typeString": "address[] storage ref" + } + }, + "functionReturnParameters": 318, + "id": 320, + "nodeType": "Return", + "src": "4238:26:0" + } + ] + }, + "documentation": null, + "id": 322, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findAllSupportAgents", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 314, + "nodeType": "ParameterList", + "parameters": [], + "src": "4193:2:0" + }, + "payable": false, + "returnParameters": { + "id": 318, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 317, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 322, + "src": "4216:9:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 315, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4216:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 316, + "length": null, + "nodeType": "ArrayTypeName", + "src": "4216:9:0", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4215:11:0" + }, + "scope": 443, + "src": "4164:108:0", + "stateMutability": "view", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 335, + "nodeType": "Block", + "src": "4358:61:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "components": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 329, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "4377:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 331, + "indexExpression": { + "argumentTypes": null, + "id": 330, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 324, + "src": "4391:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4377:20:0", + "typeDescriptions": { + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" + } + }, + "id": 332, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "agentAddress", + "nodeType": "MemberAccess", + "referencedDeclaration": 3, + "src": "4377:33:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "id": 333, "isConstant": false, + "isInlineArray": false, "isLValue": false, "isPure": false, - "kind": "functionCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1957:20:0", + "nodeType": "TupleExpression", + "src": "4376:35:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "functionReturnParameters": 131, - "id": 170, + "functionReturnParameters": 328, + "id": 334, "nodeType": "Return", - "src": "1950:27:0" + "src": "4369:42:0" } ] }, "documentation": null, - "id": 172, + "id": 336, "implemented": true, "isConstructor": false, - "isDeclaredConst": false, + "isDeclaredConst": true, "modifiers": [], - "name": "removeOneSupportAgent", + "name": "findSupportAgentAddressById", "nodeType": "FunctionDefinition", "parameters": { - "id": 128, + "id": 325, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 127, - "name": "_address", + "id": 324, + "name": "index", "nodeType": "VariableDeclaration", - "scope": 172, - "src": "1498:16:0", + "scope": 336, + "src": "4317:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 126, - "name": "address", + "id": 323, + "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1498:7:0", + "src": "4317:4:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "1497:18:0" + "src": "4316:12:0" }, "payable": false, "returnParameters": { - "id": 131, + "id": 328, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 130, + "id": 327, "name": "", "nodeType": "VariableDeclaration", - "scope": 172, - "src": "1532:4:0", + "scope": 336, + "src": "4349:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "id": 129, - "name": "uint", + "id": 326, + "name": "address", "nodeType": "ElementaryTypeName", - "src": "1532:4:0", + "src": "4349:7:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, "value": null, "visibility": "internal" } ], - "src": "1531:6:0" + "src": "4348:9:0" }, - "scope": 296, - "src": "1467:518:0", - "stateMutability": "nonpayable", + "scope": 443, + "src": "4280:139:0", + "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 217, + "id": 356, "nodeType": "Block", - "src": "2053:282:0", + "src": "4507:210:0", "statements": [ { - "body": { - "id": 212, - "nodeType": "Block", - "src": "2118:179:0", - "statements": [ - { - "assignments": [ - 191 - ], - "declarations": [ - { - "constant": false, - "id": 191, - "name": "_address", - "nodeType": "VariableDeclaration", - "scope": 218, - "src": "2127:16:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 190, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2127:7:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 195, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 193, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 178, - "src": "2174:1:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 192, - "name": "findSupportAgentAddressById", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 240, - "src": "2146:27:0", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2146:30:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2127:49:0" - }, + "expression": { + "argumentTypes": null, + "arguments": [ { - "expression": { - "argumentTypes": null, - "id": 200, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 196, - "name": "isSupportAgent", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 23, - "src": "2189:14:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 198, - "indexExpression": { - "argumentTypes": null, - "id": 197, - "name": "_address", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 191, - "src": "2204:8:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2189:24:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 199, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2216:5:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "src": "2189:32:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" }, - "id": 201, - "nodeType": "ExpressionStatement", - "src": "2189:32:0" - }, - { - "expression": { + "id": 348, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { "argumentTypes": null, - "id": 205, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "2229:29:0", - "subExpression": { + "baseExpression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 202, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2236:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 204, - "indexExpression": { - "argumentTypes": null, - "id": 203, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 178, - "src": "2256:1:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "2236:22:0", + "id": 344, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "4542:14:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" } }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 206, - "nodeType": "ExpressionStatement", - "src": "2229:29:0" - }, - { - "expression": { - "argumentTypes": null, - "id": 210, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "2264:28:0", - "subExpression": { + "id": 346, + "indexExpression": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 207, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2264:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 209, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2264:26:0", + "id": 345, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 338, + "src": "4557:8:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4542:24:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 211, - "nodeType": "ExpressionStatement", - "src": "2264:28:0" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 181, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 178, - "src": "2074:1:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { "argumentTypes": null, - "id": 182, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2078:19:0", + "hexValue": "74727565", + "id": 347, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4570:4:0", + "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" }, - "id": 183, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2078:26:0", + "src": "4542:32:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { + { "argumentTypes": null, - "hexValue": "31", - "id": 184, + "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, - "kind": "number", + "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2107:1:0", + "src": "4589:49:0", "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "2078:30:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "2074:34:0", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 213, - "initializationExpression": { - "assignments": [ - 178 - ], - "declarations": [ - { - "constant": false, - "id": 178, - "name": "i", - "nodeType": "VariableDeclaration", - "scope": 218, - "src": "2062:6:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 177, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2062:4:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" }, - "value": null, - "visibility": "internal" + "value": "There is no such agent with the given address !" } ], - "id": 180, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 179, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2071:1:0", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "2062:10:0" - }, - "loopExpression": { "expression": { - "argumentTypes": null, - "id": 188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "2110:3:0", - "subExpression": { - "argumentTypes": null, - "id": 187, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 178, - "src": "2110:1:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" } - }, + ], + "id": 343, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "4520:7:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" } }, - "id": 189, - "nodeType": "ExpressionStatement", - "src": "2110:3:0" + "id": 350, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4520:133:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } }, - "nodeType": "ForStatement", - "src": "2057:240:0" + "id": 351, + "nodeType": "ExpressionStatement", + "src": "4520:133:0" }, { "expression": { "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "id": 214, - "name": "countSupportAgents", + "baseExpression": { + "argumentTypes": null, + "id": 352, + "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 295, - "src": "2307:18:0", + "referencedDeclaration": 25, + "src": "4685:12:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", - "typeString": "function () view returns (uint256)" + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 354, + "indexExpression": { + "argumentTypes": null, + "id": 353, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 338, + "src": "4698:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 215, "isConstant": false, - "isLValue": false, + "isLValue": true, "isPure": false, - "kind": "functionCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2307:20:0", + "nodeType": "IndexAccess", + "src": "4685:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 176, - "id": 216, + "functionReturnParameters": 342, + "id": 355, "nodeType": "Return", - "src": "2300:27:0" + "src": "4678:29:0" + } + ] + }, + "documentation": null, + "id": 357, + "implemented": true, + "isConstructor": false, + "isDeclaredConst": true, + "modifiers": [], + "name": "findSupportAgentArrayIndex", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 339, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 338, + "name": "_address", + "nodeType": "VariableDeclaration", + "scope": 357, + "src": "4463:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 337, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4463:7:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" } - ] - }, - "documentation": null, - "id": 218, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": false, - "modifiers": [], - "name": "removeAllSupportAgent", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 173, - "nodeType": "ParameterList", - "parameters": [], - "src": "2023:2:0" + ], + "src": "4462:18:0" }, "payable": false, "returnParameters": { - "id": 176, + "id": 342, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 175, + "id": 341, "name": "", "nodeType": "VariableDeclaration", - "scope": 218, - "src": "2042:4:0", + "scope": 357, + "src": "4501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6454,10 +10801,10 @@ "typeString": "uint256" }, "typeName": { - "id": 174, + "id": 340, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2042:4:0", + "src": "4501:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6467,293 +10814,446 @@ "visibility": "internal" } ], - "src": "2041:6:0" + "src": "4500:6:0" }, - "scope": 296, - "src": "1993:342:0", - "stateMutability": "nonpayable", + "scope": 443, + "src": "4427:290:0", + "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 226, + "id": 385, "nodeType": "Block", - "src": "2410:45:0", + "src": "4806:281:0", "statements": [ { "expression": { "argumentTypes": null, - "id": 224, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2428:19:0", + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 369, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 365, + "name": "isSupportAgent", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 32, + "src": "4839:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 367, + "indexExpression": { + "argumentTypes": null, + "id": 366, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 359, + "src": "4854:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4839:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 368, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4867:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "4839:32:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", + "id": 370, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4886:49:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + }, + "value": "There is no such agent with the given address !" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + } + ], + "id": 364, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "4817:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 371, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4817:133:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "functionReturnParameters": 223, - "id": 225, - "nodeType": "Return", - "src": "2421:26:0" - } - ] - }, - "documentation": null, - "id": 227, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": true, - "modifiers": [], - "name": "findAllSupportAgents", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 219, - "nodeType": "ParameterList", - "parameters": [], - "src": "2376:2:0" - }, - "payable": false, - "returnParameters": { - "id": 223, - "nodeType": "ParameterList", - "parameters": [ + "id": 372, + "nodeType": "ExpressionStatement", + "src": "4817:133:0" + }, { - "constant": false, - "id": 222, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 227, - "src": "2399:9:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", - "typeString": "address[]" - }, - "typeName": { - "baseType": { - "id": 220, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2399:7:0", + "assignments": [ + 374 + ], + "declarations": [ + { + "constant": false, + "id": 374, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 386, + "src": "4981:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 373, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4981:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 378, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 375, + "name": "agentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "4997:12:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 377, + "indexExpression": { + "argumentTypes": null, + "id": 376, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 359, + "src": "5010:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 221, - "length": null, - "nodeType": "ArrayTypeName", - "src": "2399:9:0", + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4997:22:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", - "typeString": "address[]" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "value": null, - "visibility": "internal" - } - ], - "src": "2398:11:0" - }, - "scope": 296, - "src": "2347:108:0", - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 239, - "nodeType": "Block", - "src": "2547:48:0", - "statements": [ + "nodeType": "VariableDeclarationStatement", + "src": "4981:38:0" + }, { "expression": { "argumentTypes": null, "components": [ { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 234, - "name": "supportAgentRecords", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "2559:19:0", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - } - }, - "id": 236, - "indexExpression": { + "expression": { "argumentTypes": null, - "id": 235, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 229, - "src": "2579:5:0", + "baseExpression": { + "argumentTypes": null, + "id": 379, + "name": "SupportAgents", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "5052:13:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" + } + }, + "id": 381, + "indexExpression": { + "argumentTypes": null, + "id": 380, + "name": "index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 374, + "src": "5066:5:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5052:20:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeString": "struct Company.SupportAgent storage ref" } }, + "id": 382, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2559:26:0", + "memberName": "email", + "nodeType": "MemberAccess", + "referencedDeclaration": 5, + "src": "5052:26:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } } ], - "id": 237, + "id": 383, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2558:28:0", + "src": "5051:28:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" } }, - "functionReturnParameters": 233, - "id": 238, + "functionReturnParameters": 363, + "id": 384, "nodeType": "Return", - "src": "2551:35:0" + "src": "5044:35:0" } ] }, "documentation": null, - "id": 240, + "id": 386, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], - "name": "findSupportAgentAddressById", + "name": "getAgentEmail", "nodeType": "FunctionDefinition", "parameters": { - "id": 230, + "id": 360, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 229, - "name": "index", + "id": 359, + "name": "_address", "nodeType": "VariableDeclaration", - "scope": 240, - "src": "2500:10:0", + "scope": 386, + "src": "4754:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "id": 228, - "name": "uint", + "id": 358, + "name": "address", "nodeType": "ElementaryTypeName", - "src": "2500:4:0", + "src": "4754:7:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, "value": null, "visibility": "internal" } ], - "src": "2499:12:0" + "src": "4753:18:0" }, "payable": false, "returnParameters": { - "id": 233, + "id": 363, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 232, + "id": 362, "name": "", "nodeType": "VariableDeclaration", - "scope": 240, - "src": "2533:7:0", + "scope": 386, + "src": "4792:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" }, "typeName": { - "id": 231, - "name": "address", + "id": 361, + "name": "string", "nodeType": "ElementaryTypeName", - "src": "2533:7:0", + "src": "4792:6:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" } }, "value": null, "visibility": "internal" } ], - "src": "2532:9:0" + "src": "4791:8:0" }, - "scope": 296, - "src": "2463:132:0", + "scope": 443, + "src": "4731:356:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 253, + "id": 432, "nodeType": "Block", - "src": "2690:62:0", + "src": "5215:415:0", "statements": [ { "expression": { "argumentTypes": null, - "components": [ + "arguments": [ { "argumentTypes": null, - "expression": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 404, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 247, - "name": "supportAgents", + "id": 400, + "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2709:13:0", + "referencedDeclaration": 32, + "src": "5248:14:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" } }, - "id": 249, + "id": 402, "indexExpression": { "argumentTypes": null, - "id": 248, + "id": 401, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 242, - "src": "2723:8:0", + "referencedDeclaration": 388, + "src": "5263:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6764,134 +11264,176 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2709:23:0", + "src": "5248:24:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage", - "typeString": "struct Company.SupportAgent storage ref" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 250, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 403, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5276:4:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "5248:32:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", + "id": 405, "isConstant": false, - "isLValue": true, - "isPure": false, + "isLValue": false, + "isPure": true, + "kind": "string", "lValueRequested": false, - "memberName": "agentIndex", - "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "2709:34:0", + "nodeType": "Literal", + "src": "5295:49:0", + "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + }, + "value": "There is no such agent with the given address !" } ], - "id": 251, + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", + "typeString": "literal_string \"There is no such agent with the given address !\"" + } + ], + "id": 399, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 461, + 462 + ], + "referencedDeclaration": 462, + "src": "5226:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 406, "isConstant": false, - "isInlineArray": false, "isLValue": false, "isPure": false, + "kind": "functionCall", "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2708:36:0", + "names": [], + "nodeType": "FunctionCall", + "src": "5226:133:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "functionReturnParameters": 246, - "id": 252, - "nodeType": "Return", - "src": "2701:43:0" - } - ] - }, - "documentation": null, - "id": 254, - "implemented": true, - "isConstructor": false, - "isDeclaredConst": true, - "modifiers": [], - "name": "findSupportAgentArrayIndex", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 243, - "nodeType": "ParameterList", - "parameters": [ + "id": 407, + "nodeType": "ExpressionStatement", + "src": "5226:133:0" + }, { - "constant": false, - "id": 242, - "name": "_address", - "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2639:16:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 241, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2639:7:0", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "assignments": [ + 409 + ], + "declarations": [ + { + "constant": false, + "id": 409, + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 433, + "src": "5394:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 408, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5394:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2638:18:0" - }, - "payable": false, - "returnParameters": { - "id": 246, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 245, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 254, - "src": "2678:4:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 244, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2678:4:0", + ], + "id": 413, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 410, + "name": "agentRecords", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "5410:12:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 412, + "indexExpression": { + "argumentTypes": null, + "id": 411, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 388, + "src": "5423:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5410:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "value": null, - "visibility": "internal" - } - ], - "src": "2677:6:0" - }, - "scope": 296, - "src": "2603:149:0", - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 285, - "nodeType": "Block", - "src": "2878:152:0", - "statements": [ + "nodeType": "VariableDeclarationStatement", + "src": "5394:38:0" + }, { "expression": { "argumentTypes": null, @@ -6902,29 +11444,29 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 267, - "name": "supportAgents", + "id": 414, + "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2897:13:0", + "referencedDeclaration": 18, + "src": "5479:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 269, + "id": 416, "indexExpression": { "argumentTypes": null, - "id": 268, - "name": "_address", + "id": 415, + "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "2911:8:0", + "referencedDeclaration": 409, + "src": "5493:5:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "isConstant": false, @@ -6932,21 +11474,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2897:23:0", + "src": "5479:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 270, + "id": 417, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "email", "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "2897:29:0", + "referencedDeclaration": 5, + "src": "5479:26:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -6958,29 +11500,29 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 271, - "name": "supportAgents", + "id": 418, + "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2928:13:0", + "referencedDeclaration": 18, + "src": "5517:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 273, + "id": 420, "indexExpression": { "argumentTypes": null, - "id": 272, - "name": "_address", + "id": 419, + "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "2942:8:0", + "referencedDeclaration": 409, + "src": "5531:5:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "isConstant": false, @@ -6988,21 +11530,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2928:23:0", + "src": "5517:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 274, + "id": 421, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "fName", "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "2928:29:0", + "referencedDeclaration": 7, + "src": "5517:26:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -7014,29 +11556,29 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 275, - "name": "supportAgents", + "id": 422, + "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2959:13:0", + "referencedDeclaration": 18, + "src": "5555:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 277, + "id": 424, "indexExpression": { "argumentTypes": null, - "id": 276, - "name": "_address", + "id": 423, + "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "2973:8:0", + "referencedDeclaration": 409, + "src": "5569:5:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "isConstant": false, @@ -7044,21 +11586,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2959:23:0", + "src": "5555:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 278, + "id": 425, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lName", "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "2959:29:0", + "referencedDeclaration": 9, + "src": "5555:26:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -7070,29 +11612,29 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 279, - "name": "supportAgents", + "id": 426, + "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 16, - "src": "2989:13:0", + "referencedDeclaration": 18, + "src": "5592:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_SupportAgent_$12_storage_$", - "typeString": "mapping(address => struct Company.SupportAgent storage ref)" + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 281, + "id": 428, "indexExpression": { "argumentTypes": null, - "id": 280, - "name": "_address", + "id": 427, + "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 256, - "src": "3003:8:0", + "referencedDeclaration": 409, + "src": "5606:5:0", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "isConstant": false, @@ -7100,49 +11642,49 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2989:23:0", + "src": "5592:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$12_storage", + "typeIdentifier": "t_struct$_SupportAgent_$14_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 282, + "id": 429, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "timeZone", "nodeType": "MemberAccess", - "referencedDeclaration": 9, - "src": "2989:32:0", + "referencedDeclaration": 11, + "src": "5592:29:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } } ], - "id": 283, + "id": 430, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2896:126:0", + "src": "5478:144:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_string_storage_$_t_string_storage_$_t_string_storage_$_t_string_storage_$", "typeString": "tuple(string storage ref,string storage ref,string storage ref,string storage ref)" } }, - "functionReturnParameters": 266, - "id": 284, + "functionReturnParameters": 398, + "id": 431, "nodeType": "Return", - "src": "2889:133:0" + "src": "5461:161:0" } ] }, "documentation": null, - "id": 286, + "id": 433, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -7150,16 +11692,16 @@ "name": "findSupportAgentByAddress", "nodeType": "FunctionDefinition", "parameters": { - "id": 257, + "id": 389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 256, + "id": 388, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 286, - "src": "2802:16:0", + "scope": 433, + "src": "5139:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7167,10 +11709,10 @@ "typeString": "address" }, "typeName": { - "id": 255, + "id": 387, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2802:7:0", + "src": "5139:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7180,20 +11722,20 @@ "visibility": "internal" } ], - "src": "2801:18:0" + "src": "5138:18:0" }, "payable": false, "returnParameters": { - "id": 266, + "id": 398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 259, + "id": 391, "name": "", "nodeType": "VariableDeclaration", - "scope": 286, - "src": "2841:6:0", + "scope": 433, + "src": "5177:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7201,10 +11743,10 @@ "typeString": "string" }, "typeName": { - "id": 258, + "id": 390, "name": "string", "nodeType": "ElementaryTypeName", - "src": "2841:6:0", + "src": "5177:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7215,11 +11757,11 @@ }, { "constant": false, - "id": 261, + "id": 393, "name": "", "nodeType": "VariableDeclaration", - "scope": 286, - "src": "2849:6:0", + "scope": 433, + "src": "5185:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7227,10 +11769,10 @@ "typeString": "string" }, "typeName": { - "id": 260, + "id": 392, "name": "string", "nodeType": "ElementaryTypeName", - "src": "2849:6:0", + "src": "5185:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7241,11 +11783,11 @@ }, { "constant": false, - "id": 263, + "id": 395, "name": "", "nodeType": "VariableDeclaration", - "scope": 286, - "src": "2857:6:0", + "scope": 433, + "src": "5193:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7253,10 +11795,10 @@ "typeString": "string" }, "typeName": { - "id": 262, + "id": 394, "name": "string", "nodeType": "ElementaryTypeName", - "src": "2857:6:0", + "src": "5193:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7267,11 +11809,11 @@ }, { "constant": false, - "id": 265, + "id": 397, "name": "", "nodeType": "VariableDeclaration", - "scope": 286, - "src": "2864:6:0", + "scope": 433, + "src": "5201:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7279,10 +11821,10 @@ "typeString": "string" }, "typeName": { - "id": 264, + "id": 396, "name": "string", "nodeType": "ElementaryTypeName", - "src": "2864:6:0", + "src": "5201:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7292,37 +11834,37 @@ "visibility": "internal" } ], - "src": "2840:31:0" + "src": "5176:32:0" }, - "scope": 296, - "src": "2767:263:0", + "scope": 443, + "src": "5104:526:0", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 294, + "id": 441, "nodeType": "Block", - "src": "3099:52:0", + "src": "5709:43:0", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 291, - "name": "supportAgentRecords", + "id": 438, + "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 19, - "src": "3117:19:0", + "referencedDeclaration": 28, + "src": "5727:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, - "id": 292, + "id": 439, "isConstant": false, "isLValue": true, "isPure": false, @@ -7330,21 +11872,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3117:26:0", + "src": "5727:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 290, - "id": 293, + "functionReturnParameters": 437, + "id": 440, "nodeType": "Return", - "src": "3110:33:0" + "src": "5720:24:0" } ] }, "documentation": null, - "id": 295, + "id": 442, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -7352,23 +11894,23 @@ "name": "countSupportAgents", "nodeType": "FunctionDefinition", "parameters": { - "id": 287, + "id": 434, "nodeType": "ParameterList", "parameters": [], - "src": "3069:2:0" + "src": "5677:2:0" }, "payable": false, "returnParameters": { - "id": 290, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 289, + "id": 436, "name": "", "nodeType": "VariableDeclaration", - "scope": 295, - "src": "3093:4:0", + "scope": 442, + "src": "5700:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7376,10 +11918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 288, - "name": "uint", + "id": 435, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3093:4:0", + "src": "5700:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7389,26 +11931,33 @@ "visibility": "internal" } ], - "src": "3092:6:0" + "src": "5699:9:0" }, - "scope": 296, - "src": "3042:109:0", + "scope": 443, + "src": "5650:102:0", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], - "scope": 297, - "src": "28:3126:0" + "scope": 444, + "src": "30:5731:0" } ], - "src": "0:3154:0" + "src": "0:5761:0" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, - "networks": {}, + "networks": { + "1539420319630": { + "events": {}, + "links": {}, + "address": "0x36d4c1ac6ad98789d83481e5ffb279f3208261e5", + "transactionHash": "0x48059094d9bce7217106f3a723896fe04a5c9d9d2c424a4191466633c69701fc" + } + }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-06T17:51:37.381Z" + "updatedAt": "2018-10-13T10:09:33.022Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/JobApplicant.json b/ethereum/build/contracts/JobApplicant.json index e7bfddf..fa47bc8 100644 --- a/ethereum/build/contracts/JobApplicant.json +++ b/ethereum/build/contracts/JobApplicant.json @@ -9222,5 +9222,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-12T17:29:21.792Z" + "updatedAt": "2018-10-13T10:09:33.008Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/JobApplicationLibrary.json b/ethereum/build/contracts/JobApplicationLibrary.json index eaeeb64..0143ddf 100644 --- a/ethereum/build/contracts/JobApplicationLibrary.json +++ b/ethereum/build/contracts/JobApplicationLibrary.json @@ -649,8 +649,14 @@ "links": {}, "address": "0xf1ba4d207a40ac007ee579866af735c36608ac9d", "transactionHash": "0x6a851e0bc940026ade59d1f9b96d1ae6dc1b09ece41ecfe68a41653b3549d590" + }, + "1539420319630": { + "events": {}, + "links": {}, + "address": "0xe0b601a1612fdb93ec5a7fa40e574fb5ca4b0e78", + "transactionHash": "0xfdafb5910972103d7705e2374ae0cf929baaa779cac7e207358c19dfa976a19f" } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-12T17:29:21.796Z" + "updatedAt": "2018-10-13T10:09:33.012Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/Listing.json b/ethereum/build/contracts/Listing.json index b3cadf9..ebe2787 100644 --- a/ethereum/build/contracts/Listing.json +++ b/ethereum/build/contracts/Listing.json @@ -5285,8 +5285,14 @@ "links": { "JobApplicationLibrary": "0xf1ba4d207a40ac007ee579866af735c36608ac9d" } + }, + "1539420319630": { + "events": {}, + "links": { + "JobApplicationLibrary": "0xe0b601a1612fdb93ec5a7fa40e574fb5ca4b0e78" + } } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-12T17:29:21.811Z" + "updatedAt": "2018-10-13T10:09:33.004Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/ListingsRegistry.json b/ethereum/build/contracts/ListingsRegistry.json index 10e6732..2c6780c 100644 --- a/ethereum/build/contracts/ListingsRegistry.json +++ b/ethereum/build/contracts/ListingsRegistry.json @@ -6699,8 +6699,16 @@ }, "address": "0x7cefc68865c7a3c8cecd81df0e6216164e984819", "transactionHash": "0xda07fe9d40feac048e834e5e3c4803daec69859c5c06cc246f35d58e47e525d2" + }, + "1539420319630": { + "events": {}, + "links": { + "JobApplicationLibrary": "0xe0b601a1612fdb93ec5a7fa40e574fb5ca4b0e78" + }, + "address": "0xd384d07de47cf169005b508aac189d03b10a3e28", + "transactionHash": "0x56991c79fcb70e0e40f0908463b183c0bc422384efff69399ced7a5a7b8ca2e1" } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-12T17:29:21.799Z" + "updatedAt": "2018-10-13T10:09:32.999Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/Migrations.json b/ethereum/build/contracts/Migrations.json index ba8301d..99f9748 100644 --- a/ethereum/build/contracts/Migrations.json +++ b/ethereum/build/contracts/Migrations.json @@ -1376,5 +1376,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-12T17:29:21.803Z" + "updatedAt": "2018-10-13T10:09:33.010Z" } \ No newline at end of file diff --git a/ethereum/contracts/AuditCriteriaManager.sol b/ethereum/contracts/AuditCriteriaManager.sol index a38b8f9..394b80c 100644 --- a/ethereum/contracts/AuditCriteriaManager.sol +++ b/ethereum/contracts/AuditCriteriaManager.sol @@ -38,6 +38,7 @@ contract AuditCriteriaManager { CriteriaStructs[currentIndex].minScore = minScore; CriteriaStructs[currentIndex].maxScore = maxScore; CriteriaStructs[currentIndex].isActive = isActive; + CriteriaStructs[currentIndex].index = CriteriaIndex.push(currentIndex) - 1; emit LogNewCriteria( diff --git a/ethereum/contracts/Company.sol b/ethereum/contracts/Company.sol index 147dc4d..f5f2a0a 100644 --- a/ethereum/contracts/Company.sol +++ b/ethereum/contracts/Company.sol @@ -1,21 +1,27 @@ -pragma solidity ^0.4.18; +pragma solidity ^ 0.4 .18; contract Company { - - struct SupportAgent - { - string email; - string fName; - string lName; - string timeZone; - uint agentIndex; + + struct SupportAgent { + address agentAddress; + string email; + string fName; + string lName; + string timeZone; + uint index; } - - mapping (address => SupportAgent) supportAgents; + + mapping(uint256 => SupportAgent) private SupportAgents; address[] public supportAgentRecords; - mapping (address => bool) public isSupportAgent; + + mapping(address => uint256) private agentRecords; + + uint256[] private agentIndex; + + + mapping(address => bool) public isSupportAgent; -////////////////////////////////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////////////////////////////////// modifier agentDoesNotExist(address supportagent) { require(!isSupportAgent[supportagent]); _; @@ -30,77 +36,155 @@ contract Company { require(_address != 0); _; } -////////////////////////////////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////////////////////////////////// + + function addSupportAgent(address _address, string _email, string _fName, string _lName, string _timeZone) + public + returns(uint256 index) { + + + // If the first argument of `require` evaluates + // to `false`, execution terminates and all + // changes to the state and to Ether balances + // are reverted. + // This used to consume all gas in old EVM versions, but + // not anymore. + // It is often a good idea to use `require` to check if + // functions are called correctly. + // As a second argument, you can also provide an + // explanation about what went wrong. + + require( + isSupportAgent[_address] == false, + "Agent already exist !" + ); + + + require( + (bytes(_email).length < 5)==false, + "Invalid Email address !" + ); - function addSupportAgent(address _address, string _email, string _fName, string _lName, string _timeZone) public - { - SupportAgent memory supportAgent = supportAgents[_address]; + require( + (bytes(_fName).length < 3)==false, + "First name should contain minimum 3 letters" + ); - supportAgent.email = _email; - supportAgent.fName = _fName; - supportAgent.lName = _lName; - supportAgent.timeZone = _timeZone; - supportAgent.agentIndex = supportAgentRecords.length; // Row ID (Array Index) of an Agent + require( + (bytes(_lName).length < 3)==false, + "Last name should contain minimum 3 letters" + ); + + require( + (bytes(_timeZone).length < 3)==false, + "Timezone is Invalid" + ); + + uint256 currentIndex = countSupportAgents(); + isSupportAgent[_address] = true; - supportAgentRecords.push(_address) -1; + SupportAgents[currentIndex].agentAddress = _address; + SupportAgents[currentIndex].email = _email; + SupportAgents[currentIndex].fName = _fName; + SupportAgents[currentIndex].lName = _lName; + SupportAgents[currentIndex].timeZone = _timeZone; - isSupportAgent[_address] = true; + SupportAgents[currentIndex].index = agentIndex.push(currentIndex) - 1; + + agentRecords[_address] = currentIndex; + + return agentIndex.length-1; } - function removeOneSupportAgent(address _address) public returns (uint) - { - /* - Swap the last agent to position of the to-be remove agent position - */ - - uint removeThisAgent = findSupportAgentArrayIndex(_address); // Get the Array Index - - supportAgentRecords[removeThisAgent] = supportAgentRecords[supportAgentRecords.length - 1]; - - delete supportAgentRecords[supportAgentRecords.length - 1]; - - supportAgentRecords.length--; - - isSupportAgent[_address] = false; + function removeOneSupportAgent(address _address) public returns(uint) { + + require( + isSupportAgent[_address] == true, + "There is no such agent with the given address !" + ); + - return countSupportAgents(); + uint256 index = agentRecords[_address]; + + delete isSupportAgent[_address]; + delete agentRecords[_address]; + + delete SupportAgents[index]; + delete agentIndex[index]; + + agentIndex.length--; + + return countSupportAgents(); } - function removeAllSupportAgent() public returns (uint) - { - for (uint i = 0; i < supportAgentRecords.length - 1; i++) - { - - address _address = findSupportAgentAddressById(i); - isSupportAgent[_address] = false; - - delete supportAgentRecords[i]; - supportAgentRecords.length--; - } - return countSupportAgents(); + function removeAllSupportAgent() public returns(uint) { + + for (uint i=0; i < agentIndex.length; i++) + { + address agentAddress = SupportAgents[i].agentAddress; + + delete isSupportAgent[agentAddress]; + delete agentRecords[agentAddress]; + delete SupportAgents[i]; + + } + delete agentIndex; + return countSupportAgents(); } + function findAllSupportAgents() view public returns(address[]) { return supportAgentRecords; } - function findSupportAgentAddressById(uint index) view public returns (address) - { - return (supportAgentRecords[index]); + function findSupportAgentAddressById(uint index) view public returns(address) { + return (SupportAgents[index].agentAddress); } - function findSupportAgentArrayIndex(address _address) view public returns (uint) + function findSupportAgentArrayIndex(address _address) view public returns(uint) { + + require( + isSupportAgent[_address] == true, + "There is no such agent with the given address !" + ); + + return agentRecords[_address]; + + } + + + function getAgentEmail(address _address) view public returns(string) { - return (supportAgents[_address].agentIndex); + require( + isSupportAgent[_address] == true, + "There is no such agent with the given address !" + ); + + uint256 index = agentRecords[_address]; + + return (SupportAgents[index].email); } - - function findSupportAgentByAddress(address _address) view public returns (string, string, string,string) + + function findSupportAgentByAddress(address _address) view public returns(string, string, string, string) { - return (supportAgents[_address].email, supportAgents[_address].fName, supportAgents[_address].lName,supportAgents[_address].timeZone); + require( + isSupportAgent[_address] == true, + "There is no such agent with the given address !" + ); + + uint256 index = agentRecords[_address]; + + return + (SupportAgents[index].email, + SupportAgents[index].fName, + SupportAgents[index].lName, + SupportAgents[index].timeZone); } + - function countSupportAgents() view public returns (uint) { - return supportAgentRecords.length; + function countSupportAgents() view public returns(uint256) { + return agentIndex.length; } + } \ No newline at end of file diff --git a/ethereum/migrations/2_deploy_contracts.js b/ethereum/migrations/2_deploy_contracts.js index b3fa577..6f48cce 100644 --- a/ethereum/migrations/2_deploy_contracts.js +++ b/ethereum/migrations/2_deploy_contracts.js @@ -4,6 +4,8 @@ var Listing = artifacts.require("Listing") var JobApplicant = artifacts.require("JobApplicant") var JobApplicantLibrary = artifacts.require("JobApplicationLibrary") var AuditCriteriaManager = artifacts.require("AuditCriteriaManager") +var Company = artifacts.require("Company") + module.exports = function(deployer, network) { return deployer.then(() => { @@ -15,6 +17,7 @@ async function deployContracts(deployer) { await deployer.deploy(JobApplicantLibrary); await deployer.link(JobApplicantLibrary, ListingsRegistry); await deployer.link(JobApplicantLibrary, Listing); + await deployer.deploy(Company); await deployer.deploy(ListingsRegistry); await deployer.deploy(AuditCriteriaManager); } diff --git a/ethereum/test/TestCompany.sol b/ethereum/test/TestCompany.sol new file mode 100644 index 0000000..2fc348f --- /dev/null +++ b/ethereum/test/TestCompany.sol @@ -0,0 +1,47 @@ +pragma solidity ^ 0.4 .24; +import "truffle/Assert.sol"; +import "truffle/DeployedAddresses.sol"; +import "../contracts/Company.sol"; + +contract TestCompany { + + Company company = Company(DeployedAddresses.Company()); + + function addAgent () public { + company.addSupportAgent(0x273863Af361B3F60a071c51a402374081Fa4A4f0, + 'waheed@gmail.com', 'Waheed', 'Rahuman', 'GMT+4'); + } + + function testaddSupportAgent() public { + addAgent(); + uint256 agents = company.countSupportAgents(); + Assert.equal(agents, 1, "Agents are equal"); + } + + function testgetAgentEmail() public { + string memory email = company.getAgentEmail(0x273863Af361B3F60a071c51a402374081Fa4A4f0); + Assert.equal(email, "waheed@gmail.com", "Email is correctly fetched"); + } + + function testdeleteAll() public { + + + company.addSupportAgent(0x41d5233f434d98b73f22ce664d48be06f4eb073f, + 'waheed@gmail.com', 'Waheed', 'Rahuman', 'GMT+4'); + + uint256 agents = company.countSupportAgents(); + Assert.equal(agents, 2,"Total two agents now"); + + company.removeAllSupportAgent(); + agents = company.countSupportAgents(); + Assert.equal(agents, 0,"all Agents deleted"); + } + + function testdeleteSupportAgent() public { + addAgent(); + company.removeOneSupportAgent(0x273863Af361B3F60a071c51a402374081Fa4A4f0); + uint256 agents = company.countSupportAgents(); + Assert.equal(agents, 0, "Zero Agents"); + } + +} \ No newline at end of file From 58f81940da772715f1811117e4777ba21e72f782 Mon Sep 17 00:00:00 2001 From: vrajasekaran Date: Thu, 18 Oct 2018 10:26:58 -0400 Subject: [PATCH 09/16] MasterAuditCondition crud.insert + js tests --- .../build/contracts/AuditCriteriaManager.json | 126 +- ethereum/build/contracts/Company.json | 4538 +++++++-------- ethereum/build/contracts/JobApplicant.json | 4340 +++++++------- .../contracts/JobApplicationLibrary.json | 324 +- ethereum/build/contracts/Listing.json | 2200 ++++---- .../build/contracts/ListingsRegistry.json | 2728 ++++----- ethereum/build/contracts/Migrations.json | 588 +- ethereum/contracts/MasterAuditCondition.sol | 71 + ethereum/migrations/2_deploy_contracts.js | 2 + ethereum/test/TestMasterAuditCondition.js | 54 + .../test/TestMasterAuditCondition.newway.js | 38 + package-lock.json | 4981 +++++++++-------- package.json | 3 +- 13 files changed, 10090 insertions(+), 9903 deletions(-) create mode 100644 ethereum/contracts/MasterAuditCondition.sol create mode 100644 ethereum/test/TestMasterAuditCondition.js create mode 100644 ethereum/test/TestMasterAuditCondition.newway.js diff --git a/ethereum/build/contracts/AuditCriteriaManager.json b/ethereum/build/contracts/AuditCriteriaManager.json index 1b1bafa..efd87f9 100644 --- a/ethereum/build/contracts/AuditCriteriaManager.json +++ b/ethereum/build/contracts/AuditCriteriaManager.json @@ -381,14 +381,14 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b50610d05806100206000396000f3006080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100d45780632e70cbfd146100fb57806348d007c6146101135780635487193c1461018557806359b630d11461019c5780635c622a0e146101b45780636776c6bb146101cc57806372b4763c146101e45780638931828f146102025780638d15438e146102ab578063ae48388d14610313578063b60215931461032b578063d54d535b14610343578063fa2693b3146103d0575b600080fd5b3480156100e057600080fd5b506100e96103ed565b60408051918252519081900360200190f35b34801561010757600080fd5b506100e96004356103f4565b34801561011f57600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101719583359536956044949193909101919081908401838280828437509497506104239650505050505050565b604080519115158252519081900360200190f35b34801561019157600080fd5b5061019a610527565b005b3480156101a857600080fd5b506100e9600435610535565b3480156101c057600080fd5b50610171600435610561565b3480156101d857600080fd5b506100e9600435610590565b3480156101f057600080fd5b506101716004356024356044356105b3565b34801561020e57600080fd5b5061021a6004356106b4565b604051808060200185815260200184815260200183151515158152602001828103825286818151815260200191508051906020019080838360005b8381101561026d578181015183820152602001610255565b50505050905090810190601f16801561029a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156102b757600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100e99436949293602493928401919081908401838280828437509497505084359550505060208301359260400135151591506107909050565b34801561031f57600080fd5b506100e96004356108e4565b34801561033757600080fd5b50610171600435610a84565b34801561034f57600080fd5b5061035b600435610acc565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561039557818101518382015260200161037d565b50505050905090810190601f1680156103c25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103dc57600080fd5b506101716004356024351515610b7f565b6001545b90565b60006103ff82610a84565b151561040a57600080fd5b506000818152602081905260409020600201545b919050565b600061042e83610a84565b151561043957600080fd5b600083815260208181526040909120835161045692850190610bf7565b50600083815260208181526040808320600481015460029091015482518281529283018190526060838501818152885191850191909152875189967f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9694958a959093926080850192918701918190849084905b838110156104e25781810151838201526020016104ca565b50505050905090810190601f16801561050f5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a250600192915050565b61053360016000610c75565b565b600061054082610a84565b151561054b57600080fd5b5060009081526020819052604090206001015490565b600061056c82610a84565b151561057757600080fd5b5060009081526020819052604090206003015460ff1690565b60006001828154811015156105a157fe5b90600052602060002001549050919050565b60006105be84610a84565b15156105c957600080fd5b600084815260208181526040918290206002808201879055600180830187905560048301548551818152958601889052606094860185815284549283161561010002600019019092169290920493850184905288947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9492939288929060808301908590801561069a5780601f1061066f5761010080835404028352916020019161069a565b820191906000526020600020905b81548152906001019060200180831161067d57829003601f168201915b505094505050505060405180910390a25060019392505050565b606060008060006106c485610a84565b15156106cf57600080fd5b600085815260208181526040918290206002808201546001808401546003850154855488516101009482161594909402600019011694909404601f81018790048702830187019097528682529395919460ff909316929091869183018282801561077a5780601f1061074f5761010080835404028352916020019161077a565b820191906000526020600020905b81548152906001019060200180831161075d57829003601f168201915b5050505050935093509350935093509193509193565b60008061079b6103ed565b60008181526020818152604090912088519293506107bd929091890190610bf7565b5060008181526020818152604080832060018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018690556004909101819055815181815291820188905260608284018181528b51918401919091528a5186957f029b14de10d3e6ca536bbb8aae7ea299ced00c37fd6975e22c47d64288f575249593948d948c9491939192608085019291870191908190849084905b8381101561089757818101518382015260200161087f565b50505050905090810190601f1680156108c45780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a2505060015460001901949350505050565b60008060006108f284610a84565b15156108fd57600080fd5b6000848152602081905260409020600401546001805491935090600019810190811061092557fe5b906000526020600020015490508060018381548110151561094257fe5b600091825260208083209091019290925582815290819052604090206004018290556001805490610977906000198301610c96565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a26000818152602081815260409182902060028082015484518781529485018190526060938501848152835460001961010060018316150201169290920493850184905285947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9488949390608083019085908015610a6d5780601f10610a4257610100808354040283529160200191610a6d565b820191906000526020600020905b815481529060010190602001808311610a5057829003601f168201915b505094505050505060405180910390a25092915050565b6001546000901515610a985750600061041e565b600082815260208190526040902060040154600180548492908110610ab957fe5b9060005260206000200154149050919050565b6060610ad782610a84565b1515610ae257600080fd5b6000828152602081815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610b735780601f10610b4857610100808354040283529160200191610b73565b820191906000526020600020905b815481529060010190602001808311610b5657829003601f168201915b50505050509050919050565b6000610b8a83610a84565b1515610b9557600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610c3857805160ff1916838001178555610c65565b82800160010185558215610c65579182015b82811115610c65578251825591602001919060010190610c4a565b50610c71929150610cbf565b5090565b5080546000825590600052602060002090810190610c939190610cbf565b50565b815481835581811115610cba57600083815260209020610cba918101908301610cbf565b505050565b6103f191905b80821115610c715760008155600101610cc55600a165627a7a7230582068f2738b49d2a1a4600ea9bd50665be10bcf08ec467101b187b4412c9673f6400029", - "deployedBytecode": "0x6080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100d45780632e70cbfd146100fb57806348d007c6146101135780635487193c1461018557806359b630d11461019c5780635c622a0e146101b45780636776c6bb146101cc57806372b4763c146101e45780638931828f146102025780638d15438e146102ab578063ae48388d14610313578063b60215931461032b578063d54d535b14610343578063fa2693b3146103d0575b600080fd5b3480156100e057600080fd5b506100e96103ed565b60408051918252519081900360200190f35b34801561010757600080fd5b506100e96004356103f4565b34801561011f57600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101719583359536956044949193909101919081908401838280828437509497506104239650505050505050565b604080519115158252519081900360200190f35b34801561019157600080fd5b5061019a610527565b005b3480156101a857600080fd5b506100e9600435610535565b3480156101c057600080fd5b50610171600435610561565b3480156101d857600080fd5b506100e9600435610590565b3480156101f057600080fd5b506101716004356024356044356105b3565b34801561020e57600080fd5b5061021a6004356106b4565b604051808060200185815260200184815260200183151515158152602001828103825286818151815260200191508051906020019080838360005b8381101561026d578181015183820152602001610255565b50505050905090810190601f16801561029a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156102b757600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100e99436949293602493928401919081908401838280828437509497505084359550505060208301359260400135151591506107909050565b34801561031f57600080fd5b506100e96004356108e4565b34801561033757600080fd5b50610171600435610a84565b34801561034f57600080fd5b5061035b600435610acc565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561039557818101518382015260200161037d565b50505050905090810190601f1680156103c25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103dc57600080fd5b506101716004356024351515610b7f565b6001545b90565b60006103ff82610a84565b151561040a57600080fd5b506000818152602081905260409020600201545b919050565b600061042e83610a84565b151561043957600080fd5b600083815260208181526040909120835161045692850190610bf7565b50600083815260208181526040808320600481015460029091015482518281529283018190526060838501818152885191850191909152875189967f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9694958a959093926080850192918701918190849084905b838110156104e25781810151838201526020016104ca565b50505050905090810190601f16801561050f5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a250600192915050565b61053360016000610c75565b565b600061054082610a84565b151561054b57600080fd5b5060009081526020819052604090206001015490565b600061056c82610a84565b151561057757600080fd5b5060009081526020819052604090206003015460ff1690565b60006001828154811015156105a157fe5b90600052602060002001549050919050565b60006105be84610a84565b15156105c957600080fd5b600084815260208181526040918290206002808201879055600180830187905560048301548551818152958601889052606094860185815284549283161561010002600019019092169290920493850184905288947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9492939288929060808301908590801561069a5780601f1061066f5761010080835404028352916020019161069a565b820191906000526020600020905b81548152906001019060200180831161067d57829003601f168201915b505094505050505060405180910390a25060019392505050565b606060008060006106c485610a84565b15156106cf57600080fd5b600085815260208181526040918290206002808201546001808401546003850154855488516101009482161594909402600019011694909404601f81018790048702830187019097528682529395919460ff909316929091869183018282801561077a5780601f1061074f5761010080835404028352916020019161077a565b820191906000526020600020905b81548152906001019060200180831161075d57829003601f168201915b5050505050935093509350935093509193509193565b60008061079b6103ed565b60008181526020818152604090912088519293506107bd929091890190610bf7565b5060008181526020818152604080832060018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018690556004909101819055815181815291820188905260608284018181528b51918401919091528a5186957f029b14de10d3e6ca536bbb8aae7ea299ced00c37fd6975e22c47d64288f575249593948d948c9491939192608085019291870191908190849084905b8381101561089757818101518382015260200161087f565b50505050905090810190601f1680156108c45780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a2505060015460001901949350505050565b60008060006108f284610a84565b15156108fd57600080fd5b6000848152602081905260409020600401546001805491935090600019810190811061092557fe5b906000526020600020015490508060018381548110151561094257fe5b600091825260208083209091019290925582815290819052604090206004018290556001805490610977906000198301610c96565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a26000818152602081815260409182902060028082015484518781529485018190526060938501848152835460001961010060018316150201169290920493850184905285947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9488949390608083019085908015610a6d5780601f10610a4257610100808354040283529160200191610a6d565b820191906000526020600020905b815481529060010190602001808311610a5057829003601f168201915b505094505050505060405180910390a25092915050565b6001546000901515610a985750600061041e565b600082815260208190526040902060040154600180548492908110610ab957fe5b9060005260206000200154149050919050565b6060610ad782610a84565b1515610ae257600080fd5b6000828152602081815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610b735780601f10610b4857610100808354040283529160200191610b73565b820191906000526020600020905b815481529060010190602001808311610b5657829003601f168201915b50505050509050919050565b6000610b8a83610a84565b1515610b9557600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610c3857805160ff1916838001178555610c65565b82800160010185558215610c65579182015b82811115610c65578251825591602001919060010190610c4a565b50610c71929150610cbf565b5090565b5080546000825590600052602060002090810190610c939190610cbf565b50565b815481835581811115610cba57600083815260209020610cba918101908301610cbf565b505050565b6103f191905b80821115610c715760008155600101610cc55600a165627a7a7230582068f2738b49d2a1a4600ea9bd50665be10bcf08ec467101b187b4412c9673f6400029", + "bytecode": "0x608060405234801561001057600080fd5b50610d05806100206000396000f3006080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100d45780632e70cbfd146100fb57806348d007c6146101135780635487193c1461018557806359b630d11461019c5780635c622a0e146101b45780636776c6bb146101cc57806372b4763c146101e45780638931828f146102025780638d15438e146102ab578063ae48388d14610313578063b60215931461032b578063d54d535b14610343578063fa2693b3146103d0575b600080fd5b3480156100e057600080fd5b506100e96103ed565b60408051918252519081900360200190f35b34801561010757600080fd5b506100e96004356103f4565b34801561011f57600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101719583359536956044949193909101919081908401838280828437509497506104239650505050505050565b604080519115158252519081900360200190f35b34801561019157600080fd5b5061019a610527565b005b3480156101a857600080fd5b506100e9600435610535565b3480156101c057600080fd5b50610171600435610561565b3480156101d857600080fd5b506100e9600435610590565b3480156101f057600080fd5b506101716004356024356044356105b3565b34801561020e57600080fd5b5061021a6004356106b4565b604051808060200185815260200184815260200183151515158152602001828103825286818151815260200191508051906020019080838360005b8381101561026d578181015183820152602001610255565b50505050905090810190601f16801561029a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156102b757600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100e99436949293602493928401919081908401838280828437509497505084359550505060208301359260400135151591506107909050565b34801561031f57600080fd5b506100e96004356108e4565b34801561033757600080fd5b50610171600435610a84565b34801561034f57600080fd5b5061035b600435610acc565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561039557818101518382015260200161037d565b50505050905090810190601f1680156103c25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103dc57600080fd5b506101716004356024351515610b7f565b6001545b90565b60006103ff82610a84565b151561040a57600080fd5b506000818152602081905260409020600201545b919050565b600061042e83610a84565b151561043957600080fd5b600083815260208181526040909120835161045692850190610bf7565b50600083815260208181526040808320600481015460029091015482518281529283018190526060838501818152885191850191909152875189967f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9694958a959093926080850192918701918190849084905b838110156104e25781810151838201526020016104ca565b50505050905090810190601f16801561050f5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a250600192915050565b61053360016000610c75565b565b600061054082610a84565b151561054b57600080fd5b5060009081526020819052604090206001015490565b600061056c82610a84565b151561057757600080fd5b5060009081526020819052604090206003015460ff1690565b60006001828154811015156105a157fe5b90600052602060002001549050919050565b60006105be84610a84565b15156105c957600080fd5b600084815260208181526040918290206002808201879055600180830187905560048301548551818152958601889052606094860185815284549283161561010002600019019092169290920493850184905288947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9492939288929060808301908590801561069a5780601f1061066f5761010080835404028352916020019161069a565b820191906000526020600020905b81548152906001019060200180831161067d57829003601f168201915b505094505050505060405180910390a25060019392505050565b606060008060006106c485610a84565b15156106cf57600080fd5b600085815260208181526040918290206002808201546001808401546003850154855488516101009482161594909402600019011694909404601f81018790048702830187019097528682529395919460ff909316929091869183018282801561077a5780601f1061074f5761010080835404028352916020019161077a565b820191906000526020600020905b81548152906001019060200180831161075d57829003601f168201915b5050505050935093509350935093509193509193565b60008061079b6103ed565b60008181526020818152604090912088519293506107bd929091890190610bf7565b5060008181526020818152604080832060018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018690556004909101819055815181815291820188905260608284018181528b51918401919091528a5186957f029b14de10d3e6ca536bbb8aae7ea299ced00c37fd6975e22c47d64288f575249593948d948c9491939192608085019291870191908190849084905b8381101561089757818101518382015260200161087f565b50505050905090810190601f1680156108c45780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a2505060015460001901949350505050565b60008060006108f284610a84565b15156108fd57600080fd5b6000848152602081905260409020600401546001805491935090600019810190811061092557fe5b906000526020600020015490508060018381548110151561094257fe5b600091825260208083209091019290925582815290819052604090206004018290556001805490610977906000198301610c96565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a26000818152602081815260409182902060028082015484518781529485018190526060938501848152835460001961010060018316150201169290920493850184905285947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9488949390608083019085908015610a6d5780601f10610a4257610100808354040283529160200191610a6d565b820191906000526020600020905b815481529060010190602001808311610a5057829003601f168201915b505094505050505060405180910390a25092915050565b6001546000901515610a985750600061041e565b600082815260208190526040902060040154600180548492908110610ab957fe5b9060005260206000200154149050919050565b6060610ad782610a84565b1515610ae257600080fd5b6000828152602081815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610b735780601f10610b4857610100808354040283529160200191610b73565b820191906000526020600020905b815481529060010190602001808311610b5657829003601f168201915b50505050509050919050565b6000610b8a83610a84565b1515610b9557600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610c3857805160ff1916838001178555610c65565b82800160010185558215610c65579182015b82811115610c65578251825591602001919060010190610c4a565b50610c71929150610cbf565b5090565b5080546000825590600052602060002090810190610c939190610cbf565b50565b815481835581811115610cba57600083815260209020610cba918101908301610cbf565b505050565b6103f191905b80821115610c715760008155600101610cc55600a165627a7a72305820cbbc41bd2ac778f3856aff03ace4c34d842a85c03a94a11b51e3f9dc54d5bce40029", + "deployedBytecode": "0x6080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631afe0bbc81146100d45780632e70cbfd146100fb57806348d007c6146101135780635487193c1461018557806359b630d11461019c5780635c622a0e146101b45780636776c6bb146101cc57806372b4763c146101e45780638931828f146102025780638d15438e146102ab578063ae48388d14610313578063b60215931461032b578063d54d535b14610343578063fa2693b3146103d0575b600080fd5b3480156100e057600080fd5b506100e96103ed565b60408051918252519081900360200190f35b34801561010757600080fd5b506100e96004356103f4565b34801561011f57600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101719583359536956044949193909101919081908401838280828437509497506104239650505050505050565b604080519115158252519081900360200190f35b34801561019157600080fd5b5061019a610527565b005b3480156101a857600080fd5b506100e9600435610535565b3480156101c057600080fd5b50610171600435610561565b3480156101d857600080fd5b506100e9600435610590565b3480156101f057600080fd5b506101716004356024356044356105b3565b34801561020e57600080fd5b5061021a6004356106b4565b604051808060200185815260200184815260200183151515158152602001828103825286818151815260200191508051906020019080838360005b8381101561026d578181015183820152602001610255565b50505050905090810190601f16801561029a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156102b757600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100e99436949293602493928401919081908401838280828437509497505084359550505060208301359260400135151591506107909050565b34801561031f57600080fd5b506100e96004356108e4565b34801561033757600080fd5b50610171600435610a84565b34801561034f57600080fd5b5061035b600435610acc565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561039557818101518382015260200161037d565b50505050905090810190601f1680156103c25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103dc57600080fd5b506101716004356024351515610b7f565b6001545b90565b60006103ff82610a84565b151561040a57600080fd5b506000818152602081905260409020600201545b919050565b600061042e83610a84565b151561043957600080fd5b600083815260208181526040909120835161045692850190610bf7565b50600083815260208181526040808320600481015460029091015482518281529283018190526060838501818152885191850191909152875189967f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9694958a959093926080850192918701918190849084905b838110156104e25781810151838201526020016104ca565b50505050905090810190601f16801561050f5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a250600192915050565b61053360016000610c75565b565b600061054082610a84565b151561054b57600080fd5b5060009081526020819052604090206001015490565b600061056c82610a84565b151561057757600080fd5b5060009081526020819052604090206003015460ff1690565b60006001828154811015156105a157fe5b90600052602060002001549050919050565b60006105be84610a84565b15156105c957600080fd5b600084815260208181526040918290206002808201879055600180830187905560048301548551818152958601889052606094860185815284549283161561010002600019019092169290920493850184905288947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9492939288929060808301908590801561069a5780601f1061066f5761010080835404028352916020019161069a565b820191906000526020600020905b81548152906001019060200180831161067d57829003601f168201915b505094505050505060405180910390a25060019392505050565b606060008060006106c485610a84565b15156106cf57600080fd5b600085815260208181526040918290206002808201546001808401546003850154855488516101009482161594909402600019011694909404601f81018790048702830187019097528682529395919460ff909316929091869183018282801561077a5780601f1061074f5761010080835404028352916020019161077a565b820191906000526020600020905b81548152906001019060200180831161075d57829003601f168201915b5050505050935093509350935093509193509193565b60008061079b6103ed565b60008181526020818152604090912088519293506107bd929091890190610bf7565b5060008181526020818152604080832060018082018a90556002820189905560038201805460ff191689151517905580548082019091557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018690556004909101819055815181815291820188905260608284018181528b51918401919091528a5186957f029b14de10d3e6ca536bbb8aae7ea299ced00c37fd6975e22c47d64288f575249593948d948c9491939192608085019291870191908190849084905b8381101561089757818101518382015260200161087f565b50505050905090810190601f1680156108c45780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a2505060015460001901949350505050565b60008060006108f284610a84565b15156108fd57600080fd5b6000848152602081905260409020600401546001805491935090600019810190811061092557fe5b906000526020600020015490508060018381548110151561094257fe5b600091825260208083209091019290925582815290819052604090206004018290556001805490610977906000198301610c96565b5060408051838152905185917f06368e3b045c241b21a8e84227a9a0171afcde2f84e8271f7b85f02e7c0074a8919081900360200190a26000818152602081815260409182902060028082015484518781529485018190526060938501848152835460001961010060018316150201169290920493850184905285947f0c1348932d85a8e6cd65504d996eec15538198f7f878b1ed1538b5e2a1af7a8b9488949390608083019085908015610a6d5780601f10610a4257610100808354040283529160200191610a6d565b820191906000526020600020905b815481529060010190602001808311610a5057829003601f168201915b505094505050505060405180910390a25092915050565b6001546000901515610a985750600061041e565b600082815260208190526040902060040154600180548492908110610ab957fe5b9060005260206000200154149050919050565b6060610ad782610a84565b1515610ae257600080fd5b6000828152602081815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610b735780601f10610b4857610100808354040283529160200191610b73565b820191906000526020600020905b815481529060010190602001808311610b5657829003601f168201915b50505050509050919050565b6000610b8a83610a84565b1515610b9557600080fd5b60008381526020818152604091829020600301805460ff19168515151790819055825160ff90911615158152915185927f9b09c9cca318477de66c1408ea6804b392307d6447ccab407becad2fd19a6a6292908290030190a250600192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610c3857805160ff1916838001178555610c65565b82800160010185558215610c65579182015b82811115610c65578251825591602001919060010190610c4a565b50610c71929150610cbf565b5090565b5080546000825590600052602060002090810190610c939190610cbf565b50565b815481835581811115610cba57600083815260209020610cba918101908301610cbf565b505050565b6103f191905b80821115610c715760008155600101610cc55600a165627a7a72305820cbbc41bd2ac778f3856aff03ace4c34d842a85c03a94a11b51e3f9dc54d5bce40029", "sourceMap": "30:5025:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30:5025:0;;;;;;;", "deployedSourceMap": "30:5025:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4792:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4792:116:0;;;;;;;;;;;;;;;;;;;;3020:202;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3020:202:0;;;;;3644:411;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3644:411:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3644:411:0;;-1:-1:-1;3644:411:0;;-1:-1:-1;;;;;;;3644:411:0;;;;;;;;;;;;;;;;;;;1608:72;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1608:72:0;;;;;;3228:202;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3228:202:0;;;;;3436:200;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3436:200:0;;;;;4914:136;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4914:136:0;;;;;4061:435;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4061:435:0;;;;;;;;;2373:409;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2373:409:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2373:409:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;903:699;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;903:699:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;903:699:0;;-1:-1:-1;;903:699:0;;;-1:-1:-1;;;903:699:0;;;;;;;;;;;-1:-1:-1;903:699:0;;-1:-1:-1;903:699:0;1686:681;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1686:681:0;;;;;678:219;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;678:219:0;;;;;2790:224;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2790:224:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2790:224:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4502:282;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4502:282:0;;;;;;;;;4792:116;4882:13;:20;4792:116;;:::o;3020:202::-;3097:13;3124:25;3135:13;3124:10;:25::i;:::-;3123:26;3119:40;;;3151:8;;;3119:40;-1:-1:-1;3176:15:0;:30;;;;;;;;;;:39;;;3020:202;;;;:::o;3644:411::-;3737:12;3763:25;3774:13;3763:10;:25::i;:::-;3762:26;3758:40;;;3790:8;;;3758:40;3807:15;:30;;;;;;;;;;;:58;;;;;;;;:::i;:::-;-1:-1:-1;3925:15:0;:30;;;;;;;;;;;:36;;;;3991:39;;;;;3877:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3903:13;;3877:154;;3925:36;;3970:12;;3877:154;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3877:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4045:4:0;3644:411;;;;:::o;1608:72::-;1654:20;1661:13;;1654:20;:::i;:::-;1608:72::o;3228:202::-;3305:13;3332:25;3343:13;3332:10;:25::i;:::-;3331:26;3327:40;;;3359:8;;;3327:40;-1:-1:-1;3384:15:0;:30;;;;;;;;;;:39;;;;3228:202::o;3436:200::-;3511:13;3538:25;3549:13;3538:10;:25::i;:::-;3537:26;3533:40;;;3565:8;;;3533:40;-1:-1:-1;3590:15:0;:30;;;;;;;;;;:39;;;;;;3436:200::o;4914:136::-;4987:21;5024:13;5038:5;5024:20;;;;;;;;;;;;;;;;;;5017:27;;4914:136;;;:::o;4061:435::-;4154:12;4180:17;4191:5;4180:10;:17::i;:::-;4179:18;4175:32;;;4199:8;;;4175:32;4216:15;:22;;;;;;;;;;;;:31;;;;:42;;;4265:31;;;;:42;;;4359:28;;;;4319:153;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4319:153:0;;;;;;;;;;;;;;4216:22;;4319:153;;4359:28;;4216:22;4265:42;;4319:153;;;;;4216:22;;4319:153;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4486:4:0;4061:435;;;;;:::o;2373:409::-;2450:19;2471:13;2486;2501;2528:25;2539:13;2528:10;:25::i;:::-;2527:26;2523:40;;;2555:8;;;2523:40;2588:15;:30;;;;;;;;;;;;2640:39;;;;;2688;;;;;2736;;;;2572:204;;;;2736:39;2572:204;;;;;;;;-1:-1:-1;;2572:204:0;;;;;;;;;;;;;;;;;;;;;;;;2588:30;;2640:39;;2736;;;;;2572:204;;2588:30;;2572:204;;2588:30;2572:204;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2373:409;;;;;:::o;903:699::-;1038:13;1060:20;1083:18;:16;:18::i;:::-;1108:15;:29;;;;;;;;;;;:60;;1060:41;;-1:-1:-1;1108:60:0;;:29;;:60;;;;:::i;:::-;-1:-1:-1;1175:15:0;:29;;;;;;;;;;;:38;;;;:49;;;1231:38;;;:49;;;1287:38;;;:49;;-1:-1:-1;;1287:49:0;;;;;;;27:10:-1;;23:18;;;45:23;;;1387:32:0;;;;;;1349:35;;;;:74;;;1437:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1175:29;;1437:121;;27:10:-1;;1437:121:0;;1231:49;;1437:121;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1437:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1595:1:0;1572:20;-1:-1:-1;;1572:24:0;;903:699;-1:-1:-1;;;;903:699:0:o;1686:681::-;1760:13;1837:19;1908:17;1787:31;1798:19;1787:10;:31::i;:::-;1786:32;1782:46;;;1820:8;;;1782:46;1859:15;:36;;;;;;;;;;:42;;;1930:13;1944:20;;1859:42;;-1:-1:-1;1930:13:0;-1:-1:-1;;1944:24:0;;;1930:39;;;;;;;;;;;;;;1908:61;;2005:9;1976:13;1990:11;1976:26;;;;;;;;;;;;;;;;;;;;;:38;;;;2021:26;;;;;;;;;;:32;;:46;;;2074:13;:22;;;;;-1:-1:-1;;2074:22:0;;;:::i;:::-;-1:-1:-1;2110:66:0;;;;;;;;2136:19;;2110:66;;;;;;;;;;2252:15;:26;;;;;;;;;;;;2300:35;;;;;2188:148;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2188:148:0;;;;;;;;;;;;;;;;;;2214:9;;2188:148;;2232:11;;2252:26;2188:148;;;;;2252:26;;2188:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2350:11:0;1686:681;-1:-1:-1;;1686:681:0:o;678:219::-;774:13;:20;748:13;;774:25;770:43;;;-1:-1:-1;808:5:0;801:12;;770:43;842:15;:27;;;;;;;;;;:33;;;828:13;:48;;880:10;;842:33;828:48;;;;;;;;;;;;;;:62;820:71;;678:219;;;:::o;2790:224::-;2871:19;2904:25;2915:13;2904:10;:25::i;:::-;2903:26;2899:40;;;2931:8;;;2899:40;2964:15;:30;;;;;;;;;;;;2948:60;;;;;;-1:-1:-1;;2948:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2964:30;;2948:60;;2964:30;2948:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2790:224;;;:::o;4502:282::-;4573:12;4599:17;4610:5;4599:10;:17::i;:::-;4598:18;4594:32;;;4618:8;;;4594:32;4635:15;:22;;;;;;;;;;;;:31;;:40;;-1:-1:-1;;4635:40:0;;;;;;;;;4689:71;;4635:40;4728:31;;;4689:71;;;;;;4635:22;;4689:71;;;;;;;;;-1:-1:-1;4774:4:0;4502:282;;;;:::o;30:5025::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30:5025:0;;;-1:-1:-1;30:5025:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;", "source": "pragma solidity ^ 0.4 .18;\r\n\r\ncontract AuditCriteriaManager {\r\n\r\n struct CriteriaStruct {\r\n string criteriaText;\r\n uint minScore;\r\n uint maxScore;\r\n bool isActive;\r\n uint256 index;\r\n }\r\n\r\n mapping(uint256 => CriteriaStruct) private CriteriaStructs;\r\n uint256[] private CriteriaIndex;\r\n\r\n event LogNewCriteria(uint256 indexed CriteriaIndex, uint index, string CriteriaText, uint maxScore);\r\n event LogUpdateCriteria(uint256 indexed CriteriaIndex, uint index, string CriteriaText, uint maxScore);\r\n event LogDeleteCriteria(uint256 indexed CriteriaIndex, uint index);\r\n event LogCriteriaStatusChange(uint256 indexed CriteriaIndex, bool criteriaStatus);\r\n\r\n function isCriteria(uint indexExist)\r\n public\r\n constant\r\n returns(bool isIndeed) {\r\n if (CriteriaIndex.length == 0) return false;\r\n return (CriteriaIndex[CriteriaStructs[indexExist].index] == indexExist);\r\n }\r\n\r\n function insertCriteria(\r\n string newCriteriaText,\r\n uint minScore,\r\n uint maxScore,\r\n bool isActive)\r\n public\r\n returns(uint256 index) {\r\n uint256 currentIndex = getCriteriaCount();\r\n CriteriaStructs[currentIndex].criteriaText = newCriteriaText;\r\n CriteriaStructs[currentIndex].minScore = minScore;\r\n CriteriaStructs[currentIndex].maxScore = maxScore;\r\n CriteriaStructs[currentIndex].isActive = isActive;\r\n \r\n CriteriaStructs[currentIndex].index = CriteriaIndex.push(currentIndex) - 1;\r\n\r\n emit LogNewCriteria(\r\n currentIndex,\r\n CriteriaStructs[currentIndex].index,\r\n newCriteriaText,\r\n maxScore);\r\n return CriteriaIndex.length - 1;\r\n }\r\n\r\n function deleteAllCriteria() public\r\n {\r\n delete CriteriaIndex;\r\n }\r\n\r\n function deleteCriteria(uint256 deleteCriteriaIndex)\r\n public\r\n returns(uint256 index) {\r\n if (!isCriteria(deleteCriteriaIndex)) revert();\r\n\r\n uint256 rowToDelete = CriteriaStructs[deleteCriteriaIndex].index;\r\n uint256 keyToMove = CriteriaIndex[CriteriaIndex.length - 1];\r\n CriteriaIndex[rowToDelete] = keyToMove;\r\n CriteriaStructs[keyToMove].index = rowToDelete;\r\n CriteriaIndex.length--;\r\n\r\n emit LogDeleteCriteria(\r\n deleteCriteriaIndex,\r\n rowToDelete);\r\n emit LogUpdateCriteria(\r\n keyToMove,\r\n rowToDelete,\r\n CriteriaStructs[keyToMove].criteriaText,\r\n CriteriaStructs[keyToMove].maxScore);\r\n return rowToDelete;\r\n }\r\n\r\n function getCriteria(uint256 criteriaIndex)\r\n public\r\n constant\r\n returns(string criteriaText, uint maxScore, uint minScore, bool isActive) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n return (\r\n CriteriaStructs[criteriaIndex].criteriaText,\r\n CriteriaStructs[criteriaIndex].maxScore,\r\n CriteriaStructs[criteriaIndex].minScore,\r\n CriteriaStructs[criteriaIndex].isActive);\r\n }\r\n\r\n\r\n function getCriteriaText(uint256 criteriaIndex)\r\n public\r\n constant\r\n returns(string criteriaText) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n return (\r\n CriteriaStructs[criteriaIndex].criteriaText);\r\n }\r\n\r\n function getMaxScore(uint256 criteriaIndex)\r\n public\r\n constant\r\n returns(uint maxScore) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n return (CriteriaStructs[criteriaIndex].maxScore);\r\n }\r\n\r\n function getMinScore(uint256 criteriaIndex)\r\n public\r\n constant\r\n returns(uint minScore) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n return (CriteriaStructs[criteriaIndex].minScore);\r\n }\r\n\r\n function getStatus(uint256 criteriaIndex)\r\n public\r\n constant\r\n returns(bool isActive) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n return (CriteriaStructs[criteriaIndex].isActive);\r\n } \r\n\r\n function updateCriteriaText(uint256 criteriaIndex, string criteriaText)\r\n public\r\n returns(bool success) {\r\n if (!isCriteria(criteriaIndex)) revert();\r\n\r\n CriteriaStructs[criteriaIndex].criteriaText = criteriaText;\r\n emit LogUpdateCriteria(\r\n criteriaIndex,\r\n CriteriaStructs[criteriaIndex].index,\r\n criteriaText,\r\n CriteriaStructs[criteriaIndex].maxScore);\r\n return true;\r\n }\r\n\r\n function updateMaxMinScore(uint256 index, uint MaxScore, uint MinScore)\r\n public\r\n returns(bool success) {\r\n if (!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].maxScore = MaxScore;\r\n CriteriaStructs[index].minScore = MinScore;\r\n emit LogUpdateCriteria(\r\n index,\r\n CriteriaStructs[index].index,\r\n CriteriaStructs[index].criteriaText,\r\n CriteriaStructs[index].minScore);\r\n return true;\r\n }\r\n\r\n function changeStatus(uint256 index, bool status)\r\n public\r\n returns(bool success) {\r\n if (!isCriteria(index)) revert();\r\n\r\n CriteriaStructs[index].isActive = status;\r\n\r\n emit LogCriteriaStatusChange(\r\n index, CriteriaStructs[index].isActive);\r\n return true;\r\n }\r\n\r\n\r\n function getCriteriaCount()\r\n public\r\n constant\r\n returns(uint256 count) {\r\n return CriteriaIndex.length;\r\n }\r\n\r\n function getCriteriaAtIndex(uint index)\r\n public\r\n constant\r\n returns(uint256 criteriaIndex) {\r\n return CriteriaIndex[index];\r\n }\r\n\r\n}", - "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\AuditCriteriaManager.sol", + "sourcePath": "C:\\i\\HT\\hellonetmarket\\ethereum\\contracts\\AuditCriteriaManager.sol", "ast": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", "exportedSymbols": { "AuditCriteriaManager": [ 504 @@ -2494,10 +2494,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "1820:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -3406,10 +3406,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "2555:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -3929,10 +3929,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "2931:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -4206,10 +4206,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "3151:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -4483,10 +4483,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "3359:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -4760,10 +4760,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "3565:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -5037,10 +5037,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "3790:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -5565,10 +5565,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "4199:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -6251,10 +6251,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "4618:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -6856,7 +6856,7 @@ "src": "0:5055:0" }, "legacyAST": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/AuditCriteriaManager.sol", "exportedSymbols": { "AuditCriteriaManager": [ 504 @@ -8962,10 +8962,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "1820:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -9874,10 +9874,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "2555:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -10397,10 +10397,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "2931:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -10674,10 +10674,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "3151:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -10951,10 +10951,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "3359:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -11228,10 +11228,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "3565:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -11505,10 +11505,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "3790:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -12033,10 +12033,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "4199:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -12719,10 +12719,10 @@ "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 979, - 980 + 1970, + 1971 ], - "referencedDeclaration": 979, + "referencedDeclaration": 1970, "src": "4618:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$__$returns$__$", @@ -13328,6 +13328,12 @@ "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": { + "5777": { + "events": {}, + "links": {}, + "address": "0x8f0483125fcb9aaaefa9209d8e9d7b9c8b9fb90f", + "transactionHash": "0xc1a6b62e6b3ad100afdf99d0782ce8bfeecf445fbea5d8f8abb7f97efe8b00ee" + }, "1538849010791": { "events": {}, "links": {}, @@ -13348,5 +13354,5 @@ } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-13T10:09:33.016Z" + "updatedAt": "2018-10-18T13:43:19.601Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/Company.json b/ethereum/build/contracts/Company.json index a32d2d8..6a37554 100644 --- a/ethereum/build/contracts/Company.json +++ b/ethereum/build/contracts/Company.json @@ -224,24 +224,24 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b506112cb806100206000396000f3006080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166319df220d81146100b35780632accc6bd146100da578063413e2523146102a557806351eef9d6146102c657806361293545146102db57806383936f8c1461030f5780638fd2f1a614610330578063beee39c614610395578063c5722598146104b6578063c99901b01461054c578063fe67910014610581575b600080fd5b3480156100bf57600080fd5b506100c8610599565b60408051918252519081900360200190f35b3480156100e657600080fd5b506100fb600160a060020a0360043516610669565b6040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b8381101561014457818101518382015260200161012c565b50505050905090810190601f1680156101715780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b838110156101a457818101518382015260200161018c565b50505050905090810190601f1680156101d15780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156102045781810151838201526020016101ec565b50505050905090810190601f1680156102315780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b8381101561026457818101518382015260200161024c565b50505050905090810190601f1680156102915780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b3480156102b157600080fd5b506100c8600160a060020a0360043516610988565b3480156102d257600080fd5b506100c8610afe565b3480156102e757600080fd5b506102f3600435610b05565b60408051600160a060020a039092168252519081900360200190f35b34801561031b57600080fd5b506100c8600160a060020a0360043516610b20565b34801561033c57600080fd5b50610345610bdc565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610381578181015183820152602001610369565b505050509050019250505060405180910390f35b3480156103a157600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526100c8958335600160a060020a031695369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a999881019791965091820194509250829150840183828082843750949750610c3e9650505050505050565b3480156104c257600080fd5b506104d7600160a060020a0360043516610fc4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156105115781810151838201526020016104f9565b50505050905090810190601f16801561053e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561055857600080fd5b5061056d600160a060020a036004351661111c565b604080519115158252519081900360200190f35b34801561058d57600080fd5b506102f3600435611131565b600080805b60035482101561064e57506000818152602081815260408083208054600160a060020a031680855260048452828520805460ff191690556002845291842084905584845291839052815473ffffffffffffffffffffffffffffffffffffffff191682559161060f6001830182611159565b61061d600283016000611159565b61062b600383016000611159565b610639600483016000611159565b5060006005919091015560019091019061059e565b61065a600360006111a0565b610662610afe565b9250505090565b600160a060020a03811660009081526004602052604081205460609182918291829160ff1615156001146107125760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a0385166000908152600260208181526040808420548085528483529381902060018082018054845192811615610100026000190116869004601f810186900486028301860190945283825294820193600383019360049093019286918301828280156107c75780601f1061079c576101008083540402835291602001916107c7565b820191906000526020600020905b8154815290600101906020018083116107aa57829003601f168201915b5050865460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959950889450925084019050828280156108555780601f1061082a57610100808354040283529160200191610855565b820191906000526020600020905b81548152906001019060200180831161083857829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156108e35780601f106108b8576101008083540402835291602001916108e3565b820191906000526020600020905b8154815290600101906020018083116108c657829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959750869450925084019050828280156109715780601f1061094657610100808354040283529160200191610971565b820191906000526020600020905b81548152906001019060200180831161095457829003601f168201915b505050505090509450945094509450509193509193565b600160a060020a038116600090815260046020526040812054819060ff161515600114610a2a5760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a0382166000908152600260209081526040808320805460048452828520805460ff1916905590849055808452918390528220805473ffffffffffffffffffffffffffffffffffffffff191681559091610a8e6001830182611159565b610a9c600283016000611159565b610aaa600383016000611159565b610ab8600483016000611159565b506000600591909101556003805482908110610ad057fe5b60009182526020822001556003805490610aee9060001983016111be565b50610af7610afe565b9392505050565b6003545b90565b600090815260208190526040902054600160a060020a031690565b600160a060020a03811660009081526004602052604081205460ff161515600114610bc05760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a031660009081526002602052604090205490565b60606001805480602002602001604051908101604052809291908181526020018280548015610c3457602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610c16575b5050505050905090565b600160a060020a038516600090815260046020526040812054819060ff1615610cb65760408051600080516020611280833981519152815260206004820152601560248201527f4167656e7420616c726561647920657869737420210000000000000000000000604482015290519081900360640190fd5b855160051115610d155760408051600080516020611280833981519152815260206004820152601760248201527f496e76616c696420456d61696c20616464726573732021000000000000000000604482015290519081900360640190fd5b845160031115610d9a5760408051600080516020611280833981519152815260206004820152602b60248201527f4669727374206e616d652073686f756c6420636f6e7461696e206d696e696d7560448201527f6d2033206c657474657273000000000000000000000000000000000000000000606482015290519081900360840190fd5b835160031115610e1f5760408051600080516020611280833981519152815260206004820152602a60248201527f4c617374206e616d652073686f756c6420636f6e7461696e206d696e696d756d60448201527f2033206c65747465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b825160031115610e7e5760408051600080516020611280833981519152815260206004820152601360248201527f54696d657a6f6e6520697320496e76616c696400000000000000000000000000604482015290519081900360640190fd5b610e86610afe565b600160a060020a0388166000818152600460209081526040808320805460ff191660019081179091558584528383529220805473ffffffffffffffffffffffffffffffffffffffff191690931783558951939450610eec939290910191908901906111e7565b506000818152602081815260409091208651610f10926002909201918801906111e7565b506000818152602081815260409091208551610f34926003909201918701906111e7565b506000818152602081815260409091208451610f58926004909201918601906111e7565b50600380546001810182557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810183905560008381526020818152604080832060050193909355600160a060020a038b1682526002905220829055546000190191505095945050505050565b600160a060020a0381166000908152600460205260408120546060919060ff1615156001146110685760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a038216600090815260026020818152604080842054808552848352938190206001908101805483519281161561010002600019011694909404601f8101849004840282018401909252818152929183018282801561110f5780601f106110e45761010080835404028352916020019161110f565b820191906000526020600020905b8154815290600101906020018083116110f257829003601f168201915b5050505050915050919050565b60046020526000908152604090205460ff1681565b600180548290811061113f57fe5b600091825260209091200154600160a060020a0316905081565b50805460018160011615610100020316600290046000825580601f1061117f575061119d565b601f01602090049060005260206000209081019061119d9190611265565b50565b508054600082559060005260206000209081019061119d9190611265565b8154818355818111156111e2576000838152602090206111e2918101908301611265565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061122857805160ff1916838001178555611255565b82800160010185558215611255579182015b8281111561125557825182559160200191906001019061123a565b50611261929150611265565b5090565b610b0291905b80821115611261576000815560010161126b560008c379a000000000000000000000000000000000000000000000000000000000a165627a7a72305820794b49a8c5ce6b98886dbf13cea5b908b3e1a280a7a63f3f44726bfa7105c2c40029", - "deployedBytecode": "0x6080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166319df220d81146100b35780632accc6bd146100da578063413e2523146102a557806351eef9d6146102c657806361293545146102db57806383936f8c1461030f5780638fd2f1a614610330578063beee39c614610395578063c5722598146104b6578063c99901b01461054c578063fe67910014610581575b600080fd5b3480156100bf57600080fd5b506100c8610599565b60408051918252519081900360200190f35b3480156100e657600080fd5b506100fb600160a060020a0360043516610669565b6040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b8381101561014457818101518382015260200161012c565b50505050905090810190601f1680156101715780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b838110156101a457818101518382015260200161018c565b50505050905090810190601f1680156101d15780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156102045781810151838201526020016101ec565b50505050905090810190601f1680156102315780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b8381101561026457818101518382015260200161024c565b50505050905090810190601f1680156102915780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b3480156102b157600080fd5b506100c8600160a060020a0360043516610988565b3480156102d257600080fd5b506100c8610afe565b3480156102e757600080fd5b506102f3600435610b05565b60408051600160a060020a039092168252519081900360200190f35b34801561031b57600080fd5b506100c8600160a060020a0360043516610b20565b34801561033c57600080fd5b50610345610bdc565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610381578181015183820152602001610369565b505050509050019250505060405180910390f35b3480156103a157600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526100c8958335600160a060020a031695369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a999881019791965091820194509250829150840183828082843750949750610c3e9650505050505050565b3480156104c257600080fd5b506104d7600160a060020a0360043516610fc4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156105115781810151838201526020016104f9565b50505050905090810190601f16801561053e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561055857600080fd5b5061056d600160a060020a036004351661111c565b604080519115158252519081900360200190f35b34801561058d57600080fd5b506102f3600435611131565b600080805b60035482101561064e57506000818152602081815260408083208054600160a060020a031680855260048452828520805460ff191690556002845291842084905584845291839052815473ffffffffffffffffffffffffffffffffffffffff191682559161060f6001830182611159565b61061d600283016000611159565b61062b600383016000611159565b610639600483016000611159565b5060006005919091015560019091019061059e565b61065a600360006111a0565b610662610afe565b9250505090565b600160a060020a03811660009081526004602052604081205460609182918291829160ff1615156001146107125760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a0385166000908152600260208181526040808420548085528483529381902060018082018054845192811615610100026000190116869004601f810186900486028301860190945283825294820193600383019360049093019286918301828280156107c75780601f1061079c576101008083540402835291602001916107c7565b820191906000526020600020905b8154815290600101906020018083116107aa57829003601f168201915b5050865460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959950889450925084019050828280156108555780601f1061082a57610100808354040283529160200191610855565b820191906000526020600020905b81548152906001019060200180831161083857829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156108e35780601f106108b8576101008083540402835291602001916108e3565b820191906000526020600020905b8154815290600101906020018083116108c657829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959750869450925084019050828280156109715780601f1061094657610100808354040283529160200191610971565b820191906000526020600020905b81548152906001019060200180831161095457829003601f168201915b505050505090509450945094509450509193509193565b600160a060020a038116600090815260046020526040812054819060ff161515600114610a2a5760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a0382166000908152600260209081526040808320805460048452828520805460ff1916905590849055808452918390528220805473ffffffffffffffffffffffffffffffffffffffff191681559091610a8e6001830182611159565b610a9c600283016000611159565b610aaa600383016000611159565b610ab8600483016000611159565b506000600591909101556003805482908110610ad057fe5b60009182526020822001556003805490610aee9060001983016111be565b50610af7610afe565b9392505050565b6003545b90565b600090815260208190526040902054600160a060020a031690565b600160a060020a03811660009081526004602052604081205460ff161515600114610bc05760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a031660009081526002602052604090205490565b60606001805480602002602001604051908101604052809291908181526020018280548015610c3457602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610c16575b5050505050905090565b600160a060020a038516600090815260046020526040812054819060ff1615610cb65760408051600080516020611280833981519152815260206004820152601560248201527f4167656e7420616c726561647920657869737420210000000000000000000000604482015290519081900360640190fd5b855160051115610d155760408051600080516020611280833981519152815260206004820152601760248201527f496e76616c696420456d61696c20616464726573732021000000000000000000604482015290519081900360640190fd5b845160031115610d9a5760408051600080516020611280833981519152815260206004820152602b60248201527f4669727374206e616d652073686f756c6420636f6e7461696e206d696e696d7560448201527f6d2033206c657474657273000000000000000000000000000000000000000000606482015290519081900360840190fd5b835160031115610e1f5760408051600080516020611280833981519152815260206004820152602a60248201527f4c617374206e616d652073686f756c6420636f6e7461696e206d696e696d756d60448201527f2033206c65747465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b825160031115610e7e5760408051600080516020611280833981519152815260206004820152601360248201527f54696d657a6f6e6520697320496e76616c696400000000000000000000000000604482015290519081900360640190fd5b610e86610afe565b600160a060020a0388166000818152600460209081526040808320805460ff191660019081179091558584528383529220805473ffffffffffffffffffffffffffffffffffffffff191690931783558951939450610eec939290910191908901906111e7565b506000818152602081815260409091208651610f10926002909201918801906111e7565b506000818152602081815260409091208551610f34926003909201918701906111e7565b506000818152602081815260409091208451610f58926004909201918601906111e7565b50600380546001810182557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810183905560008381526020818152604080832060050193909355600160a060020a038b1682526002905220829055546000190191505095945050505050565b600160a060020a0381166000908152600460205260408120546060919060ff1615156001146110685760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a038216600090815260026020818152604080842054808552848352938190206001908101805483519281161561010002600019011694909404601f8101849004840282018401909252818152929183018282801561110f5780601f106110e45761010080835404028352916020019161110f565b820191906000526020600020905b8154815290600101906020018083116110f257829003601f168201915b5050505050915050919050565b60046020526000908152604090205460ff1681565b600180548290811061113f57fe5b600091825260209091200154600160a060020a0316905081565b50805460018160011615610100020316600290046000825580601f1061117f575061119d565b601f01602090049060005260206000209081019061119d9190611265565b50565b508054600082559060005260206000209081019061119d9190611265565b8154818355818111156111e2576000838152602090206111e2918101908301611265565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061122857805160ff1916838001178555611255565b82800160010185558215611255579182015b8281111561125557825182559160200191906001019061123a565b50611261929150611265565b5090565b610b0291905b80821115611261576000815560010161126b560008c379a000000000000000000000000000000000000000000000000000000000a165627a7a72305820794b49a8c5ce6b98886dbf13cea5b908b3e1a280a7a63f3f44726bfa7105c2c40029", - "sourceMap": "30:5731:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30:5731:0;;;;;;;", - "deployedSourceMap": "30:5731:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3720:430;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3720:430:0;;;;;;;;;;;;;;;;;;;;5104:526;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5104:526:0;-1:-1:-1;;;;;5104:526:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5104:526:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5104:526:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5104:526:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5104:526:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5104:526:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5104:526:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5104:526:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3124:588;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3124:588:0;-1:-1:-1;;;;;3124:588:0;;;;;5650:102;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5650:102:0;;;;4280:139;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4280:139:0;;;;;;;;;-1:-1:-1;;;;;4280:139:0;;;;;;;;;;;;;;4427:290;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4427:290:0;-1:-1:-1;;;;;4427:290:0;;;;;4164:108;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4164:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4164:108:0;;;;;;;;;;;;;;;;;1068:2048;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1068:2048:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1068:2048:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1068:2048:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1068:2048:0;;;;-1:-1:-1;1068:2048:0;-1:-1:-1;1068:2048:0;;-1:-1:-1;1068:2048:0;;;;;;;;-1:-1:-1;;1068:2048:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1068:2048:0;;;;-1:-1:-1;1068:2048:0;-1:-1:-1;1068:2048:0;;-1:-1:-1;1068:2048:0;;;;;;;;-1:-1:-1;;1068:2048:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1068:2048:0;;;;-1:-1:-1;1068:2048:0;-1:-1:-1;1068:2048:0;;-1:-1:-1;1068:2048:0;;;;;;;;-1:-1:-1;1068:2048:0;;-1:-1:-1;1068:2048:0;;-1:-1:-1;;;;;;;1068:2048:0;4731:356;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4731:356:0;-1:-1:-1;;;;;4731:356:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4731:356:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;457:46;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;457:46:0;-1:-1:-1;;;;;457:46:0;;;;;;;;;;;;;;;;;;;;;;;300:36;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;300:36:0;;;;;3720:430;3768:4;;;3787:282;3806:10;:17;3802:21;;3787:282;;;-1:-1:-1;3875:13:0;:16;;;;;;;;;;;:29;;-1:-1:-1;;;;;3875:29:0;3938:28;;;:14;:28;;;;;3931:35;;-1:-1:-1;;3931:35:0;;;3985:12;:26;;;;;3978:33;;;4030:16;;;;;;;4023:23;;-1:-1:-1;;4023:23:0;;;3875:29;4023:23;3875:29;4023:23;;3875:13;4023:23;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;-1:-1:-1;4023:23:0;;;;;;;3825:3;;;;;3787:282;;;4079:17;4086:10;;4079:17;:::i;:::-;4122:20;:18;:20::i;:::-;4115:27;;3720:430;;;:::o;5104:526::-;-1:-1:-1;;;;;5248:24:0;;5394:13;5248:24;;;:14;:24;;;;;;5177:6;;;;;;;;5248:24;;:32;;:24;:32;5226:133;;;;;-1:-1:-1;;;;;;;;;;;5226:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5410:22:0;;;;;;:12;:22;;;;;;;;;5479:20;;;;;;;;;;:26;;;;5461:161;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;5479:26;5517;;;5555;;;;5592:29;;;;;5479:26;;5461:161;;5479:26;5461:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5461:161:0;;-1:-1:-1;5461:161:0;-1:-1:-1;5461:161:0;;;-1:-1:-1;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5461:161:0;;-1:-1:-1;5461:161:0;-1:-1:-1;5461:161:0;;;-1:-1:-1;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;-1:-1:-1;;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5461:161:0;;-1:-1:-1;5461:161:0;-1:-1:-1;5461:161:0;;;-1:-1:-1;5461:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5104:526;;;;;;:::o;3124:588::-;-1:-1:-1;;;;;3237:24:0;;3188:4;3237:24;;;:14;:24;;;;;;3188:4;;3237:24;;:32;;:24;:32;3215:133;;;;;-1:-1:-1;;;;;;;;;;;3215:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3400:22:0;;;;;;:12;:22;;;;;;;;;;3463:14;:24;;;;;3456:31;;-1:-1:-1;;3456:31:0;;;3499:29;;;;3558:20;;;;;;;;;3551:27;;-1:-1:-1;;3551:27:0;;;3400:22;;3551:27;3456:31;3551:27;;3400:22;3551:27;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;-1:-1:-1;3551:27:0;;;;;;;3597:10;:17;;3608:5;;3597:17;;;;;;;;;;;;;;3590:24;3637:10;:19;;;;;-1:-1:-1;;3637:19:0;;;:::i;:::-;;3684:20;:18;:20::i;:::-;3677:27;3124:588;-1:-1:-1;;;3124:588:0:o;5650:102::-;5727:10;:17;5650:102;;:::o;4280:139::-;4349:7;4377:20;;;;;;;;;;:33;-1:-1:-1;;;;;4377:33:0;;4280:139::o;4427:290::-;-1:-1:-1;;;;;4542:24:0;;4501:4;4542:24;;;:14;:24;;;;;;;;:32;;:24;:32;4520:133;;;;;-1:-1:-1;;;;;;;;;;;4520:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4685:22:0;;;;;:12;:22;;;;;;;4427:290::o;4164:108::-;4216:9;4245:19;4238:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4238:26:0;;;;;;;;;;;;;;;;;;;;;;;4164:108;:::o;1068:2048::-;-1:-1:-1;;;;;1788:24:0;;1202:13;1788:24;;;:14;:24;;;;;;1202:13;;1788:24;;:33;1766:108;;;;;-1:-1:-1;;;;;;;;;;;1766:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1940:20;;1963:1;-1:-1:-1;1939:33:0;1917:110;;;;;-1:-1:-1;;;;;;;;;;;1917:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2067:20;;2090:1;-1:-1:-1;2066:33:0;2044:130;;;;;-1:-1:-1;;;;;;;;;;;2044:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2226:20;;2249:1;-1:-1:-1;2225:33:0;2203:129;;;;;-1:-1:-1;;;;;;;;;;;2203:129:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2396:23;;2422:1;-1:-1:-1;2395:36:0;2373:109;;;;;-1:-1:-1;;;;;;;;;;;2373:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2536:20;:18;:20::i;:::-;-1:-1:-1;;;;;2567:24:0;;;;;;:14;:24;;;;;;;;:31;;-1:-1:-1;;2567:31:0;2594:4;2567:31;;;;;;2619:27;;;;;;;;:51;;-1:-1:-1;;2619:51:0;;;;;;2681:49;;2513:43;;-1:-1:-1;2681:49:0;;:33;;;;;:49;;;;;:::i;:::-;-1:-1:-1;2741:13:0;:27;;;;;;;;;;;:49;;;;:33;;;;;:49;;;;:::i;:::-;-1:-1:-1;2801:13:0;:27;;;;;;;;;;;:49;;;;:33;;;;;:49;;;;:::i;:::-;-1:-1:-1;2869:13:0;:27;;;;;;;;;;;:52;;;;:36;;;;;:52;;;;:::i;:::-;-1:-1:-1;2970:10:0;27::-1;;3002:1:0;23:18:-1;;45:23;;2970:29:0;;;;;;-1:-1:-1;2934:27:0;;;2970:29;2934:27;;;;;;;:33;;:69;;;;-1:-1:-1;;;;;3024:22:0;;;;:12;:22;;;:37;;;3089:17;-1:-1:-1;;3089:19:0;;-1:-1:-1;1068:2048:0;;;;;;;;:::o;4731:356::-;-1:-1:-1;;;;;4839:24:0;;4981:13;4839:24;;;:14;:24;;;;;;4792:6;;4981:13;4839:24;;:32;;:24;:32;4817:133;;;;;-1:-1:-1;;;;;;;;;;;4817:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4997:22:0;;;;;;:12;:22;;;;;;;;;5052:20;;;;;;;;;;:26;;;;5044:35;;;;;;;;;;-1:-1:-1;;5044:35:0;;;;;;;;;;;;;;;;;;;;;;;;;5052:26;5044:35;;5052:26;5044:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4731:356;;;;:::o;457:46::-;;;;;;;;;;;;;;;:::o;300:36::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;300:36:0;;-1:-1:-1;300:36:0;:::o;30:5731::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30:5731:0;;;-1:-1:-1;30:5731:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;", + "bytecode": "0x608060405234801561001057600080fd5b506112cb806100206000396000f3006080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166319df220d81146100b35780632accc6bd146100da578063413e2523146102a557806351eef9d6146102c657806361293545146102db57806383936f8c1461030f5780638fd2f1a614610330578063beee39c614610395578063c5722598146104b6578063c99901b01461054c578063fe67910014610581575b600080fd5b3480156100bf57600080fd5b506100c8610599565b60408051918252519081900360200190f35b3480156100e657600080fd5b506100fb600160a060020a0360043516610669565b6040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b8381101561014457818101518382015260200161012c565b50505050905090810190601f1680156101715780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b838110156101a457818101518382015260200161018c565b50505050905090810190601f1680156101d15780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156102045781810151838201526020016101ec565b50505050905090810190601f1680156102315780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b8381101561026457818101518382015260200161024c565b50505050905090810190601f1680156102915780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b3480156102b157600080fd5b506100c8600160a060020a0360043516610988565b3480156102d257600080fd5b506100c8610afe565b3480156102e757600080fd5b506102f3600435610b05565b60408051600160a060020a039092168252519081900360200190f35b34801561031b57600080fd5b506100c8600160a060020a0360043516610b20565b34801561033c57600080fd5b50610345610bdc565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610381578181015183820152602001610369565b505050509050019250505060405180910390f35b3480156103a157600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526100c8958335600160a060020a031695369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a999881019791965091820194509250829150840183828082843750949750610c3e9650505050505050565b3480156104c257600080fd5b506104d7600160a060020a0360043516610fc4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156105115781810151838201526020016104f9565b50505050905090810190601f16801561053e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561055857600080fd5b5061056d600160a060020a036004351661111c565b604080519115158252519081900360200190f35b34801561058d57600080fd5b506102f3600435611131565b600080805b60035482101561064e57506000818152602081815260408083208054600160a060020a031680855260048452828520805460ff191690556002845291842084905584845291839052815473ffffffffffffffffffffffffffffffffffffffff191682559161060f6001830182611159565b61061d600283016000611159565b61062b600383016000611159565b610639600483016000611159565b5060006005919091015560019091019061059e565b61065a600360006111a0565b610662610afe565b9250505090565b600160a060020a03811660009081526004602052604081205460609182918291829160ff1615156001146107125760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a0385166000908152600260208181526040808420548085528483529381902060018082018054845192811615610100026000190116869004601f810186900486028301860190945283825294820193600383019360049093019286918301828280156107c75780601f1061079c576101008083540402835291602001916107c7565b820191906000526020600020905b8154815290600101906020018083116107aa57829003601f168201915b5050865460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959950889450925084019050828280156108555780601f1061082a57610100808354040283529160200191610855565b820191906000526020600020905b81548152906001019060200180831161083857829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156108e35780601f106108b8576101008083540402835291602001916108e3565b820191906000526020600020905b8154815290600101906020018083116108c657829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959750869450925084019050828280156109715780601f1061094657610100808354040283529160200191610971565b820191906000526020600020905b81548152906001019060200180831161095457829003601f168201915b505050505090509450945094509450509193509193565b600160a060020a038116600090815260046020526040812054819060ff161515600114610a2a5760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a0382166000908152600260209081526040808320805460048452828520805460ff1916905590849055808452918390528220805473ffffffffffffffffffffffffffffffffffffffff191681559091610a8e6001830182611159565b610a9c600283016000611159565b610aaa600383016000611159565b610ab8600483016000611159565b506000600591909101556003805482908110610ad057fe5b60009182526020822001556003805490610aee9060001983016111be565b50610af7610afe565b9392505050565b6003545b90565b600090815260208190526040902054600160a060020a031690565b600160a060020a03811660009081526004602052604081205460ff161515600114610bc05760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a031660009081526002602052604090205490565b60606001805480602002602001604051908101604052809291908181526020018280548015610c3457602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610c16575b5050505050905090565b600160a060020a038516600090815260046020526040812054819060ff1615610cb65760408051600080516020611280833981519152815260206004820152601560248201527f4167656e7420616c726561647920657869737420210000000000000000000000604482015290519081900360640190fd5b855160051115610d155760408051600080516020611280833981519152815260206004820152601760248201527f496e76616c696420456d61696c20616464726573732021000000000000000000604482015290519081900360640190fd5b845160031115610d9a5760408051600080516020611280833981519152815260206004820152602b60248201527f4669727374206e616d652073686f756c6420636f6e7461696e206d696e696d7560448201527f6d2033206c657474657273000000000000000000000000000000000000000000606482015290519081900360840190fd5b835160031115610e1f5760408051600080516020611280833981519152815260206004820152602a60248201527f4c617374206e616d652073686f756c6420636f6e7461696e206d696e696d756d60448201527f2033206c65747465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b825160031115610e7e5760408051600080516020611280833981519152815260206004820152601360248201527f54696d657a6f6e6520697320496e76616c696400000000000000000000000000604482015290519081900360640190fd5b610e86610afe565b600160a060020a0388166000818152600460209081526040808320805460ff191660019081179091558584528383529220805473ffffffffffffffffffffffffffffffffffffffff191690931783558951939450610eec939290910191908901906111e7565b506000818152602081815260409091208651610f10926002909201918801906111e7565b506000818152602081815260409091208551610f34926003909201918701906111e7565b506000818152602081815260409091208451610f58926004909201918601906111e7565b50600380546001810182557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810183905560008381526020818152604080832060050193909355600160a060020a038b1682526002905220829055546000190191505095945050505050565b600160a060020a0381166000908152600460205260408120546060919060ff1615156001146110685760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a038216600090815260026020818152604080842054808552848352938190206001908101805483519281161561010002600019011694909404601f8101849004840282018401909252818152929183018282801561110f5780601f106110e45761010080835404028352916020019161110f565b820191906000526020600020905b8154815290600101906020018083116110f257829003601f168201915b5050505050915050919050565b60046020526000908152604090205460ff1681565b600180548290811061113f57fe5b600091825260209091200154600160a060020a0316905081565b50805460018160011615610100020316600290046000825580601f1061117f575061119d565b601f01602090049060005260206000209081019061119d9190611265565b50565b508054600082559060005260206000209081019061119d9190611265565b8154818355818111156111e2576000838152602090206111e2918101908301611265565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061122857805160ff1916838001178555611255565b82800160010185558215611255579182015b8281111561125557825182559160200191906001019061123a565b50611261929150611265565b5090565b610b0291905b80821115611261576000815560010161126b560008c379a000000000000000000000000000000000000000000000000000000000a165627a7a7230582046550a56855dc7c6cced73c063d57c9a46716ecd08889b658860cf792c8c15f50029", + "deployedBytecode": "0x6080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166319df220d81146100b35780632accc6bd146100da578063413e2523146102a557806351eef9d6146102c657806361293545146102db57806383936f8c1461030f5780638fd2f1a614610330578063beee39c614610395578063c5722598146104b6578063c99901b01461054c578063fe67910014610581575b600080fd5b3480156100bf57600080fd5b506100c8610599565b60408051918252519081900360200190f35b3480156100e657600080fd5b506100fb600160a060020a0360043516610669565b6040518080602001806020018060200180602001858103855289818151815260200191508051906020019080838360005b8381101561014457818101518382015260200161012c565b50505050905090810190601f1680156101715780820380516001836020036101000a031916815260200191505b5085810384528851815288516020918201918a019080838360005b838110156101a457818101518382015260200161018c565b50505050905090810190601f1680156101d15780820380516001836020036101000a031916815260200191505b50858103835287518152875160209182019189019080838360005b838110156102045781810151838201526020016101ec565b50505050905090810190601f1680156102315780820380516001836020036101000a031916815260200191505b50858103825286518152865160209182019188019080838360005b8381101561026457818101518382015260200161024c565b50505050905090810190601f1680156102915780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b3480156102b157600080fd5b506100c8600160a060020a0360043516610988565b3480156102d257600080fd5b506100c8610afe565b3480156102e757600080fd5b506102f3600435610b05565b60408051600160a060020a039092168252519081900360200190f35b34801561031b57600080fd5b506100c8600160a060020a0360043516610b20565b34801561033c57600080fd5b50610345610bdc565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610381578181015183820152602001610369565b505050509050019250505060405180910390f35b3480156103a157600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526100c8958335600160a060020a031695369560449491939091019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a999881019791965091820194509250829150840183828082843750949750610c3e9650505050505050565b3480156104c257600080fd5b506104d7600160a060020a0360043516610fc4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156105115781810151838201526020016104f9565b50505050905090810190601f16801561053e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561055857600080fd5b5061056d600160a060020a036004351661111c565b604080519115158252519081900360200190f35b34801561058d57600080fd5b506102f3600435611131565b600080805b60035482101561064e57506000818152602081815260408083208054600160a060020a031680855260048452828520805460ff191690556002845291842084905584845291839052815473ffffffffffffffffffffffffffffffffffffffff191682559161060f6001830182611159565b61061d600283016000611159565b61062b600383016000611159565b610639600483016000611159565b5060006005919091015560019091019061059e565b61065a600360006111a0565b610662610afe565b9250505090565b600160a060020a03811660009081526004602052604081205460609182918291829160ff1615156001146107125760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a0385166000908152600260208181526040808420548085528483529381902060018082018054845192811615610100026000190116869004601f810186900486028301860190945283825294820193600383019360049093019286918301828280156107c75780601f1061079c576101008083540402835291602001916107c7565b820191906000526020600020905b8154815290600101906020018083116107aa57829003601f168201915b5050865460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959950889450925084019050828280156108555780601f1061082a57610100808354040283529160200191610855565b820191906000526020600020905b81548152906001019060200180831161083857829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156108e35780601f106108b8576101008083540402835291602001916108e3565b820191906000526020600020905b8154815290600101906020018083116108c657829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959750869450925084019050828280156109715780601f1061094657610100808354040283529160200191610971565b820191906000526020600020905b81548152906001019060200180831161095457829003601f168201915b505050505090509450945094509450509193509193565b600160a060020a038116600090815260046020526040812054819060ff161515600114610a2a5760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a0382166000908152600260209081526040808320805460048452828520805460ff1916905590849055808452918390528220805473ffffffffffffffffffffffffffffffffffffffff191681559091610a8e6001830182611159565b610a9c600283016000611159565b610aaa600383016000611159565b610ab8600483016000611159565b506000600591909101556003805482908110610ad057fe5b60009182526020822001556003805490610aee9060001983016111be565b50610af7610afe565b9392505050565b6003545b90565b600090815260208190526040902054600160a060020a031690565b600160a060020a03811660009081526004602052604081205460ff161515600114610bc05760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a031660009081526002602052604090205490565b60606001805480602002602001604051908101604052809291908181526020018280548015610c3457602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610c16575b5050505050905090565b600160a060020a038516600090815260046020526040812054819060ff1615610cb65760408051600080516020611280833981519152815260206004820152601560248201527f4167656e7420616c726561647920657869737420210000000000000000000000604482015290519081900360640190fd5b855160051115610d155760408051600080516020611280833981519152815260206004820152601760248201527f496e76616c696420456d61696c20616464726573732021000000000000000000604482015290519081900360640190fd5b845160031115610d9a5760408051600080516020611280833981519152815260206004820152602b60248201527f4669727374206e616d652073686f756c6420636f6e7461696e206d696e696d7560448201527f6d2033206c657474657273000000000000000000000000000000000000000000606482015290519081900360840190fd5b835160031115610e1f5760408051600080516020611280833981519152815260206004820152602a60248201527f4c617374206e616d652073686f756c6420636f6e7461696e206d696e696d756d60448201527f2033206c65747465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b825160031115610e7e5760408051600080516020611280833981519152815260206004820152601360248201527f54696d657a6f6e6520697320496e76616c696400000000000000000000000000604482015290519081900360640190fd5b610e86610afe565b600160a060020a0388166000818152600460209081526040808320805460ff191660019081179091558584528383529220805473ffffffffffffffffffffffffffffffffffffffff191690931783558951939450610eec939290910191908901906111e7565b506000818152602081815260409091208651610f10926002909201918801906111e7565b506000818152602081815260409091208551610f34926003909201918701906111e7565b506000818152602081815260409091208451610f58926004909201918601906111e7565b50600380546001810182557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b810183905560008381526020818152604080832060050193909355600160a060020a038b1682526002905220829055546000190191505095945050505050565b600160a060020a0381166000908152600460205260408120546060919060ff1615156001146110685760408051600080516020611280833981519152815260206004820152602f60248201527f5468657265206973206e6f2073756368206167656e742077697468207468652060448201527f676976656e206164647265737320210000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a038216600090815260026020818152604080842054808552848352938190206001908101805483519281161561010002600019011694909404601f8101849004840282018401909252818152929183018282801561110f5780601f106110e45761010080835404028352916020019161110f565b820191906000526020600020905b8154815290600101906020018083116110f257829003601f168201915b5050505050915050919050565b60046020526000908152604090205460ff1681565b600180548290811061113f57fe5b600091825260209091200154600160a060020a0316905081565b50805460018160011615610100020316600290046000825580601f1061117f575061119d565b601f01602090049060005260206000209081019061119d9190611265565b50565b508054600082559060005260206000209081019061119d9190611265565b8154818355818111156111e2576000838152602090206111e2918101908301611265565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061122857805160ff1916838001178555611255565b82800160010185558215611255579182015b8281111561125557825182559160200191906001019061123a565b50611261929150611265565b5090565b610b0291905b80821115611261576000815560010161126b560008c379a000000000000000000000000000000000000000000000000000000000a165627a7a7230582046550a56855dc7c6cced73c063d57c9a46716ecd08889b658860cf792c8c15f50029", + "sourceMap": "30:5731:1:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30:5731:1;;;;;;;", + "deployedSourceMap": "30:5731:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3720:430;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3720:430:1;;;;;;;;;;;;;;;;;;;;5104:526;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5104:526:1;-1:-1:-1;;;;;5104:526:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5104:526:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5104:526:1;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5104:526:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5104:526:1;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5104:526:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5104:526:1;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5104:526:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3124:588;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3124:588:1;-1:-1:-1;;;;;3124:588:1;;;;;5650:102;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5650:102:1;;;;4280:139;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4280:139:1;;;;;;;;;-1:-1:-1;;;;;4280:139:1;;;;;;;;;;;;;;4427:290;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4427:290:1;-1:-1:-1;;;;;4427:290:1;;;;;4164:108;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4164:108:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4164:108:1;;;;;;;;;;;;;;;;;1068:2048;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1068:2048:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1068:2048:1;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1068:2048:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1068:2048:1;;;;-1:-1:-1;1068:2048:1;-1:-1:-1;1068:2048:1;;-1:-1:-1;1068:2048:1;;;;;;;;-1:-1:-1;;1068:2048:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1068:2048:1;;;;-1:-1:-1;1068:2048:1;-1:-1:-1;1068:2048:1;;-1:-1:-1;1068:2048:1;;;;;;;;-1:-1:-1;;1068:2048:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1068:2048:1;;;;-1:-1:-1;1068:2048:1;-1:-1:-1;1068:2048:1;;-1:-1:-1;1068:2048:1;;;;;;;;-1:-1:-1;1068:2048:1;;-1:-1:-1;1068:2048:1;;-1:-1:-1;;;;;;;1068:2048:1;4731:356;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4731:356:1;-1:-1:-1;;;;;4731:356:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4731:356:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;457:46;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;457:46:1;-1:-1:-1;;;;;457:46:1;;;;;;;;;;;;;;;;;;;;;;;300:36;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;300:36:1;;;;;3720:430;3768:4;;;3787:282;3806:10;:17;3802:21;;3787:282;;;-1:-1:-1;3875:13:1;:16;;;;;;;;;;;:29;;-1:-1:-1;;;;;3875:29:1;3938:28;;;:14;:28;;;;;3931:35;;-1:-1:-1;;3931:35:1;;;3985:12;:26;;;;;3978:33;;;4030:16;;;;;;;4023:23;;-1:-1:-1;;4023:23:1;;;3875:29;4023:23;3875:29;4023:23;;3875:13;4023:23;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;-1:-1:-1;4023:23:1;;;;;;;3825:3;;;;;3787:282;;;4079:17;4086:10;;4079:17;:::i;:::-;4122:20;:18;:20::i;:::-;4115:27;;3720:430;;;:::o;5104:526::-;-1:-1:-1;;;;;5248:24:1;;5394:13;5248:24;;;:14;:24;;;;;;5177:6;;;;;;;;5248:24;;:32;;:24;:32;5226:133;;;;;-1:-1:-1;;;;;;;;;;;5226:133:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5410:22:1;;;;;;:12;:22;;;;;;;;;5479:20;;;;;;;;;;:26;;;;5461:161;;;;;;;;;;-1:-1:-1;;5461:161:1;;;;;;;;;;;;;;;;;;;;;;;5479:26;5517;;;5555;;;;5592:29;;;;;5479:26;;5461:161;;5479:26;5461:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5461:161:1;;;;;;;;;;;;;-1:-1:-1;;5461:161:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5461:161:1;;-1:-1:-1;5461:161:1;-1:-1:-1;5461:161:1;;;-1:-1:-1;5461:161:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5461:161:1;;;;;;;;;;;;;-1:-1:-1;;5461:161:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5461:161:1;;-1:-1:-1;5461:161:1;-1:-1:-1;5461:161:1;;;-1:-1:-1;5461:161:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5461:161:1;;;;;;;;;;;;;-1:-1:-1;;5461:161:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5461:161:1;;-1:-1:-1;5461:161:1;-1:-1:-1;5461:161:1;;;-1:-1:-1;5461:161:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5104:526;;;;;;:::o;3124:588::-;-1:-1:-1;;;;;3237:24:1;;3188:4;3237:24;;;:14;:24;;;;;;3188:4;;3237:24;;:32;;:24;:32;3215:133;;;;;-1:-1:-1;;;;;;;;;;;3215:133:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3400:22:1;;;;;;:12;:22;;;;;;;;;;3463:14;:24;;;;;3456:31;;-1:-1:-1;;3456:31:1;;;3499:29;;;;3558:20;;;;;;;;;3551:27;;-1:-1:-1;;3551:27:1;;;3400:22;;3551:27;3456:31;3551:27;;3400:22;3551:27;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;-1:-1:-1;3551:27:1;;;;;;;3597:10;:17;;3608:5;;3597:17;;;;;;;;;;;;;;3590:24;3637:10;:19;;;;;-1:-1:-1;;3637:19:1;;;:::i;:::-;;3684:20;:18;:20::i;:::-;3677:27;3124:588;-1:-1:-1;;;3124:588:1:o;5650:102::-;5727:10;:17;5650:102;;:::o;4280:139::-;4349:7;4377:20;;;;;;;;;;:33;-1:-1:-1;;;;;4377:33:1;;4280:139::o;4427:290::-;-1:-1:-1;;;;;4542:24:1;;4501:4;4542:24;;;:14;:24;;;;;;;;:32;;:24;:32;4520:133;;;;;-1:-1:-1;;;;;;;;;;;4520:133:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4685:22:1;;;;;:12;:22;;;;;;;4427:290::o;4164:108::-;4216:9;4245:19;4238:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4238:26:1;;;;;;;;;;;;;;;;;;;;;;;4164:108;:::o;1068:2048::-;-1:-1:-1;;;;;1788:24:1;;1202:13;1788:24;;;:14;:24;;;;;;1202:13;;1788:24;;:33;1766:108;;;;;-1:-1:-1;;;;;;;;;;;1766:108:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;1940:20;;1963:1;-1:-1:-1;1939:33:1;1917:110;;;;;-1:-1:-1;;;;;;;;;;;1917:110:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;2067:20;;2090:1;-1:-1:-1;2066:33:1;2044:130;;;;;-1:-1:-1;;;;;;;;;;;2044:130:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2226:20;;2249:1;-1:-1:-1;2225:33:1;2203:129;;;;;-1:-1:-1;;;;;;;;;;;2203:129:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2396:23;;2422:1;-1:-1:-1;2395:36:1;2373:109;;;;;-1:-1:-1;;;;;;;;;;;2373:109:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;2536:20;:18;:20::i;:::-;-1:-1:-1;;;;;2567:24:1;;;;;;:14;:24;;;;;;;;:31;;-1:-1:-1;;2567:31:1;2594:4;2567:31;;;;;;2619:27;;;;;;;;:51;;-1:-1:-1;;2619:51:1;;;;;;2681:49;;2513:43;;-1:-1:-1;2681:49:1;;:33;;;;;:49;;;;;:::i;:::-;-1:-1:-1;2741:13:1;:27;;;;;;;;;;;:49;;;;:33;;;;;:49;;;;:::i;:::-;-1:-1:-1;2801:13:1;:27;;;;;;;;;;;:49;;;;:33;;;;;:49;;;;:::i;:::-;-1:-1:-1;2869:13:1;:27;;;;;;;;;;;:52;;;;:36;;;;;:52;;;;:::i;:::-;-1:-1:-1;2970:10:1;27::-1;;3002:1:1;23:18:-1;;45:23;;2970:29:1;;;;;;-1:-1:-1;2934:27:1;;;2970:29;2934:27;;;;;;;:33;;:69;;;;-1:-1:-1;;;;;3024:22:1;;;;:12;:22;;;:37;;;3089:17;-1:-1:-1;;3089:19:1;;-1:-1:-1;1068:2048:1;;;;;;;;:::o;4731:356::-;-1:-1:-1;;;;;4839:24:1;;4981:13;4839:24;;;:14;:24;;;;;;4792:6;;4981:13;4839:24;;:32;;:24;:32;4817:133;;;;;-1:-1:-1;;;;;;;;;;;4817:133:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4997:22:1;;;;;;:12;:22;;;;;;;;;5052:20;;;;;;;;;;:26;;;;5044:35;;;;;;;;;;-1:-1:-1;;5044:35:1;;;;;;;;;;;;;;;;;;;;;;;;;5052:26;5044:35;;5052:26;5044:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4731:356;;;;:::o;457:46::-;;;;;;;;;;;;;;;:::o;300:36::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;300:36:1;;-1:-1:-1;300:36:1;:::o;30:5731::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30:5731:1;;;-1:-1:-1;30:5731:1;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;", "source": "pragma solidity ^ 0.4 .18;\r\n\r\ncontract Company {\r\n\r\n struct SupportAgent {\r\n address agentAddress;\r\n string email;\r\n string fName;\r\n string lName;\r\n string timeZone;\r\n uint index;\r\n }\r\n\r\n mapping(uint256 => SupportAgent) private SupportAgents;\r\n address[] public supportAgentRecords;\r\n \r\n mapping(address => uint256) private agentRecords;\r\n \r\n uint256[] private agentIndex;\r\n \r\n \r\n mapping(address => bool) public isSupportAgent;\r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////\r\n modifier agentDoesNotExist(address supportagent) {\r\n require(!isSupportAgent[supportagent]);\r\n _;\r\n }\r\n\r\n modifier agentExist(address supportagent) {\r\n require(isSupportAgent[supportagent]);\r\n _;\r\n }\r\n\r\n modifier notNull(address _address) {\r\n require(_address != 0);\r\n _;\r\n }\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n function addSupportAgent(address _address, string _email, string _fName, string _lName, string _timeZone) \r\n public\r\n returns(uint256 index) {\r\n \r\n \r\n // If the first argument of `require` evaluates\r\n // to `false`, execution terminates and all\r\n // changes to the state and to Ether balances\r\n // are reverted.\r\n // This used to consume all gas in old EVM versions, but\r\n // not anymore.\r\n // It is often a good idea to use `require` to check if\r\n // functions are called correctly.\r\n // As a second argument, you can also provide an\r\n // explanation about what went wrong. \r\n \r\n require(\r\n isSupportAgent[_address] == false,\r\n \"Agent already exist !\"\r\n ); \r\n \r\n \r\n require(\r\n (bytes(_email).length < 5)==false,\r\n \"Invalid Email address !\"\r\n );\r\n \r\n require(\r\n (bytes(_fName).length < 3)==false,\r\n \"First name should contain minimum 3 letters\"\r\n ); \r\n \r\n require(\r\n (bytes(_lName).length < 3)==false,\r\n \"Last name should contain minimum 3 letters\"\r\n ); \r\n \r\n require(\r\n (bytes(_timeZone).length < 3)==false,\r\n \"Timezone is Invalid\"\r\n ); \r\n \r\n uint256 currentIndex = countSupportAgents();\r\n isSupportAgent[_address] = true;\r\n \r\n SupportAgents[currentIndex].agentAddress = _address;\r\n SupportAgents[currentIndex].email = _email;\r\n SupportAgents[currentIndex].fName = _fName;\r\n SupportAgents[currentIndex].lName = _lName; \r\n SupportAgents[currentIndex].timeZone = _timeZone;\r\n\r\n SupportAgents[currentIndex].index = agentIndex.push(currentIndex) - 1;\r\n \r\n agentRecords[_address] = currentIndex;\r\n \r\n return agentIndex.length-1;\r\n }\r\n\r\n function removeOneSupportAgent(address _address) public returns(uint) {\r\n \r\n require(\r\n isSupportAgent[_address] == true,\r\n \"There is no such agent with the given address !\"\r\n ); \r\n \r\n\r\n uint256 index = agentRecords[_address]; \r\n \r\n delete isSupportAgent[_address];\r\n delete agentRecords[_address];\r\n \r\n delete SupportAgents[index];\r\n delete agentIndex[index];\r\n \r\n agentIndex.length--;\r\n \r\n return countSupportAgents();\r\n }\r\n\r\n function removeAllSupportAgent() public returns(uint) {\r\n\r\n for (uint i=0; i < agentIndex.length; i++) \r\n {\r\n address agentAddress = SupportAgents[i].agentAddress; \r\n \r\n delete isSupportAgent[agentAddress];\r\n delete agentRecords[agentAddress];\r\n delete SupportAgents[i];\r\n \r\n }\r\n delete agentIndex; \r\n return countSupportAgents();\r\n }\r\n \r\n\r\n function findAllSupportAgents() view public returns(address[]) {\r\n return supportAgentRecords;\r\n }\r\n\r\n function findSupportAgentAddressById(uint index) view public returns(address) {\r\n return (SupportAgents[index].agentAddress);\r\n }\r\n\r\n function findSupportAgentArrayIndex(address _address) view public returns(uint) {\r\n\r\n require(\r\n isSupportAgent[_address] == true,\r\n \"There is no such agent with the given address !\"\r\n ); \r\n\r\n return agentRecords[_address];\r\n\r\n }\r\n\r\n \r\n function getAgentEmail(address _address) view public returns(string) \r\n {\r\n require(\r\n isSupportAgent[_address] == true,\r\n \"There is no such agent with the given address !\"\r\n ); \r\n \r\n uint256 index = agentRecords[_address]; \r\n \r\n return (SupportAgents[index].email);\r\n }\r\n \r\n \r\n function findSupportAgentByAddress(address _address) view public returns(string, string, string, string) \r\n {\r\n require(\r\n isSupportAgent[_address] == true,\r\n \"There is no such agent with the given address !\"\r\n ); \r\n \r\n uint256 index = agentRecords[_address]; \r\n \r\n return \r\n (SupportAgents[index].email, \r\n SupportAgents[index].fName, \r\n SupportAgents[index].lName,\r\n SupportAgents[index].timeZone);\r\n }\r\n \r\n \r\n function countSupportAgents() view public returns(uint256) {\r\n return agentIndex.length;\r\n }\r\n \r\n}", - "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\Company.sol", + "sourcePath": "C:\\i\\HT\\hellonetmarket\\ethereum\\contracts\\Company.sol", "ast": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Company.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Company.sol", "exportedSymbols": { "Company": [ - 443 + 948 ] }, - "id": 444, + "id": 949, "nodeType": "SourceUnit", "nodes": [ { - "id": 1, + "id": 506, "literals": [ "solidity", "^", @@ -249,7 +249,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:26:0" + "src": "0:26:1" }, { "baseContracts": [], @@ -257,24 +257,24 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 443, + "id": 948, "linearizedBaseContracts": [ - 443 + 948 ], "name": "Company", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "Company.SupportAgent", - "id": 14, + "id": 519, "members": [ { "constant": false, - "id": 3, + "id": 508, "name": "agentAddress", "nodeType": "VariableDeclaration", - "scope": 14, - "src": "87:20:0", + "scope": 519, + "src": "87:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -282,10 +282,10 @@ "typeString": "address" }, "typeName": { - "id": 2, + "id": 507, "name": "address", "nodeType": "ElementaryTypeName", - "src": "87:7:0", + "src": "87:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -296,11 +296,11 @@ }, { "constant": false, - "id": 5, + "id": 510, "name": "email", "nodeType": "VariableDeclaration", - "scope": 14, - "src": "118:12:0", + "scope": 519, + "src": "118:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -308,10 +308,10 @@ "typeString": "string" }, "typeName": { - "id": 4, + "id": 509, "name": "string", "nodeType": "ElementaryTypeName", - "src": "118:6:0", + "src": "118:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -322,11 +322,11 @@ }, { "constant": false, - "id": 7, + "id": 512, "name": "fName", "nodeType": "VariableDeclaration", - "scope": 14, - "src": "141:12:0", + "scope": 519, + "src": "141:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -334,10 +334,10 @@ "typeString": "string" }, "typeName": { - "id": 6, + "id": 511, "name": "string", "nodeType": "ElementaryTypeName", - "src": "141:6:0", + "src": "141:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -348,11 +348,11 @@ }, { "constant": false, - "id": 9, + "id": 514, "name": "lName", "nodeType": "VariableDeclaration", - "scope": 14, - "src": "164:12:0", + "scope": 519, + "src": "164:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -360,10 +360,10 @@ "typeString": "string" }, "typeName": { - "id": 8, + "id": 513, "name": "string", "nodeType": "ElementaryTypeName", - "src": "164:6:0", + "src": "164:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -374,11 +374,11 @@ }, { "constant": false, - "id": 11, + "id": 516, "name": "timeZone", "nodeType": "VariableDeclaration", - "scope": 14, - "src": "187:15:0", + "scope": 519, + "src": "187:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -386,10 +386,10 @@ "typeString": "string" }, "typeName": { - "id": 10, + "id": 515, "name": "string", "nodeType": "ElementaryTypeName", - "src": "187:6:0", + "src": "187:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -400,11 +400,11 @@ }, { "constant": false, - "id": 13, + "id": 518, "name": "index", "nodeType": "VariableDeclaration", - "scope": 14, - "src": "213:10:0", + "scope": 519, + "src": "213:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -412,10 +412,10 @@ "typeString": "uint256" }, "typeName": { - "id": 12, + "id": 517, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "213:4:0", + "src": "213:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -427,50 +427,50 @@ ], "name": "SupportAgent", "nodeType": "StructDefinition", - "scope": 443, - "src": "56:175:0", + "scope": 948, + "src": "56:175:1", "visibility": "public" }, { "constant": false, - "id": 18, + "id": 523, "name": "SupportAgents", "nodeType": "VariableDeclaration", - "scope": 443, - "src": "239:54:0", + "scope": 948, + "src": "239:54:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent)" }, "typeName": { - "id": 17, + "id": 522, "keyType": { - "id": 15, + "id": 520, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "247:7:0", + "src": "247:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "239:32:0", + "src": "239:32:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent)" }, "valueType": { "contractScope": null, - "id": 16, + "id": 521, "name": "SupportAgent", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14, - "src": "258:12:0", + "referencedDeclaration": 519, + "src": "258:12:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage_ptr", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage_ptr", "typeString": "struct Company.SupportAgent" } } @@ -480,11 +480,11 @@ }, { "constant": false, - "id": 21, + "id": 526, "name": "supportAgentRecords", "nodeType": "VariableDeclaration", - "scope": 443, - "src": "300:36:0", + "scope": 948, + "src": "300:36:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -493,19 +493,19 @@ }, "typeName": { "baseType": { - "id": 19, + "id": 524, "name": "address", "nodeType": "ElementaryTypeName", - "src": "300:7:0", + "src": "300:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 20, + "id": 525, "length": null, "nodeType": "ArrayTypeName", - "src": "300:9:0", + "src": "300:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -516,11 +516,11 @@ }, { "constant": false, - "id": 25, + "id": 530, "name": "agentRecords", "nodeType": "VariableDeclaration", - "scope": 443, - "src": "349:48:0", + "scope": 948, + "src": "349:48:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -528,28 +528,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 24, + "id": 529, "keyType": { - "id": 22, + "id": 527, "name": "address", "nodeType": "ElementaryTypeName", - "src": "357:7:0", + "src": "357:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "349:27:0", + "src": "349:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 23, + "id": 528, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "368:7:0", + "src": "368:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -561,11 +561,11 @@ }, { "constant": false, - "id": 28, + "id": 533, "name": "agentIndex", "nodeType": "VariableDeclaration", - "scope": 443, - "src": "410:28:0", + "scope": 948, + "src": "410:28:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -574,19 +574,19 @@ }, "typeName": { "baseType": { - "id": 26, + "id": 531, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "410:7:0", + "src": "410:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 27, + "id": 532, "length": null, "nodeType": "ArrayTypeName", - "src": "410:9:0", + "src": "410:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" @@ -597,11 +597,11 @@ }, { "constant": false, - "id": 32, + "id": 537, "name": "isSupportAgent", "nodeType": "VariableDeclaration", - "scope": 443, - "src": "457:46:0", + "scope": 948, + "src": "457:46:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -609,28 +609,28 @@ "typeString": "mapping(address => bool)" }, "typeName": { - "id": 31, + "id": 536, "keyType": { - "id": 29, + "id": 534, "name": "address", "nodeType": "ElementaryTypeName", - "src": "465:7:0", + "src": "465:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "457:24:0", + "src": "457:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 30, + "id": 535, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "476:4:0", + "src": "476:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -642,9 +642,9 @@ }, { "body": { - "id": 44, + "id": 549, "nodeType": "Block", - "src": "669:69:0", + "src": "669:69:1", "statements": [ { "expression": { @@ -652,7 +652,7 @@ "arguments": [ { "argumentTypes": null, - "id": 40, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, @@ -660,31 +660,31 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "688:29:0", + "src": "688:29:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 37, + "id": 542, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "689:14:0", + "referencedDeclaration": 537, + "src": "689:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 39, + "id": 544, "indexExpression": { "argumentTypes": null, - "id": 38, + "id": 543, "name": "supportagent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 34, - "src": "704:12:0", + "referencedDeclaration": 539, + "src": "704:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -695,7 +695,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "689:28:0", + "src": "689:28:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -714,21 +714,21 @@ "typeString": "bool" } ], - "id": 36, + "id": 541, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 461, - "src": "680:7:0", + "referencedDeclaration": 1968, + "src": "680:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 41, + "id": 546, "isConstant": false, "isLValue": false, "isPure": false, @@ -736,38 +736,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "680:38:0", + "src": "680:38:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 42, + "id": 547, "nodeType": "ExpressionStatement", - "src": "680:38:0" + "src": "680:38:1" }, { - "id": 43, + "id": 548, "nodeType": "PlaceholderStatement", - "src": "729:1:0" + "src": "729:1:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 45, + "id": 550, "name": "agentDoesNotExist", "nodeType": "ModifierDefinition", "parameters": { - "id": 35, + "id": 540, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 34, + "id": 539, "name": "supportagent", "nodeType": "VariableDeclaration", - "scope": 45, - "src": "647:20:0", + "scope": 550, + "src": "647:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -775,10 +775,10 @@ "typeString": "address" }, "typeName": { - "id": 33, + "id": 538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "647:7:0", + "src": "647:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -788,16 +788,16 @@ "visibility": "internal" } ], - "src": "646:22:0" + "src": "646:22:1" }, - "src": "620:118:0", + "src": "620:118:1", "visibility": "internal" }, { "body": { - "id": 56, + "id": 561, "nodeType": "Block", - "src": "788:68:0", + "src": "788:68:1", "statements": [ { "expression": { @@ -807,26 +807,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 50, + "id": 555, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "807:14:0", + "referencedDeclaration": 537, + "src": "807:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 52, + "id": 557, "indexExpression": { "argumentTypes": null, - "id": 51, + "id": 556, "name": "supportagent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 47, - "src": "822:12:0", + "referencedDeclaration": 552, + "src": "822:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -837,7 +837,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "807:28:0", + "src": "807:28:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -851,21 +851,21 @@ "typeString": "bool" } ], - "id": 49, + "id": 554, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 461, - "src": "799:7:0", + "referencedDeclaration": 1968, + "src": "799:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 53, + "id": 558, "isConstant": false, "isLValue": false, "isPure": false, @@ -873,38 +873,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "799:37:0", + "src": "799:37:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 54, + "id": 559, "nodeType": "ExpressionStatement", - "src": "799:37:0" + "src": "799:37:1" }, { - "id": 55, + "id": 560, "nodeType": "PlaceholderStatement", - "src": "847:1:0" + "src": "847:1:1" } ] }, "documentation": null, - "id": 57, + "id": 562, "name": "agentExist", "nodeType": "ModifierDefinition", "parameters": { - "id": 48, + "id": 553, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 47, + "id": 552, "name": "supportagent", "nodeType": "VariableDeclaration", - "scope": 57, - "src": "766:20:0", + "scope": 562, + "src": "766:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -912,10 +912,10 @@ "typeString": "address" }, "typeName": { - "id": 46, + "id": 551, "name": "address", "nodeType": "ElementaryTypeName", - "src": "766:7:0", + "src": "766:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -925,16 +925,16 @@ "visibility": "internal" } ], - "src": "765:22:0" + "src": "765:22:1" }, - "src": "746:110:0", + "src": "746:110:1", "visibility": "internal" }, { "body": { - "id": 68, + "id": 573, "nodeType": "Block", - "src": "899:53:0", + "src": "899:53:1", "statements": [ { "expression": { @@ -946,19 +946,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 64, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 62, + "id": 567, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "918:8:0", + "referencedDeclaration": 564, + "src": "918:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -969,14 +969,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 63, + "id": 568, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "930:1:0", + "src": "930:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -984,7 +984,7 @@ }, "value": "0" }, - "src": "918:13:0", + "src": "918:13:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -998,21 +998,21 @@ "typeString": "bool" } ], - "id": 61, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 461, - "src": "910:7:0", + "referencedDeclaration": 1968, + "src": "910:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 65, + "id": 570, "isConstant": false, "isLValue": false, "isPure": false, @@ -1020,38 +1020,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "910:22:0", + "src": "910:22:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 66, + "id": 571, "nodeType": "ExpressionStatement", - "src": "910:22:0" + "src": "910:22:1" }, { - "id": 67, + "id": 572, "nodeType": "PlaceholderStatement", - "src": "943:1:0" + "src": "943:1:1" } ] }, "documentation": null, - "id": 69, + "id": 574, "name": "notNull", "nodeType": "ModifierDefinition", "parameters": { - "id": 60, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 59, + "id": 564, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 69, - "src": "881:16:0", + "scope": 574, + "src": "881:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1059,10 +1059,10 @@ "typeString": "address" }, "typeName": { - "id": 58, + "id": 563, "name": "address", "nodeType": "ElementaryTypeName", - "src": "881:7:0", + "src": "881:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1072,16 +1072,16 @@ "visibility": "internal" } ], - "src": "880:18:0" + "src": "880:18:1" }, - "src": "864:88:0", + "src": "864:88:1", "visibility": "internal" }, { "body": { - "id": 214, + "id": 719, "nodeType": "Block", - "src": "1217:1899:0", + "src": "1217:1899:1", "statements": [ { "expression": { @@ -1093,7 +1093,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 89, + "id": 594, "isConstant": false, "isLValue": false, "isPure": false, @@ -1102,26 +1102,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 85, + "id": 590, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "1788:14:0", + "referencedDeclaration": 537, + "src": "1788:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 87, + "id": 592, "indexExpression": { "argumentTypes": null, - "id": 86, + "id": 591, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 71, - "src": "1803:8:0", + "referencedDeclaration": 576, + "src": "1803:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1132,7 +1132,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1788:24:0", + "src": "1788:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1143,14 +1143,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 88, + "id": 593, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1816:5:0", + "src": "1816:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1158,7 +1158,7 @@ }, "value": "false" }, - "src": "1788:33:0", + "src": "1788:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1167,14 +1167,14 @@ { "argumentTypes": null, "hexValue": "4167656e7420616c72656164792065786973742021", - "id": 90, + "id": 595, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1836:23:0", + "src": "1836:23:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_cf05af21c42bc46dd555c3e9e69f3fa78dfb0860489b964e3d12cf994acd9d91", @@ -1194,21 +1194,21 @@ "typeString": "literal_string \"Agent already exist !\"" } ], - "id": 84, + "id": 589, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "1766:7:0", + "referencedDeclaration": 1969, + "src": "1766:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 91, + "id": 596, "isConstant": false, "isLValue": false, "isPure": false, @@ -1216,15 +1216,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1766:108:0", + "src": "1766:108:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 92, + "id": 597, "nodeType": "ExpressionStatement", - "src": "1766:108:0" + "src": "1766:108:1" }, { "expression": { @@ -1236,7 +1236,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 102, + "id": 607, "isConstant": false, "isLValue": false, "isPure": false, @@ -1250,7 +1250,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 99, + "id": 604, "isConstant": false, "isLValue": false, "isPure": false, @@ -1262,12 +1262,12 @@ "arguments": [ { "argumentTypes": null, - "id": 95, + "id": 600, "name": "_email", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 73, - "src": "1946:6:0", + "referencedDeclaration": 578, + "src": "1946:6:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -1281,20 +1281,20 @@ "typeString": "string memory" } ], - "id": 94, + "id": 599, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "1940:5:0", + "src": "1940:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": "bytes" }, - "id": 96, + "id": 601, "isConstant": false, "isLValue": false, "isPure": false, @@ -1302,13 +1302,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1940:13:0", + "src": "1940:13:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, - "id": 97, + "id": 602, "isConstant": false, "isLValue": false, "isPure": false, @@ -1316,7 +1316,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1940:20:0", + "src": "1940:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1327,14 +1327,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "35", - "id": 98, + "id": 603, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1963:1:0", + "src": "1963:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_5_by_1", @@ -1342,21 +1342,21 @@ }, "value": "5" }, - "src": "1940:24:0", + "src": "1940:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 100, + "id": 605, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "1939:26:0", + "src": "1939:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1367,14 +1367,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 101, + "id": 606, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1967:5:0", + "src": "1967:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1382,7 +1382,7 @@ }, "value": "false" }, - "src": "1939:33:0", + "src": "1939:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1391,14 +1391,14 @@ { "argumentTypes": null, "hexValue": "496e76616c696420456d61696c20616464726573732021", - "id": 103, + "id": 608, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1987:25:0", + "src": "1987:25:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_ebbe95df7058c1a391298274699fe83b8627312fc7f82b26ef5fb123858078ea", @@ -1418,21 +1418,21 @@ "typeString": "literal_string \"Invalid Email address !\"" } ], - "id": 93, + "id": 598, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "1917:7:0", + "referencedDeclaration": 1969, + "src": "1917:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 104, + "id": 609, "isConstant": false, "isLValue": false, "isPure": false, @@ -1440,15 +1440,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1917:110:0", + "src": "1917:110:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 105, + "id": 610, "nodeType": "ExpressionStatement", - "src": "1917:110:0" + "src": "1917:110:1" }, { "expression": { @@ -1460,7 +1460,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 115, + "id": 620, "isConstant": false, "isLValue": false, "isPure": false, @@ -1474,7 +1474,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 112, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, @@ -1486,12 +1486,12 @@ "arguments": [ { "argumentTypes": null, - "id": 108, + "id": 613, "name": "_fName", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 75, - "src": "2073:6:0", + "referencedDeclaration": 580, + "src": "2073:6:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -1505,20 +1505,20 @@ "typeString": "string memory" } ], - "id": 107, + "id": 612, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2067:5:0", + "src": "2067:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": "bytes" }, - "id": 109, + "id": 614, "isConstant": false, "isLValue": false, "isPure": false, @@ -1526,13 +1526,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2067:13:0", + "src": "2067:13:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, - "id": 110, + "id": 615, "isConstant": false, "isLValue": false, "isPure": false, @@ -1540,7 +1540,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2067:20:0", + "src": "2067:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1551,14 +1551,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "33", - "id": 111, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2090:1:0", + "src": "2090:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_3_by_1", @@ -1566,21 +1566,21 @@ }, "value": "3" }, - "src": "2067:24:0", + "src": "2067:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 113, + "id": 618, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2066:26:0", + "src": "2066:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1591,14 +1591,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 114, + "id": 619, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2094:5:0", + "src": "2094:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1606,7 +1606,7 @@ }, "value": "false" }, - "src": "2066:33:0", + "src": "2066:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1615,14 +1615,14 @@ { "argumentTypes": null, "hexValue": "4669727374206e616d652073686f756c6420636f6e7461696e206d696e696d756d2033206c657474657273", - "id": 116, + "id": 621, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2114:45:0", + "src": "2114:45:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_5f9dc8fd126aa581a445c3053d9bd6918365229d33711d8efb0ce486a628db32", @@ -1642,21 +1642,21 @@ "typeString": "literal_string \"First name should contain minimum 3 letters\"" } ], - "id": 106, + "id": 611, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "2044:7:0", + "referencedDeclaration": 1969, + "src": "2044:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 117, + "id": 622, "isConstant": false, "isLValue": false, "isPure": false, @@ -1664,15 +1664,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2044:130:0", + "src": "2044:130:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 118, + "id": 623, "nodeType": "ExpressionStatement", - "src": "2044:130:0" + "src": "2044:130:1" }, { "expression": { @@ -1684,7 +1684,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 128, + "id": 633, "isConstant": false, "isLValue": false, "isPure": false, @@ -1698,7 +1698,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 125, + "id": 630, "isConstant": false, "isLValue": false, "isPure": false, @@ -1710,12 +1710,12 @@ "arguments": [ { "argumentTypes": null, - "id": 121, + "id": 626, "name": "_lName", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 77, - "src": "2232:6:0", + "referencedDeclaration": 582, + "src": "2232:6:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -1729,20 +1729,20 @@ "typeString": "string memory" } ], - "id": 120, + "id": 625, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2226:5:0", + "src": "2226:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": "bytes" }, - "id": 122, + "id": 627, "isConstant": false, "isLValue": false, "isPure": false, @@ -1750,13 +1750,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2226:13:0", + "src": "2226:13:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, - "id": 123, + "id": 628, "isConstant": false, "isLValue": false, "isPure": false, @@ -1764,7 +1764,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2226:20:0", + "src": "2226:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1775,14 +1775,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "33", - "id": 124, + "id": 629, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2249:1:0", + "src": "2249:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_3_by_1", @@ -1790,21 +1790,21 @@ }, "value": "3" }, - "src": "2226:24:0", + "src": "2226:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 126, + "id": 631, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2225:26:0", + "src": "2225:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1815,14 +1815,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 127, + "id": 632, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2253:5:0", + "src": "2253:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1830,7 +1830,7 @@ }, "value": "false" }, - "src": "2225:33:0", + "src": "2225:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1839,14 +1839,14 @@ { "argumentTypes": null, "hexValue": "4c617374206e616d652073686f756c6420636f6e7461696e206d696e696d756d2033206c657474657273", - "id": 129, + "id": 634, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2273:44:0", + "src": "2273:44:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_d67de0144365e2af8189ca3dbe099727a0009a350983897187eef357e87731ca", @@ -1866,21 +1866,21 @@ "typeString": "literal_string \"Last name should contain minimum 3 letters\"" } ], - "id": 119, + "id": 624, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "2203:7:0", + "referencedDeclaration": 1969, + "src": "2203:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 130, + "id": 635, "isConstant": false, "isLValue": false, "isPure": false, @@ -1888,15 +1888,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2203:129:0", + "src": "2203:129:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 131, + "id": 636, "nodeType": "ExpressionStatement", - "src": "2203:129:0" + "src": "2203:129:1" }, { "expression": { @@ -1908,7 +1908,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 141, + "id": 646, "isConstant": false, "isLValue": false, "isPure": false, @@ -1922,7 +1922,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 138, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, @@ -1934,12 +1934,12 @@ "arguments": [ { "argumentTypes": null, - "id": 134, + "id": 639, "name": "_timeZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 79, - "src": "2402:9:0", + "referencedDeclaration": 584, + "src": "2402:9:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -1953,20 +1953,20 @@ "typeString": "string memory" } ], - "id": 133, + "id": 638, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2396:5:0", + "src": "2396:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": "bytes" }, - "id": 135, + "id": 640, "isConstant": false, "isLValue": false, "isPure": false, @@ -1974,13 +1974,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2396:16:0", + "src": "2396:16:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, - "id": 136, + "id": 641, "isConstant": false, "isLValue": false, "isPure": false, @@ -1988,7 +1988,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2396:23:0", + "src": "2396:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1999,14 +1999,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "33", - "id": 137, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2422:1:0", + "src": "2422:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_3_by_1", @@ -2014,21 +2014,21 @@ }, "value": "3" }, - "src": "2396:27:0", + "src": "2396:27:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 139, + "id": 644, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2395:29:0", + "src": "2395:29:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2039,14 +2039,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 140, + "id": 645, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2426:5:0", + "src": "2426:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2054,7 +2054,7 @@ }, "value": "false" }, - "src": "2395:36:0", + "src": "2395:36:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2063,14 +2063,14 @@ { "argumentTypes": null, "hexValue": "54696d657a6f6e6520697320496e76616c6964", - "id": 142, + "id": 647, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2446:21:0", + "src": "2446:21:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_bdd71664d7dbc0937c6d7d9afe7f7d88cb6272238aa1bd5a76c90e070c4fd904", @@ -2090,21 +2090,21 @@ "typeString": "literal_string \"Timezone is Invalid\"" } ], - "id": 132, + "id": 637, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "2373:7:0", + "referencedDeclaration": 1969, + "src": "2373:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 143, + "id": 648, "isConstant": false, "isLValue": false, "isPure": false, @@ -2112,28 +2112,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2373:109:0", + "src": "2373:109:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 144, + "id": 649, "nodeType": "ExpressionStatement", - "src": "2373:109:0" + "src": "2373:109:1" }, { "assignments": [ - 146 + 651 ], "declarations": [ { "constant": false, - "id": 146, + "id": 651, "name": "currentIndex", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "2513:20:0", + "scope": 720, + "src": "2513:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2141,10 +2141,10 @@ "typeString": "uint256" }, "typeName": { - "id": 145, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2513:7:0", + "src": "2513:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2154,24 +2154,24 @@ "visibility": "internal" } ], - "id": 149, + "id": 654, "initialValue": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 147, + "id": 652, "name": "countSupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 442, - "src": "2536:18:0", + "referencedDeclaration": 947, + "src": "2536:18:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" } }, - "id": 148, + "id": 653, "isConstant": false, "isLValue": false, "isPure": false, @@ -2179,19 +2179,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2536:20:0", + "src": "2536:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "2513:43:0" + "src": "2513:43:1" }, { "expression": { "argumentTypes": null, - "id": 154, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, @@ -2200,26 +2200,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 150, + "id": 655, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "2567:14:0", + "referencedDeclaration": 537, + "src": "2567:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 152, + "id": 657, "indexExpression": { "argumentTypes": null, - "id": 151, + "id": 656, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 71, - "src": "2582:8:0", + "referencedDeclaration": 576, + "src": "2582:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2230,7 +2230,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2567:24:0", + "src": "2567:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2241,14 +2241,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 153, + "id": 658, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2594:4:0", + "src": "2594:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2256,20 +2256,20 @@ }, "value": "true" }, - "src": "2567:31:0", + "src": "2567:31:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 155, + "id": 660, "nodeType": "ExpressionStatement", - "src": "2567:31:0" + "src": "2567:31:1" }, { "expression": { "argumentTypes": null, - "id": 161, + "id": 666, "isConstant": false, "isLValue": false, "isPure": false, @@ -2280,26 +2280,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 156, + "id": 661, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "2619:13:0", + "referencedDeclaration": 523, + "src": "2619:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 158, + "id": 663, "indexExpression": { "argumentTypes": null, - "id": 157, + "id": 662, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2633:12:0", + "referencedDeclaration": 651, + "src": "2633:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2310,21 +2310,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2619:27:0", + "src": "2619:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 159, + "id": 664, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "agentAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "2619:40:0", + "referencedDeclaration": 508, + "src": "2619:40:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2334,31 +2334,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 160, + "id": 665, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 71, - "src": "2662:8:0", + "referencedDeclaration": 576, + "src": "2662:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2619:51:0", + "src": "2619:51:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 162, + "id": 667, "nodeType": "ExpressionStatement", - "src": "2619:51:0" + "src": "2619:51:1" }, { "expression": { "argumentTypes": null, - "id": 168, + "id": 673, "isConstant": false, "isLValue": false, "isPure": false, @@ -2369,26 +2369,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 163, + "id": 668, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "2681:13:0", + "referencedDeclaration": 523, + "src": "2681:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 165, + "id": 670, "indexExpression": { "argumentTypes": null, - "id": 164, + "id": 669, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2695:12:0", + "referencedDeclaration": 651, + "src": "2695:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2399,21 +2399,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2681:27:0", + "src": "2681:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 166, + "id": 671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "email", "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "2681:33:0", + "referencedDeclaration": 510, + "src": "2681:33:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -2423,31 +2423,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 167, + "id": 672, "name": "_email", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 73, - "src": "2724:6:0", + "referencedDeclaration": 578, + "src": "2724:6:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "2681:49:0", + "src": "2681:49:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 169, + "id": 674, "nodeType": "ExpressionStatement", - "src": "2681:49:0" + "src": "2681:49:1" }, { "expression": { "argumentTypes": null, - "id": 175, + "id": 680, "isConstant": false, "isLValue": false, "isPure": false, @@ -2458,26 +2458,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 170, + "id": 675, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "2741:13:0", + "referencedDeclaration": 523, + "src": "2741:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 172, + "id": 677, "indexExpression": { "argumentTypes": null, - "id": 171, + "id": 676, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2755:12:0", + "referencedDeclaration": 651, + "src": "2755:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2488,21 +2488,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2741:27:0", + "src": "2741:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 173, + "id": 678, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "fName", "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "2741:33:0", + "referencedDeclaration": 512, + "src": "2741:33:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -2512,31 +2512,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 174, + "id": 679, "name": "_fName", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 75, - "src": "2784:6:0", + "referencedDeclaration": 580, + "src": "2784:6:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "2741:49:0", + "src": "2741:49:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 176, + "id": 681, "nodeType": "ExpressionStatement", - "src": "2741:49:0" + "src": "2741:49:1" }, { "expression": { "argumentTypes": null, - "id": 182, + "id": 687, "isConstant": false, "isLValue": false, "isPure": false, @@ -2547,26 +2547,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 177, + "id": 682, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "2801:13:0", + "referencedDeclaration": 523, + "src": "2801:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 179, + "id": 684, "indexExpression": { "argumentTypes": null, - "id": 178, + "id": 683, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2815:12:0", + "referencedDeclaration": 651, + "src": "2815:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2577,21 +2577,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2801:27:0", + "src": "2801:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 180, + "id": 685, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lName", "nodeType": "MemberAccess", - "referencedDeclaration": 9, - "src": "2801:33:0", + "referencedDeclaration": 514, + "src": "2801:33:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -2601,31 +2601,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 181, + "id": 686, "name": "_lName", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 77, - "src": "2844:6:0", + "referencedDeclaration": 582, + "src": "2844:6:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "2801:49:0", + "src": "2801:49:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 183, + "id": 688, "nodeType": "ExpressionStatement", - "src": "2801:49:0" + "src": "2801:49:1" }, { "expression": { "argumentTypes": null, - "id": 189, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -2636,26 +2636,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 184, + "id": 689, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "2869:13:0", + "referencedDeclaration": 523, + "src": "2869:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 186, + "id": 691, "indexExpression": { "argumentTypes": null, - "id": 185, + "id": 690, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2883:12:0", + "referencedDeclaration": 651, + "src": "2883:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2666,21 +2666,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2869:27:0", + "src": "2869:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 187, + "id": 692, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "timeZone", "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "2869:36:0", + "referencedDeclaration": 516, + "src": "2869:36:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -2690,31 +2690,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 188, + "id": 693, "name": "_timeZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 79, - "src": "2912:9:0", + "referencedDeclaration": 584, + "src": "2912:9:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "2869:52:0", + "src": "2869:52:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 190, + "id": 695, "nodeType": "ExpressionStatement", - "src": "2869:52:0" + "src": "2869:52:1" }, { "expression": { "argumentTypes": null, - "id": 201, + "id": 706, "isConstant": false, "isLValue": false, "isPure": false, @@ -2725,26 +2725,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 191, + "id": 696, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "2934:13:0", + "referencedDeclaration": 523, + "src": "2934:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 193, + "id": 698, "indexExpression": { "argumentTypes": null, - "id": 192, + "id": 697, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2948:12:0", + "referencedDeclaration": 651, + "src": "2948:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2755,21 +2755,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2934:27:0", + "src": "2934:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 194, + "id": 699, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "index", "nodeType": "MemberAccess", - "referencedDeclaration": 13, - "src": "2934:33:0", + "referencedDeclaration": 518, + "src": "2934:33:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2783,7 +2783,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 200, + "id": 705, "isConstant": false, "isLValue": false, "isPure": false, @@ -2793,12 +2793,12 @@ "arguments": [ { "argumentTypes": null, - "id": 197, + "id": 702, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2986:12:0", + "referencedDeclaration": 651, + "src": "2986:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2814,18 +2814,18 @@ ], "expression": { "argumentTypes": null, - "id": 195, + "id": 700, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "2970:10:0", + "referencedDeclaration": 533, + "src": "2970:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 196, + "id": 701, "isConstant": false, "isLValue": false, "isPure": false, @@ -2833,13 +2833,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2970:15:0", + "src": "2970:15:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256) returns (uint256)" } }, - "id": 198, + "id": 703, "isConstant": false, "isLValue": false, "isPure": false, @@ -2847,7 +2847,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2970:29:0", + "src": "2970:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2858,14 +2858,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 199, + "id": 704, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3002:1:0", + "src": "3002:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -2873,26 +2873,26 @@ }, "value": "1" }, - "src": "2970:33:0", + "src": "2970:33:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2934:69:0", + "src": "2934:69:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 202, + "id": 707, "nodeType": "ExpressionStatement", - "src": "2934:69:0" + "src": "2934:69:1" }, { "expression": { "argumentTypes": null, - "id": 207, + "id": 712, "isConstant": false, "isLValue": false, "isPure": false, @@ -2901,26 +2901,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 203, + "id": 708, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "3024:12:0", + "referencedDeclaration": 530, + "src": "3024:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 205, + "id": 710, "indexExpression": { "argumentTypes": null, - "id": 204, + "id": 709, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 71, - "src": "3037:8:0", + "referencedDeclaration": 576, + "src": "3037:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2931,7 +2931,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3024:22:0", + "src": "3024:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2941,26 +2941,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 206, + "id": 711, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "3049:12:0", + "referencedDeclaration": 651, + "src": "3049:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3024:37:0", + "src": "3024:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 208, + "id": 713, "nodeType": "ExpressionStatement", - "src": "3024:37:0" + "src": "3024:37:1" }, { "expression": { @@ -2969,7 +2969,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 212, + "id": 717, "isConstant": false, "isLValue": false, "isPure": false, @@ -2978,18 +2978,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 209, + "id": 714, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "3089:10:0", + "referencedDeclaration": 533, + "src": "3089:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 210, + "id": 715, "isConstant": false, "isLValue": true, "isPure": false, @@ -2997,7 +2997,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3089:17:0", + "src": "3089:17:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3008,14 +3008,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 211, + "id": 716, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3107:1:0", + "src": "3107:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -3023,21 +3023,21 @@ }, "value": "1" }, - "src": "3089:19:0", + "src": "3089:19:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 83, - "id": 213, + "functionReturnParameters": 588, + "id": 718, "nodeType": "Return", - "src": "3082:26:0" + "src": "3082:26:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 215, + "id": 720, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -3045,16 +3045,16 @@ "name": "addSupportAgent", "nodeType": "FunctionDefinition", "parameters": { - "id": 80, + "id": 585, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 71, + "id": 576, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1093:16:0", + "scope": 720, + "src": "1093:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3062,10 +3062,10 @@ "typeString": "address" }, "typeName": { - "id": 70, + "id": 575, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1093:7:0", + "src": "1093:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3076,11 +3076,11 @@ }, { "constant": false, - "id": 73, + "id": 578, "name": "_email", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1111:13:0", + "scope": 720, + "src": "1111:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3088,10 +3088,10 @@ "typeString": "string" }, "typeName": { - "id": 72, + "id": 577, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1111:6:0", + "src": "1111:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -3102,11 +3102,11 @@ }, { "constant": false, - "id": 75, + "id": 580, "name": "_fName", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1126:13:0", + "scope": 720, + "src": "1126:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3114,10 +3114,10 @@ "typeString": "string" }, "typeName": { - "id": 74, + "id": 579, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1126:6:0", + "src": "1126:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -3128,11 +3128,11 @@ }, { "constant": false, - "id": 77, + "id": 582, "name": "_lName", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1141:13:0", + "scope": 720, + "src": "1141:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3140,10 +3140,10 @@ "typeString": "string" }, "typeName": { - "id": 76, + "id": 581, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1141:6:0", + "src": "1141:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -3154,11 +3154,11 @@ }, { "constant": false, - "id": 79, + "id": 584, "name": "_timeZone", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1156:16:0", + "scope": 720, + "src": "1156:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3166,10 +3166,10 @@ "typeString": "string" }, "typeName": { - "id": 78, + "id": 583, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1156:6:0", + "src": "1156:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -3179,20 +3179,20 @@ "visibility": "internal" } ], - "src": "1092:81:0" + "src": "1092:81:1" }, "payable": false, "returnParameters": { - "id": 83, + "id": 588, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 82, + "id": 587, "name": "index", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1202:13:0", + "scope": 720, + "src": "1202:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3200,10 +3200,10 @@ "typeString": "uint256" }, "typeName": { - "id": 81, + "id": 586, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1202:7:0", + "src": "1202:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3213,19 +3213,19 @@ "visibility": "internal" } ], - "src": "1201:15:0" + "src": "1201:15:1" }, - "scope": 443, - "src": "1068:2048:0", + "scope": 948, + "src": "1068:2048:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 265, + "id": 770, "nodeType": "Block", - "src": "3194:518:0", + "src": "3194:518:1", "statements": [ { "expression": { @@ -3237,7 +3237,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 227, + "id": 732, "isConstant": false, "isLValue": false, "isPure": false, @@ -3246,26 +3246,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 223, + "id": 728, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "3237:14:0", + "referencedDeclaration": 537, + "src": "3237:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 225, + "id": 730, "indexExpression": { "argumentTypes": null, - "id": 224, + "id": 729, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3252:8:0", + "referencedDeclaration": 722, + "src": "3252:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3276,7 +3276,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3237:24:0", + "src": "3237:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3287,14 +3287,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 226, + "id": 731, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3265:4:0", + "src": "3265:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -3302,7 +3302,7 @@ }, "value": "true" }, - "src": "3237:32:0", + "src": "3237:32:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3311,14 +3311,14 @@ { "argumentTypes": null, "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", - "id": 228, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "3284:49:0", + "src": "3284:49:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", @@ -3338,21 +3338,21 @@ "typeString": "literal_string \"There is no such agent with the given address !\"" } ], - "id": 222, + "id": 727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "3215:7:0", + "referencedDeclaration": 1969, + "src": "3215:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 229, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -3360,28 +3360,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3215:133:0", + "src": "3215:133:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 230, + "id": 735, "nodeType": "ExpressionStatement", - "src": "3215:133:0" + "src": "3215:133:1" }, { "assignments": [ - 232 + 737 ], "declarations": [ { "constant": false, - "id": 232, + "id": 737, "name": "index", "nodeType": "VariableDeclaration", - "scope": 266, - "src": "3384:13:0", + "scope": 771, + "src": "3384:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3389,10 +3389,10 @@ "typeString": "uint256" }, "typeName": { - "id": 231, + "id": 736, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3384:7:0", + "src": "3384:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3402,31 +3402,31 @@ "visibility": "internal" } ], - "id": 236, + "id": 741, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 233, + "id": 738, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "3400:12:0", + "referencedDeclaration": 530, + "src": "3400:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 235, + "id": 740, "indexExpression": { "argumentTypes": null, - "id": 234, + "id": 739, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3413:8:0", + "referencedDeclaration": 722, + "src": "3413:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3437,19 +3437,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3400:22:0", + "src": "3400:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "3384:38:0" + "src": "3384:38:1" }, { "expression": { "argumentTypes": null, - "id": 240, + "id": 745, "isConstant": false, "isLValue": false, "isPure": false, @@ -3457,31 +3457,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "3456:31:0", + "src": "3456:31:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 237, + "id": 742, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "3463:14:0", + "referencedDeclaration": 537, + "src": "3463:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 239, + "id": 744, "indexExpression": { "argumentTypes": null, - "id": 238, + "id": 743, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3478:8:0", + "referencedDeclaration": 722, + "src": "3478:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3492,7 +3492,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3463:24:0", + "src": "3463:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3503,14 +3503,14 @@ "typeString": "tuple()" } }, - "id": 241, + "id": 746, "nodeType": "ExpressionStatement", - "src": "3456:31:0" + "src": "3456:31:1" }, { "expression": { "argumentTypes": null, - "id": 245, + "id": 750, "isConstant": false, "isLValue": false, "isPure": false, @@ -3518,31 +3518,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "3499:29:0", + "src": "3499:29:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 242, + "id": 747, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "3506:12:0", + "referencedDeclaration": 530, + "src": "3506:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 244, + "id": 749, "indexExpression": { "argumentTypes": null, - "id": 243, + "id": 748, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3519:8:0", + "referencedDeclaration": 722, + "src": "3519:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3553,7 +3553,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3506:22:0", + "src": "3506:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3564,14 +3564,14 @@ "typeString": "tuple()" } }, - "id": 246, + "id": 751, "nodeType": "ExpressionStatement", - "src": "3499:29:0" + "src": "3499:29:1" }, { "expression": { "argumentTypes": null, - "id": 250, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -3579,31 +3579,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "3551:27:0", + "src": "3551:27:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 247, + "id": 752, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "3558:13:0", + "referencedDeclaration": 523, + "src": "3558:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 249, + "id": 754, "indexExpression": { "argumentTypes": null, - "id": 248, + "id": 753, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 232, - "src": "3572:5:0", + "referencedDeclaration": 737, + "src": "3572:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3614,9 +3614,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3558:20:0", + "src": "3558:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, @@ -3625,14 +3625,14 @@ "typeString": "tuple()" } }, - "id": 251, + "id": 756, "nodeType": "ExpressionStatement", - "src": "3551:27:0" + "src": "3551:27:1" }, { "expression": { "argumentTypes": null, - "id": 255, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -3640,31 +3640,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "3590:24:0", + "src": "3590:24:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 252, + "id": 757, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "3597:10:0", + "referencedDeclaration": 533, + "src": "3597:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 254, + "id": 759, "indexExpression": { "argumentTypes": null, - "id": 253, + "id": 758, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 232, - "src": "3608:5:0", + "referencedDeclaration": 737, + "src": "3608:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3675,7 +3675,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3597:17:0", + "src": "3597:17:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3686,14 +3686,14 @@ "typeString": "tuple()" } }, - "id": 256, + "id": 761, "nodeType": "ExpressionStatement", - "src": "3590:24:0" + "src": "3590:24:1" }, { "expression": { "argumentTypes": null, - "id": 260, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -3701,23 +3701,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "3637:19:0", + "src": "3637:19:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 257, + "id": 762, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "3637:10:0", + "referencedDeclaration": 533, + "src": "3637:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 259, + "id": 764, "isConstant": false, "isLValue": true, "isPure": false, @@ -3725,7 +3725,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3637:17:0", + "src": "3637:17:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3736,9 +3736,9 @@ "typeString": "uint256" } }, - "id": 261, + "id": 766, "nodeType": "ExpressionStatement", - "src": "3637:19:0" + "src": "3637:19:1" }, { "expression": { @@ -3746,18 +3746,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 262, + "id": 767, "name": "countSupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 442, - "src": "3684:18:0", + "referencedDeclaration": 947, + "src": "3684:18:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" } }, - "id": 263, + "id": 768, "isConstant": false, "isLValue": false, "isPure": false, @@ -3765,21 +3765,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3684:20:0", + "src": "3684:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 221, - "id": 264, + "functionReturnParameters": 726, + "id": 769, "nodeType": "Return", - "src": "3677:27:0" + "src": "3677:27:1" } ] }, "documentation": null, - "id": 266, + "id": 771, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -3787,16 +3787,16 @@ "name": "removeOneSupportAgent", "nodeType": "FunctionDefinition", "parameters": { - "id": 218, + "id": 723, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 217, + "id": 722, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 266, - "src": "3155:16:0", + "scope": 771, + "src": "3155:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3804,10 +3804,10 @@ "typeString": "address" }, "typeName": { - "id": 216, + "id": 721, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3155:7:0", + "src": "3155:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3817,20 +3817,20 @@ "visibility": "internal" } ], - "src": "3154:18:0" + "src": "3154:18:1" }, "payable": false, "returnParameters": { - "id": 221, + "id": 726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 220, + "id": 725, "name": "", "nodeType": "VariableDeclaration", - "scope": 266, - "src": "3188:4:0", + "scope": 771, + "src": "3188:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3838,10 +3838,10 @@ "typeString": "uint256" }, "typeName": { - "id": 219, + "id": 724, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3188:4:0", + "src": "3188:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3851,38 +3851,38 @@ "visibility": "internal" } ], - "src": "3187:6:0" + "src": "3187:6:1" }, - "scope": 443, - "src": "3124:588:0", + "scope": 948, + "src": "3124:588:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 312, + "id": 817, "nodeType": "Block", - "src": "3774:376:0", + "src": "3774:376:1", "statements": [ { "body": { - "id": 304, + "id": 809, "nodeType": "Block", - "src": "3840:229:0", + "src": "3840:229:1", "statements": [ { "assignments": [ - 283 + 788 ], "declarations": [ { "constant": false, - "id": 283, + "id": 788, "name": "agentAddress", "nodeType": "VariableDeclaration", - "scope": 313, - "src": "3852:20:0", + "scope": 818, + "src": "3852:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3890,10 +3890,10 @@ "typeString": "address" }, "typeName": { - "id": 282, + "id": 787, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3852:7:0", + "src": "3852:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3903,33 +3903,33 @@ "visibility": "internal" } ], - "id": 288, + "id": 793, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 284, + "id": 789, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "3875:13:0", + "referencedDeclaration": 523, + "src": "3875:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 286, + "id": 791, "indexExpression": { "argumentTypes": null, - "id": 285, + "id": 790, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 272, - "src": "3889:1:0", + "referencedDeclaration": 777, + "src": "3889:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3940,33 +3940,33 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3875:16:0", + "src": "3875:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 287, + "id": 792, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "agentAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "3875:29:0", + "referencedDeclaration": 508, + "src": "3875:29:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "3852:52:0" + "src": "3852:52:1" }, { "expression": { "argumentTypes": null, - "id": 292, + "id": 797, "isConstant": false, "isLValue": false, "isPure": false, @@ -3974,31 +3974,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "3931:35:0", + "src": "3931:35:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 289, + "id": 794, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "3938:14:0", + "referencedDeclaration": 537, + "src": "3938:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 291, + "id": 796, "indexExpression": { "argumentTypes": null, - "id": 290, + "id": 795, "name": "agentAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 283, - "src": "3953:12:0", + "referencedDeclaration": 788, + "src": "3953:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4009,7 +4009,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3938:28:0", + "src": "3938:28:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4020,14 +4020,14 @@ "typeString": "tuple()" } }, - "id": 293, + "id": 798, "nodeType": "ExpressionStatement", - "src": "3931:35:0" + "src": "3931:35:1" }, { "expression": { "argumentTypes": null, - "id": 297, + "id": 802, "isConstant": false, "isLValue": false, "isPure": false, @@ -4035,31 +4035,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "3978:33:0", + "src": "3978:33:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 294, + "id": 799, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "3985:12:0", + "referencedDeclaration": 530, + "src": "3985:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 296, + "id": 801, "indexExpression": { "argumentTypes": null, - "id": 295, + "id": 800, "name": "agentAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 283, - "src": "3998:12:0", + "referencedDeclaration": 788, + "src": "3998:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4070,7 +4070,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3985:26:0", + "src": "3985:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4081,14 +4081,14 @@ "typeString": "tuple()" } }, - "id": 298, + "id": 803, "nodeType": "ExpressionStatement", - "src": "3978:33:0" + "src": "3978:33:1" }, { "expression": { "argumentTypes": null, - "id": 302, + "id": 807, "isConstant": false, "isLValue": false, "isPure": false, @@ -4096,31 +4096,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "4023:23:0", + "src": "4023:23:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 299, + "id": 804, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "4030:13:0", + "referencedDeclaration": 523, + "src": "4030:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 301, + "id": 806, "indexExpression": { "argumentTypes": null, - "id": 300, + "id": 805, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 272, - "src": "4044:1:0", + "referencedDeclaration": 777, + "src": "4044:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4131,9 +4131,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "4030:16:0", + "src": "4030:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, @@ -4142,9 +4142,9 @@ "typeString": "tuple()" } }, - "id": 303, + "id": 808, "nodeType": "ExpressionStatement", - "src": "4023:23:0" + "src": "4023:23:1" } ] }, @@ -4154,19 +4154,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 278, + "id": 783, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 275, + "id": 780, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 272, - "src": "3802:1:0", + "referencedDeclaration": 777, + "src": "3802:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4178,18 +4178,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 276, + "id": 781, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "3806:10:0", + "referencedDeclaration": 533, + "src": "3806:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 277, + "id": 782, "isConstant": false, "isLValue": true, "isPure": false, @@ -4197,31 +4197,31 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3806:17:0", + "src": "3806:17:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3802:21:0", + "src": "3802:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 305, + "id": 810, "initializationExpression": { "assignments": [ - 272 + 777 ], "declarations": [ { "constant": false, - "id": 272, + "id": 777, "name": "i", "nodeType": "VariableDeclaration", - "scope": 313, - "src": "3792:6:0", + "scope": 818, + "src": "3792:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4229,10 +4229,10 @@ "typeString": "uint256" }, "typeName": { - "id": 271, + "id": 776, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3792:4:0", + "src": "3792:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4242,18 +4242,18 @@ "visibility": "internal" } ], - "id": 274, + "id": 779, "initialValue": { "argumentTypes": null, "hexValue": "30", - "id": 273, + "id": 778, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3799:1:0", + "src": "3799:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -4262,12 +4262,12 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "3792:8:0" + "src": "3792:8:1" }, "loopExpression": { "expression": { "argumentTypes": null, - "id": 280, + "id": 785, "isConstant": false, "isLValue": false, "isPure": false, @@ -4275,15 +4275,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "3825:3:0", + "src": "3825:3:1", "subExpression": { "argumentTypes": null, - "id": 279, + "id": 784, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 272, - "src": "3825:1:0", + "referencedDeclaration": 777, + "src": "3825:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4294,17 +4294,17 @@ "typeString": "uint256" } }, - "id": 281, + "id": 786, "nodeType": "ExpressionStatement", - "src": "3825:3:0" + "src": "3825:3:1" }, "nodeType": "ForStatement", - "src": "3787:282:0" + "src": "3787:282:1" }, { "expression": { "argumentTypes": null, - "id": 307, + "id": 812, "isConstant": false, "isLValue": false, "isPure": false, @@ -4312,15 +4312,15 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "4079:17:0", + "src": "4079:17:1", "subExpression": { "argumentTypes": null, - "id": 306, + "id": 811, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "4086:10:0", + "referencedDeclaration": 533, + "src": "4086:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -4331,9 +4331,9 @@ "typeString": "tuple()" } }, - "id": 308, + "id": 813, "nodeType": "ExpressionStatement", - "src": "4079:17:0" + "src": "4079:17:1" }, { "expression": { @@ -4341,18 +4341,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 309, + "id": 814, "name": "countSupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 442, - "src": "4122:18:0", + "referencedDeclaration": 947, + "src": "4122:18:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" } }, - "id": 310, + "id": 815, "isConstant": false, "isLValue": false, "isPure": false, @@ -4360,21 +4360,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4122:20:0", + "src": "4122:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 270, - "id": 311, + "functionReturnParameters": 775, + "id": 816, "nodeType": "Return", - "src": "4115:27:0" + "src": "4115:27:1" } ] }, "documentation": null, - "id": 313, + "id": 818, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -4382,23 +4382,23 @@ "name": "removeAllSupportAgent", "nodeType": "FunctionDefinition", "parameters": { - "id": 267, + "id": 772, "nodeType": "ParameterList", "parameters": [], - "src": "3750:2:0" + "src": "3750:2:1" }, "payable": false, "returnParameters": { - "id": 270, + "id": 775, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 269, + "id": 774, "name": "", "nodeType": "VariableDeclaration", - "scope": 313, - "src": "3768:4:0", + "scope": 818, + "src": "3768:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4406,10 +4406,10 @@ "typeString": "uint256" }, "typeName": { - "id": 268, + "id": 773, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3768:4:0", + "src": "3768:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4419,43 +4419,43 @@ "visibility": "internal" } ], - "src": "3767:6:0" + "src": "3767:6:1" }, - "scope": 443, - "src": "3720:430:0", + "scope": 948, + "src": "3720:430:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 321, + "id": 826, "nodeType": "Block", - "src": "4227:45:0", + "src": "4227:45:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 319, + "id": 824, "name": "supportAgentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 21, - "src": "4245:19:0", + "referencedDeclaration": 526, + "src": "4245:19:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 318, - "id": 320, + "functionReturnParameters": 823, + "id": 825, "nodeType": "Return", - "src": "4238:26:0" + "src": "4238:26:1" } ] }, "documentation": null, - "id": 322, + "id": 827, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4463,23 +4463,23 @@ "name": "findAllSupportAgents", "nodeType": "FunctionDefinition", "parameters": { - "id": 314, + "id": 819, "nodeType": "ParameterList", "parameters": [], - "src": "4193:2:0" + "src": "4193:2:1" }, "payable": false, "returnParameters": { - "id": 318, + "id": 823, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 317, + "id": 822, "name": "", "nodeType": "VariableDeclaration", - "scope": 322, - "src": "4216:9:0", + "scope": 827, + "src": "4216:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4488,19 +4488,19 @@ }, "typeName": { "baseType": { - "id": 315, + "id": 820, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4216:7:0", + "src": "4216:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 316, + "id": 821, "length": null, "nodeType": "ArrayTypeName", - "src": "4216:9:0", + "src": "4216:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -4510,19 +4510,19 @@ "visibility": "internal" } ], - "src": "4215:11:0" + "src": "4215:11:1" }, - "scope": 443, - "src": "4164:108:0", + "scope": 948, + "src": "4164:108:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 335, + "id": 840, "nodeType": "Block", - "src": "4358:61:0", + "src": "4358:61:1", "statements": [ { "expression": { @@ -4534,26 +4534,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 329, + "id": 834, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "4377:13:0", + "referencedDeclaration": 523, + "src": "4377:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 331, + "id": 836, "indexExpression": { "argumentTypes": null, - "id": 330, + "id": 835, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 324, - "src": "4391:5:0", + "referencedDeclaration": 829, + "src": "4391:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4564,49 +4564,49 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4377:20:0", + "src": "4377:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 332, + "id": 837, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "agentAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "4377:33:0", + "referencedDeclaration": 508, + "src": "4377:33:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 333, + "id": 838, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "4376:35:0", + "src": "4376:35:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 328, - "id": 334, + "functionReturnParameters": 833, + "id": 839, "nodeType": "Return", - "src": "4369:42:0" + "src": "4369:42:1" } ] }, "documentation": null, - "id": 336, + "id": 841, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4614,16 +4614,16 @@ "name": "findSupportAgentAddressById", "nodeType": "FunctionDefinition", "parameters": { - "id": 325, + "id": 830, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 324, + "id": 829, "name": "index", "nodeType": "VariableDeclaration", - "scope": 336, - "src": "4317:10:0", + "scope": 841, + "src": "4317:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4631,10 +4631,10 @@ "typeString": "uint256" }, "typeName": { - "id": 323, + "id": 828, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4317:4:0", + "src": "4317:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4644,20 +4644,20 @@ "visibility": "internal" } ], - "src": "4316:12:0" + "src": "4316:12:1" }, "payable": false, "returnParameters": { - "id": 328, + "id": 833, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 327, + "id": 832, "name": "", "nodeType": "VariableDeclaration", - "scope": 336, - "src": "4349:7:0", + "scope": 841, + "src": "4349:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4665,10 +4665,10 @@ "typeString": "address" }, "typeName": { - "id": 326, + "id": 831, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4349:7:0", + "src": "4349:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4678,19 +4678,19 @@ "visibility": "internal" } ], - "src": "4348:9:0" + "src": "4348:9:1" }, - "scope": 443, - "src": "4280:139:0", + "scope": 948, + "src": "4280:139:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 356, + "id": 861, "nodeType": "Block", - "src": "4507:210:0", + "src": "4507:210:1", "statements": [ { "expression": { @@ -4702,7 +4702,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 348, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -4711,26 +4711,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 344, + "id": 849, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "4542:14:0", + "referencedDeclaration": 537, + "src": "4542:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 346, + "id": 851, "indexExpression": { "argumentTypes": null, - "id": 345, + "id": 850, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 338, - "src": "4557:8:0", + "referencedDeclaration": 843, + "src": "4557:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4741,7 +4741,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4542:24:0", + "src": "4542:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4752,14 +4752,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 347, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "4570:4:0", + "src": "4570:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -4767,7 +4767,7 @@ }, "value": "true" }, - "src": "4542:32:0", + "src": "4542:32:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4776,14 +4776,14 @@ { "argumentTypes": null, "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", - "id": 349, + "id": 854, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4589:49:0", + "src": "4589:49:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", @@ -4803,21 +4803,21 @@ "typeString": "literal_string \"There is no such agent with the given address !\"" } ], - "id": 343, + "id": 848, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "4520:7:0", + "referencedDeclaration": 1969, + "src": "4520:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 350, + "id": 855, "isConstant": false, "isLValue": false, "isPure": false, @@ -4825,41 +4825,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4520:133:0", + "src": "4520:133:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 351, + "id": 856, "nodeType": "ExpressionStatement", - "src": "4520:133:0" + "src": "4520:133:1" }, { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 352, + "id": 857, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "4685:12:0", + "referencedDeclaration": 530, + "src": "4685:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 354, + "id": 859, "indexExpression": { "argumentTypes": null, - "id": 353, + "id": 858, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 338, - "src": "4698:8:0", + "referencedDeclaration": 843, + "src": "4698:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4870,21 +4870,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4685:22:0", + "src": "4685:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 342, - "id": 355, + "functionReturnParameters": 847, + "id": 860, "nodeType": "Return", - "src": "4678:29:0" + "src": "4678:29:1" } ] }, "documentation": null, - "id": 357, + "id": 862, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4892,16 +4892,16 @@ "name": "findSupportAgentArrayIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 339, + "id": 844, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 338, + "id": 843, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 357, - "src": "4463:16:0", + "scope": 862, + "src": "4463:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4909,10 +4909,10 @@ "typeString": "address" }, "typeName": { - "id": 337, + "id": 842, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4463:7:0", + "src": "4463:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4922,20 +4922,20 @@ "visibility": "internal" } ], - "src": "4462:18:0" + "src": "4462:18:1" }, "payable": false, "returnParameters": { - "id": 342, + "id": 847, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 341, + "id": 846, "name": "", "nodeType": "VariableDeclaration", - "scope": 357, - "src": "4501:4:0", + "scope": 862, + "src": "4501:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4943,10 +4943,10 @@ "typeString": "uint256" }, "typeName": { - "id": 340, + "id": 845, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4501:4:0", + "src": "4501:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4956,19 +4956,19 @@ "visibility": "internal" } ], - "src": "4500:6:0" + "src": "4500:6:1" }, - "scope": 443, - "src": "4427:290:0", + "scope": 948, + "src": "4427:290:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 385, + "id": 890, "nodeType": "Block", - "src": "4806:281:0", + "src": "4806:281:1", "statements": [ { "expression": { @@ -4980,7 +4980,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 369, + "id": 874, "isConstant": false, "isLValue": false, "isPure": false, @@ -4989,26 +4989,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 365, + "id": 870, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "4839:14:0", + "referencedDeclaration": 537, + "src": "4839:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 367, + "id": 872, "indexExpression": { "argumentTypes": null, - "id": 366, + "id": 871, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 359, - "src": "4854:8:0", + "referencedDeclaration": 864, + "src": "4854:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5019,7 +5019,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4839:24:0", + "src": "4839:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5030,14 +5030,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 368, + "id": 873, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "4867:4:0", + "src": "4867:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -5045,7 +5045,7 @@ }, "value": "true" }, - "src": "4839:32:0", + "src": "4839:32:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5054,14 +5054,14 @@ { "argumentTypes": null, "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", - "id": 370, + "id": 875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4886:49:0", + "src": "4886:49:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", @@ -5081,21 +5081,21 @@ "typeString": "literal_string \"There is no such agent with the given address !\"" } ], - "id": 364, + "id": 869, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "4817:7:0", + "referencedDeclaration": 1969, + "src": "4817:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 371, + "id": 876, "isConstant": false, "isLValue": false, "isPure": false, @@ -5103,28 +5103,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4817:133:0", + "src": "4817:133:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 372, + "id": 877, "nodeType": "ExpressionStatement", - "src": "4817:133:0" + "src": "4817:133:1" }, { "assignments": [ - 374 + 879 ], "declarations": [ { "constant": false, - "id": 374, + "id": 879, "name": "index", "nodeType": "VariableDeclaration", - "scope": 386, - "src": "4981:13:0", + "scope": 891, + "src": "4981:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5132,10 +5132,10 @@ "typeString": "uint256" }, "typeName": { - "id": 373, + "id": 878, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4981:7:0", + "src": "4981:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5145,31 +5145,31 @@ "visibility": "internal" } ], - "id": 378, + "id": 883, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 375, + "id": 880, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "4997:12:0", + "referencedDeclaration": 530, + "src": "4997:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 377, + "id": 882, "indexExpression": { "argumentTypes": null, - "id": 376, + "id": 881, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 359, - "src": "5010:8:0", + "referencedDeclaration": 864, + "src": "5010:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5180,14 +5180,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4997:22:0", + "src": "4997:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "4981:38:0" + "src": "4981:38:1" }, { "expression": { @@ -5199,26 +5199,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 379, + "id": 884, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "5052:13:0", + "referencedDeclaration": 523, + "src": "5052:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 381, + "id": 886, "indexExpression": { "argumentTypes": null, - "id": 380, + "id": 885, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 374, - "src": "5066:5:0", + "referencedDeclaration": 879, + "src": "5066:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5229,49 +5229,49 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5052:20:0", + "src": "5052:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 382, + "id": 887, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "email", "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "5052:26:0", + "referencedDeclaration": 510, + "src": "5052:26:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } } ], - "id": 383, + "id": 888, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "5051:28:0", + "src": "5051:28:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 363, - "id": 384, + "functionReturnParameters": 868, + "id": 889, "nodeType": "Return", - "src": "5044:35:0" + "src": "5044:35:1" } ] }, "documentation": null, - "id": 386, + "id": 891, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5279,16 +5279,16 @@ "name": "getAgentEmail", "nodeType": "FunctionDefinition", "parameters": { - "id": 360, + "id": 865, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 359, + "id": 864, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 386, - "src": "4754:16:0", + "scope": 891, + "src": "4754:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5296,10 +5296,10 @@ "typeString": "address" }, "typeName": { - "id": 358, + "id": 863, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4754:7:0", + "src": "4754:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5309,20 +5309,20 @@ "visibility": "internal" } ], - "src": "4753:18:0" + "src": "4753:18:1" }, "payable": false, "returnParameters": { - "id": 363, + "id": 868, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 362, + "id": 867, "name": "", "nodeType": "VariableDeclaration", - "scope": 386, - "src": "4792:6:0", + "scope": 891, + "src": "4792:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5330,10 +5330,10 @@ "typeString": "string" }, "typeName": { - "id": 361, + "id": 866, "name": "string", "nodeType": "ElementaryTypeName", - "src": "4792:6:0", + "src": "4792:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -5343,19 +5343,19 @@ "visibility": "internal" } ], - "src": "4791:8:0" + "src": "4791:8:1" }, - "scope": 443, - "src": "4731:356:0", + "scope": 948, + "src": "4731:356:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 432, + "id": 937, "nodeType": "Block", - "src": "5215:415:0", + "src": "5215:415:1", "statements": [ { "expression": { @@ -5367,7 +5367,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 404, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, @@ -5376,26 +5376,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 400, + "id": 905, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "5248:14:0", + "referencedDeclaration": 537, + "src": "5248:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 402, + "id": 907, "indexExpression": { "argumentTypes": null, - "id": 401, + "id": 906, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 388, - "src": "5263:8:0", + "referencedDeclaration": 893, + "src": "5263:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5406,7 +5406,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5248:24:0", + "src": "5248:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5417,14 +5417,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 403, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "5276:4:0", + "src": "5276:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -5432,7 +5432,7 @@ }, "value": "true" }, - "src": "5248:32:0", + "src": "5248:32:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5441,14 +5441,14 @@ { "argumentTypes": null, "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", - "id": 405, + "id": 910, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5295:49:0", + "src": "5295:49:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", @@ -5468,21 +5468,21 @@ "typeString": "literal_string \"There is no such agent with the given address !\"" } ], - "id": 399, + "id": 904, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "5226:7:0", + "referencedDeclaration": 1969, + "src": "5226:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 406, + "id": 911, "isConstant": false, "isLValue": false, "isPure": false, @@ -5490,28 +5490,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5226:133:0", + "src": "5226:133:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 407, + "id": 912, "nodeType": "ExpressionStatement", - "src": "5226:133:0" + "src": "5226:133:1" }, { "assignments": [ - 409 + 914 ], "declarations": [ { "constant": false, - "id": 409, + "id": 914, "name": "index", "nodeType": "VariableDeclaration", - "scope": 433, - "src": "5394:13:0", + "scope": 938, + "src": "5394:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5519,10 +5519,10 @@ "typeString": "uint256" }, "typeName": { - "id": 408, + "id": 913, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5394:7:0", + "src": "5394:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5532,31 +5532,31 @@ "visibility": "internal" } ], - "id": 413, + "id": 918, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 410, + "id": 915, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "5410:12:0", + "referencedDeclaration": 530, + "src": "5410:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 412, + "id": 917, "indexExpression": { "argumentTypes": null, - "id": 411, + "id": 916, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 388, - "src": "5423:8:0", + "referencedDeclaration": 893, + "src": "5423:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5567,14 +5567,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5410:22:0", + "src": "5410:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "5394:38:0" + "src": "5394:38:1" }, { "expression": { @@ -5586,26 +5586,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 414, + "id": 919, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "5479:13:0", + "referencedDeclaration": 523, + "src": "5479:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 416, + "id": 921, "indexExpression": { "argumentTypes": null, - "id": 415, + "id": 920, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 409, - "src": "5493:5:0", + "referencedDeclaration": 914, + "src": "5493:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5616,21 +5616,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5479:20:0", + "src": "5479:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 417, + "id": 922, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "email", "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "5479:26:0", + "referencedDeclaration": 510, + "src": "5479:26:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -5642,26 +5642,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 418, + "id": 923, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "5517:13:0", + "referencedDeclaration": 523, + "src": "5517:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 420, + "id": 925, "indexExpression": { "argumentTypes": null, - "id": 419, + "id": 924, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 409, - "src": "5531:5:0", + "referencedDeclaration": 914, + "src": "5531:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5672,21 +5672,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5517:20:0", + "src": "5517:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 421, + "id": 926, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "fName", "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "5517:26:0", + "referencedDeclaration": 512, + "src": "5517:26:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -5698,26 +5698,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 422, + "id": 927, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "5555:13:0", + "referencedDeclaration": 523, + "src": "5555:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 424, + "id": 929, "indexExpression": { "argumentTypes": null, - "id": 423, + "id": 928, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 409, - "src": "5569:5:0", + "referencedDeclaration": 914, + "src": "5569:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5728,21 +5728,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5555:20:0", + "src": "5555:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 425, + "id": 930, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lName", "nodeType": "MemberAccess", - "referencedDeclaration": 9, - "src": "5555:26:0", + "referencedDeclaration": 514, + "src": "5555:26:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -5754,26 +5754,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 426, + "id": 931, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "5592:13:0", + "referencedDeclaration": 523, + "src": "5592:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 428, + "id": 933, "indexExpression": { "argumentTypes": null, - "id": 427, + "id": 932, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 409, - "src": "5606:5:0", + "referencedDeclaration": 914, + "src": "5606:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5784,49 +5784,49 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5592:20:0", + "src": "5592:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 429, + "id": 934, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "timeZone", "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "5592:29:0", + "referencedDeclaration": 516, + "src": "5592:29:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } } ], - "id": 430, + "id": 935, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "5478:144:0", + "src": "5478:144:1", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_string_storage_$_t_string_storage_$_t_string_storage_$_t_string_storage_$", "typeString": "tuple(string storage ref,string storage ref,string storage ref,string storage ref)" } }, - "functionReturnParameters": 398, - "id": 431, + "functionReturnParameters": 903, + "id": 936, "nodeType": "Return", - "src": "5461:161:0" + "src": "5461:161:1" } ] }, "documentation": null, - "id": 433, + "id": 938, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5834,16 +5834,16 @@ "name": "findSupportAgentByAddress", "nodeType": "FunctionDefinition", "parameters": { - "id": 389, + "id": 894, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 388, + "id": 893, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 433, - "src": "5139:16:0", + "scope": 938, + "src": "5139:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5851,10 +5851,10 @@ "typeString": "address" }, "typeName": { - "id": 387, + "id": 892, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5139:7:0", + "src": "5139:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5864,20 +5864,20 @@ "visibility": "internal" } ], - "src": "5138:18:0" + "src": "5138:18:1" }, "payable": false, "returnParameters": { - "id": 398, + "id": 903, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 391, + "id": 896, "name": "", "nodeType": "VariableDeclaration", - "scope": 433, - "src": "5177:6:0", + "scope": 938, + "src": "5177:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5885,10 +5885,10 @@ "typeString": "string" }, "typeName": { - "id": 390, + "id": 895, "name": "string", "nodeType": "ElementaryTypeName", - "src": "5177:6:0", + "src": "5177:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -5899,11 +5899,11 @@ }, { "constant": false, - "id": 393, + "id": 898, "name": "", "nodeType": "VariableDeclaration", - "scope": 433, - "src": "5185:6:0", + "scope": 938, + "src": "5185:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5911,10 +5911,10 @@ "typeString": "string" }, "typeName": { - "id": 392, + "id": 897, "name": "string", "nodeType": "ElementaryTypeName", - "src": "5185:6:0", + "src": "5185:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -5925,11 +5925,11 @@ }, { "constant": false, - "id": 395, + "id": 900, "name": "", "nodeType": "VariableDeclaration", - "scope": 433, - "src": "5193:6:0", + "scope": 938, + "src": "5193:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5937,10 +5937,10 @@ "typeString": "string" }, "typeName": { - "id": 394, + "id": 899, "name": "string", "nodeType": "ElementaryTypeName", - "src": "5193:6:0", + "src": "5193:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -5951,11 +5951,11 @@ }, { "constant": false, - "id": 397, + "id": 902, "name": "", "nodeType": "VariableDeclaration", - "scope": 433, - "src": "5201:6:0", + "scope": 938, + "src": "5201:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5963,10 +5963,10 @@ "typeString": "string" }, "typeName": { - "id": 396, + "id": 901, "name": "string", "nodeType": "ElementaryTypeName", - "src": "5201:6:0", + "src": "5201:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -5976,37 +5976,37 @@ "visibility": "internal" } ], - "src": "5176:32:0" + "src": "5176:32:1" }, - "scope": 443, - "src": "5104:526:0", + "scope": 948, + "src": "5104:526:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 441, + "id": 946, "nodeType": "Block", - "src": "5709:43:0", + "src": "5709:43:1", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 438, + "id": 943, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "5727:10:0", + "referencedDeclaration": 533, + "src": "5727:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 439, + "id": 944, "isConstant": false, "isLValue": true, "isPure": false, @@ -6014,21 +6014,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5727:17:0", + "src": "5727:17:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 437, - "id": 440, + "functionReturnParameters": 942, + "id": 945, "nodeType": "Return", - "src": "5720:24:0" + "src": "5720:24:1" } ] }, "documentation": null, - "id": 442, + "id": 947, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -6036,23 +6036,23 @@ "name": "countSupportAgents", "nodeType": "FunctionDefinition", "parameters": { - "id": 434, + "id": 939, "nodeType": "ParameterList", "parameters": [], - "src": "5677:2:0" + "src": "5677:2:1" }, "payable": false, "returnParameters": { - "id": 437, + "id": 942, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 436, + "id": 941, "name": "", "nodeType": "VariableDeclaration", - "scope": 442, - "src": "5700:7:0", + "scope": 947, + "src": "5700:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6060,10 +6060,10 @@ "typeString": "uint256" }, "typeName": { - "id": 435, + "id": 940, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5700:7:0", + "src": "5700:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6073,33 +6073,33 @@ "visibility": "internal" } ], - "src": "5699:9:0" + "src": "5699:9:1" }, - "scope": 443, - "src": "5650:102:0", + "scope": 948, + "src": "5650:102:1", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], - "scope": 444, - "src": "30:5731:0" + "scope": 949, + "src": "30:5731:1" } ], - "src": "0:5761:0" + "src": "0:5761:1" }, "legacyAST": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Company.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Company.sol", "exportedSymbols": { "Company": [ - 443 + 948 ] }, - "id": 444, + "id": 949, "nodeType": "SourceUnit", "nodes": [ { - "id": 1, + "id": 506, "literals": [ "solidity", "^", @@ -6107,7 +6107,7 @@ ".18" ], "nodeType": "PragmaDirective", - "src": "0:26:0" + "src": "0:26:1" }, { "baseContracts": [], @@ -6115,24 +6115,24 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 443, + "id": 948, "linearizedBaseContracts": [ - 443 + 948 ], "name": "Company", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "Company.SupportAgent", - "id": 14, + "id": 519, "members": [ { "constant": false, - "id": 3, + "id": 508, "name": "agentAddress", "nodeType": "VariableDeclaration", - "scope": 14, - "src": "87:20:0", + "scope": 519, + "src": "87:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6140,10 +6140,10 @@ "typeString": "address" }, "typeName": { - "id": 2, + "id": 507, "name": "address", "nodeType": "ElementaryTypeName", - "src": "87:7:0", + "src": "87:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6154,11 +6154,11 @@ }, { "constant": false, - "id": 5, + "id": 510, "name": "email", "nodeType": "VariableDeclaration", - "scope": 14, - "src": "118:12:0", + "scope": 519, + "src": "118:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6166,10 +6166,10 @@ "typeString": "string" }, "typeName": { - "id": 4, + "id": 509, "name": "string", "nodeType": "ElementaryTypeName", - "src": "118:6:0", + "src": "118:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6180,11 +6180,11 @@ }, { "constant": false, - "id": 7, + "id": 512, "name": "fName", "nodeType": "VariableDeclaration", - "scope": 14, - "src": "141:12:0", + "scope": 519, + "src": "141:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6192,10 +6192,10 @@ "typeString": "string" }, "typeName": { - "id": 6, + "id": 511, "name": "string", "nodeType": "ElementaryTypeName", - "src": "141:6:0", + "src": "141:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6206,11 +6206,11 @@ }, { "constant": false, - "id": 9, + "id": 514, "name": "lName", "nodeType": "VariableDeclaration", - "scope": 14, - "src": "164:12:0", + "scope": 519, + "src": "164:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6218,10 +6218,10 @@ "typeString": "string" }, "typeName": { - "id": 8, + "id": 513, "name": "string", "nodeType": "ElementaryTypeName", - "src": "164:6:0", + "src": "164:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6232,11 +6232,11 @@ }, { "constant": false, - "id": 11, + "id": 516, "name": "timeZone", "nodeType": "VariableDeclaration", - "scope": 14, - "src": "187:15:0", + "scope": 519, + "src": "187:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6244,10 +6244,10 @@ "typeString": "string" }, "typeName": { - "id": 10, + "id": 515, "name": "string", "nodeType": "ElementaryTypeName", - "src": "187:6:0", + "src": "187:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6258,11 +6258,11 @@ }, { "constant": false, - "id": 13, + "id": 518, "name": "index", "nodeType": "VariableDeclaration", - "scope": 14, - "src": "213:10:0", + "scope": 519, + "src": "213:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6270,10 +6270,10 @@ "typeString": "uint256" }, "typeName": { - "id": 12, + "id": 517, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "213:4:0", + "src": "213:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6285,50 +6285,50 @@ ], "name": "SupportAgent", "nodeType": "StructDefinition", - "scope": 443, - "src": "56:175:0", + "scope": 948, + "src": "56:175:1", "visibility": "public" }, { "constant": false, - "id": 18, + "id": 523, "name": "SupportAgents", "nodeType": "VariableDeclaration", - "scope": 443, - "src": "239:54:0", + "scope": 948, + "src": "239:54:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent)" }, "typeName": { - "id": 17, + "id": 522, "keyType": { - "id": 15, + "id": 520, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "247:7:0", + "src": "247:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "239:32:0", + "src": "239:32:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent)" }, "valueType": { "contractScope": null, - "id": 16, + "id": 521, "name": "SupportAgent", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 14, - "src": "258:12:0", + "referencedDeclaration": 519, + "src": "258:12:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage_ptr", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage_ptr", "typeString": "struct Company.SupportAgent" } } @@ -6338,11 +6338,11 @@ }, { "constant": false, - "id": 21, + "id": 526, "name": "supportAgentRecords", "nodeType": "VariableDeclaration", - "scope": 443, - "src": "300:36:0", + "scope": 948, + "src": "300:36:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -6351,19 +6351,19 @@ }, "typeName": { "baseType": { - "id": 19, + "id": 524, "name": "address", "nodeType": "ElementaryTypeName", - "src": "300:7:0", + "src": "300:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 20, + "id": 525, "length": null, "nodeType": "ArrayTypeName", - "src": "300:9:0", + "src": "300:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -6374,11 +6374,11 @@ }, { "constant": false, - "id": 25, + "id": 530, "name": "agentRecords", "nodeType": "VariableDeclaration", - "scope": 443, - "src": "349:48:0", + "scope": 948, + "src": "349:48:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -6386,28 +6386,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 24, + "id": 529, "keyType": { - "id": 22, + "id": 527, "name": "address", "nodeType": "ElementaryTypeName", - "src": "357:7:0", + "src": "357:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "349:27:0", + "src": "349:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 23, + "id": 528, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "368:7:0", + "src": "368:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6419,11 +6419,11 @@ }, { "constant": false, - "id": 28, + "id": 533, "name": "agentIndex", "nodeType": "VariableDeclaration", - "scope": 443, - "src": "410:28:0", + "scope": 948, + "src": "410:28:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -6432,19 +6432,19 @@ }, "typeName": { "baseType": { - "id": 26, + "id": 531, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "410:7:0", + "src": "410:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 27, + "id": 532, "length": null, "nodeType": "ArrayTypeName", - "src": "410:9:0", + "src": "410:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" @@ -6455,11 +6455,11 @@ }, { "constant": false, - "id": 32, + "id": 537, "name": "isSupportAgent", "nodeType": "VariableDeclaration", - "scope": 443, - "src": "457:46:0", + "scope": 948, + "src": "457:46:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -6467,28 +6467,28 @@ "typeString": "mapping(address => bool)" }, "typeName": { - "id": 31, + "id": 536, "keyType": { - "id": 29, + "id": 534, "name": "address", "nodeType": "ElementaryTypeName", - "src": "465:7:0", + "src": "465:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "457:24:0", + "src": "457:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 30, + "id": 535, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "476:4:0", + "src": "476:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6500,9 +6500,9 @@ }, { "body": { - "id": 44, + "id": 549, "nodeType": "Block", - "src": "669:69:0", + "src": "669:69:1", "statements": [ { "expression": { @@ -6510,7 +6510,7 @@ "arguments": [ { "argumentTypes": null, - "id": 40, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, @@ -6518,31 +6518,31 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "688:29:0", + "src": "688:29:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 37, + "id": 542, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "689:14:0", + "referencedDeclaration": 537, + "src": "689:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 39, + "id": 544, "indexExpression": { "argumentTypes": null, - "id": 38, + "id": 543, "name": "supportagent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 34, - "src": "704:12:0", + "referencedDeclaration": 539, + "src": "704:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6553,7 +6553,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "689:28:0", + "src": "689:28:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6572,21 +6572,21 @@ "typeString": "bool" } ], - "id": 36, + "id": 541, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 461, - "src": "680:7:0", + "referencedDeclaration": 1968, + "src": "680:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 41, + "id": 546, "isConstant": false, "isLValue": false, "isPure": false, @@ -6594,38 +6594,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "680:38:0", + "src": "680:38:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 42, + "id": 547, "nodeType": "ExpressionStatement", - "src": "680:38:0" + "src": "680:38:1" }, { - "id": 43, + "id": 548, "nodeType": "PlaceholderStatement", - "src": "729:1:0" + "src": "729:1:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 45, + "id": 550, "name": "agentDoesNotExist", "nodeType": "ModifierDefinition", "parameters": { - "id": 35, + "id": 540, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 34, + "id": 539, "name": "supportagent", "nodeType": "VariableDeclaration", - "scope": 45, - "src": "647:20:0", + "scope": 550, + "src": "647:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6633,10 +6633,10 @@ "typeString": "address" }, "typeName": { - "id": 33, + "id": 538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "647:7:0", + "src": "647:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6646,16 +6646,16 @@ "visibility": "internal" } ], - "src": "646:22:0" + "src": "646:22:1" }, - "src": "620:118:0", + "src": "620:118:1", "visibility": "internal" }, { "body": { - "id": 56, + "id": 561, "nodeType": "Block", - "src": "788:68:0", + "src": "788:68:1", "statements": [ { "expression": { @@ -6665,26 +6665,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 50, + "id": 555, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "807:14:0", + "referencedDeclaration": 537, + "src": "807:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 52, + "id": 557, "indexExpression": { "argumentTypes": null, - "id": 51, + "id": 556, "name": "supportagent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 47, - "src": "822:12:0", + "referencedDeclaration": 552, + "src": "822:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6695,7 +6695,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "807:28:0", + "src": "807:28:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6709,21 +6709,21 @@ "typeString": "bool" } ], - "id": 49, + "id": 554, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 461, - "src": "799:7:0", + "referencedDeclaration": 1968, + "src": "799:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 53, + "id": 558, "isConstant": false, "isLValue": false, "isPure": false, @@ -6731,38 +6731,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "799:37:0", + "src": "799:37:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 54, + "id": 559, "nodeType": "ExpressionStatement", - "src": "799:37:0" + "src": "799:37:1" }, { - "id": 55, + "id": 560, "nodeType": "PlaceholderStatement", - "src": "847:1:0" + "src": "847:1:1" } ] }, "documentation": null, - "id": 57, + "id": 562, "name": "agentExist", "nodeType": "ModifierDefinition", "parameters": { - "id": 48, + "id": 553, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 47, + "id": 552, "name": "supportagent", "nodeType": "VariableDeclaration", - "scope": 57, - "src": "766:20:0", + "scope": 562, + "src": "766:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6770,10 +6770,10 @@ "typeString": "address" }, "typeName": { - "id": 46, + "id": 551, "name": "address", "nodeType": "ElementaryTypeName", - "src": "766:7:0", + "src": "766:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6783,16 +6783,16 @@ "visibility": "internal" } ], - "src": "765:22:0" + "src": "765:22:1" }, - "src": "746:110:0", + "src": "746:110:1", "visibility": "internal" }, { "body": { - "id": 68, + "id": 573, "nodeType": "Block", - "src": "899:53:0", + "src": "899:53:1", "statements": [ { "expression": { @@ -6804,19 +6804,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 64, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 62, + "id": 567, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 59, - "src": "918:8:0", + "referencedDeclaration": 564, + "src": "918:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6827,14 +6827,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 63, + "id": 568, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "930:1:0", + "src": "930:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -6842,7 +6842,7 @@ }, "value": "0" }, - "src": "918:13:0", + "src": "918:13:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6856,21 +6856,21 @@ "typeString": "bool" } ], - "id": 61, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 461, - "src": "910:7:0", + "referencedDeclaration": 1968, + "src": "910:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 65, + "id": 570, "isConstant": false, "isLValue": false, "isPure": false, @@ -6878,38 +6878,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "910:22:0", + "src": "910:22:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 66, + "id": 571, "nodeType": "ExpressionStatement", - "src": "910:22:0" + "src": "910:22:1" }, { - "id": 67, + "id": 572, "nodeType": "PlaceholderStatement", - "src": "943:1:0" + "src": "943:1:1" } ] }, "documentation": null, - "id": 69, + "id": 574, "name": "notNull", "nodeType": "ModifierDefinition", "parameters": { - "id": 60, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 59, + "id": 564, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 69, - "src": "881:16:0", + "scope": 574, + "src": "881:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6917,10 +6917,10 @@ "typeString": "address" }, "typeName": { - "id": 58, + "id": 563, "name": "address", "nodeType": "ElementaryTypeName", - "src": "881:7:0", + "src": "881:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6930,16 +6930,16 @@ "visibility": "internal" } ], - "src": "880:18:0" + "src": "880:18:1" }, - "src": "864:88:0", + "src": "864:88:1", "visibility": "internal" }, { "body": { - "id": 214, + "id": 719, "nodeType": "Block", - "src": "1217:1899:0", + "src": "1217:1899:1", "statements": [ { "expression": { @@ -6951,7 +6951,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 89, + "id": 594, "isConstant": false, "isLValue": false, "isPure": false, @@ -6960,26 +6960,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 85, + "id": 590, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "1788:14:0", + "referencedDeclaration": 537, + "src": "1788:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 87, + "id": 592, "indexExpression": { "argumentTypes": null, - "id": 86, + "id": 591, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 71, - "src": "1803:8:0", + "referencedDeclaration": 576, + "src": "1803:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6990,7 +6990,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1788:24:0", + "src": "1788:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7001,14 +7001,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 88, + "id": 593, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1816:5:0", + "src": "1816:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -7016,7 +7016,7 @@ }, "value": "false" }, - "src": "1788:33:0", + "src": "1788:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7025,14 +7025,14 @@ { "argumentTypes": null, "hexValue": "4167656e7420616c72656164792065786973742021", - "id": 90, + "id": 595, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1836:23:0", + "src": "1836:23:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_cf05af21c42bc46dd555c3e9e69f3fa78dfb0860489b964e3d12cf994acd9d91", @@ -7052,21 +7052,21 @@ "typeString": "literal_string \"Agent already exist !\"" } ], - "id": 84, + "id": 589, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "1766:7:0", + "referencedDeclaration": 1969, + "src": "1766:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 91, + "id": 596, "isConstant": false, "isLValue": false, "isPure": false, @@ -7074,15 +7074,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1766:108:0", + "src": "1766:108:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 92, + "id": 597, "nodeType": "ExpressionStatement", - "src": "1766:108:0" + "src": "1766:108:1" }, { "expression": { @@ -7094,7 +7094,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 102, + "id": 607, "isConstant": false, "isLValue": false, "isPure": false, @@ -7108,7 +7108,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 99, + "id": 604, "isConstant": false, "isLValue": false, "isPure": false, @@ -7120,12 +7120,12 @@ "arguments": [ { "argumentTypes": null, - "id": 95, + "id": 600, "name": "_email", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 73, - "src": "1946:6:0", + "referencedDeclaration": 578, + "src": "1946:6:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7139,20 +7139,20 @@ "typeString": "string memory" } ], - "id": 94, + "id": 599, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "1940:5:0", + "src": "1940:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": "bytes" }, - "id": 96, + "id": 601, "isConstant": false, "isLValue": false, "isPure": false, @@ -7160,13 +7160,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1940:13:0", + "src": "1940:13:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, - "id": 97, + "id": 602, "isConstant": false, "isLValue": false, "isPure": false, @@ -7174,7 +7174,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1940:20:0", + "src": "1940:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7185,14 +7185,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "35", - "id": 98, + "id": 603, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1963:1:0", + "src": "1963:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_5_by_1", @@ -7200,21 +7200,21 @@ }, "value": "5" }, - "src": "1940:24:0", + "src": "1940:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 100, + "id": 605, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "1939:26:0", + "src": "1939:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7225,14 +7225,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 101, + "id": 606, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1967:5:0", + "src": "1967:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -7240,7 +7240,7 @@ }, "value": "false" }, - "src": "1939:33:0", + "src": "1939:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7249,14 +7249,14 @@ { "argumentTypes": null, "hexValue": "496e76616c696420456d61696c20616464726573732021", - "id": 103, + "id": 608, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1987:25:0", + "src": "1987:25:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_ebbe95df7058c1a391298274699fe83b8627312fc7f82b26ef5fb123858078ea", @@ -7276,21 +7276,21 @@ "typeString": "literal_string \"Invalid Email address !\"" } ], - "id": 93, + "id": 598, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "1917:7:0", + "referencedDeclaration": 1969, + "src": "1917:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 104, + "id": 609, "isConstant": false, "isLValue": false, "isPure": false, @@ -7298,15 +7298,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1917:110:0", + "src": "1917:110:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 105, + "id": 610, "nodeType": "ExpressionStatement", - "src": "1917:110:0" + "src": "1917:110:1" }, { "expression": { @@ -7318,7 +7318,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 115, + "id": 620, "isConstant": false, "isLValue": false, "isPure": false, @@ -7332,7 +7332,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 112, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, @@ -7344,12 +7344,12 @@ "arguments": [ { "argumentTypes": null, - "id": 108, + "id": 613, "name": "_fName", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 75, - "src": "2073:6:0", + "referencedDeclaration": 580, + "src": "2073:6:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7363,20 +7363,20 @@ "typeString": "string memory" } ], - "id": 107, + "id": 612, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2067:5:0", + "src": "2067:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": "bytes" }, - "id": 109, + "id": 614, "isConstant": false, "isLValue": false, "isPure": false, @@ -7384,13 +7384,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2067:13:0", + "src": "2067:13:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, - "id": 110, + "id": 615, "isConstant": false, "isLValue": false, "isPure": false, @@ -7398,7 +7398,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2067:20:0", + "src": "2067:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7409,14 +7409,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "33", - "id": 111, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2090:1:0", + "src": "2090:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_3_by_1", @@ -7424,21 +7424,21 @@ }, "value": "3" }, - "src": "2067:24:0", + "src": "2067:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 113, + "id": 618, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2066:26:0", + "src": "2066:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7449,14 +7449,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 114, + "id": 619, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2094:5:0", + "src": "2094:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -7464,7 +7464,7 @@ }, "value": "false" }, - "src": "2066:33:0", + "src": "2066:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7473,14 +7473,14 @@ { "argumentTypes": null, "hexValue": "4669727374206e616d652073686f756c6420636f6e7461696e206d696e696d756d2033206c657474657273", - "id": 116, + "id": 621, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2114:45:0", + "src": "2114:45:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_5f9dc8fd126aa581a445c3053d9bd6918365229d33711d8efb0ce486a628db32", @@ -7500,21 +7500,21 @@ "typeString": "literal_string \"First name should contain minimum 3 letters\"" } ], - "id": 106, + "id": 611, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "2044:7:0", + "referencedDeclaration": 1969, + "src": "2044:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 117, + "id": 622, "isConstant": false, "isLValue": false, "isPure": false, @@ -7522,15 +7522,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2044:130:0", + "src": "2044:130:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 118, + "id": 623, "nodeType": "ExpressionStatement", - "src": "2044:130:0" + "src": "2044:130:1" }, { "expression": { @@ -7542,7 +7542,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 128, + "id": 633, "isConstant": false, "isLValue": false, "isPure": false, @@ -7556,7 +7556,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 125, + "id": 630, "isConstant": false, "isLValue": false, "isPure": false, @@ -7568,12 +7568,12 @@ "arguments": [ { "argumentTypes": null, - "id": 121, + "id": 626, "name": "_lName", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 77, - "src": "2232:6:0", + "referencedDeclaration": 582, + "src": "2232:6:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7587,20 +7587,20 @@ "typeString": "string memory" } ], - "id": 120, + "id": 625, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2226:5:0", + "src": "2226:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": "bytes" }, - "id": 122, + "id": 627, "isConstant": false, "isLValue": false, "isPure": false, @@ -7608,13 +7608,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2226:13:0", + "src": "2226:13:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, - "id": 123, + "id": 628, "isConstant": false, "isLValue": false, "isPure": false, @@ -7622,7 +7622,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2226:20:0", + "src": "2226:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7633,14 +7633,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "33", - "id": 124, + "id": 629, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2249:1:0", + "src": "2249:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_3_by_1", @@ -7648,21 +7648,21 @@ }, "value": "3" }, - "src": "2226:24:0", + "src": "2226:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 126, + "id": 631, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2225:26:0", + "src": "2225:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7673,14 +7673,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 127, + "id": 632, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2253:5:0", + "src": "2253:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -7688,7 +7688,7 @@ }, "value": "false" }, - "src": "2225:33:0", + "src": "2225:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7697,14 +7697,14 @@ { "argumentTypes": null, "hexValue": "4c617374206e616d652073686f756c6420636f6e7461696e206d696e696d756d2033206c657474657273", - "id": 129, + "id": 634, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2273:44:0", + "src": "2273:44:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_d67de0144365e2af8189ca3dbe099727a0009a350983897187eef357e87731ca", @@ -7724,21 +7724,21 @@ "typeString": "literal_string \"Last name should contain minimum 3 letters\"" } ], - "id": 119, + "id": 624, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "2203:7:0", + "referencedDeclaration": 1969, + "src": "2203:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 130, + "id": 635, "isConstant": false, "isLValue": false, "isPure": false, @@ -7746,15 +7746,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2203:129:0", + "src": "2203:129:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 131, + "id": 636, "nodeType": "ExpressionStatement", - "src": "2203:129:0" + "src": "2203:129:1" }, { "expression": { @@ -7766,7 +7766,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 141, + "id": 646, "isConstant": false, "isLValue": false, "isPure": false, @@ -7780,7 +7780,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 138, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, @@ -7792,12 +7792,12 @@ "arguments": [ { "argumentTypes": null, - "id": 134, + "id": 639, "name": "_timeZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 79, - "src": "2402:9:0", + "referencedDeclaration": 584, + "src": "2402:9:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7811,20 +7811,20 @@ "typeString": "string memory" } ], - "id": 133, + "id": 638, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2396:5:0", + "src": "2396:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": "bytes" }, - "id": 135, + "id": 640, "isConstant": false, "isLValue": false, "isPure": false, @@ -7832,13 +7832,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2396:16:0", + "src": "2396:16:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, - "id": 136, + "id": 641, "isConstant": false, "isLValue": false, "isPure": false, @@ -7846,7 +7846,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2396:23:0", + "src": "2396:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7857,14 +7857,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "33", - "id": 137, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2422:1:0", + "src": "2422:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_3_by_1", @@ -7872,21 +7872,21 @@ }, "value": "3" }, - "src": "2396:27:0", + "src": "2396:27:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 139, + "id": 644, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2395:29:0", + "src": "2395:29:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7897,14 +7897,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 140, + "id": 645, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2426:5:0", + "src": "2426:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -7912,7 +7912,7 @@ }, "value": "false" }, - "src": "2395:36:0", + "src": "2395:36:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7921,14 +7921,14 @@ { "argumentTypes": null, "hexValue": "54696d657a6f6e6520697320496e76616c6964", - "id": 142, + "id": 647, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2446:21:0", + "src": "2446:21:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_bdd71664d7dbc0937c6d7d9afe7f7d88cb6272238aa1bd5a76c90e070c4fd904", @@ -7948,21 +7948,21 @@ "typeString": "literal_string \"Timezone is Invalid\"" } ], - "id": 132, + "id": 637, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "2373:7:0", + "referencedDeclaration": 1969, + "src": "2373:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 143, + "id": 648, "isConstant": false, "isLValue": false, "isPure": false, @@ -7970,28 +7970,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2373:109:0", + "src": "2373:109:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 144, + "id": 649, "nodeType": "ExpressionStatement", - "src": "2373:109:0" + "src": "2373:109:1" }, { "assignments": [ - 146 + 651 ], "declarations": [ { "constant": false, - "id": 146, + "id": 651, "name": "currentIndex", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "2513:20:0", + "scope": 720, + "src": "2513:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7999,10 +7999,10 @@ "typeString": "uint256" }, "typeName": { - "id": 145, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2513:7:0", + "src": "2513:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8012,24 +8012,24 @@ "visibility": "internal" } ], - "id": 149, + "id": 654, "initialValue": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], - "id": 147, + "id": 652, "name": "countSupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 442, - "src": "2536:18:0", + "referencedDeclaration": 947, + "src": "2536:18:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" } }, - "id": 148, + "id": 653, "isConstant": false, "isLValue": false, "isPure": false, @@ -8037,19 +8037,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2536:20:0", + "src": "2536:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "2513:43:0" + "src": "2513:43:1" }, { "expression": { "argumentTypes": null, - "id": 154, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, @@ -8058,26 +8058,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 150, + "id": 655, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "2567:14:0", + "referencedDeclaration": 537, + "src": "2567:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 152, + "id": 657, "indexExpression": { "argumentTypes": null, - "id": 151, + "id": 656, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 71, - "src": "2582:8:0", + "referencedDeclaration": 576, + "src": "2582:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8088,7 +8088,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2567:24:0", + "src": "2567:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8099,14 +8099,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 153, + "id": 658, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2594:4:0", + "src": "2594:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -8114,20 +8114,20 @@ }, "value": "true" }, - "src": "2567:31:0", + "src": "2567:31:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 155, + "id": 660, "nodeType": "ExpressionStatement", - "src": "2567:31:0" + "src": "2567:31:1" }, { "expression": { "argumentTypes": null, - "id": 161, + "id": 666, "isConstant": false, "isLValue": false, "isPure": false, @@ -8138,26 +8138,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 156, + "id": 661, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "2619:13:0", + "referencedDeclaration": 523, + "src": "2619:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 158, + "id": 663, "indexExpression": { "argumentTypes": null, - "id": 157, + "id": 662, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2633:12:0", + "referencedDeclaration": 651, + "src": "2633:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8168,21 +8168,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2619:27:0", + "src": "2619:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 159, + "id": 664, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "agentAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "2619:40:0", + "referencedDeclaration": 508, + "src": "2619:40:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8192,31 +8192,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 160, + "id": 665, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 71, - "src": "2662:8:0", + "referencedDeclaration": 576, + "src": "2662:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2619:51:0", + "src": "2619:51:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 162, + "id": 667, "nodeType": "ExpressionStatement", - "src": "2619:51:0" + "src": "2619:51:1" }, { "expression": { "argumentTypes": null, - "id": 168, + "id": 673, "isConstant": false, "isLValue": false, "isPure": false, @@ -8227,26 +8227,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 163, + "id": 668, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "2681:13:0", + "referencedDeclaration": 523, + "src": "2681:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 165, + "id": 670, "indexExpression": { "argumentTypes": null, - "id": 164, + "id": 669, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2695:12:0", + "referencedDeclaration": 651, + "src": "2695:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8257,21 +8257,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2681:27:0", + "src": "2681:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 166, + "id": 671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "email", "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "2681:33:0", + "referencedDeclaration": 510, + "src": "2681:33:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -8281,31 +8281,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 167, + "id": 672, "name": "_email", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 73, - "src": "2724:6:0", + "referencedDeclaration": 578, + "src": "2724:6:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "2681:49:0", + "src": "2681:49:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 169, + "id": 674, "nodeType": "ExpressionStatement", - "src": "2681:49:0" + "src": "2681:49:1" }, { "expression": { "argumentTypes": null, - "id": 175, + "id": 680, "isConstant": false, "isLValue": false, "isPure": false, @@ -8316,26 +8316,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 170, + "id": 675, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "2741:13:0", + "referencedDeclaration": 523, + "src": "2741:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 172, + "id": 677, "indexExpression": { "argumentTypes": null, - "id": 171, + "id": 676, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2755:12:0", + "referencedDeclaration": 651, + "src": "2755:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8346,21 +8346,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2741:27:0", + "src": "2741:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 173, + "id": 678, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "fName", "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "2741:33:0", + "referencedDeclaration": 512, + "src": "2741:33:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -8370,31 +8370,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 174, + "id": 679, "name": "_fName", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 75, - "src": "2784:6:0", + "referencedDeclaration": 580, + "src": "2784:6:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "2741:49:0", + "src": "2741:49:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 176, + "id": 681, "nodeType": "ExpressionStatement", - "src": "2741:49:0" + "src": "2741:49:1" }, { "expression": { "argumentTypes": null, - "id": 182, + "id": 687, "isConstant": false, "isLValue": false, "isPure": false, @@ -8405,26 +8405,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 177, + "id": 682, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "2801:13:0", + "referencedDeclaration": 523, + "src": "2801:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 179, + "id": 684, "indexExpression": { "argumentTypes": null, - "id": 178, + "id": 683, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2815:12:0", + "referencedDeclaration": 651, + "src": "2815:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8435,21 +8435,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2801:27:0", + "src": "2801:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 180, + "id": 685, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lName", "nodeType": "MemberAccess", - "referencedDeclaration": 9, - "src": "2801:33:0", + "referencedDeclaration": 514, + "src": "2801:33:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -8459,31 +8459,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 181, + "id": 686, "name": "_lName", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 77, - "src": "2844:6:0", + "referencedDeclaration": 582, + "src": "2844:6:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "2801:49:0", + "src": "2801:49:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 183, + "id": 688, "nodeType": "ExpressionStatement", - "src": "2801:49:0" + "src": "2801:49:1" }, { "expression": { "argumentTypes": null, - "id": 189, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8494,26 +8494,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 184, + "id": 689, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "2869:13:0", + "referencedDeclaration": 523, + "src": "2869:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 186, + "id": 691, "indexExpression": { "argumentTypes": null, - "id": 185, + "id": 690, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2883:12:0", + "referencedDeclaration": 651, + "src": "2883:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8524,21 +8524,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2869:27:0", + "src": "2869:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 187, + "id": 692, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "timeZone", "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "2869:36:0", + "referencedDeclaration": 516, + "src": "2869:36:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -8548,31 +8548,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 188, + "id": 693, "name": "_timeZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 79, - "src": "2912:9:0", + "referencedDeclaration": 584, + "src": "2912:9:1", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "2869:52:0", + "src": "2869:52:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 190, + "id": 695, "nodeType": "ExpressionStatement", - "src": "2869:52:0" + "src": "2869:52:1" }, { "expression": { "argumentTypes": null, - "id": 201, + "id": 706, "isConstant": false, "isLValue": false, "isPure": false, @@ -8583,26 +8583,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 191, + "id": 696, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "2934:13:0", + "referencedDeclaration": 523, + "src": "2934:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 193, + "id": 698, "indexExpression": { "argumentTypes": null, - "id": 192, + "id": 697, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2948:12:0", + "referencedDeclaration": 651, + "src": "2948:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8613,21 +8613,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2934:27:0", + "src": "2934:27:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 194, + "id": 699, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "index", "nodeType": "MemberAccess", - "referencedDeclaration": 13, - "src": "2934:33:0", + "referencedDeclaration": 518, + "src": "2934:33:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8641,7 +8641,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 200, + "id": 705, "isConstant": false, "isLValue": false, "isPure": false, @@ -8651,12 +8651,12 @@ "arguments": [ { "argumentTypes": null, - "id": 197, + "id": 702, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "2986:12:0", + "referencedDeclaration": 651, + "src": "2986:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8672,18 +8672,18 @@ ], "expression": { "argumentTypes": null, - "id": 195, + "id": 700, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "2970:10:0", + "referencedDeclaration": 533, + "src": "2970:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 196, + "id": 701, "isConstant": false, "isLValue": false, "isPure": false, @@ -8691,13 +8691,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2970:15:0", + "src": "2970:15:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256) returns (uint256)" } }, - "id": 198, + "id": 703, "isConstant": false, "isLValue": false, "isPure": false, @@ -8705,7 +8705,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2970:29:0", + "src": "2970:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8716,14 +8716,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 199, + "id": 704, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3002:1:0", + "src": "3002:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -8731,26 +8731,26 @@ }, "value": "1" }, - "src": "2970:33:0", + "src": "2970:33:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2934:69:0", + "src": "2934:69:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 202, + "id": 707, "nodeType": "ExpressionStatement", - "src": "2934:69:0" + "src": "2934:69:1" }, { "expression": { "argumentTypes": null, - "id": 207, + "id": 712, "isConstant": false, "isLValue": false, "isPure": false, @@ -8759,26 +8759,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 203, + "id": 708, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "3024:12:0", + "referencedDeclaration": 530, + "src": "3024:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 205, + "id": 710, "indexExpression": { "argumentTypes": null, - "id": 204, + "id": 709, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 71, - "src": "3037:8:0", + "referencedDeclaration": 576, + "src": "3037:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8789,7 +8789,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3024:22:0", + "src": "3024:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8799,26 +8799,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 206, + "id": 711, "name": "currentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 146, - "src": "3049:12:0", + "referencedDeclaration": 651, + "src": "3049:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3024:37:0", + "src": "3024:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 208, + "id": 713, "nodeType": "ExpressionStatement", - "src": "3024:37:0" + "src": "3024:37:1" }, { "expression": { @@ -8827,7 +8827,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 212, + "id": 717, "isConstant": false, "isLValue": false, "isPure": false, @@ -8836,18 +8836,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 209, + "id": 714, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "3089:10:0", + "referencedDeclaration": 533, + "src": "3089:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 210, + "id": 715, "isConstant": false, "isLValue": true, "isPure": false, @@ -8855,7 +8855,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3089:17:0", + "src": "3089:17:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8866,14 +8866,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 211, + "id": 716, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3107:1:0", + "src": "3107:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -8881,21 +8881,21 @@ }, "value": "1" }, - "src": "3089:19:0", + "src": "3089:19:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 83, - "id": 213, + "functionReturnParameters": 588, + "id": 718, "nodeType": "Return", - "src": "3082:26:0" + "src": "3082:26:1" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 215, + "id": 720, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -8903,16 +8903,16 @@ "name": "addSupportAgent", "nodeType": "FunctionDefinition", "parameters": { - "id": 80, + "id": 585, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 71, + "id": 576, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1093:16:0", + "scope": 720, + "src": "1093:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8920,10 +8920,10 @@ "typeString": "address" }, "typeName": { - "id": 70, + "id": 575, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1093:7:0", + "src": "1093:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8934,11 +8934,11 @@ }, { "constant": false, - "id": 73, + "id": 578, "name": "_email", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1111:13:0", + "scope": 720, + "src": "1111:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8946,10 +8946,10 @@ "typeString": "string" }, "typeName": { - "id": 72, + "id": 577, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1111:6:0", + "src": "1111:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8960,11 +8960,11 @@ }, { "constant": false, - "id": 75, + "id": 580, "name": "_fName", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1126:13:0", + "scope": 720, + "src": "1126:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8972,10 +8972,10 @@ "typeString": "string" }, "typeName": { - "id": 74, + "id": 579, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1126:6:0", + "src": "1126:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8986,11 +8986,11 @@ }, { "constant": false, - "id": 77, + "id": 582, "name": "_lName", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1141:13:0", + "scope": 720, + "src": "1141:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8998,10 +8998,10 @@ "typeString": "string" }, "typeName": { - "id": 76, + "id": 581, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1141:6:0", + "src": "1141:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9012,11 +9012,11 @@ }, { "constant": false, - "id": 79, + "id": 584, "name": "_timeZone", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1156:16:0", + "scope": 720, + "src": "1156:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9024,10 +9024,10 @@ "typeString": "string" }, "typeName": { - "id": 78, + "id": 583, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1156:6:0", + "src": "1156:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9037,20 +9037,20 @@ "visibility": "internal" } ], - "src": "1092:81:0" + "src": "1092:81:1" }, "payable": false, "returnParameters": { - "id": 83, + "id": 588, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 82, + "id": 587, "name": "index", "nodeType": "VariableDeclaration", - "scope": 215, - "src": "1202:13:0", + "scope": 720, + "src": "1202:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9058,10 +9058,10 @@ "typeString": "uint256" }, "typeName": { - "id": 81, + "id": 586, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1202:7:0", + "src": "1202:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9071,19 +9071,19 @@ "visibility": "internal" } ], - "src": "1201:15:0" + "src": "1201:15:1" }, - "scope": 443, - "src": "1068:2048:0", + "scope": 948, + "src": "1068:2048:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 265, + "id": 770, "nodeType": "Block", - "src": "3194:518:0", + "src": "3194:518:1", "statements": [ { "expression": { @@ -9095,7 +9095,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 227, + "id": 732, "isConstant": false, "isLValue": false, "isPure": false, @@ -9104,26 +9104,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 223, + "id": 728, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "3237:14:0", + "referencedDeclaration": 537, + "src": "3237:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 225, + "id": 730, "indexExpression": { "argumentTypes": null, - "id": 224, + "id": 729, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3252:8:0", + "referencedDeclaration": 722, + "src": "3252:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9134,7 +9134,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3237:24:0", + "src": "3237:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9145,14 +9145,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 226, + "id": 731, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3265:4:0", + "src": "3265:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9160,7 +9160,7 @@ }, "value": "true" }, - "src": "3237:32:0", + "src": "3237:32:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9169,14 +9169,14 @@ { "argumentTypes": null, "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", - "id": 228, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "3284:49:0", + "src": "3284:49:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", @@ -9196,21 +9196,21 @@ "typeString": "literal_string \"There is no such agent with the given address !\"" } ], - "id": 222, + "id": 727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "3215:7:0", + "referencedDeclaration": 1969, + "src": "3215:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 229, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -9218,28 +9218,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3215:133:0", + "src": "3215:133:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 230, + "id": 735, "nodeType": "ExpressionStatement", - "src": "3215:133:0" + "src": "3215:133:1" }, { "assignments": [ - 232 + 737 ], "declarations": [ { "constant": false, - "id": 232, + "id": 737, "name": "index", "nodeType": "VariableDeclaration", - "scope": 266, - "src": "3384:13:0", + "scope": 771, + "src": "3384:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9247,10 +9247,10 @@ "typeString": "uint256" }, "typeName": { - "id": 231, + "id": 736, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3384:7:0", + "src": "3384:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9260,31 +9260,31 @@ "visibility": "internal" } ], - "id": 236, + "id": 741, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 233, + "id": 738, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "3400:12:0", + "referencedDeclaration": 530, + "src": "3400:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 235, + "id": 740, "indexExpression": { "argumentTypes": null, - "id": 234, + "id": 739, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3413:8:0", + "referencedDeclaration": 722, + "src": "3413:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9295,19 +9295,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3400:22:0", + "src": "3400:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "3384:38:0" + "src": "3384:38:1" }, { "expression": { "argumentTypes": null, - "id": 240, + "id": 745, "isConstant": false, "isLValue": false, "isPure": false, @@ -9315,31 +9315,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "3456:31:0", + "src": "3456:31:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 237, + "id": 742, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "3463:14:0", + "referencedDeclaration": 537, + "src": "3463:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 239, + "id": 744, "indexExpression": { "argumentTypes": null, - "id": 238, + "id": 743, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3478:8:0", + "referencedDeclaration": 722, + "src": "3478:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9350,7 +9350,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3463:24:0", + "src": "3463:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9361,14 +9361,14 @@ "typeString": "tuple()" } }, - "id": 241, + "id": 746, "nodeType": "ExpressionStatement", - "src": "3456:31:0" + "src": "3456:31:1" }, { "expression": { "argumentTypes": null, - "id": 245, + "id": 750, "isConstant": false, "isLValue": false, "isPure": false, @@ -9376,31 +9376,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "3499:29:0", + "src": "3499:29:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 242, + "id": 747, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "3506:12:0", + "referencedDeclaration": 530, + "src": "3506:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 244, + "id": 749, "indexExpression": { "argumentTypes": null, - "id": 243, + "id": 748, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 217, - "src": "3519:8:0", + "referencedDeclaration": 722, + "src": "3519:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9411,7 +9411,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3506:22:0", + "src": "3506:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9422,14 +9422,14 @@ "typeString": "tuple()" } }, - "id": 246, + "id": 751, "nodeType": "ExpressionStatement", - "src": "3499:29:0" + "src": "3499:29:1" }, { "expression": { "argumentTypes": null, - "id": 250, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -9437,31 +9437,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "3551:27:0", + "src": "3551:27:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 247, + "id": 752, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "3558:13:0", + "referencedDeclaration": 523, + "src": "3558:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 249, + "id": 754, "indexExpression": { "argumentTypes": null, - "id": 248, + "id": 753, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 232, - "src": "3572:5:0", + "referencedDeclaration": 737, + "src": "3572:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9472,9 +9472,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3558:20:0", + "src": "3558:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, @@ -9483,14 +9483,14 @@ "typeString": "tuple()" } }, - "id": 251, + "id": 756, "nodeType": "ExpressionStatement", - "src": "3551:27:0" + "src": "3551:27:1" }, { "expression": { "argumentTypes": null, - "id": 255, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9498,31 +9498,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "3590:24:0", + "src": "3590:24:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 252, + "id": 757, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "3597:10:0", + "referencedDeclaration": 533, + "src": "3597:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 254, + "id": 759, "indexExpression": { "argumentTypes": null, - "id": 253, + "id": 758, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 232, - "src": "3608:5:0", + "referencedDeclaration": 737, + "src": "3608:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9533,7 +9533,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3597:17:0", + "src": "3597:17:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9544,14 +9544,14 @@ "typeString": "tuple()" } }, - "id": 256, + "id": 761, "nodeType": "ExpressionStatement", - "src": "3590:24:0" + "src": "3590:24:1" }, { "expression": { "argumentTypes": null, - "id": 260, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9559,23 +9559,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "3637:19:0", + "src": "3637:19:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 257, + "id": 762, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "3637:10:0", + "referencedDeclaration": 533, + "src": "3637:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 259, + "id": 764, "isConstant": false, "isLValue": true, "isPure": false, @@ -9583,7 +9583,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3637:17:0", + "src": "3637:17:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9594,9 +9594,9 @@ "typeString": "uint256" } }, - "id": 261, + "id": 766, "nodeType": "ExpressionStatement", - "src": "3637:19:0" + "src": "3637:19:1" }, { "expression": { @@ -9604,18 +9604,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 262, + "id": 767, "name": "countSupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 442, - "src": "3684:18:0", + "referencedDeclaration": 947, + "src": "3684:18:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" } }, - "id": 263, + "id": 768, "isConstant": false, "isLValue": false, "isPure": false, @@ -9623,21 +9623,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3684:20:0", + "src": "3684:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 221, - "id": 264, + "functionReturnParameters": 726, + "id": 769, "nodeType": "Return", - "src": "3677:27:0" + "src": "3677:27:1" } ] }, "documentation": null, - "id": 266, + "id": 771, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -9645,16 +9645,16 @@ "name": "removeOneSupportAgent", "nodeType": "FunctionDefinition", "parameters": { - "id": 218, + "id": 723, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 217, + "id": 722, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 266, - "src": "3155:16:0", + "scope": 771, + "src": "3155:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9662,10 +9662,10 @@ "typeString": "address" }, "typeName": { - "id": 216, + "id": 721, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3155:7:0", + "src": "3155:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9675,20 +9675,20 @@ "visibility": "internal" } ], - "src": "3154:18:0" + "src": "3154:18:1" }, "payable": false, "returnParameters": { - "id": 221, + "id": 726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 220, + "id": 725, "name": "", "nodeType": "VariableDeclaration", - "scope": 266, - "src": "3188:4:0", + "scope": 771, + "src": "3188:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9696,10 +9696,10 @@ "typeString": "uint256" }, "typeName": { - "id": 219, + "id": 724, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3188:4:0", + "src": "3188:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9709,38 +9709,38 @@ "visibility": "internal" } ], - "src": "3187:6:0" + "src": "3187:6:1" }, - "scope": 443, - "src": "3124:588:0", + "scope": 948, + "src": "3124:588:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 312, + "id": 817, "nodeType": "Block", - "src": "3774:376:0", + "src": "3774:376:1", "statements": [ { "body": { - "id": 304, + "id": 809, "nodeType": "Block", - "src": "3840:229:0", + "src": "3840:229:1", "statements": [ { "assignments": [ - 283 + 788 ], "declarations": [ { "constant": false, - "id": 283, + "id": 788, "name": "agentAddress", "nodeType": "VariableDeclaration", - "scope": 313, - "src": "3852:20:0", + "scope": 818, + "src": "3852:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9748,10 +9748,10 @@ "typeString": "address" }, "typeName": { - "id": 282, + "id": 787, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3852:7:0", + "src": "3852:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9761,33 +9761,33 @@ "visibility": "internal" } ], - "id": 288, + "id": 793, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 284, + "id": 789, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "3875:13:0", + "referencedDeclaration": 523, + "src": "3875:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 286, + "id": 791, "indexExpression": { "argumentTypes": null, - "id": 285, + "id": 790, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 272, - "src": "3889:1:0", + "referencedDeclaration": 777, + "src": "3889:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9798,33 +9798,33 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3875:16:0", + "src": "3875:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 287, + "id": 792, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "agentAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "3875:29:0", + "referencedDeclaration": 508, + "src": "3875:29:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "3852:52:0" + "src": "3852:52:1" }, { "expression": { "argumentTypes": null, - "id": 292, + "id": 797, "isConstant": false, "isLValue": false, "isPure": false, @@ -9832,31 +9832,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "3931:35:0", + "src": "3931:35:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 289, + "id": 794, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "3938:14:0", + "referencedDeclaration": 537, + "src": "3938:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 291, + "id": 796, "indexExpression": { "argumentTypes": null, - "id": 290, + "id": 795, "name": "agentAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 283, - "src": "3953:12:0", + "referencedDeclaration": 788, + "src": "3953:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9867,7 +9867,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3938:28:0", + "src": "3938:28:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9878,14 +9878,14 @@ "typeString": "tuple()" } }, - "id": 293, + "id": 798, "nodeType": "ExpressionStatement", - "src": "3931:35:0" + "src": "3931:35:1" }, { "expression": { "argumentTypes": null, - "id": 297, + "id": 802, "isConstant": false, "isLValue": false, "isPure": false, @@ -9893,31 +9893,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "3978:33:0", + "src": "3978:33:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 294, + "id": 799, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "3985:12:0", + "referencedDeclaration": 530, + "src": "3985:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 296, + "id": 801, "indexExpression": { "argumentTypes": null, - "id": 295, + "id": 800, "name": "agentAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 283, - "src": "3998:12:0", + "referencedDeclaration": 788, + "src": "3998:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9928,7 +9928,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3985:26:0", + "src": "3985:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9939,14 +9939,14 @@ "typeString": "tuple()" } }, - "id": 298, + "id": 803, "nodeType": "ExpressionStatement", - "src": "3978:33:0" + "src": "3978:33:1" }, { "expression": { "argumentTypes": null, - "id": 302, + "id": 807, "isConstant": false, "isLValue": false, "isPure": false, @@ -9954,31 +9954,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "4023:23:0", + "src": "4023:23:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 299, + "id": 804, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "4030:13:0", + "referencedDeclaration": 523, + "src": "4030:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 301, + "id": 806, "indexExpression": { "argumentTypes": null, - "id": 300, + "id": 805, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 272, - "src": "4044:1:0", + "referencedDeclaration": 777, + "src": "4044:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9989,9 +9989,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "4030:16:0", + "src": "4030:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, @@ -10000,9 +10000,9 @@ "typeString": "tuple()" } }, - "id": 303, + "id": 808, "nodeType": "ExpressionStatement", - "src": "4023:23:0" + "src": "4023:23:1" } ] }, @@ -10012,19 +10012,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 278, + "id": 783, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 275, + "id": 780, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 272, - "src": "3802:1:0", + "referencedDeclaration": 777, + "src": "3802:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10036,18 +10036,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 276, + "id": 781, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "3806:10:0", + "referencedDeclaration": 533, + "src": "3806:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 277, + "id": 782, "isConstant": false, "isLValue": true, "isPure": false, @@ -10055,31 +10055,31 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3806:17:0", + "src": "3806:17:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3802:21:0", + "src": "3802:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 305, + "id": 810, "initializationExpression": { "assignments": [ - 272 + 777 ], "declarations": [ { "constant": false, - "id": 272, + "id": 777, "name": "i", "nodeType": "VariableDeclaration", - "scope": 313, - "src": "3792:6:0", + "scope": 818, + "src": "3792:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10087,10 +10087,10 @@ "typeString": "uint256" }, "typeName": { - "id": 271, + "id": 776, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3792:4:0", + "src": "3792:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10100,18 +10100,18 @@ "visibility": "internal" } ], - "id": 274, + "id": 779, "initialValue": { "argumentTypes": null, "hexValue": "30", - "id": 273, + "id": 778, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3799:1:0", + "src": "3799:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -10120,12 +10120,12 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "3792:8:0" + "src": "3792:8:1" }, "loopExpression": { "expression": { "argumentTypes": null, - "id": 280, + "id": 785, "isConstant": false, "isLValue": false, "isPure": false, @@ -10133,15 +10133,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "3825:3:0", + "src": "3825:3:1", "subExpression": { "argumentTypes": null, - "id": 279, + "id": 784, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 272, - "src": "3825:1:0", + "referencedDeclaration": 777, + "src": "3825:1:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10152,17 +10152,17 @@ "typeString": "uint256" } }, - "id": 281, + "id": 786, "nodeType": "ExpressionStatement", - "src": "3825:3:0" + "src": "3825:3:1" }, "nodeType": "ForStatement", - "src": "3787:282:0" + "src": "3787:282:1" }, { "expression": { "argumentTypes": null, - "id": 307, + "id": 812, "isConstant": false, "isLValue": false, "isPure": false, @@ -10170,15 +10170,15 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "4079:17:0", + "src": "4079:17:1", "subExpression": { "argumentTypes": null, - "id": 306, + "id": 811, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "4086:10:0", + "referencedDeclaration": 533, + "src": "4086:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" @@ -10189,9 +10189,9 @@ "typeString": "tuple()" } }, - "id": 308, + "id": 813, "nodeType": "ExpressionStatement", - "src": "4079:17:0" + "src": "4079:17:1" }, { "expression": { @@ -10199,18 +10199,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 309, + "id": 814, "name": "countSupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 442, - "src": "4122:18:0", + "referencedDeclaration": 947, + "src": "4122:18:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" } }, - "id": 310, + "id": 815, "isConstant": false, "isLValue": false, "isPure": false, @@ -10218,21 +10218,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4122:20:0", + "src": "4122:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 270, - "id": 311, + "functionReturnParameters": 775, + "id": 816, "nodeType": "Return", - "src": "4115:27:0" + "src": "4115:27:1" } ] }, "documentation": null, - "id": 313, + "id": 818, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -10240,23 +10240,23 @@ "name": "removeAllSupportAgent", "nodeType": "FunctionDefinition", "parameters": { - "id": 267, + "id": 772, "nodeType": "ParameterList", "parameters": [], - "src": "3750:2:0" + "src": "3750:2:1" }, "payable": false, "returnParameters": { - "id": 270, + "id": 775, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 269, + "id": 774, "name": "", "nodeType": "VariableDeclaration", - "scope": 313, - "src": "3768:4:0", + "scope": 818, + "src": "3768:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10264,10 +10264,10 @@ "typeString": "uint256" }, "typeName": { - "id": 268, + "id": 773, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3768:4:0", + "src": "3768:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10277,43 +10277,43 @@ "visibility": "internal" } ], - "src": "3767:6:0" + "src": "3767:6:1" }, - "scope": 443, - "src": "3720:430:0", + "scope": 948, + "src": "3720:430:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 321, + "id": 826, "nodeType": "Block", - "src": "4227:45:0", + "src": "4227:45:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 319, + "id": 824, "name": "supportAgentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 21, - "src": "4245:19:0", + "referencedDeclaration": 526, + "src": "4245:19:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 318, - "id": 320, + "functionReturnParameters": 823, + "id": 825, "nodeType": "Return", - "src": "4238:26:0" + "src": "4238:26:1" } ] }, "documentation": null, - "id": 322, + "id": 827, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -10321,23 +10321,23 @@ "name": "findAllSupportAgents", "nodeType": "FunctionDefinition", "parameters": { - "id": 314, + "id": 819, "nodeType": "ParameterList", "parameters": [], - "src": "4193:2:0" + "src": "4193:2:1" }, "payable": false, "returnParameters": { - "id": 318, + "id": 823, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 317, + "id": 822, "name": "", "nodeType": "VariableDeclaration", - "scope": 322, - "src": "4216:9:0", + "scope": 827, + "src": "4216:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10346,19 +10346,19 @@ }, "typeName": { "baseType": { - "id": 315, + "id": 820, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4216:7:0", + "src": "4216:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 316, + "id": 821, "length": null, "nodeType": "ArrayTypeName", - "src": "4216:9:0", + "src": "4216:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -10368,19 +10368,19 @@ "visibility": "internal" } ], - "src": "4215:11:0" + "src": "4215:11:1" }, - "scope": 443, - "src": "4164:108:0", + "scope": 948, + "src": "4164:108:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 335, + "id": 840, "nodeType": "Block", - "src": "4358:61:0", + "src": "4358:61:1", "statements": [ { "expression": { @@ -10392,26 +10392,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 329, + "id": 834, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "4377:13:0", + "referencedDeclaration": 523, + "src": "4377:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 331, + "id": 836, "indexExpression": { "argumentTypes": null, - "id": 330, + "id": 835, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 324, - "src": "4391:5:0", + "referencedDeclaration": 829, + "src": "4391:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10422,49 +10422,49 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4377:20:0", + "src": "4377:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 332, + "id": 837, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "agentAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3, - "src": "4377:33:0", + "referencedDeclaration": 508, + "src": "4377:33:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 333, + "id": 838, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "4376:35:0", + "src": "4376:35:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 328, - "id": 334, + "functionReturnParameters": 833, + "id": 839, "nodeType": "Return", - "src": "4369:42:0" + "src": "4369:42:1" } ] }, "documentation": null, - "id": 336, + "id": 841, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -10472,16 +10472,16 @@ "name": "findSupportAgentAddressById", "nodeType": "FunctionDefinition", "parameters": { - "id": 325, + "id": 830, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 324, + "id": 829, "name": "index", "nodeType": "VariableDeclaration", - "scope": 336, - "src": "4317:10:0", + "scope": 841, + "src": "4317:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10489,10 +10489,10 @@ "typeString": "uint256" }, "typeName": { - "id": 323, + "id": 828, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4317:4:0", + "src": "4317:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10502,20 +10502,20 @@ "visibility": "internal" } ], - "src": "4316:12:0" + "src": "4316:12:1" }, "payable": false, "returnParameters": { - "id": 328, + "id": 833, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 327, + "id": 832, "name": "", "nodeType": "VariableDeclaration", - "scope": 336, - "src": "4349:7:0", + "scope": 841, + "src": "4349:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10523,10 +10523,10 @@ "typeString": "address" }, "typeName": { - "id": 326, + "id": 831, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4349:7:0", + "src": "4349:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10536,19 +10536,19 @@ "visibility": "internal" } ], - "src": "4348:9:0" + "src": "4348:9:1" }, - "scope": 443, - "src": "4280:139:0", + "scope": 948, + "src": "4280:139:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 356, + "id": 861, "nodeType": "Block", - "src": "4507:210:0", + "src": "4507:210:1", "statements": [ { "expression": { @@ -10560,7 +10560,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 348, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10569,26 +10569,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 344, + "id": 849, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "4542:14:0", + "referencedDeclaration": 537, + "src": "4542:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 346, + "id": 851, "indexExpression": { "argumentTypes": null, - "id": 345, + "id": 850, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 338, - "src": "4557:8:0", + "referencedDeclaration": 843, + "src": "4557:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10599,7 +10599,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4542:24:0", + "src": "4542:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10610,14 +10610,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 347, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "4570:4:0", + "src": "4570:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10625,7 +10625,7 @@ }, "value": "true" }, - "src": "4542:32:0", + "src": "4542:32:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10634,14 +10634,14 @@ { "argumentTypes": null, "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", - "id": 349, + "id": 854, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4589:49:0", + "src": "4589:49:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", @@ -10661,21 +10661,21 @@ "typeString": "literal_string \"There is no such agent with the given address !\"" } ], - "id": 343, + "id": 848, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "4520:7:0", + "referencedDeclaration": 1969, + "src": "4520:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 350, + "id": 855, "isConstant": false, "isLValue": false, "isPure": false, @@ -10683,41 +10683,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4520:133:0", + "src": "4520:133:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 351, + "id": 856, "nodeType": "ExpressionStatement", - "src": "4520:133:0" + "src": "4520:133:1" }, { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 352, + "id": 857, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "4685:12:0", + "referencedDeclaration": 530, + "src": "4685:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 354, + "id": 859, "indexExpression": { "argumentTypes": null, - "id": 353, + "id": 858, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 338, - "src": "4698:8:0", + "referencedDeclaration": 843, + "src": "4698:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10728,21 +10728,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4685:22:0", + "src": "4685:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 342, - "id": 355, + "functionReturnParameters": 847, + "id": 860, "nodeType": "Return", - "src": "4678:29:0" + "src": "4678:29:1" } ] }, "documentation": null, - "id": 357, + "id": 862, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -10750,16 +10750,16 @@ "name": "findSupportAgentArrayIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 339, + "id": 844, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 338, + "id": 843, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 357, - "src": "4463:16:0", + "scope": 862, + "src": "4463:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10767,10 +10767,10 @@ "typeString": "address" }, "typeName": { - "id": 337, + "id": 842, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4463:7:0", + "src": "4463:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10780,20 +10780,20 @@ "visibility": "internal" } ], - "src": "4462:18:0" + "src": "4462:18:1" }, "payable": false, "returnParameters": { - "id": 342, + "id": 847, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 341, + "id": 846, "name": "", "nodeType": "VariableDeclaration", - "scope": 357, - "src": "4501:4:0", + "scope": 862, + "src": "4501:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10801,10 +10801,10 @@ "typeString": "uint256" }, "typeName": { - "id": 340, + "id": 845, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4501:4:0", + "src": "4501:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10814,19 +10814,19 @@ "visibility": "internal" } ], - "src": "4500:6:0" + "src": "4500:6:1" }, - "scope": 443, - "src": "4427:290:0", + "scope": 948, + "src": "4427:290:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 385, + "id": 890, "nodeType": "Block", - "src": "4806:281:0", + "src": "4806:281:1", "statements": [ { "expression": { @@ -10838,7 +10838,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 369, + "id": 874, "isConstant": false, "isLValue": false, "isPure": false, @@ -10847,26 +10847,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 365, + "id": 870, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "4839:14:0", + "referencedDeclaration": 537, + "src": "4839:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 367, + "id": 872, "indexExpression": { "argumentTypes": null, - "id": 366, + "id": 871, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 359, - "src": "4854:8:0", + "referencedDeclaration": 864, + "src": "4854:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10877,7 +10877,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4839:24:0", + "src": "4839:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10888,14 +10888,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 368, + "id": 873, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "4867:4:0", + "src": "4867:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10903,7 +10903,7 @@ }, "value": "true" }, - "src": "4839:32:0", + "src": "4839:32:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10912,14 +10912,14 @@ { "argumentTypes": null, "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", - "id": 370, + "id": 875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4886:49:0", + "src": "4886:49:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", @@ -10939,21 +10939,21 @@ "typeString": "literal_string \"There is no such agent with the given address !\"" } ], - "id": 364, + "id": 869, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "4817:7:0", + "referencedDeclaration": 1969, + "src": "4817:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 371, + "id": 876, "isConstant": false, "isLValue": false, "isPure": false, @@ -10961,28 +10961,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4817:133:0", + "src": "4817:133:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 372, + "id": 877, "nodeType": "ExpressionStatement", - "src": "4817:133:0" + "src": "4817:133:1" }, { "assignments": [ - 374 + 879 ], "declarations": [ { "constant": false, - "id": 374, + "id": 879, "name": "index", "nodeType": "VariableDeclaration", - "scope": 386, - "src": "4981:13:0", + "scope": 891, + "src": "4981:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10990,10 +10990,10 @@ "typeString": "uint256" }, "typeName": { - "id": 373, + "id": 878, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4981:7:0", + "src": "4981:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11003,31 +11003,31 @@ "visibility": "internal" } ], - "id": 378, + "id": 883, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 375, + "id": 880, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "4997:12:0", + "referencedDeclaration": 530, + "src": "4997:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 377, + "id": 882, "indexExpression": { "argumentTypes": null, - "id": 376, + "id": 881, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 359, - "src": "5010:8:0", + "referencedDeclaration": 864, + "src": "5010:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11038,14 +11038,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4997:22:0", + "src": "4997:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "4981:38:0" + "src": "4981:38:1" }, { "expression": { @@ -11057,26 +11057,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 379, + "id": 884, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "5052:13:0", + "referencedDeclaration": 523, + "src": "5052:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 381, + "id": 886, "indexExpression": { "argumentTypes": null, - "id": 380, + "id": 885, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 374, - "src": "5066:5:0", + "referencedDeclaration": 879, + "src": "5066:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11087,49 +11087,49 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5052:20:0", + "src": "5052:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 382, + "id": 887, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "email", "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "5052:26:0", + "referencedDeclaration": 510, + "src": "5052:26:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } } ], - "id": 383, + "id": 888, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "5051:28:0", + "src": "5051:28:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 363, - "id": 384, + "functionReturnParameters": 868, + "id": 889, "nodeType": "Return", - "src": "5044:35:0" + "src": "5044:35:1" } ] }, "documentation": null, - "id": 386, + "id": 891, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -11137,16 +11137,16 @@ "name": "getAgentEmail", "nodeType": "FunctionDefinition", "parameters": { - "id": 360, + "id": 865, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 359, + "id": 864, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 386, - "src": "4754:16:0", + "scope": 891, + "src": "4754:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11154,10 +11154,10 @@ "typeString": "address" }, "typeName": { - "id": 358, + "id": 863, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4754:7:0", + "src": "4754:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11167,20 +11167,20 @@ "visibility": "internal" } ], - "src": "4753:18:0" + "src": "4753:18:1" }, "payable": false, "returnParameters": { - "id": 363, + "id": 868, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 362, + "id": 867, "name": "", "nodeType": "VariableDeclaration", - "scope": 386, - "src": "4792:6:0", + "scope": 891, + "src": "4792:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11188,10 +11188,10 @@ "typeString": "string" }, "typeName": { - "id": 361, + "id": 866, "name": "string", "nodeType": "ElementaryTypeName", - "src": "4792:6:0", + "src": "4792:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11201,19 +11201,19 @@ "visibility": "internal" } ], - "src": "4791:8:0" + "src": "4791:8:1" }, - "scope": 443, - "src": "4731:356:0", + "scope": 948, + "src": "4731:356:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 432, + "id": 937, "nodeType": "Block", - "src": "5215:415:0", + "src": "5215:415:1", "statements": [ { "expression": { @@ -11225,7 +11225,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 404, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, @@ -11234,26 +11234,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 400, + "id": 905, "name": "isSupportAgent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "5248:14:0", + "referencedDeclaration": 537, + "src": "5248:14:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 402, + "id": 907, "indexExpression": { "argumentTypes": null, - "id": 401, + "id": 906, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 388, - "src": "5263:8:0", + "referencedDeclaration": 893, + "src": "5263:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11264,7 +11264,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5248:24:0", + "src": "5248:24:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11275,14 +11275,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 403, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "5276:4:0", + "src": "5276:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11290,7 +11290,7 @@ }, "value": "true" }, - "src": "5248:32:0", + "src": "5248:32:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11299,14 +11299,14 @@ { "argumentTypes": null, "hexValue": "5468657265206973206e6f2073756368206167656e7420776974682074686520676976656e20616464726573732021", - "id": 405, + "id": 910, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5295:49:0", + "src": "5295:49:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_ae730ee16d95dfb64bd5901663aa1fcd69f951b1f2bb551e3a9c2e7c172918ec", @@ -11326,21 +11326,21 @@ "typeString": "literal_string \"There is no such agent with the given address !\"" } ], - "id": 399, + "id": 904, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 461, - 462 + 1968, + 1969 ], - "referencedDeclaration": 462, - "src": "5226:7:0", + "referencedDeclaration": 1969, + "src": "5226:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 406, + "id": 911, "isConstant": false, "isLValue": false, "isPure": false, @@ -11348,28 +11348,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5226:133:0", + "src": "5226:133:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 407, + "id": 912, "nodeType": "ExpressionStatement", - "src": "5226:133:0" + "src": "5226:133:1" }, { "assignments": [ - 409 + 914 ], "declarations": [ { "constant": false, - "id": 409, + "id": 914, "name": "index", "nodeType": "VariableDeclaration", - "scope": 433, - "src": "5394:13:0", + "scope": 938, + "src": "5394:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11377,10 +11377,10 @@ "typeString": "uint256" }, "typeName": { - "id": 408, + "id": 913, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5394:7:0", + "src": "5394:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11390,31 +11390,31 @@ "visibility": "internal" } ], - "id": 413, + "id": 918, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 410, + "id": 915, "name": "agentRecords", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 25, - "src": "5410:12:0", + "referencedDeclaration": 530, + "src": "5410:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 412, + "id": 917, "indexExpression": { "argumentTypes": null, - "id": 411, + "id": 916, "name": "_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 388, - "src": "5423:8:0", + "referencedDeclaration": 893, + "src": "5423:8:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11425,14 +11425,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5410:22:0", + "src": "5410:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "5394:38:0" + "src": "5394:38:1" }, { "expression": { @@ -11444,26 +11444,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 414, + "id": 919, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "5479:13:0", + "referencedDeclaration": 523, + "src": "5479:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 416, + "id": 921, "indexExpression": { "argumentTypes": null, - "id": 415, + "id": 920, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 409, - "src": "5493:5:0", + "referencedDeclaration": 914, + "src": "5493:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11474,21 +11474,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5479:20:0", + "src": "5479:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 417, + "id": 922, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "email", "nodeType": "MemberAccess", - "referencedDeclaration": 5, - "src": "5479:26:0", + "referencedDeclaration": 510, + "src": "5479:26:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -11500,26 +11500,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 418, + "id": 923, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "5517:13:0", + "referencedDeclaration": 523, + "src": "5517:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 420, + "id": 925, "indexExpression": { "argumentTypes": null, - "id": 419, + "id": 924, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 409, - "src": "5531:5:0", + "referencedDeclaration": 914, + "src": "5531:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11530,21 +11530,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5517:20:0", + "src": "5517:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 421, + "id": 926, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "fName", "nodeType": "MemberAccess", - "referencedDeclaration": 7, - "src": "5517:26:0", + "referencedDeclaration": 512, + "src": "5517:26:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -11556,26 +11556,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 422, + "id": 927, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "5555:13:0", + "referencedDeclaration": 523, + "src": "5555:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 424, + "id": 929, "indexExpression": { "argumentTypes": null, - "id": 423, + "id": 928, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 409, - "src": "5569:5:0", + "referencedDeclaration": 914, + "src": "5569:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11586,21 +11586,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5555:20:0", + "src": "5555:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 425, + "id": 930, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lName", "nodeType": "MemberAccess", - "referencedDeclaration": 9, - "src": "5555:26:0", + "referencedDeclaration": 514, + "src": "5555:26:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -11612,26 +11612,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 426, + "id": 931, "name": "SupportAgents", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 18, - "src": "5592:13:0", + "referencedDeclaration": 523, + "src": "5592:13:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$14_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_SupportAgent_$519_storage_$", "typeString": "mapping(uint256 => struct Company.SupportAgent storage ref)" } }, - "id": 428, + "id": 933, "indexExpression": { "argumentTypes": null, - "id": 427, + "id": 932, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 409, - "src": "5606:5:0", + "referencedDeclaration": 914, + "src": "5606:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11642,49 +11642,49 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5592:20:0", + "src": "5592:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_SupportAgent_$14_storage", + "typeIdentifier": "t_struct$_SupportAgent_$519_storage", "typeString": "struct Company.SupportAgent storage ref" } }, - "id": 429, + "id": 934, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "timeZone", "nodeType": "MemberAccess", - "referencedDeclaration": 11, - "src": "5592:29:0", + "referencedDeclaration": 516, + "src": "5592:29:1", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } } ], - "id": 430, + "id": 935, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "5478:144:0", + "src": "5478:144:1", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_string_storage_$_t_string_storage_$_t_string_storage_$_t_string_storage_$", "typeString": "tuple(string storage ref,string storage ref,string storage ref,string storage ref)" } }, - "functionReturnParameters": 398, - "id": 431, + "functionReturnParameters": 903, + "id": 936, "nodeType": "Return", - "src": "5461:161:0" + "src": "5461:161:1" } ] }, "documentation": null, - "id": 433, + "id": 938, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -11692,16 +11692,16 @@ "name": "findSupportAgentByAddress", "nodeType": "FunctionDefinition", "parameters": { - "id": 389, + "id": 894, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 388, + "id": 893, "name": "_address", "nodeType": "VariableDeclaration", - "scope": 433, - "src": "5139:16:0", + "scope": 938, + "src": "5139:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11709,10 +11709,10 @@ "typeString": "address" }, "typeName": { - "id": 387, + "id": 892, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5139:7:0", + "src": "5139:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11722,20 +11722,20 @@ "visibility": "internal" } ], - "src": "5138:18:0" + "src": "5138:18:1" }, "payable": false, "returnParameters": { - "id": 398, + "id": 903, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 391, + "id": 896, "name": "", "nodeType": "VariableDeclaration", - "scope": 433, - "src": "5177:6:0", + "scope": 938, + "src": "5177:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11743,10 +11743,10 @@ "typeString": "string" }, "typeName": { - "id": 390, + "id": 895, "name": "string", "nodeType": "ElementaryTypeName", - "src": "5177:6:0", + "src": "5177:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11757,11 +11757,11 @@ }, { "constant": false, - "id": 393, + "id": 898, "name": "", "nodeType": "VariableDeclaration", - "scope": 433, - "src": "5185:6:0", + "scope": 938, + "src": "5185:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11769,10 +11769,10 @@ "typeString": "string" }, "typeName": { - "id": 392, + "id": 897, "name": "string", "nodeType": "ElementaryTypeName", - "src": "5185:6:0", + "src": "5185:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11783,11 +11783,11 @@ }, { "constant": false, - "id": 395, + "id": 900, "name": "", "nodeType": "VariableDeclaration", - "scope": 433, - "src": "5193:6:0", + "scope": 938, + "src": "5193:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11795,10 +11795,10 @@ "typeString": "string" }, "typeName": { - "id": 394, + "id": 899, "name": "string", "nodeType": "ElementaryTypeName", - "src": "5193:6:0", + "src": "5193:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11809,11 +11809,11 @@ }, { "constant": false, - "id": 397, + "id": 902, "name": "", "nodeType": "VariableDeclaration", - "scope": 433, - "src": "5201:6:0", + "scope": 938, + "src": "5201:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11821,10 +11821,10 @@ "typeString": "string" }, "typeName": { - "id": 396, + "id": 901, "name": "string", "nodeType": "ElementaryTypeName", - "src": "5201:6:0", + "src": "5201:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11834,37 +11834,37 @@ "visibility": "internal" } ], - "src": "5176:32:0" + "src": "5176:32:1" }, - "scope": 443, - "src": "5104:526:0", + "scope": 948, + "src": "5104:526:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 441, + "id": 946, "nodeType": "Block", - "src": "5709:43:0", + "src": "5709:43:1", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 438, + "id": 943, "name": "agentIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 28, - "src": "5727:10:0", + "referencedDeclaration": 533, + "src": "5727:10:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 439, + "id": 944, "isConstant": false, "isLValue": true, "isPure": false, @@ -11872,21 +11872,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5727:17:0", + "src": "5727:17:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 437, - "id": 440, + "functionReturnParameters": 942, + "id": 945, "nodeType": "Return", - "src": "5720:24:0" + "src": "5720:24:1" } ] }, "documentation": null, - "id": 442, + "id": 947, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -11894,23 +11894,23 @@ "name": "countSupportAgents", "nodeType": "FunctionDefinition", "parameters": { - "id": 434, + "id": 939, "nodeType": "ParameterList", "parameters": [], - "src": "5677:2:0" + "src": "5677:2:1" }, "payable": false, "returnParameters": { - "id": 437, + "id": 942, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 436, + "id": 941, "name": "", "nodeType": "VariableDeclaration", - "scope": 442, - "src": "5700:7:0", + "scope": 947, + "src": "5700:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11918,10 +11918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 435, + "id": 940, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5700:7:0", + "src": "5700:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11931,26 +11931,32 @@ "visibility": "internal" } ], - "src": "5699:9:0" + "src": "5699:9:1" }, - "scope": 443, - "src": "5650:102:0", + "scope": 948, + "src": "5650:102:1", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], - "scope": 444, - "src": "30:5731:0" + "scope": 949, + "src": "30:5731:1" } ], - "src": "0:5761:0" + "src": "0:5761:1" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": { + "5777": { + "events": {}, + "links": {}, + "address": "0x345ca3e014aaf5dca488057592ee47305d9b3e10", + "transactionHash": "0x30d6eb0235c4b5968c3a9dc3afc14b807415e549e4ca845d6f9c0895ed1eaba3" + }, "1539420319630": { "events": {}, "links": {}, @@ -11959,5 +11965,5 @@ } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-13T10:09:33.022Z" + "updatedAt": "2018-10-18T13:43:19.592Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/JobApplicant.json b/ethereum/build/contracts/JobApplicant.json index fa47bc8..2a63185 100644 --- a/ethereum/build/contracts/JobApplicant.json +++ b/ethereum/build/contracts/JobApplicant.json @@ -260,40 +260,40 @@ "type": "function" } ], - "bytecode": "0x60806040526000805460ff1916905534801561001a57600080fd5b50604051604080610c4c833981016040819052815160209092015160018054600160a060020a031916600160a060020a03808416919091179091556000805461010060a860020a0319166101009286169290920291909117908190554260025590917f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156100af57fe5b60ff16815260200191505060405180910390a15050610b79806100d36000396000f3006080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a72305820faa1d72b80321aa1bdad74a5214d50841524aa68b680192e621f0e0682c9a7610029", - "deployedBytecode": "0x6080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a72305820faa1d72b80321aa1bdad74a5214d50841524aa68b680192e621f0e0682c9a7610029", - "sourceMap": "144:9008:1:-;;;1690:25;1659:56;;-1:-1:-1;;1659:56:1;;;2501:281;5:2:-1;;;;30:1;27;20:12;5:2;2501:281:1;;;;;;;;;;;;;;;;;;;;;2616:9;:22;;-1:-1:-1;;;;;;2616:22:1;-1:-1:-1;;;;;2616:22:1;;;;;;;;;;-1:-1:-1;2649:50:1;;-1:-1:-1;;;;;;2649:50:1;2616:22;2649:50;;;;;;;;;;;;;;;2720:3;2710:7;:13;2501:281;;2739:35;;2760:13;;;2501:281;2760:13;2739:35;;;;;;;;;;;;;;;;;;;;;;;;2501:281;;144:9008;;;;;;", - "deployedSourceMap": "144:9008:1:-;;;;;;;;-1:-1:-1;144:9008:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1905:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1905:30:1;;;;;;;;;;;;;;;;;;;;8302:218;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8302:218:1;;;;;;3751:349;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3751:349:1;;;;1879:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1879:19:1;;;;7747:274;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7747:274:1;;;;8824:209;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8824:209:1;;;;6288:201;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6288:201:1;;;;4854:215;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4854:215:1;;;;2790:241;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2790:241:1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2790:241:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2790:241:1;;-1:-1:-1;2790:241:1;-1:-1:-1;2790:241:1;7276:212;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7276:212:1;;;;4378:211;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4378:211:1;;;;1794:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1794:24:1;;;;;;;;-1:-1:-1;;;;;1794:24:1;;;;;;;;;;;;;;5817:219;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5817:219:1;;;;6752:262;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6752:262:1;;;;3359:112;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3359:112:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1722:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1722:30:1;;;;5330:213;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5330:213:1;;;;1905:30;;;;:::o;8302:218::-;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:1;;;;:15;;;;-1:-1:-1;;;;;2034:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:1;-1:-1:-1;;;;;2020:37:1;:10;:37;2012:46;;;;;;8374:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;8416:13;:45;;8432:29;;8416:13;-1:-1:-1;;8416:45:1;;8432:29;8416:45;;;;;-1:-1:-1;8498:13:1;;8477:35;;;;8498:13;;;8477:35;8498:13;8477:35;;;;;;;;;;;;;;;;;;;;;;;;2069:1;8302:218::o;3751:349::-;2142:9;;-1:-1:-1;;;;;2142:9:1;2128:10;:23;2120:32;;;;;;3895:25;3884:7;:5;:7::i;:::-;:36;;;;;;;;;:88;;;-1:-1:-1;3948:24:1;3937:7;:5;:7::i;:::-;:35;;;;;;;;;3884:88;3862:121;;;;;;;;3998:13;:41;;-1:-1:-1;;3998:41:1;4014:25;3998:41;;;;;4055:35;;;;4076:13;;;4055:35;4076:13;4055:35;;;;;;;;;;;;;;;;;;;;;;;;3751:349::o;1879:19::-;;;;:::o;7747:274::-;2260:9;;-1:-1:-1;;;;;2260:9:1;2246:10;:23;;:77;;-1:-1:-1;2300:15:1;;;:23;;;-1:-1:-1;;;;;;;;;;;2300:23:1;;;;:15;;;;-1:-1:-1;;;;;2300:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2300:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2300:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2300:23:1;-1:-1:-1;;;;;2286:37:1;:10;:37;2246:77;2224:110;;;;;;;;7826:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;7868:13;:40;;7884:24;;7868:13;-1:-1:-1;;7868:40:1;;7884:24;7868:40;;8824:209;2260:9;;-1:-1:-1;;;;;2260:9:1;2246:10;:23;;:77;;-1:-1:-1;2300:15:1;;;:23;;;-1:-1:-1;;;;;;;;;;;2300:23:1;;;;:15;;;;-1:-1:-1;;;;;2300:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2300:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2300:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2300:23:1;-1:-1:-1;;;;;2286:37:1;:10;:37;2246:77;2224:110;;;;;;;;8899:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;8941:13;:33;;8957:17;;8941:13;-1:-1:-1;;8941:33:1;;8957:17;8941:33;;6288:201;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:1;;;;:15;;;;-1:-1:-1;;;;;2034:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:1;-1:-1:-1;;;;;2020:37:1;:10;:37;2012:46;;;;;;6349:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;6391:13;:39;;6407:23;;6391:13;-1:-1:-1;;6391:39:1;;6407:23;6391:39;;4854:215;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:1;;;;:15;;;;-1:-1:-1;;;;;2034:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:1;-1:-1:-1;;;;;2020:37:1;:10;:37;2012:46;;;;;;4924:25;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;4967:13;:43;;4983:27;;4967:13;-1:-1:-1;;4967:43:1;;4983:27;4967:43;;2790:241;2842:13;2857:24;2883:18;2903:13;2918:21;2960:7;:5;:7::i;:::-;2969:15;;;2986:9;2997:7;;2952:71;;-1:-1:-1;;;;;2969:15:1;;;;;;;-1:-1:-1;2986:9:1;;;-1:-1:-1;2997:7:1;;-1:-1:-1;2790:241:1;;-1:-1:-1;2790:241:1:o;7276:212::-;2142:9;;-1:-1:-1;;;;;2142:9:1;2128:10;:23;2120:32;;;;;;7344:23;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;7385:13;:44;;7401:28;;7385:13;-1:-1:-1;;7385:44:1;;7401:28;7385:44;;4378:211;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:1;;;;:15;;;;-1:-1:-1;;;;;2034:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:1;-1:-1:-1;;;;;2020:37:1;:10;:37;2012:46;;;;;;4447:25;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;4490:13;:40;;4506:24;;4490:13;-1:-1:-1;;4490:40:1;;4506:24;4490:40;;1794:24;;;-1:-1:-1;;;;;1794:24:1;;:::o;5817:219::-;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:1;;;;:15;;;;-1:-1:-1;;;;;2034:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:1;-1:-1:-1;;;;;2020:37:1;:10;:37;2012:46;;;;;;5890:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;5932:13;:45;;5948:29;;5932:13;-1:-1:-1;;5932:45:1;;5948:29;5932:45;;6752:262;2142:9;;-1:-1:-1;;;;;2142:9:1;2128:10;:23;2120:32;;;;;;6820:23;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;6861:13;:40;;6877:24;;6861:13;-1:-1:-1;;6861:40:1;;6877:24;6861:40;;3359:112;3412:13;3450;;;3359:112;:::o;1722:30::-;;;;;;-1:-1:-1;;;;;1722:30:1;;:::o;5330:213::-;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:1;;;;:15;;;;-1:-1:-1;;;;;2034:15:1;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:1;-1:-1:-1;;;;;2020:37:1;:10;:37;2012:46;;;;;;5402:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;5444:13;:40;;5460:24;;5444:13;-1:-1:-1;;5444:40:1;5460:24;;5444:40;", + "bytecode": "0x60806040526000805460ff1916905534801561001a57600080fd5b50604051604080610c4c833981016040819052815160209092015160018054600160a060020a031916600160a060020a03808416919091179091556000805461010060a860020a0319166101009286169290920291909117908190554260025590917f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156100af57fe5b60ff16815260200191505060405180910390a15050610b79806100d36000396000f3006080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a723058203fae80c41f742e2b31e63b2b30dce150ef64093459a2b128b2a41f2f9208c7b10029", + "deployedBytecode": "0x6080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a723058203fae80c41f742e2b31e63b2b30dce150ef64093459a2b128b2a41f2f9208c7b10029", + "sourceMap": "144:9008:2:-;;;1690:25;1659:56;;-1:-1:-1;;1659:56:2;;;2501:281;5:2:-1;;;;30:1;27;20:12;5:2;2501:281:2;;;;;;;;;;;;;;;;;;;;;2616:9;:22;;-1:-1:-1;;;;;;2616:22:2;-1:-1:-1;;;;;2616:22:2;;;;;;;;;;-1:-1:-1;2649:50:2;;-1:-1:-1;;;;;;2649:50:2;2616:22;2649:50;;;;;;;;;;;;;;;2720:3;2710:7;:13;2501:281;;2739:35;;2760:13;;;2501:281;2760:13;2739:35;;;;;;;;;;;;;;;;;;;;;;;;2501:281;;144:9008;;;;;;", + "deployedSourceMap": "144:9008:2:-;;;;;;;;-1:-1:-1;144:9008:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1905:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1905:30:2;;;;;;;;;;;;;;;;;;;;8302:218;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8302:218:2;;;;;;3751:349;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3751:349:2;;;;1879:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1879:19:2;;;;7747:274;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7747:274:2;;;;8824:209;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8824:209:2;;;;6288:201;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6288:201:2;;;;4854:215;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4854:215:2;;;;2790:241;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2790:241:2;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2790:241:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2790:241:2;;-1:-1:-1;2790:241:2;-1:-1:-1;2790:241:2;7276:212;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7276:212:2;;;;4378:211;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4378:211:2;;;;1794:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1794:24:2;;;;;;;;-1:-1:-1;;;;;1794:24:2;;;;;;;;;;;;;;5817:219;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5817:219:2;;;;6752:262;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6752:262:2;;;;3359:112;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3359:112:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1722:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1722:30:2;;;;5330:213;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5330:213:2;;;;1905:30;;;;:::o;8302:218::-;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:2;;;;:15;;;;-1:-1:-1;;;;;2034:15:2;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:2;-1:-1:-1;;;;;2020:37:2;:10;:37;2012:46;;;;;;8374:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;8416:13;:45;;8432:29;;8416:13;-1:-1:-1;;8416:45:2;;8432:29;8416:45;;;;;-1:-1:-1;8498:13:2;;8477:35;;;;8498:13;;;8477:35;8498:13;8477:35;;;;;;;;;;;;;;;;;;;;;;;;2069:1;8302:218::o;3751:349::-;2142:9;;-1:-1:-1;;;;;2142:9:2;2128:10;:23;2120:32;;;;;;3895:25;3884:7;:5;:7::i;:::-;:36;;;;;;;;;:88;;;-1:-1:-1;3948:24:2;3937:7;:5;:7::i;:::-;:35;;;;;;;;;3884:88;3862:121;;;;;;;;3998:13;:41;;-1:-1:-1;;3998:41:2;4014:25;3998:41;;;;;4055:35;;;;4076:13;;;4055:35;4076:13;4055:35;;;;;;;;;;;;;;;;;;;;;;;;3751:349::o;1879:19::-;;;;:::o;7747:274::-;2260:9;;-1:-1:-1;;;;;2260:9:2;2246:10;:23;;:77;;-1:-1:-1;2300:15:2;;;:23;;;-1:-1:-1;;;;;;;;;;;2300:23:2;;;;:15;;;;-1:-1:-1;;;;;2300:15:2;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2300:23:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2300:23:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2300:23:2;-1:-1:-1;;;;;2286:37:2;:10;:37;2246:77;2224:110;;;;;;;;7826:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;7868:13;:40;;7884:24;;7868:13;-1:-1:-1;;7868:40:2;;7884:24;7868:40;;8824:209;2260:9;;-1:-1:-1;;;;;2260:9:2;2246:10;:23;;:77;;-1:-1:-1;2300:15:2;;;:23;;;-1:-1:-1;;;;;;;;;;;2300:23:2;;;;:15;;;;-1:-1:-1;;;;;2300:15:2;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2300:23:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2300:23:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2300:23:2;-1:-1:-1;;;;;2286:37:2;:10;:37;2246:77;2224:110;;;;;;;;8899:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;8941:13;:33;;8957:17;;8941:13;-1:-1:-1;;8941:33:2;;8957:17;8941:33;;6288:201;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:2;;;;:15;;;;-1:-1:-1;;;;;2034:15:2;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:2;-1:-1:-1;;;;;2020:37:2;:10;:37;2012:46;;;;;;6349:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;6391:13;:39;;6407:23;;6391:13;-1:-1:-1;;6391:39:2;;6407:23;6391:39;;4854:215;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:2;;;;:15;;;;-1:-1:-1;;;;;2034:15:2;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:2;-1:-1:-1;;;;;2020:37:2;:10;:37;2012:46;;;;;;4924:25;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;4967:13;:43;;4983:27;;4967:13;-1:-1:-1;;4967:43:2;;4983:27;4967:43;;2790:241;2842:13;2857:24;2883:18;2903:13;2918:21;2960:7;:5;:7::i;:::-;2969:15;;;2986:9;2997:7;;2952:71;;-1:-1:-1;;;;;2969:15:2;;;;;;;-1:-1:-1;2986:9:2;;;-1:-1:-1;2997:7:2;;-1:-1:-1;2790:241:2;;-1:-1:-1;2790:241:2:o;7276:212::-;2142:9;;-1:-1:-1;;;;;2142:9:2;2128:10;:23;2120:32;;;;;;7344:23;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;7385:13;:44;;7401:28;;7385:13;-1:-1:-1;;7385:44:2;;7401:28;7385:44;;4378:211;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:2;;;;:15;;;;-1:-1:-1;;;;;2034:15:2;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:2;-1:-1:-1;;;;;2020:37:2;:10;:37;2012:46;;;;;;4447:25;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;4490:13;:40;;4506:24;;4490:13;-1:-1:-1;;4490:40:2;;4506:24;4490:40;;1794:24;;;-1:-1:-1;;;;;1794:24:2;;:::o;5817:219::-;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:2;;;;:15;;;;-1:-1:-1;;;;;2034:15:2;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:2;-1:-1:-1;;;;;2020:37:2;:10;:37;2012:46;;;;;;5890:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;5932:13;:45;;5948:29;;5932:13;-1:-1:-1;;5932:45:2;;5948:29;5932:45;;6752:262;2142:9;;-1:-1:-1;;;;;2142:9:2;2128:10;:23;2120:32;;;;;;6820:23;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;6861:13;:40;;6877:24;;6861:13;-1:-1:-1;;6861:40:2;;6877:24;6861:40;;3359:112;3412:13;3450;;;3359:112;:::o;1722:30::-;;;;;;-1:-1:-1;;;;;1722:30:2;;:::o;5330:213::-;2034:15;;;:23;;;-1:-1:-1;;;;;;;;;;;2034:23:2;;;;:15;;;;-1:-1:-1;;;;;2034:15:2;;:21;;:23;;;;;;;;;;;;;;;;;:15;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2034:23:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2034:23:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2034:23:2;-1:-1:-1;;;;;2020:37:2;:10;:37;2012:46;;;;;;5402:24;;2413:7;:5;:7::i;:::-;:17;;;;;;;;;2405:26;;;;;;5444:13;:40;;5460:24;;5444:13;-1:-1:-1;;5444:40:2;5460:24;;5444:40;", "source": "pragma solidity 0.4.24;\r\n\r\n// /// @title JobApplicant\r\n// /// @dev An Application to a Job Listing and its status\r\nimport \"./Listing.sol\";\r\n\r\n\r\ncontract JobApplicant \r\n{\r\n\r\n /*\r\n * Events\r\n */\r\n\r\n event JobApplicationChange(Stages stage);\r\n event JobApplicationReview(address reviewer, address reviewee, Roles revieweeRole, uint8 rating, bytes32 ipfsHash);\r\n\r\n /*\r\n * Enum\r\n */\r\n\r\n enum Stages {\r\n\r\n // Applicant Status\r\n AWAITING_INTERVIEW,\t\t\t// Applicant applied for interview and waiting for the interview\r\n AWAITING_JOBOFFER,\t\t\t// Applicant attended the interview and waiting for the job offer\r\n CANCEL_APPLICATION,\t\t\t// Applicant cancelled the job application, after applying for the job\r\n INTERVIEW_NOT_SELECTED, //Applicant Unsuccessful/Failed the Interview\r\n JOBOFFER_ACCEPTED, //Applicant Accepts the Job Offer\r\n JOBOFFER_NOT_ACCEPTED, //Applicant Rejects the Job Offer\r\n\r\n\r\n // Employer Status\r\n INTERVIEW_PENDING,\t\t\t// Employer reviewed the application and send interview call and waiting for interview acceptance\r\n JOBOFFER_PENDING,\t\t\t// Employer finished interview and sent job offer and waiting for acceptance from the applicant\r\n APPLICATION_REJECTED,\t\t// Applicant not eligible for the job\r\n\r\n EMPLOYMENT_PERIOD,\t\t\t// Both Employer and Applicant agreed and Job in progress\r\n\r\n IN_DISPUTE,\t\t\t\t // We are in a dispute between employer and employee on payments \r\n EMPLOYMENT_TERMINATION\t\t// End of Job Contract\r\n\r\n }\r\n\r\n enum Roles {\r\n APPLICANT,\r\n EMPLOYER\r\n }\r\n\r\n /*\r\n * Storage\r\n */\r\n\r\n Stages private internalStage = Stages.AWAITING_INTERVIEW;\r\n Listing public listingContract; // listing that is being purchased\r\n address public applicant; // User who is buying. Seller is derived from listing\r\n uint public created;\r\n uint public applicationTimeout;\r\n\r\n /*\r\n * Modifiers\r\n */\r\n\r\n modifier isEmployer() {\r\n require(msg.sender == listingContract.owner());\r\n _;\r\n }\r\n\r\n modifier isApplicant() {\r\n require(msg.sender == applicant);\r\n _;\r\n }\r\n\r\n modifier isEmployerOrApplicant() {\r\n require(\r\n msg.sender == applicant ||\r\n msg.sender == listingContract.owner()\r\n );\r\n _;\r\n }\r\n\r\n modifier atStage(Stages _stage) {\r\n require(stage() == _stage);\r\n _;\r\n }\r\n\r\n /*\r\n * Public functions\r\n */\r\n\r\n constructor (\r\n address _listingContractAddress,\r\n address _applicant\r\n )\r\n public\r\n {\r\n applicant = _applicant;\r\n listingContract = Listing(_listingContractAddress);\r\n created = now;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n\r\n function data()\r\n public\r\n view\r\n returns (Stages _stage, Listing _listingContract, address _applicant, uint _created, uint _applicantTimout) {\r\n return (stage(), listingContract, applicant, created, _applicantTimout);\r\n }\r\n \r\n /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\t\tThis function returns the current status of the application\r\n /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function stage()\r\n public\r\n view\r\n returns (Stages _stage)\r\n {\r\n return internalStage;\r\n }\r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tApplicant cancels the job application\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function cancelApplication()\r\n public\r\n isApplicant\r\n {\r\n // Must be in a valid stage\r\n require(\r\n stage() == Stages.AWAITING_INTERVIEW ||\r\n stage() == Stages.AWAITING_JOBOFFER\r\n );\r\n\r\n\r\n internalStage = Stages.CANCEL_APPLICATION;\r\n emit JobApplicationChange(internalStage);\r\n\r\n }\r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tCall the Applicant for an interview\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function callForInterview()\r\n public\r\n isEmployer\r\n atStage(Stages.AWAITING_INTERVIEW)\r\n {\r\n internalStage = Stages.INTERVIEW_PENDING;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tReject an Application\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function rejectApplication()\r\n public\r\n isEmployer\r\n atStage(Stages.AWAITING_INTERVIEW)\r\n {\r\n internalStage = Stages.APPLICATION_REJECTED;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n\r\n//////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tPassed the Interview\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function interviewSuccessful()\r\n public\r\n isEmployer\r\n atStage(Stages.INTERVIEW_PENDING)\r\n {\r\n internalStage = Stages.AWAITING_JOBOFFER;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n \r\n \r\n//////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tNot Selected in the Interview\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function interviewNotSelected()\r\n public\r\n isEmployer\r\n atStage(Stages.INTERVIEW_PENDING)\r\n {\r\n internalStage = Stages.INTERVIEW_NOT_SELECTED;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n \r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tOffer Job\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function offerJob()\r\n public\r\n isEmployer\r\n atStage(Stages.AWAITING_JOBOFFER)\r\n {\r\n internalStage = Stages.JOBOFFER_PENDING;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n \r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tAccept the JobOffer\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function acceptJobOffer()\r\n public\r\n isApplicant\r\n atStage(Stages.JOBOFFER_PENDING)\r\n {\r\n internalStage = Stages.JOBOFFER_ACCEPTED; //Is this needed or directly go to EMPLOYMENT_PERIOD?\r\n emit JobApplicationChange(internalStage);\r\n }\r\n \r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tReject the JobOffer\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function rejectJobOffer()\r\n public\r\n isApplicant\r\n atStage(Stages.JOBOFFER_PENDING)\r\n {\r\n internalStage = Stages.JOBOFFER_NOT_ACCEPTED;\r\n emit JobApplicationChange(internalStage);\r\n }\r\n \r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tStart Employment\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function startEmployment()\r\n public\r\n isEmployerOrApplicant\r\n atStage(Stages.JOBOFFER_ACCEPTED)\r\n {\r\n internalStage = Stages.EMPLOYMENT_PERIOD; //Is this needed or directly go to EMPLOYMENT_PERIOD?\r\n emit JobApplicationChange(internalStage);\r\n }\r\n \r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tTerminate the Job Contract any time\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function terminateEmployment()\r\n public\r\n isEmployer\r\n atStage(Stages.EMPLOYMENT_PERIOD)\r\n {\r\n internalStage = Stages.EMPLOYMENT_TERMINATION;\r\n emit JobApplicationChange(internalStage);\r\n } \r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n //\tProblem between employer and employee either open a dispute\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function openDispute()\r\n public\r\n isEmployerOrApplicant\r\n atStage(Stages.EMPLOYMENT_PERIOD)\r\n {\r\n internalStage = Stages.IN_DISPUTE;\r\n emit JobApplicationChange(internalStage);\r\n } \r\n////////////////////////////////////////////////////////////////////////////////////////////////////////////// \r\n}", - "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\JobApplicant.sol", + "sourcePath": "C:\\i\\HT\\hellonetmarket\\ethereum\\contracts\\JobApplicant.sol", "ast": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicant.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicant.sol", "exportedSymbols": { "JobApplicant": [ - 674 + 1326 ] }, - "id": 675, + "id": 1327, "nodeType": "SourceUnit", "nodes": [ { - "id": 298, + "id": 950, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:1" + "src": "0:23:2" }, { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", "file": "./Listing.sol", - "id": 299, + "id": 951, "nodeType": "ImportDirective", - "scope": 675, - "sourceUnit": 903, - "src": "115:23:1", + "scope": 1327, + "sourceUnit": 1555, + "src": "115:23:2", "symbolAliases": [], "unitAlias": "" }, @@ -303,9 +303,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 674, + "id": 1326, "linearizedBaseContracts": [ - 674 + 1326 ], "name": "JobApplicant", "nodeType": "ContractDefinition", @@ -313,36 +313,36 @@ { "anonymous": false, "documentation": null, - "id": 303, + "id": 955, "name": "JobApplicationChange", "nodeType": "EventDefinition", "parameters": { - "id": 302, + "id": 954, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 301, + "id": 953, "indexed": false, "name": "stage", "nodeType": "VariableDeclaration", - "scope": 303, - "src": "230:12:1", + "scope": 955, + "src": "230:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 300, + "id": 952, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 328, - "src": "230:6:1", + "referencedDeclaration": 980, + "src": "230:6:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -350,28 +350,28 @@ "visibility": "internal" } ], - "src": "229:14:1" + "src": "229:14:2" }, - "src": "203:41:1" + "src": "203:41:2" }, { "anonymous": false, "documentation": null, - "id": 315, + "id": 967, "name": "JobApplicationReview", "nodeType": "EventDefinition", "parameters": { - "id": 314, + "id": 966, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 305, + "id": 957, "indexed": false, "name": "reviewer", "nodeType": "VariableDeclaration", - "scope": 315, - "src": "277:16:1", + "scope": 967, + "src": "277:16:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -379,10 +379,10 @@ "typeString": "address" }, "typeName": { - "id": 304, + "id": 956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "277:7:1", + "src": "277:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -393,12 +393,12 @@ }, { "constant": false, - "id": 307, + "id": 959, "indexed": false, "name": "reviewee", "nodeType": "VariableDeclaration", - "scope": 315, - "src": "295:16:1", + "scope": 967, + "src": "295:16:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -406,10 +406,10 @@ "typeString": "address" }, "typeName": { - "id": 306, + "id": 958, "name": "address", "nodeType": "ElementaryTypeName", - "src": "295:7:1", + "src": "295:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -420,27 +420,27 @@ }, { "constant": false, - "id": 309, + "id": 961, "indexed": false, "name": "revieweeRole", "nodeType": "VariableDeclaration", - "scope": 315, - "src": "313:18:1", + "scope": 967, + "src": "313:18:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Roles_$331", + "typeIdentifier": "t_enum$_Roles_$983", "typeString": "enum JobApplicant.Roles" }, "typeName": { "contractScope": null, - "id": 308, + "id": 960, "name": "Roles", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 331, - "src": "313:5:1", + "referencedDeclaration": 983, + "src": "313:5:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Roles_$331", + "typeIdentifier": "t_enum$_Roles_$983", "typeString": "enum JobApplicant.Roles" } }, @@ -449,12 +449,12 @@ }, { "constant": false, - "id": 311, + "id": 963, "indexed": false, "name": "rating", "nodeType": "VariableDeclaration", - "scope": 315, - "src": "333:12:1", + "scope": 967, + "src": "333:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -462,10 +462,10 @@ "typeString": "uint8" }, "typeName": { - "id": 310, + "id": 962, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "333:5:1", + "src": "333:5:2", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -476,12 +476,12 @@ }, { "constant": false, - "id": 313, + "id": 965, "indexed": false, "name": "ipfsHash", "nodeType": "VariableDeclaration", - "scope": 315, - "src": "347:16:1", + "scope": 967, + "src": "347:16:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -489,10 +489,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 312, + "id": 964, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "347:7:1", + "src": "347:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -502,134 +502,134 @@ "visibility": "internal" } ], - "src": "276:88:1" + "src": "276:88:2" }, - "src": "250:115:1" + "src": "250:115:2" }, { "canonicalName": "JobApplicant.Stages", - "id": 328, + "id": 980, "members": [ { - "id": 316, + "id": 968, "name": "AWAITING_INTERVIEW", "nodeType": "EnumValue", - "src": "453:18:1" + "src": "453:18:2" }, { - "id": 317, + "id": 969, "name": "AWAITING_JOBOFFER", "nodeType": "EnumValue", - "src": "547:17:1" + "src": "547:17:2" }, { - "id": 318, + "id": 970, "name": "CANCEL_APPLICATION", "nodeType": "EnumValue", - "src": "641:18:1" + "src": "641:18:2" }, { - "id": 319, + "id": 971, "name": "INTERVIEW_NOT_SELECTED", "nodeType": "EnumValue", - "src": "741:22:1" + "src": "741:22:2" }, { - "id": 320, + "id": 972, "name": "JOBOFFER_ACCEPTED", "nodeType": "EnumValue", - "src": "824:17:1" + "src": "824:17:2" }, { - "id": 321, + "id": 973, "name": "JOBOFFER_NOT_ACCEPTED", "nodeType": "EnumValue", - "src": "895:21:1" + "src": "895:21:2" }, { - "id": 322, + "id": 974, "name": "INTERVIEW_PENDING", "nodeType": "EnumValue", - "src": "1000:17:1" + "src": "1000:17:2" }, { - "id": 323, + "id": 975, "name": "JOBOFFER_PENDING", "nodeType": "EnumValue", - "src": "1126:16:1" + "src": "1126:16:2" }, { - "id": 324, + "id": 976, "name": "APPLICATION_REJECTED", "nodeType": "EnumValue", - "src": "1249:20:1" + "src": "1249:20:2" }, { - "id": 325, + "id": 977, "name": "EMPLOYMENT_PERIOD", "nodeType": "EnumValue", - "src": "1319:17:1" + "src": "1319:17:2" }, { - "id": 326, + "id": 978, "name": "IN_DISPUTE", "nodeType": "EnumValue", - "src": "1407:10:1" + "src": "1407:10:2" }, { - "id": 327, + "id": 979, "name": "EMPLOYMENT_TERMINATION", "nodeType": "EnumValue", - "src": "1502:22:1" + "src": "1502:22:2" } ], "name": "Stages", "nodeType": "EnumDefinition", - "src": "403:1154:1" + "src": "403:1154:2" }, { "canonicalName": "JobApplicant.Roles", - "id": 331, + "id": 983, "members": [ { - "id": 329, + "id": 981, "name": "APPLICANT", "nodeType": "EnumValue", - "src": "1585:9:1" + "src": "1585:9:2" }, { - "id": 330, + "id": 982, "name": "EMPLOYER", "nodeType": "EnumValue", - "src": "1603:8:1" + "src": "1603:8:2" } ], "name": "Roles", "nodeType": "EnumDefinition", - "src": "1565:53:1" + "src": "1565:53:2" }, { "constant": false, - "id": 335, + "id": 987, "name": "internalStage", "nodeType": "VariableDeclaration", - "scope": 674, - "src": "1659:56:1", + "scope": 1326, + "src": "1659:56:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 332, + "id": 984, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 328, - "src": "1659:6:1", + "referencedDeclaration": 980, + "src": "1659:6:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -637,18 +637,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 333, + "id": 985, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "1690:6:1", + "referencedDeclaration": 980, + "src": "1690:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 334, + "id": 986, "isConstant": false, "isLValue": false, "isPure": true, @@ -656,9 +656,9 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1690:25:1", + "src": "1690:25:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -666,26 +666,26 @@ }, { "constant": false, - "id": 337, + "id": 989, "name": "listingContract", "nodeType": "VariableDeclaration", - "scope": 674, - "src": "1722:30:1", + "scope": 1326, + "src": "1722:30:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 336, + "id": 988, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "1722:7:1", + "referencedDeclaration": 1554, + "src": "1722:7:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -694,11 +694,11 @@ }, { "constant": false, - "id": 339, + "id": 991, "name": "applicant", "nodeType": "VariableDeclaration", - "scope": 674, - "src": "1794:24:1", + "scope": 1326, + "src": "1794:24:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -706,10 +706,10 @@ "typeString": "address" }, "typeName": { - "id": 338, + "id": 990, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1794:7:1", + "src": "1794:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -720,11 +720,11 @@ }, { "constant": false, - "id": 341, + "id": 993, "name": "created", "nodeType": "VariableDeclaration", - "scope": 674, - "src": "1879:19:1", + "scope": 1326, + "src": "1879:19:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -732,10 +732,10 @@ "typeString": "uint256" }, "typeName": { - "id": 340, + "id": 992, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1879:4:1", + "src": "1879:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -746,11 +746,11 @@ }, { "constant": false, - "id": 343, + "id": 995, "name": "applicationTimeout", "nodeType": "VariableDeclaration", - "scope": 674, - "src": "1905:30:1", + "scope": 1326, + "src": "1905:30:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -758,10 +758,10 @@ "typeString": "uint256" }, "typeName": { - "id": 342, + "id": 994, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1905:4:1", + "src": "1905:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -772,9 +772,9 @@ }, { "body": { - "id": 355, + "id": 1007, "nodeType": "Block", - "src": "2001:77:1", + "src": "2001:77:2", "statements": [ { "expression": { @@ -786,7 +786,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 351, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, @@ -795,18 +795,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 346, + "id": 998, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "2020:3:1", + "referencedDeclaration": 1965, + "src": "2020:3:2", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 347, + "id": 999, "isConstant": false, "isLValue": false, "isPure": false, @@ -814,7 +814,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2020:10:1", + "src": "2020:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -829,32 +829,32 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 348, + "id": 1000, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 337, - "src": "2034:15:1", + "referencedDeclaration": 989, + "src": "2034:15:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 349, + "id": 1001, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 709, - "src": "2034:21:1", + "referencedDeclaration": 1361, + "src": "2034:21:2", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", "typeString": "function () view external returns (address)" } }, - "id": 350, + "id": 1002, "isConstant": false, "isLValue": false, "isPure": false, @@ -862,13 +862,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2034:23:1", + "src": "2034:23:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2020:37:1", + "src": "2020:37:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -882,21 +882,21 @@ "typeString": "bool" } ], - "id": 345, + "id": 997, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "2012:7:1", + "referencedDeclaration": 1968, + "src": "2012:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 352, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": false, @@ -904,41 +904,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2012:46:1", + "src": "2012:46:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 353, + "id": 1005, "nodeType": "ExpressionStatement", - "src": "2012:46:1" + "src": "2012:46:2" }, { - "id": 354, + "id": 1006, "nodeType": "PlaceholderStatement", - "src": "2069:1:1" + "src": "2069:1:2" } ] }, "documentation": null, - "id": 356, + "id": 1008, "name": "isEmployer", "nodeType": "ModifierDefinition", "parameters": { - "id": 344, + "id": 996, "nodeType": "ParameterList", "parameters": [], - "src": "1998:2:1" + "src": "1998:2:2" }, - "src": "1979:99:1", + "src": "1979:99:2", "visibility": "internal" }, { "body": { - "id": 366, + "id": 1018, "nodeType": "Block", - "src": "2109:63:1", + "src": "2109:63:2", "statements": [ { "expression": { @@ -950,7 +950,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 362, + "id": 1014, "isConstant": false, "isLValue": false, "isPure": false, @@ -959,18 +959,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 359, + "id": 1011, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "2128:3:1", + "referencedDeclaration": 1965, + "src": "2128:3:2", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 360, + "id": 1012, "isConstant": false, "isLValue": false, "isPure": false, @@ -978,7 +978,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2128:10:1", + "src": "2128:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -988,18 +988,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 361, + "id": 1013, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 339, - "src": "2142:9:1", + "referencedDeclaration": 991, + "src": "2142:9:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2128:23:1", + "src": "2128:23:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1013,21 +1013,21 @@ "typeString": "bool" } ], - "id": 358, + "id": 1010, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "2120:7:1", + "referencedDeclaration": 1968, + "src": "2120:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 363, + "id": 1015, "isConstant": false, "isLValue": false, "isPure": false, @@ -1035,41 +1035,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2120:32:1", + "src": "2120:32:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 364, + "id": 1016, "nodeType": "ExpressionStatement", - "src": "2120:32:1" + "src": "2120:32:2" }, { - "id": 365, + "id": 1017, "nodeType": "PlaceholderStatement", - "src": "2163:1:1" + "src": "2163:1:2" } ] }, "documentation": null, - "id": 367, + "id": 1019, "name": "isApplicant", "nodeType": "ModifierDefinition", "parameters": { - "id": 357, + "id": 1009, "nodeType": "ParameterList", "parameters": [], - "src": "2106:2:1" + "src": "2106:2:2" }, - "src": "2086:86:1", + "src": "2086:86:2", "visibility": "internal" }, { "body": { - "id": 384, + "id": 1036, "nodeType": "Block", - "src": "2213:141:1", + "src": "2213:141:2", "statements": [ { "expression": { @@ -1081,7 +1081,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 380, + "id": 1032, "isConstant": false, "isLValue": false, "isPure": false, @@ -1092,7 +1092,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 373, + "id": 1025, "isConstant": false, "isLValue": false, "isPure": false, @@ -1101,18 +1101,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 370, + "id": 1022, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "2246:3:1", + "referencedDeclaration": 1965, + "src": "2246:3:2", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 371, + "id": 1023, "isConstant": false, "isLValue": false, "isPure": false, @@ -1120,7 +1120,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2246:10:1", + "src": "2246:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1130,18 +1130,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 372, + "id": 1024, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 339, - "src": "2260:9:1", + "referencedDeclaration": 991, + "src": "2260:9:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2246:23:1", + "src": "2246:23:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1155,7 +1155,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 379, + "id": 1031, "isConstant": false, "isLValue": false, "isPure": false, @@ -1164,18 +1164,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 374, + "id": 1026, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "2286:3:1", + "referencedDeclaration": 1965, + "src": "2286:3:2", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 375, + "id": 1027, "isConstant": false, "isLValue": false, "isPure": false, @@ -1183,7 +1183,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2286:10:1", + "src": "2286:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1198,32 +1198,32 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 376, + "id": 1028, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 337, - "src": "2300:15:1", + "referencedDeclaration": 989, + "src": "2300:15:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 377, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 709, - "src": "2300:21:1", + "referencedDeclaration": 1361, + "src": "2300:21:2", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", "typeString": "function () view external returns (address)" } }, - "id": 378, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -1231,19 +1231,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2300:23:1", + "src": "2300:23:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2286:37:1", + "src": "2286:37:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "2246:77:1", + "src": "2246:77:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1257,21 +1257,21 @@ "typeString": "bool" } ], - "id": 369, + "id": 1021, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "2224:7:1", + "referencedDeclaration": 1968, + "src": "2224:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 381, + "id": 1033, "isConstant": false, "isLValue": false, "isPure": false, @@ -1279,41 +1279,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2224:110:1", + "src": "2224:110:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 382, + "id": 1034, "nodeType": "ExpressionStatement", - "src": "2224:110:1" + "src": "2224:110:2" }, { - "id": 383, + "id": 1035, "nodeType": "PlaceholderStatement", - "src": "2345:1:1" + "src": "2345:1:2" } ] }, "documentation": null, - "id": 385, + "id": 1037, "name": "isEmployerOrApplicant", "nodeType": "ModifierDefinition", "parameters": { - "id": 368, + "id": 1020, "nodeType": "ParameterList", "parameters": [], - "src": "2210:2:1" + "src": "2210:2:2" }, - "src": "2180:174:1", + "src": "2180:174:2", "visibility": "internal" }, { "body": { - "id": 397, + "id": 1049, "nodeType": "Block", - "src": "2394:57:1", + "src": "2394:57:2", "statements": [ { "expression": { @@ -1322,10 +1322,10 @@ { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, - "id": 393, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": false, @@ -1335,18 +1335,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 390, + "id": 1042, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "2413:5:1", + "referencedDeclaration": 1106, + "src": "2413:5:2", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$980_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 391, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -1354,9 +1354,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2413:7:1", + "src": "2413:7:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -1364,18 +1364,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 392, + "id": 1044, "name": "_stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 387, - "src": "2424:6:1", + "referencedDeclaration": 1039, + "src": "2424:6:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "2413:17:1", + "src": "2413:17:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1389,21 +1389,21 @@ "typeString": "bool" } ], - "id": 389, + "id": 1041, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "2405:7:1", + "referencedDeclaration": 1968, + "src": "2405:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 394, + "id": 1046, "isConstant": false, "isLValue": false, "isPure": false, @@ -1411,53 +1411,53 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2405:26:1", + "src": "2405:26:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 395, + "id": 1047, "nodeType": "ExpressionStatement", - "src": "2405:26:1" + "src": "2405:26:2" }, { - "id": 396, + "id": 1048, "nodeType": "PlaceholderStatement", - "src": "2442:1:1" + "src": "2442:1:2" } ] }, "documentation": null, - "id": 398, + "id": 1050, "name": "atStage", "nodeType": "ModifierDefinition", "parameters": { - "id": 388, + "id": 1040, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 387, + "id": 1039, "name": "_stage", "nodeType": "VariableDeclaration", - "scope": 398, - "src": "2379:13:1", + "scope": 1050, + "src": "2379:13:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 386, + "id": 1038, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 328, - "src": "2379:6:1", + "referencedDeclaration": 980, + "src": "2379:6:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -1465,33 +1465,33 @@ "visibility": "internal" } ], - "src": "2378:15:1" + "src": "2378:15:2" }, - "src": "2362:89:1", + "src": "2362:89:2", "visibility": "internal" }, { "body": { - "id": 423, + "id": 1075, "nodeType": "Block", - "src": "2605:177:1", + "src": "2605:177:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 407, + "id": 1059, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 405, + "id": 1057, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 339, - "src": "2616:9:1", + "referencedDeclaration": 991, + "src": "2616:9:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1501,45 +1501,45 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 406, + "id": 1058, "name": "_applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 402, - "src": "2628:10:1", + "referencedDeclaration": 1054, + "src": "2628:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2616:22:1", + "src": "2616:22:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 408, + "id": 1060, "nodeType": "ExpressionStatement", - "src": "2616:22:1" + "src": "2616:22:2" }, { "expression": { "argumentTypes": null, - "id": 413, + "id": 1065, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 409, + "id": 1061, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 337, - "src": "2649:15:1", + "referencedDeclaration": 989, + "src": "2649:15:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -1550,12 +1550,12 @@ "arguments": [ { "argumentTypes": null, - "id": 411, + "id": 1063, "name": "_listingContractAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 400, - "src": "2675:23:1", + "referencedDeclaration": 1052, + "src": "2675:23:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1569,18 +1569,18 @@ "typeString": "address" } ], - "id": 410, + "id": 1062, "name": "Listing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 902, - "src": "2667:7:1", + "referencedDeclaration": 1554, + "src": "2667:7:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Listing_$902_$", + "typeIdentifier": "t_type$_t_contract$_Listing_$1554_$", "typeString": "type(contract Listing)" } }, - "id": 412, + "id": 1064, "isConstant": false, "isLValue": false, "isPure": false, @@ -1588,38 +1588,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2667:32:1", + "src": "2667:32:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "src": "2649:50:1", + "src": "2649:50:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 414, + "id": 1066, "nodeType": "ExpressionStatement", - "src": "2649:50:1" + "src": "2649:50:2" }, { "expression": { "argumentTypes": null, - "id": 417, + "id": 1069, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 415, + "id": 1067, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 341, - "src": "2710:7:1", + "referencedDeclaration": 993, + "src": "2710:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1629,26 +1629,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 416, + "id": 1068, "name": "now", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1224, - "src": "2720:3:1", + "referencedDeclaration": 1967, + "src": "2720:3:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2710:13:1", + "src": "2710:13:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 418, + "id": 1070, "nodeType": "ExpressionStatement", - "src": "2710:13:1" + "src": "2710:13:2" }, { "eventCall": { @@ -1656,14 +1656,14 @@ "arguments": [ { "argumentTypes": null, - "id": 420, + "id": 1072, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "2760:13:1", + "referencedDeclaration": 987, + "src": "2760:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -1671,22 +1671,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 419, + "id": 1071, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "2739:20:1", + "referencedDeclaration": 955, + "src": "2739:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 421, + "id": 1073, "isConstant": false, "isLValue": false, "isPure": false, @@ -1694,20 +1694,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2739:35:1", + "src": "2739:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 422, + "id": 1074, "nodeType": "EmitStatement", - "src": "2734:40:1" + "src": "2734:40:2" } ] }, "documentation": null, - "id": 424, + "id": 1076, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -1715,16 +1715,16 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 403, + "id": 1055, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 400, + "id": 1052, "name": "_listingContractAddress", "nodeType": "VariableDeclaration", - "scope": 424, - "src": "2522:31:1", + "scope": 1076, + "src": "2522:31:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1732,10 +1732,10 @@ "typeString": "address" }, "typeName": { - "id": 399, + "id": 1051, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2522:7:1", + "src": "2522:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1746,11 +1746,11 @@ }, { "constant": false, - "id": 402, + "id": 1054, "name": "_applicant", "nodeType": "VariableDeclaration", - "scope": 424, - "src": "2562:18:1", + "scope": 1076, + "src": "2562:18:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1758,10 +1758,10 @@ "typeString": "address" }, "typeName": { - "id": 401, + "id": 1053, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2562:7:1", + "src": "2562:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1771,26 +1771,26 @@ "visibility": "internal" } ], - "src": "2513:74:1" + "src": "2513:74:2" }, "payable": false, "returnParameters": { - "id": 404, + "id": 1056, "nodeType": "ParameterList", "parameters": [], - "src": "2605:0:1" + "src": "2605:0:2" }, - "scope": 674, - "src": "2501:281:1", + "scope": 1326, + "src": "2501:281:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 445, + "id": 1097, "nodeType": "Block", - "src": "2941:90:1", + "src": "2941:90:2", "statements": [ { "expression": { @@ -1801,18 +1801,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 437, + "id": 1089, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "2960:5:1", + "referencedDeclaration": 1106, + "src": "2960:5:2", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$980_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 438, + "id": 1090, "isConstant": false, "isLValue": false, "isPure": false, @@ -1820,33 +1820,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2960:7:1", + "src": "2960:7:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, { "argumentTypes": null, - "id": 439, + "id": 1091, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 337, - "src": "2969:15:1", + "referencedDeclaration": 989, + "src": "2969:15:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, { "argumentTypes": null, - "id": 440, + "id": 1092, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 339, - "src": "2986:9:1", + "referencedDeclaration": 991, + "src": "2986:9:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1854,12 +1854,12 @@ }, { "argumentTypes": null, - "id": 441, + "id": 1093, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 341, - "src": "2997:7:1", + "referencedDeclaration": 993, + "src": "2997:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1867,40 +1867,40 @@ }, { "argumentTypes": null, - "id": 442, + "id": 1094, "name": "_applicantTimout", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 435, - "src": "3006:16:1", + "referencedDeclaration": 1087, + "src": "3006:16:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 443, + "id": 1095, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2959:64:1", + "src": "2959:64:2", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_enum$_Stages_$328_$_t_contract$_Listing_$902_$_t_address_$_t_uint256_$_t_uint256_$", + "typeIdentifier": "t_tuple$_t_enum$_Stages_$980_$_t_contract$_Listing_$1554_$_t_address_$_t_uint256_$_t_uint256_$", "typeString": "tuple(enum JobApplicant.Stages,contract Listing,address,uint256,uint256)" } }, - "functionReturnParameters": 436, - "id": 444, + "functionReturnParameters": 1088, + "id": 1096, "nodeType": "Return", - "src": "2952:71:1" + "src": "2952:71:2" } ] }, "documentation": null, - "id": 446, + "id": 1098, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1908,38 +1908,38 @@ "name": "data", "nodeType": "FunctionDefinition", "parameters": { - "id": 425, + "id": 1077, "nodeType": "ParameterList", "parameters": [], - "src": "2803:2:1" + "src": "2803:2:2" }, "payable": false, "returnParameters": { - "id": 436, + "id": 1088, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 427, + "id": 1079, "name": "_stage", "nodeType": "VariableDeclaration", - "scope": 446, - "src": "2842:13:1", + "scope": 1098, + "src": "2842:13:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 426, + "id": 1078, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 328, - "src": "2842:6:1", + "referencedDeclaration": 980, + "src": "2842:6:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -1948,26 +1948,26 @@ }, { "constant": false, - "id": 429, + "id": 1081, "name": "_listingContract", "nodeType": "VariableDeclaration", - "scope": 446, - "src": "2857:24:1", + "scope": 1098, + "src": "2857:24:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 428, + "id": 1080, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "2857:7:1", + "referencedDeclaration": 1554, + "src": "2857:7:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -1976,11 +1976,11 @@ }, { "constant": false, - "id": 431, + "id": 1083, "name": "_applicant", "nodeType": "VariableDeclaration", - "scope": 446, - "src": "2883:18:1", + "scope": 1098, + "src": "2883:18:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1988,10 +1988,10 @@ "typeString": "address" }, "typeName": { - "id": 430, + "id": 1082, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2883:7:1", + "src": "2883:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2002,11 +2002,11 @@ }, { "constant": false, - "id": 433, + "id": 1085, "name": "_created", "nodeType": "VariableDeclaration", - "scope": 446, - "src": "2903:13:1", + "scope": 1098, + "src": "2903:13:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2014,10 +2014,10 @@ "typeString": "uint256" }, "typeName": { - "id": 432, + "id": 1084, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2903:4:1", + "src": "2903:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2028,11 +2028,11 @@ }, { "constant": false, - "id": 435, + "id": 1087, "name": "_applicantTimout", "nodeType": "VariableDeclaration", - "scope": 446, - "src": "2918:21:1", + "scope": 1098, + "src": "2918:21:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2040,10 +2040,10 @@ "typeString": "uint256" }, "typeName": { - "id": 434, + "id": 1086, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2918:4:1", + "src": "2918:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2053,43 +2053,43 @@ "visibility": "internal" } ], - "src": "2841:99:1" + "src": "2841:99:2" }, - "scope": 674, - "src": "2790:241:1", + "scope": 1326, + "src": "2790:241:2", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 453, + "id": 1105, "nodeType": "Block", - "src": "3432:39:1", + "src": "3432:39:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 451, + "id": 1103, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "3450:13:1", + "referencedDeclaration": 987, + "src": "3450:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "functionReturnParameters": 450, - "id": 452, + "functionReturnParameters": 1102, + "id": 1104, "nodeType": "Return", - "src": "3443:20:1" + "src": "3443:20:2" } ] }, "documentation": "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 454, + "id": 1106, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2097,38 +2097,38 @@ "name": "stage", "nodeType": "FunctionDefinition", "parameters": { - "id": 447, + "id": 1099, "nodeType": "ParameterList", "parameters": [], - "src": "3373:2:1" + "src": "3373:2:2" }, "payable": false, "returnParameters": { - "id": 450, + "id": 1102, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 449, + "id": 1101, "name": "_stage", "nodeType": "VariableDeclaration", - "scope": 454, - "src": "3412:13:1", + "scope": 1106, + "src": "3412:13:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 448, + "id": 1100, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 328, - "src": "3412:6:1", + "referencedDeclaration": 980, + "src": "3412:6:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -2136,19 +2136,19 @@ "visibility": "internal" } ], - "src": "3411:15:1" + "src": "3411:15:2" }, - "scope": 674, - "src": "3359:112:1", + "scope": 1326, + "src": "3359:112:2", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 482, + "id": 1134, "nodeType": "Block", - "src": "3814:286:1", + "src": "3814:286:2", "statements": [ { "expression": { @@ -2160,7 +2160,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 470, + "id": 1122, "isConstant": false, "isLValue": false, "isPure": false, @@ -2168,10 +2168,10 @@ "leftExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, - "id": 464, + "id": 1116, "isConstant": false, "isLValue": false, "isPure": false, @@ -2181,18 +2181,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 460, + "id": 1112, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3884:5:1", + "referencedDeclaration": 1106, + "src": "3884:5:2", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$980_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 461, + "id": 1113, "isConstant": false, "isLValue": false, "isPure": false, @@ -2200,9 +2200,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3884:7:1", + "src": "3884:7:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -2212,18 +2212,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 462, + "id": 1114, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "3895:6:1", + "referencedDeclaration": 980, + "src": "3895:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 463, + "id": 1115, "isConstant": false, "isLValue": false, "isPure": true, @@ -2231,13 +2231,13 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3895:25:1", + "src": "3895:25:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "3884:36:1", + "src": "3884:36:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2248,10 +2248,10 @@ "rightExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, - "id": 469, + "id": 1121, "isConstant": false, "isLValue": false, "isPure": false, @@ -2261,18 +2261,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 465, + "id": 1117, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3937:5:1", + "referencedDeclaration": 1106, + "src": "3937:5:2", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$980_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 466, + "id": 1118, "isConstant": false, "isLValue": false, "isPure": false, @@ -2280,9 +2280,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3937:7:1", + "src": "3937:7:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -2292,18 +2292,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 467, + "id": 1119, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "3948:6:1", + "referencedDeclaration": 980, + "src": "3948:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 468, + "id": 1120, "isConstant": false, "isLValue": false, "isPure": true, @@ -2311,19 +2311,19 @@ "memberName": "AWAITING_JOBOFFER", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3948:24:1", + "src": "3948:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "3937:35:1", + "src": "3937:35:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3884:88:1", + "src": "3884:88:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2337,21 +2337,21 @@ "typeString": "bool" } ], - "id": 459, + "id": 1111, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "3862:7:1", + "referencedDeclaration": 1968, + "src": "3862:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 471, + "id": 1123, "isConstant": false, "isLValue": false, "isPure": false, @@ -2359,34 +2359,34 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3862:121:1", + "src": "3862:121:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 472, + "id": 1124, "nodeType": "ExpressionStatement", - "src": "3862:121:1" + "src": "3862:121:2" }, { "expression": { "argumentTypes": null, - "id": 476, + "id": 1128, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 473, + "id": 1125, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "3998:13:1", + "referencedDeclaration": 987, + "src": "3998:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -2396,18 +2396,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 474, + "id": 1126, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "4014:6:1", + "referencedDeclaration": 980, + "src": "4014:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 475, + "id": 1127, "isConstant": false, "isLValue": false, "isPure": true, @@ -2415,21 +2415,21 @@ "memberName": "CANCEL_APPLICATION", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4014:25:1", + "src": "4014:25:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "3998:41:1", + "src": "3998:41:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 477, + "id": 1129, "nodeType": "ExpressionStatement", - "src": "3998:41:1" + "src": "3998:41:2" }, { "eventCall": { @@ -2437,14 +2437,14 @@ "arguments": [ { "argumentTypes": null, - "id": 479, + "id": 1131, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "4076:13:1", + "referencedDeclaration": 987, + "src": "4076:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -2452,22 +2452,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 478, + "id": 1130, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "4055:20:1", + "referencedDeclaration": 955, + "src": "4055:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 480, + "id": 1132, "isConstant": false, "isLValue": false, "isPure": false, @@ -2475,89 +2475,89 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4055:35:1", + "src": "4055:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 481, + "id": 1133, "nodeType": "EmitStatement", - "src": "4050:40:1" + "src": "4050:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 483, + "id": 1135, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 457, + "id": 1109, "modifierName": { "argumentTypes": null, - "id": 456, + "id": 1108, "name": "isApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 367, - "src": "3797:11:1", + "referencedDeclaration": 1019, + "src": "3797:11:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "3797:11:1" + "src": "3797:11:2" } ], "name": "cancelApplication", "nodeType": "FunctionDefinition", "parameters": { - "id": 455, + "id": 1107, "nodeType": "ParameterList", "parameters": [], - "src": "3777:2:1" + "src": "3777:2:2" }, "payable": false, "returnParameters": { - "id": 458, + "id": 1110, "nodeType": "ParameterList", "parameters": [], - "src": "3814:0:1" + "src": "3814:0:2" }, - "scope": 674, - "src": "3751:349:1", + "scope": 1326, + "src": "3751:349:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 501, + "id": 1153, "nodeType": "Block", - "src": "4479:110:1", + "src": "4479:110:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 495, + "id": 1147, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 492, + "id": 1144, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "4490:13:1", + "referencedDeclaration": 987, + "src": "4490:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -2567,18 +2567,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 493, + "id": 1145, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "4506:6:1", + "referencedDeclaration": 980, + "src": "4506:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 494, + "id": 1146, "isConstant": false, "isLValue": false, "isPure": true, @@ -2586,21 +2586,21 @@ "memberName": "INTERVIEW_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4506:24:1", + "src": "4506:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "4490:40:1", + "src": "4490:40:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 496, + "id": 1148, "nodeType": "ExpressionStatement", - "src": "4490:40:1" + "src": "4490:40:2" }, { "eventCall": { @@ -2608,14 +2608,14 @@ "arguments": [ { "argumentTypes": null, - "id": 498, + "id": 1150, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "4567:13:1", + "referencedDeclaration": 987, + "src": "4567:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -2623,22 +2623,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 497, + "id": 1149, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "4546:20:1", + "referencedDeclaration": 955, + "src": "4546:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 499, + "id": 1151, "isConstant": false, "isLValue": false, "isPure": false, @@ -2646,42 +2646,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4546:35:1", + "src": "4546:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 500, + "id": 1152, "nodeType": "EmitStatement", - "src": "4541:40:1" + "src": "4541:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 502, + "id": 1154, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 486, + "id": 1138, "modifierName": { "argumentTypes": null, - "id": 485, + "id": 1137, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "4423:10:1", + "referencedDeclaration": 1008, + "src": "4423:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "4423:10:1" + "src": "4423:10:2" }, { "arguments": [ @@ -2689,18 +2689,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 488, + "id": 1140, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "4447:6:1", + "referencedDeclaration": 980, + "src": "4447:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 489, + "id": 1141, "isConstant": false, "isLValue": false, "isPure": true, @@ -2708,76 +2708,76 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4447:25:1", + "src": "4447:25:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 490, + "id": 1142, "modifierName": { "argumentTypes": null, - "id": 487, + "id": 1139, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "4439:7:1", + "referencedDeclaration": 1050, + "src": "4439:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "4439:34:1" + "src": "4439:34:2" } ], "name": "callForInterview", "nodeType": "FunctionDefinition", "parameters": { - "id": 484, + "id": 1136, "nodeType": "ParameterList", "parameters": [], - "src": "4403:2:1" + "src": "4403:2:2" }, "payable": false, "returnParameters": { - "id": 491, + "id": 1143, "nodeType": "ParameterList", "parameters": [], - "src": "4479:0:1" + "src": "4479:0:2" }, - "scope": 674, - "src": "4378:211:1", + "scope": 1326, + "src": "4378:211:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 520, + "id": 1172, "nodeType": "Block", - "src": "4956:113:1", + "src": "4956:113:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 514, + "id": 1166, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 511, + "id": 1163, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "4967:13:1", + "referencedDeclaration": 987, + "src": "4967:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -2787,18 +2787,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 512, + "id": 1164, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "4983:6:1", + "referencedDeclaration": 980, + "src": "4983:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 513, + "id": 1165, "isConstant": false, "isLValue": false, "isPure": true, @@ -2806,21 +2806,21 @@ "memberName": "APPLICATION_REJECTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4983:27:1", + "src": "4983:27:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "4967:43:1", + "src": "4967:43:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 515, + "id": 1167, "nodeType": "ExpressionStatement", - "src": "4967:43:1" + "src": "4967:43:2" }, { "eventCall": { @@ -2828,14 +2828,14 @@ "arguments": [ { "argumentTypes": null, - "id": 517, + "id": 1169, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "5047:13:1", + "referencedDeclaration": 987, + "src": "5047:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -2843,22 +2843,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 516, + "id": 1168, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "5026:20:1", + "referencedDeclaration": 955, + "src": "5026:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 518, + "id": 1170, "isConstant": false, "isLValue": false, "isPure": false, @@ -2866,42 +2866,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5026:35:1", + "src": "5026:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 519, + "id": 1171, "nodeType": "EmitStatement", - "src": "5021:40:1" + "src": "5021:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 521, + "id": 1173, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 505, + "id": 1157, "modifierName": { "argumentTypes": null, - "id": 504, + "id": 1156, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "4900:10:1", + "referencedDeclaration": 1008, + "src": "4900:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "4900:10:1" + "src": "4900:10:2" }, { "arguments": [ @@ -2909,18 +2909,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 507, + "id": 1159, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "4924:6:1", + "referencedDeclaration": 980, + "src": "4924:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 508, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": true, @@ -2928,76 +2928,76 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4924:25:1", + "src": "4924:25:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 509, + "id": 1161, "modifierName": { "argumentTypes": null, - "id": 506, + "id": 1158, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "4916:7:1", + "referencedDeclaration": 1050, + "src": "4916:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "4916:34:1" + "src": "4916:34:2" } ], "name": "rejectApplication", "nodeType": "FunctionDefinition", "parameters": { - "id": 503, + "id": 1155, "nodeType": "ParameterList", "parameters": [], - "src": "4880:2:1" + "src": "4880:2:2" }, "payable": false, "returnParameters": { - "id": 510, + "id": 1162, "nodeType": "ParameterList", "parameters": [], - "src": "4956:0:1" + "src": "4956:0:2" }, - "scope": 674, - "src": "4854:215:1", + "scope": 1326, + "src": "4854:215:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 539, + "id": 1191, "nodeType": "Block", - "src": "5433:110:1", + "src": "5433:110:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 533, + "id": 1185, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 530, + "id": 1182, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "5444:13:1", + "referencedDeclaration": 987, + "src": "5444:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -3007,18 +3007,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 531, + "id": 1183, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "5460:6:1", + "referencedDeclaration": 980, + "src": "5460:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 532, + "id": 1184, "isConstant": false, "isLValue": false, "isPure": true, @@ -3026,21 +3026,21 @@ "memberName": "AWAITING_JOBOFFER", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5460:24:1", + "src": "5460:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "5444:40:1", + "src": "5444:40:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 534, + "id": 1186, "nodeType": "ExpressionStatement", - "src": "5444:40:1" + "src": "5444:40:2" }, { "eventCall": { @@ -3048,14 +3048,14 @@ "arguments": [ { "argumentTypes": null, - "id": 536, + "id": 1188, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "5521:13:1", + "referencedDeclaration": 987, + "src": "5521:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -3063,22 +3063,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 535, + "id": 1187, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "5500:20:1", + "referencedDeclaration": 955, + "src": "5500:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 537, + "id": 1189, "isConstant": false, "isLValue": false, "isPure": false, @@ -3086,42 +3086,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5500:35:1", + "src": "5500:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 538, + "id": 1190, "nodeType": "EmitStatement", - "src": "5495:40:1" + "src": "5495:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 540, + "id": 1192, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 524, + "id": 1176, "modifierName": { "argumentTypes": null, - "id": 523, + "id": 1175, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "5378:10:1", + "referencedDeclaration": 1008, + "src": "5378:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5378:10:1" + "src": "5378:10:2" }, { "arguments": [ @@ -3129,18 +3129,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 526, + "id": 1178, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "5402:6:1", + "referencedDeclaration": 980, + "src": "5402:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 527, + "id": 1179, "isConstant": false, "isLValue": false, "isPure": true, @@ -3148,76 +3148,76 @@ "memberName": "INTERVIEW_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5402:24:1", + "src": "5402:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 528, + "id": 1180, "modifierName": { "argumentTypes": null, - "id": 525, + "id": 1177, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "5394:7:1", + "referencedDeclaration": 1050, + "src": "5394:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "5394:33:1" + "src": "5394:33:2" } ], "name": "interviewSuccessful", "nodeType": "FunctionDefinition", "parameters": { - "id": 522, + "id": 1174, "nodeType": "ParameterList", "parameters": [], - "src": "5358:2:1" + "src": "5358:2:2" }, "payable": false, "returnParameters": { - "id": 529, + "id": 1181, "nodeType": "ParameterList", "parameters": [], - "src": "5433:0:1" + "src": "5433:0:2" }, - "scope": 674, - "src": "5330:213:1", + "scope": 1326, + "src": "5330:213:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 558, + "id": 1210, "nodeType": "Block", - "src": "5921:115:1", + "src": "5921:115:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 552, + "id": 1204, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 549, + "id": 1201, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "5932:13:1", + "referencedDeclaration": 987, + "src": "5932:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -3227,18 +3227,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 550, + "id": 1202, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "5948:6:1", + "referencedDeclaration": 980, + "src": "5948:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 551, + "id": 1203, "isConstant": false, "isLValue": false, "isPure": true, @@ -3246,21 +3246,21 @@ "memberName": "INTERVIEW_NOT_SELECTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5948:29:1", + "src": "5948:29:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "5932:45:1", + "src": "5932:45:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 553, + "id": 1205, "nodeType": "ExpressionStatement", - "src": "5932:45:1" + "src": "5932:45:2" }, { "eventCall": { @@ -3268,14 +3268,14 @@ "arguments": [ { "argumentTypes": null, - "id": 555, + "id": 1207, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "6014:13:1", + "referencedDeclaration": 987, + "src": "6014:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -3283,22 +3283,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 554, + "id": 1206, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "5993:20:1", + "referencedDeclaration": 955, + "src": "5993:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 556, + "id": 1208, "isConstant": false, "isLValue": false, "isPure": false, @@ -3306,42 +3306,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5993:35:1", + "src": "5993:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 557, + "id": 1209, "nodeType": "EmitStatement", - "src": "5988:40:1" + "src": "5988:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 559, + "id": 1211, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 543, + "id": 1195, "modifierName": { "argumentTypes": null, - "id": 542, + "id": 1194, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "5866:10:1", + "referencedDeclaration": 1008, + "src": "5866:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5866:10:1" + "src": "5866:10:2" }, { "arguments": [ @@ -3349,18 +3349,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 545, + "id": 1197, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "5890:6:1", + "referencedDeclaration": 980, + "src": "5890:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 546, + "id": 1198, "isConstant": false, "isLValue": false, "isPure": true, @@ -3368,76 +3368,76 @@ "memberName": "INTERVIEW_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5890:24:1", + "src": "5890:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 547, + "id": 1199, "modifierName": { "argumentTypes": null, - "id": 544, + "id": 1196, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "5882:7:1", + "referencedDeclaration": 1050, + "src": "5882:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "5882:33:1" + "src": "5882:33:2" } ], "name": "interviewNotSelected", "nodeType": "FunctionDefinition", "parameters": { - "id": 541, + "id": 1193, "nodeType": "ParameterList", "parameters": [], - "src": "5846:2:1" + "src": "5846:2:2" }, "payable": false, "returnParameters": { - "id": 548, + "id": 1200, "nodeType": "ParameterList", "parameters": [], - "src": "5921:0:1" + "src": "5921:0:2" }, - "scope": 674, - "src": "5817:219:1", + "scope": 1326, + "src": "5817:219:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 577, + "id": 1229, "nodeType": "Block", - "src": "6380:109:1", + "src": "6380:109:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 571, + "id": 1223, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 568, + "id": 1220, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "6391:13:1", + "referencedDeclaration": 987, + "src": "6391:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -3447,18 +3447,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 569, + "id": 1221, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "6407:6:1", + "referencedDeclaration": 980, + "src": "6407:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 570, + "id": 1222, "isConstant": false, "isLValue": false, "isPure": true, @@ -3466,21 +3466,21 @@ "memberName": "JOBOFFER_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6407:23:1", + "src": "6407:23:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "6391:39:1", + "src": "6391:39:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 572, + "id": 1224, "nodeType": "ExpressionStatement", - "src": "6391:39:1" + "src": "6391:39:2" }, { "eventCall": { @@ -3488,14 +3488,14 @@ "arguments": [ { "argumentTypes": null, - "id": 574, + "id": 1226, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "6467:13:1", + "referencedDeclaration": 987, + "src": "6467:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -3503,22 +3503,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 573, + "id": 1225, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "6446:20:1", + "referencedDeclaration": 955, + "src": "6446:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 575, + "id": 1227, "isConstant": false, "isLValue": false, "isPure": false, @@ -3526,42 +3526,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6446:35:1", + "src": "6446:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 576, + "id": 1228, "nodeType": "EmitStatement", - "src": "6441:40:1" + "src": "6441:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 578, + "id": 1230, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 562, + "id": 1214, "modifierName": { "argumentTypes": null, - "id": 561, + "id": 1213, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "6325:10:1", + "referencedDeclaration": 1008, + "src": "6325:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6325:10:1" + "src": "6325:10:2" }, { "arguments": [ @@ -3569,18 +3569,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 564, + "id": 1216, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "6349:6:1", + "referencedDeclaration": 980, + "src": "6349:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 565, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": true, @@ -3588,76 +3588,76 @@ "memberName": "AWAITING_JOBOFFER", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6349:24:1", + "src": "6349:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 566, + "id": 1218, "modifierName": { "argumentTypes": null, - "id": 563, + "id": 1215, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "6341:7:1", + "referencedDeclaration": 1050, + "src": "6341:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "6341:33:1" + "src": "6341:33:2" } ], "name": "offerJob", "nodeType": "FunctionDefinition", "parameters": { - "id": 560, + "id": 1212, "nodeType": "ParameterList", "parameters": [], - "src": "6305:2:1" + "src": "6305:2:2" }, "payable": false, "returnParameters": { - "id": 567, + "id": 1219, "nodeType": "ParameterList", "parameters": [], - "src": "6380:0:1" + "src": "6380:0:2" }, - "scope": 674, - "src": "6288:201:1", + "scope": 1326, + "src": "6288:201:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 596, + "id": 1248, "nodeType": "Block", - "src": "6850:164:1", + "src": "6850:164:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 590, + "id": 1242, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 587, + "id": 1239, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "6861:13:1", + "referencedDeclaration": 987, + "src": "6861:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -3667,18 +3667,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 588, + "id": 1240, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "6877:6:1", + "referencedDeclaration": 980, + "src": "6877:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 589, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, @@ -3686,21 +3686,21 @@ "memberName": "JOBOFFER_ACCEPTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6877:24:1", + "src": "6877:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "6861:40:1", + "src": "6861:40:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 591, + "id": 1243, "nodeType": "ExpressionStatement", - "src": "6861:40:1" + "src": "6861:40:2" }, { "eventCall": { @@ -3708,14 +3708,14 @@ "arguments": [ { "argumentTypes": null, - "id": 593, + "id": 1245, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "6992:13:1", + "referencedDeclaration": 987, + "src": "6992:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -3723,22 +3723,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 592, + "id": 1244, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "6971:20:1", + "referencedDeclaration": 955, + "src": "6971:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 594, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -3746,42 +3746,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6971:35:1", + "src": "6971:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 595, + "id": 1247, "nodeType": "EmitStatement", - "src": "6966:40:1" + "src": "6966:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 597, + "id": 1249, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 581, + "id": 1233, "modifierName": { "argumentTypes": null, - "id": 580, + "id": 1232, "name": "isApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 367, - "src": "6795:11:1", + "referencedDeclaration": 1019, + "src": "6795:11:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6795:11:1" + "src": "6795:11:2" }, { "arguments": [ @@ -3789,18 +3789,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 583, + "id": 1235, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "6820:6:1", + "referencedDeclaration": 980, + "src": "6820:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 584, + "id": 1236, "isConstant": false, "isLValue": false, "isPure": true, @@ -3808,76 +3808,76 @@ "memberName": "JOBOFFER_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6820:23:1", + "src": "6820:23:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 585, + "id": 1237, "modifierName": { "argumentTypes": null, - "id": 582, + "id": 1234, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "6812:7:1", + "referencedDeclaration": 1050, + "src": "6812:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "6812:32:1" + "src": "6812:32:2" } ], "name": "acceptJobOffer", "nodeType": "FunctionDefinition", "parameters": { - "id": 579, + "id": 1231, "nodeType": "ParameterList", "parameters": [], - "src": "6775:2:1" + "src": "6775:2:2" }, "payable": false, "returnParameters": { - "id": 586, + "id": 1238, "nodeType": "ParameterList", "parameters": [], - "src": "6850:0:1" + "src": "6850:0:2" }, - "scope": 674, - "src": "6752:262:1", + "scope": 1326, + "src": "6752:262:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 615, + "id": 1267, "nodeType": "Block", - "src": "7374:114:1", + "src": "7374:114:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 609, + "id": 1261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 606, + "id": 1258, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "7385:13:1", + "referencedDeclaration": 987, + "src": "7385:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -3887,18 +3887,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 607, + "id": 1259, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "7401:6:1", + "referencedDeclaration": 980, + "src": "7401:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 608, + "id": 1260, "isConstant": false, "isLValue": false, "isPure": true, @@ -3906,21 +3906,21 @@ "memberName": "JOBOFFER_NOT_ACCEPTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7401:28:1", + "src": "7401:28:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "7385:44:1", + "src": "7385:44:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 610, + "id": 1262, "nodeType": "ExpressionStatement", - "src": "7385:44:1" + "src": "7385:44:2" }, { "eventCall": { @@ -3928,14 +3928,14 @@ "arguments": [ { "argumentTypes": null, - "id": 612, + "id": 1264, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "7466:13:1", + "referencedDeclaration": 987, + "src": "7466:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -3943,22 +3943,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 611, + "id": 1263, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "7445:20:1", + "referencedDeclaration": 955, + "src": "7445:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 613, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": false, @@ -3966,42 +3966,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7445:35:1", + "src": "7445:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 614, + "id": 1266, "nodeType": "EmitStatement", - "src": "7440:40:1" + "src": "7440:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 616, + "id": 1268, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 600, + "id": 1252, "modifierName": { "argumentTypes": null, - "id": 599, + "id": 1251, "name": "isApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 367, - "src": "7319:11:1", + "referencedDeclaration": 1019, + "src": "7319:11:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "7319:11:1" + "src": "7319:11:2" }, { "arguments": [ @@ -4009,18 +4009,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 602, + "id": 1254, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "7344:6:1", + "referencedDeclaration": 980, + "src": "7344:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 603, + "id": 1255, "isConstant": false, "isLValue": false, "isPure": true, @@ -4028,76 +4028,76 @@ "memberName": "JOBOFFER_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7344:23:1", + "src": "7344:23:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 604, + "id": 1256, "modifierName": { "argumentTypes": null, - "id": 601, + "id": 1253, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "7336:7:1", + "referencedDeclaration": 1050, + "src": "7336:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "7336:32:1" + "src": "7336:32:2" } ], "name": "rejectJobOffer", "nodeType": "FunctionDefinition", "parameters": { - "id": 598, + "id": 1250, "nodeType": "ParameterList", "parameters": [], - "src": "7299:2:1" + "src": "7299:2:2" }, "payable": false, "returnParameters": { - "id": 605, + "id": 1257, "nodeType": "ParameterList", "parameters": [], - "src": "7374:0:1" + "src": "7374:0:2" }, - "scope": 674, - "src": "7276:212:1", + "scope": 1326, + "src": "7276:212:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 634, + "id": 1286, "nodeType": "Block", - "src": "7857:164:1", + "src": "7857:164:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 628, + "id": 1280, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 625, + "id": 1277, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "7868:13:1", + "referencedDeclaration": 987, + "src": "7868:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -4107,18 +4107,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 626, + "id": 1278, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "7884:6:1", + "referencedDeclaration": 980, + "src": "7884:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 627, + "id": 1279, "isConstant": false, "isLValue": false, "isPure": true, @@ -4126,21 +4126,21 @@ "memberName": "EMPLOYMENT_PERIOD", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7884:24:1", + "src": "7884:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "7868:40:1", + "src": "7868:40:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 629, + "id": 1281, "nodeType": "ExpressionStatement", - "src": "7868:40:1" + "src": "7868:40:2" }, { "eventCall": { @@ -4148,14 +4148,14 @@ "arguments": [ { "argumentTypes": null, - "id": 631, + "id": 1283, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "7999:13:1", + "referencedDeclaration": 987, + "src": "7999:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -4163,22 +4163,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 630, + "id": 1282, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "7978:20:1", + "referencedDeclaration": 955, + "src": "7978:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 632, + "id": 1284, "isConstant": false, "isLValue": false, "isPure": false, @@ -4186,42 +4186,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7978:35:1", + "src": "7978:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 633, + "id": 1285, "nodeType": "EmitStatement", - "src": "7973:40:1" + "src": "7973:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 635, + "id": 1287, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 619, + "id": 1271, "modifierName": { "argumentTypes": null, - "id": 618, + "id": 1270, "name": "isEmployerOrApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 385, - "src": "7791:21:1", + "referencedDeclaration": 1037, + "src": "7791:21:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "7791:21:1" + "src": "7791:21:2" }, { "arguments": [ @@ -4229,18 +4229,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 621, + "id": 1273, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "7826:6:1", + "referencedDeclaration": 980, + "src": "7826:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 622, + "id": 1274, "isConstant": false, "isLValue": false, "isPure": true, @@ -4248,76 +4248,76 @@ "memberName": "JOBOFFER_ACCEPTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7826:24:1", + "src": "7826:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 623, + "id": 1275, "modifierName": { "argumentTypes": null, - "id": 620, + "id": 1272, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "7818:7:1", + "referencedDeclaration": 1050, + "src": "7818:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "7818:33:1" + "src": "7818:33:2" } ], "name": "startEmployment", "nodeType": "FunctionDefinition", "parameters": { - "id": 617, + "id": 1269, "nodeType": "ParameterList", "parameters": [], - "src": "7771:2:1" + "src": "7771:2:2" }, "payable": false, "returnParameters": { - "id": 624, + "id": 1276, "nodeType": "ParameterList", "parameters": [], - "src": "7857:0:1" + "src": "7857:0:2" }, - "scope": 674, - "src": "7747:274:1", + "scope": 1326, + "src": "7747:274:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 653, + "id": 1305, "nodeType": "Block", - "src": "8405:115:1", + "src": "8405:115:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 647, + "id": 1299, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 644, + "id": 1296, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "8416:13:1", + "referencedDeclaration": 987, + "src": "8416:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -4327,18 +4327,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 645, + "id": 1297, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "8432:6:1", + "referencedDeclaration": 980, + "src": "8432:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 646, + "id": 1298, "isConstant": false, "isLValue": false, "isPure": true, @@ -4346,21 +4346,21 @@ "memberName": "EMPLOYMENT_TERMINATION", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8432:29:1", + "src": "8432:29:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "8416:45:1", + "src": "8416:45:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 648, + "id": 1300, "nodeType": "ExpressionStatement", - "src": "8416:45:1" + "src": "8416:45:2" }, { "eventCall": { @@ -4368,14 +4368,14 @@ "arguments": [ { "argumentTypes": null, - "id": 650, + "id": 1302, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "8498:13:1", + "referencedDeclaration": 987, + "src": "8498:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -4383,22 +4383,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 649, + "id": 1301, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "8477:20:1", + "referencedDeclaration": 955, + "src": "8477:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 651, + "id": 1303, "isConstant": false, "isLValue": false, "isPure": false, @@ -4406,42 +4406,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8477:35:1", + "src": "8477:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 652, + "id": 1304, "nodeType": "EmitStatement", - "src": "8472:40:1" + "src": "8472:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 654, + "id": 1306, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 638, + "id": 1290, "modifierName": { "argumentTypes": null, - "id": 637, + "id": 1289, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "8350:10:1", + "referencedDeclaration": 1008, + "src": "8350:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8350:10:1" + "src": "8350:10:2" }, { "arguments": [ @@ -4449,18 +4449,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 640, + "id": 1292, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "8374:6:1", + "referencedDeclaration": 980, + "src": "8374:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 641, + "id": 1293, "isConstant": false, "isLValue": false, "isPure": true, @@ -4468,76 +4468,76 @@ "memberName": "EMPLOYMENT_PERIOD", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8374:24:1", + "src": "8374:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 642, + "id": 1294, "modifierName": { "argumentTypes": null, - "id": 639, + "id": 1291, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "8366:7:1", + "referencedDeclaration": 1050, + "src": "8366:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "8366:33:1" + "src": "8366:33:2" } ], "name": "terminateEmployment", "nodeType": "FunctionDefinition", "parameters": { - "id": 636, + "id": 1288, "nodeType": "ParameterList", "parameters": [], - "src": "8330:2:1" + "src": "8330:2:2" }, "payable": false, "returnParameters": { - "id": 643, + "id": 1295, "nodeType": "ParameterList", "parameters": [], - "src": "8405:0:1" + "src": "8405:0:2" }, - "scope": 674, - "src": "8302:218:1", + "scope": 1326, + "src": "8302:218:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 672, + "id": 1324, "nodeType": "Block", - "src": "8930:103:1", + "src": "8930:103:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 666, + "id": 1318, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 663, + "id": 1315, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "8941:13:1", + "referencedDeclaration": 987, + "src": "8941:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -4547,18 +4547,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 664, + "id": 1316, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "8957:6:1", + "referencedDeclaration": 980, + "src": "8957:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 665, + "id": 1317, "isConstant": false, "isLValue": false, "isPure": true, @@ -4566,21 +4566,21 @@ "memberName": "IN_DISPUTE", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8957:17:1", + "src": "8957:17:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "8941:33:1", + "src": "8941:33:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 667, + "id": 1319, "nodeType": "ExpressionStatement", - "src": "8941:33:1" + "src": "8941:33:2" }, { "eventCall": { @@ -4588,14 +4588,14 @@ "arguments": [ { "argumentTypes": null, - "id": 669, + "id": 1321, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "9011:13:1", + "referencedDeclaration": 987, + "src": "9011:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -4603,22 +4603,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 668, + "id": 1320, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "8990:20:1", + "referencedDeclaration": 955, + "src": "8990:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 670, + "id": 1322, "isConstant": false, "isLValue": false, "isPure": false, @@ -4626,42 +4626,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8990:35:1", + "src": "8990:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 671, + "id": 1323, "nodeType": "EmitStatement", - "src": "8985:40:1" + "src": "8985:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 673, + "id": 1325, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 657, + "id": 1309, "modifierName": { "argumentTypes": null, - "id": 656, + "id": 1308, "name": "isEmployerOrApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 385, - "src": "8864:21:1", + "referencedDeclaration": 1037, + "src": "8864:21:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8864:21:1" + "src": "8864:21:2" }, { "arguments": [ @@ -4669,18 +4669,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 659, + "id": 1311, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "8899:6:1", + "referencedDeclaration": 980, + "src": "8899:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 660, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": true, @@ -4688,87 +4688,87 @@ "memberName": "EMPLOYMENT_PERIOD", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8899:24:1", + "src": "8899:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 661, + "id": 1313, "modifierName": { "argumentTypes": null, - "id": 658, + "id": 1310, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "8891:7:1", + "referencedDeclaration": 1050, + "src": "8891:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "8891:33:1" + "src": "8891:33:2" } ], "name": "openDispute", "nodeType": "FunctionDefinition", "parameters": { - "id": 655, + "id": 1307, "nodeType": "ParameterList", "parameters": [], - "src": "8844:2:1" + "src": "8844:2:2" }, "payable": false, "returnParameters": { - "id": 662, + "id": 1314, "nodeType": "ParameterList", "parameters": [], - "src": "8930:0:1" + "src": "8930:0:2" }, - "scope": 674, - "src": "8824:209:1", + "scope": 1326, + "src": "8824:209:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 675, - "src": "144:9008:1" + "scope": 1327, + "src": "144:9008:2" } ], - "src": "0:9152:1" + "src": "0:9152:2" }, "legacyAST": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicant.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicant.sol", "exportedSymbols": { "JobApplicant": [ - 674 + 1326 ] }, - "id": 675, + "id": 1327, "nodeType": "SourceUnit", "nodes": [ { - "id": 298, + "id": 950, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:1" + "src": "0:23:2" }, { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", "file": "./Listing.sol", - "id": 299, + "id": 951, "nodeType": "ImportDirective", - "scope": 675, - "sourceUnit": 903, - "src": "115:23:1", + "scope": 1327, + "sourceUnit": 1555, + "src": "115:23:2", "symbolAliases": [], "unitAlias": "" }, @@ -4778,9 +4778,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 674, + "id": 1326, "linearizedBaseContracts": [ - 674 + 1326 ], "name": "JobApplicant", "nodeType": "ContractDefinition", @@ -4788,36 +4788,36 @@ { "anonymous": false, "documentation": null, - "id": 303, + "id": 955, "name": "JobApplicationChange", "nodeType": "EventDefinition", "parameters": { - "id": 302, + "id": 954, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 301, + "id": 953, "indexed": false, "name": "stage", "nodeType": "VariableDeclaration", - "scope": 303, - "src": "230:12:1", + "scope": 955, + "src": "230:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 300, + "id": 952, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 328, - "src": "230:6:1", + "referencedDeclaration": 980, + "src": "230:6:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -4825,28 +4825,28 @@ "visibility": "internal" } ], - "src": "229:14:1" + "src": "229:14:2" }, - "src": "203:41:1" + "src": "203:41:2" }, { "anonymous": false, "documentation": null, - "id": 315, + "id": 967, "name": "JobApplicationReview", "nodeType": "EventDefinition", "parameters": { - "id": 314, + "id": 966, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 305, + "id": 957, "indexed": false, "name": "reviewer", "nodeType": "VariableDeclaration", - "scope": 315, - "src": "277:16:1", + "scope": 967, + "src": "277:16:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4854,10 +4854,10 @@ "typeString": "address" }, "typeName": { - "id": 304, + "id": 956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "277:7:1", + "src": "277:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4868,12 +4868,12 @@ }, { "constant": false, - "id": 307, + "id": 959, "indexed": false, "name": "reviewee", "nodeType": "VariableDeclaration", - "scope": 315, - "src": "295:16:1", + "scope": 967, + "src": "295:16:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4881,10 +4881,10 @@ "typeString": "address" }, "typeName": { - "id": 306, + "id": 958, "name": "address", "nodeType": "ElementaryTypeName", - "src": "295:7:1", + "src": "295:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4895,27 +4895,27 @@ }, { "constant": false, - "id": 309, + "id": 961, "indexed": false, "name": "revieweeRole", "nodeType": "VariableDeclaration", - "scope": 315, - "src": "313:18:1", + "scope": 967, + "src": "313:18:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Roles_$331", + "typeIdentifier": "t_enum$_Roles_$983", "typeString": "enum JobApplicant.Roles" }, "typeName": { "contractScope": null, - "id": 308, + "id": 960, "name": "Roles", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 331, - "src": "313:5:1", + "referencedDeclaration": 983, + "src": "313:5:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Roles_$331", + "typeIdentifier": "t_enum$_Roles_$983", "typeString": "enum JobApplicant.Roles" } }, @@ -4924,12 +4924,12 @@ }, { "constant": false, - "id": 311, + "id": 963, "indexed": false, "name": "rating", "nodeType": "VariableDeclaration", - "scope": 315, - "src": "333:12:1", + "scope": 967, + "src": "333:12:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4937,10 +4937,10 @@ "typeString": "uint8" }, "typeName": { - "id": 310, + "id": 962, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "333:5:1", + "src": "333:5:2", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -4951,12 +4951,12 @@ }, { "constant": false, - "id": 313, + "id": 965, "indexed": false, "name": "ipfsHash", "nodeType": "VariableDeclaration", - "scope": 315, - "src": "347:16:1", + "scope": 967, + "src": "347:16:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4964,10 +4964,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 312, + "id": 964, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "347:7:1", + "src": "347:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4977,134 +4977,134 @@ "visibility": "internal" } ], - "src": "276:88:1" + "src": "276:88:2" }, - "src": "250:115:1" + "src": "250:115:2" }, { "canonicalName": "JobApplicant.Stages", - "id": 328, + "id": 980, "members": [ { - "id": 316, + "id": 968, "name": "AWAITING_INTERVIEW", "nodeType": "EnumValue", - "src": "453:18:1" + "src": "453:18:2" }, { - "id": 317, + "id": 969, "name": "AWAITING_JOBOFFER", "nodeType": "EnumValue", - "src": "547:17:1" + "src": "547:17:2" }, { - "id": 318, + "id": 970, "name": "CANCEL_APPLICATION", "nodeType": "EnumValue", - "src": "641:18:1" + "src": "641:18:2" }, { - "id": 319, + "id": 971, "name": "INTERVIEW_NOT_SELECTED", "nodeType": "EnumValue", - "src": "741:22:1" + "src": "741:22:2" }, { - "id": 320, + "id": 972, "name": "JOBOFFER_ACCEPTED", "nodeType": "EnumValue", - "src": "824:17:1" + "src": "824:17:2" }, { - "id": 321, + "id": 973, "name": "JOBOFFER_NOT_ACCEPTED", "nodeType": "EnumValue", - "src": "895:21:1" + "src": "895:21:2" }, { - "id": 322, + "id": 974, "name": "INTERVIEW_PENDING", "nodeType": "EnumValue", - "src": "1000:17:1" + "src": "1000:17:2" }, { - "id": 323, + "id": 975, "name": "JOBOFFER_PENDING", "nodeType": "EnumValue", - "src": "1126:16:1" + "src": "1126:16:2" }, { - "id": 324, + "id": 976, "name": "APPLICATION_REJECTED", "nodeType": "EnumValue", - "src": "1249:20:1" + "src": "1249:20:2" }, { - "id": 325, + "id": 977, "name": "EMPLOYMENT_PERIOD", "nodeType": "EnumValue", - "src": "1319:17:1" + "src": "1319:17:2" }, { - "id": 326, + "id": 978, "name": "IN_DISPUTE", "nodeType": "EnumValue", - "src": "1407:10:1" + "src": "1407:10:2" }, { - "id": 327, + "id": 979, "name": "EMPLOYMENT_TERMINATION", "nodeType": "EnumValue", - "src": "1502:22:1" + "src": "1502:22:2" } ], "name": "Stages", "nodeType": "EnumDefinition", - "src": "403:1154:1" + "src": "403:1154:2" }, { "canonicalName": "JobApplicant.Roles", - "id": 331, + "id": 983, "members": [ { - "id": 329, + "id": 981, "name": "APPLICANT", "nodeType": "EnumValue", - "src": "1585:9:1" + "src": "1585:9:2" }, { - "id": 330, + "id": 982, "name": "EMPLOYER", "nodeType": "EnumValue", - "src": "1603:8:1" + "src": "1603:8:2" } ], "name": "Roles", "nodeType": "EnumDefinition", - "src": "1565:53:1" + "src": "1565:53:2" }, { "constant": false, - "id": 335, + "id": 987, "name": "internalStage", "nodeType": "VariableDeclaration", - "scope": 674, - "src": "1659:56:1", + "scope": 1326, + "src": "1659:56:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 332, + "id": 984, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 328, - "src": "1659:6:1", + "referencedDeclaration": 980, + "src": "1659:6:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -5112,18 +5112,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 333, + "id": 985, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "1690:6:1", + "referencedDeclaration": 980, + "src": "1690:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 334, + "id": 986, "isConstant": false, "isLValue": false, "isPure": true, @@ -5131,9 +5131,9 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1690:25:1", + "src": "1690:25:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -5141,26 +5141,26 @@ }, { "constant": false, - "id": 337, + "id": 989, "name": "listingContract", "nodeType": "VariableDeclaration", - "scope": 674, - "src": "1722:30:1", + "scope": 1326, + "src": "1722:30:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 336, + "id": 988, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "1722:7:1", + "referencedDeclaration": 1554, + "src": "1722:7:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -5169,11 +5169,11 @@ }, { "constant": false, - "id": 339, + "id": 991, "name": "applicant", "nodeType": "VariableDeclaration", - "scope": 674, - "src": "1794:24:1", + "scope": 1326, + "src": "1794:24:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5181,10 +5181,10 @@ "typeString": "address" }, "typeName": { - "id": 338, + "id": 990, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1794:7:1", + "src": "1794:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5195,11 +5195,11 @@ }, { "constant": false, - "id": 341, + "id": 993, "name": "created", "nodeType": "VariableDeclaration", - "scope": 674, - "src": "1879:19:1", + "scope": 1326, + "src": "1879:19:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5207,10 +5207,10 @@ "typeString": "uint256" }, "typeName": { - "id": 340, + "id": 992, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1879:4:1", + "src": "1879:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5221,11 +5221,11 @@ }, { "constant": false, - "id": 343, + "id": 995, "name": "applicationTimeout", "nodeType": "VariableDeclaration", - "scope": 674, - "src": "1905:30:1", + "scope": 1326, + "src": "1905:30:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -5233,10 +5233,10 @@ "typeString": "uint256" }, "typeName": { - "id": 342, + "id": 994, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1905:4:1", + "src": "1905:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5247,9 +5247,9 @@ }, { "body": { - "id": 355, + "id": 1007, "nodeType": "Block", - "src": "2001:77:1", + "src": "2001:77:2", "statements": [ { "expression": { @@ -5261,7 +5261,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 351, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, @@ -5270,18 +5270,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 346, + "id": 998, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "2020:3:1", + "referencedDeclaration": 1965, + "src": "2020:3:2", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 347, + "id": 999, "isConstant": false, "isLValue": false, "isPure": false, @@ -5289,7 +5289,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2020:10:1", + "src": "2020:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5304,32 +5304,32 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 348, + "id": 1000, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 337, - "src": "2034:15:1", + "referencedDeclaration": 989, + "src": "2034:15:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 349, + "id": 1001, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 709, - "src": "2034:21:1", + "referencedDeclaration": 1361, + "src": "2034:21:2", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", "typeString": "function () view external returns (address)" } }, - "id": 350, + "id": 1002, "isConstant": false, "isLValue": false, "isPure": false, @@ -5337,13 +5337,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2034:23:1", + "src": "2034:23:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2020:37:1", + "src": "2020:37:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5357,21 +5357,21 @@ "typeString": "bool" } ], - "id": 345, + "id": 997, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "2012:7:1", + "referencedDeclaration": 1968, + "src": "2012:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 352, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": false, @@ -5379,41 +5379,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2012:46:1", + "src": "2012:46:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 353, + "id": 1005, "nodeType": "ExpressionStatement", - "src": "2012:46:1" + "src": "2012:46:2" }, { - "id": 354, + "id": 1006, "nodeType": "PlaceholderStatement", - "src": "2069:1:1" + "src": "2069:1:2" } ] }, "documentation": null, - "id": 356, + "id": 1008, "name": "isEmployer", "nodeType": "ModifierDefinition", "parameters": { - "id": 344, + "id": 996, "nodeType": "ParameterList", "parameters": [], - "src": "1998:2:1" + "src": "1998:2:2" }, - "src": "1979:99:1", + "src": "1979:99:2", "visibility": "internal" }, { "body": { - "id": 366, + "id": 1018, "nodeType": "Block", - "src": "2109:63:1", + "src": "2109:63:2", "statements": [ { "expression": { @@ -5425,7 +5425,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 362, + "id": 1014, "isConstant": false, "isLValue": false, "isPure": false, @@ -5434,18 +5434,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 359, + "id": 1011, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "2128:3:1", + "referencedDeclaration": 1965, + "src": "2128:3:2", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 360, + "id": 1012, "isConstant": false, "isLValue": false, "isPure": false, @@ -5453,7 +5453,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2128:10:1", + "src": "2128:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5463,18 +5463,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 361, + "id": 1013, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 339, - "src": "2142:9:1", + "referencedDeclaration": 991, + "src": "2142:9:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2128:23:1", + "src": "2128:23:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5488,21 +5488,21 @@ "typeString": "bool" } ], - "id": 358, + "id": 1010, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "2120:7:1", + "referencedDeclaration": 1968, + "src": "2120:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 363, + "id": 1015, "isConstant": false, "isLValue": false, "isPure": false, @@ -5510,41 +5510,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2120:32:1", + "src": "2120:32:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 364, + "id": 1016, "nodeType": "ExpressionStatement", - "src": "2120:32:1" + "src": "2120:32:2" }, { - "id": 365, + "id": 1017, "nodeType": "PlaceholderStatement", - "src": "2163:1:1" + "src": "2163:1:2" } ] }, "documentation": null, - "id": 367, + "id": 1019, "name": "isApplicant", "nodeType": "ModifierDefinition", "parameters": { - "id": 357, + "id": 1009, "nodeType": "ParameterList", "parameters": [], - "src": "2106:2:1" + "src": "2106:2:2" }, - "src": "2086:86:1", + "src": "2086:86:2", "visibility": "internal" }, { "body": { - "id": 384, + "id": 1036, "nodeType": "Block", - "src": "2213:141:1", + "src": "2213:141:2", "statements": [ { "expression": { @@ -5556,7 +5556,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 380, + "id": 1032, "isConstant": false, "isLValue": false, "isPure": false, @@ -5567,7 +5567,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 373, + "id": 1025, "isConstant": false, "isLValue": false, "isPure": false, @@ -5576,18 +5576,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 370, + "id": 1022, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "2246:3:1", + "referencedDeclaration": 1965, + "src": "2246:3:2", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 371, + "id": 1023, "isConstant": false, "isLValue": false, "isPure": false, @@ -5595,7 +5595,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2246:10:1", + "src": "2246:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5605,18 +5605,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 372, + "id": 1024, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 339, - "src": "2260:9:1", + "referencedDeclaration": 991, + "src": "2260:9:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2246:23:1", + "src": "2246:23:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5630,7 +5630,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 379, + "id": 1031, "isConstant": false, "isLValue": false, "isPure": false, @@ -5639,18 +5639,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 374, + "id": 1026, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "2286:3:1", + "referencedDeclaration": 1965, + "src": "2286:3:2", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 375, + "id": 1027, "isConstant": false, "isLValue": false, "isPure": false, @@ -5658,7 +5658,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2286:10:1", + "src": "2286:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5673,32 +5673,32 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 376, + "id": 1028, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 337, - "src": "2300:15:1", + "referencedDeclaration": 989, + "src": "2300:15:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 377, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 709, - "src": "2300:21:1", + "referencedDeclaration": 1361, + "src": "2300:21:2", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", "typeString": "function () view external returns (address)" } }, - "id": 378, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -5706,19 +5706,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2300:23:1", + "src": "2300:23:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2286:37:1", + "src": "2286:37:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "2246:77:1", + "src": "2246:77:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5732,21 +5732,21 @@ "typeString": "bool" } ], - "id": 369, + "id": 1021, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "2224:7:1", + "referencedDeclaration": 1968, + "src": "2224:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 381, + "id": 1033, "isConstant": false, "isLValue": false, "isPure": false, @@ -5754,41 +5754,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2224:110:1", + "src": "2224:110:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 382, + "id": 1034, "nodeType": "ExpressionStatement", - "src": "2224:110:1" + "src": "2224:110:2" }, { - "id": 383, + "id": 1035, "nodeType": "PlaceholderStatement", - "src": "2345:1:1" + "src": "2345:1:2" } ] }, "documentation": null, - "id": 385, + "id": 1037, "name": "isEmployerOrApplicant", "nodeType": "ModifierDefinition", "parameters": { - "id": 368, + "id": 1020, "nodeType": "ParameterList", "parameters": [], - "src": "2210:2:1" + "src": "2210:2:2" }, - "src": "2180:174:1", + "src": "2180:174:2", "visibility": "internal" }, { "body": { - "id": 397, + "id": 1049, "nodeType": "Block", - "src": "2394:57:1", + "src": "2394:57:2", "statements": [ { "expression": { @@ -5797,10 +5797,10 @@ { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, - "id": 393, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": false, @@ -5810,18 +5810,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 390, + "id": 1042, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "2413:5:1", + "referencedDeclaration": 1106, + "src": "2413:5:2", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$980_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 391, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -5829,9 +5829,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2413:7:1", + "src": "2413:7:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -5839,18 +5839,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 392, + "id": 1044, "name": "_stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 387, - "src": "2424:6:1", + "referencedDeclaration": 1039, + "src": "2424:6:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "2413:17:1", + "src": "2413:17:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5864,21 +5864,21 @@ "typeString": "bool" } ], - "id": 389, + "id": 1041, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "2405:7:1", + "referencedDeclaration": 1968, + "src": "2405:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 394, + "id": 1046, "isConstant": false, "isLValue": false, "isPure": false, @@ -5886,53 +5886,53 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2405:26:1", + "src": "2405:26:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 395, + "id": 1047, "nodeType": "ExpressionStatement", - "src": "2405:26:1" + "src": "2405:26:2" }, { - "id": 396, + "id": 1048, "nodeType": "PlaceholderStatement", - "src": "2442:1:1" + "src": "2442:1:2" } ] }, "documentation": null, - "id": 398, + "id": 1050, "name": "atStage", "nodeType": "ModifierDefinition", "parameters": { - "id": 388, + "id": 1040, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 387, + "id": 1039, "name": "_stage", "nodeType": "VariableDeclaration", - "scope": 398, - "src": "2379:13:1", + "scope": 1050, + "src": "2379:13:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 386, + "id": 1038, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 328, - "src": "2379:6:1", + "referencedDeclaration": 980, + "src": "2379:6:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -5940,33 +5940,33 @@ "visibility": "internal" } ], - "src": "2378:15:1" + "src": "2378:15:2" }, - "src": "2362:89:1", + "src": "2362:89:2", "visibility": "internal" }, { "body": { - "id": 423, + "id": 1075, "nodeType": "Block", - "src": "2605:177:1", + "src": "2605:177:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 407, + "id": 1059, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 405, + "id": 1057, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 339, - "src": "2616:9:1", + "referencedDeclaration": 991, + "src": "2616:9:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5976,45 +5976,45 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 406, + "id": 1058, "name": "_applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 402, - "src": "2628:10:1", + "referencedDeclaration": 1054, + "src": "2628:10:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2616:22:1", + "src": "2616:22:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 408, + "id": 1060, "nodeType": "ExpressionStatement", - "src": "2616:22:1" + "src": "2616:22:2" }, { "expression": { "argumentTypes": null, - "id": 413, + "id": 1065, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 409, + "id": 1061, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 337, - "src": "2649:15:1", + "referencedDeclaration": 989, + "src": "2649:15:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -6025,12 +6025,12 @@ "arguments": [ { "argumentTypes": null, - "id": 411, + "id": 1063, "name": "_listingContractAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 400, - "src": "2675:23:1", + "referencedDeclaration": 1052, + "src": "2675:23:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6044,18 +6044,18 @@ "typeString": "address" } ], - "id": 410, + "id": 1062, "name": "Listing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 902, - "src": "2667:7:1", + "referencedDeclaration": 1554, + "src": "2667:7:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Listing_$902_$", + "typeIdentifier": "t_type$_t_contract$_Listing_$1554_$", "typeString": "type(contract Listing)" } }, - "id": 412, + "id": 1064, "isConstant": false, "isLValue": false, "isPure": false, @@ -6063,38 +6063,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2667:32:1", + "src": "2667:32:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "src": "2649:50:1", + "src": "2649:50:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 414, + "id": 1066, "nodeType": "ExpressionStatement", - "src": "2649:50:1" + "src": "2649:50:2" }, { "expression": { "argumentTypes": null, - "id": 417, + "id": 1069, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 415, + "id": 1067, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 341, - "src": "2710:7:1", + "referencedDeclaration": 993, + "src": "2710:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6104,26 +6104,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 416, + "id": 1068, "name": "now", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1224, - "src": "2720:3:1", + "referencedDeclaration": 1967, + "src": "2720:3:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2710:13:1", + "src": "2710:13:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 418, + "id": 1070, "nodeType": "ExpressionStatement", - "src": "2710:13:1" + "src": "2710:13:2" }, { "eventCall": { @@ -6131,14 +6131,14 @@ "arguments": [ { "argumentTypes": null, - "id": 420, + "id": 1072, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "2760:13:1", + "referencedDeclaration": 987, + "src": "2760:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -6146,22 +6146,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 419, + "id": 1071, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "2739:20:1", + "referencedDeclaration": 955, + "src": "2739:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 421, + "id": 1073, "isConstant": false, "isLValue": false, "isPure": false, @@ -6169,20 +6169,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2739:35:1", + "src": "2739:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 422, + "id": 1074, "nodeType": "EmitStatement", - "src": "2734:40:1" + "src": "2734:40:2" } ] }, "documentation": null, - "id": 424, + "id": 1076, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -6190,16 +6190,16 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 403, + "id": 1055, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 400, + "id": 1052, "name": "_listingContractAddress", "nodeType": "VariableDeclaration", - "scope": 424, - "src": "2522:31:1", + "scope": 1076, + "src": "2522:31:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6207,10 +6207,10 @@ "typeString": "address" }, "typeName": { - "id": 399, + "id": 1051, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2522:7:1", + "src": "2522:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6221,11 +6221,11 @@ }, { "constant": false, - "id": 402, + "id": 1054, "name": "_applicant", "nodeType": "VariableDeclaration", - "scope": 424, - "src": "2562:18:1", + "scope": 1076, + "src": "2562:18:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6233,10 +6233,10 @@ "typeString": "address" }, "typeName": { - "id": 401, + "id": 1053, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2562:7:1", + "src": "2562:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6246,26 +6246,26 @@ "visibility": "internal" } ], - "src": "2513:74:1" + "src": "2513:74:2" }, "payable": false, "returnParameters": { - "id": 404, + "id": 1056, "nodeType": "ParameterList", "parameters": [], - "src": "2605:0:1" + "src": "2605:0:2" }, - "scope": 674, - "src": "2501:281:1", + "scope": 1326, + "src": "2501:281:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 445, + "id": 1097, "nodeType": "Block", - "src": "2941:90:1", + "src": "2941:90:2", "statements": [ { "expression": { @@ -6276,18 +6276,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 437, + "id": 1089, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "2960:5:1", + "referencedDeclaration": 1106, + "src": "2960:5:2", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$980_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 438, + "id": 1090, "isConstant": false, "isLValue": false, "isPure": false, @@ -6295,33 +6295,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2960:7:1", + "src": "2960:7:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, { "argumentTypes": null, - "id": 439, + "id": 1091, "name": "listingContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 337, - "src": "2969:15:1", + "referencedDeclaration": 989, + "src": "2969:15:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, { "argumentTypes": null, - "id": 440, + "id": 1092, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 339, - "src": "2986:9:1", + "referencedDeclaration": 991, + "src": "2986:9:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6329,12 +6329,12 @@ }, { "argumentTypes": null, - "id": 441, + "id": 1093, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 341, - "src": "2997:7:1", + "referencedDeclaration": 993, + "src": "2997:7:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6342,40 +6342,40 @@ }, { "argumentTypes": null, - "id": 442, + "id": 1094, "name": "_applicantTimout", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 435, - "src": "3006:16:1", + "referencedDeclaration": 1087, + "src": "3006:16:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 443, + "id": 1095, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2959:64:1", + "src": "2959:64:2", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_enum$_Stages_$328_$_t_contract$_Listing_$902_$_t_address_$_t_uint256_$_t_uint256_$", + "typeIdentifier": "t_tuple$_t_enum$_Stages_$980_$_t_contract$_Listing_$1554_$_t_address_$_t_uint256_$_t_uint256_$", "typeString": "tuple(enum JobApplicant.Stages,contract Listing,address,uint256,uint256)" } }, - "functionReturnParameters": 436, - "id": 444, + "functionReturnParameters": 1088, + "id": 1096, "nodeType": "Return", - "src": "2952:71:1" + "src": "2952:71:2" } ] }, "documentation": null, - "id": 446, + "id": 1098, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -6383,38 +6383,38 @@ "name": "data", "nodeType": "FunctionDefinition", "parameters": { - "id": 425, + "id": 1077, "nodeType": "ParameterList", "parameters": [], - "src": "2803:2:1" + "src": "2803:2:2" }, "payable": false, "returnParameters": { - "id": 436, + "id": 1088, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 427, + "id": 1079, "name": "_stage", "nodeType": "VariableDeclaration", - "scope": 446, - "src": "2842:13:1", + "scope": 1098, + "src": "2842:13:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 426, + "id": 1078, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 328, - "src": "2842:6:1", + "referencedDeclaration": 980, + "src": "2842:6:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -6423,26 +6423,26 @@ }, { "constant": false, - "id": 429, + "id": 1081, "name": "_listingContract", "nodeType": "VariableDeclaration", - "scope": 446, - "src": "2857:24:1", + "scope": 1098, + "src": "2857:24:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 428, + "id": 1080, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "2857:7:1", + "referencedDeclaration": 1554, + "src": "2857:7:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -6451,11 +6451,11 @@ }, { "constant": false, - "id": 431, + "id": 1083, "name": "_applicant", "nodeType": "VariableDeclaration", - "scope": 446, - "src": "2883:18:1", + "scope": 1098, + "src": "2883:18:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6463,10 +6463,10 @@ "typeString": "address" }, "typeName": { - "id": 430, + "id": 1082, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2883:7:1", + "src": "2883:7:2", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6477,11 +6477,11 @@ }, { "constant": false, - "id": 433, + "id": 1085, "name": "_created", "nodeType": "VariableDeclaration", - "scope": 446, - "src": "2903:13:1", + "scope": 1098, + "src": "2903:13:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6489,10 +6489,10 @@ "typeString": "uint256" }, "typeName": { - "id": 432, + "id": 1084, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2903:4:1", + "src": "2903:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6503,11 +6503,11 @@ }, { "constant": false, - "id": 435, + "id": 1087, "name": "_applicantTimout", "nodeType": "VariableDeclaration", - "scope": 446, - "src": "2918:21:1", + "scope": 1098, + "src": "2918:21:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6515,10 +6515,10 @@ "typeString": "uint256" }, "typeName": { - "id": 434, + "id": 1086, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2918:4:1", + "src": "2918:4:2", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6528,43 +6528,43 @@ "visibility": "internal" } ], - "src": "2841:99:1" + "src": "2841:99:2" }, - "scope": 674, - "src": "2790:241:1", + "scope": 1326, + "src": "2790:241:2", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 453, + "id": 1105, "nodeType": "Block", - "src": "3432:39:1", + "src": "3432:39:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 451, + "id": 1103, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "3450:13:1", + "referencedDeclaration": 987, + "src": "3450:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "functionReturnParameters": 450, - "id": 452, + "functionReturnParameters": 1102, + "id": 1104, "nodeType": "Return", - "src": "3443:20:1" + "src": "3443:20:2" } ] }, "documentation": "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 454, + "id": 1106, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -6572,38 +6572,38 @@ "name": "stage", "nodeType": "FunctionDefinition", "parameters": { - "id": 447, + "id": 1099, "nodeType": "ParameterList", "parameters": [], - "src": "3373:2:1" + "src": "3373:2:2" }, "payable": false, "returnParameters": { - "id": 450, + "id": 1102, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 449, + "id": 1101, "name": "_stage", "nodeType": "VariableDeclaration", - "scope": 454, - "src": "3412:13:1", + "scope": 1106, + "src": "3412:13:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, "typeName": { "contractScope": null, - "id": 448, + "id": 1100, "name": "Stages", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 328, - "src": "3412:6:1", + "referencedDeclaration": 980, + "src": "3412:6:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -6611,19 +6611,19 @@ "visibility": "internal" } ], - "src": "3411:15:1" + "src": "3411:15:2" }, - "scope": 674, - "src": "3359:112:1", + "scope": 1326, + "src": "3359:112:2", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 482, + "id": 1134, "nodeType": "Block", - "src": "3814:286:1", + "src": "3814:286:2", "statements": [ { "expression": { @@ -6635,7 +6635,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 470, + "id": 1122, "isConstant": false, "isLValue": false, "isPure": false, @@ -6643,10 +6643,10 @@ "leftExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, - "id": 464, + "id": 1116, "isConstant": false, "isLValue": false, "isPure": false, @@ -6656,18 +6656,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 460, + "id": 1112, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3884:5:1", + "referencedDeclaration": 1106, + "src": "3884:5:2", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$980_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 461, + "id": 1113, "isConstant": false, "isLValue": false, "isPure": false, @@ -6675,9 +6675,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3884:7:1", + "src": "3884:7:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -6687,18 +6687,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 462, + "id": 1114, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "3895:6:1", + "referencedDeclaration": 980, + "src": "3895:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 463, + "id": 1115, "isConstant": false, "isLValue": false, "isPure": true, @@ -6706,13 +6706,13 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3895:25:1", + "src": "3895:25:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "3884:36:1", + "src": "3884:36:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6723,10 +6723,10 @@ "rightExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" }, - "id": 469, + "id": 1121, "isConstant": false, "isLValue": false, "isPure": false, @@ -6736,18 +6736,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 465, + "id": 1117, "name": "stage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 454, - "src": "3937:5:1", + "referencedDeclaration": 1106, + "src": "3937:5:2", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_function_internal_view$__$returns$_t_enum$_Stages_$980_$", "typeString": "function () view returns (enum JobApplicant.Stages)" } }, - "id": 466, + "id": 1118, "isConstant": false, "isLValue": false, "isPure": false, @@ -6755,9 +6755,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3937:7:1", + "src": "3937:7:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -6767,18 +6767,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 467, + "id": 1119, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "3948:6:1", + "referencedDeclaration": 980, + "src": "3948:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 468, + "id": 1120, "isConstant": false, "isLValue": false, "isPure": true, @@ -6786,19 +6786,19 @@ "memberName": "AWAITING_JOBOFFER", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3948:24:1", + "src": "3948:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "3937:35:1", + "src": "3937:35:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3884:88:1", + "src": "3884:88:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6812,21 +6812,21 @@ "typeString": "bool" } ], - "id": 459, + "id": 1111, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "3862:7:1", + "referencedDeclaration": 1968, + "src": "3862:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 471, + "id": 1123, "isConstant": false, "isLValue": false, "isPure": false, @@ -6834,34 +6834,34 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3862:121:1", + "src": "3862:121:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 472, + "id": 1124, "nodeType": "ExpressionStatement", - "src": "3862:121:1" + "src": "3862:121:2" }, { "expression": { "argumentTypes": null, - "id": 476, + "id": 1128, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 473, + "id": 1125, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "3998:13:1", + "referencedDeclaration": 987, + "src": "3998:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -6871,18 +6871,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 474, + "id": 1126, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "4014:6:1", + "referencedDeclaration": 980, + "src": "4014:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 475, + "id": 1127, "isConstant": false, "isLValue": false, "isPure": true, @@ -6890,21 +6890,21 @@ "memberName": "CANCEL_APPLICATION", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4014:25:1", + "src": "4014:25:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "3998:41:1", + "src": "3998:41:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 477, + "id": 1129, "nodeType": "ExpressionStatement", - "src": "3998:41:1" + "src": "3998:41:2" }, { "eventCall": { @@ -6912,14 +6912,14 @@ "arguments": [ { "argumentTypes": null, - "id": 479, + "id": 1131, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "4076:13:1", + "referencedDeclaration": 987, + "src": "4076:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -6927,22 +6927,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 478, + "id": 1130, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "4055:20:1", + "referencedDeclaration": 955, + "src": "4055:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 480, + "id": 1132, "isConstant": false, "isLValue": false, "isPure": false, @@ -6950,89 +6950,89 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4055:35:1", + "src": "4055:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 481, + "id": 1133, "nodeType": "EmitStatement", - "src": "4050:40:1" + "src": "4050:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 483, + "id": 1135, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 457, + "id": 1109, "modifierName": { "argumentTypes": null, - "id": 456, + "id": 1108, "name": "isApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 367, - "src": "3797:11:1", + "referencedDeclaration": 1019, + "src": "3797:11:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "3797:11:1" + "src": "3797:11:2" } ], "name": "cancelApplication", "nodeType": "FunctionDefinition", "parameters": { - "id": 455, + "id": 1107, "nodeType": "ParameterList", "parameters": [], - "src": "3777:2:1" + "src": "3777:2:2" }, "payable": false, "returnParameters": { - "id": 458, + "id": 1110, "nodeType": "ParameterList", "parameters": [], - "src": "3814:0:1" + "src": "3814:0:2" }, - "scope": 674, - "src": "3751:349:1", + "scope": 1326, + "src": "3751:349:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 501, + "id": 1153, "nodeType": "Block", - "src": "4479:110:1", + "src": "4479:110:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 495, + "id": 1147, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 492, + "id": 1144, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "4490:13:1", + "referencedDeclaration": 987, + "src": "4490:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -7042,18 +7042,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 493, + "id": 1145, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "4506:6:1", + "referencedDeclaration": 980, + "src": "4506:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 494, + "id": 1146, "isConstant": false, "isLValue": false, "isPure": true, @@ -7061,21 +7061,21 @@ "memberName": "INTERVIEW_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4506:24:1", + "src": "4506:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "4490:40:1", + "src": "4490:40:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 496, + "id": 1148, "nodeType": "ExpressionStatement", - "src": "4490:40:1" + "src": "4490:40:2" }, { "eventCall": { @@ -7083,14 +7083,14 @@ "arguments": [ { "argumentTypes": null, - "id": 498, + "id": 1150, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "4567:13:1", + "referencedDeclaration": 987, + "src": "4567:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -7098,22 +7098,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 497, + "id": 1149, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "4546:20:1", + "referencedDeclaration": 955, + "src": "4546:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 499, + "id": 1151, "isConstant": false, "isLValue": false, "isPure": false, @@ -7121,42 +7121,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4546:35:1", + "src": "4546:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 500, + "id": 1152, "nodeType": "EmitStatement", - "src": "4541:40:1" + "src": "4541:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 502, + "id": 1154, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 486, + "id": 1138, "modifierName": { "argumentTypes": null, - "id": 485, + "id": 1137, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "4423:10:1", + "referencedDeclaration": 1008, + "src": "4423:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "4423:10:1" + "src": "4423:10:2" }, { "arguments": [ @@ -7164,18 +7164,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 488, + "id": 1140, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "4447:6:1", + "referencedDeclaration": 980, + "src": "4447:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 489, + "id": 1141, "isConstant": false, "isLValue": false, "isPure": true, @@ -7183,76 +7183,76 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4447:25:1", + "src": "4447:25:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 490, + "id": 1142, "modifierName": { "argumentTypes": null, - "id": 487, + "id": 1139, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "4439:7:1", + "referencedDeclaration": 1050, + "src": "4439:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "4439:34:1" + "src": "4439:34:2" } ], "name": "callForInterview", "nodeType": "FunctionDefinition", "parameters": { - "id": 484, + "id": 1136, "nodeType": "ParameterList", "parameters": [], - "src": "4403:2:1" + "src": "4403:2:2" }, "payable": false, "returnParameters": { - "id": 491, + "id": 1143, "nodeType": "ParameterList", "parameters": [], - "src": "4479:0:1" + "src": "4479:0:2" }, - "scope": 674, - "src": "4378:211:1", + "scope": 1326, + "src": "4378:211:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 520, + "id": 1172, "nodeType": "Block", - "src": "4956:113:1", + "src": "4956:113:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 514, + "id": 1166, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 511, + "id": 1163, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "4967:13:1", + "referencedDeclaration": 987, + "src": "4967:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -7262,18 +7262,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 512, + "id": 1164, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "4983:6:1", + "referencedDeclaration": 980, + "src": "4983:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 513, + "id": 1165, "isConstant": false, "isLValue": false, "isPure": true, @@ -7281,21 +7281,21 @@ "memberName": "APPLICATION_REJECTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4983:27:1", + "src": "4983:27:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "4967:43:1", + "src": "4967:43:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 515, + "id": 1167, "nodeType": "ExpressionStatement", - "src": "4967:43:1" + "src": "4967:43:2" }, { "eventCall": { @@ -7303,14 +7303,14 @@ "arguments": [ { "argumentTypes": null, - "id": 517, + "id": 1169, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "5047:13:1", + "referencedDeclaration": 987, + "src": "5047:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -7318,22 +7318,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 516, + "id": 1168, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "5026:20:1", + "referencedDeclaration": 955, + "src": "5026:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 518, + "id": 1170, "isConstant": false, "isLValue": false, "isPure": false, @@ -7341,42 +7341,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5026:35:1", + "src": "5026:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 519, + "id": 1171, "nodeType": "EmitStatement", - "src": "5021:40:1" + "src": "5021:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 521, + "id": 1173, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 505, + "id": 1157, "modifierName": { "argumentTypes": null, - "id": 504, + "id": 1156, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "4900:10:1", + "referencedDeclaration": 1008, + "src": "4900:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "4900:10:1" + "src": "4900:10:2" }, { "arguments": [ @@ -7384,18 +7384,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 507, + "id": 1159, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "4924:6:1", + "referencedDeclaration": 980, + "src": "4924:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 508, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": true, @@ -7403,76 +7403,76 @@ "memberName": "AWAITING_INTERVIEW", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4924:25:1", + "src": "4924:25:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 509, + "id": 1161, "modifierName": { "argumentTypes": null, - "id": 506, + "id": 1158, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "4916:7:1", + "referencedDeclaration": 1050, + "src": "4916:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "4916:34:1" + "src": "4916:34:2" } ], "name": "rejectApplication", "nodeType": "FunctionDefinition", "parameters": { - "id": 503, + "id": 1155, "nodeType": "ParameterList", "parameters": [], - "src": "4880:2:1" + "src": "4880:2:2" }, "payable": false, "returnParameters": { - "id": 510, + "id": 1162, "nodeType": "ParameterList", "parameters": [], - "src": "4956:0:1" + "src": "4956:0:2" }, - "scope": 674, - "src": "4854:215:1", + "scope": 1326, + "src": "4854:215:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 539, + "id": 1191, "nodeType": "Block", - "src": "5433:110:1", + "src": "5433:110:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 533, + "id": 1185, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 530, + "id": 1182, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "5444:13:1", + "referencedDeclaration": 987, + "src": "5444:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -7482,18 +7482,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 531, + "id": 1183, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "5460:6:1", + "referencedDeclaration": 980, + "src": "5460:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 532, + "id": 1184, "isConstant": false, "isLValue": false, "isPure": true, @@ -7501,21 +7501,21 @@ "memberName": "AWAITING_JOBOFFER", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5460:24:1", + "src": "5460:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "5444:40:1", + "src": "5444:40:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 534, + "id": 1186, "nodeType": "ExpressionStatement", - "src": "5444:40:1" + "src": "5444:40:2" }, { "eventCall": { @@ -7523,14 +7523,14 @@ "arguments": [ { "argumentTypes": null, - "id": 536, + "id": 1188, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "5521:13:1", + "referencedDeclaration": 987, + "src": "5521:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -7538,22 +7538,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 535, + "id": 1187, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "5500:20:1", + "referencedDeclaration": 955, + "src": "5500:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 537, + "id": 1189, "isConstant": false, "isLValue": false, "isPure": false, @@ -7561,42 +7561,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5500:35:1", + "src": "5500:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 538, + "id": 1190, "nodeType": "EmitStatement", - "src": "5495:40:1" + "src": "5495:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 540, + "id": 1192, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 524, + "id": 1176, "modifierName": { "argumentTypes": null, - "id": 523, + "id": 1175, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "5378:10:1", + "referencedDeclaration": 1008, + "src": "5378:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5378:10:1" + "src": "5378:10:2" }, { "arguments": [ @@ -7604,18 +7604,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 526, + "id": 1178, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "5402:6:1", + "referencedDeclaration": 980, + "src": "5402:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 527, + "id": 1179, "isConstant": false, "isLValue": false, "isPure": true, @@ -7623,76 +7623,76 @@ "memberName": "INTERVIEW_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5402:24:1", + "src": "5402:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 528, + "id": 1180, "modifierName": { "argumentTypes": null, - "id": 525, + "id": 1177, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "5394:7:1", + "referencedDeclaration": 1050, + "src": "5394:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "5394:33:1" + "src": "5394:33:2" } ], "name": "interviewSuccessful", "nodeType": "FunctionDefinition", "parameters": { - "id": 522, + "id": 1174, "nodeType": "ParameterList", "parameters": [], - "src": "5358:2:1" + "src": "5358:2:2" }, "payable": false, "returnParameters": { - "id": 529, + "id": 1181, "nodeType": "ParameterList", "parameters": [], - "src": "5433:0:1" + "src": "5433:0:2" }, - "scope": 674, - "src": "5330:213:1", + "scope": 1326, + "src": "5330:213:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 558, + "id": 1210, "nodeType": "Block", - "src": "5921:115:1", + "src": "5921:115:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 552, + "id": 1204, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 549, + "id": 1201, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "5932:13:1", + "referencedDeclaration": 987, + "src": "5932:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -7702,18 +7702,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 550, + "id": 1202, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "5948:6:1", + "referencedDeclaration": 980, + "src": "5948:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 551, + "id": 1203, "isConstant": false, "isLValue": false, "isPure": true, @@ -7721,21 +7721,21 @@ "memberName": "INTERVIEW_NOT_SELECTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5948:29:1", + "src": "5948:29:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "5932:45:1", + "src": "5932:45:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 553, + "id": 1205, "nodeType": "ExpressionStatement", - "src": "5932:45:1" + "src": "5932:45:2" }, { "eventCall": { @@ -7743,14 +7743,14 @@ "arguments": [ { "argumentTypes": null, - "id": 555, + "id": 1207, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "6014:13:1", + "referencedDeclaration": 987, + "src": "6014:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -7758,22 +7758,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 554, + "id": 1206, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "5993:20:1", + "referencedDeclaration": 955, + "src": "5993:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 556, + "id": 1208, "isConstant": false, "isLValue": false, "isPure": false, @@ -7781,42 +7781,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5993:35:1", + "src": "5993:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 557, + "id": 1209, "nodeType": "EmitStatement", - "src": "5988:40:1" + "src": "5988:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 559, + "id": 1211, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 543, + "id": 1195, "modifierName": { "argumentTypes": null, - "id": 542, + "id": 1194, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "5866:10:1", + "referencedDeclaration": 1008, + "src": "5866:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5866:10:1" + "src": "5866:10:2" }, { "arguments": [ @@ -7824,18 +7824,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 545, + "id": 1197, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "5890:6:1", + "referencedDeclaration": 980, + "src": "5890:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 546, + "id": 1198, "isConstant": false, "isLValue": false, "isPure": true, @@ -7843,76 +7843,76 @@ "memberName": "INTERVIEW_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5890:24:1", + "src": "5890:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 547, + "id": 1199, "modifierName": { "argumentTypes": null, - "id": 544, + "id": 1196, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "5882:7:1", + "referencedDeclaration": 1050, + "src": "5882:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "5882:33:1" + "src": "5882:33:2" } ], "name": "interviewNotSelected", "nodeType": "FunctionDefinition", "parameters": { - "id": 541, + "id": 1193, "nodeType": "ParameterList", "parameters": [], - "src": "5846:2:1" + "src": "5846:2:2" }, "payable": false, "returnParameters": { - "id": 548, + "id": 1200, "nodeType": "ParameterList", "parameters": [], - "src": "5921:0:1" + "src": "5921:0:2" }, - "scope": 674, - "src": "5817:219:1", + "scope": 1326, + "src": "5817:219:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 577, + "id": 1229, "nodeType": "Block", - "src": "6380:109:1", + "src": "6380:109:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 571, + "id": 1223, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 568, + "id": 1220, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "6391:13:1", + "referencedDeclaration": 987, + "src": "6391:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -7922,18 +7922,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 569, + "id": 1221, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "6407:6:1", + "referencedDeclaration": 980, + "src": "6407:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 570, + "id": 1222, "isConstant": false, "isLValue": false, "isPure": true, @@ -7941,21 +7941,21 @@ "memberName": "JOBOFFER_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6407:23:1", + "src": "6407:23:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "6391:39:1", + "src": "6391:39:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 572, + "id": 1224, "nodeType": "ExpressionStatement", - "src": "6391:39:1" + "src": "6391:39:2" }, { "eventCall": { @@ -7963,14 +7963,14 @@ "arguments": [ { "argumentTypes": null, - "id": 574, + "id": 1226, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "6467:13:1", + "referencedDeclaration": 987, + "src": "6467:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -7978,22 +7978,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 573, + "id": 1225, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "6446:20:1", + "referencedDeclaration": 955, + "src": "6446:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 575, + "id": 1227, "isConstant": false, "isLValue": false, "isPure": false, @@ -8001,42 +8001,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6446:35:1", + "src": "6446:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 576, + "id": 1228, "nodeType": "EmitStatement", - "src": "6441:40:1" + "src": "6441:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 578, + "id": 1230, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 562, + "id": 1214, "modifierName": { "argumentTypes": null, - "id": 561, + "id": 1213, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "6325:10:1", + "referencedDeclaration": 1008, + "src": "6325:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6325:10:1" + "src": "6325:10:2" }, { "arguments": [ @@ -8044,18 +8044,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 564, + "id": 1216, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "6349:6:1", + "referencedDeclaration": 980, + "src": "6349:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 565, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": true, @@ -8063,76 +8063,76 @@ "memberName": "AWAITING_JOBOFFER", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6349:24:1", + "src": "6349:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 566, + "id": 1218, "modifierName": { "argumentTypes": null, - "id": 563, + "id": 1215, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "6341:7:1", + "referencedDeclaration": 1050, + "src": "6341:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "6341:33:1" + "src": "6341:33:2" } ], "name": "offerJob", "nodeType": "FunctionDefinition", "parameters": { - "id": 560, + "id": 1212, "nodeType": "ParameterList", "parameters": [], - "src": "6305:2:1" + "src": "6305:2:2" }, "payable": false, "returnParameters": { - "id": 567, + "id": 1219, "nodeType": "ParameterList", "parameters": [], - "src": "6380:0:1" + "src": "6380:0:2" }, - "scope": 674, - "src": "6288:201:1", + "scope": 1326, + "src": "6288:201:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 596, + "id": 1248, "nodeType": "Block", - "src": "6850:164:1", + "src": "6850:164:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 590, + "id": 1242, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 587, + "id": 1239, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "6861:13:1", + "referencedDeclaration": 987, + "src": "6861:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -8142,18 +8142,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 588, + "id": 1240, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "6877:6:1", + "referencedDeclaration": 980, + "src": "6877:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 589, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, @@ -8161,21 +8161,21 @@ "memberName": "JOBOFFER_ACCEPTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6877:24:1", + "src": "6877:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "6861:40:1", + "src": "6861:40:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 591, + "id": 1243, "nodeType": "ExpressionStatement", - "src": "6861:40:1" + "src": "6861:40:2" }, { "eventCall": { @@ -8183,14 +8183,14 @@ "arguments": [ { "argumentTypes": null, - "id": 593, + "id": 1245, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "6992:13:1", + "referencedDeclaration": 987, + "src": "6992:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -8198,22 +8198,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 592, + "id": 1244, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "6971:20:1", + "referencedDeclaration": 955, + "src": "6971:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 594, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -8221,42 +8221,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6971:35:1", + "src": "6971:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 595, + "id": 1247, "nodeType": "EmitStatement", - "src": "6966:40:1" + "src": "6966:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 597, + "id": 1249, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 581, + "id": 1233, "modifierName": { "argumentTypes": null, - "id": 580, + "id": 1232, "name": "isApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 367, - "src": "6795:11:1", + "referencedDeclaration": 1019, + "src": "6795:11:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6795:11:1" + "src": "6795:11:2" }, { "arguments": [ @@ -8264,18 +8264,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 583, + "id": 1235, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "6820:6:1", + "referencedDeclaration": 980, + "src": "6820:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 584, + "id": 1236, "isConstant": false, "isLValue": false, "isPure": true, @@ -8283,76 +8283,76 @@ "memberName": "JOBOFFER_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6820:23:1", + "src": "6820:23:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 585, + "id": 1237, "modifierName": { "argumentTypes": null, - "id": 582, + "id": 1234, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "6812:7:1", + "referencedDeclaration": 1050, + "src": "6812:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "6812:32:1" + "src": "6812:32:2" } ], "name": "acceptJobOffer", "nodeType": "FunctionDefinition", "parameters": { - "id": 579, + "id": 1231, "nodeType": "ParameterList", "parameters": [], - "src": "6775:2:1" + "src": "6775:2:2" }, "payable": false, "returnParameters": { - "id": 586, + "id": 1238, "nodeType": "ParameterList", "parameters": [], - "src": "6850:0:1" + "src": "6850:0:2" }, - "scope": 674, - "src": "6752:262:1", + "scope": 1326, + "src": "6752:262:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 615, + "id": 1267, "nodeType": "Block", - "src": "7374:114:1", + "src": "7374:114:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 609, + "id": 1261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 606, + "id": 1258, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "7385:13:1", + "referencedDeclaration": 987, + "src": "7385:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -8362,18 +8362,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 607, + "id": 1259, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "7401:6:1", + "referencedDeclaration": 980, + "src": "7401:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 608, + "id": 1260, "isConstant": false, "isLValue": false, "isPure": true, @@ -8381,21 +8381,21 @@ "memberName": "JOBOFFER_NOT_ACCEPTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7401:28:1", + "src": "7401:28:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "7385:44:1", + "src": "7385:44:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 610, + "id": 1262, "nodeType": "ExpressionStatement", - "src": "7385:44:1" + "src": "7385:44:2" }, { "eventCall": { @@ -8403,14 +8403,14 @@ "arguments": [ { "argumentTypes": null, - "id": 612, + "id": 1264, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "7466:13:1", + "referencedDeclaration": 987, + "src": "7466:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -8418,22 +8418,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 611, + "id": 1263, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "7445:20:1", + "referencedDeclaration": 955, + "src": "7445:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 613, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": false, @@ -8441,42 +8441,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7445:35:1", + "src": "7445:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 614, + "id": 1266, "nodeType": "EmitStatement", - "src": "7440:40:1" + "src": "7440:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 616, + "id": 1268, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 600, + "id": 1252, "modifierName": { "argumentTypes": null, - "id": 599, + "id": 1251, "name": "isApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 367, - "src": "7319:11:1", + "referencedDeclaration": 1019, + "src": "7319:11:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "7319:11:1" + "src": "7319:11:2" }, { "arguments": [ @@ -8484,18 +8484,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 602, + "id": 1254, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "7344:6:1", + "referencedDeclaration": 980, + "src": "7344:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 603, + "id": 1255, "isConstant": false, "isLValue": false, "isPure": true, @@ -8503,76 +8503,76 @@ "memberName": "JOBOFFER_PENDING", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7344:23:1", + "src": "7344:23:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 604, + "id": 1256, "modifierName": { "argumentTypes": null, - "id": 601, + "id": 1253, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "7336:7:1", + "referencedDeclaration": 1050, + "src": "7336:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "7336:32:1" + "src": "7336:32:2" } ], "name": "rejectJobOffer", "nodeType": "FunctionDefinition", "parameters": { - "id": 598, + "id": 1250, "nodeType": "ParameterList", "parameters": [], - "src": "7299:2:1" + "src": "7299:2:2" }, "payable": false, "returnParameters": { - "id": 605, + "id": 1257, "nodeType": "ParameterList", "parameters": [], - "src": "7374:0:1" + "src": "7374:0:2" }, - "scope": 674, - "src": "7276:212:1", + "scope": 1326, + "src": "7276:212:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 634, + "id": 1286, "nodeType": "Block", - "src": "7857:164:1", + "src": "7857:164:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 628, + "id": 1280, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 625, + "id": 1277, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "7868:13:1", + "referencedDeclaration": 987, + "src": "7868:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -8582,18 +8582,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 626, + "id": 1278, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "7884:6:1", + "referencedDeclaration": 980, + "src": "7884:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 627, + "id": 1279, "isConstant": false, "isLValue": false, "isPure": true, @@ -8601,21 +8601,21 @@ "memberName": "EMPLOYMENT_PERIOD", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7884:24:1", + "src": "7884:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "7868:40:1", + "src": "7868:40:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 629, + "id": 1281, "nodeType": "ExpressionStatement", - "src": "7868:40:1" + "src": "7868:40:2" }, { "eventCall": { @@ -8623,14 +8623,14 @@ "arguments": [ { "argumentTypes": null, - "id": 631, + "id": 1283, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "7999:13:1", + "referencedDeclaration": 987, + "src": "7999:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -8638,22 +8638,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 630, + "id": 1282, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "7978:20:1", + "referencedDeclaration": 955, + "src": "7978:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 632, + "id": 1284, "isConstant": false, "isLValue": false, "isPure": false, @@ -8661,42 +8661,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7978:35:1", + "src": "7978:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 633, + "id": 1285, "nodeType": "EmitStatement", - "src": "7973:40:1" + "src": "7973:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 635, + "id": 1287, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 619, + "id": 1271, "modifierName": { "argumentTypes": null, - "id": 618, + "id": 1270, "name": "isEmployerOrApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 385, - "src": "7791:21:1", + "referencedDeclaration": 1037, + "src": "7791:21:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "7791:21:1" + "src": "7791:21:2" }, { "arguments": [ @@ -8704,18 +8704,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 621, + "id": 1273, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "7826:6:1", + "referencedDeclaration": 980, + "src": "7826:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 622, + "id": 1274, "isConstant": false, "isLValue": false, "isPure": true, @@ -8723,76 +8723,76 @@ "memberName": "JOBOFFER_ACCEPTED", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7826:24:1", + "src": "7826:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 623, + "id": 1275, "modifierName": { "argumentTypes": null, - "id": 620, + "id": 1272, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "7818:7:1", + "referencedDeclaration": 1050, + "src": "7818:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "7818:33:1" + "src": "7818:33:2" } ], "name": "startEmployment", "nodeType": "FunctionDefinition", "parameters": { - "id": 617, + "id": 1269, "nodeType": "ParameterList", "parameters": [], - "src": "7771:2:1" + "src": "7771:2:2" }, "payable": false, "returnParameters": { - "id": 624, + "id": 1276, "nodeType": "ParameterList", "parameters": [], - "src": "7857:0:1" + "src": "7857:0:2" }, - "scope": 674, - "src": "7747:274:1", + "scope": 1326, + "src": "7747:274:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 653, + "id": 1305, "nodeType": "Block", - "src": "8405:115:1", + "src": "8405:115:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 647, + "id": 1299, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 644, + "id": 1296, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "8416:13:1", + "referencedDeclaration": 987, + "src": "8416:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -8802,18 +8802,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 645, + "id": 1297, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "8432:6:1", + "referencedDeclaration": 980, + "src": "8432:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 646, + "id": 1298, "isConstant": false, "isLValue": false, "isPure": true, @@ -8821,21 +8821,21 @@ "memberName": "EMPLOYMENT_TERMINATION", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8432:29:1", + "src": "8432:29:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "8416:45:1", + "src": "8416:45:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 648, + "id": 1300, "nodeType": "ExpressionStatement", - "src": "8416:45:1" + "src": "8416:45:2" }, { "eventCall": { @@ -8843,14 +8843,14 @@ "arguments": [ { "argumentTypes": null, - "id": 650, + "id": 1302, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "8498:13:1", + "referencedDeclaration": 987, + "src": "8498:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -8858,22 +8858,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 649, + "id": 1301, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "8477:20:1", + "referencedDeclaration": 955, + "src": "8477:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 651, + "id": 1303, "isConstant": false, "isLValue": false, "isPure": false, @@ -8881,42 +8881,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8477:35:1", + "src": "8477:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 652, + "id": 1304, "nodeType": "EmitStatement", - "src": "8472:40:1" + "src": "8472:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 654, + "id": 1306, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 638, + "id": 1290, "modifierName": { "argumentTypes": null, - "id": 637, + "id": 1289, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "8350:10:1", + "referencedDeclaration": 1008, + "src": "8350:10:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8350:10:1" + "src": "8350:10:2" }, { "arguments": [ @@ -8924,18 +8924,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 640, + "id": 1292, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "8374:6:1", + "referencedDeclaration": 980, + "src": "8374:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 641, + "id": 1293, "isConstant": false, "isLValue": false, "isPure": true, @@ -8943,76 +8943,76 @@ "memberName": "EMPLOYMENT_PERIOD", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8374:24:1", + "src": "8374:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 642, + "id": 1294, "modifierName": { "argumentTypes": null, - "id": 639, + "id": 1291, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "8366:7:1", + "referencedDeclaration": 1050, + "src": "8366:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "8366:33:1" + "src": "8366:33:2" } ], "name": "terminateEmployment", "nodeType": "FunctionDefinition", "parameters": { - "id": 636, + "id": 1288, "nodeType": "ParameterList", "parameters": [], - "src": "8330:2:1" + "src": "8330:2:2" }, "payable": false, "returnParameters": { - "id": 643, + "id": 1295, "nodeType": "ParameterList", "parameters": [], - "src": "8405:0:1" + "src": "8405:0:2" }, - "scope": 674, - "src": "8302:218:1", + "scope": 1326, + "src": "8302:218:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 672, + "id": 1324, "nodeType": "Block", - "src": "8930:103:1", + "src": "8930:103:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 666, + "id": 1318, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 663, + "id": 1315, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "8941:13:1", + "referencedDeclaration": 987, + "src": "8941:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, @@ -9022,18 +9022,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 664, + "id": 1316, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "8957:6:1", + "referencedDeclaration": 980, + "src": "8957:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 665, + "id": 1317, "isConstant": false, "isLValue": false, "isPure": true, @@ -9041,21 +9041,21 @@ "memberName": "IN_DISPUTE", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8957:17:1", + "src": "8957:17:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "src": "8941:33:1", + "src": "8941:33:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } }, - "id": 667, + "id": 1319, "nodeType": "ExpressionStatement", - "src": "8941:33:1" + "src": "8941:33:2" }, { "eventCall": { @@ -9063,14 +9063,14 @@ "arguments": [ { "argumentTypes": null, - "id": 669, + "id": 1321, "name": "internalStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 335, - "src": "9011:13:1", + "referencedDeclaration": 987, + "src": "9011:13:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } @@ -9078,22 +9078,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } ], - "id": 668, + "id": 1320, "name": "JobApplicationChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 303, - "src": "8990:20:1", + "referencedDeclaration": 955, + "src": "8990:20:2", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$328_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_Stages_$980_$returns$__$", "typeString": "function (enum JobApplicant.Stages)" } }, - "id": 670, + "id": 1322, "isConstant": false, "isLValue": false, "isPure": false, @@ -9101,42 +9101,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8990:35:1", + "src": "8990:35:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 671, + "id": 1323, "nodeType": "EmitStatement", - "src": "8985:40:1" + "src": "8985:40:2" } ] }, "documentation": "///////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 673, + "id": 1325, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 657, + "id": 1309, "modifierName": { "argumentTypes": null, - "id": 656, + "id": 1308, "name": "isEmployerOrApplicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 385, - "src": "8864:21:1", + "referencedDeclaration": 1037, + "src": "8864:21:2", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8864:21:1" + "src": "8864:21:2" }, { "arguments": [ @@ -9144,18 +9144,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 659, + "id": 1311, "name": "Stages", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 328, - "src": "8899:6:1", + "referencedDeclaration": 980, + "src": "8899:6:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_type$_t_enum$_Stages_$980_$", "typeString": "type(enum JobApplicant.Stages)" } }, - "id": 660, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": true, @@ -9163,58 +9163,58 @@ "memberName": "EMPLOYMENT_PERIOD", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8899:24:1", + "src": "8899:24:2", "typeDescriptions": { - "typeIdentifier": "t_enum$_Stages_$328", + "typeIdentifier": "t_enum$_Stages_$980", "typeString": "enum JobApplicant.Stages" } } ], - "id": 661, + "id": 1313, "modifierName": { "argumentTypes": null, - "id": 658, + "id": 1310, "name": "atStage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 398, - "src": "8891:7:1", + "referencedDeclaration": 1050, + "src": "8891:7:2", "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_enum$_Stages_$328_$", + "typeIdentifier": "t_modifier$_t_enum$_Stages_$980_$", "typeString": "modifier (enum JobApplicant.Stages)" } }, "nodeType": "ModifierInvocation", - "src": "8891:33:1" + "src": "8891:33:2" } ], "name": "openDispute", "nodeType": "FunctionDefinition", "parameters": { - "id": 655, + "id": 1307, "nodeType": "ParameterList", "parameters": [], - "src": "8844:2:1" + "src": "8844:2:2" }, "payable": false, "returnParameters": { - "id": 662, + "id": 1314, "nodeType": "ParameterList", "parameters": [], - "src": "8930:0:1" + "src": "8930:0:2" }, - "scope": 674, - "src": "8824:209:1", + "scope": 1326, + "src": "8824:209:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 675, - "src": "144:9008:1" + "scope": 1327, + "src": "144:9008:2" } ], - "src": "0:9152:1" + "src": "0:9152:2" }, "compiler": { "name": "solc", @@ -9222,5 +9222,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-13T10:09:33.008Z" + "updatedAt": "2018-10-18T13:43:19.578Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/JobApplicationLibrary.json b/ethereum/build/contracts/JobApplicationLibrary.json index 0143ddf..cda2ff3 100644 --- a/ethereum/build/contracts/JobApplicationLibrary.json +++ b/ethereum/build/contracts/JobApplicationLibrary.json @@ -25,93 +25,93 @@ "type": "function" } ], - "bytecode": "0x610d95610030600b82828239805160001a6073146000811461002057610022565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600436106100575763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416639038c886811461005c575b600080fd5b81801561006857600080fd5b5061009073ffffffffffffffffffffffffffffffffffffffff600435811690602435166100b9565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600082826100c561010d565b73ffffffffffffffffffffffffffffffffffffffff928316815291166020820152604080519182900301906000f080158015610105573d6000803e3d6000fd5b509392505050565b604051610c4c8061011e83390190560060806040526000805460ff1916905534801561001a57600080fd5b50604051604080610c4c833981016040819052815160209092015160018054600160a060020a031916600160a060020a03808416919091179091556000805461010060a860020a0319166101009286169290920291909117908190554260025590917f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156100af57fe5b60ff16815260200191505060405180910390a15050610b79806100d36000396000f3006080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a72305820faa1d72b80321aa1bdad74a5214d50841524aa68b680192e621f0e0682c9a7610029a165627a7a723058200a5d823443f43a5952c6863d4c1497dcf5ccdac335cb410b2d95bb5ae436a0370029", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100575763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416639038c886811461005c575b600080fd5b81801561006857600080fd5b5061009073ffffffffffffffffffffffffffffffffffffffff600435811690602435166100b9565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600082826100c561010d565b73ffffffffffffffffffffffffffffffffffffffff928316815291166020820152604080519182900301906000f080158015610105573d6000803e3d6000fd5b509392505050565b604051610c4c8061011e83390190560060806040526000805460ff1916905534801561001a57600080fd5b50604051604080610c4c833981016040819052815160209092015160018054600160a060020a031916600160a060020a03808416919091179091556000805461010060a860020a0319166101009286169290920291909117908190554260025590917f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156100af57fe5b60ff16815260200191505060405180910390a15050610b79806100d36000396000f3006080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a72305820faa1d72b80321aa1bdad74a5214d50841524aa68b680192e621f0e0682c9a7610029a165627a7a723058200a5d823443f43a5952c6863d4c1497dcf5ccdac335cb410b2d95bb5ae436a0370029", - "sourceMap": "183:226:2:-;;132:2:-1;166:7;155:9;146:7;137:37;252:7;246:14;243:1;238:23;232:4;229:33;270:1;265:20;;;;222:63;;265:20;274:9;222:63;;298:9;295:1;288:20;328:4;319:7;311:22;352:7;343;336:24", - "deployedSourceMap": "183:226:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;222:182;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;222:182:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;307:22;376:7;385:10;359:37;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;359:37:2;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;347:49:2;222:182;-1:-1:-1;;;222:182:2:o;183:226::-;;;;;;;;;;:::o", + "bytecode": "0x610d95610030600b82828239805160001a6073146000811461002057610022565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600436106100575763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416639038c886811461005c575b600080fd5b81801561006857600080fd5b5061009073ffffffffffffffffffffffffffffffffffffffff600435811690602435166100b9565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600082826100c561010d565b73ffffffffffffffffffffffffffffffffffffffff928316815291166020820152604080519182900301906000f080158015610105573d6000803e3d6000fd5b509392505050565b604051610c4c8061011e83390190560060806040526000805460ff1916905534801561001a57600080fd5b50604051604080610c4c833981016040819052815160209092015160018054600160a060020a031916600160a060020a03808416919091179091556000805461010060a860020a0319166101009286169290920291909117908190554260025590917f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156100af57fe5b60ff16815260200191505060405180910390a15050610b79806100d36000396000f3006080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a723058203fae80c41f742e2b31e63b2b30dce150ef64093459a2b128b2a41f2f9208c7b10029a165627a7a72305820811bacacd2789e41afea3ebaac432683e05b6b2183dcdb57ca52f6c90f26ecc30029", + "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100575763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416639038c886811461005c575b600080fd5b81801561006857600080fd5b5061009073ffffffffffffffffffffffffffffffffffffffff600435811690602435166100b9565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600082826100c561010d565b73ffffffffffffffffffffffffffffffffffffffff928316815291166020820152604080519182900301906000f080158015610105573d6000803e3d6000fd5b509392505050565b604051610c4c8061011e83390190560060806040526000805460ff1916905534801561001a57600080fd5b50604051604080610c4c833981016040819052815160209092015160018054600160a060020a031916600160a060020a03808416919091179091556000805461010060a860020a0319166101009286169290920291909117908190554260025590917f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156100af57fe5b60ff16815260200191505060405180910390a15050610b79806100d36000396000f3006080604052600436106100d75763ffffffff60e060020a600035041663038e514f81146100dc57806305c180c31461010357806308283c0d1461011a578063325a19f11461012f57806342578d3c146101445780634fd6137c1461015957806359c884c21461016e57806363b6853f1461018357806373d4a13a146101985780637c2c5af7146101fa578063819a625f1461020f57806388e687ea14610224578063b4d2231c14610255578063b91956681461026a578063c040e6b81461027f578063d5165327146102b8578063ebc4f86a146102cd575b600080fd5b3480156100e857600080fd5b506100f16102e2565b60408051918252519081900360200190f35b34801561010f57600080fd5b506101186102e8565b005b34801561012657600080fd5b506101186103ff565b34801561013b57600080fd5b506100f16104ae565b34801561015057600080fd5b506101186104b4565b34801561016557600080fd5b50610118610592565b34801561017a57600080fd5b50610118610670565b34801561018f57600080fd5b50610118610737565b3480156101a457600080fd5b506101ad6107fe565b6040518086600b8111156101bd57fe5b60ff168152600160a060020a0395861660208201529390941660408085019190915260608401929092526080830152519081900360a00192509050f35b34801561020657600080fd5b50610118610837565b34801561021b57600080fd5b50610118610882565b34801561023057600080fd5b50610239610949565b60408051600160a060020a039092168252519081900360200190f35b34801561026157600080fd5b50610118610958565b34801561027657600080fd5b50610118610a1f565b34801561028b57600080fd5b50610294610a6a565b6040518082600b8111156102a457fe5b60ff16815260200191505060405180910390f35b3480156102c457600080fd5b50610239610a73565b3480156102d957600080fd5b50610118610a87565b60035481565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561033b57600080fd5b505af115801561034f573d6000803e3d6000fd5b505050506040513d602081101561036557600080fd5b5051600160a060020a0316331461037b57600080fd5b600980610386610a6a565b600b81111561039157fe5b1461039b57600080fd5b60008054600b919060ff19166001835b02179055506000546040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b8111156103e957fe5b60ff16815260200191505060405180910390a150565b600154600160a060020a0316331461041657600080fd5b6000610420610a6a565b600b81111561042b57fe5b14806104495750600161043c610a6a565b600b81111561044757fe5b145b151561045457600080fd5b6000805460ff1916600217908190556040517f6ad037c505eea6fc4312e7006a92c508ba229fdd5aca3a7c821a3ea70f864f2a9160ff16908082600b81111561049957fe5b60ff16815260200191505060405180910390a1565b60025481565b600154600160a060020a03163314806105535750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561051b57600080fd5b505af115801561052f573d6000803e3d6000fd5b505050506040513d602081101561054557600080fd5b5051600160a060020a031633145b151561055e57600080fd5b600480610569610a6a565b600b81111561057457fe5b1461057e57600080fd5b600080546009919060ff19166001836103ab565b600154600160a060020a03163314806106315750600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b505050506040513d602081101561062357600080fd5b5051600160a060020a031633145b151561063c57600080fd5b600980610647610a6a565b600b81111561065257fe5b1461065c57600080fd5b60008054600a919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b5051600160a060020a0316331461070357600080fd5b60018061070e610a6a565b600b81111561071957fe5b1461072357600080fd5b600080546007919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561078a57600080fd5b505af115801561079e573d6000803e3d6000fd5b505050506040513d60208110156107b457600080fd5b5051600160a060020a031633146107ca57600080fd5b6000806107d5610a6a565b600b8111156107e057fe5b146107ea57600080fd5b600080546008919060ff19166001836103ab565b600080600080600061080e610a6a565b6000546001546002549298610100909204600160a060020a039081169850169550909350909150565b600154600160a060020a0316331461084e57600080fd5b600780610859610a6a565b600b81111561086457fe5b1461086e57600080fd5b600080546005919060ff19166001836103ab565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108d557600080fd5b505af11580156108e9573d6000803e3d6000fd5b505050506040513d60208110156108ff57600080fd5b5051600160a060020a0316331461091557600080fd5b600080610920610a6a565b600b81111561092b57fe5b1461093557600080fd5b600080546006919060ff19166001836103ab565b600154600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156109ab57600080fd5b505af11580156109bf573d6000803e3d6000fd5b505050506040513d60208110156109d557600080fd5b5051600160a060020a031633146109eb57600080fd5b6006806109f6610a6a565b600b811115610a0157fe5b14610a0b57600080fd5b600080546003919060ff19166001836103ab565b600154600160a060020a03163314610a3657600080fd5b600780610a41610a6a565b600b811115610a4c57fe5b14610a5657600080fd5b600080546004919060ff19166001836103ab565b60005460ff1690565b6000546101009004600160a060020a031681565b600060019054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ada57600080fd5b505af1158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b5051600160a060020a03163314610b1a57600080fd5b600680610b25610a6a565b600b811115610b3057fe5b14610b3a57600080fd5b600080546001919060ff191682806103ab5600a165627a7a723058203fae80c41f742e2b31e63b2b30dce150ef64093459a2b128b2a41f2f9208c7b10029a165627a7a72305820811bacacd2789e41afea3ebaac432683e05b6b2183dcdb57ca52f6c90f26ecc30029", + "sourceMap": "183:226:3:-;;132:2:-1;166:7;155:9;146:7;137:37;252:7;246:14;243:1;238:23;232:4;229:33;270:1;265:20;;;;222:63;;265:20;274:9;222:63;;298:9;295:1;288:20;328:4;319:7;311:22;352:7;343;336:24", + "deployedSourceMap": "183:226:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;222:182;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;222:182:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;307:22;376:7;385:10;359:37;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;359:37:3;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;347:49:3;222:182;-1:-1:-1;;;222:182:3:o;183:226::-;;;;;;;;;;:::o", "source": "pragma solidity 0.4.24;\r\n\r\n// /// @title JobApplicantLibrary\r\n// /// @dev An collection of helper tools for a JobApplicant\r\n\r\nimport \"./JobApplicant.sol\";\r\nimport \"./Listing.sol\";\r\n\r\nlibrary JobApplicationLibrary {\r\n\r\n function newApplicant(Listing listing, address _applicant)\r\n public\r\n returns (JobApplicant applicant)\r\n {\r\n applicant = new JobApplicant(listing, _applicant);\r\n }\r\n\r\n}\r\n", - "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\JobApplicationLibrary.sol", + "sourcePath": "C:\\i\\HT\\hellonetmarket\\ethereum\\contracts\\JobApplicationLibrary.sol", "ast": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", "exportedSymbols": { "JobApplicationLibrary": [ - 697 + 1349 ] }, - "id": 698, + "id": 1350, "nodeType": "SourceUnit", "nodes": [ { - "id": 676, + "id": 1328, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:2" + "src": "0:23:3" }, { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicant.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicant.sol", "file": "./JobApplicant.sol", - "id": 677, + "id": 1329, "nodeType": "ImportDirective", - "scope": 698, - "sourceUnit": 675, - "src": "126:28:2", + "scope": 1350, + "sourceUnit": 1327, + "src": "126:28:3", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", "file": "./Listing.sol", - "id": 678, + "id": 1330, "nodeType": "ImportDirective", - "scope": 698, - "sourceUnit": 903, - "src": "156:23:2", + "scope": 1350, + "sourceUnit": 1555, + "src": "156:23:3", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [], "contractDependencies": [ - 674 + 1326 ], "contractKind": "library", "documentation": null, "fullyImplemented": true, - "id": 697, + "id": 1349, "linearizedBaseContracts": [ - 697 + 1349 ], "name": "JobApplicationLibrary", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 695, + "id": 1347, "nodeType": "Block", - "src": "336:68:2", + "src": "336:68:3", "statements": [ { "expression": { "argumentTypes": null, - "id": 693, + "id": 1345, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 687, + "id": 1339, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 685, - "src": "347:9:2", + "referencedDeclaration": 1337, + "src": "347:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, @@ -122,25 +122,25 @@ "arguments": [ { "argumentTypes": null, - "id": 690, + "id": 1342, "name": "listing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 680, - "src": "376:7:2", + "referencedDeclaration": 1332, + "src": "376:7:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, { "argumentTypes": null, - "id": 691, + "id": 1343, "name": "_applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 682, - "src": "385:10:2", + "referencedDeclaration": 1334, + "src": "385:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -150,7 +150,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" }, { @@ -158,31 +158,31 @@ "typeString": "address" } ], - "id": 689, + "id": 1341, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "359:16:2", + "src": "359:16:3", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_address_$returns$_t_contract$_JobApplicant_$674_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_address_$returns$_t_contract$_JobApplicant_$1326_$", "typeString": "function (address,address) returns (contract JobApplicant)" }, "typeName": { "contractScope": null, - "id": 688, + "id": 1340, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "363:12:2", + "referencedDeclaration": 1326, + "src": "363:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } } }, - "id": 692, + "id": 1344, "isConstant": false, "isLValue": false, "isPure": false, @@ -190,26 +190,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "359:37:2", + "src": "359:37:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, - "src": "347:49:2", + "src": "347:49:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, - "id": 694, + "id": 1346, "nodeType": "ExpressionStatement", - "src": "347:49:2" + "src": "347:49:3" } ] }, "documentation": null, - "id": 696, + "id": 1348, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -217,31 +217,31 @@ "name": "newApplicant", "nodeType": "FunctionDefinition", "parameters": { - "id": 683, + "id": 1335, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 680, + "id": 1332, "name": "listing", "nodeType": "VariableDeclaration", - "scope": 696, - "src": "244:15:2", + "scope": 1348, + "src": "244:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 679, + "id": 1331, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "244:7:2", + "referencedDeclaration": 1554, + "src": "244:7:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -250,11 +250,11 @@ }, { "constant": false, - "id": 682, + "id": 1334, "name": "_applicant", "nodeType": "VariableDeclaration", - "scope": 696, - "src": "261:18:2", + "scope": 1348, + "src": "261:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -262,10 +262,10 @@ "typeString": "address" }, "typeName": { - "id": 681, + "id": 1333, "name": "address", "nodeType": "ElementaryTypeName", - "src": "261:7:2", + "src": "261:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -275,35 +275,35 @@ "visibility": "internal" } ], - "src": "243:37:2" + "src": "243:37:3" }, "payable": false, "returnParameters": { - "id": 686, + "id": 1338, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 685, + "id": 1337, "name": "applicant", "nodeType": "VariableDeclaration", - "scope": 696, - "src": "307:22:2", + "scope": 1348, + "src": "307:22:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 684, + "id": 1336, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "307:12:2", + "referencedDeclaration": 1326, + "src": "307:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, @@ -311,102 +311,102 @@ "visibility": "internal" } ], - "src": "306:24:2" + "src": "306:24:3" }, - "scope": 697, - "src": "222:182:2", + "scope": 1349, + "src": "222:182:3", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 698, - "src": "183:226:2" + "scope": 1350, + "src": "183:226:3" } ], - "src": "0:411:2" + "src": "0:411:3" }, "legacyAST": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", "exportedSymbols": { "JobApplicationLibrary": [ - 697 + 1349 ] }, - "id": 698, + "id": 1350, "nodeType": "SourceUnit", "nodes": [ { - "id": 676, + "id": 1328, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:2" + "src": "0:23:3" }, { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicant.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicant.sol", "file": "./JobApplicant.sol", - "id": 677, + "id": 1329, "nodeType": "ImportDirective", - "scope": 698, - "sourceUnit": 675, - "src": "126:28:2", + "scope": 1350, + "sourceUnit": 1327, + "src": "126:28:3", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", "file": "./Listing.sol", - "id": 678, + "id": 1330, "nodeType": "ImportDirective", - "scope": 698, - "sourceUnit": 903, - "src": "156:23:2", + "scope": 1350, + "sourceUnit": 1555, + "src": "156:23:3", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [], "contractDependencies": [ - 674 + 1326 ], "contractKind": "library", "documentation": null, "fullyImplemented": true, - "id": 697, + "id": 1349, "linearizedBaseContracts": [ - 697 + 1349 ], "name": "JobApplicationLibrary", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 695, + "id": 1347, "nodeType": "Block", - "src": "336:68:2", + "src": "336:68:3", "statements": [ { "expression": { "argumentTypes": null, - "id": 693, + "id": 1345, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 687, + "id": 1339, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 685, - "src": "347:9:2", + "referencedDeclaration": 1337, + "src": "347:9:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, @@ -417,25 +417,25 @@ "arguments": [ { "argumentTypes": null, - "id": 690, + "id": 1342, "name": "listing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 680, - "src": "376:7:2", + "referencedDeclaration": 1332, + "src": "376:7:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, { "argumentTypes": null, - "id": 691, + "id": 1343, "name": "_applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 682, - "src": "385:10:2", + "referencedDeclaration": 1334, + "src": "385:10:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -445,7 +445,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" }, { @@ -453,31 +453,31 @@ "typeString": "address" } ], - "id": 689, + "id": 1341, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "359:16:2", + "src": "359:16:3", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_address_$returns$_t_contract$_JobApplicant_$674_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_address_$returns$_t_contract$_JobApplicant_$1326_$", "typeString": "function (address,address) returns (contract JobApplicant)" }, "typeName": { "contractScope": null, - "id": 688, + "id": 1340, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "363:12:2", + "referencedDeclaration": 1326, + "src": "363:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } } }, - "id": 692, + "id": 1344, "isConstant": false, "isLValue": false, "isPure": false, @@ -485,26 +485,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "359:37:2", + "src": "359:37:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, - "src": "347:49:2", + "src": "347:49:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, - "id": 694, + "id": 1346, "nodeType": "ExpressionStatement", - "src": "347:49:2" + "src": "347:49:3" } ] }, "documentation": null, - "id": 696, + "id": 1348, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -512,31 +512,31 @@ "name": "newApplicant", "nodeType": "FunctionDefinition", "parameters": { - "id": 683, + "id": 1335, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 680, + "id": 1332, "name": "listing", "nodeType": "VariableDeclaration", - "scope": 696, - "src": "244:15:2", + "scope": 1348, + "src": "244:15:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 679, + "id": 1331, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "244:7:2", + "referencedDeclaration": 1554, + "src": "244:7:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -545,11 +545,11 @@ }, { "constant": false, - "id": 682, + "id": 1334, "name": "_applicant", "nodeType": "VariableDeclaration", - "scope": 696, - "src": "261:18:2", + "scope": 1348, + "src": "261:18:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -557,10 +557,10 @@ "typeString": "address" }, "typeName": { - "id": 681, + "id": 1333, "name": "address", "nodeType": "ElementaryTypeName", - "src": "261:7:2", + "src": "261:7:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -570,35 +570,35 @@ "visibility": "internal" } ], - "src": "243:37:2" + "src": "243:37:3" }, "payable": false, "returnParameters": { - "id": 686, + "id": 1338, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 685, + "id": 1337, "name": "applicant", "nodeType": "VariableDeclaration", - "scope": 696, - "src": "307:22:2", + "scope": 1348, + "src": "307:22:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 684, + "id": 1336, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "307:12:2", + "referencedDeclaration": 1326, + "src": "307:12:3", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, @@ -606,20 +606,20 @@ "visibility": "internal" } ], - "src": "306:24:2" + "src": "306:24:3" }, - "scope": 697, - "src": "222:182:2", + "scope": 1349, + "src": "222:182:3", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 698, - "src": "183:226:2" + "scope": 1350, + "src": "183:226:3" } ], - "src": "0:411:2" + "src": "0:411:3" }, "compiler": { "name": "solc", @@ -658,5 +658,5 @@ } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-13T10:09:33.012Z" + "updatedAt": "2018-10-18T13:43:19.582Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/Listing.json b/ethereum/build/contracts/Listing.json index ebe2787..1ce2f2a 100644 --- a/ethereum/build/contracts/Listing.json +++ b/ethereum/build/contracts/Listing.json @@ -303,51 +303,51 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b5060405160c08061073a83398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03909516600160a060020a0319958616179055600180549094163317909355600293909355600555600691909155600491909155600355426007819055621275000160085561069d8061009d6000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a72305820f92ff69f9d4446576b9583f3eed7bbd7d104ab4e90f8f2e8cea9fb8f475f5fc70029", - "deployedBytecode": "0x6080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a72305820f92ff69f9d4446576b9583f3eed7bbd7d104ab4e90f8f2e8cea9fb8f475f5fc70029", - "sourceMap": "209:5968:3:-;;;1097:825;8:9:-1;5:2;;;30:1;27;20:12;5:2;1097:825:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1548:5;:16;;-1:-1:-1;;;;;1548:16:3;;;-1:-1:-1;;;;;;1548:16:3;;;;;;;1575:29;;;;;1594:10;1575:29;;;;1647:8;:22;;;;1680:12;:29;1720:21;:46;;;;1777:12;:29;;;;1817:12;:29;1869:3;1857:7;:15;;;1907:7;1897:17;1883:10;:31;209:5968;;;;;;", - "deployedSourceMap": "209:5968:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;498:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;498:30:3;;;;;;;;;;;;;;;;;;;;;;;969:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;969:19:3;;;;;;;;;;;;;;;;;;;;5933:133;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5933:133:3;;;;;;4457:152;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4457:152:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4457:152:3;;;;;;;;;;;;;;;;;995:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;995:22:3;;;;929:33;;8:9:-1;5:2;;;30:1;27;20:12;5:2;929:33:3;;;;3188:502;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3188:502:3;;;;3994:130;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3994:130:3;;;;1056:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1056:32:3;;;;;2530:341;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2530:341:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;898:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;898:24:3;;;;471:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;471:20:3;;;;836:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;836:24:3;;;;806:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;806:23:3;;;;4281:168;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4281:168:3;;;;;867:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;867:24:3;;;;498:30;;;;;;:::o;969:19::-;;;;:::o;5933:133::-;2265:5;;;;2251:10;:19;2243:28;;;;;;6026:1;6002:21;:25;;;6043:15;;;;6026:1;6043:15;5933:133::o;4457:152::-;4528:14;4580:10;4560:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4457:152;:::o;995:22::-;;;;:::o;929:33::-;;;;:::o;3188:502::-;3309:10;;3377:22;;3303:3;:16;3295:25;;;;;;3402:52;;;;;;3437:4;3402:52;;;;3443:10;3402:52;;;;;;:21;;:34;;:52;;;;;;;;;;;;;;:21;:52;;;5:2:-1;;;;30:1;27;20:12;5:2;3402:52:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3402:52:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3402:52:3;3467:10;27::-1;;39:1;23:18;;45:23;;-1:-1;3467:26:3;;;;;;;;;;;-1:-1:-1;;3467:26:3;;;;;;;;3626:25;;;;;;;3402:52;;-1:-1:-1;3626:25:3;;;;;;3402:52;3626:25;;;3667:15;;;;;;;3188:502;:::o;3994:130::-;4099:10;:17;3994:130;:::o;1056:32::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1056:32:3;:::o;2530:341::-;2582:14;2761:5;2768:8;;2778:12;;2792:21;;2815:12;;2829;;2843:7;;2852:10;;2761:5;;;;;2530:341;;;;;;;;:::o;898:24::-;;;;:::o;471:20::-;;;;;;:::o;836:24::-;;;;:::o;806:23::-;;;;:::o;4281:168::-;4362:12;4412:10;4423:6;4412:18;;;;;;;;;;;;;;;;;;;;;;;4281:168;-1:-1:-1;;4281:168:3:o;867:24::-;;;;:::o", + "bytecode": "0x608060405234801561001057600080fd5b5060405160c08061073a83398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03909516600160a060020a0319958616179055600180549094163317909355600293909355600555600691909155600491909155600355426007819055621275000160085561069d8061009d6000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a7230582090b6420d9e2c03b67c2596da4a5dc977d67715bf13e5e73cf5ea54d8ac6e7df70029", + "deployedBytecode": "0x6080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a7230582090b6420d9e2c03b67c2596da4a5dc977d67715bf13e5e73cf5ea54d8ac6e7df70029", + "sourceMap": "209:5968:4:-;;;1097:825;8:9:-1;5:2;;;30:1;27;20:12;5:2;1097:825:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1548:5;:16;;-1:-1:-1;;;;;1548:16:4;;;-1:-1:-1;;;;;;1548:16:4;;;;;;;1575:29;;;;;1594:10;1575:29;;;;1647:8;:22;;;;1680:12;:29;1720:21;:46;;;;1777:12;:29;;;;1817:12;:29;1869:3;1857:7;:15;;;1907:7;1897:17;1883:10;:31;209:5968;;;;;;", + "deployedSourceMap": "209:5968:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;498:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;498:30:4;;;;;;;;;;;;;;;;;;;;;;;969:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;969:19:4;;;;;;;;;;;;;;;;;;;;5933:133;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5933:133:4;;;;;;4457:152;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4457:152:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4457:152:4;;;;;;;;;;;;;;;;;995:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;995:22:4;;;;929:33;;8:9:-1;5:2;;;30:1;27;20:12;5:2;929:33:4;;;;3188:502;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3188:502:4;;;;3994:130;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3994:130:4;;;;1056:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1056:32:4;;;;;2530:341;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2530:341:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;898:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;898:24:4;;;;471:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;471:20:4;;;;836:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;836:24:4;;;;806:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;806:23:4;;;;4281:168;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4281:168:4;;;;;867:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;867:24:4;;;;498:30;;;;;;:::o;969:19::-;;;;:::o;5933:133::-;2265:5;;;;2251:10;:19;2243:28;;;;;;6026:1;6002:21;:25;;;6043:15;;;;6026:1;6043:15;5933:133::o;4457:152::-;4528:14;4580:10;4560:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4457:152;:::o;995:22::-;;;;:::o;929:33::-;;;;:::o;3188:502::-;3309:10;;3377:22;;3303:3;:16;3295:25;;;;;;3402:52;;;;;;3437:4;3402:52;;;;3443:10;3402:52;;;;;;:21;;:34;;:52;;;;;;;;;;;;;;:21;:52;;;5:2:-1;;;;30:1;27;20:12;5:2;3402:52:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3402:52:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3402:52:4;3467:10;27::-1;;39:1;23:18;;45:23;;-1:-1;3467:26:4;;;;;;;;;;;-1:-1:-1;;3467:26:4;;;;;;;;3626:25;;;;;;;3402:52;;-1:-1:-1;3626:25:4;;;;;;3402:52;3626:25;;;3667:15;;;;;;;3188:502;:::o;3994:130::-;4099:10;:17;3994:130;:::o;1056:32::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1056:32:4;:::o;2530:341::-;2582:14;2761:5;2768:8;;2778:12;;2792:21;;2815:12;;2829;;2843:7;;2852:10;;2761:5;;;;;2530:341;;;;;;;;:::o;898:24::-;;;;:::o;471:20::-;;;;;;:::o;836:24::-;;;;:::o;806:23::-;;;;:::o;4281:168::-;4362:12;4412:10;4423:6;4412:18;;;;;;;;;;;;;;;;;;;;;;;4281:168;-1:-1:-1;;4281:168:4:o;867:24::-;;;;:::o", "source": "pragma solidity 0.4.24;\r\n\r\n/// @title Listing\r\n/// @dev To an individual Job Listing, an job applicant can apply and employ can hire\r\n\r\nimport \"./JobApplicant.sol\";\r\nimport \"./JobApplicationLibrary.sol\";\r\n\r\n\r\ncontract Listing {\r\n\r\n /*\r\n * Events\r\n */\r\n\r\n event ListingApplied(JobApplicant _jobApplicantContract);\r\n event ListingChange();\r\n\r\n/*\r\n*\tData Storage\r\n*\t------------\r\n*\tWorkingHours\r\n*\tResourceType\r\n*\tresourceRate\r\n*\ttotalResourceRequired\r\n*/\r\n\r\n address public owner;\r\n address public ListingRegistry; // TODO: Define interface for real ListingRegistry ?\r\n\r\n // Assume IPFS defaults for hash: function:0x12=sha2, size:0x20=256 bits\r\n // See: https://ethereum.stackexchange.com/a/17112/20332\r\n // This assumption may have to change in future, but saves space now\r\n\r\n bytes32 public ipfsHash;\r\n uint public workingHours;\r\n uint public resourceType;\r\n uint public resourceRate;\r\n uint public totalResourceRequired;\r\n uint public created;\r\n uint public expiration;\r\n\r\n // Hire[] public hiring;\r\n JobApplicant[] public applicants;\r\n\r\n constructor (\r\n address _owner,\r\n bytes32 _ipfsHash,\r\n uint _resourceRate,\r\n uint _totalResourceRequired,\r\n uint _resourceType,\r\n uint _workingHours\r\n )\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n//\t\t\tData Structure\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n public\r\n {\r\n owner\t\t\t= _owner;\r\n ListingRegistry\t\t= msg.sender; // ListingRegistry(msg.sender);\r\n ipfsHash\t\t\t= _ipfsHash;\r\n resourceRate\t\t= _resourceRate;\r\n totalResourceRequired\t= _totalResourceRequired;\r\n resourceType\t\t= _resourceType;\r\n workingHours\t\t= _workingHours;\r\n created\t\t\t= now;\r\n expiration\t\t= created + 14 days;\r\n }\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n//\t\t\tCheck whether, modifer is the contract owner of the listing\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n modifier isEmployer() {\r\n require(msg.sender == owner);\r\n _;\r\n }\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n//\t\t\tListing Data\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function data()\r\n public\r\n view\r\n returns (address _owner, bytes32 _ipfsHash, uint _resourceRate, uint _totalResourceRequired, uint _resourceType,uint _workingHours,uint _created, uint _expiration)\r\n {\r\n return (owner, ipfsHash, resourceRate, totalResourceRequired, resourceType, workingHours, created, expiration);\r\n }\r\n\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n /// @dev ApplyToJob()\t\t--> An applicant can apply for a Job Listing\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function applyToJob()\r\n public \r\n {\r\n\r\n // Ensure that we are not past the expiration\r\n require(now < expiration);\r\n\r\n // Create Job Application contract\r\n JobApplicant applicant = JobApplicationLibrary.newApplicant(this, msg.sender);\r\n\r\n applicants.push(applicant);\r\n\r\n // TODO STAN: How to call function *AND* transfer value??\r\n // applicant.pay.value(msg.value)();\r\n\r\n emit ListingApplied(applicant);\r\n emit ListingChange();\r\n }\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n///\t@dev totalJobApplicants(): Return number of applicants for a given Job Listing\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function totalJobApplicants()\r\n public\r\n constant\r\n returns (uint)\r\n {\r\n return applicants.length;\r\n }\r\n\r\n /// @dev getApplicant(): Return Job Application info for a given Job Listing\r\n /// @param _index the index of the Listing we want info about\r\n function getApplicant(uint _index)\r\n public\r\n constant\r\n returns (JobApplicant)\r\n {\r\n return (\r\n applicants[_index]\r\n );\r\n }\r\n\r\n function getApplicants()\r\n public\r\n constant\r\n returns (JobApplicant[])\r\n {\r\n return (\r\n applicants\r\n );\r\n }\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n///\t\t\tHiring Contract Starts\t\t\t\t\t\t\t //\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n// function hireApplicant(uint _agentApply)\r\n// public\r\n// payable\r\n// {\r\n// // Ensure that this is not trying to hire more than required agents\r\n// // require(_agentApply <= totalResourceRequired);\r\n\r\n// // Ensure that we are not past the expiration\r\n// require(now < expiration);\r\n\r\n// // Create Job Application contract\r\n// JobApplicant applicant = JobApplicationLibrary.newApplicant(this, msg.sender);\r\n\r\n// // Count units as sold\r\n// //totalResourceRequired -= _agentApply;\r\n\r\n// applicants.push(applicant);\r\n\r\n// // TODO STAN: How to call function *AND* transfer value??\r\n// // applicant.pay.value(msg.value)();\r\n\r\n// emit ListingApplied(applicant);\r\n// emit ListingChange();\r\n// }\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n /// @dev close(): Allows an employer to close the Job Listing from further applicants\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n function close()\r\n public\r\n isEmployer\r\n {\r\n totalResourceRequired = 0;\r\n emit ListingChange();\r\n }\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n}\r\n\r\n\r\n\r\n\r\n", - "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\Listing.sol", + "sourcePath": "C:\\i\\HT\\hellonetmarket\\ethereum\\contracts\\Listing.sol", "ast": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", "exportedSymbols": { "Listing": [ - 902 + 1554 ] }, - "id": 903, + "id": 1555, "nodeType": "SourceUnit", "nodes": [ { - "id": 699, + "id": 1351, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:3" + "src": "0:23:4" }, { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicant.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicant.sol", "file": "./JobApplicant.sol", - "id": 700, + "id": 1352, "nodeType": "ImportDirective", - "scope": 903, - "sourceUnit": 675, - "src": "136:28:3", + "scope": 1555, + "sourceUnit": 1327, + "src": "136:28:4", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", "file": "./JobApplicationLibrary.sol", - "id": 701, + "id": 1353, "nodeType": "ImportDirective", - "scope": 903, - "sourceUnit": 698, - "src": "166:37:3", + "scope": 1555, + "sourceUnit": 1350, + "src": "166:37:4", "symbolAliases": [], "unitAlias": "" }, @@ -357,9 +357,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 902, + "id": 1554, "linearizedBaseContracts": [ - 902 + 1554 ], "name": "Listing", "nodeType": "ContractDefinition", @@ -367,36 +367,36 @@ { "anonymous": false, "documentation": null, - "id": 705, + "id": 1357, "name": "ListingApplied", "nodeType": "EventDefinition", "parameters": { - "id": 704, + "id": 1356, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 1355, "indexed": false, "name": "_jobApplicantContract", "nodeType": "VariableDeclaration", - "scope": 705, - "src": "284:34:3", + "scope": 1357, + "src": "284:34:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 702, + "id": 1354, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "284:12:3", + "referencedDeclaration": 1326, + "src": "284:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, @@ -404,31 +404,31 @@ "visibility": "internal" } ], - "src": "283:36:3" + "src": "283:36:4" }, - "src": "263:57:3" + "src": "263:57:4" }, { "anonymous": false, "documentation": null, - "id": 707, + "id": 1359, "name": "ListingChange", "nodeType": "EventDefinition", "parameters": { - "id": 706, + "id": 1358, "nodeType": "ParameterList", "parameters": [], - "src": "345:2:3" + "src": "345:2:4" }, - "src": "326:22:3" + "src": "326:22:4" }, { "constant": false, - "id": 709, + "id": 1361, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "471:20:3", + "scope": 1554, + "src": "471:20:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -436,10 +436,10 @@ "typeString": "address" }, "typeName": { - "id": 708, + "id": 1360, "name": "address", "nodeType": "ElementaryTypeName", - "src": "471:7:3", + "src": "471:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -450,11 +450,11 @@ }, { "constant": false, - "id": 711, + "id": 1363, "name": "ListingRegistry", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "498:30:3", + "scope": 1554, + "src": "498:30:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -462,10 +462,10 @@ "typeString": "address" }, "typeName": { - "id": 710, + "id": 1362, "name": "address", "nodeType": "ElementaryTypeName", - "src": "498:7:3", + "src": "498:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -476,11 +476,11 @@ }, { "constant": false, - "id": 713, + "id": 1365, "name": "ipfsHash", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "806:23:3", + "scope": 1554, + "src": "806:23:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -488,10 +488,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 712, + "id": 1364, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "806:7:3", + "src": "806:7:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -502,11 +502,11 @@ }, { "constant": false, - "id": 715, + "id": 1367, "name": "workingHours", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "836:24:3", + "scope": 1554, + "src": "836:24:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -514,10 +514,10 @@ "typeString": "uint256" }, "typeName": { - "id": 714, + "id": 1366, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "836:4:3", + "src": "836:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -528,11 +528,11 @@ }, { "constant": false, - "id": 717, + "id": 1369, "name": "resourceType", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "867:24:3", + "scope": 1554, + "src": "867:24:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -540,10 +540,10 @@ "typeString": "uint256" }, "typeName": { - "id": 716, + "id": 1368, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "867:4:3", + "src": "867:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -554,11 +554,11 @@ }, { "constant": false, - "id": 719, + "id": 1371, "name": "resourceRate", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "898:24:3", + "scope": 1554, + "src": "898:24:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -566,10 +566,10 @@ "typeString": "uint256" }, "typeName": { - "id": 718, + "id": 1370, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "898:4:3", + "src": "898:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -580,11 +580,11 @@ }, { "constant": false, - "id": 721, + "id": 1373, "name": "totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "929:33:3", + "scope": 1554, + "src": "929:33:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -592,10 +592,10 @@ "typeString": "uint256" }, "typeName": { - "id": 720, + "id": 1372, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "929:4:3", + "src": "929:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -606,11 +606,11 @@ }, { "constant": false, - "id": 723, + "id": 1375, "name": "created", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "969:19:3", + "scope": 1554, + "src": "969:19:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -618,10 +618,10 @@ "typeString": "uint256" }, "typeName": { - "id": 722, + "id": 1374, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "969:4:3", + "src": "969:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -632,11 +632,11 @@ }, { "constant": false, - "id": 725, + "id": 1377, "name": "expiration", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "995:22:3", + "scope": 1554, + "src": "995:22:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -644,10 +644,10 @@ "typeString": "uint256" }, "typeName": { - "id": 724, + "id": 1376, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "995:4:3", + "src": "995:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -658,36 +658,36 @@ }, { "constant": false, - "id": 728, + "id": 1380, "name": "applicants", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "1056:32:3", + "scope": 1554, + "src": "1056:32:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage", "typeString": "contract JobApplicant[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 726, + "id": 1378, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "1056:12:3", + "referencedDeclaration": 1326, + "src": "1056:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, - "id": 727, + "id": 1379, "length": null, "nodeType": "ArrayTypeName", - "src": "1056:14:3", + "src": "1056:14:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage_ptr", "typeString": "contract JobApplicant[]" } }, @@ -696,26 +696,26 @@ }, { "body": { - "id": 782, + "id": 1434, "nodeType": "Block", - "src": "1537:385:3", + "src": "1537:385:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 745, + "id": 1397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 743, + "id": 1395, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 709, - "src": "1548:5:3", + "referencedDeclaration": 1361, + "src": "1548:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -725,43 +725,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 744, + "id": 1396, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 730, - "src": "1558:6:3", + "referencedDeclaration": 1382, + "src": "1558:6:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1548:16:3", + "src": "1548:16:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 746, + "id": 1398, "nodeType": "ExpressionStatement", - "src": "1548:16:3" + "src": "1548:16:4" }, { "expression": { "argumentTypes": null, - "id": 750, + "id": 1402, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 747, + "id": 1399, "name": "ListingRegistry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 711, - "src": "1575:15:3", + "referencedDeclaration": 1363, + "src": "1575:15:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -773,18 +773,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 748, + "id": 1400, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "1594:3:3", + "referencedDeclaration": 1965, + "src": "1594:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 749, + "id": 1401, "isConstant": false, "isLValue": false, "isPure": false, @@ -792,38 +792,38 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1594:10:3", + "src": "1594:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1575:29:3", + "src": "1575:29:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 751, + "id": 1403, "nodeType": "ExpressionStatement", - "src": "1575:29:3" + "src": "1575:29:4" }, { "expression": { "argumentTypes": null, - "id": 754, + "id": 1406, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 752, + "id": 1404, "name": "ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 713, - "src": "1647:8:3", + "referencedDeclaration": 1365, + "src": "1647:8:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -833,43 +833,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 753, + "id": 1405, "name": "_ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 732, - "src": "1660:9:3", + "referencedDeclaration": 1384, + "src": "1660:9:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "1647:22:3", + "src": "1647:22:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 755, + "id": 1407, "nodeType": "ExpressionStatement", - "src": "1647:22:3" + "src": "1647:22:4" }, { "expression": { "argumentTypes": null, - "id": 758, + "id": 1410, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 756, + "id": 1408, "name": "resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 719, - "src": "1680:12:3", + "referencedDeclaration": 1371, + "src": "1680:12:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -879,43 +879,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 757, + "id": 1409, "name": "_resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 734, - "src": "1696:13:3", + "referencedDeclaration": 1386, + "src": "1696:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1680:29:3", + "src": "1680:29:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 759, + "id": 1411, "nodeType": "ExpressionStatement", - "src": "1680:29:3" + "src": "1680:29:4" }, { "expression": { "argumentTypes": null, - "id": 762, + "id": 1414, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 760, + "id": 1412, "name": "totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 721, - "src": "1720:21:3", + "referencedDeclaration": 1373, + "src": "1720:21:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -925,43 +925,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 761, + "id": 1413, "name": "_totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 736, - "src": "1744:22:3", + "referencedDeclaration": 1388, + "src": "1744:22:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1720:46:3", + "src": "1720:46:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 763, + "id": 1415, "nodeType": "ExpressionStatement", - "src": "1720:46:3" + "src": "1720:46:4" }, { "expression": { "argumentTypes": null, - "id": 766, + "id": 1418, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 764, + "id": 1416, "name": "resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 717, - "src": "1777:12:3", + "referencedDeclaration": 1369, + "src": "1777:12:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -971,43 +971,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 765, + "id": 1417, "name": "_resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "1793:13:3", + "referencedDeclaration": 1390, + "src": "1793:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1777:29:3", + "src": "1777:29:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 767, + "id": 1419, "nodeType": "ExpressionStatement", - "src": "1777:29:3" + "src": "1777:29:4" }, { "expression": { "argumentTypes": null, - "id": 770, + "id": 1422, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 768, + "id": 1420, "name": "workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 715, - "src": "1817:12:3", + "referencedDeclaration": 1367, + "src": "1817:12:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1017,43 +1017,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 769, + "id": 1421, "name": "_workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 740, - "src": "1833:13:3", + "referencedDeclaration": 1392, + "src": "1833:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1817:29:3", + "src": "1817:29:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 771, + "id": 1423, "nodeType": "ExpressionStatement", - "src": "1817:29:3" + "src": "1817:29:4" }, { "expression": { "argumentTypes": null, - "id": 774, + "id": 1426, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 772, + "id": 1424, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 723, - "src": "1857:7:3", + "referencedDeclaration": 1375, + "src": "1857:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1063,43 +1063,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 773, + "id": 1425, "name": "now", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1224, - "src": "1869:3:3", + "referencedDeclaration": 1967, + "src": "1869:3:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1857:15:3", + "src": "1857:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 775, + "id": 1427, "nodeType": "ExpressionStatement", - "src": "1857:15:3" + "src": "1857:15:4" }, { "expression": { "argumentTypes": null, - "id": 780, + "id": 1432, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 776, + "id": 1428, "name": "expiration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 725, - "src": "1883:10:3", + "referencedDeclaration": 1377, + "src": "1883:10:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1113,19 +1113,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 779, + "id": 1431, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 777, + "id": 1429, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 723, - "src": "1897:7:3", + "referencedDeclaration": 1375, + "src": "1897:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1136,14 +1136,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3134", - "id": 778, + "id": 1430, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1907:7:3", + "src": "1907:7:4", "subdenomination": "days", "typeDescriptions": { "typeIdentifier": "t_rational_1209600_by_1", @@ -1151,26 +1151,26 @@ }, "value": "14" }, - "src": "1897:17:3", + "src": "1897:17:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1883:31:3", + "src": "1883:31:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 781, + "id": 1433, "nodeType": "ExpressionStatement", - "src": "1883:31:3" + "src": "1883:31:4" } ] }, "documentation": null, - "id": 783, + "id": 1435, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -1178,16 +1178,16 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 741, + "id": 1393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 730, + "id": 1382, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 783, - "src": "1118:14:3", + "scope": 1435, + "src": "1118:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1195,10 +1195,10 @@ "typeString": "address" }, "typeName": { - "id": 729, + "id": 1381, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1118:7:3", + "src": "1118:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1209,11 +1209,11 @@ }, { "constant": false, - "id": 732, + "id": 1384, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 783, - "src": "1141:17:3", + "scope": 1435, + "src": "1141:17:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1221,10 +1221,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 731, + "id": 1383, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1141:7:3", + "src": "1141:7:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -1235,11 +1235,11 @@ }, { "constant": false, - "id": 734, + "id": 1386, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 783, - "src": "1167:18:3", + "scope": 1435, + "src": "1167:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1247,10 +1247,10 @@ "typeString": "uint256" }, "typeName": { - "id": 733, + "id": 1385, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1167:4:3", + "src": "1167:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1261,11 +1261,11 @@ }, { "constant": false, - "id": 736, + "id": 1388, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 783, - "src": "1194:27:3", + "scope": 1435, + "src": "1194:27:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1273,10 +1273,10 @@ "typeString": "uint256" }, "typeName": { - "id": 735, + "id": 1387, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1194:4:3", + "src": "1194:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1287,11 +1287,11 @@ }, { "constant": false, - "id": 738, + "id": 1390, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 783, - "src": "1230:18:3", + "scope": 1435, + "src": "1230:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1299,10 +1299,10 @@ "typeString": "uint256" }, "typeName": { - "id": 737, + "id": 1389, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1230:4:3", + "src": "1230:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1313,11 +1313,11 @@ }, { "constant": false, - "id": 740, + "id": 1392, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 783, - "src": "1257:18:3", + "scope": 1435, + "src": "1257:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1325,10 +1325,10 @@ "typeString": "uint256" }, "typeName": { - "id": 739, + "id": 1391, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1257:4:3", + "src": "1257:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1338,26 +1338,26 @@ "visibility": "internal" } ], - "src": "1109:173:3" + "src": "1109:173:4" }, "payable": false, "returnParameters": { - "id": 742, + "id": 1394, "nodeType": "ParameterList", "parameters": [], - "src": "1537:0:3" + "src": "1537:0:4" }, - "scope": 902, - "src": "1097:825:3", + "scope": 1554, + "src": "1097:825:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 793, + "id": 1445, "nodeType": "Block", - "src": "2232:59:3", + "src": "2232:59:4", "statements": [ { "expression": { @@ -1369,7 +1369,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 789, + "id": 1441, "isConstant": false, "isLValue": false, "isPure": false, @@ -1378,18 +1378,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 786, + "id": 1438, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "2251:3:3", + "referencedDeclaration": 1965, + "src": "2251:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 787, + "id": 1439, "isConstant": false, "isLValue": false, "isPure": false, @@ -1397,7 +1397,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2251:10:3", + "src": "2251:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1407,18 +1407,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 788, + "id": 1440, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 709, - "src": "2265:5:3", + "referencedDeclaration": 1361, + "src": "2265:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2251:19:3", + "src": "2251:19:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1432,21 +1432,21 @@ "typeString": "bool" } ], - "id": 785, + "id": 1437, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "2243:7:3", + "referencedDeclaration": 1968, + "src": "2243:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 790, + "id": 1442, "isConstant": false, "isLValue": false, "isPure": false, @@ -1454,41 +1454,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2243:28:3", + "src": "2243:28:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 791, + "id": 1443, "nodeType": "ExpressionStatement", - "src": "2243:28:3" + "src": "2243:28:4" }, { - "id": 792, + "id": 1444, "nodeType": "PlaceholderStatement", - "src": "2282:1:3" + "src": "2282:1:4" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 794, + "id": 1446, "name": "isEmployer", "nodeType": "ModifierDefinition", "parameters": { - "id": 784, + "id": 1436, "nodeType": "ParameterList", "parameters": [], - "src": "2229:2:3" + "src": "2229:2:4" }, - "src": "2210:81:3", + "src": "2210:81:4", "visibility": "internal" }, { "body": { - "id": 823, + "id": 1475, "nodeType": "Block", - "src": "2742:129:3", + "src": "2742:129:4", "statements": [ { "expression": { @@ -1496,12 +1496,12 @@ "components": [ { "argumentTypes": null, - "id": 813, + "id": 1465, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 709, - "src": "2761:5:3", + "referencedDeclaration": 1361, + "src": "2761:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1509,12 +1509,12 @@ }, { "argumentTypes": null, - "id": 814, + "id": 1466, "name": "ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 713, - "src": "2768:8:3", + "referencedDeclaration": 1365, + "src": "2768:8:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -1522,12 +1522,12 @@ }, { "argumentTypes": null, - "id": 815, + "id": 1467, "name": "resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 719, - "src": "2778:12:3", + "referencedDeclaration": 1371, + "src": "2778:12:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1535,12 +1535,12 @@ }, { "argumentTypes": null, - "id": 816, + "id": 1468, "name": "totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 721, - "src": "2792:21:3", + "referencedDeclaration": 1373, + "src": "2792:21:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1548,12 +1548,12 @@ }, { "argumentTypes": null, - "id": 817, + "id": 1469, "name": "resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 717, - "src": "2815:12:3", + "referencedDeclaration": 1369, + "src": "2815:12:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1561,12 +1561,12 @@ }, { "argumentTypes": null, - "id": 818, + "id": 1470, "name": "workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 715, - "src": "2829:12:3", + "referencedDeclaration": 1367, + "src": "2829:12:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1574,12 +1574,12 @@ }, { "argumentTypes": null, - "id": 819, + "id": 1471, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 723, - "src": "2843:7:3", + "referencedDeclaration": 1375, + "src": "2843:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1587,40 +1587,40 @@ }, { "argumentTypes": null, - "id": 820, + "id": 1472, "name": "expiration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 725, - "src": "2852:10:3", + "referencedDeclaration": 1377, + "src": "2852:10:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 821, + "id": 1473, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2760:103:3", + "src": "2760:103:4", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", "typeString": "tuple(address,bytes32,uint256,uint256,uint256,uint256,uint256,uint256)" } }, - "functionReturnParameters": 812, - "id": 822, + "functionReturnParameters": 1464, + "id": 1474, "nodeType": "Return", - "src": "2753:110:3" + "src": "2753:110:4" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 824, + "id": 1476, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1628,23 +1628,23 @@ "name": "data", "nodeType": "FunctionDefinition", "parameters": { - "id": 795, + "id": 1447, "nodeType": "ParameterList", "parameters": [], - "src": "2543:2:3" + "src": "2543:2:4" }, "payable": false, "returnParameters": { - "id": 812, + "id": 1464, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 797, + "id": 1449, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2582:14:3", + "scope": 1476, + "src": "2582:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1652,10 +1652,10 @@ "typeString": "address" }, "typeName": { - "id": 796, + "id": 1448, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2582:7:3", + "src": "2582:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1666,11 +1666,11 @@ }, { "constant": false, - "id": 799, + "id": 1451, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2598:17:3", + "scope": 1476, + "src": "2598:17:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1678,10 +1678,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 798, + "id": 1450, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2598:7:3", + "src": "2598:7:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -1692,11 +1692,11 @@ }, { "constant": false, - "id": 801, + "id": 1453, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2617:18:3", + "scope": 1476, + "src": "2617:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1704,10 +1704,10 @@ "typeString": "uint256" }, "typeName": { - "id": 800, + "id": 1452, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2617:4:3", + "src": "2617:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1718,11 +1718,11 @@ }, { "constant": false, - "id": 803, + "id": 1455, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2637:27:3", + "scope": 1476, + "src": "2637:27:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1730,10 +1730,10 @@ "typeString": "uint256" }, "typeName": { - "id": 802, + "id": 1454, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2637:4:3", + "src": "2637:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1744,11 +1744,11 @@ }, { "constant": false, - "id": 805, + "id": 1457, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2666:18:3", + "scope": 1476, + "src": "2666:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1756,10 +1756,10 @@ "typeString": "uint256" }, "typeName": { - "id": 804, + "id": 1456, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2666:4:3", + "src": "2666:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1770,11 +1770,11 @@ }, { "constant": false, - "id": 807, + "id": 1459, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2685:18:3", + "scope": 1476, + "src": "2685:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1782,10 +1782,10 @@ "typeString": "uint256" }, "typeName": { - "id": 806, + "id": 1458, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2685:4:3", + "src": "2685:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1796,11 +1796,11 @@ }, { "constant": false, - "id": 809, + "id": 1461, "name": "_created", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2704:13:3", + "scope": 1476, + "src": "2704:13:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1808,10 +1808,10 @@ "typeString": "uint256" }, "typeName": { - "id": 808, + "id": 1460, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2704:4:3", + "src": "2704:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1822,11 +1822,11 @@ }, { "constant": false, - "id": 811, + "id": 1463, "name": "_expiration", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2719:16:3", + "scope": 1476, + "src": "2719:16:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1834,10 +1834,10 @@ "typeString": "uint256" }, "typeName": { - "id": 810, + "id": 1462, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2719:4:3", + "src": "2719:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1847,19 +1847,19 @@ "visibility": "internal" } ], - "src": "2581:155:3" + "src": "2581:155:4" }, - "scope": 902, - "src": "2530:341:3", + "scope": 1554, + "src": "2530:341:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 855, + "id": 1507, "nodeType": "Block", - "src": "3231:459:3", + "src": "3231:459:4", "statements": [ { "expression": { @@ -1871,19 +1871,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 830, + "id": 1482, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 828, + "id": 1480, "name": "now", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1224, - "src": "3303:3:3", + "referencedDeclaration": 1967, + "src": "3303:3:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1893,18 +1893,18 @@ "operator": "<", "rightExpression": { "argumentTypes": null, - "id": 829, + "id": 1481, "name": "expiration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 725, - "src": "3309:10:3", + "referencedDeclaration": 1377, + "src": "3309:10:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3303:16:3", + "src": "3303:16:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1918,21 +1918,21 @@ "typeString": "bool" } ], - "id": 827, + "id": 1479, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "3295:7:3", + "referencedDeclaration": 1968, + "src": "3295:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 831, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -1940,43 +1940,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3295:25:3", + "src": "3295:25:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 832, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "3295:25:3" + "src": "3295:25:4" }, { "assignments": [ - 834 + 1486 ], "declarations": [ { "constant": false, - "id": 834, + "id": 1486, "name": "applicant", "nodeType": "VariableDeclaration", - "scope": 856, - "src": "3377:22:3", + "scope": 1508, + "src": "3377:22:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 833, + "id": 1485, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "3377:12:3", + "referencedDeclaration": 1326, + "src": "3377:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, @@ -1984,20 +1984,20 @@ "visibility": "internal" } ], - "id": 841, + "id": 1493, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 837, + "id": 1489, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1239, - "src": "3437:4:3", + "referencedDeclaration": 1984, + "src": "3437:4:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -2005,18 +2005,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 838, + "id": 1490, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "3443:3:3", + "referencedDeclaration": 1965, + "src": "3443:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 839, + "id": 1491, "isConstant": false, "isLValue": false, "isPure": false, @@ -2024,7 +2024,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3443:10:3", + "src": "3443:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2034,7 +2034,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" }, { @@ -2044,32 +2044,32 @@ ], "expression": { "argumentTypes": null, - "id": 835, + "id": 1487, "name": "JobApplicationLibrary", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 697, - "src": "3402:21:3", + "referencedDeclaration": 1349, + "src": "3402:21:4", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_JobApplicationLibrary_$697_$", + "typeIdentifier": "t_type$_t_contract$_JobApplicationLibrary_$1349_$", "typeString": "type(library JobApplicationLibrary)" } }, - "id": 836, + "id": 1488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "newApplicant", "nodeType": "MemberAccess", - "referencedDeclaration": 696, - "src": "3402:34:3", + "referencedDeclaration": 1348, + "src": "3402:34:4", "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_nonpayable$_t_contract$_Listing_$902_$_t_address_$returns$_t_contract$_JobApplicant_$674_$", + "typeIdentifier": "t_function_delegatecall_nonpayable$_t_contract$_Listing_$1554_$_t_address_$returns$_t_contract$_JobApplicant_$1326_$", "typeString": "function (contract Listing,address) returns (contract JobApplicant)" } }, - "id": 840, + "id": 1492, "isConstant": false, "isLValue": false, "isPure": false, @@ -2077,14 +2077,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3402:52:3", + "src": "3402:52:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, "nodeType": "VariableDeclarationStatement", - "src": "3377:77:3" + "src": "3377:77:4" }, { "expression": { @@ -2092,14 +2092,14 @@ "arguments": [ { "argumentTypes": null, - "id": 845, + "id": 1497, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 834, - "src": "3483:9:3", + "referencedDeclaration": 1486, + "src": "3483:9:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } } @@ -2107,24 +2107,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } ], "expression": { "argumentTypes": null, - "id": 842, + "id": 1494, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 728, - "src": "3467:10:3", + "referencedDeclaration": 1380, + "src": "3467:10:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "id": 844, + "id": 1496, "isConstant": false, "isLValue": false, "isPure": false, @@ -2132,13 +2132,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3467:15:3", + "src": "3467:15:4", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_JobApplicant_$674_$returns$_t_uint256_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_JobApplicant_$1326_$returns$_t_uint256_$", "typeString": "function (contract JobApplicant) returns (uint256)" } }, - "id": 846, + "id": 1498, "isConstant": false, "isLValue": false, "isPure": false, @@ -2146,15 +2146,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3467:26:3", + "src": "3467:26:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 847, + "id": 1499, "nodeType": "ExpressionStatement", - "src": "3467:26:3" + "src": "3467:26:4" }, { "eventCall": { @@ -2162,14 +2162,14 @@ "arguments": [ { "argumentTypes": null, - "id": 849, + "id": 1501, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 834, - "src": "3641:9:3", + "referencedDeclaration": 1486, + "src": "3641:9:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } } @@ -2177,22 +2177,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } ], - "id": 848, + "id": 1500, "name": "ListingApplied", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 705, - "src": "3626:14:3", + "referencedDeclaration": 1357, + "src": "3626:14:4", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_contract$_JobApplicant_$674_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_contract$_JobApplicant_$1326_$returns$__$", "typeString": "function (contract JobApplicant)" } }, - "id": 850, + "id": 1502, "isConstant": false, "isLValue": false, "isPure": false, @@ -2200,15 +2200,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3626:25:3", + "src": "3626:25:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 851, + "id": 1503, "nodeType": "EmitStatement", - "src": "3621:30:3" + "src": "3621:30:4" }, { "eventCall": { @@ -2216,18 +2216,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 852, + "id": 1504, "name": "ListingChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "3667:13:3", + "referencedDeclaration": 1359, + "src": "3667:13:4", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 853, + "id": 1505, "isConstant": false, "isLValue": false, "isPure": false, @@ -2235,20 +2235,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3667:15:3", + "src": "3667:15:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 854, + "id": 1506, "nodeType": "EmitStatement", - "src": "3662:20:3" + "src": "3662:20:4" } ] }, "documentation": "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n @dev ApplyToJob()\t\t--> An applicant can apply for a Job Listing\r\n//////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 856, + "id": 1508, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -2256,47 +2256,47 @@ "name": "applyToJob", "nodeType": "FunctionDefinition", "parameters": { - "id": 825, + "id": 1477, "nodeType": "ParameterList", "parameters": [], - "src": "3207:2:3" + "src": "3207:2:4" }, "payable": false, "returnParameters": { - "id": 826, + "id": 1478, "nodeType": "ParameterList", "parameters": [], - "src": "3231:0:3" + "src": "3231:0:4" }, - "scope": 902, - "src": "3188:502:3", + "scope": 1554, + "src": "3188:502:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 864, + "id": 1516, "nodeType": "Block", - "src": "4081:43:3", + "src": "4081:43:4", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 861, + "id": 1513, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 728, - "src": "4099:10:3", + "referencedDeclaration": 1380, + "src": "4099:10:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "id": 862, + "id": 1514, "isConstant": false, "isLValue": true, "isPure": false, @@ -2304,21 +2304,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4099:17:3", + "src": "4099:17:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 860, - "id": 863, + "functionReturnParameters": 1512, + "id": 1515, "nodeType": "Return", - "src": "4092:24:3" + "src": "4092:24:4" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\t@dev totalJobApplicants(): Return number of applicants for a given Job Listing\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 865, + "id": 1517, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2326,23 +2326,23 @@ "name": "totalJobApplicants", "nodeType": "FunctionDefinition", "parameters": { - "id": 857, + "id": 1509, "nodeType": "ParameterList", "parameters": [], - "src": "4021:2:3" + "src": "4021:2:4" }, "payable": false, "returnParameters": { - "id": 860, + "id": 1512, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 859, + "id": 1511, "name": "", "nodeType": "VariableDeclaration", - "scope": 865, - "src": "4070:4:3", + "scope": 1517, + "src": "4070:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2350,10 +2350,10 @@ "typeString": "uint256" }, "typeName": { - "id": 858, + "id": 1510, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4070:4:3", + "src": "4070:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2363,19 +2363,19 @@ "visibility": "internal" } ], - "src": "4069:6:3" + "src": "4069:6:4" }, - "scope": 902, - "src": "3994:130:3", + "scope": 1554, + "src": "3994:130:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 877, + "id": 1529, "nodeType": "Block", - "src": "4381:68:3", + "src": "4381:68:4", "statements": [ { "expression": { @@ -2385,26 +2385,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 872, + "id": 1524, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 728, - "src": "4412:10:3", + "referencedDeclaration": 1380, + "src": "4412:10:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "id": 874, + "id": 1526, "indexExpression": { "argumentTypes": null, - "id": 873, + "id": 1525, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 867, - "src": "4423:6:3", + "referencedDeclaration": 1519, + "src": "4423:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2415,35 +2415,35 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4412:18:3", + "src": "4412:18:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } } ], - "id": 875, + "id": 1527, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "4399:42:3", + "src": "4399:42:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, - "functionReturnParameters": 871, - "id": 876, + "functionReturnParameters": 1523, + "id": 1528, "nodeType": "Return", - "src": "4392:49:3" + "src": "4392:49:4" } ] }, "documentation": "@dev getApplicant(): Return Job Application info for a given Job Listing\r\n @param _index the index of the Listing we want info about\r", - "id": 878, + "id": 1530, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2451,16 +2451,16 @@ "name": "getApplicant", "nodeType": "FunctionDefinition", "parameters": { - "id": 868, + "id": 1520, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 867, + "id": 1519, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 878, - "src": "4303:11:3", + "scope": 1530, + "src": "4303:11:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2468,10 +2468,10 @@ "typeString": "uint256" }, "typeName": { - "id": 866, + "id": 1518, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4303:4:3", + "src": "4303:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2481,35 +2481,35 @@ "visibility": "internal" } ], - "src": "4302:13:3" + "src": "4302:13:4" }, "payable": false, "returnParameters": { - "id": 871, + "id": 1523, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 870, + "id": 1522, "name": "", "nodeType": "VariableDeclaration", - "scope": 878, - "src": "4362:12:3", + "scope": 1530, + "src": "4362:12:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 869, + "id": 1521, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "4362:12:3", + "referencedDeclaration": 1326, + "src": "4362:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, @@ -2517,19 +2517,19 @@ "visibility": "internal" } ], - "src": "4361:14:3" + "src": "4361:14:4" }, - "scope": 902, - "src": "4281:168:3", + "scope": 1554, + "src": "4281:168:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 887, + "id": 1539, "nodeType": "Block", - "src": "4549:60:3", + "src": "4549:60:4", "statements": [ { "expression": { @@ -2537,40 +2537,40 @@ "components": [ { "argumentTypes": null, - "id": 884, + "id": 1536, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 728, - "src": "4580:10:3", + "referencedDeclaration": 1380, + "src": "4580:10:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } } ], - "id": 885, + "id": 1537, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "4567:34:3", + "src": "4567:34:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "functionReturnParameters": 883, - "id": 886, + "functionReturnParameters": 1535, + "id": 1538, "nodeType": "Return", - "src": "4560:41:3" + "src": "4560:41:4" } ] }, "documentation": null, - "id": 888, + "id": 1540, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2578,48 +2578,48 @@ "name": "getApplicants", "nodeType": "FunctionDefinition", "parameters": { - "id": 879, + "id": 1531, "nodeType": "ParameterList", "parameters": [], - "src": "4479:2:3" + "src": "4479:2:4" }, "payable": false, "returnParameters": { - "id": 883, + "id": 1535, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 882, + "id": 1534, "name": "", "nodeType": "VariableDeclaration", - "scope": 888, - "src": "4528:14:3", + "scope": 1540, + "src": "4528:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_memory_ptr", "typeString": "contract JobApplicant[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 880, + "id": 1532, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "4528:12:3", + "referencedDeclaration": 1326, + "src": "4528:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, - "id": 881, + "id": 1533, "length": null, "nodeType": "ArrayTypeName", - "src": "4528:14:3", + "src": "4528:14:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage_ptr", "typeString": "contract JobApplicant[]" } }, @@ -2627,36 +2627,36 @@ "visibility": "internal" } ], - "src": "4527:16:3" + "src": "4527:16:4" }, - "scope": 902, - "src": "4457:152:3", + "scope": 1554, + "src": "4457:152:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 900, + "id": 1552, "nodeType": "Block", - "src": "5991:75:3", + "src": "5991:75:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 895, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 893, + "id": 1545, "name": "totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 721, - "src": "6002:21:3", + "referencedDeclaration": 1373, + "src": "6002:21:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2667,14 +2667,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "30", - "id": 894, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6026:1:3", + "src": "6026:1:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -2682,15 +2682,15 @@ }, "value": "0" }, - "src": "6002:25:3", + "src": "6002:25:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 896, + "id": 1548, "nodeType": "ExpressionStatement", - "src": "6002:25:3" + "src": "6002:25:4" }, { "eventCall": { @@ -2698,18 +2698,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 897, + "id": 1549, "name": "ListingChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "6043:13:3", + "referencedDeclaration": 1359, + "src": "6043:13:4", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 898, + "id": 1550, "isConstant": false, "isLValue": false, "isPure": false, @@ -2717,111 +2717,111 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6043:15:3", + "src": "6043:15:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 899, + "id": 1551, "nodeType": "EmitStatement", - "src": "6038:20:3" + "src": "6038:20:4" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r\n @dev close(): Allows an employer to close the Job Listing from further applicants\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 901, + "id": 1553, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 891, + "id": 1543, "modifierName": { "argumentTypes": null, - "id": 890, + "id": 1542, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 794, - "src": "5975:10:3", + "referencedDeclaration": 1446, + "src": "5975:10:4", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5975:10:3" + "src": "5975:10:4" } ], "name": "close", "nodeType": "FunctionDefinition", "parameters": { - "id": 889, + "id": 1541, "nodeType": "ParameterList", "parameters": [], - "src": "5947:2:3" + "src": "5947:2:4" }, "payable": false, "returnParameters": { - "id": 892, + "id": 1544, "nodeType": "ParameterList", "parameters": [], - "src": "5991:0:3" + "src": "5991:0:4" }, - "scope": 902, - "src": "5933:133:3", + "scope": 1554, + "src": "5933:133:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 903, - "src": "209:5968:3" + "scope": 1555, + "src": "209:5968:4" } ], - "src": "0:6187:3" + "src": "0:6187:4" }, "legacyAST": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", "exportedSymbols": { "Listing": [ - 902 + 1554 ] }, - "id": 903, + "id": 1555, "nodeType": "SourceUnit", "nodes": [ { - "id": 699, + "id": 1351, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:3" + "src": "0:23:4" }, { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicant.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicant.sol", "file": "./JobApplicant.sol", - "id": 700, + "id": 1352, "nodeType": "ImportDirective", - "scope": 903, - "sourceUnit": 675, - "src": "136:28:3", + "scope": 1555, + "sourceUnit": 1327, + "src": "136:28:4", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/JobApplicationLibrary.sol", "file": "./JobApplicationLibrary.sol", - "id": 701, + "id": 1353, "nodeType": "ImportDirective", - "scope": 903, - "sourceUnit": 698, - "src": "166:37:3", + "scope": 1555, + "sourceUnit": 1350, + "src": "166:37:4", "symbolAliases": [], "unitAlias": "" }, @@ -2831,9 +2831,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 902, + "id": 1554, "linearizedBaseContracts": [ - 902 + 1554 ], "name": "Listing", "nodeType": "ContractDefinition", @@ -2841,36 +2841,36 @@ { "anonymous": false, "documentation": null, - "id": 705, + "id": 1357, "name": "ListingApplied", "nodeType": "EventDefinition", "parameters": { - "id": 704, + "id": 1356, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 1355, "indexed": false, "name": "_jobApplicantContract", "nodeType": "VariableDeclaration", - "scope": 705, - "src": "284:34:3", + "scope": 1357, + "src": "284:34:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 702, + "id": 1354, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "284:12:3", + "referencedDeclaration": 1326, + "src": "284:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, @@ -2878,31 +2878,31 @@ "visibility": "internal" } ], - "src": "283:36:3" + "src": "283:36:4" }, - "src": "263:57:3" + "src": "263:57:4" }, { "anonymous": false, "documentation": null, - "id": 707, + "id": 1359, "name": "ListingChange", "nodeType": "EventDefinition", "parameters": { - "id": 706, + "id": 1358, "nodeType": "ParameterList", "parameters": [], - "src": "345:2:3" + "src": "345:2:4" }, - "src": "326:22:3" + "src": "326:22:4" }, { "constant": false, - "id": 709, + "id": 1361, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "471:20:3", + "scope": 1554, + "src": "471:20:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2910,10 +2910,10 @@ "typeString": "address" }, "typeName": { - "id": 708, + "id": 1360, "name": "address", "nodeType": "ElementaryTypeName", - "src": "471:7:3", + "src": "471:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2924,11 +2924,11 @@ }, { "constant": false, - "id": 711, + "id": 1363, "name": "ListingRegistry", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "498:30:3", + "scope": 1554, + "src": "498:30:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2936,10 +2936,10 @@ "typeString": "address" }, "typeName": { - "id": 710, + "id": 1362, "name": "address", "nodeType": "ElementaryTypeName", - "src": "498:7:3", + "src": "498:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2950,11 +2950,11 @@ }, { "constant": false, - "id": 713, + "id": 1365, "name": "ipfsHash", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "806:23:3", + "scope": 1554, + "src": "806:23:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2962,10 +2962,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 712, + "id": 1364, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "806:7:3", + "src": "806:7:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2976,11 +2976,11 @@ }, { "constant": false, - "id": 715, + "id": 1367, "name": "workingHours", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "836:24:3", + "scope": 1554, + "src": "836:24:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2988,10 +2988,10 @@ "typeString": "uint256" }, "typeName": { - "id": 714, + "id": 1366, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "836:4:3", + "src": "836:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3002,11 +3002,11 @@ }, { "constant": false, - "id": 717, + "id": 1369, "name": "resourceType", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "867:24:3", + "scope": 1554, + "src": "867:24:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3014,10 +3014,10 @@ "typeString": "uint256" }, "typeName": { - "id": 716, + "id": 1368, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "867:4:3", + "src": "867:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3028,11 +3028,11 @@ }, { "constant": false, - "id": 719, + "id": 1371, "name": "resourceRate", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "898:24:3", + "scope": 1554, + "src": "898:24:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3040,10 +3040,10 @@ "typeString": "uint256" }, "typeName": { - "id": 718, + "id": 1370, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "898:4:3", + "src": "898:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3054,11 +3054,11 @@ }, { "constant": false, - "id": 721, + "id": 1373, "name": "totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "929:33:3", + "scope": 1554, + "src": "929:33:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3066,10 +3066,10 @@ "typeString": "uint256" }, "typeName": { - "id": 720, + "id": 1372, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "929:4:3", + "src": "929:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3080,11 +3080,11 @@ }, { "constant": false, - "id": 723, + "id": 1375, "name": "created", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "969:19:3", + "scope": 1554, + "src": "969:19:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3092,10 +3092,10 @@ "typeString": "uint256" }, "typeName": { - "id": 722, + "id": 1374, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "969:4:3", + "src": "969:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3106,11 +3106,11 @@ }, { "constant": false, - "id": 725, + "id": 1377, "name": "expiration", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "995:22:3", + "scope": 1554, + "src": "995:22:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3118,10 +3118,10 @@ "typeString": "uint256" }, "typeName": { - "id": 724, + "id": 1376, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "995:4:3", + "src": "995:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3132,36 +3132,36 @@ }, { "constant": false, - "id": 728, + "id": 1380, "name": "applicants", "nodeType": "VariableDeclaration", - "scope": 902, - "src": "1056:32:3", + "scope": 1554, + "src": "1056:32:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage", "typeString": "contract JobApplicant[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 726, + "id": 1378, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "1056:12:3", + "referencedDeclaration": 1326, + "src": "1056:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, - "id": 727, + "id": 1379, "length": null, "nodeType": "ArrayTypeName", - "src": "1056:14:3", + "src": "1056:14:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage_ptr", "typeString": "contract JobApplicant[]" } }, @@ -3170,26 +3170,26 @@ }, { "body": { - "id": 782, + "id": 1434, "nodeType": "Block", - "src": "1537:385:3", + "src": "1537:385:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 745, + "id": 1397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 743, + "id": 1395, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 709, - "src": "1548:5:3", + "referencedDeclaration": 1361, + "src": "1548:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3199,43 +3199,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 744, + "id": 1396, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 730, - "src": "1558:6:3", + "referencedDeclaration": 1382, + "src": "1558:6:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1548:16:3", + "src": "1548:16:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 746, + "id": 1398, "nodeType": "ExpressionStatement", - "src": "1548:16:3" + "src": "1548:16:4" }, { "expression": { "argumentTypes": null, - "id": 750, + "id": 1402, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 747, + "id": 1399, "name": "ListingRegistry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 711, - "src": "1575:15:3", + "referencedDeclaration": 1363, + "src": "1575:15:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3247,18 +3247,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 748, + "id": 1400, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "1594:3:3", + "referencedDeclaration": 1965, + "src": "1594:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 749, + "id": 1401, "isConstant": false, "isLValue": false, "isPure": false, @@ -3266,38 +3266,38 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1594:10:3", + "src": "1594:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1575:29:3", + "src": "1575:29:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 751, + "id": 1403, "nodeType": "ExpressionStatement", - "src": "1575:29:3" + "src": "1575:29:4" }, { "expression": { "argumentTypes": null, - "id": 754, + "id": 1406, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 752, + "id": 1404, "name": "ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 713, - "src": "1647:8:3", + "referencedDeclaration": 1365, + "src": "1647:8:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3307,43 +3307,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 753, + "id": 1405, "name": "_ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 732, - "src": "1660:9:3", + "referencedDeclaration": 1384, + "src": "1660:9:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "1647:22:3", + "src": "1647:22:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 755, + "id": 1407, "nodeType": "ExpressionStatement", - "src": "1647:22:3" + "src": "1647:22:4" }, { "expression": { "argumentTypes": null, - "id": 758, + "id": 1410, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 756, + "id": 1408, "name": "resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 719, - "src": "1680:12:3", + "referencedDeclaration": 1371, + "src": "1680:12:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3353,43 +3353,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 757, + "id": 1409, "name": "_resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 734, - "src": "1696:13:3", + "referencedDeclaration": 1386, + "src": "1696:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1680:29:3", + "src": "1680:29:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 759, + "id": 1411, "nodeType": "ExpressionStatement", - "src": "1680:29:3" + "src": "1680:29:4" }, { "expression": { "argumentTypes": null, - "id": 762, + "id": 1414, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 760, + "id": 1412, "name": "totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 721, - "src": "1720:21:3", + "referencedDeclaration": 1373, + "src": "1720:21:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3399,43 +3399,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 761, + "id": 1413, "name": "_totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 736, - "src": "1744:22:3", + "referencedDeclaration": 1388, + "src": "1744:22:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1720:46:3", + "src": "1720:46:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 763, + "id": 1415, "nodeType": "ExpressionStatement", - "src": "1720:46:3" + "src": "1720:46:4" }, { "expression": { "argumentTypes": null, - "id": 766, + "id": 1418, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 764, + "id": 1416, "name": "resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 717, - "src": "1777:12:3", + "referencedDeclaration": 1369, + "src": "1777:12:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3445,43 +3445,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 765, + "id": 1417, "name": "_resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "1793:13:3", + "referencedDeclaration": 1390, + "src": "1793:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1777:29:3", + "src": "1777:29:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 767, + "id": 1419, "nodeType": "ExpressionStatement", - "src": "1777:29:3" + "src": "1777:29:4" }, { "expression": { "argumentTypes": null, - "id": 770, + "id": 1422, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 768, + "id": 1420, "name": "workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 715, - "src": "1817:12:3", + "referencedDeclaration": 1367, + "src": "1817:12:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3491,43 +3491,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 769, + "id": 1421, "name": "_workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 740, - "src": "1833:13:3", + "referencedDeclaration": 1392, + "src": "1833:13:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1817:29:3", + "src": "1817:29:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 771, + "id": 1423, "nodeType": "ExpressionStatement", - "src": "1817:29:3" + "src": "1817:29:4" }, { "expression": { "argumentTypes": null, - "id": 774, + "id": 1426, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 772, + "id": 1424, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 723, - "src": "1857:7:3", + "referencedDeclaration": 1375, + "src": "1857:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3537,43 +3537,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 773, + "id": 1425, "name": "now", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1224, - "src": "1869:3:3", + "referencedDeclaration": 1967, + "src": "1869:3:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1857:15:3", + "src": "1857:15:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 775, + "id": 1427, "nodeType": "ExpressionStatement", - "src": "1857:15:3" + "src": "1857:15:4" }, { "expression": { "argumentTypes": null, - "id": 780, + "id": 1432, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 776, + "id": 1428, "name": "expiration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 725, - "src": "1883:10:3", + "referencedDeclaration": 1377, + "src": "1883:10:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3587,19 +3587,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 779, + "id": 1431, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 777, + "id": 1429, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 723, - "src": "1897:7:3", + "referencedDeclaration": 1375, + "src": "1897:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3610,14 +3610,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3134", - "id": 778, + "id": 1430, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1907:7:3", + "src": "1907:7:4", "subdenomination": "days", "typeDescriptions": { "typeIdentifier": "t_rational_1209600_by_1", @@ -3625,26 +3625,26 @@ }, "value": "14" }, - "src": "1897:17:3", + "src": "1897:17:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1883:31:3", + "src": "1883:31:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 781, + "id": 1433, "nodeType": "ExpressionStatement", - "src": "1883:31:3" + "src": "1883:31:4" } ] }, "documentation": null, - "id": 783, + "id": 1435, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -3652,16 +3652,16 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 741, + "id": 1393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 730, + "id": 1382, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 783, - "src": "1118:14:3", + "scope": 1435, + "src": "1118:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3669,10 +3669,10 @@ "typeString": "address" }, "typeName": { - "id": 729, + "id": 1381, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1118:7:3", + "src": "1118:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3683,11 +3683,11 @@ }, { "constant": false, - "id": 732, + "id": 1384, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 783, - "src": "1141:17:3", + "scope": 1435, + "src": "1141:17:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3695,10 +3695,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 731, + "id": 1383, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1141:7:3", + "src": "1141:7:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3709,11 +3709,11 @@ }, { "constant": false, - "id": 734, + "id": 1386, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 783, - "src": "1167:18:3", + "scope": 1435, + "src": "1167:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3721,10 +3721,10 @@ "typeString": "uint256" }, "typeName": { - "id": 733, + "id": 1385, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1167:4:3", + "src": "1167:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3735,11 +3735,11 @@ }, { "constant": false, - "id": 736, + "id": 1388, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 783, - "src": "1194:27:3", + "scope": 1435, + "src": "1194:27:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3747,10 +3747,10 @@ "typeString": "uint256" }, "typeName": { - "id": 735, + "id": 1387, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1194:4:3", + "src": "1194:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3761,11 +3761,11 @@ }, { "constant": false, - "id": 738, + "id": 1390, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 783, - "src": "1230:18:3", + "scope": 1435, + "src": "1230:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3773,10 +3773,10 @@ "typeString": "uint256" }, "typeName": { - "id": 737, + "id": 1389, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1230:4:3", + "src": "1230:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3787,11 +3787,11 @@ }, { "constant": false, - "id": 740, + "id": 1392, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 783, - "src": "1257:18:3", + "scope": 1435, + "src": "1257:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3799,10 +3799,10 @@ "typeString": "uint256" }, "typeName": { - "id": 739, + "id": 1391, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1257:4:3", + "src": "1257:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3812,26 +3812,26 @@ "visibility": "internal" } ], - "src": "1109:173:3" + "src": "1109:173:4" }, "payable": false, "returnParameters": { - "id": 742, + "id": 1394, "nodeType": "ParameterList", "parameters": [], - "src": "1537:0:3" + "src": "1537:0:4" }, - "scope": 902, - "src": "1097:825:3", + "scope": 1554, + "src": "1097:825:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 793, + "id": 1445, "nodeType": "Block", - "src": "2232:59:3", + "src": "2232:59:4", "statements": [ { "expression": { @@ -3843,7 +3843,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 789, + "id": 1441, "isConstant": false, "isLValue": false, "isPure": false, @@ -3852,18 +3852,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 786, + "id": 1438, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "2251:3:3", + "referencedDeclaration": 1965, + "src": "2251:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 787, + "id": 1439, "isConstant": false, "isLValue": false, "isPure": false, @@ -3871,7 +3871,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2251:10:3", + "src": "2251:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3881,18 +3881,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 788, + "id": 1440, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 709, - "src": "2265:5:3", + "referencedDeclaration": 1361, + "src": "2265:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2251:19:3", + "src": "2251:19:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3906,21 +3906,21 @@ "typeString": "bool" } ], - "id": 785, + "id": 1437, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "2243:7:3", + "referencedDeclaration": 1968, + "src": "2243:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 790, + "id": 1442, "isConstant": false, "isLValue": false, "isPure": false, @@ -3928,41 +3928,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2243:28:3", + "src": "2243:28:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 791, + "id": 1443, "nodeType": "ExpressionStatement", - "src": "2243:28:3" + "src": "2243:28:4" }, { - "id": 792, + "id": 1444, "nodeType": "PlaceholderStatement", - "src": "2282:1:3" + "src": "2282:1:4" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 794, + "id": 1446, "name": "isEmployer", "nodeType": "ModifierDefinition", "parameters": { - "id": 784, + "id": 1436, "nodeType": "ParameterList", "parameters": [], - "src": "2229:2:3" + "src": "2229:2:4" }, - "src": "2210:81:3", + "src": "2210:81:4", "visibility": "internal" }, { "body": { - "id": 823, + "id": 1475, "nodeType": "Block", - "src": "2742:129:3", + "src": "2742:129:4", "statements": [ { "expression": { @@ -3970,12 +3970,12 @@ "components": [ { "argumentTypes": null, - "id": 813, + "id": 1465, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 709, - "src": "2761:5:3", + "referencedDeclaration": 1361, + "src": "2761:5:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3983,12 +3983,12 @@ }, { "argumentTypes": null, - "id": 814, + "id": 1466, "name": "ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 713, - "src": "2768:8:3", + "referencedDeclaration": 1365, + "src": "2768:8:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3996,12 +3996,12 @@ }, { "argumentTypes": null, - "id": 815, + "id": 1467, "name": "resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 719, - "src": "2778:12:3", + "referencedDeclaration": 1371, + "src": "2778:12:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4009,12 +4009,12 @@ }, { "argumentTypes": null, - "id": 816, + "id": 1468, "name": "totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 721, - "src": "2792:21:3", + "referencedDeclaration": 1373, + "src": "2792:21:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4022,12 +4022,12 @@ }, { "argumentTypes": null, - "id": 817, + "id": 1469, "name": "resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 717, - "src": "2815:12:3", + "referencedDeclaration": 1369, + "src": "2815:12:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4035,12 +4035,12 @@ }, { "argumentTypes": null, - "id": 818, + "id": 1470, "name": "workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 715, - "src": "2829:12:3", + "referencedDeclaration": 1367, + "src": "2829:12:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4048,12 +4048,12 @@ }, { "argumentTypes": null, - "id": 819, + "id": 1471, "name": "created", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 723, - "src": "2843:7:3", + "referencedDeclaration": 1375, + "src": "2843:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4061,40 +4061,40 @@ }, { "argumentTypes": null, - "id": 820, + "id": 1472, "name": "expiration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 725, - "src": "2852:10:3", + "referencedDeclaration": 1377, + "src": "2852:10:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 821, + "id": 1473, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2760:103:3", + "src": "2760:103:4", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", "typeString": "tuple(address,bytes32,uint256,uint256,uint256,uint256,uint256,uint256)" } }, - "functionReturnParameters": 812, - "id": 822, + "functionReturnParameters": 1464, + "id": 1474, "nodeType": "Return", - "src": "2753:110:3" + "src": "2753:110:4" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 824, + "id": 1476, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4102,23 +4102,23 @@ "name": "data", "nodeType": "FunctionDefinition", "parameters": { - "id": 795, + "id": 1447, "nodeType": "ParameterList", "parameters": [], - "src": "2543:2:3" + "src": "2543:2:4" }, "payable": false, "returnParameters": { - "id": 812, + "id": 1464, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 797, + "id": 1449, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2582:14:3", + "scope": 1476, + "src": "2582:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4126,10 +4126,10 @@ "typeString": "address" }, "typeName": { - "id": 796, + "id": 1448, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2582:7:3", + "src": "2582:7:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4140,11 +4140,11 @@ }, { "constant": false, - "id": 799, + "id": 1451, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2598:17:3", + "scope": 1476, + "src": "2598:17:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4152,10 +4152,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 798, + "id": 1450, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2598:7:3", + "src": "2598:7:4", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4166,11 +4166,11 @@ }, { "constant": false, - "id": 801, + "id": 1453, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2617:18:3", + "scope": 1476, + "src": "2617:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4178,10 +4178,10 @@ "typeString": "uint256" }, "typeName": { - "id": 800, + "id": 1452, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2617:4:3", + "src": "2617:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4192,11 +4192,11 @@ }, { "constant": false, - "id": 803, + "id": 1455, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2637:27:3", + "scope": 1476, + "src": "2637:27:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4204,10 +4204,10 @@ "typeString": "uint256" }, "typeName": { - "id": 802, + "id": 1454, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2637:4:3", + "src": "2637:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4218,11 +4218,11 @@ }, { "constant": false, - "id": 805, + "id": 1457, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2666:18:3", + "scope": 1476, + "src": "2666:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4230,10 +4230,10 @@ "typeString": "uint256" }, "typeName": { - "id": 804, + "id": 1456, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2666:4:3", + "src": "2666:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4244,11 +4244,11 @@ }, { "constant": false, - "id": 807, + "id": 1459, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2685:18:3", + "scope": 1476, + "src": "2685:18:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4256,10 +4256,10 @@ "typeString": "uint256" }, "typeName": { - "id": 806, + "id": 1458, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2685:4:3", + "src": "2685:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4270,11 +4270,11 @@ }, { "constant": false, - "id": 809, + "id": 1461, "name": "_created", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2704:13:3", + "scope": 1476, + "src": "2704:13:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4282,10 +4282,10 @@ "typeString": "uint256" }, "typeName": { - "id": 808, + "id": 1460, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2704:4:3", + "src": "2704:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4296,11 +4296,11 @@ }, { "constant": false, - "id": 811, + "id": 1463, "name": "_expiration", "nodeType": "VariableDeclaration", - "scope": 824, - "src": "2719:16:3", + "scope": 1476, + "src": "2719:16:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4308,10 +4308,10 @@ "typeString": "uint256" }, "typeName": { - "id": 810, + "id": 1462, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2719:4:3", + "src": "2719:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4321,19 +4321,19 @@ "visibility": "internal" } ], - "src": "2581:155:3" + "src": "2581:155:4" }, - "scope": 902, - "src": "2530:341:3", + "scope": 1554, + "src": "2530:341:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 855, + "id": 1507, "nodeType": "Block", - "src": "3231:459:3", + "src": "3231:459:4", "statements": [ { "expression": { @@ -4345,19 +4345,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 830, + "id": 1482, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 828, + "id": 1480, "name": "now", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1224, - "src": "3303:3:3", + "referencedDeclaration": 1967, + "src": "3303:3:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4367,18 +4367,18 @@ "operator": "<", "rightExpression": { "argumentTypes": null, - "id": 829, + "id": 1481, "name": "expiration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 725, - "src": "3309:10:3", + "referencedDeclaration": 1377, + "src": "3309:10:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3303:16:3", + "src": "3303:16:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4392,21 +4392,21 @@ "typeString": "bool" } ], - "id": 827, + "id": 1479, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1225, - "src": "3295:7:3", + "referencedDeclaration": 1968, + "src": "3295:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 831, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -4414,43 +4414,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3295:25:3", + "src": "3295:25:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 832, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "3295:25:3" + "src": "3295:25:4" }, { "assignments": [ - 834 + 1486 ], "declarations": [ { "constant": false, - "id": 834, + "id": 1486, "name": "applicant", "nodeType": "VariableDeclaration", - "scope": 856, - "src": "3377:22:3", + "scope": 1508, + "src": "3377:22:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 833, + "id": 1485, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "3377:12:3", + "referencedDeclaration": 1326, + "src": "3377:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, @@ -4458,20 +4458,20 @@ "visibility": "internal" } ], - "id": 841, + "id": 1493, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 837, + "id": 1489, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1239, - "src": "3437:4:3", + "referencedDeclaration": 1984, + "src": "3437:4:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -4479,18 +4479,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 838, + "id": 1490, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "3443:3:3", + "referencedDeclaration": 1965, + "src": "3443:3:4", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 839, + "id": 1491, "isConstant": false, "isLValue": false, "isPure": false, @@ -4498,7 +4498,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3443:10:3", + "src": "3443:10:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4508,7 +4508,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" }, { @@ -4518,32 +4518,32 @@ ], "expression": { "argumentTypes": null, - "id": 835, + "id": 1487, "name": "JobApplicationLibrary", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 697, - "src": "3402:21:3", + "referencedDeclaration": 1349, + "src": "3402:21:4", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_JobApplicationLibrary_$697_$", + "typeIdentifier": "t_type$_t_contract$_JobApplicationLibrary_$1349_$", "typeString": "type(library JobApplicationLibrary)" } }, - "id": 836, + "id": 1488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "newApplicant", "nodeType": "MemberAccess", - "referencedDeclaration": 696, - "src": "3402:34:3", + "referencedDeclaration": 1348, + "src": "3402:34:4", "typeDescriptions": { - "typeIdentifier": "t_function_delegatecall_nonpayable$_t_contract$_Listing_$902_$_t_address_$returns$_t_contract$_JobApplicant_$674_$", + "typeIdentifier": "t_function_delegatecall_nonpayable$_t_contract$_Listing_$1554_$_t_address_$returns$_t_contract$_JobApplicant_$1326_$", "typeString": "function (contract Listing,address) returns (contract JobApplicant)" } }, - "id": 840, + "id": 1492, "isConstant": false, "isLValue": false, "isPure": false, @@ -4551,14 +4551,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3402:52:3", + "src": "3402:52:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, "nodeType": "VariableDeclarationStatement", - "src": "3377:77:3" + "src": "3377:77:4" }, { "expression": { @@ -4566,14 +4566,14 @@ "arguments": [ { "argumentTypes": null, - "id": 845, + "id": 1497, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 834, - "src": "3483:9:3", + "referencedDeclaration": 1486, + "src": "3483:9:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } } @@ -4581,24 +4581,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } ], "expression": { "argumentTypes": null, - "id": 842, + "id": 1494, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 728, - "src": "3467:10:3", + "referencedDeclaration": 1380, + "src": "3467:10:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "id": 844, + "id": 1496, "isConstant": false, "isLValue": false, "isPure": false, @@ -4606,13 +4606,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3467:15:3", + "src": "3467:15:4", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_JobApplicant_$674_$returns$_t_uint256_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_JobApplicant_$1326_$returns$_t_uint256_$", "typeString": "function (contract JobApplicant) returns (uint256)" } }, - "id": 846, + "id": 1498, "isConstant": false, "isLValue": false, "isPure": false, @@ -4620,15 +4620,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3467:26:3", + "src": "3467:26:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 847, + "id": 1499, "nodeType": "ExpressionStatement", - "src": "3467:26:3" + "src": "3467:26:4" }, { "eventCall": { @@ -4636,14 +4636,14 @@ "arguments": [ { "argumentTypes": null, - "id": 849, + "id": 1501, "name": "applicant", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 834, - "src": "3641:9:3", + "referencedDeclaration": 1486, + "src": "3641:9:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } } @@ -4651,22 +4651,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } ], - "id": 848, + "id": 1500, "name": "ListingApplied", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 705, - "src": "3626:14:3", + "referencedDeclaration": 1357, + "src": "3626:14:4", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_contract$_JobApplicant_$674_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_contract$_JobApplicant_$1326_$returns$__$", "typeString": "function (contract JobApplicant)" } }, - "id": 850, + "id": 1502, "isConstant": false, "isLValue": false, "isPure": false, @@ -4674,15 +4674,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3626:25:3", + "src": "3626:25:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 851, + "id": 1503, "nodeType": "EmitStatement", - "src": "3621:30:3" + "src": "3621:30:4" }, { "eventCall": { @@ -4690,18 +4690,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 852, + "id": 1504, "name": "ListingChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "3667:13:3", + "referencedDeclaration": 1359, + "src": "3667:13:4", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 853, + "id": 1505, "isConstant": false, "isLValue": false, "isPure": false, @@ -4709,20 +4709,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3667:15:3", + "src": "3667:15:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 854, + "id": 1506, "nodeType": "EmitStatement", - "src": "3662:20:3" + "src": "3662:20:4" } ] }, "documentation": "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n @dev ApplyToJob()\t\t--> An applicant can apply for a Job Listing\r\n//////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 856, + "id": 1508, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -4730,47 +4730,47 @@ "name": "applyToJob", "nodeType": "FunctionDefinition", "parameters": { - "id": 825, + "id": 1477, "nodeType": "ParameterList", "parameters": [], - "src": "3207:2:3" + "src": "3207:2:4" }, "payable": false, "returnParameters": { - "id": 826, + "id": 1478, "nodeType": "ParameterList", "parameters": [], - "src": "3231:0:3" + "src": "3231:0:4" }, - "scope": 902, - "src": "3188:502:3", + "scope": 1554, + "src": "3188:502:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 864, + "id": 1516, "nodeType": "Block", - "src": "4081:43:3", + "src": "4081:43:4", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 861, + "id": 1513, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 728, - "src": "4099:10:3", + "referencedDeclaration": 1380, + "src": "4099:10:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "id": 862, + "id": 1514, "isConstant": false, "isLValue": true, "isPure": false, @@ -4778,21 +4778,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4099:17:3", + "src": "4099:17:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 860, - "id": 863, + "functionReturnParameters": 1512, + "id": 1515, "nodeType": "Return", - "src": "4092:24:3" + "src": "4092:24:4" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\t@dev totalJobApplicants(): Return number of applicants for a given Job Listing\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 865, + "id": 1517, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4800,23 +4800,23 @@ "name": "totalJobApplicants", "nodeType": "FunctionDefinition", "parameters": { - "id": 857, + "id": 1509, "nodeType": "ParameterList", "parameters": [], - "src": "4021:2:3" + "src": "4021:2:4" }, "payable": false, "returnParameters": { - "id": 860, + "id": 1512, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 859, + "id": 1511, "name": "", "nodeType": "VariableDeclaration", - "scope": 865, - "src": "4070:4:3", + "scope": 1517, + "src": "4070:4:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4824,10 +4824,10 @@ "typeString": "uint256" }, "typeName": { - "id": 858, + "id": 1510, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4070:4:3", + "src": "4070:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4837,19 +4837,19 @@ "visibility": "internal" } ], - "src": "4069:6:3" + "src": "4069:6:4" }, - "scope": 902, - "src": "3994:130:3", + "scope": 1554, + "src": "3994:130:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 877, + "id": 1529, "nodeType": "Block", - "src": "4381:68:3", + "src": "4381:68:4", "statements": [ { "expression": { @@ -4859,26 +4859,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 872, + "id": 1524, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 728, - "src": "4412:10:3", + "referencedDeclaration": 1380, + "src": "4412:10:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "id": 874, + "id": 1526, "indexExpression": { "argumentTypes": null, - "id": 873, + "id": 1525, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 867, - "src": "4423:6:3", + "referencedDeclaration": 1519, + "src": "4423:6:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4889,35 +4889,35 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4412:18:3", + "src": "4412:18:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } } ], - "id": 875, + "id": 1527, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "4399:42:3", + "src": "4399:42:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, - "functionReturnParameters": 871, - "id": 876, + "functionReturnParameters": 1523, + "id": 1528, "nodeType": "Return", - "src": "4392:49:3" + "src": "4392:49:4" } ] }, "documentation": "@dev getApplicant(): Return Job Application info for a given Job Listing\r\n @param _index the index of the Listing we want info about\r", - "id": 878, + "id": 1530, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4925,16 +4925,16 @@ "name": "getApplicant", "nodeType": "FunctionDefinition", "parameters": { - "id": 868, + "id": 1520, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 867, + "id": 1519, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 878, - "src": "4303:11:3", + "scope": 1530, + "src": "4303:11:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4942,10 +4942,10 @@ "typeString": "uint256" }, "typeName": { - "id": 866, + "id": 1518, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4303:4:3", + "src": "4303:4:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4955,35 +4955,35 @@ "visibility": "internal" } ], - "src": "4302:13:3" + "src": "4302:13:4" }, "payable": false, "returnParameters": { - "id": 871, + "id": 1523, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 870, + "id": 1522, "name": "", "nodeType": "VariableDeclaration", - "scope": 878, - "src": "4362:12:3", + "scope": 1530, + "src": "4362:12:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" }, "typeName": { "contractScope": null, - "id": 869, + "id": 1521, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "4362:12:3", + "referencedDeclaration": 1326, + "src": "4362:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, @@ -4991,19 +4991,19 @@ "visibility": "internal" } ], - "src": "4361:14:3" + "src": "4361:14:4" }, - "scope": 902, - "src": "4281:168:3", + "scope": 1554, + "src": "4281:168:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 887, + "id": 1539, "nodeType": "Block", - "src": "4549:60:3", + "src": "4549:60:4", "statements": [ { "expression": { @@ -5011,40 +5011,40 @@ "components": [ { "argumentTypes": null, - "id": 884, + "id": 1536, "name": "applicants", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 728, - "src": "4580:10:3", + "referencedDeclaration": 1380, + "src": "4580:10:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } } ], - "id": 885, + "id": 1537, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "4567:34:3", + "src": "4567:34:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage", "typeString": "contract JobApplicant[] storage ref" } }, - "functionReturnParameters": 883, - "id": 886, + "functionReturnParameters": 1535, + "id": 1538, "nodeType": "Return", - "src": "4560:41:3" + "src": "4560:41:4" } ] }, "documentation": null, - "id": 888, + "id": 1540, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5052,48 +5052,48 @@ "name": "getApplicants", "nodeType": "FunctionDefinition", "parameters": { - "id": 879, + "id": 1531, "nodeType": "ParameterList", "parameters": [], - "src": "4479:2:3" + "src": "4479:2:4" }, "payable": false, "returnParameters": { - "id": 883, + "id": 1535, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 882, + "id": 1534, "name": "", "nodeType": "VariableDeclaration", - "scope": 888, - "src": "4528:14:3", + "scope": 1540, + "src": "4528:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_memory_ptr", "typeString": "contract JobApplicant[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 880, + "id": 1532, "name": "JobApplicant", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 674, - "src": "4528:12:3", + "referencedDeclaration": 1326, + "src": "4528:12:4", "typeDescriptions": { - "typeIdentifier": "t_contract$_JobApplicant_$674", + "typeIdentifier": "t_contract$_JobApplicant_$1326", "typeString": "contract JobApplicant" } }, - "id": 881, + "id": 1533, "length": null, "nodeType": "ArrayTypeName", - "src": "4528:14:3", + "src": "4528:14:4", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_JobApplicant_$674_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_JobApplicant_$1326_$dyn_storage_ptr", "typeString": "contract JobApplicant[]" } }, @@ -5101,36 +5101,36 @@ "visibility": "internal" } ], - "src": "4527:16:3" + "src": "4527:16:4" }, - "scope": 902, - "src": "4457:152:3", + "scope": 1554, + "src": "4457:152:4", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 900, + "id": 1552, "nodeType": "Block", - "src": "5991:75:3", + "src": "5991:75:4", "statements": [ { "expression": { "argumentTypes": null, - "id": 895, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 893, + "id": 1545, "name": "totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 721, - "src": "6002:21:3", + "referencedDeclaration": 1373, + "src": "6002:21:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5141,14 +5141,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "30", - "id": 894, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6026:1:3", + "src": "6026:1:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -5156,15 +5156,15 @@ }, "value": "0" }, - "src": "6002:25:3", + "src": "6002:25:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 896, + "id": 1548, "nodeType": "ExpressionStatement", - "src": "6002:25:3" + "src": "6002:25:4" }, { "eventCall": { @@ -5172,18 +5172,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 897, + "id": 1549, "name": "ListingChange", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 707, - "src": "6043:13:3", + "referencedDeclaration": 1359, + "src": "6043:13:4", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 898, + "id": 1550, "isConstant": false, "isLValue": false, "isPure": false, @@ -5191,71 +5191,71 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6043:15:3", + "src": "6043:15:4", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 899, + "id": 1551, "nodeType": "EmitStatement", - "src": "6038:20:3" + "src": "6038:20:4" } ] }, "documentation": "/////////////////////////////////////////////////////////////////////////////////////////////////////\r\n @dev close(): Allows an employer to close the Job Listing from further applicants\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////\r", - "id": 901, + "id": 1553, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 891, + "id": 1543, "modifierName": { "argumentTypes": null, - "id": 890, + "id": 1542, "name": "isEmployer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 794, - "src": "5975:10:3", + "referencedDeclaration": 1446, + "src": "5975:10:4", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5975:10:3" + "src": "5975:10:4" } ], "name": "close", "nodeType": "FunctionDefinition", "parameters": { - "id": 889, + "id": 1541, "nodeType": "ParameterList", "parameters": [], - "src": "5947:2:3" + "src": "5947:2:4" }, "payable": false, "returnParameters": { - "id": 892, + "id": 1544, "nodeType": "ParameterList", "parameters": [], - "src": "5991:0:3" + "src": "5991:0:4" }, - "scope": 902, - "src": "5933:133:3", + "scope": 1554, + "src": "5933:133:4", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 903, - "src": "209:5968:3" + "scope": 1555, + "src": "209:5968:4" } ], - "src": "0:6187:3" + "src": "0:6187:4" }, "compiler": { "name": "solc", @@ -5294,5 +5294,5 @@ } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-13T10:09:33.004Z" + "updatedAt": "2018-10-18T13:43:19.572Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/ListingsRegistry.json b/ethereum/build/contracts/ListingsRegistry.json index 2c6780c..8dfc4ed 100644 --- a/ethereum/build/contracts/ListingsRegistry.json +++ b/ethereum/build/contracts/ListingsRegistry.json @@ -221,54 +221,54 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b5060008054600160a060020a031916331790556111ac806100326000396000f30060806040526004361061008d5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663107a274a811461009257806336a8c793146100ee5780636519bfa6146101305780637afd81f51461019b5780637d1fbc9b146101b05780638da5cb5b146101d4578063de74e57b14610205578063f1b2d6a31461021d575b600080fd5b34801561009e57600080fd5b506100aa600435610232565b60408051600160a060020a039889168152969097166020870152858701949094526060850192909252608084015260a083015260c082015290519081900360e00190f35b3480156100fa57600080fd5b5061011e600435602435604435606435608435600160a060020a0360a4351661068f565b60408051918252519081900360200190f35b34801561013c57600080fd5b5061014b6004356024356107f5565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561018757818101518382015260200161016f565b505050509050019250505060405180910390f35b3480156101a757600080fd5b5061011e6108aa565b3480156101bc57600080fd5b5061011e6004356024356044356064356084356108b0565b3480156101e057600080fd5b506101e961099d565b60408051600160a060020a039092168252519081900360200190f35b34801561021157600080fd5b506101e96004356109ac565b34801561022957600080fd5b5061014b6109d4565b600080600080600080600060018881548110151561024c57fe5b60009182526020909120015460018054600160a060020a03909216918a90811061027257fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156102e657600080fd5b505af11580156102fa573d6000803e3d6000fd5b505050506040513d602081101561031057600080fd5b5051600180548b90811061032057fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663c623674f6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561039457600080fd5b505af11580156103a8573d6000803e3d6000fd5b505050506040513d60208110156103be57600080fd5b5051600180548c9081106103ce57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663bc65793e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561044257600080fd5b505af1158015610456573d6000803e3d6000fd5b505050506040513d602081101561046c57600080fd5b5051600180548d90811061047c57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663f7d221906040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156104f057600080fd5b505af1158015610504573d6000803e3d6000fd5b505050506040513d602081101561051a57600080fd5b5051600180548e90811061052a57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663883c22c56040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561059e57600080fd5b505af11580156105b2573d6000803e3d6000fd5b505050506040513d60208110156105c857600080fd5b5051600180548f9081106105d857fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316634b91b9556040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561064c57600080fd5b505af1158015610660573d6000803e3d6000fd5b505050506040513d602081101561067657600080fd5b5051959e949d50929b5090995097509550909350915050565b60008054600160a060020a0316331461070957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4f6e6c792063616c6c61626c65206279207265676973747279206f776e657200604482015290519081900360640190fd5b6001828888888888610719610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f08015801561076a573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a1506001549695505050505050565b60015460609082906000908590038211156108135760015485900391505b8160405190808252806020026020018201604052801561083d578160200160208202803883390190505b509250600090505b818110156108a2576001805486830190811061085d57fe5b6000918252602090912001548351600160a060020a039091169084908390811061088357fe5b600160a060020a03909216602092830290910190910152600101610845565b505092915050565b60015490565b600060013387878787876108c2610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f080158015610913573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a15060015495945050505050565b600054600160a060020a031681565b60018054829081106109ba57fe5b600091825260209091200154600160a060020a0316905081565b60606001805480602002602001604051908101604052809291908181526020018280548015610a2c57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610a0e575b5050505050905090565b60405161073a80610a47833901905600608060405234801561001057600080fd5b5060405160c08061073a83398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03909516600160a060020a0319958616179055600180549094163317909355600293909355600555600691909155600491909155600355426007819055621275000160085561069d8061009d6000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a72305820f92ff69f9d4446576b9583f3eed7bbd7d104ab4e90f8f2e8cea9fb8f475f5fc70029a165627a7a7230582007b88aa02f106a47f2f8dc9456d98ba84ae25a277c29f5be5b190e20d60a2f8c0029", - "deployedBytecode": "0x60806040526004361061008d5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663107a274a811461009257806336a8c793146100ee5780636519bfa6146101305780637afd81f51461019b5780637d1fbc9b146101b05780638da5cb5b146101d4578063de74e57b14610205578063f1b2d6a31461021d575b600080fd5b34801561009e57600080fd5b506100aa600435610232565b60408051600160a060020a039889168152969097166020870152858701949094526060850192909252608084015260a083015260c082015290519081900360e00190f35b3480156100fa57600080fd5b5061011e600435602435604435606435608435600160a060020a0360a4351661068f565b60408051918252519081900360200190f35b34801561013c57600080fd5b5061014b6004356024356107f5565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561018757818101518382015260200161016f565b505050509050019250505060405180910390f35b3480156101a757600080fd5b5061011e6108aa565b3480156101bc57600080fd5b5061011e6004356024356044356064356084356108b0565b3480156101e057600080fd5b506101e961099d565b60408051600160a060020a039092168252519081900360200190f35b34801561021157600080fd5b506101e96004356109ac565b34801561022957600080fd5b5061014b6109d4565b600080600080600080600060018881548110151561024c57fe5b60009182526020909120015460018054600160a060020a03909216918a90811061027257fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156102e657600080fd5b505af11580156102fa573d6000803e3d6000fd5b505050506040513d602081101561031057600080fd5b5051600180548b90811061032057fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663c623674f6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561039457600080fd5b505af11580156103a8573d6000803e3d6000fd5b505050506040513d60208110156103be57600080fd5b5051600180548c9081106103ce57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663bc65793e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561044257600080fd5b505af1158015610456573d6000803e3d6000fd5b505050506040513d602081101561046c57600080fd5b5051600180548d90811061047c57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663f7d221906040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156104f057600080fd5b505af1158015610504573d6000803e3d6000fd5b505050506040513d602081101561051a57600080fd5b5051600180548e90811061052a57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663883c22c56040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561059e57600080fd5b505af11580156105b2573d6000803e3d6000fd5b505050506040513d60208110156105c857600080fd5b5051600180548f9081106105d857fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316634b91b9556040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561064c57600080fd5b505af1158015610660573d6000803e3d6000fd5b505050506040513d602081101561067657600080fd5b5051959e949d50929b5090995097509550909350915050565b60008054600160a060020a0316331461070957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4f6e6c792063616c6c61626c65206279207265676973747279206f776e657200604482015290519081900360640190fd5b6001828888888888610719610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f08015801561076a573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a1506001549695505050505050565b60015460609082906000908590038211156108135760015485900391505b8160405190808252806020026020018201604052801561083d578160200160208202803883390190505b509250600090505b818110156108a2576001805486830190811061085d57fe5b6000918252602090912001548351600160a060020a039091169084908390811061088357fe5b600160a060020a03909216602092830290910190910152600101610845565b505092915050565b60015490565b600060013387878787876108c2610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f080158015610913573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a15060015495945050505050565b600054600160a060020a031681565b60018054829081106109ba57fe5b600091825260209091200154600160a060020a0316905081565b60606001805480602002602001604051908101604052809291908181526020018280548015610a2c57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610a0e575b5050505050905090565b60405161073a80610a47833901905600608060405234801561001057600080fd5b5060405160c08061073a83398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03909516600160a060020a0319958616179055600180549094163317909355600293909355600555600691909155600491909155600355426007819055621275000160085561069d8061009d6000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a72305820f92ff69f9d4446576b9583f3eed7bbd7d104ab4e90f8f2e8cea9fb8f475f5fc70029a165627a7a7230582007b88aa02f106a47f2f8dc9456d98ba84ae25a277c29f5be5b190e20d60a2f8c0029", - "sourceMap": "199:4133:4:-;;;479:114;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;567:5:4;:18;;-1:-1:-1;;;;;;567:18:4;575:10;567:18;;;199:4133;;;;;;", - "deployedSourceMap": "199:4133:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1024:715;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1024:715:4;;;;;;;;;-1:-1:-1;;;;;1024:715:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3776:553;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3776:553:4;;;;;;;;;;;-1:-1:-1;;;;;3776:553:4;;;;;;;;;;;;;;;;;;;;;1747:438;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1747:438:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1747:438:4;;;;;;;;;;;;;;;;;657:124;;8:9:-1;5:2;;;30:1;27;20:12;5:2;657:124:4;;;;2868:430;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2868:430:4;;;;;;;;;;;;;350:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;350:20:4;;;;;;;;-1:-1:-1;;;;;350:20:4;;;;;;;;;;;;;;407:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;407:25:4;;;;;793:88;;8:9:-1;5:2;;;30:1;27;20:12;5:2;793:88:4;;;;1024:715;1103:7;1112;1121;1130:4;1136;1141;1147;1442:8;1451:6;1442:16;;;;;;;;;;;;;;;;;;;;;1471;;-1:-1:-1;;;;;1442:16:4;;;;1480:6;;1471:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1471:16:4;-1:-1:-1;;;;;1471:22:4;;:24;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1471:24:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1471:24:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1471:24:4;1508:8;:16;;1517:6;;1508:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1508:16:4;-1:-1:-1;;;;;1508:25:4;;:27;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1508:27:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1508:27:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1508:27:4;1548:8;:16;;1557:6;;1548:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1548:16:4;-1:-1:-1;;;;;1548:29:4;;:31;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1548:31:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1548:31:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1548:31:4;1592:8;:16;;1601:6;;1592:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1592:16:4;-1:-1:-1;;;;;1592:29:4;;:31;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1592:31:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1592:31:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1592:31:4;1636:8;:16;;1645:6;;1636:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1636:16:4;-1:-1:-1;;;;;1636:29:4;;:31;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1636:31:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1636:31:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1636:31:4;1680:8;:16;;1689:6;;1680:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1680:16:4;-1:-1:-1;;;;;1680:38:4;;:40;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1680:40:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1680:40:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1680:40:4;1422:309;;;;-1:-1:-1;1422:309:4;;-1:-1:-1;1422:309:4;;-1:-1:-1;1422:309:4;-1:-1:-1;1422:309:4;-1:-1:-1;1680:40:4;;-1:-1:-1;1024:715:4;-1:-1:-1;;1024:715:4:o;3776:553::-;4024:4;4069:5;;-1:-1:-1;;;;;4069:5:4;4055:10;:19;4046:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4121:8;4147:15;4165:9;4176:13;4191;4205;4219:22;4135:107;;:::i;:::-;-1:-1:-1;;;;;4135:107:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;27:10;;39:1;23:18;;;45:23;;-1:-1;4121:122:4;;;;;;;;;;;;;-1:-1:-1;;4121:122:4;-1:-1:-1;;;;;4121:122:4;;;;;;;;;;;4270:15;4259:29;;;-1:-1:-1;;4270:17:4;;;4259:29;;;;;;;;;;;;;;-1:-1:-1;4306:8:4;:15;3776:553;;;;;;;;:::o;1747:438::-;1917:8;:15;1835:16;;1886:7;;1869:14;;1917:24;;;1908:33;;1904:99;;;1967:8;:15;:24;;;;-1:-1:-1;1904:99:4;2038:6;2024:21;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;2024:21:4;;2015:30;;2073:1;2061:13;;2056:96;2080:6;2076:1;:10;2056:96;;;2120:8;:20;;2129:10;;;;2120:20;;;;;;;;;;;;;;;;2108:9;;-1:-1:-1;;;;;2120:20:4;;;;2108:6;;2115:1;;2108:9;;;;;;-1:-1:-1;;;;;2108:32:4;;;:9;;;;;;;;;;:32;2088:3;;2056:96;;;1747:438;;;;;;:::o;657:124::-;758:8;:15;657:124;:::o;2868:430::-;3074:4;3096:8;3122:10;3134:9;3145:13;3160;3174;3188:22;3110:101;;:::i;:::-;-1:-1:-1;;;;;3110:101:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;27:10;;39:1;23:18;;;45:23;;-1:-1;3096:116:4;;;;;;;;;;;;;-1:-1:-1;;3096:116:4;-1:-1:-1;;;;;3096:116:4;;;;;;;;;;;3239:15;3228:29;;;-1:-1:-1;;3239:17:4;;;3228:29;;;;;;;;;;;;;;-1:-1:-1;3275:8:4;:15;2868:430;;;;;;;:::o;350:20::-;;;-1:-1:-1;;;;;350:20:4;;:::o;407:25::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:25:4;;-1:-1:-1;407:25:4;:::o;793:88::-;837:9;865:8;858:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;858:15:4;;;;;;;;;;;;;;;;;;;;;;;793:88;:::o;199:4133::-;;;;;;;;;;:::o", + "bytecode": "0x608060405234801561001057600080fd5b5060008054600160a060020a031916331790556111ac806100326000396000f30060806040526004361061008d5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663107a274a811461009257806336a8c793146100ee5780636519bfa6146101305780637afd81f51461019b5780637d1fbc9b146101b05780638da5cb5b146101d4578063de74e57b14610205578063f1b2d6a31461021d575b600080fd5b34801561009e57600080fd5b506100aa600435610232565b60408051600160a060020a039889168152969097166020870152858701949094526060850192909252608084015260a083015260c082015290519081900360e00190f35b3480156100fa57600080fd5b5061011e600435602435604435606435608435600160a060020a0360a4351661068f565b60408051918252519081900360200190f35b34801561013c57600080fd5b5061014b6004356024356107f5565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561018757818101518382015260200161016f565b505050509050019250505060405180910390f35b3480156101a757600080fd5b5061011e6108aa565b3480156101bc57600080fd5b5061011e6004356024356044356064356084356108b0565b3480156101e057600080fd5b506101e961099d565b60408051600160a060020a039092168252519081900360200190f35b34801561021157600080fd5b506101e96004356109ac565b34801561022957600080fd5b5061014b6109d4565b600080600080600080600060018881548110151561024c57fe5b60009182526020909120015460018054600160a060020a03909216918a90811061027257fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156102e657600080fd5b505af11580156102fa573d6000803e3d6000fd5b505050506040513d602081101561031057600080fd5b5051600180548b90811061032057fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663c623674f6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561039457600080fd5b505af11580156103a8573d6000803e3d6000fd5b505050506040513d60208110156103be57600080fd5b5051600180548c9081106103ce57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663bc65793e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561044257600080fd5b505af1158015610456573d6000803e3d6000fd5b505050506040513d602081101561046c57600080fd5b5051600180548d90811061047c57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663f7d221906040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156104f057600080fd5b505af1158015610504573d6000803e3d6000fd5b505050506040513d602081101561051a57600080fd5b5051600180548e90811061052a57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663883c22c56040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561059e57600080fd5b505af11580156105b2573d6000803e3d6000fd5b505050506040513d60208110156105c857600080fd5b5051600180548f9081106105d857fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316634b91b9556040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561064c57600080fd5b505af1158015610660573d6000803e3d6000fd5b505050506040513d602081101561067657600080fd5b5051959e949d50929b5090995097509550909350915050565b60008054600160a060020a0316331461070957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4f6e6c792063616c6c61626c65206279207265676973747279206f776e657200604482015290519081900360640190fd5b6001828888888888610719610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f08015801561076a573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a1506001549695505050505050565b60015460609082906000908590038211156108135760015485900391505b8160405190808252806020026020018201604052801561083d578160200160208202803883390190505b509250600090505b818110156108a2576001805486830190811061085d57fe5b6000918252602090912001548351600160a060020a039091169084908390811061088357fe5b600160a060020a03909216602092830290910190910152600101610845565b505092915050565b60015490565b600060013387878787876108c2610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f080158015610913573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a15060015495945050505050565b600054600160a060020a031681565b60018054829081106109ba57fe5b600091825260209091200154600160a060020a0316905081565b60606001805480602002602001604051908101604052809291908181526020018280548015610a2c57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610a0e575b5050505050905090565b60405161073a80610a47833901905600608060405234801561001057600080fd5b5060405160c08061073a83398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03909516600160a060020a0319958616179055600180549094163317909355600293909355600555600691909155600491909155600355426007819055621275000160085561069d8061009d6000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a7230582090b6420d9e2c03b67c2596da4a5dc977d67715bf13e5e73cf5ea54d8ac6e7df70029a165627a7a723058204f1a3c58adfeff5500a523831704c41056c004f4d3c2d4092082db0fe22b8cc40029", + "deployedBytecode": "0x60806040526004361061008d5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663107a274a811461009257806336a8c793146100ee5780636519bfa6146101305780637afd81f51461019b5780637d1fbc9b146101b05780638da5cb5b146101d4578063de74e57b14610205578063f1b2d6a31461021d575b600080fd5b34801561009e57600080fd5b506100aa600435610232565b60408051600160a060020a039889168152969097166020870152858701949094526060850192909252608084015260a083015260c082015290519081900360e00190f35b3480156100fa57600080fd5b5061011e600435602435604435606435608435600160a060020a0360a4351661068f565b60408051918252519081900360200190f35b34801561013c57600080fd5b5061014b6004356024356107f5565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561018757818101518382015260200161016f565b505050509050019250505060405180910390f35b3480156101a757600080fd5b5061011e6108aa565b3480156101bc57600080fd5b5061011e6004356024356044356064356084356108b0565b3480156101e057600080fd5b506101e961099d565b60408051600160a060020a039092168252519081900360200190f35b34801561021157600080fd5b506101e96004356109ac565b34801561022957600080fd5b5061014b6109d4565b600080600080600080600060018881548110151561024c57fe5b60009182526020909120015460018054600160a060020a03909216918a90811061027257fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316638da5cb5b6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156102e657600080fd5b505af11580156102fa573d6000803e3d6000fd5b505050506040513d602081101561031057600080fd5b5051600180548b90811061032057fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663c623674f6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561039457600080fd5b505af11580156103a8573d6000803e3d6000fd5b505050506040513d60208110156103be57600080fd5b5051600180548c9081106103ce57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663bc65793e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561044257600080fd5b505af1158015610456573d6000803e3d6000fd5b505050506040513d602081101561046c57600080fd5b5051600180548d90811061047c57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663f7d221906040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156104f057600080fd5b505af1158015610504573d6000803e3d6000fd5b505050506040513d602081101561051a57600080fd5b5051600180548e90811061052a57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a031663883c22c56040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561059e57600080fd5b505af11580156105b2573d6000803e3d6000fd5b505050506040513d60208110156105c857600080fd5b5051600180548f9081106105d857fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316634b91b9556040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561064c57600080fd5b505af1158015610660573d6000803e3d6000fd5b505050506040513d602081101561067657600080fd5b5051959e949d50929b5090995097509550909350915050565b60008054600160a060020a0316331461070957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4f6e6c792063616c6c61626c65206279207265676973747279206f776e657200604482015290519081900360640190fd5b6001828888888888610719610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f08015801561076a573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a1506001549695505050505050565b60015460609082906000908590038211156108135760015485900391505b8160405190808252806020026020018201604052801561083d578160200160208202803883390190505b509250600090505b818110156108a2576001805486830190811061085d57fe5b6000918252602090912001548351600160a060020a039091169084908390811061088357fe5b600160a060020a03909216602092830290910190910152600101610845565b505092915050565b60015490565b600060013387878787876108c2610a36565b600160a060020a03909616865260208601949094526040808601939093526060850191909152608084015260a0830191909152519081900360c001906000f080158015610913573d6000803e3d6000fd5b508154600180820184556000938452602093849020909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03939093169290921790915554604080516000199092018252517fd8562534ed9a3ce564a595a66dbcc871a37cff70205ea8bc8d0276dcaa4d1009929181900390910190a15060015495945050505050565b600054600160a060020a031681565b60018054829081106109ba57fe5b600091825260209091200154600160a060020a0316905081565b60606001805480602002602001604051908101604052809291908181526020018280548015610a2c57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610a0e575b5050505050905090565b60405161073a80610a47833901905600608060405234801561001057600080fd5b5060405160c08061073a83398101604090815281516020830151918301516060840151608085015160a09095015160008054600160a060020a03909516600160a060020a0319958616179055600180549094163317909355600293909355600555600691909155600491909155600355426007819055621275000160085561069d8061009d6000396000f3006080604052600436106100e55763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d71426d81146100ea578063325a19f11461012857806343d726d61461014f578063455772d2146101665780634665096d146101cb5780634b91b955146101e057806356c1a053146101f5578063631fa7b71461020a57806363de53231461021f57806373d4a13a14610237578063883c22c5146102a45780638da5cb5b146102b9578063bc65793e146102ce578063c623674f146102e3578063eea3f82d146102f8578063f7d2219014610310575b600080fd5b3480156100f657600080fd5b506100ff610325565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561013457600080fd5b5061013d610341565b60408051918252519081900360200190f35b34801561015b57600080fd5b50610164610347565b005b34801561017257600080fd5b5061017b61039b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101b757818101518382015260200161019f565b505050509050019250505060405180910390f35b3480156101d757600080fd5b5061013d61040a565b3480156101ec57600080fd5b5061013d610410565b34801561020157600080fd5b50610164610416565b34801561021657600080fd5b5061013d61058e565b34801561022b57600080fd5b506100ff600435610594565b34801561024357600080fd5b5061024c6105c9565b6040805173ffffffffffffffffffffffffffffffffffffffff90991689526020890197909752878701959095526060870193909352608086019190915260a085015260c084015260e083015251908190036101000190f35b3480156102b057600080fd5b5061013d610604565b3480156102c557600080fd5b506100ff61060a565b3480156102da57600080fd5b5061013d610626565b3480156102ef57600080fd5b5061013d61062c565b34801561030457600080fd5b506100ff600435610632565b34801561031c57600080fd5b5061013d61066b565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036b57600080fd5b600060068190556040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d9190a1565b6060600980548060200260200160405190810160405280929190818152602001828054801561040057602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116103d5575b5050505050905090565b60085481565b60065481565b600854600090421061042757600080fd5b604080517f9038c886000000000000000000000000000000000000000000000000000000008152306004820152336024820152905173__JobApplicationLibrary_________________91639038c886916044808301926020929190829003018186803b15801561049757600080fd5b505af41580156104ab573d6000803e3d6000fd5b505050506040513d60208110156104c157600080fd5b5051600980546001810182556000919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252519192507f4353a90ced767b2d04726c58d6595ee553129185698c163fbb141f000fe6dbe5919081900360200190a16040517ffa378a7d48087b5b4be3b8236f6f8829009c67d0dc3a6a431e43385d52ea2d1d90600090a150565b60095490565b60098054829081106105a257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60005460025460055460065460045460035460075460085473ffffffffffffffffffffffffffffffffffffffff909716969091929394959697565b60055481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60025481565b600060098281548110151561064357fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1692915050565b600454815600a165627a7a7230582090b6420d9e2c03b67c2596da4a5dc977d67715bf13e5e73cf5ea54d8ac6e7df70029a165627a7a723058204f1a3c58adfeff5500a523831704c41056c004f4d3c2d4092082db0fe22b8cc40029", + "sourceMap": "199:4133:5:-;;;479:114;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;567:5:5;:18;;-1:-1:-1;;;;;;567:18:5;575:10;567:18;;;199:4133;;;;;;", + "deployedSourceMap": "199:4133:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1024:715;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1024:715:5;;;;;;;;;-1:-1:-1;;;;;1024:715:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3776:553;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3776:553:5;;;;;;;;;;;-1:-1:-1;;;;;3776:553:5;;;;;;;;;;;;;;;;;;;;;1747:438;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1747:438:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1747:438:5;;;;;;;;;;;;;;;;;657:124;;8:9:-1;5:2;;;30:1;27;20:12;5:2;657:124:5;;;;2868:430;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2868:430:5;;;;;;;;;;;;;350:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;350:20:5;;;;;;;;-1:-1:-1;;;;;350:20:5;;;;;;;;;;;;;;407:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;407:25:5;;;;;793:88;;8:9:-1;5:2;;;30:1;27;20:12;5:2;793:88:5;;;;1024:715;1103:7;1112;1121;1130:4;1136;1141;1147;1442:8;1451:6;1442:16;;;;;;;;;;;;;;;;;;;;;1471;;-1:-1:-1;;;;;1442:16:5;;;;1480:6;;1471:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1471:16:5;-1:-1:-1;;;;;1471:22:5;;:24;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1471:24:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1471:24:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1471:24:5;1508:8;:16;;1517:6;;1508:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1508:16:5;-1:-1:-1;;;;;1508:25:5;;:27;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1508:27:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1508:27:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1508:27:5;1548:8;:16;;1557:6;;1548:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1548:16:5;-1:-1:-1;;;;;1548:29:5;;:31;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1548:31:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1548:31:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1548:31:5;1592:8;:16;;1601:6;;1592:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1592:16:5;-1:-1:-1;;;;;1592:29:5;;:31;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1592:31:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1592:31:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1592:31:5;1636:8;:16;;1645:6;;1636:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1636:16:5;-1:-1:-1;;;;;1636:29:5;;:31;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1636:31:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1636:31:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1636:31:5;1680:8;:16;;1689:6;;1680:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1680:16:5;-1:-1:-1;;;;;1680:38:5;;:40;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1680:40:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1680:40:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1680:40:5;1422:309;;;;-1:-1:-1;1422:309:5;;-1:-1:-1;1422:309:5;;-1:-1:-1;1422:309:5;-1:-1:-1;1422:309:5;-1:-1:-1;1680:40:5;;-1:-1:-1;1024:715:5;-1:-1:-1;;1024:715:5:o;3776:553::-;4024:4;4069:5;;-1:-1:-1;;;;;4069:5:5;4055:10;:19;4046:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4121:8;4147:15;4165:9;4176:13;4191;4205;4219:22;4135:107;;:::i;:::-;-1:-1:-1;;;;;4135:107:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;27:10;;39:1;23:18;;;45:23;;-1:-1;4121:122:5;;;;;;;;;;;;;-1:-1:-1;;4121:122:5;-1:-1:-1;;;;;4121:122:5;;;;;;;;;;;4270:15;4259:29;;;-1:-1:-1;;4270:17:5;;;4259:29;;;;;;;;;;;;;;-1:-1:-1;4306:8:5;:15;3776:553;;;;;;;;:::o;1747:438::-;1917:8;:15;1835:16;;1886:7;;1869:14;;1917:24;;;1908:33;;1904:99;;;1967:8;:15;:24;;;;-1:-1:-1;1904:99:5;2038:6;2024:21;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;2024:21:5;;2015:30;;2073:1;2061:13;;2056:96;2080:6;2076:1;:10;2056:96;;;2120:8;:20;;2129:10;;;;2120:20;;;;;;;;;;;;;;;;2108:9;;-1:-1:-1;;;;;2120:20:5;;;;2108:6;;2115:1;;2108:9;;;;;;-1:-1:-1;;;;;2108:32:5;;;:9;;;;;;;;;;:32;2088:3;;2056:96;;;1747:438;;;;;;:::o;657:124::-;758:8;:15;657:124;:::o;2868:430::-;3074:4;3096:8;3122:10;3134:9;3145:13;3160;3174;3188:22;3110:101;;:::i;:::-;-1:-1:-1;;;;;3110:101:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;27:10;;39:1;23:18;;;45:23;;-1:-1;3096:116:5;;;;;;;;;;;;;-1:-1:-1;;3096:116:5;-1:-1:-1;;;;;3096:116:5;;;;;;;;;;;3239:15;3228:29;;;-1:-1:-1;;3239:17:5;;;3228:29;;;;;;;;;;;;;;-1:-1:-1;3275:8:5;:15;2868:430;;;;;;;:::o;350:20::-;;;-1:-1:-1;;;;;350:20:5;;:::o;407:25::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:25:5;;-1:-1:-1;407:25:5;:::o;793:88::-;837:9;865:8;858:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;858:15:5;;;;;;;;;;;;;;;;;;;;;;;793:88;:::o;199:4133::-;;;;;;;;;;:::o", "source": "pragma solidity 0.4.24;\r\n\r\n/// @title Job Listing\r\n/// @dev Used to keep marketplace of job listings from the companies\r\n/// @author Waheed Rahuman waheed@hellotoken.io\r\n\r\nimport \"./Listing.sol\";\r\n\r\ncontract ListingsRegistry {\r\n\r\n /*\r\n * Events\r\n */\r\n\r\n event NewListing(uint _index);\r\n\r\n /*\r\n * Storage\r\n */\r\n\r\n // Contract owner\r\n address public owner;\r\n\r\n // Array of all listings\r\n Listing[] public listings;\r\n\r\n /*\r\n * Public functions\r\n */\r\n\r\n constructor()\r\n public\r\n {\r\n // Defines HelloToken admin address \r\n owner = msg.sender;\r\n }\r\n\r\n /// @dev listingsLength(): Return number of listings\r\n function listingsLength()\r\n public\r\n constant\r\n returns (uint)\r\n {\r\n return listings.length;\r\n }\r\n \r\n function getListings() public view returns (Listing[]){\r\n return listings;\r\n }\r\n\r\n /// @dev getListing(): Return listing info for a given listing\r\n /// @param _index the index of the listing we want info about\r\n function getListing(uint _index)\r\n public\r\n constant\r\n returns (Listing, address, bytes32, uint, uint,uint, uint)\r\n {\r\n // Test in truffle deelop:\r\n // ListingsRegistry.deployed().then(function(instance){ return instance.getListing.call(0) })\r\n\r\n // TODO (Stan): Determine if less gas to do one array lookup into var, and\r\n // return var struct parts\r\n return (\r\n listings[_index],\r\n listings[_index].owner(),\r\n listings[_index].ipfsHash(),\r\n listings[_index].workingHours(),\r\n listings[_index].resourceType(),\r\n listings[_index].resourceRate(),\r\n listings[_index].totalResourceRequired()\r\n );\r\n }\r\n\r\n function fetchPage(uint256 cursor, uint256 howMany)\r\n public\r\n view\r\n returns (Listing[] values)\r\n {\r\n uint256 length = howMany;\r\n if (length > listings.length - cursor) {\r\n length = listings.length - cursor;\r\n }\r\n\r\n values = new Listing[](length);\r\n for (uint256 i = 0; i < length; i++) {\r\n values[i] = listings[cursor + i];\r\n }\r\n\r\n return values;\r\n }\r\n\r\n /// Sample Remix invocation:\r\n /// [\"0x01\",\"0x7d\",\"0xfd\",\"0x85\",\"0xd4\",\"0xf6\",\"0xcb\",\"0x4d\",\"0xcd\",\"0x71\",\"0x5a\",\"0x88\",\"0x10\",\"0x1f\",\"0x7b\",\"0x1f\",\"0x06\",\"0xcd\",\"0x1e\",\"0x00\",\"0x9b\",\"0x23\",\"0x27\",\"0xa0\",\"0x80\",\"0x9d\",\"0x01\",\"0xeb\",\"0x9c\",\"0x91\",\"0xf2\",\"0x31\"],\"3140000000000000000\",42\r\n\r\n /*\r\n *\t@dev create(); Create a new job requirements\r\n *\tData Storage\r\n *\t------------\r\n *\t_ipfsHash\t\tHash\tHash of data on ipfsHash\r\n *\t_workingHours\t\tunint\tNo of working hours required\r\n *\t_resourceType\t\tunint\tResource type Agent or Auditor\r\n *\t_resourceRate\t\tunint\tRate offered per hour in wei\r\n *\t_totalResourceRequired\tNumber\tNo of agents/auditors required\r\n */\r\n\r\n function create(\r\n bytes32 _ipfsHash,\r\n uint _workingHours,\r\n uint _resourceType,\r\n uint _resourceRate,\r\n uint _totalResourceRequired\r\n )\r\n public\r\n returns (uint)\r\n {\r\n listings.push(new Listing(msg.sender, _ipfsHash, _workingHours, _resourceType,_resourceRate,_totalResourceRequired));\r\n emit NewListing(listings.length-1);\r\n return listings.length;\r\n }\r\n\r\n\r\n /*\r\n *\t@dev createOnBehalf(); Migrate job posting as admin\r\n *\tData Storage\r\n *\t------------\r\n *\t_ipfsHash\t\tHash\tHash of data on ipfsHash\r\n *\t_workingHours\t\tunint\tNo of working hours required\r\n *\t_resourceType\t\tunint\tResource type Agent or Auditor\r\n *\t_resourceRate\t\tunint\tRate offered per hour in wei\r\n *\t_totalResourceRequired\tNumber\tNo of agents/auditors required\r\n *\t_creatorAddress\t\tAddress\tAdding listing on behalf of someone (Only by admin)\r\n */\r\n\r\n function createOnBehalf(\r\n bytes32 _ipfsHash,\r\n uint _workingHours,\r\n uint _resourceType,\r\n uint _resourceRate,\r\n uint _totalResourceRequired,\r\n address _creatorAddress\r\n )\r\n public\r\n returns (uint)\r\n {\r\n require (msg.sender == owner, \"Only callable by registry owner\");\r\n listings.push(new Listing(_creatorAddress, _ipfsHash, _workingHours, _resourceType,_resourceRate,_totalResourceRequired));\r\n emit NewListing(listings.length-1);\r\n return listings.length;\r\n }\r\n}", - "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\ListingsRegistry.sol", + "sourcePath": "C:\\i\\HT\\hellonetmarket\\ethereum\\contracts\\ListingsRegistry.sol", "ast": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/ListingsRegistry.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/ListingsRegistry.sol", "exportedSymbols": { "ListingsRegistry": [ - 1150 + 1802 ] }, - "id": 1151, + "id": 1803, "nodeType": "SourceUnit", "nodes": [ { - "id": 904, + "id": 1556, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:4" + "src": "0:23:5" }, { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", "file": "./Listing.sol", - "id": 905, + "id": 1557, "nodeType": "ImportDirective", - "scope": 1151, - "sourceUnit": 903, - "src": "172:23:4", + "scope": 1803, + "sourceUnit": 1555, + "src": "172:23:5", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [], "contractDependencies": [ - 902 + 1554 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 1150, + "id": 1802, "linearizedBaseContracts": [ - 1150 + 1802 ], "name": "ListingsRegistry", "nodeType": "ContractDefinition", @@ -276,21 +276,21 @@ { "anonymous": false, "documentation": null, - "id": 909, + "id": 1561, "name": "NewListing", "nodeType": "EventDefinition", "parameters": { - "id": 908, + "id": 1560, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 907, + "id": 1559, "indexed": false, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "279:11:4", + "scope": 1561, + "src": "279:11:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -298,10 +298,10 @@ "typeString": "uint256" }, "typeName": { - "id": 906, + "id": 1558, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "279:4:4", + "src": "279:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -311,17 +311,17 @@ "visibility": "internal" } ], - "src": "278:13:4" + "src": "278:13:5" }, - "src": "262:30:4" + "src": "262:30:5" }, { "constant": false, - "id": 911, + "id": 1563, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1150, - "src": "350:20:4", + "scope": 1802, + "src": "350:20:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -329,10 +329,10 @@ "typeString": "address" }, "typeName": { - "id": 910, + "id": 1562, "name": "address", "nodeType": "ElementaryTypeName", - "src": "350:7:4", + "src": "350:7:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -343,36 +343,36 @@ }, { "constant": false, - "id": 914, + "id": 1566, "name": "listings", "nodeType": "VariableDeclaration", - "scope": 1150, - "src": "407:25:4", + "scope": 1802, + "src": "407:25:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 912, + "id": 1564, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "407:7:4", + "referencedDeclaration": 1554, + "src": "407:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 913, + "id": 1565, "length": null, "nodeType": "ArrayTypeName", - "src": "407:9:4", + "src": "407:9:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage_ptr", "typeString": "contract Listing[]" } }, @@ -381,26 +381,26 @@ }, { "body": { - "id": 922, + "id": 1574, "nodeType": "Block", - "src": "512:81:4", + "src": "512:81:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 920, + "id": 1572, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 917, + "id": 1569, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 911, - "src": "567:5:4", + "referencedDeclaration": 1563, + "src": "567:5:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -412,18 +412,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 918, + "id": 1570, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "575:3:4", + "referencedDeclaration": 1965, + "src": "575:3:5", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 919, + "id": 1571, "isConstant": false, "isLValue": false, "isPure": false, @@ -431,26 +431,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "575:10:4", + "src": "575:10:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "567:18:4", + "src": "567:18:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 921, + "id": 1573, "nodeType": "ExpressionStatement", - "src": "567:18:4" + "src": "567:18:5" } ] }, "documentation": null, - "id": 923, + "id": 1575, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -458,47 +458,47 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 1567, "nodeType": "ParameterList", "parameters": [], - "src": "490:2:4" + "src": "490:2:5" }, "payable": false, "returnParameters": { - "id": 916, + "id": 1568, "nodeType": "ParameterList", "parameters": [], - "src": "512:0:4" + "src": "512:0:5" }, - "scope": 1150, - "src": "479:114:4", + "scope": 1802, + "src": "479:114:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 931, + "id": 1583, "nodeType": "Block", - "src": "740:41:4", + "src": "740:41:5", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 928, + "id": 1580, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "758:8:4", + "referencedDeclaration": 1566, + "src": "758:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 929, + "id": 1581, "isConstant": false, "isLValue": true, "isPure": false, @@ -506,21 +506,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "758:15:4", + "src": "758:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 927, - "id": 930, + "functionReturnParameters": 1579, + "id": 1582, "nodeType": "Return", - "src": "751:22:4" + "src": "751:22:5" } ] }, "documentation": "@dev listingsLength(): Return number of listings\r", - "id": 932, + "id": 1584, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -528,23 +528,23 @@ "name": "listingsLength", "nodeType": "FunctionDefinition", "parameters": { - "id": 924, + "id": 1576, "nodeType": "ParameterList", "parameters": [], - "src": "680:2:4" + "src": "680:2:5" }, "payable": false, "returnParameters": { - "id": 927, + "id": 1579, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 926, + "id": 1578, "name": "", "nodeType": "VariableDeclaration", - "scope": 932, - "src": "729:4:4", + "scope": 1584, + "src": "729:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -552,10 +552,10 @@ "typeString": "uint256" }, "typeName": { - "id": 925, + "id": 1577, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "729:4:4", + "src": "729:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -565,43 +565,43 @@ "visibility": "internal" } ], - "src": "728:6:4" + "src": "728:6:5" }, - "scope": 1150, - "src": "657:124:4", + "scope": 1802, + "src": "657:124:5", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 940, + "id": 1592, "nodeType": "Block", - "src": "847:34:4", + "src": "847:34:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 938, + "id": 1590, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "865:8:4", + "referencedDeclaration": 1566, + "src": "865:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "functionReturnParameters": 937, - "id": 939, + "functionReturnParameters": 1589, + "id": 1591, "nodeType": "Return", - "src": "858:15:4" + "src": "858:15:5" } ] }, "documentation": null, - "id": 941, + "id": 1593, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -609,48 +609,48 @@ "name": "getListings", "nodeType": "FunctionDefinition", "parameters": { - "id": 933, + "id": 1585, "nodeType": "ParameterList", "parameters": [], - "src": "813:2:4" + "src": "813:2:5" }, "payable": false, "returnParameters": { - "id": 937, + "id": 1589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 936, + "id": 1588, "name": "", "nodeType": "VariableDeclaration", - "scope": 941, - "src": "837:9:4", + "scope": 1593, + "src": "837:9:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory_ptr", "typeString": "contract Listing[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 934, + "id": 1586, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "837:7:4", + "referencedDeclaration": 1554, + "src": "837:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 935, + "id": 1587, "length": null, "nodeType": "ArrayTypeName", - "src": "837:9:4", + "src": "837:9:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage_ptr", "typeString": "contract Listing[]" } }, @@ -658,19 +658,19 @@ "visibility": "internal" } ], - "src": "836:11:4" + "src": "836:11:5" }, - "scope": 1150, - "src": "793:88:4", + "scope": 1802, + "src": "793:88:5", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 995, + "id": 1647, "nodeType": "Block", - "src": "1158:581:4", + "src": "1158:581:5", "statements": [ { "expression": { @@ -680,26 +680,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 960, + "id": 1612, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1442:8:4", + "referencedDeclaration": 1566, + "src": "1442:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 962, + "id": 1614, "indexExpression": { "argumentTypes": null, - "id": 961, + "id": 1613, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1451:6:4", + "referencedDeclaration": 1595, + "src": "1451:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -710,9 +710,9 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1442:16:4", + "src": "1442:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -725,26 +725,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 963, + "id": 1615, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1471:8:4", + "referencedDeclaration": 1566, + "src": "1471:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 965, + "id": 1617, "indexExpression": { "argumentTypes": null, - "id": 964, + "id": 1616, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1480:6:4", + "referencedDeclaration": 1595, + "src": "1480:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -755,27 +755,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1471:16:4", + "src": "1471:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 966, + "id": 1618, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 709, - "src": "1471:22:4", + "referencedDeclaration": 1361, + "src": "1471:22:5", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", "typeString": "function () view external returns (address)" } }, - "id": 967, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -783,7 +783,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1471:24:4", + "src": "1471:24:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -798,26 +798,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 968, + "id": 1620, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1508:8:4", + "referencedDeclaration": 1566, + "src": "1508:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 970, + "id": 1622, "indexExpression": { "argumentTypes": null, - "id": 969, + "id": 1621, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1517:6:4", + "referencedDeclaration": 1595, + "src": "1517:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -828,27 +828,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1508:16:4", + "src": "1508:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 971, + "id": 1623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ipfsHash", "nodeType": "MemberAccess", - "referencedDeclaration": 713, - "src": "1508:25:4", + "referencedDeclaration": 1365, + "src": "1508:25:5", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$", "typeString": "function () view external returns (bytes32)" } }, - "id": 972, + "id": 1624, "isConstant": false, "isLValue": false, "isPure": false, @@ -856,7 +856,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1508:27:4", + "src": "1508:27:5", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -871,26 +871,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 973, + "id": 1625, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1548:8:4", + "referencedDeclaration": 1566, + "src": "1548:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 975, + "id": 1627, "indexExpression": { "argumentTypes": null, - "id": 974, + "id": 1626, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1557:6:4", + "referencedDeclaration": 1595, + "src": "1557:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -901,27 +901,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1548:16:4", + "src": "1548:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 976, + "id": 1628, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "workingHours", "nodeType": "MemberAccess", - "referencedDeclaration": 715, - "src": "1548:29:4", + "referencedDeclaration": 1367, + "src": "1548:29:5", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 977, + "id": 1629, "isConstant": false, "isLValue": false, "isPure": false, @@ -929,7 +929,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1548:31:4", + "src": "1548:31:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -944,26 +944,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 978, + "id": 1630, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1592:8:4", + "referencedDeclaration": 1566, + "src": "1592:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 980, + "id": 1632, "indexExpression": { "argumentTypes": null, - "id": 979, + "id": 1631, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1601:6:4", + "referencedDeclaration": 1595, + "src": "1601:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -974,27 +974,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1592:16:4", + "src": "1592:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 981, + "id": 1633, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "resourceType", "nodeType": "MemberAccess", - "referencedDeclaration": 717, - "src": "1592:29:4", + "referencedDeclaration": 1369, + "src": "1592:29:5", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 982, + "id": 1634, "isConstant": false, "isLValue": false, "isPure": false, @@ -1002,7 +1002,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1592:31:4", + "src": "1592:31:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1017,26 +1017,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 983, + "id": 1635, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1636:8:4", + "referencedDeclaration": 1566, + "src": "1636:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 985, + "id": 1637, "indexExpression": { "argumentTypes": null, - "id": 984, + "id": 1636, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1645:6:4", + "referencedDeclaration": 1595, + "src": "1645:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1047,27 +1047,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1636:16:4", + "src": "1636:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 986, + "id": 1638, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "resourceRate", "nodeType": "MemberAccess", - "referencedDeclaration": 719, - "src": "1636:29:4", + "referencedDeclaration": 1371, + "src": "1636:29:5", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 987, + "id": 1639, "isConstant": false, "isLValue": false, "isPure": false, @@ -1075,7 +1075,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1636:31:4", + "src": "1636:31:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1090,26 +1090,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 988, + "id": 1640, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1680:8:4", + "referencedDeclaration": 1566, + "src": "1680:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 990, + "id": 1642, "indexExpression": { "argumentTypes": null, - "id": 989, + "id": 1641, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1689:6:4", + "referencedDeclaration": 1595, + "src": "1689:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1120,27 +1120,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1680:16:4", + "src": "1680:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 991, + "id": 1643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "totalResourceRequired", "nodeType": "MemberAccess", - "referencedDeclaration": 721, - "src": "1680:38:4", + "referencedDeclaration": 1373, + "src": "1680:38:5", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 992, + "id": 1644, "isConstant": false, "isLValue": false, "isPure": false, @@ -1148,35 +1148,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1680:40:4", + "src": "1680:40:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 993, + "id": 1645, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "1429:302:4", + "src": "1429:302:5", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_contract$_Listing_$902_$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", + "typeIdentifier": "t_tuple$_t_contract$_Listing_$1554_$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", "typeString": "tuple(contract Listing,address,bytes32,uint256,uint256,uint256,uint256)" } }, - "functionReturnParameters": 959, - "id": 994, + "functionReturnParameters": 1611, + "id": 1646, "nodeType": "Return", - "src": "1422:309:4" + "src": "1422:309:5" } ] }, "documentation": "@dev getListing(): Return listing info for a given listing\r\n @param _index the index of the listing we want info about\r", - "id": 996, + "id": 1648, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1184,16 +1184,16 @@ "name": "getListing", "nodeType": "FunctionDefinition", "parameters": { - "id": 944, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 943, + "id": 1595, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1044:11:4", + "scope": 1648, + "src": "1044:11:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1201,10 +1201,10 @@ "typeString": "uint256" }, "typeName": { - "id": 942, + "id": 1594, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1044:4:4", + "src": "1044:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1214,35 +1214,35 @@ "visibility": "internal" } ], - "src": "1043:13:4" + "src": "1043:13:5" }, "payable": false, "returnParameters": { - "id": 959, + "id": 1611, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 946, + "id": 1598, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1103:7:4", + "scope": 1648, + "src": "1103:7:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 945, + "id": 1597, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "1103:7:4", + "referencedDeclaration": 1554, + "src": "1103:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -1251,11 +1251,11 @@ }, { "constant": false, - "id": 948, + "id": 1600, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1112:7:4", + "scope": 1648, + "src": "1112:7:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1263,10 +1263,10 @@ "typeString": "address" }, "typeName": { - "id": 947, + "id": 1599, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1112:7:4", + "src": "1112:7:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1277,11 +1277,11 @@ }, { "constant": false, - "id": 950, + "id": 1602, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1121:7:4", + "scope": 1648, + "src": "1121:7:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1289,10 +1289,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 949, + "id": 1601, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1121:7:4", + "src": "1121:7:5", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -1303,11 +1303,11 @@ }, { "constant": false, - "id": 952, + "id": 1604, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1130:4:4", + "scope": 1648, + "src": "1130:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1315,10 +1315,10 @@ "typeString": "uint256" }, "typeName": { - "id": 951, + "id": 1603, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1130:4:4", + "src": "1130:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1329,11 +1329,11 @@ }, { "constant": false, - "id": 954, + "id": 1606, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1136:4:4", + "scope": 1648, + "src": "1136:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1341,10 +1341,10 @@ "typeString": "uint256" }, "typeName": { - "id": 953, + "id": 1605, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1136:4:4", + "src": "1136:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1355,11 +1355,11 @@ }, { "constant": false, - "id": 956, + "id": 1608, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1141:4:4", + "scope": 1648, + "src": "1141:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1367,10 +1367,10 @@ "typeString": "uint256" }, "typeName": { - "id": 955, + "id": 1607, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1141:4:4", + "src": "1141:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1381,11 +1381,11 @@ }, { "constant": false, - "id": 958, + "id": 1610, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1147:4:4", + "scope": 1648, + "src": "1147:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1393,10 +1393,10 @@ "typeString": "uint256" }, "typeName": { - "id": 957, + "id": 1609, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1147:4:4", + "src": "1147:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1406,32 +1406,32 @@ "visibility": "internal" } ], - "src": "1102:50:4" + "src": "1102:50:5" }, - "scope": 1150, - "src": "1024:715:4", + "scope": 1802, + "src": "1024:715:5", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1057, + "id": 1709, "nodeType": "Block", - "src": "1858:327:4", + "src": "1858:327:5", "statements": [ { "assignments": [ - 1007 + 1659 ], "declarations": [ { "constant": false, - "id": 1007, + "id": 1659, "name": "length", "nodeType": "VariableDeclaration", - "scope": 1058, - "src": "1869:14:4", + "scope": 1710, + "src": "1869:14:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1439,10 +1439,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1006, + "id": 1658, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1869:7:4", + "src": "1869:7:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1452,22 +1452,22 @@ "visibility": "internal" } ], - "id": 1009, + "id": 1661, "initialValue": { "argumentTypes": null, - "id": 1008, + "id": 1660, "name": "howMany", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1000, - "src": "1886:7:4", + "referencedDeclaration": 1652, + "src": "1886:7:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1869:24:4" + "src": "1869:24:5" }, { "condition": { @@ -1476,19 +1476,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1015, + "id": 1667, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1010, + "id": 1662, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1007, - "src": "1908:6:4", + "referencedDeclaration": 1659, + "src": "1908:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1502,7 +1502,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1014, + "id": 1666, "isConstant": false, "isLValue": false, "isPure": false, @@ -1511,18 +1511,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1011, + "id": 1663, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1917:8:4", + "referencedDeclaration": 1566, + "src": "1917:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1012, + "id": 1664, "isConstant": false, "isLValue": true, "isPure": false, @@ -1530,7 +1530,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1917:15:4", + "src": "1917:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1540,54 +1540,54 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 1013, + "id": 1665, "name": "cursor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 998, - "src": "1935:6:4", + "referencedDeclaration": 1650, + "src": "1935:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1917:24:4", + "src": "1917:24:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1908:33:4", + "src": "1908:33:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1024, + "id": 1676, "nodeType": "IfStatement", - "src": "1904:99:4", + "src": "1904:99:5", "trueBody": { - "id": 1023, + "id": 1675, "nodeType": "Block", - "src": "1943:60:4", + "src": "1943:60:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 1021, + "id": 1673, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1016, + "id": 1668, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1007, - "src": "1958:6:4", + "referencedDeclaration": 1659, + "src": "1958:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1601,7 +1601,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1020, + "id": 1672, "isConstant": false, "isLValue": false, "isPure": false, @@ -1610,18 +1610,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1017, + "id": 1669, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1967:8:4", + "referencedDeclaration": 1566, + "src": "1967:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1018, + "id": 1670, "isConstant": false, "isLValue": true, "isPure": false, @@ -1629,7 +1629,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1967:15:4", + "src": "1967:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1639,32 +1639,32 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 1019, + "id": 1671, "name": "cursor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 998, - "src": "1985:6:4", + "referencedDeclaration": 1650, + "src": "1985:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1967:24:4", + "src": "1967:24:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1958:33:4", + "src": "1958:33:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1022, + "id": 1674, "nodeType": "ExpressionStatement", - "src": "1958:33:4" + "src": "1958:33:5" } ] } @@ -1672,21 +1672,21 @@ { "expression": { "argumentTypes": null, - "id": 1031, + "id": 1683, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1025, + "id": 1677, "name": "values", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1004, - "src": "2015:6:4", + "referencedDeclaration": 1656, + "src": "2015:6:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, @@ -1697,12 +1697,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1029, + "id": 1681, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1007, - "src": "2038:6:4", + "referencedDeclaration": 1659, + "src": "2038:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1716,41 +1716,41 @@ "typeString": "uint256" } ], - "id": 1028, + "id": 1680, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "2024:13:4", + "src": "2024:13:5", "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_contract$_Listing_$902_$dyn_memory_$", + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_contract$_Listing_$1554_$dyn_memory_$", "typeString": "function (uint256) pure returns (contract Listing[] memory)" }, "typeName": { "baseType": { "contractScope": null, - "id": 1026, + "id": 1678, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "2028:7:4", + "referencedDeclaration": 1554, + "src": "2028:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 1027, + "id": 1679, "length": null, "nodeType": "ArrayTypeName", - "src": "2028:9:4", + "src": "2028:9:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage_ptr", "typeString": "contract Listing[]" } } }, - "id": 1030, + "id": 1682, "isConstant": false, "isLValue": false, "isPure": false, @@ -1758,32 +1758,32 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2024:21:4", + "src": "2024:21:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory", "typeString": "contract Listing[] memory" } }, - "src": "2015:30:4", + "src": "2015:30:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, - "id": 1032, + "id": 1684, "nodeType": "ExpressionStatement", - "src": "2015:30:4" + "src": "2015:30:5" }, { "body": { - "id": 1053, + "id": 1705, "nodeType": "Block", - "src": "2093:59:4", + "src": "2093:59:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 1051, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, @@ -1792,26 +1792,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1043, + "id": 1695, "name": "values", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1004, - "src": "2108:6:4", + "referencedDeclaration": 1656, + "src": "2108:6:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, - "id": 1045, + "id": 1697, "indexExpression": { "argumentTypes": null, - "id": 1044, + "id": 1696, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1034, - "src": "2115:1:4", + "referencedDeclaration": 1686, + "src": "2115:1:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1822,9 +1822,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2108:9:4", + "src": "2108:9:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -1834,37 +1834,37 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1046, + "id": 1698, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "2120:8:4", + "referencedDeclaration": 1566, + "src": "2120:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1050, + "id": 1702, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1049, + "id": 1701, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1047, + "id": 1699, "name": "cursor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 998, - "src": "2129:6:4", + "referencedDeclaration": 1650, + "src": "2129:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1874,18 +1874,18 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 1048, + "id": 1700, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1034, - "src": "2138:1:4", + "referencedDeclaration": 1686, + "src": "2138:1:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2129:10:4", + "src": "2129:10:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1896,21 +1896,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2120:20:4", + "src": "2120:20:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "src": "2108:32:4", + "src": "2108:32:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 1052, + "id": 1704, "nodeType": "ExpressionStatement", - "src": "2108:32:4" + "src": "2108:32:5" } ] }, @@ -1920,19 +1920,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1039, + "id": 1691, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1037, + "id": 1689, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1034, - "src": "2076:1:4", + "referencedDeclaration": 1686, + "src": "2076:1:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1942,36 +1942,36 @@ "operator": "<", "rightExpression": { "argumentTypes": null, - "id": 1038, + "id": 1690, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1007, - "src": "2080:6:4", + "referencedDeclaration": 1659, + "src": "2080:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2076:10:4", + "src": "2076:10:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1054, + "id": 1706, "initializationExpression": { "assignments": [ - 1034 + 1686 ], "declarations": [ { "constant": false, - "id": 1034, + "id": 1686, "name": "i", "nodeType": "VariableDeclaration", - "scope": 1058, - "src": "2061:9:4", + "scope": 1710, + "src": "2061:9:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1979,10 +1979,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1033, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2061:7:4", + "src": "2061:7:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1992,18 +1992,18 @@ "visibility": "internal" } ], - "id": 1036, + "id": 1688, "initialValue": { "argumentTypes": null, "hexValue": "30", - "id": 1035, + "id": 1687, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2073:1:4", + "src": "2073:1:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -2012,12 +2012,12 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "2061:13:4" + "src": "2061:13:5" }, "loopExpression": { "expression": { "argumentTypes": null, - "id": 1041, + "id": 1693, "isConstant": false, "isLValue": false, "isPure": false, @@ -2025,15 +2025,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "2088:3:4", + "src": "2088:3:5", "subExpression": { "argumentTypes": null, - "id": 1040, + "id": 1692, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1034, - "src": "2088:1:4", + "referencedDeclaration": 1686, + "src": "2088:1:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2044,36 +2044,36 @@ "typeString": "uint256" } }, - "id": 1042, + "id": 1694, "nodeType": "ExpressionStatement", - "src": "2088:3:4" + "src": "2088:3:5" }, "nodeType": "ForStatement", - "src": "2056:96:4" + "src": "2056:96:5" }, { "expression": { "argumentTypes": null, - "id": 1055, + "id": 1707, "name": "values", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1004, - "src": "2171:6:4", + "referencedDeclaration": 1656, + "src": "2171:6:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, - "functionReturnParameters": 1005, - "id": 1056, + "functionReturnParameters": 1657, + "id": 1708, "nodeType": "Return", - "src": "2164:13:4" + "src": "2164:13:5" } ] }, "documentation": null, - "id": 1058, + "id": 1710, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -2081,16 +2081,16 @@ "name": "fetchPage", "nodeType": "FunctionDefinition", "parameters": { - "id": 1001, + "id": 1653, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 998, + "id": 1650, "name": "cursor", "nodeType": "VariableDeclaration", - "scope": 1058, - "src": "1766:14:4", + "scope": 1710, + "src": "1766:14:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2098,10 +2098,10 @@ "typeString": "uint256" }, "typeName": { - "id": 997, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1766:7:4", + "src": "1766:7:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2112,11 +2112,11 @@ }, { "constant": false, - "id": 1000, + "id": 1652, "name": "howMany", "nodeType": "VariableDeclaration", - "scope": 1058, - "src": "1782:15:4", + "scope": 1710, + "src": "1782:15:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2124,10 +2124,10 @@ "typeString": "uint256" }, "typeName": { - "id": 999, + "id": 1651, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1782:7:4", + "src": "1782:7:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2137,45 +2137,45 @@ "visibility": "internal" } ], - "src": "1765:33:4" + "src": "1765:33:5" }, "payable": false, "returnParameters": { - "id": 1005, + "id": 1657, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1004, + "id": 1656, "name": "values", "nodeType": "VariableDeclaration", - "scope": 1058, - "src": "1835:16:4", + "scope": 1710, + "src": "1835:16:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory_ptr", "typeString": "contract Listing[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 1002, + "id": 1654, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "1835:7:4", + "referencedDeclaration": 1554, + "src": "1835:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 1003, + "id": 1655, "length": null, "nodeType": "ArrayTypeName", - "src": "1835:9:4", + "src": "1835:9:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage_ptr", "typeString": "contract Listing[]" } }, @@ -2183,19 +2183,19 @@ "visibility": "internal" } ], - "src": "1834:18:4" + "src": "1834:18:5" }, - "scope": 1150, - "src": "1747:438:4", + "scope": 1802, + "src": "1747:438:5", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1098, + "id": 1750, "nodeType": "Block", - "src": "3085:213:4", + "src": "3085:213:5", "statements": [ { "expression": { @@ -2208,18 +2208,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1078, + "id": 1730, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "3122:3:4", + "referencedDeclaration": 1965, + "src": "3122:3:5", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1079, + "id": 1731, "isConstant": false, "isLValue": false, "isPure": false, @@ -2227,7 +2227,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3122:10:4", + "src": "3122:10:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2235,12 +2235,12 @@ }, { "argumentTypes": null, - "id": 1080, + "id": 1732, "name": "_ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1060, - "src": "3134:9:4", + "referencedDeclaration": 1712, + "src": "3134:9:5", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2248,12 +2248,12 @@ }, { "argumentTypes": null, - "id": 1081, + "id": 1733, "name": "_workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1062, - "src": "3145:13:4", + "referencedDeclaration": 1714, + "src": "3145:13:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2261,12 +2261,12 @@ }, { "argumentTypes": null, - "id": 1082, + "id": 1734, "name": "_resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1064, - "src": "3160:13:4", + "referencedDeclaration": 1716, + "src": "3160:13:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2274,12 +2274,12 @@ }, { "argumentTypes": null, - "id": 1083, + "id": 1735, "name": "_resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1066, - "src": "3174:13:4", + "referencedDeclaration": 1718, + "src": "3174:13:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2287,12 +2287,12 @@ }, { "argumentTypes": null, - "id": 1084, + "id": 1736, "name": "_totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1068, - "src": "3188:22:4", + "referencedDeclaration": 1720, + "src": "3188:22:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2326,31 +2326,31 @@ "typeString": "uint256" } ], - "id": 1077, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "3110:11:4", + "src": "3110:11:5", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$902_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$1554_$", "typeString": "function (address,bytes32,uint256,uint256,uint256,uint256) returns (contract Listing)" }, "typeName": { "contractScope": null, - "id": 1076, + "id": 1728, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "3114:7:4", + "referencedDeclaration": 1554, + "src": "3114:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } } }, - "id": 1085, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": false, @@ -2358,9 +2358,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3110:101:4", + "src": "3110:101:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } } @@ -2368,24 +2368,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } ], "expression": { "argumentTypes": null, - "id": 1073, + "id": 1725, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "3096:8:4", + "referencedDeclaration": 1566, + "src": "3096:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1075, + "id": 1727, "isConstant": false, "isLValue": false, "isPure": false, @@ -2393,13 +2393,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3096:13:4", + "src": "3096:13:5", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$902_$returns$_t_uint256_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$1554_$returns$_t_uint256_$", "typeString": "function (contract Listing) returns (uint256)" } }, - "id": 1086, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, @@ -2407,15 +2407,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3096:116:4", + "src": "3096:116:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1087, + "id": 1739, "nodeType": "ExpressionStatement", - "src": "3096:116:4" + "src": "3096:116:5" }, { "eventCall": { @@ -2427,7 +2427,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1092, + "id": 1744, "isConstant": false, "isLValue": false, "isPure": false, @@ -2436,18 +2436,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1089, + "id": 1741, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "3239:8:4", + "referencedDeclaration": 1566, + "src": "3239:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1090, + "id": 1742, "isConstant": false, "isLValue": true, "isPure": false, @@ -2455,7 +2455,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3239:15:4", + "src": "3239:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2466,14 +2466,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1091, + "id": 1743, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3255:1:4", + "src": "3255:1:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -2481,7 +2481,7 @@ }, "value": "1" }, - "src": "3239:17:4", + "src": "3239:17:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2495,18 +2495,18 @@ "typeString": "uint256" } ], - "id": 1088, + "id": 1740, "name": "NewListing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 909, - "src": "3228:10:4", + "referencedDeclaration": 1561, + "src": "3228:10:5", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 1093, + "id": 1745, "isConstant": false, "isLValue": false, "isPure": false, @@ -2514,33 +2514,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3228:29:4", + "src": "3228:29:5", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1094, + "id": 1746, "nodeType": "EmitStatement", - "src": "3223:34:4" + "src": "3223:34:5" }, { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1095, + "id": 1747, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "3275:8:4", + "referencedDeclaration": 1566, + "src": "3275:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1096, + "id": 1748, "isConstant": false, "isLValue": true, "isPure": false, @@ -2548,21 +2548,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3275:15:4", + "src": "3275:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1072, - "id": 1097, + "functionReturnParameters": 1724, + "id": 1749, "nodeType": "Return", - "src": "3268:22:4" + "src": "3268:22:5" } ] }, "documentation": "Sample Remix invocation:\r\n [\"0x01\",\"0x7d\",\"0xfd\",\"0x85\",\"0xd4\",\"0xf6\",\"0xcb\",\"0x4d\",\"0xcd\",\"0x71\",\"0x5a\",\"0x88\",\"0x10\",\"0x1f\",\"0x7b\",\"0x1f\",\"0x06\",\"0xcd\",\"0x1e\",\"0x00\",\"0x9b\",\"0x23\",\"0x27\",\"0xa0\",\"0x80\",\"0x9d\",\"0x01\",\"0xeb\",\"0x9c\",\"0x91\",\"0xf2\",\"0x31\"],\"3140000000000000000\",42\r", - "id": 1099, + "id": 1751, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -2570,16 +2570,16 @@ "name": "create", "nodeType": "FunctionDefinition", "parameters": { - "id": 1069, + "id": 1721, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1060, + "id": 1712, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 1099, - "src": "2894:17:4", + "scope": 1751, + "src": "2894:17:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2587,10 +2587,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1059, + "id": 1711, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2894:7:4", + "src": "2894:7:5", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2601,11 +2601,11 @@ }, { "constant": false, - "id": 1062, + "id": 1714, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 1099, - "src": "2922:18:4", + "scope": 1751, + "src": "2922:18:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2613,10 +2613,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1061, + "id": 1713, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2922:4:4", + "src": "2922:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2627,11 +2627,11 @@ }, { "constant": false, - "id": 1064, + "id": 1716, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 1099, - "src": "2951:18:4", + "scope": 1751, + "src": "2951:18:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2639,10 +2639,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1063, + "id": 1715, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2951:4:4", + "src": "2951:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2653,11 +2653,11 @@ }, { "constant": false, - "id": 1066, + "id": 1718, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 1099, - "src": "2980:18:4", + "scope": 1751, + "src": "2980:18:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2665,10 +2665,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1065, + "id": 1717, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2980:4:4", + "src": "2980:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2679,11 +2679,11 @@ }, { "constant": false, - "id": 1068, + "id": 1720, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 1099, - "src": "3009:27:4", + "scope": 1751, + "src": "3009:27:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2691,10 +2691,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1067, + "id": 1719, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3009:4:4", + "src": "3009:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2704,20 +2704,20 @@ "visibility": "internal" } ], - "src": "2883:160:4" + "src": "2883:160:5" }, "payable": false, "returnParameters": { - "id": 1072, + "id": 1724, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1071, + "id": 1723, "name": "", "nodeType": "VariableDeclaration", - "scope": 1099, - "src": "3074:4:4", + "scope": 1751, + "src": "3074:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2725,10 +2725,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1070, + "id": 1722, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3074:4:4", + "src": "3074:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2738,19 +2738,19 @@ "visibility": "internal" } ], - "src": "3073:6:4" + "src": "3073:6:5" }, - "scope": 1150, - "src": "2868:430:4", + "scope": 1802, + "src": "2868:430:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1148, + "id": 1800, "nodeType": "Block", - "src": "4035:294:4", + "src": "4035:294:5", "statements": [ { "expression": { @@ -2762,7 +2762,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1120, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -2771,18 +2771,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1117, + "id": 1769, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "4055:3:4", + "referencedDeclaration": 1965, + "src": "4055:3:5", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1118, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": false, @@ -2790,7 +2790,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4055:10:4", + "src": "4055:10:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2800,18 +2800,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1119, + "id": 1771, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 911, - "src": "4069:5:4", + "referencedDeclaration": 1563, + "src": "4069:5:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "4055:19:4", + "src": "4055:19:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2820,14 +2820,14 @@ { "argumentTypes": null, "hexValue": "4f6e6c792063616c6c61626c65206279207265676973747279206f776e6572", - "id": 1121, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4076:33:4", + "src": "4076:33:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_a20a2dd5a23f4821a72bf6d8995e30bd3c3d788da1cb47c7a01d91ed1e1d92b0", @@ -2847,21 +2847,21 @@ "typeString": "literal_string \"Only callable by registry owner\"" } ], - "id": 1116, + "id": 1768, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1226, - "src": "4046:7:4", + "referencedDeclaration": 1969, + "src": "4046:7:5", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1122, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -2869,15 +2869,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4046:64:4", + "src": "4046:64:5", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1123, + "id": 1775, "nodeType": "ExpressionStatement", - "src": "4046:64:4" + "src": "4046:64:5" }, { "expression": { @@ -2888,12 +2888,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1129, + "id": 1781, "name": "_creatorAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1111, - "src": "4147:15:4", + "referencedDeclaration": 1763, + "src": "4147:15:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2901,12 +2901,12 @@ }, { "argumentTypes": null, - "id": 1130, + "id": 1782, "name": "_ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1101, - "src": "4165:9:4", + "referencedDeclaration": 1753, + "src": "4165:9:5", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -2914,12 +2914,12 @@ }, { "argumentTypes": null, - "id": 1131, + "id": 1783, "name": "_workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1103, - "src": "4176:13:4", + "referencedDeclaration": 1755, + "src": "4176:13:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2927,12 +2927,12 @@ }, { "argumentTypes": null, - "id": 1132, + "id": 1784, "name": "_resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1105, - "src": "4191:13:4", + "referencedDeclaration": 1757, + "src": "4191:13:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2940,12 +2940,12 @@ }, { "argumentTypes": null, - "id": 1133, + "id": 1785, "name": "_resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1107, - "src": "4205:13:4", + "referencedDeclaration": 1759, + "src": "4205:13:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2953,12 +2953,12 @@ }, { "argumentTypes": null, - "id": 1134, + "id": 1786, "name": "_totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1109, - "src": "4219:22:4", + "referencedDeclaration": 1761, + "src": "4219:22:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2992,31 +2992,31 @@ "typeString": "uint256" } ], - "id": 1128, + "id": 1780, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "4135:11:4", + "src": "4135:11:5", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$902_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$1554_$", "typeString": "function (address,bytes32,uint256,uint256,uint256,uint256) returns (contract Listing)" }, "typeName": { "contractScope": null, - "id": 1127, + "id": 1779, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "4139:7:4", + "referencedDeclaration": 1554, + "src": "4139:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } } }, - "id": 1135, + "id": 1787, "isConstant": false, "isLValue": false, "isPure": false, @@ -3024,9 +3024,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4135:107:4", + "src": "4135:107:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } } @@ -3034,24 +3034,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } ], "expression": { "argumentTypes": null, - "id": 1124, + "id": 1776, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "4121:8:4", + "referencedDeclaration": 1566, + "src": "4121:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1126, + "id": 1778, "isConstant": false, "isLValue": false, "isPure": false, @@ -3059,13 +3059,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4121:13:4", + "src": "4121:13:5", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$902_$returns$_t_uint256_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$1554_$returns$_t_uint256_$", "typeString": "function (contract Listing) returns (uint256)" } }, - "id": 1136, + "id": 1788, "isConstant": false, "isLValue": false, "isPure": false, @@ -3073,15 +3073,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4121:122:4", + "src": "4121:122:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1137, + "id": 1789, "nodeType": "ExpressionStatement", - "src": "4121:122:4" + "src": "4121:122:5" }, { "eventCall": { @@ -3093,7 +3093,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1142, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -3102,18 +3102,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1139, + "id": 1791, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "4270:8:4", + "referencedDeclaration": 1566, + "src": "4270:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1140, + "id": 1792, "isConstant": false, "isLValue": true, "isPure": false, @@ -3121,7 +3121,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4270:15:4", + "src": "4270:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3132,14 +3132,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1141, + "id": 1793, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "4286:1:4", + "src": "4286:1:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -3147,7 +3147,7 @@ }, "value": "1" }, - "src": "4270:17:4", + "src": "4270:17:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3161,18 +3161,18 @@ "typeString": "uint256" } ], - "id": 1138, + "id": 1790, "name": "NewListing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 909, - "src": "4259:10:4", + "referencedDeclaration": 1561, + "src": "4259:10:5", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 1143, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -3180,33 +3180,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4259:29:4", + "src": "4259:29:5", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1144, + "id": 1796, "nodeType": "EmitStatement", - "src": "4254:34:4" + "src": "4254:34:5" }, { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1145, + "id": 1797, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "4306:8:4", + "referencedDeclaration": 1566, + "src": "4306:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1146, + "id": 1798, "isConstant": false, "isLValue": true, "isPure": false, @@ -3214,21 +3214,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4306:15:4", + "src": "4306:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1115, - "id": 1147, + "functionReturnParameters": 1767, + "id": 1799, "nodeType": "Return", - "src": "4299:22:4" + "src": "4299:22:5" } ] }, "documentation": null, - "id": 1149, + "id": 1801, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -3236,16 +3236,16 @@ "name": "createOnBehalf", "nodeType": "FunctionDefinition", "parameters": { - "id": 1112, + "id": 1764, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1101, + "id": 1753, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "3810:17:4", + "scope": 1801, + "src": "3810:17:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3253,10 +3253,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1100, + "id": 1752, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "3810:7:4", + "src": "3810:7:5", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3267,11 +3267,11 @@ }, { "constant": false, - "id": 1103, + "id": 1755, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "3838:18:4", + "scope": 1801, + "src": "3838:18:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3279,10 +3279,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1102, + "id": 1754, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3838:4:4", + "src": "3838:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3293,11 +3293,11 @@ }, { "constant": false, - "id": 1105, + "id": 1757, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "3867:18:4", + "scope": 1801, + "src": "3867:18:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3305,10 +3305,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1104, + "id": 1756, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3867:4:4", + "src": "3867:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3319,11 +3319,11 @@ }, { "constant": false, - "id": 1107, + "id": 1759, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "3896:18:4", + "scope": 1801, + "src": "3896:18:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3331,10 +3331,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1106, + "id": 1758, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3896:4:4", + "src": "3896:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3345,11 +3345,11 @@ }, { "constant": false, - "id": 1109, + "id": 1761, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "3925:27:4", + "scope": 1801, + "src": "3925:27:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3357,10 +3357,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1108, + "id": 1760, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3925:4:4", + "src": "3925:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3371,11 +3371,11 @@ }, { "constant": false, - "id": 1111, + "id": 1763, "name": "_creatorAddress", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "3963:23:4", + "scope": 1801, + "src": "3963:23:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3383,10 +3383,10 @@ "typeString": "address" }, "typeName": { - "id": 1110, + "id": 1762, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3963:7:4", + "src": "3963:7:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3396,20 +3396,20 @@ "visibility": "internal" } ], - "src": "3799:194:4" + "src": "3799:194:5" }, "payable": false, "returnParameters": { - "id": 1115, + "id": 1767, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1114, + "id": 1766, "name": "", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "4024:4:4", + "scope": 1801, + "src": "4024:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3417,10 +3417,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1113, + "id": 1765, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4024:4:4", + "src": "4024:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3430,63 +3430,63 @@ "visibility": "internal" } ], - "src": "4023:6:4" + "src": "4023:6:5" }, - "scope": 1150, - "src": "3776:553:4", + "scope": 1802, + "src": "3776:553:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 1151, - "src": "199:4133:4" + "scope": 1803, + "src": "199:4133:5" } ], - "src": "0:4332:4" + "src": "0:4332:5" }, "legacyAST": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/ListingsRegistry.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/ListingsRegistry.sol", "exportedSymbols": { "ListingsRegistry": [ - 1150 + 1802 ] }, - "id": 1151, + "id": 1803, "nodeType": "SourceUnit", "nodes": [ { - "id": 904, + "id": 1556, "literals": [ "solidity", "0.4", ".24" ], "nodeType": "PragmaDirective", - "src": "0:23:4" + "src": "0:23:5" }, { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Listing.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Listing.sol", "file": "./Listing.sol", - "id": 905, + "id": 1557, "nodeType": "ImportDirective", - "scope": 1151, - "sourceUnit": 903, - "src": "172:23:4", + "scope": 1803, + "sourceUnit": 1555, + "src": "172:23:5", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [], "contractDependencies": [ - 902 + 1554 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 1150, + "id": 1802, "linearizedBaseContracts": [ - 1150 + 1802 ], "name": "ListingsRegistry", "nodeType": "ContractDefinition", @@ -3494,21 +3494,21 @@ { "anonymous": false, "documentation": null, - "id": 909, + "id": 1561, "name": "NewListing", "nodeType": "EventDefinition", "parameters": { - "id": 908, + "id": 1560, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 907, + "id": 1559, "indexed": false, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "279:11:4", + "scope": 1561, + "src": "279:11:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3516,10 +3516,10 @@ "typeString": "uint256" }, "typeName": { - "id": 906, + "id": 1558, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "279:4:4", + "src": "279:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3529,17 +3529,17 @@ "visibility": "internal" } ], - "src": "278:13:4" + "src": "278:13:5" }, - "src": "262:30:4" + "src": "262:30:5" }, { "constant": false, - "id": 911, + "id": 1563, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1150, - "src": "350:20:4", + "scope": 1802, + "src": "350:20:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3547,10 +3547,10 @@ "typeString": "address" }, "typeName": { - "id": 910, + "id": 1562, "name": "address", "nodeType": "ElementaryTypeName", - "src": "350:7:4", + "src": "350:7:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3561,36 +3561,36 @@ }, { "constant": false, - "id": 914, + "id": 1566, "name": "listings", "nodeType": "VariableDeclaration", - "scope": 1150, - "src": "407:25:4", + "scope": 1802, + "src": "407:25:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 912, + "id": 1564, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "407:7:4", + "referencedDeclaration": 1554, + "src": "407:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 913, + "id": 1565, "length": null, "nodeType": "ArrayTypeName", - "src": "407:9:4", + "src": "407:9:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage_ptr", "typeString": "contract Listing[]" } }, @@ -3599,26 +3599,26 @@ }, { "body": { - "id": 922, + "id": 1574, "nodeType": "Block", - "src": "512:81:4", + "src": "512:81:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 920, + "id": 1572, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 917, + "id": 1569, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 911, - "src": "567:5:4", + "referencedDeclaration": 1563, + "src": "567:5:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3630,18 +3630,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 918, + "id": 1570, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "575:3:4", + "referencedDeclaration": 1965, + "src": "575:3:5", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 919, + "id": 1571, "isConstant": false, "isLValue": false, "isPure": false, @@ -3649,26 +3649,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "575:10:4", + "src": "575:10:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "567:18:4", + "src": "567:18:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 921, + "id": 1573, "nodeType": "ExpressionStatement", - "src": "567:18:4" + "src": "567:18:5" } ] }, "documentation": null, - "id": 923, + "id": 1575, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -3676,47 +3676,47 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 1567, "nodeType": "ParameterList", "parameters": [], - "src": "490:2:4" + "src": "490:2:5" }, "payable": false, "returnParameters": { - "id": 916, + "id": 1568, "nodeType": "ParameterList", "parameters": [], - "src": "512:0:4" + "src": "512:0:5" }, - "scope": 1150, - "src": "479:114:4", + "scope": 1802, + "src": "479:114:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 931, + "id": 1583, "nodeType": "Block", - "src": "740:41:4", + "src": "740:41:5", "statements": [ { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 928, + "id": 1580, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "758:8:4", + "referencedDeclaration": 1566, + "src": "758:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 929, + "id": 1581, "isConstant": false, "isLValue": true, "isPure": false, @@ -3724,21 +3724,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "758:15:4", + "src": "758:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 927, - "id": 930, + "functionReturnParameters": 1579, + "id": 1582, "nodeType": "Return", - "src": "751:22:4" + "src": "751:22:5" } ] }, "documentation": "@dev listingsLength(): Return number of listings\r", - "id": 932, + "id": 1584, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3746,23 +3746,23 @@ "name": "listingsLength", "nodeType": "FunctionDefinition", "parameters": { - "id": 924, + "id": 1576, "nodeType": "ParameterList", "parameters": [], - "src": "680:2:4" + "src": "680:2:5" }, "payable": false, "returnParameters": { - "id": 927, + "id": 1579, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 926, + "id": 1578, "name": "", "nodeType": "VariableDeclaration", - "scope": 932, - "src": "729:4:4", + "scope": 1584, + "src": "729:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3770,10 +3770,10 @@ "typeString": "uint256" }, "typeName": { - "id": 925, + "id": 1577, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "729:4:4", + "src": "729:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3783,43 +3783,43 @@ "visibility": "internal" } ], - "src": "728:6:4" + "src": "728:6:5" }, - "scope": 1150, - "src": "657:124:4", + "scope": 1802, + "src": "657:124:5", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 940, + "id": 1592, "nodeType": "Block", - "src": "847:34:4", + "src": "847:34:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 938, + "id": 1590, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "865:8:4", + "referencedDeclaration": 1566, + "src": "865:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "functionReturnParameters": 937, - "id": 939, + "functionReturnParameters": 1589, + "id": 1591, "nodeType": "Return", - "src": "858:15:4" + "src": "858:15:5" } ] }, "documentation": null, - "id": 941, + "id": 1593, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -3827,48 +3827,48 @@ "name": "getListings", "nodeType": "FunctionDefinition", "parameters": { - "id": 933, + "id": 1585, "nodeType": "ParameterList", "parameters": [], - "src": "813:2:4" + "src": "813:2:5" }, "payable": false, "returnParameters": { - "id": 937, + "id": 1589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 936, + "id": 1588, "name": "", "nodeType": "VariableDeclaration", - "scope": 941, - "src": "837:9:4", + "scope": 1593, + "src": "837:9:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory_ptr", "typeString": "contract Listing[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 934, + "id": 1586, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "837:7:4", + "referencedDeclaration": 1554, + "src": "837:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 935, + "id": 1587, "length": null, "nodeType": "ArrayTypeName", - "src": "837:9:4", + "src": "837:9:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage_ptr", "typeString": "contract Listing[]" } }, @@ -3876,19 +3876,19 @@ "visibility": "internal" } ], - "src": "836:11:4" + "src": "836:11:5" }, - "scope": 1150, - "src": "793:88:4", + "scope": 1802, + "src": "793:88:5", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 995, + "id": 1647, "nodeType": "Block", - "src": "1158:581:4", + "src": "1158:581:5", "statements": [ { "expression": { @@ -3898,26 +3898,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 960, + "id": 1612, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1442:8:4", + "referencedDeclaration": 1566, + "src": "1442:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 962, + "id": 1614, "indexExpression": { "argumentTypes": null, - "id": 961, + "id": 1613, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1451:6:4", + "referencedDeclaration": 1595, + "src": "1451:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3928,9 +3928,9 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1442:16:4", + "src": "1442:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -3943,26 +3943,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 963, + "id": 1615, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1471:8:4", + "referencedDeclaration": 1566, + "src": "1471:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 965, + "id": 1617, "indexExpression": { "argumentTypes": null, - "id": 964, + "id": 1616, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1480:6:4", + "referencedDeclaration": 1595, + "src": "1480:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3973,27 +3973,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1471:16:4", + "src": "1471:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 966, + "id": 1618, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 709, - "src": "1471:22:4", + "referencedDeclaration": 1361, + "src": "1471:22:5", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", "typeString": "function () view external returns (address)" } }, - "id": 967, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -4001,7 +4001,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1471:24:4", + "src": "1471:24:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4016,26 +4016,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 968, + "id": 1620, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1508:8:4", + "referencedDeclaration": 1566, + "src": "1508:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 970, + "id": 1622, "indexExpression": { "argumentTypes": null, - "id": 969, + "id": 1621, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1517:6:4", + "referencedDeclaration": 1595, + "src": "1517:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4046,27 +4046,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1508:16:4", + "src": "1508:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 971, + "id": 1623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ipfsHash", "nodeType": "MemberAccess", - "referencedDeclaration": 713, - "src": "1508:25:4", + "referencedDeclaration": 1365, + "src": "1508:25:5", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$", "typeString": "function () view external returns (bytes32)" } }, - "id": 972, + "id": 1624, "isConstant": false, "isLValue": false, "isPure": false, @@ -4074,7 +4074,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1508:27:4", + "src": "1508:27:5", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4089,26 +4089,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 973, + "id": 1625, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1548:8:4", + "referencedDeclaration": 1566, + "src": "1548:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 975, + "id": 1627, "indexExpression": { "argumentTypes": null, - "id": 974, + "id": 1626, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1557:6:4", + "referencedDeclaration": 1595, + "src": "1557:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4119,27 +4119,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1548:16:4", + "src": "1548:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 976, + "id": 1628, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "workingHours", "nodeType": "MemberAccess", - "referencedDeclaration": 715, - "src": "1548:29:4", + "referencedDeclaration": 1367, + "src": "1548:29:5", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 977, + "id": 1629, "isConstant": false, "isLValue": false, "isPure": false, @@ -4147,7 +4147,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1548:31:4", + "src": "1548:31:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4162,26 +4162,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 978, + "id": 1630, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1592:8:4", + "referencedDeclaration": 1566, + "src": "1592:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 980, + "id": 1632, "indexExpression": { "argumentTypes": null, - "id": 979, + "id": 1631, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1601:6:4", + "referencedDeclaration": 1595, + "src": "1601:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4192,27 +4192,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1592:16:4", + "src": "1592:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 981, + "id": 1633, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "resourceType", "nodeType": "MemberAccess", - "referencedDeclaration": 717, - "src": "1592:29:4", + "referencedDeclaration": 1369, + "src": "1592:29:5", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 982, + "id": 1634, "isConstant": false, "isLValue": false, "isPure": false, @@ -4220,7 +4220,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1592:31:4", + "src": "1592:31:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4235,26 +4235,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 983, + "id": 1635, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1636:8:4", + "referencedDeclaration": 1566, + "src": "1636:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 985, + "id": 1637, "indexExpression": { "argumentTypes": null, - "id": 984, + "id": 1636, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1645:6:4", + "referencedDeclaration": 1595, + "src": "1645:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4265,27 +4265,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1636:16:4", + "src": "1636:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 986, + "id": 1638, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "resourceRate", "nodeType": "MemberAccess", - "referencedDeclaration": 719, - "src": "1636:29:4", + "referencedDeclaration": 1371, + "src": "1636:29:5", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 987, + "id": 1639, "isConstant": false, "isLValue": false, "isPure": false, @@ -4293,7 +4293,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1636:31:4", + "src": "1636:31:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4308,26 +4308,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 988, + "id": 1640, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1680:8:4", + "referencedDeclaration": 1566, + "src": "1680:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 990, + "id": 1642, "indexExpression": { "argumentTypes": null, - "id": 989, + "id": 1641, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 943, - "src": "1689:6:4", + "referencedDeclaration": 1595, + "src": "1689:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4338,27 +4338,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1680:16:4", + "src": "1680:16:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 991, + "id": 1643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "totalResourceRequired", "nodeType": "MemberAccess", - "referencedDeclaration": 721, - "src": "1680:38:4", + "referencedDeclaration": 1373, + "src": "1680:38:5", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 992, + "id": 1644, "isConstant": false, "isLValue": false, "isPure": false, @@ -4366,35 +4366,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1680:40:4", + "src": "1680:40:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 993, + "id": 1645, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "1429:302:4", + "src": "1429:302:5", "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_contract$_Listing_$902_$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", + "typeIdentifier": "t_tuple$_t_contract$_Listing_$1554_$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$", "typeString": "tuple(contract Listing,address,bytes32,uint256,uint256,uint256,uint256)" } }, - "functionReturnParameters": 959, - "id": 994, + "functionReturnParameters": 1611, + "id": 1646, "nodeType": "Return", - "src": "1422:309:4" + "src": "1422:309:5" } ] }, "documentation": "@dev getListing(): Return listing info for a given listing\r\n @param _index the index of the listing we want info about\r", - "id": 996, + "id": 1648, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4402,16 +4402,16 @@ "name": "getListing", "nodeType": "FunctionDefinition", "parameters": { - "id": 944, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 943, + "id": 1595, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1044:11:4", + "scope": 1648, + "src": "1044:11:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4419,10 +4419,10 @@ "typeString": "uint256" }, "typeName": { - "id": 942, + "id": 1594, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1044:4:4", + "src": "1044:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4432,35 +4432,35 @@ "visibility": "internal" } ], - "src": "1043:13:4" + "src": "1043:13:5" }, "payable": false, "returnParameters": { - "id": 959, + "id": 1611, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 946, + "id": 1598, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1103:7:4", + "scope": 1648, + "src": "1103:7:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" }, "typeName": { "contractScope": null, - "id": 945, + "id": 1597, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "1103:7:4", + "referencedDeclaration": 1554, + "src": "1103:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -4469,11 +4469,11 @@ }, { "constant": false, - "id": 948, + "id": 1600, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1112:7:4", + "scope": 1648, + "src": "1112:7:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4481,10 +4481,10 @@ "typeString": "address" }, "typeName": { - "id": 947, + "id": 1599, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1112:7:4", + "src": "1112:7:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4495,11 +4495,11 @@ }, { "constant": false, - "id": 950, + "id": 1602, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1121:7:4", + "scope": 1648, + "src": "1121:7:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4507,10 +4507,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 949, + "id": 1601, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "1121:7:4", + "src": "1121:7:5", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4521,11 +4521,11 @@ }, { "constant": false, - "id": 952, + "id": 1604, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1130:4:4", + "scope": 1648, + "src": "1130:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4533,10 +4533,10 @@ "typeString": "uint256" }, "typeName": { - "id": 951, + "id": 1603, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1130:4:4", + "src": "1130:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4547,11 +4547,11 @@ }, { "constant": false, - "id": 954, + "id": 1606, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1136:4:4", + "scope": 1648, + "src": "1136:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4559,10 +4559,10 @@ "typeString": "uint256" }, "typeName": { - "id": 953, + "id": 1605, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1136:4:4", + "src": "1136:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4573,11 +4573,11 @@ }, { "constant": false, - "id": 956, + "id": 1608, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1141:4:4", + "scope": 1648, + "src": "1141:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4585,10 +4585,10 @@ "typeString": "uint256" }, "typeName": { - "id": 955, + "id": 1607, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1141:4:4", + "src": "1141:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4599,11 +4599,11 @@ }, { "constant": false, - "id": 958, + "id": 1610, "name": "", "nodeType": "VariableDeclaration", - "scope": 996, - "src": "1147:4:4", + "scope": 1648, + "src": "1147:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4611,10 +4611,10 @@ "typeString": "uint256" }, "typeName": { - "id": 957, + "id": 1609, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1147:4:4", + "src": "1147:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4624,32 +4624,32 @@ "visibility": "internal" } ], - "src": "1102:50:4" + "src": "1102:50:5" }, - "scope": 1150, - "src": "1024:715:4", + "scope": 1802, + "src": "1024:715:5", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1057, + "id": 1709, "nodeType": "Block", - "src": "1858:327:4", + "src": "1858:327:5", "statements": [ { "assignments": [ - 1007 + 1659 ], "declarations": [ { "constant": false, - "id": 1007, + "id": 1659, "name": "length", "nodeType": "VariableDeclaration", - "scope": 1058, - "src": "1869:14:4", + "scope": 1710, + "src": "1869:14:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4657,10 +4657,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1006, + "id": 1658, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1869:7:4", + "src": "1869:7:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4670,22 +4670,22 @@ "visibility": "internal" } ], - "id": 1009, + "id": 1661, "initialValue": { "argumentTypes": null, - "id": 1008, + "id": 1660, "name": "howMany", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1000, - "src": "1886:7:4", + "referencedDeclaration": 1652, + "src": "1886:7:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "1869:24:4" + "src": "1869:24:5" }, { "condition": { @@ -4694,19 +4694,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1015, + "id": 1667, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1010, + "id": 1662, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1007, - "src": "1908:6:4", + "referencedDeclaration": 1659, + "src": "1908:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4720,7 +4720,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1014, + "id": 1666, "isConstant": false, "isLValue": false, "isPure": false, @@ -4729,18 +4729,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1011, + "id": 1663, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1917:8:4", + "referencedDeclaration": 1566, + "src": "1917:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1012, + "id": 1664, "isConstant": false, "isLValue": true, "isPure": false, @@ -4748,7 +4748,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1917:15:4", + "src": "1917:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4758,54 +4758,54 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 1013, + "id": 1665, "name": "cursor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 998, - "src": "1935:6:4", + "referencedDeclaration": 1650, + "src": "1935:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1917:24:4", + "src": "1917:24:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1908:33:4", + "src": "1908:33:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1024, + "id": 1676, "nodeType": "IfStatement", - "src": "1904:99:4", + "src": "1904:99:5", "trueBody": { - "id": 1023, + "id": 1675, "nodeType": "Block", - "src": "1943:60:4", + "src": "1943:60:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 1021, + "id": 1673, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1016, + "id": 1668, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1007, - "src": "1958:6:4", + "referencedDeclaration": 1659, + "src": "1958:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4819,7 +4819,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1020, + "id": 1672, "isConstant": false, "isLValue": false, "isPure": false, @@ -4828,18 +4828,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1017, + "id": 1669, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "1967:8:4", + "referencedDeclaration": 1566, + "src": "1967:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1018, + "id": 1670, "isConstant": false, "isLValue": true, "isPure": false, @@ -4847,7 +4847,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1967:15:4", + "src": "1967:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4857,32 +4857,32 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 1019, + "id": 1671, "name": "cursor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 998, - "src": "1985:6:4", + "referencedDeclaration": 1650, + "src": "1985:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1967:24:4", + "src": "1967:24:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1958:33:4", + "src": "1958:33:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1022, + "id": 1674, "nodeType": "ExpressionStatement", - "src": "1958:33:4" + "src": "1958:33:5" } ] } @@ -4890,21 +4890,21 @@ { "expression": { "argumentTypes": null, - "id": 1031, + "id": 1683, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1025, + "id": 1677, "name": "values", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1004, - "src": "2015:6:4", + "referencedDeclaration": 1656, + "src": "2015:6:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, @@ -4915,12 +4915,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1029, + "id": 1681, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1007, - "src": "2038:6:4", + "referencedDeclaration": 1659, + "src": "2038:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4934,41 +4934,41 @@ "typeString": "uint256" } ], - "id": 1028, + "id": 1680, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "2024:13:4", + "src": "2024:13:5", "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_contract$_Listing_$902_$dyn_memory_$", + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_contract$_Listing_$1554_$dyn_memory_$", "typeString": "function (uint256) pure returns (contract Listing[] memory)" }, "typeName": { "baseType": { "contractScope": null, - "id": 1026, + "id": 1678, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "2028:7:4", + "referencedDeclaration": 1554, + "src": "2028:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 1027, + "id": 1679, "length": null, "nodeType": "ArrayTypeName", - "src": "2028:9:4", + "src": "2028:9:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage_ptr", "typeString": "contract Listing[]" } } }, - "id": 1030, + "id": 1682, "isConstant": false, "isLValue": false, "isPure": false, @@ -4976,32 +4976,32 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2024:21:4", + "src": "2024:21:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory", "typeString": "contract Listing[] memory" } }, - "src": "2015:30:4", + "src": "2015:30:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, - "id": 1032, + "id": 1684, "nodeType": "ExpressionStatement", - "src": "2015:30:4" + "src": "2015:30:5" }, { "body": { - "id": 1053, + "id": 1705, "nodeType": "Block", - "src": "2093:59:4", + "src": "2093:59:5", "statements": [ { "expression": { "argumentTypes": null, - "id": 1051, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, @@ -5010,26 +5010,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1043, + "id": 1695, "name": "values", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1004, - "src": "2108:6:4", + "referencedDeclaration": 1656, + "src": "2108:6:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, - "id": 1045, + "id": 1697, "indexExpression": { "argumentTypes": null, - "id": 1044, + "id": 1696, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1034, - "src": "2115:1:4", + "referencedDeclaration": 1686, + "src": "2115:1:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5040,9 +5040,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2108:9:4", + "src": "2108:9:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, @@ -5052,37 +5052,37 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1046, + "id": 1698, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "2120:8:4", + "referencedDeclaration": 1566, + "src": "2120:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1050, + "id": 1702, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1049, + "id": 1701, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1047, + "id": 1699, "name": "cursor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 998, - "src": "2129:6:4", + "referencedDeclaration": 1650, + "src": "2129:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5092,18 +5092,18 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 1048, + "id": 1700, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1034, - "src": "2138:1:4", + "referencedDeclaration": 1686, + "src": "2138:1:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2129:10:4", + "src": "2129:10:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5114,21 +5114,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2120:20:4", + "src": "2120:20:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "src": "2108:32:4", + "src": "2108:32:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 1052, + "id": 1704, "nodeType": "ExpressionStatement", - "src": "2108:32:4" + "src": "2108:32:5" } ] }, @@ -5138,19 +5138,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1039, + "id": 1691, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1037, + "id": 1689, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1034, - "src": "2076:1:4", + "referencedDeclaration": 1686, + "src": "2076:1:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5160,36 +5160,36 @@ "operator": "<", "rightExpression": { "argumentTypes": null, - "id": 1038, + "id": 1690, "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1007, - "src": "2080:6:4", + "referencedDeclaration": 1659, + "src": "2080:6:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2076:10:4", + "src": "2076:10:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1054, + "id": 1706, "initializationExpression": { "assignments": [ - 1034 + 1686 ], "declarations": [ { "constant": false, - "id": 1034, + "id": 1686, "name": "i", "nodeType": "VariableDeclaration", - "scope": 1058, - "src": "2061:9:4", + "scope": 1710, + "src": "2061:9:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5197,10 +5197,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1033, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2061:7:4", + "src": "2061:7:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5210,18 +5210,18 @@ "visibility": "internal" } ], - "id": 1036, + "id": 1688, "initialValue": { "argumentTypes": null, "hexValue": "30", - "id": 1035, + "id": 1687, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2073:1:4", + "src": "2073:1:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -5230,12 +5230,12 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "2061:13:4" + "src": "2061:13:5" }, "loopExpression": { "expression": { "argumentTypes": null, - "id": 1041, + "id": 1693, "isConstant": false, "isLValue": false, "isPure": false, @@ -5243,15 +5243,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "2088:3:4", + "src": "2088:3:5", "subExpression": { "argumentTypes": null, - "id": 1040, + "id": 1692, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1034, - "src": "2088:1:4", + "referencedDeclaration": 1686, + "src": "2088:1:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5262,36 +5262,36 @@ "typeString": "uint256" } }, - "id": 1042, + "id": 1694, "nodeType": "ExpressionStatement", - "src": "2088:3:4" + "src": "2088:3:5" }, "nodeType": "ForStatement", - "src": "2056:96:4" + "src": "2056:96:5" }, { "expression": { "argumentTypes": null, - "id": 1055, + "id": 1707, "name": "values", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1004, - "src": "2171:6:4", + "referencedDeclaration": 1656, + "src": "2171:6:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory_ptr", "typeString": "contract Listing[] memory" } }, - "functionReturnParameters": 1005, - "id": 1056, + "functionReturnParameters": 1657, + "id": 1708, "nodeType": "Return", - "src": "2164:13:4" + "src": "2164:13:5" } ] }, "documentation": null, - "id": 1058, + "id": 1710, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -5299,16 +5299,16 @@ "name": "fetchPage", "nodeType": "FunctionDefinition", "parameters": { - "id": 1001, + "id": 1653, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 998, + "id": 1650, "name": "cursor", "nodeType": "VariableDeclaration", - "scope": 1058, - "src": "1766:14:4", + "scope": 1710, + "src": "1766:14:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5316,10 +5316,10 @@ "typeString": "uint256" }, "typeName": { - "id": 997, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1766:7:4", + "src": "1766:7:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5330,11 +5330,11 @@ }, { "constant": false, - "id": 1000, + "id": 1652, "name": "howMany", "nodeType": "VariableDeclaration", - "scope": 1058, - "src": "1782:15:4", + "scope": 1710, + "src": "1782:15:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5342,10 +5342,10 @@ "typeString": "uint256" }, "typeName": { - "id": 999, + "id": 1651, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1782:7:4", + "src": "1782:7:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5355,45 +5355,45 @@ "visibility": "internal" } ], - "src": "1765:33:4" + "src": "1765:33:5" }, "payable": false, "returnParameters": { - "id": 1005, + "id": 1657, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1004, + "id": 1656, "name": "values", "nodeType": "VariableDeclaration", - "scope": 1058, - "src": "1835:16:4", + "scope": 1710, + "src": "1835:16:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_memory_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_memory_ptr", "typeString": "contract Listing[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 1002, + "id": 1654, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "1835:7:4", + "referencedDeclaration": 1554, + "src": "1835:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } }, - "id": 1003, + "id": 1655, "length": null, "nodeType": "ArrayTypeName", - "src": "1835:9:4", + "src": "1835:9:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage_ptr", "typeString": "contract Listing[]" } }, @@ -5401,19 +5401,19 @@ "visibility": "internal" } ], - "src": "1834:18:4" + "src": "1834:18:5" }, - "scope": 1150, - "src": "1747:438:4", + "scope": 1802, + "src": "1747:438:5", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1098, + "id": 1750, "nodeType": "Block", - "src": "3085:213:4", + "src": "3085:213:5", "statements": [ { "expression": { @@ -5426,18 +5426,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1078, + "id": 1730, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "3122:3:4", + "referencedDeclaration": 1965, + "src": "3122:3:5", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1079, + "id": 1731, "isConstant": false, "isLValue": false, "isPure": false, @@ -5445,7 +5445,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3122:10:4", + "src": "3122:10:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5453,12 +5453,12 @@ }, { "argumentTypes": null, - "id": 1080, + "id": 1732, "name": "_ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1060, - "src": "3134:9:4", + "referencedDeclaration": 1712, + "src": "3134:9:5", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -5466,12 +5466,12 @@ }, { "argumentTypes": null, - "id": 1081, + "id": 1733, "name": "_workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1062, - "src": "3145:13:4", + "referencedDeclaration": 1714, + "src": "3145:13:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5479,12 +5479,12 @@ }, { "argumentTypes": null, - "id": 1082, + "id": 1734, "name": "_resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1064, - "src": "3160:13:4", + "referencedDeclaration": 1716, + "src": "3160:13:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5492,12 +5492,12 @@ }, { "argumentTypes": null, - "id": 1083, + "id": 1735, "name": "_resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1066, - "src": "3174:13:4", + "referencedDeclaration": 1718, + "src": "3174:13:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5505,12 +5505,12 @@ }, { "argumentTypes": null, - "id": 1084, + "id": 1736, "name": "_totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1068, - "src": "3188:22:4", + "referencedDeclaration": 1720, + "src": "3188:22:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5544,31 +5544,31 @@ "typeString": "uint256" } ], - "id": 1077, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "3110:11:4", + "src": "3110:11:5", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$902_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$1554_$", "typeString": "function (address,bytes32,uint256,uint256,uint256,uint256) returns (contract Listing)" }, "typeName": { "contractScope": null, - "id": 1076, + "id": 1728, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "3114:7:4", + "referencedDeclaration": 1554, + "src": "3114:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } } }, - "id": 1085, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": false, @@ -5576,9 +5576,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3110:101:4", + "src": "3110:101:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } } @@ -5586,24 +5586,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } ], "expression": { "argumentTypes": null, - "id": 1073, + "id": 1725, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "3096:8:4", + "referencedDeclaration": 1566, + "src": "3096:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1075, + "id": 1727, "isConstant": false, "isLValue": false, "isPure": false, @@ -5611,13 +5611,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3096:13:4", + "src": "3096:13:5", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$902_$returns$_t_uint256_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$1554_$returns$_t_uint256_$", "typeString": "function (contract Listing) returns (uint256)" } }, - "id": 1086, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, @@ -5625,15 +5625,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3096:116:4", + "src": "3096:116:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1087, + "id": 1739, "nodeType": "ExpressionStatement", - "src": "3096:116:4" + "src": "3096:116:5" }, { "eventCall": { @@ -5645,7 +5645,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1092, + "id": 1744, "isConstant": false, "isLValue": false, "isPure": false, @@ -5654,18 +5654,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1089, + "id": 1741, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "3239:8:4", + "referencedDeclaration": 1566, + "src": "3239:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1090, + "id": 1742, "isConstant": false, "isLValue": true, "isPure": false, @@ -5673,7 +5673,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3239:15:4", + "src": "3239:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5684,14 +5684,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1091, + "id": 1743, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3255:1:4", + "src": "3255:1:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -5699,7 +5699,7 @@ }, "value": "1" }, - "src": "3239:17:4", + "src": "3239:17:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5713,18 +5713,18 @@ "typeString": "uint256" } ], - "id": 1088, + "id": 1740, "name": "NewListing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 909, - "src": "3228:10:4", + "referencedDeclaration": 1561, + "src": "3228:10:5", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 1093, + "id": 1745, "isConstant": false, "isLValue": false, "isPure": false, @@ -5732,33 +5732,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3228:29:4", + "src": "3228:29:5", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1094, + "id": 1746, "nodeType": "EmitStatement", - "src": "3223:34:4" + "src": "3223:34:5" }, { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1095, + "id": 1747, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "3275:8:4", + "referencedDeclaration": 1566, + "src": "3275:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1096, + "id": 1748, "isConstant": false, "isLValue": true, "isPure": false, @@ -5766,21 +5766,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3275:15:4", + "src": "3275:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1072, - "id": 1097, + "functionReturnParameters": 1724, + "id": 1749, "nodeType": "Return", - "src": "3268:22:4" + "src": "3268:22:5" } ] }, "documentation": "Sample Remix invocation:\r\n [\"0x01\",\"0x7d\",\"0xfd\",\"0x85\",\"0xd4\",\"0xf6\",\"0xcb\",\"0x4d\",\"0xcd\",\"0x71\",\"0x5a\",\"0x88\",\"0x10\",\"0x1f\",\"0x7b\",\"0x1f\",\"0x06\",\"0xcd\",\"0x1e\",\"0x00\",\"0x9b\",\"0x23\",\"0x27\",\"0xa0\",\"0x80\",\"0x9d\",\"0x01\",\"0xeb\",\"0x9c\",\"0x91\",\"0xf2\",\"0x31\"],\"3140000000000000000\",42\r", - "id": 1099, + "id": 1751, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -5788,16 +5788,16 @@ "name": "create", "nodeType": "FunctionDefinition", "parameters": { - "id": 1069, + "id": 1721, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1060, + "id": 1712, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 1099, - "src": "2894:17:4", + "scope": 1751, + "src": "2894:17:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5805,10 +5805,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1059, + "id": 1711, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "2894:7:4", + "src": "2894:7:5", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -5819,11 +5819,11 @@ }, { "constant": false, - "id": 1062, + "id": 1714, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 1099, - "src": "2922:18:4", + "scope": 1751, + "src": "2922:18:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5831,10 +5831,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1061, + "id": 1713, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2922:4:4", + "src": "2922:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5845,11 +5845,11 @@ }, { "constant": false, - "id": 1064, + "id": 1716, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 1099, - "src": "2951:18:4", + "scope": 1751, + "src": "2951:18:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5857,10 +5857,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1063, + "id": 1715, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2951:4:4", + "src": "2951:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5871,11 +5871,11 @@ }, { "constant": false, - "id": 1066, + "id": 1718, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 1099, - "src": "2980:18:4", + "scope": 1751, + "src": "2980:18:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5883,10 +5883,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1065, + "id": 1717, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2980:4:4", + "src": "2980:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5897,11 +5897,11 @@ }, { "constant": false, - "id": 1068, + "id": 1720, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 1099, - "src": "3009:27:4", + "scope": 1751, + "src": "3009:27:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5909,10 +5909,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1067, + "id": 1719, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3009:4:4", + "src": "3009:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5922,20 +5922,20 @@ "visibility": "internal" } ], - "src": "2883:160:4" + "src": "2883:160:5" }, "payable": false, "returnParameters": { - "id": 1072, + "id": 1724, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1071, + "id": 1723, "name": "", "nodeType": "VariableDeclaration", - "scope": 1099, - "src": "3074:4:4", + "scope": 1751, + "src": "3074:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5943,10 +5943,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1070, + "id": 1722, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3074:4:4", + "src": "3074:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5956,19 +5956,19 @@ "visibility": "internal" } ], - "src": "3073:6:4" + "src": "3073:6:5" }, - "scope": 1150, - "src": "2868:430:4", + "scope": 1802, + "src": "2868:430:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1148, + "id": 1800, "nodeType": "Block", - "src": "4035:294:4", + "src": "4035:294:5", "statements": [ { "expression": { @@ -5980,7 +5980,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1120, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -5989,18 +5989,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1117, + "id": 1769, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "4055:3:4", + "referencedDeclaration": 1965, + "src": "4055:3:5", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1118, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": false, @@ -6008,7 +6008,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4055:10:4", + "src": "4055:10:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6018,18 +6018,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1119, + "id": 1771, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 911, - "src": "4069:5:4", + "referencedDeclaration": 1563, + "src": "4069:5:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "4055:19:4", + "src": "4055:19:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6038,14 +6038,14 @@ { "argumentTypes": null, "hexValue": "4f6e6c792063616c6c61626c65206279207265676973747279206f776e6572", - "id": 1121, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4076:33:4", + "src": "4076:33:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_a20a2dd5a23f4821a72bf6d8995e30bd3c3d788da1cb47c7a01d91ed1e1d92b0", @@ -6065,21 +6065,21 @@ "typeString": "literal_string \"Only callable by registry owner\"" } ], - "id": 1116, + "id": 1768, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 1225, - 1226 + 1968, + 1969 ], - "referencedDeclaration": 1226, - "src": "4046:7:4", + "referencedDeclaration": 1969, + "src": "4046:7:5", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1122, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -6087,15 +6087,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4046:64:4", + "src": "4046:64:5", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1123, + "id": 1775, "nodeType": "ExpressionStatement", - "src": "4046:64:4" + "src": "4046:64:5" }, { "expression": { @@ -6106,12 +6106,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1129, + "id": 1781, "name": "_creatorAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1111, - "src": "4147:15:4", + "referencedDeclaration": 1763, + "src": "4147:15:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6119,12 +6119,12 @@ }, { "argumentTypes": null, - "id": 1130, + "id": 1782, "name": "_ipfsHash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1101, - "src": "4165:9:4", + "referencedDeclaration": 1753, + "src": "4165:9:5", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -6132,12 +6132,12 @@ }, { "argumentTypes": null, - "id": 1131, + "id": 1783, "name": "_workingHours", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1103, - "src": "4176:13:4", + "referencedDeclaration": 1755, + "src": "4176:13:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6145,12 +6145,12 @@ }, { "argumentTypes": null, - "id": 1132, + "id": 1784, "name": "_resourceType", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1105, - "src": "4191:13:4", + "referencedDeclaration": 1757, + "src": "4191:13:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6158,12 +6158,12 @@ }, { "argumentTypes": null, - "id": 1133, + "id": 1785, "name": "_resourceRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1107, - "src": "4205:13:4", + "referencedDeclaration": 1759, + "src": "4205:13:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6171,12 +6171,12 @@ }, { "argumentTypes": null, - "id": 1134, + "id": 1786, "name": "_totalResourceRequired", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1109, - "src": "4219:22:4", + "referencedDeclaration": 1761, + "src": "4219:22:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6210,31 +6210,31 @@ "typeString": "uint256" } ], - "id": 1128, + "id": 1780, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "4135:11:4", + "src": "4135:11:5", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$902_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_bytes32_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_contract$_Listing_$1554_$", "typeString": "function (address,bytes32,uint256,uint256,uint256,uint256) returns (contract Listing)" }, "typeName": { "contractScope": null, - "id": 1127, + "id": 1779, "name": "Listing", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 902, - "src": "4139:7:4", + "referencedDeclaration": 1554, + "src": "4139:7:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } } }, - "id": 1135, + "id": 1787, "isConstant": false, "isLValue": false, "isPure": false, @@ -6242,9 +6242,9 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4135:107:4", + "src": "4135:107:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } } @@ -6252,24 +6252,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Listing_$902", + "typeIdentifier": "t_contract$_Listing_$1554", "typeString": "contract Listing" } ], "expression": { "argumentTypes": null, - "id": 1124, + "id": 1776, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "4121:8:4", + "referencedDeclaration": 1566, + "src": "4121:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1126, + "id": 1778, "isConstant": false, "isLValue": false, "isPure": false, @@ -6277,13 +6277,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4121:13:4", + "src": "4121:13:5", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$902_$returns$_t_uint256_$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_contract$_Listing_$1554_$returns$_t_uint256_$", "typeString": "function (contract Listing) returns (uint256)" } }, - "id": 1136, + "id": 1788, "isConstant": false, "isLValue": false, "isPure": false, @@ -6291,15 +6291,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4121:122:4", + "src": "4121:122:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1137, + "id": 1789, "nodeType": "ExpressionStatement", - "src": "4121:122:4" + "src": "4121:122:5" }, { "eventCall": { @@ -6311,7 +6311,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1142, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -6320,18 +6320,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1139, + "id": 1791, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "4270:8:4", + "referencedDeclaration": 1566, + "src": "4270:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1140, + "id": 1792, "isConstant": false, "isLValue": true, "isPure": false, @@ -6339,7 +6339,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4270:15:4", + "src": "4270:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6350,14 +6350,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1141, + "id": 1793, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "4286:1:4", + "src": "4286:1:5", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -6365,7 +6365,7 @@ }, "value": "1" }, - "src": "4270:17:4", + "src": "4270:17:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6379,18 +6379,18 @@ "typeString": "uint256" } ], - "id": 1138, + "id": 1790, "name": "NewListing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 909, - "src": "4259:10:4", + "referencedDeclaration": 1561, + "src": "4259:10:5", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 1143, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -6398,33 +6398,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4259:29:4", + "src": "4259:29:5", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1144, + "id": 1796, "nodeType": "EmitStatement", - "src": "4254:34:4" + "src": "4254:34:5" }, { "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1145, + "id": 1797, "name": "listings", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "4306:8:4", + "referencedDeclaration": 1566, + "src": "4306:8:5", "typeDescriptions": { - "typeIdentifier": "t_array$_t_contract$_Listing_$902_$dyn_storage", + "typeIdentifier": "t_array$_t_contract$_Listing_$1554_$dyn_storage", "typeString": "contract Listing[] storage ref" } }, - "id": 1146, + "id": 1798, "isConstant": false, "isLValue": true, "isPure": false, @@ -6432,21 +6432,21 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4306:15:4", + "src": "4306:15:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1115, - "id": 1147, + "functionReturnParameters": 1767, + "id": 1799, "nodeType": "Return", - "src": "4299:22:4" + "src": "4299:22:5" } ] }, "documentation": null, - "id": 1149, + "id": 1801, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -6454,16 +6454,16 @@ "name": "createOnBehalf", "nodeType": "FunctionDefinition", "parameters": { - "id": 1112, + "id": 1764, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1101, + "id": 1753, "name": "_ipfsHash", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "3810:17:4", + "scope": 1801, + "src": "3810:17:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6471,10 +6471,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1100, + "id": 1752, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "3810:7:4", + "src": "3810:7:5", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -6485,11 +6485,11 @@ }, { "constant": false, - "id": 1103, + "id": 1755, "name": "_workingHours", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "3838:18:4", + "scope": 1801, + "src": "3838:18:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6497,10 +6497,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1102, + "id": 1754, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3838:4:4", + "src": "3838:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6511,11 +6511,11 @@ }, { "constant": false, - "id": 1105, + "id": 1757, "name": "_resourceType", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "3867:18:4", + "scope": 1801, + "src": "3867:18:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6523,10 +6523,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1104, + "id": 1756, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3867:4:4", + "src": "3867:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6537,11 +6537,11 @@ }, { "constant": false, - "id": 1107, + "id": 1759, "name": "_resourceRate", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "3896:18:4", + "scope": 1801, + "src": "3896:18:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6549,10 +6549,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1106, + "id": 1758, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3896:4:4", + "src": "3896:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6563,11 +6563,11 @@ }, { "constant": false, - "id": 1109, + "id": 1761, "name": "_totalResourceRequired", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "3925:27:4", + "scope": 1801, + "src": "3925:27:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6575,10 +6575,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1108, + "id": 1760, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3925:4:4", + "src": "3925:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6589,11 +6589,11 @@ }, { "constant": false, - "id": 1111, + "id": 1763, "name": "_creatorAddress", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "3963:23:4", + "scope": 1801, + "src": "3963:23:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6601,10 +6601,10 @@ "typeString": "address" }, "typeName": { - "id": 1110, + "id": 1762, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3963:7:4", + "src": "3963:7:5", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6614,20 +6614,20 @@ "visibility": "internal" } ], - "src": "3799:194:4" + "src": "3799:194:5" }, "payable": false, "returnParameters": { - "id": 1115, + "id": 1767, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1114, + "id": 1766, "name": "", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "4024:4:4", + "scope": 1801, + "src": "4024:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6635,10 +6635,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1113, + "id": 1765, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4024:4:4", + "src": "4024:4:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6648,20 +6648,20 @@ "visibility": "internal" } ], - "src": "4023:6:4" + "src": "4023:6:5" }, - "scope": 1150, - "src": "3776:553:4", + "scope": 1802, + "src": "3776:553:5", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 1151, - "src": "199:4133:4" + "scope": 1803, + "src": "199:4133:5" } ], - "src": "0:4332:4" + "src": "0:4332:5" }, "compiler": { "name": "solc", @@ -6681,8 +6681,8 @@ "links": { "JobApplicationLibrary": "0xf12b5dd4ead5f743c6baa640b0216200e89b60da" }, - "address": "0x345ca3e014aaf5dca488057592ee47305d9b3e10", - "transactionHash": "0x090ba7bea96856c6df19151d25bc89d69af2ea78b96bf6d1f59ff20fe09d4ead" + "address": "0xf25186b5081ff5ce73482ad761db0eb0d25abfbf", + "transactionHash": "0xd1cf5c1c16f75ed2db2f68a4e48f97547141d9643109448b2f253c0f86a1d287" }, "1538849010791": { "events": {}, @@ -6710,5 +6710,5 @@ } }, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-13T10:09:32.999Z" + "updatedAt": "2018-10-18T13:43:19.567Z" } \ No newline at end of file diff --git a/ethereum/build/contracts/Migrations.json b/ethereum/build/contracts/Migrations.json index 99f9748..e52d6e5 100644 --- a/ethereum/build/contracts/Migrations.json +++ b/ethereum/build/contracts/Migrations.json @@ -64,24 +64,24 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b5060008054600160a060020a0319163317905561023c806100326000396000f3006080604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630900f0108114610066578063445df0ac146100965780638da5cb5b146100bd578063fdacd576146100fb575b600080fd5b34801561007257600080fd5b5061009473ffffffffffffffffffffffffffffffffffffffff60043516610113565b005b3480156100a257600080fd5b506100ab6101c5565b60408051918252519081900360200190f35b3480156100c957600080fd5b506100d26101cb565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561010757600080fd5b506100946004356101e7565b6000805473ffffffffffffffffffffffffffffffffffffffff163314156101c1578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b1580156101a857600080fd5b505af11580156101bc573d6000803e3d6000fd5b505050505b5050565b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1633141561020d5760018190555b505600a165627a7a72305820aef29d69b374dc09c4275531f53b19c93760377ed6a8f8e4d4b3cbc9ede7b3140029", - "deployedBytecode": "0x6080604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630900f0108114610066578063445df0ac146100965780638da5cb5b146100bd578063fdacd576146100fb575b600080fd5b34801561007257600080fd5b5061009473ffffffffffffffffffffffffffffffffffffffff60043516610113565b005b3480156100a257600080fd5b506100ab6101c5565b60408051918252519081900360200190f35b3480156100c957600080fd5b506100d26101cb565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561010757600080fd5b506100946004356101e7565b6000805473ffffffffffffffffffffffffffffffffffffffff163314156101c1578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b1580156101a857600080fd5b505af11580156101bc573d6000803e3d6000fd5b505050505b5050565b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1633141561020d5760018190555b505600a165627a7a72305820aef29d69b374dc09c4275531f53b19c93760377ed6a8f8e4d4b3cbc9ede7b3140029", - "sourceMap": "28:500:5:-;;;188:52;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;216:5:5;:18;;-1:-1:-1;;;;;;216:18:5;224:10;216:18;;;28:500;;;;;;", - "deployedSourceMap": "28:500:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;357:168;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;357:168:5;;;;;;;;;78:36;;8:9:-1;5:2;;;30:1;27;20:12;5:2;78:36:5;;;;;;;;;;;;;;;;;;;;53:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53:20:5;;;;;;;;;;;;;;;;;;;;;;;246:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;246:105:5;;;;;357:168;420:19;168:5;;;;154:10;:19;150:26;;;453:11;420:45;;472:8;:21;;;494:24;;472:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;472:47:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;472:47:5;;;;150:26;357:168;;:::o;78:36::-;;;;:::o;53:20::-;;;;;;:::o;246:105::-;168:5;;;;154:10;:19;150:26;;;309:24;:36;;;150:26;246:105;:::o", + "bytecode": "0x608060405234801561001057600080fd5b5060008054600160a060020a0319163317905561023c806100326000396000f3006080604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630900f0108114610066578063445df0ac146100965780638da5cb5b146100bd578063fdacd576146100fb575b600080fd5b34801561007257600080fd5b5061009473ffffffffffffffffffffffffffffffffffffffff60043516610113565b005b3480156100a257600080fd5b506100ab6101c5565b60408051918252519081900360200190f35b3480156100c957600080fd5b506100d26101cb565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561010757600080fd5b506100946004356101e7565b6000805473ffffffffffffffffffffffffffffffffffffffff163314156101c1578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b1580156101a857600080fd5b505af11580156101bc573d6000803e3d6000fd5b505050505b5050565b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1633141561020d5760018190555b505600a165627a7a72305820bd16cc52d8a37a1522da53bdc3a0d4402917b6796a17ab20ebda68cd1f3e3ecc0029", + "deployedBytecode": "0x6080604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630900f0108114610066578063445df0ac146100965780638da5cb5b146100bd578063fdacd576146100fb575b600080fd5b34801561007257600080fd5b5061009473ffffffffffffffffffffffffffffffffffffffff60043516610113565b005b3480156100a257600080fd5b506100ab6101c5565b60408051918252519081900360200190f35b3480156100c957600080fd5b506100d26101cb565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561010757600080fd5b506100946004356101e7565b6000805473ffffffffffffffffffffffffffffffffffffffff163314156101c1578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b1580156101a857600080fd5b505af11580156101bc573d6000803e3d6000fd5b505050505b5050565b60015481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1633141561020d5760018190555b505600a165627a7a72305820bd16cc52d8a37a1522da53bdc3a0d4402917b6796a17ab20ebda68cd1f3e3ecc0029", + "sourceMap": "28:500:7:-;;;188:52;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;216:5:7;:18;;-1:-1:-1;;;;;;216:18:7;224:10;216:18;;;28:500;;;;;;", + "deployedSourceMap": "28:500:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;357:168;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;357:168:7;;;;;;;;;78:36;;8:9:-1;5:2;;;30:1;27;20:12;5:2;78:36:7;;;;;;;;;;;;;;;;;;;;53:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53:20:7;;;;;;;;;;;;;;;;;;;;;;;246:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;246:105:7;;;;;357:168;420:19;168:5;;;;154:10;:19;150:26;;;453:11;420:45;;472:8;:21;;;494:24;;472:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;472:47:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;472:47:7;;;;150:26;357:168;;:::o;78:36::-;;;;:::o;53:20::-;;;;;;:::o;246:105::-;168:5;;;;154:10;:19;150:26;;;309:24;:36;;;150:26;246:105;:::o", "source": "pragma solidity ^0.4.24;\r\n\r\ncontract Migrations {\r\n address public owner;\r\n uint public last_completed_migration;\r\n\r\n modifier restricted() {\r\n if (msg.sender == owner) _;\r\n }\r\n\r\n constructor() public {\r\n owner = msg.sender;\r\n }\r\n\r\n function setCompleted(uint completed) public restricted {\r\n last_completed_migration = completed;\r\n }\r\n\r\n function upgrade(address new_address) public restricted {\r\n Migrations upgraded = Migrations(new_address);\r\n upgraded.setCompleted(last_completed_migration);\r\n }\r\n}\r\n", - "sourcePath": "D:\\Development\\HelloToken\\hellonetmarket\\ethereum\\contracts\\Migrations.sol", + "sourcePath": "C:\\i\\HT\\hellonetmarket\\ethereum\\contracts\\Migrations.sol", "ast": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Migrations.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Migrations.sol", "exportedSymbols": { "Migrations": [ - 1207 + 1950 ] }, - "id": 1208, + "id": 1951, "nodeType": "SourceUnit", "nodes": [ { - "id": 1152, + "id": 1895, "literals": [ "solidity", "^", @@ -89,7 +89,7 @@ ".24" ], "nodeType": "PragmaDirective", - "src": "0:24:5" + "src": "0:24:7" }, { "baseContracts": [], @@ -97,20 +97,20 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 1207, + "id": 1950, "linearizedBaseContracts": [ - 1207 + 1950 ], "name": "Migrations", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 1154, + "id": 1897, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1207, - "src": "53:20:5", + "scope": 1950, + "src": "53:20:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -118,10 +118,10 @@ "typeString": "address" }, "typeName": { - "id": 1153, + "id": 1896, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53:7:5", + "src": "53:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -132,11 +132,11 @@ }, { "constant": false, - "id": 1156, + "id": 1899, "name": "last_completed_migration", "nodeType": "VariableDeclaration", - "scope": 1207, - "src": "78:36:5", + "scope": 1950, + "src": "78:36:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -144,10 +144,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1155, + "id": 1898, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "78:4:5", + "src": "78:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -158,9 +158,9 @@ }, { "body": { - "id": 1164, + "id": 1907, "nodeType": "Block", - "src": "143:39:5", + "src": "143:39:7", "statements": [ { "condition": { @@ -169,7 +169,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1161, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -178,18 +178,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1158, + "id": 1901, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "154:3:5", + "referencedDeclaration": 1965, + "src": "154:3:7", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1159, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": false, @@ -197,7 +197,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "154:10:5", + "src": "154:10:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -207,70 +207,70 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1160, + "id": 1903, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "168:5:5", + "referencedDeclaration": 1897, + "src": "168:5:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "154:19:5", + "src": "154:19:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1163, + "id": 1906, "nodeType": "IfStatement", - "src": "150:26:5", + "src": "150:26:7", "trueBody": { - "id": 1162, + "id": 1905, "nodeType": "PlaceholderStatement", - "src": "175:1:5" + "src": "175:1:7" } } ] }, "documentation": null, - "id": 1165, + "id": 1908, "name": "restricted", "nodeType": "ModifierDefinition", "parameters": { - "id": 1157, + "id": 1900, "nodeType": "ParameterList", "parameters": [], - "src": "140:2:5" + "src": "140:2:7" }, - "src": "121:61:5", + "src": "121:61:7", "visibility": "internal" }, { "body": { - "id": 1173, + "id": 1916, "nodeType": "Block", - "src": "209:31:5", + "src": "209:31:7", "statements": [ { "expression": { "argumentTypes": null, - "id": 1171, + "id": 1914, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1168, + "id": 1911, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "216:5:5", + "referencedDeclaration": 1897, + "src": "216:5:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -282,18 +282,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1169, + "id": 1912, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "224:3:5", + "referencedDeclaration": 1965, + "src": "224:3:7", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1170, + "id": 1913, "isConstant": false, "isLValue": false, "isPure": false, @@ -301,26 +301,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "224:10:5", + "src": "224:10:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "216:18:5", + "src": "216:18:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1172, + "id": 1915, "nodeType": "ExpressionStatement", - "src": "216:18:5" + "src": "216:18:7" } ] }, "documentation": null, - "id": 1174, + "id": 1917, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -328,46 +328,46 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 1166, + "id": 1909, "nodeType": "ParameterList", "parameters": [], - "src": "199:2:5" + "src": "199:2:7" }, "payable": false, "returnParameters": { - "id": 1167, + "id": 1910, "nodeType": "ParameterList", "parameters": [], - "src": "209:0:5" + "src": "209:0:7" }, - "scope": 1207, - "src": "188:52:5", + "scope": 1950, + "src": "188:52:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1185, + "id": 1928, "nodeType": "Block", - "src": "302:49:5", + "src": "302:49:7", "statements": [ { "expression": { "argumentTypes": null, - "id": 1183, + "id": 1926, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1181, + "id": 1924, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1156, - "src": "309:24:5", + "referencedDeclaration": 1899, + "src": "309:24:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -377,68 +377,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1182, + "id": 1925, "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1176, - "src": "336:9:5", + "referencedDeclaration": 1919, + "src": "336:9:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "309:36:5", + "src": "309:36:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1184, + "id": 1927, "nodeType": "ExpressionStatement", - "src": "309:36:5" + "src": "309:36:7" } ] }, "documentation": null, - "id": 1186, + "id": 1929, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1179, + "id": 1922, "modifierName": { "argumentTypes": null, - "id": 1178, + "id": 1921, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1165, - "src": "291:10:5", + "referencedDeclaration": 1908, + "src": "291:10:7", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "291:10:5" + "src": "291:10:7" } ], "name": "setCompleted", "nodeType": "FunctionDefinition", "parameters": { - "id": 1177, + "id": 1920, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1176, + "id": 1919, "name": "completed", "nodeType": "VariableDeclaration", - "scope": 1186, - "src": "268:14:5", + "scope": 1929, + "src": "268:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -446,10 +446,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1175, + "id": 1918, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "268:4:5", + "src": "268:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -459,54 +459,54 @@ "visibility": "internal" } ], - "src": "267:16:5" + "src": "267:16:7" }, "payable": false, "returnParameters": { - "id": 1180, + "id": 1923, "nodeType": "ParameterList", "parameters": [], - "src": "302:0:5" + "src": "302:0:7" }, - "scope": 1207, - "src": "246:105:5", + "scope": 1950, + "src": "246:105:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1205, + "id": 1948, "nodeType": "Block", - "src": "413:112:5", + "src": "413:112:7", "statements": [ { "assignments": [ - 1194 + 1937 ], "declarations": [ { "constant": false, - "id": 1194, + "id": 1937, "name": "upgraded", "nodeType": "VariableDeclaration", - "scope": 1206, - "src": "420:19:5", + "scope": 1949, + "src": "420:19:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$1207", + "typeIdentifier": "t_contract$_Migrations_$1950", "typeString": "contract Migrations" }, "typeName": { "contractScope": null, - "id": 1193, + "id": 1936, "name": "Migrations", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1207, - "src": "420:10:5", + "referencedDeclaration": 1950, + "src": "420:10:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$1207", + "typeIdentifier": "t_contract$_Migrations_$1950", "typeString": "contract Migrations" } }, @@ -514,18 +514,18 @@ "visibility": "internal" } ], - "id": 1198, + "id": 1941, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1196, + "id": 1939, "name": "new_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1188, - "src": "453:11:5", + "referencedDeclaration": 1931, + "src": "453:11:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -539,18 +539,18 @@ "typeString": "address" } ], - "id": 1195, + "id": 1938, "name": "Migrations", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1207, - "src": "442:10:5", + "referencedDeclaration": 1950, + "src": "442:10:7", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Migrations_$1207_$", + "typeIdentifier": "t_type$_t_contract$_Migrations_$1950_$", "typeString": "type(contract Migrations)" } }, - "id": 1197, + "id": 1940, "isConstant": false, "isLValue": false, "isPure": false, @@ -558,14 +558,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "442:23:5", + "src": "442:23:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$1207", + "typeIdentifier": "t_contract$_Migrations_$1950", "typeString": "contract Migrations" } }, "nodeType": "VariableDeclarationStatement", - "src": "420:45:5" + "src": "420:45:7" }, { "expression": { @@ -573,12 +573,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1202, + "id": 1945, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1156, - "src": "494:24:5", + "referencedDeclaration": 1899, + "src": "494:24:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -594,32 +594,32 @@ ], "expression": { "argumentTypes": null, - "id": 1199, + "id": 1942, "name": "upgraded", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "472:8:5", + "referencedDeclaration": 1937, + "src": "472:8:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$1207", + "typeIdentifier": "t_contract$_Migrations_$1950", "typeString": "contract Migrations" } }, - "id": 1201, + "id": 1944, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "setCompleted", "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "472:21:5", + "referencedDeclaration": 1929, + "src": "472:21:7", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256) external" } }, - "id": 1203, + "id": 1946, "isConstant": false, "isLValue": false, "isPure": false, @@ -627,57 +627,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "472:47:5", + "src": "472:47:7", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1204, + "id": 1947, "nodeType": "ExpressionStatement", - "src": "472:47:5" + "src": "472:47:7" } ] }, "documentation": null, - "id": 1206, + "id": 1949, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1191, + "id": 1934, "modifierName": { "argumentTypes": null, - "id": 1190, + "id": 1933, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1165, - "src": "402:10:5", + "referencedDeclaration": 1908, + "src": "402:10:7", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "402:10:5" + "src": "402:10:7" } ], "name": "upgrade", "nodeType": "FunctionDefinition", "parameters": { - "id": 1189, + "id": 1932, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1188, + "id": 1931, "name": "new_address", "nodeType": "VariableDeclaration", - "scope": 1206, - "src": "374:19:5", + "scope": 1949, + "src": "374:19:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -685,10 +685,10 @@ "typeString": "address" }, "typeName": { - "id": 1187, + "id": 1930, "name": "address", "nodeType": "ElementaryTypeName", - "src": "374:7:5", + "src": "374:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -698,40 +698,40 @@ "visibility": "internal" } ], - "src": "373:21:5" + "src": "373:21:7" }, "payable": false, "returnParameters": { - "id": 1192, + "id": 1935, "nodeType": "ParameterList", "parameters": [], - "src": "413:0:5" + "src": "413:0:7" }, - "scope": 1207, - "src": "357:168:5", + "scope": 1950, + "src": "357:168:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 1208, - "src": "28:500:5" + "scope": 1951, + "src": "28:500:7" } ], - "src": "0:530:5" + "src": "0:530:7" }, "legacyAST": { - "absolutePath": "/D/Development/HelloToken/hellonetmarket/ethereum/contracts/Migrations.sol", + "absolutePath": "/C/i/HT/hellonetmarket/ethereum/contracts/Migrations.sol", "exportedSymbols": { "Migrations": [ - 1207 + 1950 ] }, - "id": 1208, + "id": 1951, "nodeType": "SourceUnit", "nodes": [ { - "id": 1152, + "id": 1895, "literals": [ "solidity", "^", @@ -739,7 +739,7 @@ ".24" ], "nodeType": "PragmaDirective", - "src": "0:24:5" + "src": "0:24:7" }, { "baseContracts": [], @@ -747,20 +747,20 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 1207, + "id": 1950, "linearizedBaseContracts": [ - 1207 + 1950 ], "name": "Migrations", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 1154, + "id": 1897, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1207, - "src": "53:20:5", + "scope": 1950, + "src": "53:20:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -768,10 +768,10 @@ "typeString": "address" }, "typeName": { - "id": 1153, + "id": 1896, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53:7:5", + "src": "53:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -782,11 +782,11 @@ }, { "constant": false, - "id": 1156, + "id": 1899, "name": "last_completed_migration", "nodeType": "VariableDeclaration", - "scope": 1207, - "src": "78:36:5", + "scope": 1950, + "src": "78:36:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -794,10 +794,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1155, + "id": 1898, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "78:4:5", + "src": "78:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -808,9 +808,9 @@ }, { "body": { - "id": 1164, + "id": 1907, "nodeType": "Block", - "src": "143:39:5", + "src": "143:39:7", "statements": [ { "condition": { @@ -819,7 +819,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1161, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -828,18 +828,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1158, + "id": 1901, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "154:3:5", + "referencedDeclaration": 1965, + "src": "154:3:7", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1159, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": false, @@ -847,7 +847,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "154:10:5", + "src": "154:10:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -857,70 +857,70 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1160, + "id": 1903, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "168:5:5", + "referencedDeclaration": 1897, + "src": "168:5:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "154:19:5", + "src": "154:19:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1163, + "id": 1906, "nodeType": "IfStatement", - "src": "150:26:5", + "src": "150:26:7", "trueBody": { - "id": 1162, + "id": 1905, "nodeType": "PlaceholderStatement", - "src": "175:1:5" + "src": "175:1:7" } } ] }, "documentation": null, - "id": 1165, + "id": 1908, "name": "restricted", "nodeType": "ModifierDefinition", "parameters": { - "id": 1157, + "id": 1900, "nodeType": "ParameterList", "parameters": [], - "src": "140:2:5" + "src": "140:2:7" }, - "src": "121:61:5", + "src": "121:61:7", "visibility": "internal" }, { "body": { - "id": 1173, + "id": 1916, "nodeType": "Block", - "src": "209:31:5", + "src": "209:31:7", "statements": [ { "expression": { "argumentTypes": null, - "id": 1171, + "id": 1914, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1168, + "id": 1911, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "216:5:5", + "referencedDeclaration": 1897, + "src": "216:5:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -932,18 +932,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1169, + "id": 1912, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1222, - "src": "224:3:5", + "referencedDeclaration": 1965, + "src": "224:3:7", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1170, + "id": 1913, "isConstant": false, "isLValue": false, "isPure": false, @@ -951,26 +951,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "224:10:5", + "src": "224:10:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "216:18:5", + "src": "216:18:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1172, + "id": 1915, "nodeType": "ExpressionStatement", - "src": "216:18:5" + "src": "216:18:7" } ] }, "documentation": null, - "id": 1174, + "id": 1917, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -978,46 +978,46 @@ "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 1166, + "id": 1909, "nodeType": "ParameterList", "parameters": [], - "src": "199:2:5" + "src": "199:2:7" }, "payable": false, "returnParameters": { - "id": 1167, + "id": 1910, "nodeType": "ParameterList", "parameters": [], - "src": "209:0:5" + "src": "209:0:7" }, - "scope": 1207, - "src": "188:52:5", + "scope": 1950, + "src": "188:52:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1185, + "id": 1928, "nodeType": "Block", - "src": "302:49:5", + "src": "302:49:7", "statements": [ { "expression": { "argumentTypes": null, - "id": 1183, + "id": 1926, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1181, + "id": 1924, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1156, - "src": "309:24:5", + "referencedDeclaration": 1899, + "src": "309:24:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1027,68 +1027,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1182, + "id": 1925, "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1176, - "src": "336:9:5", + "referencedDeclaration": 1919, + "src": "336:9:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "309:36:5", + "src": "309:36:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1184, + "id": 1927, "nodeType": "ExpressionStatement", - "src": "309:36:5" + "src": "309:36:7" } ] }, "documentation": null, - "id": 1186, + "id": 1929, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1179, + "id": 1922, "modifierName": { "argumentTypes": null, - "id": 1178, + "id": 1921, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1165, - "src": "291:10:5", + "referencedDeclaration": 1908, + "src": "291:10:7", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "291:10:5" + "src": "291:10:7" } ], "name": "setCompleted", "nodeType": "FunctionDefinition", "parameters": { - "id": 1177, + "id": 1920, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1176, + "id": 1919, "name": "completed", "nodeType": "VariableDeclaration", - "scope": 1186, - "src": "268:14:5", + "scope": 1929, + "src": "268:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1096,10 +1096,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1175, + "id": 1918, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "268:4:5", + "src": "268:4:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1109,54 +1109,54 @@ "visibility": "internal" } ], - "src": "267:16:5" + "src": "267:16:7" }, "payable": false, "returnParameters": { - "id": 1180, + "id": 1923, "nodeType": "ParameterList", "parameters": [], - "src": "302:0:5" + "src": "302:0:7" }, - "scope": 1207, - "src": "246:105:5", + "scope": 1950, + "src": "246:105:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1205, + "id": 1948, "nodeType": "Block", - "src": "413:112:5", + "src": "413:112:7", "statements": [ { "assignments": [ - 1194 + 1937 ], "declarations": [ { "constant": false, - "id": 1194, + "id": 1937, "name": "upgraded", "nodeType": "VariableDeclaration", - "scope": 1206, - "src": "420:19:5", + "scope": 1949, + "src": "420:19:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$1207", + "typeIdentifier": "t_contract$_Migrations_$1950", "typeString": "contract Migrations" }, "typeName": { "contractScope": null, - "id": 1193, + "id": 1936, "name": "Migrations", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1207, - "src": "420:10:5", + "referencedDeclaration": 1950, + "src": "420:10:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$1207", + "typeIdentifier": "t_contract$_Migrations_$1950", "typeString": "contract Migrations" } }, @@ -1164,18 +1164,18 @@ "visibility": "internal" } ], - "id": 1198, + "id": 1941, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1196, + "id": 1939, "name": "new_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1188, - "src": "453:11:5", + "referencedDeclaration": 1931, + "src": "453:11:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1189,18 +1189,18 @@ "typeString": "address" } ], - "id": 1195, + "id": 1938, "name": "Migrations", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1207, - "src": "442:10:5", + "referencedDeclaration": 1950, + "src": "442:10:7", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Migrations_$1207_$", + "typeIdentifier": "t_type$_t_contract$_Migrations_$1950_$", "typeString": "type(contract Migrations)" } }, - "id": 1197, + "id": 1940, "isConstant": false, "isLValue": false, "isPure": false, @@ -1208,14 +1208,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "442:23:5", + "src": "442:23:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$1207", + "typeIdentifier": "t_contract$_Migrations_$1950", "typeString": "contract Migrations" } }, "nodeType": "VariableDeclarationStatement", - "src": "420:45:5" + "src": "420:45:7" }, { "expression": { @@ -1223,12 +1223,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1202, + "id": 1945, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1156, - "src": "494:24:5", + "referencedDeclaration": 1899, + "src": "494:24:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1244,32 +1244,32 @@ ], "expression": { "argumentTypes": null, - "id": 1199, + "id": 1942, "name": "upgraded", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "472:8:5", + "referencedDeclaration": 1937, + "src": "472:8:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$1207", + "typeIdentifier": "t_contract$_Migrations_$1950", "typeString": "contract Migrations" } }, - "id": 1201, + "id": 1944, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "setCompleted", "nodeType": "MemberAccess", - "referencedDeclaration": 1186, - "src": "472:21:5", + "referencedDeclaration": 1929, + "src": "472:21:7", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256) external" } }, - "id": 1203, + "id": 1946, "isConstant": false, "isLValue": false, "isPure": false, @@ -1277,57 +1277,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "472:47:5", + "src": "472:47:7", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1204, + "id": 1947, "nodeType": "ExpressionStatement", - "src": "472:47:5" + "src": "472:47:7" } ] }, "documentation": null, - "id": 1206, + "id": 1949, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1191, + "id": 1934, "modifierName": { "argumentTypes": null, - "id": 1190, + "id": 1933, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1165, - "src": "402:10:5", + "referencedDeclaration": 1908, + "src": "402:10:7", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "402:10:5" + "src": "402:10:7" } ], "name": "upgrade", "nodeType": "FunctionDefinition", "parameters": { - "id": 1189, + "id": 1932, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1188, + "id": 1931, "name": "new_address", "nodeType": "VariableDeclaration", - "scope": 1206, - "src": "374:19:5", + "scope": 1949, + "src": "374:19:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1335,10 +1335,10 @@ "typeString": "address" }, "typeName": { - "id": 1187, + "id": 1930, "name": "address", "nodeType": "ElementaryTypeName", - "src": "374:7:5", + "src": "374:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1348,27 +1348,27 @@ "visibility": "internal" } ], - "src": "373:21:5" + "src": "373:21:7" }, "payable": false, "returnParameters": { - "id": 1192, + "id": 1935, "nodeType": "ParameterList", "parameters": [], - "src": "413:0:5" + "src": "413:0:7" }, - "scope": 1207, - "src": "357:168:5", + "scope": 1950, + "src": "357:168:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 1208, - "src": "28:500:5" + "scope": 1951, + "src": "28:500:7" } ], - "src": "0:530:5" + "src": "0:530:7" }, "compiler": { "name": "solc", @@ -1376,5 +1376,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2018-10-13T10:09:33.010Z" + "updatedAt": "2018-10-18T13:43:19.608Z" } \ No newline at end of file diff --git a/ethereum/contracts/MasterAuditCondition.sol b/ethereum/contracts/MasterAuditCondition.sol new file mode 100644 index 0000000..b646bcc --- /dev/null +++ b/ethereum/contracts/MasterAuditCondition.sol @@ -0,0 +1,71 @@ +pragma solidity ^0.4.24; +pragma experimental ABIEncoderV2; + +contract MasterAuditCondition { + struct MasterAuditConditionStruct{ + uint256 index; + string conditionText; + string compare; + uint value; + bool isActive; + } + + mapping(uint256 => MasterAuditConditionStruct) private MasterAuditConditionStructs; + uint256[] private Index; + + function insert( + string conditionText, + string compare, + uint value, + bool isActive + ) + public + returns(uint256 index) + { + uint256 currentIndex = getCount(); + + MasterAuditConditionStruct memory newMasterAuditConditionStruct = MasterAuditConditionStruct(currentIndex, conditionText, compare, value, isActive); + MasterAuditConditionStructs[currentIndex] = newMasterAuditConditionStruct; + Index.push(currentIndex); + return currentIndex; + } + + function getCount() + public + constant + returns(uint256 count) { + return Index.length; + } + + function getAtIndex(uint256 index) + public + constant + returns(MasterAuditConditionStruct masterAuditConditionStruct) + { + return MasterAuditConditionStructs[index]; + } + + function getConditionTextAtIndex(uint256 index) + public + constant + returns(string conditionText) + { + return MasterAuditConditionStructs[index].conditionText; + } + + function getCompareAtIndex(uint256 index) + public + constant + returns(string compare) + { + return MasterAuditConditionStructs[index].compare; + } + + function getValueAtIndex(uint256 index) + public + constant + returns(uint256 value) + { + return MasterAuditConditionStructs[index].value; + } +} \ No newline at end of file diff --git a/ethereum/migrations/2_deploy_contracts.js b/ethereum/migrations/2_deploy_contracts.js index 6f48cce..1212a9d 100644 --- a/ethereum/migrations/2_deploy_contracts.js +++ b/ethereum/migrations/2_deploy_contracts.js @@ -5,6 +5,7 @@ var JobApplicant = artifacts.require("JobApplicant") var JobApplicantLibrary = artifacts.require("JobApplicationLibrary") var AuditCriteriaManager = artifacts.require("AuditCriteriaManager") var Company = artifacts.require("Company") +var MasterAuditCondition = artifacts.require("MasterAuditCondition"); module.exports = function(deployer, network) { @@ -20,4 +21,5 @@ async function deployContracts(deployer) { await deployer.deploy(Company); await deployer.deploy(ListingsRegistry); await deployer.deploy(AuditCriteriaManager); + await deployer.deploy(MasterAuditCondition); } diff --git a/ethereum/test/TestMasterAuditCondition.js b/ethereum/test/TestMasterAuditCondition.js new file mode 100644 index 0000000..97ba1d7 --- /dev/null +++ b/ethereum/test/TestMasterAuditCondition.js @@ -0,0 +1,54 @@ +const MasterAuditCondition = artifacts.require("MasterAuditCondition"); + +contract('TestMasterAuditCondition.js', async (accounts) => { + + it("getCount should return 0 initially", async () => { + let instance = await MasterAuditCondition.deployed(); + let count = await instance.getCount.call(); + //let count = await instance.methods.getCount().call(); + assert.equal(count.valueOf(), 0); + }) + + it("inserted values should match input after the first insert", async () => { + let instance = await MasterAuditCondition.deployed(); + //Insert as Transaction + let transaction = await instance.insert('Test Condition Text', 'Test Compare', 100, true, { + from: accounts[0], + gas: '1000000' + }); + //Get the Value back to test + let insertedConditionText = await instance.getConditionTextAtIndex.call(0); + let insertedCompare = await instance.getCompareAtIndex.call(0); + let insertedValue = await instance.getValueAtIndex.call(0); + + //Assert the Values + assert.equal(insertedConditionText, 'Test Condition Text'); + assert.equal(insertedCompare, 'Test Compare'); + assert.equal(insertedValue, 100); + }); + + it("getCount should return 1 after the first insert", async () => { + let instance = await MasterAuditCondition.deployed(); + let count = await instance.getCount.call(); + assert.equal(count.valueOf(), 1); + }) + + it("inserted values should match input after the second insert", async () => { + let instance = await MasterAuditCondition.deployed(); + //Insert as Transaction + let transaction = await instance.insert('Test Condition Text 2', 'Test Compare 2', 101, true, { + from: accounts[0], + gas: '1000000' + }); + //Get the Value back to test + let insertedConditionText = await instance.getConditionTextAtIndex.call(1); + let insertedCompare = await instance.getCompareAtIndex.call(1); + let insertedValue = await instance.getValueAtIndex.call(1); + + //Assert the Values + assert.equal(insertedConditionText, 'Test Condition Text 2'); + assert.equal(insertedCompare, 'Test Compare 2'); + assert.equal(insertedValue, 101); + }); + +}) \ No newline at end of file diff --git a/ethereum/test/TestMasterAuditCondition.newway.js b/ethereum/test/TestMasterAuditCondition.newway.js new file mode 100644 index 0000000..9ba4711 --- /dev/null +++ b/ethereum/test/TestMasterAuditCondition.newway.js @@ -0,0 +1,38 @@ +// // import web3 from './web3'; +// //import MasterAuditCondition from '../build/contracts/MasterAuditCondition.json'; + +// const assert = require('assert'); +// const ganache = require('ganache-cli'); +// const Web3 = require('web3'); +// const web3 = new Web3(ganache.provider()); + +// const compiledMasterAuditCondition = require('../build/contracts/MasterAuditCondition.json'); + +// let accounts; +// let masterAuditCondition; +// let deployedAddress; + +// beforeEach(async() => { +// accounts = await web3.eth.getAccounts(); + +// masterAuditCondition = await new web3.eth.Contract(compiledMasterAuditCondition.abi, '0x9fbda871d559710256a2502a2517b794b482db40'); +// }); + +// describe('MasterAuditCondition Tests', () => { +// it("getCount should return 0 initially in the first account", async () => { +// let count = await masterAuditCondition.methods.getCount().call(); +// assert.equal(count.valueOf(), 0); +// }); + +// it("insert should return index 0 after the first insert", async () => { +// //Insert as Transaction +// let transaction = await masterAuditCondition.methods.insert('Test Condition Text', 'Test Compare', 100, true); +// //Get the Value back to test +// let insertedMasterAuditCondition = await masterAuditCondition.methods.getConditionTextAtIndex(0).call(); +// //Assert the Values +// //assert.equal(masterAuditCondition.index.valueOf(), 0); +// assert.equal(insertedMasterAuditCondition.conditionText.valueOf(), 'Test Condition Text'); +// // assert.equal(masterAuditCondition.compare.valueOf(), 'Test Compare'); +// // assert.equal(masterAuditCondition.compare.value(), 100); +// }); +// }); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index eb4e231..c563021 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "dependencies": { "@babel/code-frame": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.42.tgz", "integrity": "sha512-L8i94FLSyaLQpRfDo/qqSm8Ndb44zMtXParXo0MebJICG1zoCCL4+GkzUOlB4BNTRSXXQdb3feam/qw7bKPipQ==", "requires": { "@babel/highlight": "7.0.0-beta.42" @@ -14,7 +14,7 @@ }, "@babel/core": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/core/-/core-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.0.0-beta.42.tgz", "integrity": "sha512-jcjZRewF/xqROfbk8EGyWlykaIR3IwrcefjWHu8xh4QnULSv3nfkjPM35v1itDgAT4/Jj5b4mPf4eZSC2HoRQA==", "requires": { "@babel/code-frame": "7.0.0-beta.42", @@ -24,14 +24,14 @@ "@babel/traverse": "7.0.0-beta.42", "@babel/types": "7.0.0-beta.42", "babylon": "7.0.0-beta.42", - "convert-source-map": "^1.1.0", - "debug": "^3.1.0", - "json5": "^0.5.0", - "lodash": "^4.2.0", - "micromatch": "^2.3.11", - "resolve": "^1.3.2", - "semver": "^5.4.1", - "source-map": "^0.5.0" + "convert-source-map": "1.6.0", + "debug": "3.1.0", + "json5": "0.5.1", + "lodash": "4.17.11", + "micromatch": "2.3.11", + "resolve": "1.8.1", + "semver": "5.5.1", + "source-map": "0.5.7" }, "dependencies": { "source-map": { @@ -43,14 +43,14 @@ }, "@babel/generator": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.42.tgz", "integrity": "sha512-9x3zS4nG/6GAvJWB8fAK+5g/Di36xdubB43dMNSucNJTwPvmyfCippir/0I8zyG+ID66hLCLi8V9bomlWRYaHA==", "requires": { "@babel/types": "7.0.0-beta.42", - "jsesc": "^2.5.1", - "lodash": "^4.2.0", - "source-map": "^0.5.0", - "trim-right": "^1.0.1" + "jsesc": "2.5.1", + "lodash": "4.17.11", + "source-map": "0.5.7", + "trim-right": "1.0.1" }, "dependencies": { "source-map": { @@ -62,7 +62,7 @@ }, "@babel/helper-annotate-as-pure": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0-beta.42.tgz", "integrity": "sha512-2lmcB7mHRSXZjDV9fdnWGRco+5fbI0PdUtsL7mNA2GtJs0GPoKdV3sCx0N4cpzG2YRR4dNCiB2riYIrzWjmQ1Q==", "requires": { "@babel/types": "7.0.0-beta.42" @@ -70,7 +70,7 @@ }, "@babel/helper-builder-binary-assignment-operator-visitor": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.0.0-beta.42.tgz", "integrity": "sha512-lI14OS85dMAvsjTNTLrk3qqqvmy4CNxgXGpWkjMuKlYzwnC7LQvdrdH7wf3CBl8C0GSZHbgvADMUtrKiNjxJ5w==", "requires": { "@babel/helper-explode-assignable-expression": "7.0.0-beta.42", @@ -79,16 +79,16 @@ }, "@babel/helper-builder-react-jsx": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.0.0-beta.42.tgz", "integrity": "sha512-pgy7el3TV5u4SdWB9w1No5X0fooc8pWcVujbOzey+b9CQU5cf64CGct01bs+k7vGoKwoTYWizZD9MeFk2JLawg==", "requires": { "@babel/types": "7.0.0-beta.42", - "esutils": "^2.0.0" + "esutils": "2.0.2" } }, "@babel/helper-call-delegate": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0-beta.42.tgz", "integrity": "sha512-iGZJrRSKIvla9m8VJNv8wlbPReOLmVqFTpefl07v6e5cMPvP2XOgVWR2B4HZ9UwVo7Lx8rPAQ8/UZgjvq+pJ+A==", "requires": { "@babel/helper-hoist-variables": "7.0.0-beta.42", @@ -98,17 +98,17 @@ }, "@babel/helper-define-map": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.0.0-beta.42.tgz", "integrity": "sha512-MKaHNaciAiPc7q4AS2XRqk+I0d2ADryuIxd6r0EykkQ57w2nQxFx/CTWWQEnob9OSAP5dPO1stWIZ9j/VeKtIQ==", "requires": { "@babel/helper-function-name": "7.0.0-beta.42", "@babel/types": "7.0.0-beta.42", - "lodash": "^4.2.0" + "lodash": "4.17.11" } }, "@babel/helper-explode-assignable-expression": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.0.0-beta.42.tgz", "integrity": "sha512-fT1kVF2PoogggBT9QBgb4IXjbpC3VzFh1sJ6p/k3fZhOXbyqqco7oQ6lzvcIAO6rA7b15/iaIyLj0E+SLCHbwQ==", "requires": { "@babel/traverse": "7.0.0-beta.42", @@ -117,7 +117,7 @@ }, "@babel/helper-function-name": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.42.tgz", "integrity": "sha512-6IZ+kkPypwJrnmNzI3y31qAps2kXoPtCE241SvBva2YzB0n/YORWx2YM0jHPYOJBU9Xx5KkUhOKuWkeXZQgtTA==", "requires": { "@babel/helper-get-function-arity": "7.0.0-beta.42", @@ -127,7 +127,7 @@ }, "@babel/helper-get-function-arity": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.42.tgz", "integrity": "sha512-hF5KKcn+V/5PwU7KZ1aVwo535woLC9eV+djaoyNPZeMMJ2s+8bZlEa66Tarei0T68VRL5LXIs1Ao4hSabSkpBg==", "requires": { "@babel/types": "7.0.0-beta.42" @@ -135,7 +135,7 @@ }, "@babel/helper-hoist-variables": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0-beta.42.tgz", "integrity": "sha512-07NJrcvE2a5oOYiQUzSzih21R6nOpfoIe9saelKxORKXr9cOXcpoLXDi9XIAbRJoww8hqp57JbQxRK09FltZhQ==", "requires": { "@babel/types": "7.0.0-beta.42" @@ -143,16 +143,16 @@ }, "@babel/helper-module-imports": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0-beta.42.tgz", "integrity": "sha512-0kTX0cjuVKUKDJmHjmAb504kNrwae0Ja32hGii7zSHDKm0tVZvvpT8Cc1yYHo6UsIkUmzEvfGwIrNYemx1jTtQ==", "requires": { "@babel/types": "7.0.0-beta.42", - "lodash": "^4.2.0" + "lodash": "4.17.11" } }, "@babel/helper-module-transforms": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0-beta.42.tgz", "integrity": "sha512-XfCGsf6ijExiXw+oKL1Cp7VJttvgq8qalTGRqz4pviVNEjHU89Pfjsi1K/shdy5x4x+PiTSqn4zZ2PKfVp+vgg==", "requires": { "@babel/helper-module-imports": "7.0.0-beta.42", @@ -160,12 +160,12 @@ "@babel/helper-split-export-declaration": "7.0.0-beta.42", "@babel/template": "7.0.0-beta.42", "@babel/types": "7.0.0-beta.42", - "lodash": "^4.2.0" + "lodash": "4.17.11" } }, "@babel/helper-optimise-call-expression": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0-beta.42.tgz", "integrity": "sha512-4Sssg3iFnLH/1fZQFCPNJ7ISZzrRwq/X8/T5OaURGP3NMVTR4mnEUqrc3v8/SfL3pfa57q3Fe4zIC2h7FuPkww==", "requires": { "@babel/types": "7.0.0-beta.42" @@ -173,20 +173,20 @@ }, "@babel/helper-plugin-utils": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-beta.42.tgz", "integrity": "sha512-hZLw8Iz9/YOxI9mgWyPOP1S84OcdQo1WFkZrS1sSf45g16sEb4dVslds2uvZgmx9BiG94PoWyABGf48Py6D6CA==" }, "@babel/helper-regex": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.0.0-beta.42.tgz", "integrity": "sha512-QdwTsTPjJ63StltU6cEtqmB0Lc+L/OkK9Pz2bL9rylDF3UloyXinBA+SI/FkVyXi5HhDbBRf4T/OeVhWrsK68A==", "requires": { - "lodash": "^4.2.0" + "lodash": "4.17.11" } }, "@babel/helper-remap-async-to-generator": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0-beta.42.tgz", "integrity": "sha512-At+ipbHRYoN0AaafqPvTPqyVYi+beantKZ2orCYSb/AzP2+JywaWlOPH0wyXLOGzjkJX548Is4cV2wGbEG7++Q==", "requires": { "@babel/helper-annotate-as-pure": "7.0.0-beta.42", @@ -198,7 +198,7 @@ }, "@babel/helper-replace-supers": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.0.0-beta.42.tgz", "integrity": "sha512-5OwdkTm7TaEBiBMOUV97j8a2goD3+avek9EOl/UdE/CYdtdQ/8RPdUPqtqXApay30aZ/EjIpBItcNlBtt29WBw==", "requires": { "@babel/helper-optimise-call-expression": "7.0.0-beta.42", @@ -209,17 +209,17 @@ }, "@babel/helper-simple-access": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.0.0-beta.42.tgz", "integrity": "sha512-SK1nb/sx+Q/0N8USPR+/5G1D1U9tCo82MzJknmK7X4yexDacHmDHtqNP7xqUlSSo3xfMfyHgT7mAH17Cwik/gA==", "requires": { "@babel/template": "7.0.0-beta.42", "@babel/types": "7.0.0-beta.42", - "lodash": "^4.2.0" + "lodash": "4.17.11" } }, "@babel/helper-split-export-declaration": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.42.tgz", "integrity": "sha512-2r8pZG6SAJTTaI2OhxCmz5PKlMUPY5adOHrHtb1gM3ibJPDOzPAeOQNzItdxNnM33jjRakEGitXX6iYg7Sz73w==", "requires": { "@babel/types": "7.0.0-beta.42" @@ -227,7 +227,7 @@ }, "@babel/helper-wrap-function": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0-beta.42.tgz", "integrity": "sha512-jpZDbZROEw2HfmlImLXDB7BFoyo6M/Wn8jOOc1+JfCpg2uaZ+n6Q0C3sA6mCN6o7ZgpJkgT7IHQwdB3RMV6KLA==", "requires": { "@babel/helper-function-name": "7.0.0-beta.42", @@ -238,7 +238,7 @@ }, "@babel/helpers": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/helpers/-/helpers-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.0.0-beta.42.tgz", "integrity": "sha512-att9SiG9GxOUdjai87LqjSstgNsdo1nXiGu+Eh078zwRiN8bM5Ww8vrbYkAm9PF4HaW6OzOKqyKxv595RT79bA==", "requires": { "@babel/template": "7.0.0-beta.42", @@ -248,17 +248,17 @@ }, "@babel/highlight": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.42.tgz", "integrity": "sha512-X3Ur/A/lIbbP8W0pmwgqtDXIxhQmxPaiwY9SKP7kF9wvZfjZRwMvbJE92ozUhF3UDK3DCKaV7oGqmI1rP/zqWA==", "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^3.0.0" + "chalk": "2.4.1", + "esutils": "2.0.2", + "js-tokens": "3.0.2" } }, "@babel/plugin-proposal-async-generator-functions": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0-beta.42.tgz", "integrity": "sha512-fPPsSCajWzefDSb49JEeZfd/UeMK3xEQSRAz/H3BZ1uaRatwNNZoOJq4/WRH/xDeISmYUdkLRtqs39VPWLKYVg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -268,7 +268,7 @@ }, "@babel/plugin-proposal-class-properties": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.0.0-beta.42.tgz", "integrity": "sha512-VXRmo/t2nAVciXxEgPTAfcUBXj0UXNPIvX2aj3lzHL51N+uh+rtgsIF0nuZwGE4u89WvBDH66yjAu60Ra674kw==", "requires": { "@babel/helper-function-name": "7.0.0-beta.42", @@ -278,7 +278,7 @@ }, "@babel/plugin-proposal-object-rest-spread": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0-beta.42.tgz", "integrity": "sha512-L4z5R8k3GxQKVYE2zGwftQ9K/IIIXMZKnY4C0lDyyMJAVk+H+cFUD0NfD4KTyZACc8DPqjkw6aEtC/AKCKUvEA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -287,7 +287,7 @@ }, "@babel/plugin-proposal-optional-catch-binding": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.0.0-beta.42.tgz", "integrity": "sha512-hD8HTOKzLqMXwKkqX+Qiig8aqsCoZ9k9Y0I3zLjkpYh7HBPoPhUhlN6McxtPHGRjM/qBCNcLCwtWuJetK/cNZg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -296,17 +296,17 @@ }, "@babel/plugin-proposal-unicode-property-regex": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.0.0-beta.42.tgz", "integrity": "sha512-aUEpQFuQydhs20dQSkz7edWkRaNHt8rVfcqHy5ykR4dqflq7+EclnuljuzIS+MJ3V8i5cyLMEXv/W1uWWf7UGg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", "@babel/helper-regex": "7.0.0-beta.42", - "regexpu-core": "^4.1.3" + "regexpu-core": "4.2.0" } }, "@babel/plugin-syntax-async-generators": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.0.0-beta.42.tgz", "integrity": "sha512-k6oVMsmY/mcp+rPRcK4dJL/J1ahtIRucXtNHNvAVRV9WFc7G3r1rrb1GlM4iNHareXBNdRlf7mkxyVaVpyJ3TQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -314,7 +314,7 @@ }, "@babel/plugin-syntax-class-properties": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.0.0-beta.42.tgz", "integrity": "sha512-nG0XCeuni6GgjxOqtxVtnfSoRFeXdqY6cja83cmFpC1klw8f6XShbeDmK7xX1mUYBHkEqLTDurlX+fuua9siCg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -322,7 +322,7 @@ }, "@babel/plugin-syntax-dynamic-import": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.0.0-beta.42.tgz", "integrity": "sha512-N+XpzyZviWu+MJA7Cgi+LtMj1CMLkZyjuy4qbSZauqm6gIrNioMtirLDt4+NrCFx7kZG/T4ic6jLUpWdH5SlXg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -330,7 +330,7 @@ }, "@babel/plugin-syntax-jsx": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.0.0-beta.42.tgz", "integrity": "sha512-NWlawLcYkxMpH2QK4CbYg1ctTuFaKYRVBZGiGkgcO7xD59bNUu2HTG/BXynuaheQiGX96ItoK1igV6vuS9BK/w==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -338,7 +338,7 @@ }, "@babel/plugin-syntax-object-rest-spread": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0-beta.42.tgz", "integrity": "sha512-Zhz6MdSpEviY3UFh/DUlrvf/Tn4wWosHXrnR52PBRtP/8ESWVaFuk57xWcBon3jJh0z5hYyRUr+D0wR7W7ZmnQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -346,7 +346,7 @@ }, "@babel/plugin-syntax-optional-catch-binding": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.0.0-beta.42.tgz", "integrity": "sha512-TXJpGMX/M9r0tkJPgZtoaBCdrhFMeAZtOiwNtVf5dWoA6TOmDwnnnbaUqynbBZm16jE7quWW5VhfFjDlOP1vMA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -354,7 +354,7 @@ }, "@babel/plugin-transform-arrow-functions": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.0.0-beta.42.tgz", "integrity": "sha512-/tpAo2Ur8m32U9pBcGQ6JKplWNEh462zxCnwVKL9yVwG02lttC4QSYBvreRK1wBidDz8JgRZFGGeB9N4l23/Sg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -362,7 +362,7 @@ }, "@babel/plugin-transform-async-to-generator": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.0.0-beta.42.tgz", "integrity": "sha512-TTu8z0xz/mS8H98nCVw3wp86RSzdvUhtM4hX32sItrauJX1X8shVZDKbDtG8ZdA1FMKLgfvmn/hxtPOqjOkkpw==", "requires": { "@babel/helper-module-imports": "7.0.0-beta.42", @@ -372,7 +372,7 @@ }, "@babel/plugin-transform-block-scoped-functions": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.0.0-beta.42.tgz", "integrity": "sha512-Ib3bSf7pYLbqe+46RrJFJae1DrNYvIrGleYjzaN/MFYNaG9ePaOevSBmFHPxuW1SM5l2tTloeu5a7mhs9h0oxg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -380,16 +380,16 @@ }, "@babel/plugin-transform-block-scoping": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.0.0-beta.42.tgz", "integrity": "sha512-qvlAR1L7gZ1gqdj81a2AEfuar3lFsr7FSad4JrN5CJinQlVn/1eJe8oB1DQ7U8ocAzDDjn3tGit9lN7uKBWZsQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", - "lodash": "^4.2.0" + "lodash": "4.17.11" } }, "@babel/plugin-transform-classes": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.0.0-beta.42.tgz", "integrity": "sha512-0GCv1wNyfMXKuaulype6+TF02Bxq/zQZ4NUbn2w9aQxzIZviAe1jcA7IRrNN2eVQL9L4oi8N6B26Wf8xFoBNrQ==", "requires": { "@babel/helper-annotate-as-pure": "7.0.0-beta.42", @@ -399,12 +399,12 @@ "@babel/helper-plugin-utils": "7.0.0-beta.42", "@babel/helper-replace-supers": "7.0.0-beta.42", "@babel/helper-split-export-declaration": "7.0.0-beta.42", - "globals": "^11.1.0" + "globals": "11.8.0" } }, "@babel/plugin-transform-computed-properties": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.0.0-beta.42.tgz", "integrity": "sha512-WYGXfe2uo2FdACubMhwV6Oq1Zx3SNSeBUHRe2X53WKbIKLMZlxRR5GfoLv4V2CeDGHL3mb97wYhmXSb56bIXeg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -412,7 +412,7 @@ }, "@babel/plugin-transform-destructuring": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.0.0-beta.42.tgz", "integrity": "sha512-G3hwLdgeKCZ8EWqwMqeOEoXxRBc5aJthMUD5kN7sAIko+lvwIVQ0do9Op/+DAGVnrvC+g0Ool2Mihcej2NsCPQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -420,17 +420,17 @@ }, "@babel/plugin-transform-dotall-regex": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.0.0-beta.42.tgz", "integrity": "sha512-g/XbJzib6qmbHOJv/2n/bVKLcfJUBRSo9zO73O7lvJEYh8JvHWM/oVU829ztVPpdPT3xgHMiTVhnV/O5r5dYNA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", "@babel/helper-regex": "7.0.0-beta.42", - "regexpu-core": "^4.1.3" + "regexpu-core": "4.2.0" } }, "@babel/plugin-transform-duplicate-keys": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.0.0-beta.42.tgz", "integrity": "sha512-Nze+na6pnoZdrMtQv5Ct/i3031ib+kctDwt8KgcrtnOr52qUlbogPe1jY2WxpwSMtiowdPY93XsRFZeq6ogMTA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -438,7 +438,7 @@ }, "@babel/plugin-transform-exponentiation-operator": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.0.0-beta.42.tgz", "integrity": "sha512-ylnAziSEho282hxQROK5tbNtxm0sSoQaQS74OCSE52eFeDNqSNGapyiNiWMZ71gqs8q5aqYsPgfa/vTccLT7uA==", "requires": { "@babel/helper-builder-binary-assignment-operator-visitor": "7.0.0-beta.42", @@ -447,7 +447,7 @@ }, "@babel/plugin-transform-for-of": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.0.0-beta.42.tgz", "integrity": "sha512-pn+fmrr6pfXeEUMyx7JrKAOG/XCiABvXFOmQYqLoCl0POcW8sE75r8w/Lu2wHFayrNgDqR7/RCb7RW4h/U2u1Q==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -455,7 +455,7 @@ }, "@babel/plugin-transform-function-name": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.0.0-beta.42.tgz", "integrity": "sha512-OopJXZQAgBsPUAHr49Z4S4X24XJa9Iu0zPUPCML9weHloyFnkw5SGQIDLC6BxxPOmqfiB49gfIuHjbtJfUsOJw==", "requires": { "@babel/helper-function-name": "7.0.0-beta.42", @@ -464,7 +464,7 @@ }, "@babel/plugin-transform-literals": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.0.0-beta.42.tgz", "integrity": "sha512-mWEayRwUCY3/u8LZpcdR96TiWqofP60jjfVZUJ6agK6ifwEBgamv1Db8syIwUCjaZww5bjyZqX61AmP4fx3dvQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -472,7 +472,7 @@ }, "@babel/plugin-transform-modules-amd": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.0.0-beta.42.tgz", "integrity": "sha512-JCNM+WPKImpNHVLZG6x9F87AyX+K8KpMCkuCqyE7YgxAJWB+5FHVnpkdF6lprDilE/LXGwplmNb9OrWulMss2g==", "requires": { "@babel/helper-module-transforms": "7.0.0-beta.42", @@ -481,7 +481,7 @@ }, "@babel/plugin-transform-modules-commonjs": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.0.0-beta.42.tgz", "integrity": "sha512-tCN0FFdTHaXpuJokvW8iWtbDpjKDNDO2dIyb8rr0GMQxsA62914e8oclcDUPEbC5iF5SCDEF0CmVHXbxnvANfQ==", "requires": { "@babel/helper-module-transforms": "7.0.0-beta.42", @@ -491,7 +491,7 @@ }, "@babel/plugin-transform-modules-systemjs": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.0.0-beta.42.tgz", "integrity": "sha512-IEN3HVHpMPWrnI2EAEHg0248+Axkg2nrdspajefIyeZMlrN0dUt0gDgVsZtza5PK/1a+RZlpli7dDgcA7heTMg==", "requires": { "@babel/helper-hoist-variables": "7.0.0-beta.42", @@ -500,7 +500,7 @@ }, "@babel/plugin-transform-modules-umd": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.0.0-beta.42.tgz", "integrity": "sha512-yOA2qnk4snRxkdgKDp6xN+by3V3z8q14cDf/aB0j36Jv2YqpDWUWMMWLQjabCEE/l7ptePBS4qbFH8dffCm4Tg==", "requires": { "@babel/helper-module-transforms": "7.0.0-beta.42", @@ -509,7 +509,7 @@ }, "@babel/plugin-transform-new-target": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0-beta.42.tgz", "integrity": "sha512-P2zwIIeTOev0Xjo//4p7ugtsWazIsycbs/T6I/ghiV2lREFxo9s93fygbXNXt5ALRPRWDthiAYIDA9n1vrgkVg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -517,7 +517,7 @@ }, "@babel/plugin-transform-object-super": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.0.0-beta.42.tgz", "integrity": "sha512-d+gki0bYQtlleX4LnvpwjIkjmZScKQuHhDsD3N3nHLpwxbANp3YGtIfuf8dbY/PIbUKtd55/ErCvdsyuGlxAlw==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -526,7 +526,7 @@ }, "@babel/plugin-transform-parameters": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.0.0-beta.42.tgz", "integrity": "sha512-z2iXwael/zMHkOvvkJSirg1jIxGA00JOIwdERB+x+VGxLfLb+1IdyiytVw9+w5RTNSVAGYt6R4jhvUdAeQwMiQ==", "requires": { "@babel/helper-call-delegate": "7.0.0-beta.42", @@ -536,7 +536,7 @@ }, "@babel/plugin-transform-react-display-name": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.0.0-beta.42.tgz", "integrity": "sha512-0oyVkjXLkxXSt21mPdfRNwKZ/sIEjcDx5/LqMS+KtMUxsCcB2BFhtzaESd8xLdXb7Zi2otMjt2DsDK+IUeitxA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -544,7 +544,7 @@ }, "@babel/plugin-transform-react-jsx": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.0.0-beta.42.tgz", "integrity": "sha512-XT8M4cZmr/Gaw6Cp2UELhYajB/PT6xNERtv8d+Eu08fULfAbtZJBFVxmm68T9LT+JZkcI35O1gTP17yJz5PJrA==", "requires": { "@babel/helper-builder-react-jsx": "7.0.0-beta.42", @@ -554,7 +554,7 @@ }, "@babel/plugin-transform-react-jsx-self": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.0.0-beta.42.tgz", "integrity": "sha512-bpG/Z6D8RtckyYPbqMfU/DaV7H/xHaTNAJLzYLHqQhtQT70pwmLVQ8E6ara18yp7k+6OJytrrmJm9F6ClT4pnA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -563,7 +563,7 @@ }, "@babel/plugin-transform-react-jsx-source": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.0.0-beta.42.tgz", "integrity": "sha512-vLKqNyFDx4bESdy7dTWLmAhCTk8zszsxhYGKL/0FaFacksSQye5conP68j8jMEMn9M/JBGgxfFqL6tPbOn2uVw==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -572,15 +572,15 @@ }, "@babel/plugin-transform-regenerator": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0-beta.42.tgz", "integrity": "sha512-E1s/MBk8ztbXqxbeUvFH26x8vAWq/7qX3UdbB8fKoN3EX2Wg9+yXWyuI50jOhXOq7jfmbOrVe0BWoUOjCOqWPQ==", "requires": { - "regenerator-transform": "^0.12.3" + "regenerator-transform": "0.12.4" } }, "@babel/plugin-transform-runtime": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.0.0-beta.42.tgz", "integrity": "sha512-4LcNdjMvKzCwK/eqfbUiXFAZht8OTx0Gv2Ok42o+zhb8DvNUaYUndgW9AU4Q6nbpxzw2vTWNUXSIRvdGsxpgQQ==", "requires": { "@babel/helper-module-imports": "7.0.0-beta.42", @@ -589,7 +589,7 @@ }, "@babel/plugin-transform-shorthand-properties": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.0.0-beta.42.tgz", "integrity": "sha512-GID8z2s6R/XOHgaoxrKBH+zdBOBqFJTDYDS91w30fJGiHxVM4qFVOpYDNIMxmsjqW6bKVHyLeHBezp0OHv+9QQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -597,7 +597,7 @@ }, "@babel/plugin-transform-spread": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.0.0-beta.42.tgz", "integrity": "sha512-ZzWt7RvGcV+9DcOTBwE6ArNqDpUMpzZhCToj3UNtULol9gGBbrGgUK/LdGwGInj+Z2aIdOjbAMFtEuC6626lJg==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -605,7 +605,7 @@ }, "@babel/plugin-transform-sticky-regex": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.0.0-beta.42.tgz", "integrity": "sha512-zQI5NhVfnSNNFiG8JhoXXzTV89aLTfHW22inWefATRmtqe64iHZ4bivBTkDbxt6X/St1yH0aZB+4XtBDZjzcKQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -614,7 +614,7 @@ }, "@babel/plugin-transform-template-literals": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.0.0-beta.42.tgz", "integrity": "sha512-sCQmaa8fd3uPdy/J/qOkvPtxo3RtiH6SyW5bzdnUSOQ3+ND3Bj4OfJNziZxJwZZ8Y40lHrM0dKxZ8YnihlCETQ==", "requires": { "@babel/helper-annotate-as-pure": "7.0.0-beta.42", @@ -623,7 +623,7 @@ }, "@babel/plugin-transform-typeof-symbol": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.0.0-beta.42.tgz", "integrity": "sha512-cuDOzCv7kpMqaLypTEN90ErVmKUV3vjTuO8qzCGlmJMZwCcteTpxCiwISJLnAxcGtj++fMVY0vntbcj4nXf9XQ==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42" @@ -631,17 +631,17 @@ }, "@babel/plugin-transform-unicode-regex": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0-beta.42.tgz", "integrity": "sha512-iqQ8bhkRPZE2Vl5gR7GF0x4xUVlkncMxr7ve7Rjp/TMzNbO3S2XLr+1SPu+B+U3fIPDDA4I97enw5YL5V7QFOA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", "@babel/helper-regex": "7.0.0-beta.42", - "regexpu-core": "^4.1.3" + "regexpu-core": "4.2.0" } }, "@babel/preset-env": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/preset-env/-/preset-env-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.0.0-beta.42.tgz", "integrity": "sha512-DawmnYYDbOpMqq0H64iwtZJ7C1xjdwqJXBvAjRKv9WVnKPqZbMMli4JhwO30WnPELzOMGRwtLFAchPcEeyyCpQ==", "requires": { "@babel/helper-module-imports": "7.0.0-beta.42", @@ -680,14 +680,14 @@ "@babel/plugin-transform-template-literals": "7.0.0-beta.42", "@babel/plugin-transform-typeof-symbol": "7.0.0-beta.42", "@babel/plugin-transform-unicode-regex": "7.0.0-beta.42", - "browserslist": "^3.0.0", - "invariant": "^2.2.2", - "semver": "^5.3.0" + "browserslist": "3.2.8", + "invariant": "2.2.4", + "semver": "5.5.1" } }, "@babel/preset-react": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/preset-react/-/preset-react-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.0.0-beta.42.tgz", "integrity": "sha512-2o+5MXAzGMnjlZlxsYv08Joh+T4IDd2NIrpeVB+5GgeboU6k0964pObdZxMjB9A2dOweLSCOHwP21JwO6bDUbA==", "requires": { "@babel/helper-plugin-utils": "7.0.0-beta.42", @@ -700,27 +700,27 @@ }, "@babel/runtime": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/runtime/-/runtime-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.0.0-beta.42.tgz", "integrity": "sha512-iOGRzUoONLOtmCvjUsZv3mZzgCT6ljHQY5fr1qG1QIiJQwtM7zbPWGGpa3QWETq+UqwWyJnoi5XZDZRwZDFciQ==", "requires": { - "core-js": "^2.5.3", - "regenerator-runtime": "^0.11.1" + "core-js": "2.5.7", + "regenerator-runtime": "0.11.1" } }, "@babel/template": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.42.tgz", "integrity": "sha512-EK7YdTe47j4VxlwNvz5bnlk5Jx/wWublnqfgOY2IuSNdxCQgXrLD34PfTnabGxywNSkJkcSo6jwr2JGT+S48dA==", "requires": { "@babel/code-frame": "7.0.0-beta.42", "@babel/types": "7.0.0-beta.42", "babylon": "7.0.0-beta.42", - "lodash": "^4.2.0" + "lodash": "4.17.11" } }, "@babel/traverse": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.42.tgz", "integrity": "sha512-DZwMuZBfYVIn/cxpXZzHDgKmarW/MWqplLv1k7QJYhK5r5l6GAac/DkKl75A0CjPYrD3VGco6H6ZQp12QaYKSw==", "requires": { "@babel/code-frame": "7.0.0-beta.42", @@ -729,20 +729,20 @@ "@babel/helper-split-export-declaration": "7.0.0-beta.42", "@babel/types": "7.0.0-beta.42", "babylon": "7.0.0-beta.42", - "debug": "^3.1.0", - "globals": "^11.1.0", - "invariant": "^2.2.0", - "lodash": "^4.2.0" + "debug": "3.1.0", + "globals": "11.8.0", + "invariant": "2.2.4", + "lodash": "4.17.11" } }, "@babel/types": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.42.tgz", "integrity": "sha512-+pmpISmTHQqMMpHHtDLxcvtRhmn53bAxy8goJfHipS/uy/r3PLcuSdPizLW7DhtBWbtgIKZufLObfnIMoyMNsw==", "requires": { - "esutils": "^2.0.2", - "lodash": "^4.2.0", - "to-fast-properties": "^2.0.0" + "esutils": "2.0.2", + "lodash": "4.17.11", + "to-fast-properties": "2.0.0" } }, "@gulp-sourcemaps/map-sources": { @@ -750,8 +750,8 @@ "resolved": "https://registry.npmjs.org/@gulp-sourcemaps/map-sources/-/map-sources-1.0.0.tgz", "integrity": "sha1-iQrnxdjId/bThIYCFazp1+yUW9o=", "requires": { - "normalize-path": "^2.0.1", - "through2": "^2.0.3" + "normalize-path": "2.1.1", + "through2": "2.0.3" } }, "@types/node": { @@ -769,7 +769,7 @@ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.6.3.tgz", "integrity": "sha512-2++wDf/DYqkPR3o5tbfdhF96EfMApo1GpPfzOsR/ZYXdkSmELlvOOEAl9iKkRsktMPHdGjO4rtkBpf2I7TiTeA==", "requires": { - "xtend": "~4.0.0" + "xtend": "4.0.1" } }, "accepts": { @@ -777,7 +777,7 @@ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=", "requires": { - "mime-types": "~2.1.18", + "mime-types": "2.1.20", "negotiator": "0.6.1" } }, @@ -791,7 +791,7 @@ "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz", "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=", "requires": { - "acorn": "^4.0.3" + "acorn": "4.0.13" }, "dependencies": { "acorn": { @@ -811,10 +811,10 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.4.tgz", "integrity": "sha512-4Wyjt8+t6YszqaXnLDfMmG/8AlO5Zbcsy3ATHncCzjW/NoPzAId8AK6749Ybjmdt+kUY1gP60fCu46oDxPv/mg==", "requires": { - "fast-deep-equal": "^2.0.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" + "fast-deep-equal": "2.0.1", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.4.1", + "uri-js": "4.2.2" } }, "ajv-keywords": { @@ -827,9 +827,9 @@ "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", "requires": { - "kind-of": "^3.0.2", - "longest": "^1.0.1", - "repeat-string": "^1.5.2" + "kind-of": "3.2.2", + "longest": "1.0.1", + "repeat-string": "1.6.1" } }, "ansi-html": { @@ -847,7 +847,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "requires": { - "color-convert": "^1.9.0" + "color-convert": "1.9.3" } }, "any-promise": { @@ -860,8 +860,8 @@ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", "requires": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" + "micromatch": "3.1.10", + "normalize-path": "2.1.1" }, "dependencies": { "arr-diff": { @@ -879,16 +879,16 @@ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" + "arr-flatten": "1.1.0", + "array-unique": "0.3.2", + "extend-shallow": "2.0.1", + "fill-range": "4.0.0", + "isobject": "3.0.1", + "repeat-element": "1.1.3", + "snapdragon": "0.8.2", + "snapdragon-node": "2.1.1", + "split-string": "3.1.0", + "to-regex": "3.0.2" }, "dependencies": { "extend-shallow": { @@ -896,7 +896,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } } } @@ -914,13 +914,13 @@ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "posix-character-classes": "0.1.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" }, "dependencies": { "define-property": { @@ -928,7 +928,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "requires": { - "is-descriptor": "^0.1.0" + "is-descriptor": "0.1.6" } }, "extend-shallow": { @@ -936,7 +936,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } }, "is-accessor-descriptor": { @@ -944,7 +944,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -952,7 +952,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -962,7 +962,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -970,7 +970,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -980,9 +980,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" } }, "kind-of": { @@ -997,8 +997,8 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" + "assign-symbols": "1.0.0", + "is-extendable": "1.0.1" }, "dependencies": { "is-extendable": { @@ -1006,7 +1006,7 @@ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "requires": { - "is-plain-object": "^2.0.4" + "is-plain-object": "2.0.4" } } } @@ -1016,14 +1016,14 @@ "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "array-unique": "0.3.2", + "define-property": "1.0.0", + "expand-brackets": "2.1.4", + "extend-shallow": "2.0.1", + "fragment-cache": "0.2.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" }, "dependencies": { "define-property": { @@ -1031,7 +1031,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "requires": { - "is-descriptor": "^1.0.0" + "is-descriptor": "1.0.2" } }, "extend-shallow": { @@ -1039,7 +1039,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } } } @@ -1049,10 +1049,10 @@ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" + "extend-shallow": "2.0.1", + "is-number": "3.0.0", + "repeat-string": "1.6.1", + "to-regex-range": "2.1.1" }, "dependencies": { "extend-shallow": { @@ -1060,7 +1060,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } } } @@ -1070,7 +1070,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-data-descriptor": { @@ -1078,7 +1078,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-descriptor": { @@ -1086,9 +1086,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" } }, "is-number": { @@ -1096,7 +1096,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -1104,7 +1104,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -1124,19 +1124,19 @@ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "braces": "2.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "extglob": "2.0.4", + "fragment-cache": "0.2.1", + "kind-of": "6.0.2", + "nanomatch": "1.2.13", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" } } } @@ -1151,7 +1151,7 @@ "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", "requires": { - "arr-flatten": "^1.0.1" + "arr-flatten": "1.1.0" } }, "arr-flatten": { @@ -1179,7 +1179,7 @@ "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", "requires": { - "array-uniq": "^1.0.1" + "array-uniq": "1.0.3" } }, "array-uniq": { @@ -1207,7 +1207,7 @@ "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", "requires": { - "safer-buffer": "~2.1.0" + "safer-buffer": "2.1.2" } }, "asn1.js": { @@ -1215,9 +1215,9 @@ "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.0.1.tgz", "integrity": "sha512-aO8EaEgbgqq77IEw+1jfx5c9zTbzvkfuRBuZsSsPnTHMkmd5AI4J6OtITLZFa381jReeaQL67J0GBTUu0+ZTVw==", "requires": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "bn.js": "4.11.8", + "inherits": "2.0.3", + "minimalistic-assert": "1.0.1" } }, "assert": { @@ -1258,7 +1258,7 @@ "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", "requires": { - "lodash": "^4.17.10" + "lodash": "4.17.11" } }, "async-each": { @@ -1271,7 +1271,7 @@ "resolved": "https://registry.npmjs.org/async-eventemitter/-/async-eventemitter-0.2.4.tgz", "integrity": "sha512-pd20BwL7Yt1zwDFy+8MX8F1+WCT8aQeKj0kQnTrH9WaeRETlRamVhD0JtRPmrV4GfOJ2F9CvdQkZeZhnh2TuHw==", "requires": { - "async": "^2.4.0" + "async": "2.6.1" } }, "async-limiter": { @@ -1301,11 +1301,11 @@ }, "axios": { "version": "0.18.0", - "resolved": "http://registry.npmjs.org/axios/-/axios-0.18.0.tgz", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.0.tgz", "integrity": "sha1-MtU+SFHv3AoRmTts0AB4nXDAUQI=", "requires": { - "follow-redirects": "^1.3.0", - "is-buffer": "^1.1.5" + "follow-redirects": "1.5.8", + "is-buffer": "1.1.6" } }, "babel-code-frame": { @@ -1313,9 +1313,9 @@ "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", "requires": { - "chalk": "^1.1.3", - "esutils": "^2.0.2", - "js-tokens": "^3.0.2" + "chalk": "1.1.3", + "esutils": "2.0.2", + "js-tokens": "3.0.2" }, "dependencies": { "ansi-styles": { @@ -1325,14 +1325,14 @@ }, "chalk": { "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" } }, "supports-color": { @@ -1352,14 +1352,14 @@ "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", "requires": { - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "detect-indent": "^4.0.0", - "jsesc": "^1.3.0", - "lodash": "^4.17.4", - "source-map": "^0.5.7", - "trim-right": "^1.0.1" + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "detect-indent": "4.0.0", + "jsesc": "1.3.0", + "lodash": "4.17.11", + "source-map": "0.5.7", + "trim-right": "1.0.1" }, "dependencies": { "jsesc": { @@ -1379,9 +1379,9 @@ "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", "requires": { - "babel-helper-explode-assignable-expression": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-helper-explode-assignable-expression": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" } }, "babel-helper-call-delegate": { @@ -1389,10 +1389,10 @@ "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", "requires": { - "babel-helper-hoist-variables": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" } }, "babel-helper-define-map": { @@ -1400,10 +1400,10 @@ "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", "requires": { - "babel-helper-function-name": "^6.24.1", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "lodash": "^4.17.4" + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.11" } }, "babel-helper-explode-assignable-expression": { @@ -1411,9 +1411,9 @@ "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", "requires": { - "babel-runtime": "^6.22.0", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" } }, "babel-helper-function-name": { @@ -1421,11 +1421,11 @@ "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", "requires": { - "babel-helper-get-function-arity": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" } }, "babel-helper-get-function-arity": { @@ -1433,8 +1433,8 @@ "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" } }, "babel-helper-hoist-variables": { @@ -1442,8 +1442,8 @@ "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" } }, "babel-helper-optimise-call-expression": { @@ -1451,8 +1451,8 @@ "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" } }, "babel-helper-regex": { @@ -1460,9 +1460,9 @@ "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", "requires": { - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "lodash": "^4.17.4" + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.11" } }, "babel-helper-remap-async-to-generator": { @@ -1470,11 +1470,11 @@ "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", "requires": { - "babel-helper-function-name": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" } }, "babel-helper-replace-supers": { @@ -1482,12 +1482,12 @@ "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", "requires": { - "babel-helper-optimise-call-expression": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" + "babel-helper-optimise-call-expression": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" } }, "babel-helpers": { @@ -1495,8 +1495,8 @@ "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", "requires": { - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" } }, "babel-loader": { @@ -1504,10 +1504,10 @@ "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.0.0-beta.3.tgz", "integrity": "sha512-yvaAx7cBEjh+R2oGL2vIPmveO6daS5TYP2FSPq4b6CUYjU/ilD4HHyfLIa9KUj6OKBcR9fQcl1NvUOTWNaJ6mw==", "requires": { - "find-cache-dir": "^1.0.0", - "loader-utils": "^1.0.2", - "mkdirp": "^0.5.1", - "util.promisify": "^1.0.0" + "find-cache-dir": "1.0.0", + "loader-utils": "1.1.0", + "mkdirp": "0.5.1", + "util.promisify": "1.0.0" } }, "babel-messages": { @@ -1515,7 +1515,7 @@ "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-check-es2015-constants": { @@ -1523,27 +1523,27 @@ "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-react-require": { "version": "3.0.0", - "resolved": "http://registry.npmjs.org/babel-plugin-react-require/-/babel-plugin-react-require-3.0.0.tgz", + "resolved": "https://registry.npmjs.org/babel-plugin-react-require/-/babel-plugin-react-require-3.0.0.tgz", "integrity": "sha1-Lk57RJa5OmVKHIAEInbeTk7rIOM=" }, "babel-plugin-syntax-async-functions": { "version": "6.13.0", - "resolved": "http://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=" }, "babel-plugin-syntax-exponentiation-operator": { "version": "6.13.0", - "resolved": "http://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=" }, "babel-plugin-syntax-jsx": { "version": "6.18.0", - "resolved": "http://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=" }, "babel-plugin-syntax-trailing-function-commas": { @@ -1556,9 +1556,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", "requires": { - "babel-helper-remap-async-to-generator": "^6.24.1", - "babel-plugin-syntax-async-functions": "^6.8.0", - "babel-runtime": "^6.22.0" + "babel-helper-remap-async-to-generator": "6.24.1", + "babel-plugin-syntax-async-functions": "6.13.0", + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-arrow-functions": { @@ -1566,7 +1566,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-block-scoped-functions": { @@ -1574,7 +1574,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-block-scoping": { @@ -1582,11 +1582,11 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", "requires": { - "babel-runtime": "^6.26.0", - "babel-template": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "lodash": "^4.17.4" + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.11" } }, "babel-plugin-transform-es2015-classes": { @@ -1594,15 +1594,15 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", "requires": { - "babel-helper-define-map": "^6.24.1", - "babel-helper-function-name": "^6.24.1", - "babel-helper-optimise-call-expression": "^6.24.1", - "babel-helper-replace-supers": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" + "babel-helper-define-map": "6.26.0", + "babel-helper-function-name": "6.24.1", + "babel-helper-optimise-call-expression": "6.24.1", + "babel-helper-replace-supers": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" } }, "babel-plugin-transform-es2015-computed-properties": { @@ -1610,8 +1610,8 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", "requires": { - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" } }, "babel-plugin-transform-es2015-destructuring": { @@ -1619,7 +1619,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-duplicate-keys": { @@ -1627,8 +1627,8 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" } }, "babel-plugin-transform-es2015-for-of": { @@ -1636,7 +1636,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-function-name": { @@ -1644,9 +1644,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", "requires": { - "babel-helper-function-name": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" } }, "babel-plugin-transform-es2015-literals": { @@ -1654,7 +1654,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-modules-amd": { @@ -1662,9 +1662,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", "requires": { - "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" } }, "babel-plugin-transform-es2015-modules-commonjs": { @@ -1672,10 +1672,10 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz", "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==", "requires": { - "babel-plugin-transform-strict-mode": "^6.24.1", - "babel-runtime": "^6.26.0", - "babel-template": "^6.26.0", - "babel-types": "^6.26.0" + "babel-plugin-transform-strict-mode": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-types": "6.26.0" } }, "babel-plugin-transform-es2015-modules-systemjs": { @@ -1683,9 +1683,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", "requires": { - "babel-helper-hoist-variables": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" } }, "babel-plugin-transform-es2015-modules-umd": { @@ -1693,9 +1693,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", "requires": { - "babel-plugin-transform-es2015-modules-amd": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" } }, "babel-plugin-transform-es2015-object-super": { @@ -1703,8 +1703,8 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", "requires": { - "babel-helper-replace-supers": "^6.24.1", - "babel-runtime": "^6.22.0" + "babel-helper-replace-supers": "6.24.1", + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-parameters": { @@ -1712,12 +1712,12 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", "requires": { - "babel-helper-call-delegate": "^6.24.1", - "babel-helper-get-function-arity": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" + "babel-helper-call-delegate": "6.24.1", + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" } }, "babel-plugin-transform-es2015-shorthand-properties": { @@ -1725,8 +1725,8 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" } }, "babel-plugin-transform-es2015-spread": { @@ -1734,7 +1734,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-sticky-regex": { @@ -1742,9 +1742,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", "requires": { - "babel-helper-regex": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-helper-regex": "6.26.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" } }, "babel-plugin-transform-es2015-template-literals": { @@ -1752,7 +1752,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-typeof-symbol": { @@ -1760,7 +1760,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", "requires": { - "babel-runtime": "^6.22.0" + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-es2015-unicode-regex": { @@ -1768,9 +1768,9 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", "requires": { - "babel-helper-regex": "^6.24.1", - "babel-runtime": "^6.22.0", - "regexpu-core": "^2.0.0" + "babel-helper-regex": "6.26.0", + "babel-runtime": "6.26.0", + "regexpu-core": "2.0.0" }, "dependencies": { "jsesc": { @@ -1783,9 +1783,9 @@ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", "requires": { - "regenerate": "^1.2.1", - "regjsgen": "^0.2.0", - "regjsparser": "^0.1.4" + "regenerate": "1.4.0", + "regjsgen": "0.2.0", + "regjsparser": "0.1.5" } }, "regjsgen": { @@ -1798,7 +1798,7 @@ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", "requires": { - "jsesc": "~0.5.0" + "jsesc": "0.5.0" } } } @@ -1808,14 +1808,14 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", "requires": { - "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1", - "babel-plugin-syntax-exponentiation-operator": "^6.8.0", - "babel-runtime": "^6.22.0" + "babel-helper-builder-binary-assignment-operator-visitor": "6.24.1", + "babel-plugin-syntax-exponentiation-operator": "6.13.0", + "babel-runtime": "6.26.0" } }, "babel-plugin-transform-react-remove-prop-types": { "version": "0.4.13", - "resolved": "http://registry.npmjs.org/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.13.tgz", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.13.tgz", "integrity": "sha1-Mxz8BQmagII4MR14MZwnRg1IEYk=" }, "babel-plugin-transform-regenerator": { @@ -1823,7 +1823,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", "requires": { - "regenerator-transform": "^0.10.0" + "regenerator-transform": "0.10.1" }, "dependencies": { "regenerator-transform": { @@ -1831,9 +1831,9 @@ "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", "requires": { - "babel-runtime": "^6.18.0", - "babel-types": "^6.19.0", - "private": "^0.1.6" + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "private": "0.1.8" } } } @@ -1843,8 +1843,8 @@ "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" } }, "babel-preset-env": { @@ -1852,36 +1852,36 @@ "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz", "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==", "requires": { - "babel-plugin-check-es2015-constants": "^6.22.0", - "babel-plugin-syntax-trailing-function-commas": "^6.22.0", - "babel-plugin-transform-async-to-generator": "^6.22.0", - "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", - "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", - "babel-plugin-transform-es2015-block-scoping": "^6.23.0", - "babel-plugin-transform-es2015-classes": "^6.23.0", - "babel-plugin-transform-es2015-computed-properties": "^6.22.0", - "babel-plugin-transform-es2015-destructuring": "^6.23.0", - "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0", - "babel-plugin-transform-es2015-for-of": "^6.23.0", - "babel-plugin-transform-es2015-function-name": "^6.22.0", - "babel-plugin-transform-es2015-literals": "^6.22.0", - "babel-plugin-transform-es2015-modules-amd": "^6.22.0", - "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0", - "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0", - "babel-plugin-transform-es2015-modules-umd": "^6.23.0", - "babel-plugin-transform-es2015-object-super": "^6.22.0", - "babel-plugin-transform-es2015-parameters": "^6.23.0", - "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0", - "babel-plugin-transform-es2015-spread": "^6.22.0", - "babel-plugin-transform-es2015-sticky-regex": "^6.22.0", - "babel-plugin-transform-es2015-template-literals": "^6.22.0", - "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0", - "babel-plugin-transform-es2015-unicode-regex": "^6.22.0", - "babel-plugin-transform-exponentiation-operator": "^6.22.0", - "babel-plugin-transform-regenerator": "^6.22.0", - "browserslist": "^3.2.6", - "invariant": "^2.2.2", - "semver": "^5.3.0" + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.26.0", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-regenerator": "6.26.0", + "browserslist": "3.2.8", + "invariant": "2.2.4", + "semver": "5.5.1" } }, "babel-register": { @@ -1889,13 +1889,13 @@ "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", "requires": { - "babel-core": "^6.26.0", - "babel-runtime": "^6.26.0", - "core-js": "^2.5.0", - "home-or-tmp": "^2.0.0", - "lodash": "^4.17.4", - "mkdirp": "^0.5.1", - "source-map-support": "^0.4.15" + "babel-core": "6.26.3", + "babel-runtime": "6.26.0", + "core-js": "2.5.7", + "home-or-tmp": "2.0.0", + "lodash": "4.17.11", + "mkdirp": "0.5.1", + "source-map-support": "0.4.18" }, "dependencies": { "babel-core": { @@ -1903,25 +1903,25 @@ "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", "requires": { - "babel-code-frame": "^6.26.0", - "babel-generator": "^6.26.0", - "babel-helpers": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-register": "^6.26.0", - "babel-runtime": "^6.26.0", - "babel-template": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "convert-source-map": "^1.5.1", - "debug": "^2.6.9", - "json5": "^0.5.1", - "lodash": "^4.17.4", - "minimatch": "^3.0.4", - "path-is-absolute": "^1.0.1", - "private": "^0.1.8", - "slash": "^1.0.0", - "source-map": "^0.5.7" + "babel-code-frame": "6.26.0", + "babel-generator": "6.26.1", + "babel-helpers": "6.24.1", + "babel-messages": "6.23.0", + "babel-register": "6.26.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "convert-source-map": "1.6.0", + "debug": "2.6.9", + "json5": "0.5.1", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "path-is-absolute": "1.0.1", + "private": "0.1.8", + "slash": "1.0.0", + "source-map": "0.5.7" } }, "babylon": { @@ -1949,8 +1949,8 @@ "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", "requires": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" + "core-js": "2.5.7", + "regenerator-runtime": "0.11.1" } }, "babel-template": { @@ -1958,11 +1958,11 @@ "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", "requires": { - "babel-runtime": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "lodash": "^4.17.4" + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "lodash": "4.17.11" }, "dependencies": { "babylon": { @@ -1977,15 +1977,15 @@ "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", "requires": { - "babel-code-frame": "^6.26.0", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "debug": "^2.6.8", - "globals": "^9.18.0", - "invariant": "^2.2.2", - "lodash": "^4.17.4" + "babel-code-frame": "6.26.0", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "debug": "2.6.9", + "globals": "9.18.0", + "invariant": "2.2.4", + "lodash": "4.17.11" }, "dependencies": { "babylon": { @@ -2013,10 +2013,10 @@ "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", "requires": { - "babel-runtime": "^6.26.0", - "esutils": "^2.0.2", - "lodash": "^4.17.4", - "to-fast-properties": "^1.0.3" + "babel-runtime": "6.26.0", + "esutils": "2.0.2", + "lodash": "4.17.11", + "to-fast-properties": "1.0.3" }, "dependencies": { "to-fast-properties": { @@ -2028,11 +2028,11 @@ }, "babelify": { "version": "7.3.0", - "resolved": "http://registry.npmjs.org/babelify/-/babelify-7.3.0.tgz", + "resolved": "https://registry.npmjs.org/babelify/-/babelify-7.3.0.tgz", "integrity": "sha1-qlau3nBn/XvVSWZu4W3ChQh+iOU=", "requires": { - "babel-core": "^6.0.14", - "object-assign": "^4.0.0" + "babel-core": "6.26.3", + "object-assign": "4.1.1" }, "dependencies": { "babel-core": { @@ -2040,25 +2040,25 @@ "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", "requires": { - "babel-code-frame": "^6.26.0", - "babel-generator": "^6.26.0", - "babel-helpers": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-register": "^6.26.0", - "babel-runtime": "^6.26.0", - "babel-template": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "convert-source-map": "^1.5.1", - "debug": "^2.6.9", - "json5": "^0.5.1", - "lodash": "^4.17.4", - "minimatch": "^3.0.4", - "path-is-absolute": "^1.0.1", - "private": "^0.1.8", - "slash": "^1.0.0", - "source-map": "^0.5.7" + "babel-code-frame": "6.26.0", + "babel-generator": "6.26.1", + "babel-helpers": "6.24.1", + "babel-messages": "6.23.0", + "babel-register": "6.26.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "convert-source-map": "1.6.0", + "debug": "2.6.9", + "json5": "0.5.1", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "path-is-absolute": "1.0.1", + "private": "0.1.8", + "slash": "1.0.0", + "source-map": "0.5.7" } }, "babylon": { @@ -2088,7 +2088,7 @@ }, "babylon": { "version": "7.0.0-beta.42", - "resolved": "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.42.tgz", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.42.tgz", "integrity": "sha512-h6E/OkkvcBw/JimbL0p8dIaxrcuQn3QmIYGC/GtJlRYif5LTKBYPHXYwqluJpfS/kOXoz0go+9mkmOVC0M+zWw==" }, "backoff": { @@ -2096,7 +2096,7 @@ "resolved": "https://registry.npmjs.org/backoff/-/backoff-2.5.0.tgz", "integrity": "sha1-9hbtqdPktmuMp/ynn2lXIsX44m8=", "requires": { - "precond": "0.2" + "precond": "0.2.3" } }, "balanced-match": { @@ -2109,13 +2109,13 @@ "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", "requires": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" + "cache-base": "1.0.1", + "class-utils": "0.3.6", + "component-emitter": "1.2.1", + "define-property": "1.0.0", + "isobject": "3.0.1", + "mixin-deep": "1.3.1", + "pascalcase": "0.1.1" }, "dependencies": { "define-property": { @@ -2123,7 +2123,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "requires": { - "is-descriptor": "^1.0.0" + "is-descriptor": "1.0.2" } }, "is-accessor-descriptor": { @@ -2131,7 +2131,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-data-descriptor": { @@ -2139,7 +2139,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-descriptor": { @@ -2147,9 +2147,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" } }, "isobject": { @@ -2169,7 +2169,7 @@ "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.4.tgz", "integrity": "sha512-UYOadoSIkEI/VrRGSG6qp93rp2WdokiAiNYDfGW5qURAY8GiAQkvMbwNNSDYiVJopqv4gCna7xqf4rrNGp+5AA==", "requires": { - "safe-buffer": "^5.0.1" + "safe-buffer": "5.1.2" } }, "base64-js": { @@ -2183,7 +2183,7 @@ "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", "optional": true, "requires": { - "tweetnacl": "^0.14.3" + "tweetnacl": "0.14.5" }, "dependencies": { "tweetnacl": { @@ -2219,11 +2219,11 @@ "resolved": "https://registry.npmjs.org/bip39/-/bip39-2.5.0.tgz", "integrity": "sha512-xwIx/8JKoT2+IPJpFEfXoWdYwP7UVAoUxxLNfGCfVowaJE7yg1Y5B1BVPqlUNsBq5/nGwmFkwRJ8xDW4sX8OdA==", "requires": { - "create-hash": "^1.1.0", - "pbkdf2": "^3.0.9", - "randombytes": "^2.0.1", - "safe-buffer": "^5.0.1", - "unorm": "^1.3.3" + "create-hash": "1.2.0", + "pbkdf2": "3.0.17", + "randombytes": "2.0.6", + "safe-buffer": "5.1.2", + "unorm": "1.4.1" } }, "bip66": { @@ -2231,7 +2231,7 @@ "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", "requires": { - "safe-buffer": "^5.0.1" + "safe-buffer": "5.1.2" } }, "bitcore": { @@ -2239,14 +2239,14 @@ "resolved": "https://registry.npmjs.org/bitcore/-/bitcore-0.13.5.tgz", "integrity": "sha1-7PEheg0b0cqf+kvUAwrORF1oV2U=", "requires": { - "bn.js": "=2.0.4", - "bs58": "=2.0.0", - "buffer-compare": "=1.0.0", - "elliptic": "=3.0.3", - "hash.js": "=1.0.2", - "inherits": "=2.0.1", - "lodash": "=3.10.1", - "sha512": "=0.0.1" + "bn.js": "2.0.4", + "bs58": "2.0.0", + "buffer-compare": "1.0.0", + "elliptic": "3.0.3", + "hash.js": "1.0.2", + "inherits": "2.0.1", + "lodash": "3.10.1", + "sha512": "0.0.1" }, "dependencies": { "bn.js": { @@ -2266,13 +2266,13 @@ }, "elliptic": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-3.0.3.tgz", + "resolved": "http://registry.npmjs.org/elliptic/-/elliptic-3.0.3.tgz", "integrity": "sha1-hlybQgv75VAGuflp+XoNLESWZZU=", "requires": { - "bn.js": "^2.0.0", - "brorand": "^1.0.1", - "hash.js": "^1.0.0", - "inherits": "^2.0.1" + "bn.js": "2.0.4", + "brorand": "1.0.5", + "hash.js": "1.0.2", + "inherits": "2.0.1" }, "dependencies": { "brorand": { @@ -2287,7 +2287,7 @@ "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.0.2.tgz", "integrity": "sha1-vH1gH04NBaMvNSbRH+Ofel64wYc=", "requires": { - "inherits": "^2.0.1" + "inherits": "2.0.1" } }, "inherits": { @@ -2297,7 +2297,7 @@ }, "lodash": { "version": "3.10.1", - "resolved": "http://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=" }, "sha512": { @@ -2309,11 +2309,11 @@ }, "bl": { "version": "1.2.2", - "resolved": "http://registry.npmjs.org/bl/-/bl-1.2.2.tgz", + "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz", "integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==", "requires": { - "readable-stream": "^2.3.5", - "safe-buffer": "^5.1.1" + "readable-stream": "2.3.6", + "safe-buffer": "5.1.2" } }, "blakejs": { @@ -2326,7 +2326,7 @@ "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", "requires": { - "inherits": "~2.0.0" + "inherits": "2.0.3" } }, "bluebird": { @@ -2345,15 +2345,15 @@ "integrity": "sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=", "requires": { "bytes": "3.0.0", - "content-type": "~1.0.4", + "content-type": "1.0.4", "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "~1.6.3", + "depd": "1.1.2", + "http-errors": "1.6.3", "iconv-lite": "0.4.23", - "on-finished": "~2.3.0", + "on-finished": "2.3.0", "qs": "6.5.2", "raw-body": "2.3.3", - "type-is": "~1.6.16" + "type-is": "1.6.16" }, "dependencies": { "debug": { @@ -2371,13 +2371,13 @@ }, "http-errors": { "version": "1.6.3", - "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", "requires": { - "depd": "~1.1.2", + "depd": "1.1.2", "inherits": "2.0.3", "setprototypeof": "1.1.0", - "statuses": ">= 1.4.0 < 2" + "statuses": "1.5.0" } }, "iconv-lite": { @@ -2385,7 +2385,7 @@ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", "requires": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": "2.1.2" } }, "setprototypeof": { @@ -2400,10 +2400,10 @@ "resolved": "https://registry.npmjs.org/borc/-/borc-2.0.3.tgz", "integrity": "sha512-2mfipKUXn7yLgwn8D5jZkJqd2ZyzqmYZQX/9d4On33oGNDLwxj5qQMst+nkKyEdaujQRFfrZCId+k8wehQVANg==", "requires": { - "bignumber.js": "^6.0.0", - "commander": "^2.15.0", - "ieee754": "^1.1.8", - "json-text-sequence": "^0.1" + "bignumber.js": "6.0.0", + "commander": "2.18.0", + "ieee754": "1.1.12", + "json-text-sequence": "0.1.1" } }, "brace-expansion": { @@ -2411,7 +2411,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "requires": { - "balanced-match": "^1.0.0", + "balanced-match": "1.0.0", "concat-map": "0.0.1" } }, @@ -2420,9 +2420,9 @@ "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", "requires": { - "expand-range": "^1.8.1", - "preserve": "^0.2.0", - "repeat-element": "^1.1.2" + "expand-range": "1.8.2", + "preserve": "0.2.0", + "repeat-element": "1.1.3" } }, "brfs": { @@ -2430,10 +2430,10 @@ "resolved": "https://registry.npmjs.org/brfs/-/brfs-1.6.1.tgz", "integrity": "sha512-OfZpABRQQf+Xsmju8XE9bDjs+uU4vLREGolP7bDgcpsI17QREyZ4Bl+2KLxxx1kCgA0fAIhKQBaBYh+PEcCqYQ==", "requires": { - "quote-stream": "^1.0.1", - "resolve": "^1.1.5", - "static-module": "^2.2.0", - "through2": "^2.0.0" + "quote-stream": "1.0.2", + "resolve": "1.8.1", + "static-module": "2.2.5", + "through2": "2.0.3" } }, "brorand": { @@ -2448,15 +2448,15 @@ }, "browserify-aes": { "version": "1.2.0", - "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", "requires": { - "buffer-xor": "^1.0.3", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.3", - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "buffer-xor": "1.0.3", + "cipher-base": "1.0.4", + "create-hash": "1.2.0", + "evp_bytestokey": "1.0.3", + "inherits": "2.0.3", + "safe-buffer": "5.1.2" } }, "browserify-cipher": { @@ -2464,9 +2464,9 @@ "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", "requires": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" + "browserify-aes": "1.2.0", + "browserify-des": "1.0.2", + "evp_bytestokey": "1.0.3" } }, "browserify-des": { @@ -2474,19 +2474,19 @@ "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", "requires": { - "cipher-base": "^1.0.1", - "des.js": "^1.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" + "cipher-base": "1.0.4", + "des.js": "1.0.0", + "inherits": "2.0.3", + "safe-buffer": "5.1.2" } }, "browserify-rsa": { "version": "4.0.1", - "resolved": "http://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", "requires": { - "bn.js": "^4.1.0", - "randombytes": "^2.0.1" + "bn.js": "4.11.8", + "randombytes": "2.0.6" } }, "browserify-sha3": { @@ -2494,7 +2494,7 @@ "resolved": "https://registry.npmjs.org/browserify-sha3/-/browserify-sha3-0.0.1.tgz", "integrity": "sha1-P/NKMAbvFcD7NWflQbkaI0ASPRE=", "requires": { - "js-sha3": "^0.3.1" + "js-sha3": "0.3.1" }, "dependencies": { "js-sha3": { @@ -2509,13 +2509,13 @@ "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz", "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", "requires": { - "bn.js": "^4.1.1", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.2", - "elliptic": "^6.0.0", - "inherits": "^2.0.1", - "parse-asn1": "^5.0.0" + "bn.js": "4.11.8", + "browserify-rsa": "4.0.1", + "create-hash": "1.2.0", + "create-hmac": "1.1.7", + "elliptic": "6.4.1", + "inherits": "2.0.3", + "parse-asn1": "5.1.1" } }, "browserify-zlib": { @@ -2523,7 +2523,7 @@ "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", "requires": { - "pako": "~1.0.5" + "pako": "1.0.6" } }, "browserslist": { @@ -2531,8 +2531,8 @@ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==", "requires": { - "caniuse-lite": "^1.0.30000844", - "electron-to-chromium": "^1.3.47" + "caniuse-lite": "1.0.30000889", + "electron-to-chromium": "1.3.74" } }, "bs58": { @@ -2540,7 +2540,7 @@ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", "requires": { - "base-x": "^3.0.2" + "base-x": "3.0.4" } }, "bs58check": { @@ -2548,8 +2548,8 @@ "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-1.3.4.tgz", "integrity": "sha1-xSVABzdJEXcU+gQsMEfrj5FRy/g=", "requires": { - "bs58": "^3.1.0", - "create-hash": "^1.1.0" + "bs58": "3.1.0", + "create-hash": "1.2.0" }, "dependencies": { "base-x": { @@ -2562,19 +2562,19 @@ "resolved": "https://registry.npmjs.org/bs58/-/bs58-3.1.0.tgz", "integrity": "sha1-1MJjiL9IBMrHFBQbGUWqR+XrJI4=", "requires": { - "base-x": "^1.1.0" + "base-x": "1.1.0" } } } }, "buffer": { "version": "4.9.1", - "resolved": "http://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" + "base64-js": "1.3.0", + "ieee754": "1.1.12", + "isarray": "1.0.0" } }, "buffer-alloc": { @@ -2582,8 +2582,8 @@ "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", "requires": { - "buffer-alloc-unsafe": "^1.1.0", - "buffer-fill": "^1.0.0" + "buffer-alloc-unsafe": "1.1.0", + "buffer-fill": "1.0.0" } }, "buffer-alloc-unsafe": { @@ -2641,19 +2641,19 @@ "resolved": "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz", "integrity": "sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA==", "requires": { - "bluebird": "^3.5.1", - "chownr": "^1.0.1", - "glob": "^7.1.2", - "graceful-fs": "^4.1.11", - "lru-cache": "^4.1.1", - "mississippi": "^2.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.2", - "ssri": "^5.2.4", - "unique-filename": "^1.1.0", - "y18n": "^4.0.0" + "bluebird": "3.5.2", + "chownr": "1.1.1", + "glob": "7.1.3", + "graceful-fs": "4.1.11", + "lru-cache": "4.1.3", + "mississippi": "2.0.0", + "mkdirp": "0.5.1", + "move-concurrently": "1.0.1", + "promise-inflight": "1.0.1", + "rimraf": "2.6.2", + "ssri": "5.3.0", + "unique-filename": "1.1.1", + "y18n": "4.0.0" }, "dependencies": { "graceful-fs": { @@ -2668,15 +2668,15 @@ "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", "requires": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" + "collection-visit": "1.0.0", + "component-emitter": "1.2.1", + "get-value": "2.0.6", + "has-value": "1.0.0", + "isobject": "3.0.1", + "set-value": "2.0.0", + "to-object-path": "0.3.0", + "union-value": "1.0.0", + "unset-value": "1.0.0" }, "dependencies": { "isobject": { @@ -2711,8 +2711,8 @@ "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", "requires": { - "align-text": "^0.1.3", - "lazy-cache": "^1.0.3" + "align-text": "0.1.4", + "lazy-cache": "1.0.4" } }, "chalk": { @@ -2720,9 +2720,9 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" } }, "checkpoint-store": { @@ -2730,7 +2730,7 @@ "resolved": "https://registry.npmjs.org/checkpoint-store/-/checkpoint-store-1.1.0.tgz", "integrity": "sha1-BOTLUWuRQziTWB5tRgGnjpVS6gY=", "requires": { - "functional-red-black-tree": "^1.0.1" + "functional-red-black-tree": "1.0.1" } }, "chokidar": { @@ -2738,19 +2738,19 @@ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.4.tgz", "integrity": "sha512-z9n7yt9rOvIJrMhvDtDictKrkFHeihkNl6uWMmZlmL6tJtX9Cs+87oK+teBx+JIgzvbX3yZHT3eF8vpbDxHJXQ==", "requires": { - "anymatch": "^2.0.0", - "async-each": "^1.0.0", - "braces": "^2.3.0", - "fsevents": "^1.2.2", - "glob-parent": "^3.1.0", - "inherits": "^2.0.1", - "is-binary-path": "^1.0.0", - "is-glob": "^4.0.0", - "lodash.debounce": "^4.0.8", - "normalize-path": "^2.1.1", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.0.0", - "upath": "^1.0.5" + "anymatch": "2.0.0", + "async-each": "1.0.1", + "braces": "2.3.2", + "fsevents": "1.2.4", + "glob-parent": "3.1.0", + "inherits": "2.0.3", + "is-binary-path": "1.0.1", + "is-glob": "4.0.0", + "lodash.debounce": "4.0.8", + "normalize-path": "2.1.1", + "path-is-absolute": "1.0.1", + "readdirp": "2.2.1", + "upath": "1.1.0" }, "dependencies": { "array-unique": { @@ -2763,16 +2763,16 @@ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" + "arr-flatten": "1.1.0", + "array-unique": "0.3.2", + "extend-shallow": "2.0.1", + "fill-range": "4.0.0", + "isobject": "3.0.1", + "repeat-element": "1.1.3", + "snapdragon": "0.8.2", + "snapdragon-node": "2.1.1", + "split-string": "3.1.0", + "to-regex": "3.0.2" } }, "fill-range": { @@ -2780,10 +2780,10 @@ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" + "extend-shallow": "2.0.1", + "is-number": "3.0.0", + "repeat-string": "1.6.1", + "to-regex-range": "2.1.1" } }, "is-glob": { @@ -2791,7 +2791,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", "requires": { - "is-extglob": "^2.1.1" + "is-extglob": "2.1.1" } }, "is-number": { @@ -2799,7 +2799,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" } }, "isobject": { @@ -2819,10 +2819,10 @@ "resolved": "https://registry.npmjs.org/cids/-/cids-0.5.5.tgz", "integrity": "sha512-oU8v+N8rViFBcj5KcsXK0gbPiMFHpP/VGlGoWQXZguJsA8ZW0X47fKt0ZPIu03U8CL1Fy+R56tO79urY6MLaSw==", "requires": { - "class-is": "^1.1.0", - "multibase": "~0.5.0", - "multicodec": "~0.2.7", - "multihashes": "~0.4.14" + "class-is": "1.1.0", + "multibase": "0.5.0", + "multicodec": "0.2.7", + "multihashes": "0.4.14" }, "dependencies": { "multibase": { @@ -2840,13 +2840,13 @@ "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.3", + "safe-buffer": "5.1.2" } }, "class-is": { "version": "1.1.0", - "resolved": "http://registry.npmjs.org/class-is/-/class-is-1.1.0.tgz", + "resolved": "https://registry.npmjs.org/class-is/-/class-is-1.1.0.tgz", "integrity": "sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw==" }, "class-utils": { @@ -2854,10 +2854,10 @@ "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", "requires": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" + "arr-union": "3.1.0", + "define-property": "0.2.5", + "isobject": "3.0.1", + "static-extend": "0.1.2" }, "dependencies": { "define-property": { @@ -2865,7 +2865,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "requires": { - "is-descriptor": "^0.1.0" + "is-descriptor": "0.1.6" } }, "isobject": { @@ -2885,8 +2885,8 @@ "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", "requires": { - "center-align": "^0.1.1", - "right-align": "^0.1.1", + "center-align": "0.1.3", + "right-align": "0.1.3", "wordwrap": "0.0.2" }, "dependencies": { @@ -2922,8 +2922,8 @@ "resolved": "https://registry.npmjs.org/coinstring/-/coinstring-2.3.0.tgz", "integrity": "sha1-zbYzY6lhUCQEolr7gsLibV/2J6Q=", "requires": { - "bs58": "^2.0.1", - "create-hash": "^1.1.1" + "bs58": "2.0.1", + "create-hash": "1.2.0" }, "dependencies": { "bs58": { @@ -2938,8 +2938,8 @@ "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", "requires": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" + "map-visit": "1.0.0", + "object-visit": "1.0.1" } }, "color-convert": { @@ -2960,7 +2960,7 @@ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", "requires": { - "delayed-stream": "~1.0.0" + "delayed-stream": "1.0.0" } }, "commander": { @@ -2988,10 +2988,10 @@ "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", "requires": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" + "buffer-from": "1.1.1", + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "typedarray": "0.0.6" } }, "console-browserify": { @@ -2999,7 +2999,7 @@ "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", "requires": { - "date-now": "^0.1.4" + "date-now": "0.1.4" } }, "constants-browserify": { @@ -3022,7 +3022,7 @@ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", "requires": { - "safe-buffer": "~5.1.1" + "safe-buffer": "5.1.2" } }, "cookie": { @@ -3045,12 +3045,12 @@ "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", "requires": { - "aproba": "^1.1.1", - "fs-write-stream-atomic": "^1.0.8", - "iferr": "^0.1.5", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.4", - "run-queue": "^1.0.0" + "aproba": "1.2.0", + "fs-write-stream-atomic": "1.0.10", + "iferr": "0.1.5", + "mkdirp": "0.5.1", + "rimraf": "2.6.2", + "run-queue": "1.0.3" } }, "copy-descriptor": { @@ -3073,8 +3073,8 @@ "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.4.tgz", "integrity": "sha1-K9OB8usgECAQXNUOpZ2mMJBpRoY=", "requires": { - "object-assign": "^4", - "vary": "^1" + "object-assign": "4.1.1", + "vary": "1.1.2" }, "dependencies": { "object-assign": { @@ -3089,33 +3089,33 @@ "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz", "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==", "requires": { - "bn.js": "^4.1.0", - "elliptic": "^6.0.0" + "bn.js": "4.11.8", + "elliptic": "6.4.1" } }, "create-hash": { "version": "1.2.0", - "resolved": "http://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", "requires": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" + "cipher-base": "1.0.4", + "inherits": "2.0.3", + "md5.js": "1.3.5", + "ripemd160": "2.0.2", + "sha.js": "2.4.11" } }, "create-hmac": { "version": "1.1.7", - "resolved": "http://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", "requires": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" + "cipher-base": "1.0.4", + "create-hash": "1.2.0", + "inherits": "2.0.3", + "ripemd160": "2.0.2", + "safe-buffer": "5.1.2", + "sha.js": "2.4.11" } }, "cross-fetch": { @@ -3129,7 +3129,7 @@ "dependencies": { "node-fetch": { "version": "2.1.2", - "resolved": "http://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz", "integrity": "sha1-q4hOjn5X44qUR1POxwb3iNF2i7U=" }, "whatwg-fetch": { @@ -3144,9 +3144,9 @@ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", "requires": { - "lru-cache": "^4.0.1", - "shebang-command": "^1.2.0", - "which": "^1.2.9" + "lru-cache": "4.1.3", + "shebang-command": "1.2.0", + "which": "1.3.1" } }, "crypto-browserify": { @@ -3154,17 +3154,17 @@ "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", "requires": { - "browserify-cipher": "^1.0.0", - "browserify-sign": "^4.0.0", - "create-ecdh": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.0", - "diffie-hellman": "^5.0.0", - "inherits": "^2.0.1", - "pbkdf2": "^3.0.3", - "public-encrypt": "^4.0.0", - "randombytes": "^2.0.0", - "randomfill": "^1.0.3" + "browserify-cipher": "1.0.1", + "browserify-sign": "4.0.4", + "create-ecdh": "4.0.3", + "create-hash": "1.2.0", + "create-hmac": "1.1.7", + "diffie-hellman": "5.0.3", + "inherits": "2.0.3", + "pbkdf2": "3.0.17", + "public-encrypt": "4.0.3", + "randombytes": "2.0.6", + "randomfill": "1.0.4" } }, "crypto-js": { @@ -3177,10 +3177,10 @@ "resolved": "https://registry.npmjs.org/css/-/css-2.2.4.tgz", "integrity": "sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw==", "requires": { - "inherits": "^2.0.3", - "source-map": "^0.6.1", - "source-map-resolve": "^0.5.2", - "urix": "^0.1.0" + "inherits": "2.0.3", + "source-map": "0.6.1", + "source-map-resolve": "0.5.2", + "urix": "0.1.0" } }, "cyclist": { @@ -3193,7 +3193,7 @@ "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", "requires": { - "es5-ext": "^0.10.9" + "es5-ext": "0.10.46" } }, "dashdash": { @@ -3201,7 +3201,7 @@ "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "requires": { - "assert-plus": "^1.0.0" + "assert-plus": "1.0.0" } }, "date-now": { @@ -3222,8 +3222,8 @@ "resolved": "https://registry.npmjs.org/debug-fabulous/-/debug-fabulous-0.0.4.tgz", "integrity": "sha1-+gccXYdIRoVCSAdCHKSxawsaB2M=", "requires": { - "debug": "2.X", - "lazy-debug-legacy": "0.0.X", + "debug": "2.6.9", + "lazy-debug-legacy": "0.0.1", "object-assign": "4.1.0" }, "dependencies": { @@ -3257,14 +3257,14 @@ "resolved": "https://registry.npmjs.org/decompress/-/decompress-4.2.0.tgz", "integrity": "sha1-eu3YVCflqS2s/lVnSnxQXpbQH50=", "requires": { - "decompress-tar": "^4.0.0", - "decompress-tarbz2": "^4.0.0", - "decompress-targz": "^4.0.0", - "decompress-unzip": "^4.0.1", - "graceful-fs": "^4.1.10", - "make-dir": "^1.0.0", - "pify": "^2.3.0", - "strip-dirs": "^2.0.0" + "decompress-tar": "4.1.1", + "decompress-tarbz2": "4.1.1", + "decompress-targz": "4.1.1", + "decompress-unzip": "4.0.1", + "graceful-fs": "4.1.11", + "make-dir": "1.3.0", + "pify": "2.3.0", + "strip-dirs": "2.1.0" }, "dependencies": { "graceful-fs": { @@ -3284,7 +3284,7 @@ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", "requires": { - "mimic-response": "^1.0.0" + "mimic-response": "1.0.1" } }, "decompress-tar": { @@ -3292,9 +3292,9 @@ "resolved": "https://registry.npmjs.org/decompress-tar/-/decompress-tar-4.1.1.tgz", "integrity": "sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ==", "requires": { - "file-type": "^5.2.0", - "is-stream": "^1.1.0", - "tar-stream": "^1.5.2" + "file-type": "5.2.0", + "is-stream": "1.1.0", + "tar-stream": "1.6.2" } }, "decompress-tarbz2": { @@ -3302,11 +3302,11 @@ "resolved": "https://registry.npmjs.org/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz", "integrity": "sha512-s88xLzf1r81ICXLAVQVzaN6ZmX4A6U4z2nMbOwobxkLoIIfjVMBg7TeguTUXkKeXni795B6y5rnvDw7rxhAq9A==", "requires": { - "decompress-tar": "^4.1.0", - "file-type": "^6.1.0", - "is-stream": "^1.1.0", - "seek-bzip": "^1.0.5", - "unbzip2-stream": "^1.0.9" + "decompress-tar": "4.1.1", + "file-type": "6.2.0", + "is-stream": "1.1.0", + "seek-bzip": "1.0.5", + "unbzip2-stream": "1.3.0" }, "dependencies": { "file-type": { @@ -3321,9 +3321,9 @@ "resolved": "https://registry.npmjs.org/decompress-targz/-/decompress-targz-4.1.1.tgz", "integrity": "sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w==", "requires": { - "decompress-tar": "^4.1.1", - "file-type": "^5.2.0", - "is-stream": "^1.1.0" + "decompress-tar": "4.1.1", + "file-type": "5.2.0", + "is-stream": "1.1.0" } }, "decompress-unzip": { @@ -3331,10 +3331,10 @@ "resolved": "https://registry.npmjs.org/decompress-unzip/-/decompress-unzip-4.0.1.tgz", "integrity": "sha1-3qrM39FK6vhVePczroIQ+bSEj2k=", "requires": { - "file-type": "^3.8.0", - "get-stream": "^2.2.0", - "pify": "^2.3.0", - "yauzl": "^2.4.2" + "file-type": "3.9.0", + "get-stream": "2.3.1", + "pify": "2.3.0", + "yauzl": "2.10.0" }, "dependencies": { "file-type": { @@ -3344,11 +3344,11 @@ }, "get-stream": { "version": "2.3.1", - "resolved": "http://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz", "integrity": "sha1-Xzj5PzRgCWZu4BUKBUFn+Rvdld4=", "requires": { - "object-assign": "^4.0.1", - "pinkie-promise": "^2.0.0" + "object-assign": "4.1.1", + "pinkie-promise": "2.0.1" } }, "object-assign": { @@ -3383,7 +3383,7 @@ "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-1.2.2.tgz", "integrity": "sha512-uukrWD2bguRtXilKt6cAWKyoXrTSMo5m7crUdLfWQmu8kIm88w3QZoUL+6nhpfKVmhHANER6Re3sKoNoZ3IKMA==", "requires": { - "abstract-leveldown": "~2.6.0" + "abstract-leveldown": "2.6.3" } }, "define-properties": { @@ -3391,7 +3391,7 @@ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", "requires": { - "object-keys": "^1.0.12" + "object-keys": "1.0.12" } }, "define-property": { @@ -3399,8 +3399,8 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", "requires": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" + "is-descriptor": "1.0.2", + "isobject": "3.0.1" }, "dependencies": { "is-accessor-descriptor": { @@ -3408,7 +3408,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-data-descriptor": { @@ -3416,7 +3416,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-descriptor": { @@ -3424,9 +3424,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" } }, "isobject": { @@ -3451,12 +3451,12 @@ "resolved": "https://registry.npmjs.org/del/-/del-3.0.0.tgz", "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=", "requires": { - "globby": "^6.1.0", - "is-path-cwd": "^1.0.0", - "is-path-in-cwd": "^1.0.0", - "p-map": "^1.1.1", - "pify": "^3.0.0", - "rimraf": "^2.2.8" + "globby": "6.1.0", + "is-path-cwd": "1.0.0", + "is-path-in-cwd": "1.0.1", + "p-map": "1.2.0", + "pify": "3.0.0", + "rimraf": "2.6.2" } }, "delayed-stream": { @@ -3479,8 +3479,8 @@ "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", "requires": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "inherits": "2.0.3", + "minimalistic-assert": "1.0.1" } }, "destroy": { @@ -3493,7 +3493,7 @@ "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", "requires": { - "repeating": "^2.0.0" + "repeating": "2.0.1" } }, "detect-newline": { @@ -3513,12 +3513,12 @@ }, "diffie-hellman": { "version": "5.0.3", - "resolved": "http://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", "requires": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" + "bn.js": "4.11.8", + "miller-rabin": "4.0.1", + "randombytes": "2.0.6" } }, "dom-walk": { @@ -3536,9 +3536,9 @@ "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", "requires": { - "browserify-aes": "^1.0.6", - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4" + "browserify-aes": "1.2.0", + "create-hash": "1.2.0", + "create-hmac": "1.1.7" } }, "duplexer2": { @@ -3546,7 +3546,7 @@ "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", "requires": { - "readable-stream": "^2.0.2" + "readable-stream": "2.3.6" } }, "duplexer3": { @@ -3559,10 +3559,10 @@ "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.6.0.tgz", "integrity": "sha512-fO3Di4tBKJpYTFHAxTU00BcfWMY9w24r/x21a6rZRbsD/ToUgGxsMbiGRmB7uVAXeGKXD9MwiLZa5E97EVgIRQ==", "requires": { - "end-of-stream": "^1.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.0.0", - "stream-shift": "^1.0.0" + "end-of-stream": "1.4.1", + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "stream-shift": "1.0.0" } }, "ecc-jsbn": { @@ -3571,8 +3571,8 @@ "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "optional": true, "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" + "jsbn": "0.1.1", + "safer-buffer": "2.1.2" }, "dependencies": { "jsbn": { @@ -3598,13 +3598,13 @@ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.1.tgz", "integrity": "sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==", "requires": { - "bn.js": "^4.4.0", - "brorand": "^1.0.1", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.0" + "bn.js": "4.11.8", + "brorand": "1.1.0", + "hash.js": "1.1.5", + "hmac-drbg": "1.0.1", + "inherits": "2.0.3", + "minimalistic-assert": "1.0.1", + "minimalistic-crypto-utils": "1.0.1" } }, "emitter-mixin": { @@ -3627,7 +3627,7 @@ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", "requires": { - "iconv-lite": "~0.4.13" + "iconv-lite": "0.4.24" } }, "end-of-stream": { @@ -3635,7 +3635,7 @@ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", "requires": { - "once": "^1.4.0" + "once": "1.4.0" } }, "enhanced-resolve": { @@ -3643,10 +3643,10 @@ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz", "integrity": "sha1-BCHjOf1xQZs9oT0Smzl5BAIwR24=", "requires": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.4.0", - "object-assign": "^4.0.1", - "tapable": "^0.2.7" + "graceful-fs": "4.1.11", + "memory-fs": "0.4.1", + "object-assign": "4.1.1", + "tapable": "0.2.8" }, "dependencies": { "graceful-fs": { @@ -3666,7 +3666,7 @@ "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==", "requires": { - "prr": "~1.0.1" + "prr": "1.0.1" } }, "error-ex": { @@ -3674,7 +3674,7 @@ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "requires": { - "is-arrayish": "^0.2.1" + "is-arrayish": "0.2.1" } }, "error-stack-parser": { @@ -3682,7 +3682,7 @@ "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.0.2.tgz", "integrity": "sha512-E1fPutRDdIj/hohG0UpT5mayXNCxXP9d+snxFsPU9X0XgccOumKraa3juDMwTUyi7+Bu5+mCGagjg4IYeNbOdw==", "requires": { - "stackframe": "^1.0.4" + "stackframe": "1.0.4" } }, "es-abstract": { @@ -3690,11 +3690,11 @@ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz", "integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==", "requires": { - "es-to-primitive": "^1.1.1", - "function-bind": "^1.1.1", - "has": "^1.0.1", - "is-callable": "^1.1.3", - "is-regex": "^1.0.4" + "es-to-primitive": "1.2.0", + "function-bind": "1.1.1", + "has": "1.0.3", + "is-callable": "1.1.4", + "is-regex": "1.0.4" } }, "es-to-primitive": { @@ -3702,9 +3702,9 @@ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" + "is-callable": "1.1.4", + "is-date-object": "1.0.1", + "is-symbol": "1.0.2" } }, "es5-ext": { @@ -3712,9 +3712,9 @@ "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.46.tgz", "integrity": "sha512-24XxRvJXNFwEMpJb3nOkiRJKRoupmjYmOPVlI65Qy2SrtxwOTB+g6ODjBKOtwEHbYrhWRty9xxOWLNdClT2djw==", "requires": { - "es6-iterator": "~2.0.3", - "es6-symbol": "~3.1.1", - "next-tick": "1" + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1", + "next-tick": "1.0.0" } }, "es6-iterator": { @@ -3722,9 +3722,9 @@ "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", "requires": { - "d": "1", - "es5-ext": "^0.10.35", - "es6-symbol": "^3.1.1" + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-symbol": "3.1.1" } }, "es6-map": { @@ -3732,12 +3732,12 @@ "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", "requires": { - "d": "1", - "es5-ext": "~0.10.14", - "es6-iterator": "~2.0.1", - "es6-set": "~0.1.5", - "es6-symbol": "~3.1.1", - "event-emitter": "~0.3.5" + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-iterator": "2.0.3", + "es6-set": "0.1.5", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" } }, "es6-set": { @@ -3745,11 +3745,11 @@ "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", "requires": { - "d": "1", - "es5-ext": "~0.10.14", - "es6-iterator": "~2.0.1", + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-iterator": "2.0.3", "es6-symbol": "3.1.1", - "event-emitter": "~0.3.5" + "event-emitter": "0.3.5" } }, "es6-symbol": { @@ -3757,8 +3757,8 @@ "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", "requires": { - "d": "1", - "es5-ext": "~0.10.14" + "d": "1.0.0", + "es5-ext": "0.10.46" } }, "es6-weak-map": { @@ -3766,10 +3766,10 @@ "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", "requires": { - "d": "1", - "es5-ext": "^0.10.14", - "es6-iterator": "^2.0.1", - "es6-symbol": "^3.1.1" + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1" } }, "escape-html": { @@ -3787,11 +3787,11 @@ "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.9.1.tgz", "integrity": "sha512-6hTjO1NAWkHnDk3OqQ4YrCuwwmGHL9S3nPlzBOUG/R44rda3wLNrfvQ5fkSGjyhHFKM7ALPKcKGrwvCLe0lC7Q==", "requires": { - "esprima": "^3.1.3", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1", - "source-map": "~0.6.1" + "esprima": "3.1.3", + "estraverse": "4.2.0", + "esutils": "2.0.2", + "optionator": "0.8.2", + "source-map": "0.6.1" } }, "escope": { @@ -3799,10 +3799,10 @@ "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", "requires": { - "es6-map": "^0.1.3", - "es6-weak-map": "^2.0.1", - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" + "es6-map": "0.1.5", + "es6-weak-map": "2.0.2", + "esrecurse": "4.2.1", + "estraverse": "4.2.0" } }, "esprima": { @@ -3815,7 +3815,7 @@ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", "requires": { - "estraverse": "^4.1.0" + "estraverse": "4.2.0" } }, "estraverse": { @@ -3838,13 +3838,13 @@ "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-3.0.1.tgz", "integrity": "sha512-WUVxWLuhMmsfenfZvFO5sbl1qFY2IqUlw/FPVmjjdElpqLsZtSG+wPe9Dz7W/sB6e80HgFKknOmKk2eNlznHug==", "requires": { - "eth-query": "^2.1.0", - "ethereumjs-tx": "^1.3.3", - "ethereumjs-util": "^5.1.3", - "ethjs-util": "^0.1.3", - "json-rpc-engine": "^3.6.0", - "pify": "^2.3.0", - "tape": "^4.6.3" + "eth-query": "2.1.2", + "ethereumjs-tx": "1.3.7", + "ethereumjs-util": "5.2.0", + "ethjs-util": "0.1.6", + "json-rpc-engine": "3.8.0", + "pify": "2.3.0", + "tape": "4.9.1" }, "dependencies": { "ethereumjs-util": { @@ -3852,13 +3852,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "^4.11.0", - "create-hash": "^1.1.2", - "ethjs-util": "^0.1.3", - "keccak": "^1.0.2", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1", - "secp256k1": "^3.0.1" + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "ethjs-util": "0.1.6", + "keccak": "1.4.0", + "rlp": "2.1.0", + "safe-buffer": "5.1.2", + "secp256k1": "3.5.2" } }, "pify": { @@ -3873,8 +3873,8 @@ "resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz", "integrity": "sha1-IprEbsqG1S4MmR58sq74P/D2i88=", "requires": { - "idna-uts46-hx": "^2.3.1", - "js-sha3": "^0.5.7" + "idna-uts46-hx": "2.3.1", + "js-sha3": "0.5.7" }, "dependencies": { "js-sha3": { @@ -3889,31 +3889,31 @@ "resolved": "https://registry.npmjs.org/eth-json-rpc-infura/-/eth-json-rpc-infura-3.1.2.tgz", "integrity": "sha512-IuK5Iowfs6taluA/3Okmu6EfZcFMq6MQuyrUL1PrCoJstuuBr3TvVeSy3keDyxfbrjFB34nCo538I8G+qMtsbw==", "requires": { - "cross-fetch": "^2.1.1", - "eth-json-rpc-middleware": "^1.5.0", - "json-rpc-engine": "^3.4.0", - "json-rpc-error": "^2.0.0", - "tape": "^4.8.0" + "cross-fetch": "2.2.2", + "eth-json-rpc-middleware": "1.6.0", + "json-rpc-engine": "3.8.0", + "json-rpc-error": "2.0.0", + "tape": "4.9.1" } }, "eth-json-rpc-middleware": { "version": "1.6.0", - "resolved": "http://registry.npmjs.org/eth-json-rpc-middleware/-/eth-json-rpc-middleware-1.6.0.tgz", + "resolved": "https://registry.npmjs.org/eth-json-rpc-middleware/-/eth-json-rpc-middleware-1.6.0.tgz", "integrity": "sha512-tDVCTlrUvdqHKqivYMjtFZsdD7TtpNLBCfKAcOpaVs7orBMS/A8HWro6dIzNtTZIR05FAbJ3bioFOnZpuCew9Q==", "requires": { - "async": "^2.5.0", - "eth-query": "^2.1.2", - "eth-tx-summary": "^3.1.2", - "ethereumjs-block": "^1.6.0", - "ethereumjs-tx": "^1.3.3", - "ethereumjs-util": "^5.1.2", - "ethereumjs-vm": "^2.1.0", - "fetch-ponyfill": "^4.0.0", - "json-rpc-engine": "^3.6.0", - "json-rpc-error": "^2.0.0", - "json-stable-stringify": "^1.0.1", - "promise-to-callback": "^1.0.0", - "tape": "^4.6.3" + "async": "2.6.1", + "eth-query": "2.1.2", + "eth-tx-summary": "3.2.3", + "ethereumjs-block": "1.7.1", + "ethereumjs-tx": "1.3.7", + "ethereumjs-util": "5.2.0", + "ethereumjs-vm": "2.4.0", + "fetch-ponyfill": "4.1.0", + "json-rpc-engine": "3.8.0", + "json-rpc-error": "2.0.0", + "json-stable-stringify": "1.0.1", + "promise-to-callback": "1.0.0", + "tape": "4.9.1" }, "dependencies": { "ethereumjs-util": { @@ -3921,13 +3921,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "^4.11.0", - "create-hash": "^1.1.2", - "ethjs-util": "^0.1.3", - "keccak": "^1.0.2", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1", - "secp256k1": "^3.0.1" + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "ethjs-util": "0.1.6", + "keccak": "1.4.0", + "rlp": "2.1.0", + "safe-buffer": "5.1.2", + "secp256k1": "3.5.2" } } } @@ -3937,13 +3937,13 @@ "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.27.tgz", "integrity": "sha512-B8czsfkJYzn2UIEMwjc7Mbj+Cy72V+/OXH/tb44LV8jhrjizQJJ325xMOMyk3+ETa6r6oi0jsUY14+om8mQMWA==", "requires": { - "bn.js": "^4.11.6", - "elliptic": "^6.4.0", - "keccakjs": "^0.2.1", - "nano-json-stream-parser": "^0.1.2", - "servify": "^0.1.12", - "ws": "^3.0.0", - "xhr-request-promise": "^0.1.2" + "bn.js": "4.11.8", + "elliptic": "6.4.1", + "keccakjs": "0.2.1", + "nano-json-stream-parser": "0.1.2", + "servify": "0.1.12", + "ws": "3.3.3", + "xhr-request-promise": "0.1.2" }, "dependencies": { "ws": { @@ -3951,9 +3951,9 @@ "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==", "requires": { - "async-limiter": "~1.0.0", - "safe-buffer": "~5.1.0", - "ultron": "~1.1.0" + "async-limiter": "1.0.0", + "safe-buffer": "5.1.2", + "ultron": "1.1.1" } } } @@ -3963,8 +3963,8 @@ "resolved": "https://registry.npmjs.org/eth-query/-/eth-query-2.1.2.tgz", "integrity": "sha1-1nQdkAAQa1FRDHLbktY2VFam2l4=", "requires": { - "json-rpc-random-id": "^1.0.0", - "xtend": "^4.0.1" + "json-rpc-random-id": "1.0.1", + "xtend": "4.0.1" } }, "eth-sig-util": { @@ -3973,7 +3973,7 @@ "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=", "requires": { "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git#00ba8463a7f7a67fcad737ff9c2ebd95643427f7", - "ethereumjs-util": "^5.1.1" + "ethereumjs-util": "5.2.0" }, "dependencies": { "ethereumjs-util": { @@ -3981,13 +3981,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "^4.11.0", - "create-hash": "^1.1.2", - "ethjs-util": "^0.1.3", - "keccak": "^1.0.2", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1", - "secp256k1": "^3.0.1" + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "ethjs-util": "0.1.6", + "keccak": "1.4.0", + "rlp": "2.1.0", + "safe-buffer": "5.1.2", + "secp256k1": "3.5.2" } } } @@ -3997,19 +3997,19 @@ "resolved": "https://registry.npmjs.org/eth-tx-summary/-/eth-tx-summary-3.2.3.tgz", "integrity": "sha512-1gZpA5fKarJOVSb5OUlPnhDQuIazqAkI61zlVvf5LdG47nEgw+/qhyZnuj3CUdE/TLTKuRzPLeyXLjaB4qWTRQ==", "requires": { - "async": "^2.1.2", - "bn.js": "^4.11.8", - "clone": "^2.0.0", - "concat-stream": "^1.5.1", - "end-of-stream": "^1.1.0", - "eth-query": "^2.0.2", - "ethereumjs-block": "^1.4.1", - "ethereumjs-tx": "^1.1.1", - "ethereumjs-util": "^5.0.1", + "async": "2.6.1", + "bn.js": "4.11.8", + "clone": "2.1.2", + "concat-stream": "1.6.2", + "end-of-stream": "1.4.1", + "eth-query": "2.1.2", + "ethereumjs-block": "1.7.1", + "ethereumjs-tx": "1.3.7", + "ethereumjs-util": "5.2.0", "ethereumjs-vm": "2.3.4", - "through2": "^2.0.3", - "treeify": "^1.0.1", - "web3-provider-engine": "^13.3.2" + "through2": "2.0.3", + "treeify": "1.1.0", + "web3-provider-engine": "13.8.0" }, "dependencies": { "clone": { @@ -4023,20 +4023,19 @@ "integrity": "sha512-NamWuMBIl8kmkJFVj8WzGatySTzQPQag4Xr677yFxdVtIxACFbL/dQowk0MzEqIKk93U1TwY3MjVU6mOcwZnKA==", "requires": { "async-eventemitter": "github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c", - "eth-query": "^2.1.0", - "ethereumjs-tx": "^1.3.3", - "ethereumjs-util": "^5.1.3", - "ethjs-util": "^0.1.3", - "json-rpc-engine": "^3.6.0", - "pify": "^2.3.0", - "tape": "^4.6.3" + "eth-query": "2.1.2", + "ethereumjs-tx": "1.3.7", + "ethereumjs-util": "5.2.0", + "ethjs-util": "0.1.6", + "json-rpc-engine": "3.8.0", + "pify": "2.3.0", + "tape": "4.9.1" }, "dependencies": { "async-eventemitter": { "version": "github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c", - "from": "github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c", "requires": { - "async": "^2.4.0" + "async": "2.6.1" } } } @@ -4051,13 +4050,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "^4.11.0", - "create-hash": "^1.1.2", - "ethjs-util": "^0.1.3", - "keccak": "^1.0.2", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1", - "secp256k1": "^3.0.1" + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "ethjs-util": "0.1.6", + "keccak": "1.4.0", + "rlp": "2.1.0", + "safe-buffer": "5.1.2", + "secp256k1": "3.5.2" } }, "ethereumjs-vm": { @@ -4065,17 +4064,17 @@ "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-2.3.4.tgz", "integrity": "sha512-Y4SlzNDqxrCO58jhp98HdnZVdjOqB+HC0hoU+N/DEp1aU+hFkRX/nru5F7/HkQRPIlA6aJlQp/xIA6xZs1kspw==", "requires": { - "async": "^2.1.2", - "async-eventemitter": "^0.2.2", + "async": "2.6.1", + "async-eventemitter": "0.2.4", "ethereum-common": "0.2.0", - "ethereumjs-account": "^2.0.3", - "ethereumjs-block": "~1.7.0", - "ethereumjs-util": "^5.1.3", - "fake-merkle-patricia-tree": "^1.0.1", - "functional-red-black-tree": "^1.0.1", - "merkle-patricia-tree": "^2.1.2", - "rustbn.js": "~0.1.1", - "safe-buffer": "^5.1.1" + "ethereumjs-account": "2.0.5", + "ethereumjs-block": "1.7.1", + "ethereumjs-util": "5.2.0", + "fake-merkle-patricia-tree": "1.0.1", + "functional-red-black-tree": "1.0.1", + "merkle-patricia-tree": "2.3.2", + "rustbn.js": "0.1.2", + "safe-buffer": "5.1.2" } }, "pify": { @@ -4085,28 +4084,28 @@ }, "web3-provider-engine": { "version": "13.8.0", - "resolved": "http://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-13.8.0.tgz", + "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-13.8.0.tgz", "integrity": "sha512-fZXhX5VWwWpoFfrfocslyg6P7cN3YWPG/ASaevNfeO80R+nzgoPUBXcWQekSGSsNDkeRTis4aMmpmofYf1TNtQ==", "requires": { - "async": "^2.5.0", - "clone": "^2.0.0", - "eth-block-tracker": "^2.2.2", - "eth-sig-util": "^1.4.2", - "ethereumjs-block": "^1.2.2", - "ethereumjs-tx": "^1.2.0", - "ethereumjs-util": "^5.1.1", - "ethereumjs-vm": "^2.0.2", - "fetch-ponyfill": "^4.0.0", - "json-rpc-error": "^2.0.0", - "json-stable-stringify": "^1.0.1", - "promise-to-callback": "^1.0.0", - "readable-stream": "^2.2.9", - "request": "^2.67.0", - "semaphore": "^1.0.3", - "solc": "^0.4.2", - "tape": "^4.4.0", - "xhr": "^2.2.0", - "xtend": "^4.0.1" + "async": "2.6.1", + "clone": "2.1.2", + "eth-block-tracker": "2.3.1", + "eth-sig-util": "1.4.2", + "ethereumjs-block": "1.7.1", + "ethereumjs-tx": "1.3.7", + "ethereumjs-util": "5.2.0", + "ethereumjs-vm": "2.3.4", + "fetch-ponyfill": "4.1.0", + "json-rpc-error": "2.0.0", + "json-stable-stringify": "1.0.1", + "promise-to-callback": "1.0.0", + "readable-stream": "2.3.6", + "request": "2.88.0", + "semaphore": "1.1.0", + "solc": "0.4.24", + "tape": "4.9.1", + "xhr": "2.5.0", + "xtend": "4.0.1" } } } @@ -4118,10 +4117,9 @@ }, "ethereumjs-abi": { "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#00ba8463a7f7a67fcad737ff9c2ebd95643427f7", - "from": "git+https://github.com/ethereumjs/ethereumjs-abi.git", "requires": { - "bn.js": "^4.10.0", - "ethereumjs-util": "^5.0.0" + "bn.js": "4.11.8", + "ethereumjs-util": "5.2.0" }, "dependencies": { "ethereumjs-util": { @@ -4145,9 +4143,9 @@ "resolved": "https://registry.npmjs.org/ethereumjs-account/-/ethereumjs-account-2.0.5.tgz", "integrity": "sha512-bgDojnXGjhMwo6eXQC0bY6UK2liSFUSMwwylOmQvZbSl/D7NXQ3+vrGO46ZeOgjGfxXmgIeVNDIiHw7fNZM4VA==", "requires": { - "ethereumjs-util": "^5.0.0", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1" + "ethereumjs-util": "5.2.0", + "rlp": "2.1.0", + "safe-buffer": "5.1.2" }, "dependencies": { "ethereumjs-util": { @@ -4155,13 +4153,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "^4.11.0", - "create-hash": "^1.1.2", - "ethjs-util": "^0.1.3", - "keccak": "^1.0.2", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1", - "secp256k1": "^3.0.1" + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "ethjs-util": "0.1.6", + "keccak": "1.4.0", + "rlp": "2.1.0", + "safe-buffer": "5.1.2", + "secp256k1": "3.5.2" } } } @@ -4171,11 +4169,11 @@ "resolved": "https://registry.npmjs.org/ethereumjs-block/-/ethereumjs-block-1.7.1.tgz", "integrity": "sha512-B+sSdtqm78fmKkBq78/QLKJbu/4Ts4P2KFISdgcuZUPDm9x+N7qgBPIIFUGbaakQh8bzuquiRVbdmvPKqbILRg==", "requires": { - "async": "^2.0.1", + "async": "2.6.1", "ethereum-common": "0.2.0", - "ethereumjs-tx": "^1.2.2", - "ethereumjs-util": "^5.0.0", - "merkle-patricia-tree": "^2.1.2" + "ethereumjs-tx": "1.3.7", + "ethereumjs-util": "5.2.0", + "merkle-patricia-tree": "2.3.2" }, "dependencies": { "ethereum-common": { @@ -4188,13 +4186,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "^4.11.0", - "create-hash": "^1.1.2", - "ethjs-util": "^0.1.3", - "keccak": "^1.0.2", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1", - "secp256k1": "^3.0.1" + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "ethjs-util": "0.1.6", + "keccak": "1.4.0", + "rlp": "2.1.0", + "safe-buffer": "5.1.2", + "secp256k1": "3.5.2" } } } @@ -4209,8 +4207,8 @@ "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz", "integrity": "sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==", "requires": { - "ethereum-common": "^0.0.18", - "ethereumjs-util": "^5.0.0" + "ethereum-common": "0.0.18", + "ethereumjs-util": "5.2.0" }, "dependencies": { "ethereumjs-util": { @@ -4218,13 +4216,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "^4.11.0", - "create-hash": "^1.1.2", - "ethjs-util": "^0.1.3", - "keccak": "^1.0.2", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1", - "secp256k1": "^3.0.1" + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "ethjs-util": "0.1.6", + "keccak": "1.4.0", + "rlp": "2.1.0", + "safe-buffer": "5.1.2", + "secp256k1": "3.5.2" } } } @@ -4234,11 +4232,11 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-4.5.0.tgz", "integrity": "sha1-PpQosxfuvaPXJg2FT93alUsfG8Y=", "requires": { - "bn.js": "^4.8.0", - "create-hash": "^1.1.2", - "keccakjs": "^0.2.0", - "rlp": "^2.0.0", - "secp256k1": "^3.0.1" + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "keccakjs": "0.2.1", + "rlp": "2.1.0", + "secp256k1": "3.5.2" } }, "ethereumjs-vm": { @@ -4246,17 +4244,17 @@ "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-2.4.0.tgz", "integrity": "sha512-MJ4lCWa5c6LhahhhvoDKW+YGjK00ZQn0RHHLh4L+WaH1k6Qv7/q3uTluew6sJGNCZdlO0yYMDXYW9qyxLHKlgQ==", "requires": { - "async": "^2.1.2", - "async-eventemitter": "^0.2.2", - "ethereumjs-account": "^2.0.3", - "ethereumjs-block": "~1.7.0", - "ethereumjs-common": "~0.4.0", - "ethereumjs-util": "^5.2.0", - "fake-merkle-patricia-tree": "^1.0.1", - "functional-red-black-tree": "^1.0.1", - "merkle-patricia-tree": "^2.1.2", - "rustbn.js": "~0.2.0", - "safe-buffer": "^5.1.1" + "async": "2.6.1", + "async-eventemitter": "0.2.4", + "ethereumjs-account": "2.0.5", + "ethereumjs-block": "1.7.1", + "ethereumjs-common": "0.4.1", + "ethereumjs-util": "5.2.0", + "fake-merkle-patricia-tree": "1.0.1", + "functional-red-black-tree": "1.0.1", + "merkle-patricia-tree": "2.3.2", + "rustbn.js": "0.2.0", + "safe-buffer": "5.1.2" }, "dependencies": { "ethereumjs-util": { @@ -4264,13 +4262,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "^4.11.0", - "create-hash": "^1.1.2", - "ethjs-util": "^0.1.3", - "keccak": "^1.0.2", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1", - "secp256k1": "^3.0.1" + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "ethjs-util": "0.1.6", + "keccak": "1.4.0", + "rlp": "2.1.0", + "safe-buffer": "5.1.2", + "secp256k1": "3.5.2" } }, "rustbn.js": { @@ -4285,18 +4283,18 @@ "resolved": "https://registry.npmjs.org/ethereumjs-wallet/-/ethereumjs-wallet-0.6.0.tgz", "integrity": "sha1-gnY7Fpfuenlr5xVdqd+0my+Yz9s=", "requires": { - "aes-js": "^0.2.3", - "bs58check": "^1.0.8", - "ethereumjs-util": "^4.4.0", - "hdkey": "^0.7.0", - "scrypt.js": "^0.2.0", - "utf8": "^2.1.1", - "uuid": "^2.0.1" + "aes-js": "0.2.4", + "bs58check": "1.3.4", + "ethereumjs-util": "4.5.0", + "hdkey": "0.7.1", + "scrypt.js": "0.2.0", + "utf8": "2.1.2", + "uuid": "2.0.3" }, "dependencies": { "uuid": { "version": "2.0.3", - "resolved": "http://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=" } } @@ -4306,9 +4304,9 @@ "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.0-beta.1.tgz", "integrity": "sha512-SoYhktEbLxf+fiux5SfCEwdzWENMvgIbMZD90I62s4GZD9nEjgEWy8ZboI3hck193Vs0bDoTohDISx84f2H2tw==", "requires": { - "@types/node": "^10.3.2", + "@types/node": "10.11.4", "aes-js": "3.0.0", - "bn.js": "^4.4.0", + "bn.js": "4.11.8", "elliptic": "6.3.3", "hash.js": "1.1.3", "js-sha3": "0.5.7", @@ -4328,10 +4326,10 @@ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.3.3.tgz", "integrity": "sha1-VILZZG1UvLif19mU/J4ulWiHbj8=", "requires": { - "bn.js": "^4.4.0", - "brorand": "^1.0.1", - "hash.js": "^1.0.0", - "inherits": "^2.0.1" + "bn.js": "4.11.8", + "brorand": "1.1.0", + "hash.js": "1.1.3", + "inherits": "2.0.3" } }, "hash.js": { @@ -4339,8 +4337,8 @@ "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.0" + "inherits": "2.0.3", + "minimalistic-assert": "1.0.1" } }, "js-sha3": { @@ -4390,8 +4388,8 @@ "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", "requires": { - "d": "1", - "es5-ext": "~0.10.14" + "d": "1.0.0", + "es5-ext": "0.10.46" } }, "event-source-polyfill": { @@ -4406,7 +4404,7 @@ }, "events": { "version": "1.1.1", - "resolved": "http://registry.npmjs.org/events/-/events-1.1.1.tgz", + "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=" }, "evp_bytestokey": { @@ -4414,8 +4412,8 @@ "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", "requires": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" + "md5.js": "1.3.5", + "safe-buffer": "5.1.2" } }, "execa": { @@ -4423,13 +4421,13 @@ "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", "requires": { - "cross-spawn": "^5.0.1", - "get-stream": "^3.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" + "cross-spawn": "5.1.0", + "get-stream": "3.0.0", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.2", + "strip-eof": "1.0.0" } }, "expand-brackets": { @@ -4437,7 +4435,7 @@ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", "requires": { - "is-posix-bracket": "^0.1.0" + "is-posix-bracket": "0.1.1" } }, "expand-range": { @@ -4445,44 +4443,44 @@ "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", "requires": { - "fill-range": "^2.1.0" + "fill-range": "2.2.4" } }, "express": { "version": "4.16.3", - "resolved": "http://registry.npmjs.org/express/-/express-4.16.3.tgz", + "resolved": "https://registry.npmjs.org/express/-/express-4.16.3.tgz", "integrity": "sha1-avilAjUNsyRuzEvs9rWjTSL37VM=", "requires": { - "accepts": "~1.3.5", + "accepts": "1.3.5", "array-flatten": "1.1.1", "body-parser": "1.18.2", "content-disposition": "0.5.2", - "content-type": "~1.0.4", + "content-type": "1.0.4", "cookie": "0.3.1", "cookie-signature": "1.0.6", "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", + "depd": "1.1.2", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", "finalhandler": "1.1.1", "fresh": "0.5.2", "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.2", + "methods": "1.1.2", + "on-finished": "2.3.0", + "parseurl": "1.3.2", "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.3", + "proxy-addr": "2.0.4", "qs": "6.5.1", - "range-parser": "~1.2.0", + "range-parser": "1.2.0", "safe-buffer": "5.1.1", "send": "0.16.2", "serve-static": "1.13.2", "setprototypeof": "1.1.0", - "statuses": "~1.4.0", - "type-is": "~1.6.16", + "statuses": "1.4.0", + "type-is": "1.6.16", "utils-merge": "1.0.1", - "vary": "~1.1.2" + "vary": "1.1.2" }, "dependencies": { "body-parser": { @@ -4491,15 +4489,15 @@ "integrity": "sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=", "requires": { "bytes": "3.0.0", - "content-type": "~1.0.4", + "content-type": "1.0.4", "debug": "2.6.9", - "depd": "~1.1.1", - "http-errors": "~1.6.2", + "depd": "1.1.2", + "http-errors": "1.6.2", "iconv-lite": "0.4.19", - "on-finished": "~2.3.0", + "on-finished": "2.3.0", "qs": "6.5.1", "raw-body": "2.3.2", - "type-is": "~1.6.15" + "type-is": "1.6.16" } }, "debug": { @@ -4552,18 +4550,18 @@ "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", "requires": { "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", + "depd": "1.1.2", + "destroy": "1.0.4", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", "fresh": "0.5.2", - "http-errors": "~1.6.2", + "http-errors": "1.6.2", "mime": "1.4.1", "ms": "2.0.0", - "on-finished": "~2.3.0", - "range-parser": "~1.2.0", - "statuses": "~1.4.0" + "on-finished": "2.3.0", + "range-parser": "1.2.0", + "statuses": "1.4.0" } }, "setprototypeof": { @@ -4588,7 +4586,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } }, "extglob": { @@ -4596,7 +4594,7 @@ "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", "requires": { - "is-extglob": "^1.0.0" + "is-extglob": "1.0.0" }, "dependencies": { "is-extglob": { @@ -4616,7 +4614,7 @@ "resolved": "https://registry.npmjs.org/fake-merkle-patricia-tree/-/fake-merkle-patricia-tree-1.0.1.tgz", "integrity": "sha1-S4w6z7Ugr635hgsfFM2M40As3dM=", "requires": { - "checkpoint-store": "^1.1.0" + "checkpoint-store": "1.1.0" } }, "falafel": { @@ -4624,10 +4622,10 @@ "resolved": "https://registry.npmjs.org/falafel/-/falafel-2.1.0.tgz", "integrity": "sha1-lrsXdh2rqU9G0AFzizzt86Z/4Gw=", "requires": { - "acorn": "^5.0.0", - "foreach": "^2.0.5", + "acorn": "5.7.3", + "foreach": "2.0.5", "isarray": "0.0.1", - "object-keys": "^1.0.6" + "object-keys": "1.0.12" }, "dependencies": { "isarray": { @@ -4657,13 +4655,13 @@ "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz", "integrity": "sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=", "requires": { - "core-js": "^1.0.0", - "isomorphic-fetch": "^2.1.1", - "loose-envify": "^1.0.0", - "object-assign": "^4.1.0", - "promise": "^7.1.1", - "setimmediate": "^1.0.5", - "ua-parser-js": "^0.7.18" + "core-js": "1.2.7", + "isomorphic-fetch": "2.2.1", + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "promise": "7.3.1", + "setimmediate": "1.0.5", + "ua-parser-js": "0.7.18" }, "dependencies": { "core-js": { @@ -4681,7 +4679,7 @@ "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", "requires": { - "asap": "~2.0.3" + "asap": "2.0.6" } } } @@ -4691,7 +4689,7 @@ "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", "requires": { - "pend": "~1.2.0" + "pend": "1.2.0" } }, "fetch-ponyfill": { @@ -4699,7 +4697,7 @@ "resolved": "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-4.1.0.tgz", "integrity": "sha1-rjzl9zLGReq4fkroeTQUcJsjmJM=", "requires": { - "node-fetch": "~1.7.1" + "node-fetch": "1.7.3" } }, "file-type": { @@ -4722,25 +4720,25 @@ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", "requires": { - "is-number": "^2.1.0", - "isobject": "^2.0.0", - "randomatic": "^3.0.0", - "repeat-element": "^1.1.2", - "repeat-string": "^1.5.2" + "is-number": "2.1.0", + "isobject": "2.1.0", + "randomatic": "3.1.0", + "repeat-element": "1.1.3", + "repeat-string": "1.6.1" } }, "finalhandler": { "version": "1.1.1", - "resolved": "http://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==", "requires": { "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.2", - "statuses": "~1.4.0", - "unpipe": "~1.0.0" + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "statuses": "1.4.0", + "unpipe": "1.0.0" }, "dependencies": { "debug": { @@ -4763,9 +4761,9 @@ "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz", "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=", "requires": { - "commondir": "^1.0.1", - "make-dir": "^1.0.0", - "pkg-dir": "^2.0.0" + "commondir": "1.0.1", + "make-dir": "1.3.0", + "pkg-dir": "2.0.0" } }, "find-up": { @@ -4773,7 +4771,7 @@ "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "requires": { - "locate-path": "^2.0.0" + "locate-path": "2.0.0" } }, "flatmap": { @@ -4786,8 +4784,8 @@ "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.3.tgz", "integrity": "sha512-calZMC10u0FMUqoiunI2AiGIIUtUIvifNwkHhNupZH4cbNnW1Itkoh/Nf5HFYmDrwWPjrUxpkZT0KhuCq0jmGw==", "requires": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.4" + "inherits": "2.0.3", + "readable-stream": "2.3.6" } }, "follow-redirects": { @@ -4795,7 +4793,7 @@ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.8.tgz", "integrity": "sha512-sy1mXPmv7kLAMKW/8XofG7o9T+6gAjzdZK4AJF6ryqQYUa/hnzgiypoeUecZ53x7XiqKNEpNqLtS97MshW2nxg==", "requires": { - "debug": "=3.1.0" + "debug": "3.1.0" } }, "for-each": { @@ -4803,7 +4801,7 @@ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", "requires": { - "is-callable": "^1.1.3" + "is-callable": "1.1.4" } }, "for-in": { @@ -4816,7 +4814,7 @@ "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", "requires": { - "for-in": "^1.0.1" + "for-in": "1.0.2" } }, "foreach": { @@ -4839,9 +4837,9 @@ "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz", "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=", "requires": { - "asynckit": "^0.4.0", + "asynckit": "0.4.0", "combined-stream": "1.0.6", - "mime-types": "^2.1.12" + "mime-types": "2.1.20" }, "dependencies": { "combined-stream": { @@ -4849,7 +4847,7 @@ "resolved": "http://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz", "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=", "requires": { - "delayed-stream": "~1.0.0" + "delayed-stream": "1.0.0" } } } @@ -4864,7 +4862,7 @@ "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", "requires": { - "map-cache": "^0.2.2" + "map-cache": "0.2.2" } }, "fresh": { @@ -4877,9 +4875,9 @@ "resolved": "https://registry.npmjs.org/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.6.1.tgz", "integrity": "sha1-4yeBxHIvVGoGqbXXp8+ihSA3XXA=", "requires": { - "chalk": "^1.1.3", - "error-stack-parser": "^2.0.0", - "string-length": "^1.0.1" + "chalk": "1.1.3", + "error-stack-parser": "2.0.2", + "string-length": "1.0.1" }, "dependencies": { "ansi-styles": { @@ -4889,14 +4887,14 @@ }, "chalk": { "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" } }, "supports-color": { @@ -4911,8 +4909,8 @@ "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", "requires": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.0" + "inherits": "2.0.3", + "readable-stream": "2.3.6" } }, "fs-constants": { @@ -4925,11 +4923,11 @@ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^2.1.0", - "klaw": "^1.0.0", - "path-is-absolute": "^1.0.0", - "rimraf": "^2.2.8" + "graceful-fs": "4.1.11", + "jsonfile": "2.4.0", + "klaw": "1.3.1", + "path-is-absolute": "1.0.1", + "rimraf": "2.6.2" }, "dependencies": { "graceful-fs": { @@ -4944,10 +4942,10 @@ "resolved": "https://registry.npmjs.org/fs-promise/-/fs-promise-2.0.3.tgz", "integrity": "sha1-9k5PhUvPaJqovdy6JokW2z20aFQ=", "requires": { - "any-promise": "^1.3.0", - "fs-extra": "^2.0.0", - "mz": "^2.6.0", - "thenify-all": "^1.6.0" + "any-promise": "1.3.0", + "fs-extra": "2.1.2", + "mz": "2.7.0", + "thenify-all": "1.6.0" }, "dependencies": { "fs-extra": { @@ -4955,8 +4953,8 @@ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz", "integrity": "sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU=", "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^2.1.0" + "graceful-fs": "4.1.11", + "jsonfile": "2.4.0" } }, "graceful-fs": { @@ -4971,10 +4969,10 @@ "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=", "requires": { - "graceful-fs": "^4.1.2", - "iferr": "^0.1.5", - "imurmurhash": "^0.1.4", - "readable-stream": "1 || 2" + "graceful-fs": "4.1.11", + "iferr": "0.1.5", + "imurmurhash": "0.1.4", + "readable-stream": "2.3.6" }, "dependencies": { "graceful-fs": { @@ -4995,8 +4993,8 @@ "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", "optional": true, "requires": { - "nan": "^2.9.2", - "node-pre-gyp": "^0.10.0" + "nan": "2.11.1", + "node-pre-gyp": "0.10.0" }, "dependencies": { "abbrev": { @@ -5018,21 +5016,19 @@ "bundled": true, "optional": true, "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "delegates": "1.0.0", + "readable-stream": "2.3.6" } }, "balanced-match": { "version": "1.0.0", - "bundled": true, - "optional": true + "bundled": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, - "optional": true, "requires": { - "balanced-match": "^1.0.0", + "balanced-match": "1.0.0", "concat-map": "0.0.1" } }, @@ -5047,8 +5043,7 @@ }, "concat-map": { "version": "0.0.1", - "bundled": true, - "optional": true + "bundled": true }, "console-control-strings": { "version": "1.1.0", @@ -5087,7 +5082,7 @@ "bundled": true, "optional": true, "requires": { - "minipass": "^2.2.1" + "minipass": "2.2.4" } }, "fs.realpath": { @@ -5100,14 +5095,14 @@ "bundled": true, "optional": true, "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.2" } }, "glob": { @@ -5115,12 +5110,12 @@ "bundled": true, "optional": true, "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "has-unicode": { @@ -5133,7 +5128,7 @@ "bundled": true, "optional": true, "requires": { - "safer-buffer": "^2.1.0" + "safer-buffer": "2.1.2" } }, "ignore-walk": { @@ -5141,7 +5136,7 @@ "bundled": true, "optional": true, "requires": { - "minimatch": "^3.0.4" + "minimatch": "3.0.4" } }, "inflight": { @@ -5149,8 +5144,8 @@ "bundled": true, "optional": true, "requires": { - "once": "^1.3.0", - "wrappy": "1" + "once": "1.4.0", + "wrappy": "1.0.2" } }, "inherits": { @@ -5166,7 +5161,7 @@ "version": "1.0.0", "bundled": true, "requires": { - "number-is-nan": "^1.0.0" + "number-is-nan": "1.0.1" } }, "isarray": { @@ -5177,9 +5172,8 @@ "minimatch": { "version": "3.0.4", "bundled": true, - "optional": true, "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "1.1.11" } }, "minimist": { @@ -5190,8 +5184,8 @@ "version": "2.2.4", "bundled": true, "requires": { - "safe-buffer": "^5.1.1", - "yallist": "^3.0.0" + "safe-buffer": "5.1.1", + "yallist": "3.0.2" } }, "minizlib": { @@ -5199,7 +5193,7 @@ "bundled": true, "optional": true, "requires": { - "minipass": "^2.2.1" + "minipass": "2.2.4" } }, "mkdirp": { @@ -5219,9 +5213,9 @@ "bundled": true, "optional": true, "requires": { - "debug": "^2.1.2", - "iconv-lite": "^0.4.4", - "sax": "^1.2.4" + "debug": "2.6.9", + "iconv-lite": "0.4.21", + "sax": "1.2.4" } }, "node-pre-gyp": { @@ -5229,16 +5223,16 @@ "bundled": true, "optional": true, "requires": { - "detect-libc": "^1.0.2", - "mkdirp": "^0.5.1", - "needle": "^2.2.0", - "nopt": "^4.0.1", - "npm-packlist": "^1.1.6", - "npmlog": "^4.0.2", - "rc": "^1.1.7", - "rimraf": "^2.6.1", - "semver": "^5.3.0", - "tar": "^4" + "detect-libc": "1.0.3", + "mkdirp": "0.5.1", + "needle": "2.2.0", + "nopt": "4.0.1", + "npm-packlist": "1.1.10", + "npmlog": "4.1.2", + "rc": "1.2.7", + "rimraf": "2.6.2", + "semver": "5.5.0", + "tar": "4.4.1" } }, "nopt": { @@ -5246,8 +5240,8 @@ "bundled": true, "optional": true, "requires": { - "abbrev": "1", - "osenv": "^0.1.4" + "abbrev": "1.1.1", + "osenv": "0.1.5" } }, "npm-bundled": { @@ -5260,8 +5254,8 @@ "bundled": true, "optional": true, "requires": { - "ignore-walk": "^3.0.1", - "npm-bundled": "^1.0.1" + "ignore-walk": "3.0.1", + "npm-bundled": "1.0.3" } }, "npmlog": { @@ -5269,10 +5263,10 @@ "bundled": true, "optional": true, "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" + "are-we-there-yet": "1.1.4", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" } }, "number-is-nan": { @@ -5288,7 +5282,7 @@ "version": "1.4.0", "bundled": true, "requires": { - "wrappy": "1" + "wrappy": "1.0.2" } }, "os-homedir": { @@ -5306,8 +5300,8 @@ "bundled": true, "optional": true, "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.0" + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" } }, "path-is-absolute": { @@ -5325,10 +5319,10 @@ "bundled": true, "optional": true, "requires": { - "deep-extend": "^0.5.1", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" + "deep-extend": "0.5.1", + "ini": "1.3.5", + "minimist": "1.2.0", + "strip-json-comments": "2.0.1" }, "dependencies": { "minimist": { @@ -5343,13 +5337,13 @@ "bundled": true, "optional": true, "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.1", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" } }, "rimraf": { @@ -5357,7 +5351,7 @@ "bundled": true, "optional": true, "requires": { - "glob": "^7.0.5" + "glob": "7.1.2" } }, "safe-buffer": { @@ -5393,9 +5387,9 @@ "version": "1.0.2", "bundled": true, "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" } }, "string_decoder": { @@ -5403,14 +5397,14 @@ "bundled": true, "optional": true, "requires": { - "safe-buffer": "~5.1.0" + "safe-buffer": "5.1.1" } }, "strip-ansi": { "version": "3.0.1", "bundled": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "strip-json-comments": { @@ -5423,13 +5417,13 @@ "bundled": true, "optional": true, "requires": { - "chownr": "^1.0.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.2.4", - "minizlib": "^1.1.0", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.1", - "yallist": "^3.0.2" + "chownr": "1.0.1", + "fs-minipass": "1.2.5", + "minipass": "2.2.4", + "minizlib": "1.1.0", + "mkdirp": "0.5.1", + "safe-buffer": "5.1.1", + "yallist": "3.0.2" } }, "util-deprecate": { @@ -5442,7 +5436,7 @@ "bundled": true, "optional": true, "requires": { - "string-width": "^1.0.2" + "string-width": "1.0.2" } }, "wrappy": { @@ -5460,10 +5454,10 @@ "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", "requires": { - "graceful-fs": "^4.1.2", - "inherits": "~2.0.0", - "mkdirp": ">=0.5 0", - "rimraf": "2" + "graceful-fs": "4.1.11", + "inherits": "2.0.3", + "mkdirp": "0.5.1", + "rimraf": "2.6.2" }, "dependencies": { "graceful-fs": { @@ -5483,12 +5477,31 @@ "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" }, + "ganache-cli": { + "version": "6.1.8", + "resolved": "https://registry.npmjs.org/ganache-cli/-/ganache-cli-6.1.8.tgz", + "integrity": "sha512-yXzteu4SIgUL31mnpm9j+x6dpHUw0p/nsRVkcySKq0w+1vDxH9jMErP1QhZAJuTVE6ni4nfvGSNkaQx5cD3jfg==", + "requires": { + "source-map-support": "0.5.9" + }, + "dependencies": { + "source-map-support": { + "version": "0.5.9", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.9.tgz", + "integrity": "sha512-gR6Rw4MvUlYy83vP0vxoVNzM6t8MUXqNuRsuBmBHQDu1Fh6X015FrLdgoDKcNdkwGubozq0P4N0Q37UyFVr1EA==", + "requires": { + "buffer-from": "1.1.1", + "source-map": "0.6.1" + } + } + } + }, "gaze": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/gaze/-/gaze-0.5.2.tgz", "integrity": "sha1-QLcJU30k0dRXZ9takIaJ3+aaxE8=", "requires": { - "globule": "~0.1.0" + "globule": "0.1.0" } }, "get-caller-file": { @@ -5498,7 +5511,7 @@ }, "get-stream": { "version": "3.0.0", - "resolved": "http://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=" }, "get-value": { @@ -5511,7 +5524,7 @@ "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "requires": { - "assert-plus": "^1.0.0" + "assert-plus": "1.0.0" } }, "glob": { @@ -5519,12 +5532,12 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "glob-base": { @@ -5532,8 +5545,8 @@ "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", "requires": { - "glob-parent": "^2.0.0", - "is-glob": "^2.0.0" + "glob-parent": "2.0.0", + "is-glob": "2.0.1" }, "dependencies": { "glob-parent": { @@ -5541,7 +5554,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", "requires": { - "is-glob": "^2.0.0" + "is-glob": "2.0.1" } }, "is-extglob": { @@ -5554,7 +5567,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", "requires": { - "is-extglob": "^1.0.0" + "is-extglob": "1.0.0" } } } @@ -5564,8 +5577,8 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", "requires": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" + "is-glob": "3.1.0", + "path-dirname": "1.0.2" } }, "glob-stream": { @@ -5573,14 +5586,14 @@ "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-5.3.5.tgz", "integrity": "sha1-pVZlqajM3EGRWofHAeMtTgFvrSI=", "requires": { - "extend": "^3.0.0", - "glob": "^5.0.3", - "glob-parent": "^3.0.0", - "micromatch": "^2.3.7", - "ordered-read-streams": "^0.3.0", - "through2": "^0.6.0", - "to-absolute-glob": "^0.1.1", - "unique-stream": "^2.0.2" + "extend": "3.0.2", + "glob": "5.0.15", + "glob-parent": "3.1.0", + "micromatch": "2.3.11", + "ordered-read-streams": "0.3.0", + "through2": "0.6.5", + "to-absolute-glob": "0.1.1", + "unique-stream": "2.2.1" }, "dependencies": { "glob": { @@ -5588,11 +5601,11 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", "requires": { - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "2 || 3", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "isarray": { @@ -5602,13 +5615,13 @@ }, "readable-stream": { "version": "1.0.34", - "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", + "core-util-is": "1.0.2", + "inherits": "2.0.3", "isarray": "0.0.1", - "string_decoder": "~0.10.x" + "string_decoder": "0.10.31" } }, "string_decoder": { @@ -5621,8 +5634,8 @@ "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=", "requires": { - "readable-stream": ">=1.0.33-1 <1.1.0-0", - "xtend": ">=4.0.0 <4.1.0-0" + "readable-stream": "1.0.34", + "xtend": "4.0.1" } } } @@ -5632,7 +5645,7 @@ "resolved": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-2.0.0.tgz", "integrity": "sha1-H/V5TSZpQLIowCBzzZ7G/CW712A=", "requires": { - "gaze": "^0.5.1" + "gaze": "0.5.2" } }, "global": { @@ -5640,8 +5653,8 @@ "resolved": "https://registry.npmjs.org/global/-/global-4.3.2.tgz", "integrity": "sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8=", "requires": { - "min-document": "^2.19.0", - "process": "~0.5.1" + "min-document": "2.19.0", + "process": "0.5.2" }, "dependencies": { "process": { @@ -5661,11 +5674,11 @@ "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", "requires": { - "array-union": "^1.0.1", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" + "array-union": "1.0.2", + "glob": "7.1.3", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" }, "dependencies": { "object-assign": { @@ -5685,9 +5698,9 @@ "resolved": "https://registry.npmjs.org/globule/-/globule-0.1.0.tgz", "integrity": "sha1-2cjt3h2nnRJaFRt5UzuXhnY0auU=", "requires": { - "glob": "~3.1.21", - "lodash": "~1.0.1", - "minimatch": "~0.2.11" + "glob": "3.1.21", + "lodash": "1.0.2", + "minimatch": "0.2.14" }, "dependencies": { "glob": { @@ -5695,9 +5708,9 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-3.1.21.tgz", "integrity": "sha1-0p4KBV3qUTj00H7UDomC6DwgZs0=", "requires": { - "graceful-fs": "~1.2.0", - "inherits": "1", - "minimatch": "~0.2.11" + "graceful-fs": "1.2.3", + "inherits": "1.0.2", + "minimatch": "0.2.14" } }, "inherits": { @@ -5707,7 +5720,7 @@ }, "lodash": { "version": "1.0.2", - "resolved": "http://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz", "integrity": "sha1-j1dWDIO1n8JwvT1WG2kAQ0MOJVE=" }, "lru-cache": { @@ -5720,8 +5733,8 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz", "integrity": "sha1-x054BXT2PG+aCQ6Q775u9TpqdWo=", "requires": { - "lru-cache": "2", - "sigmund": "~1.0.0" + "lru-cache": "2.7.3", + "sigmund": "1.0.1" } } } @@ -5731,20 +5744,20 @@ "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz", "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==", "requires": { - "decompress-response": "^3.2.0", - "duplexer3": "^0.1.4", - "get-stream": "^3.0.0", - "is-plain-obj": "^1.1.0", - "is-retry-allowed": "^1.0.0", - "is-stream": "^1.0.0", - "isurl": "^1.0.0-alpha5", - "lowercase-keys": "^1.0.0", - "p-cancelable": "^0.3.0", - "p-timeout": "^1.1.1", - "safe-buffer": "^5.0.1", - "timed-out": "^4.0.0", - "url-parse-lax": "^1.0.0", - "url-to-options": "^1.0.1" + "decompress-response": "3.3.0", + "duplexer3": "0.1.4", + "get-stream": "3.0.0", + "is-plain-obj": "1.1.0", + "is-retry-allowed": "1.1.0", + "is-stream": "1.1.0", + "isurl": "1.0.0", + "lowercase-keys": "1.0.1", + "p-cancelable": "0.3.0", + "p-timeout": "1.2.1", + "safe-buffer": "5.1.2", + "timed-out": "4.0.1", + "url-parse-lax": "1.0.0", + "url-to-options": "1.0.1" } }, "graceful-fs": { @@ -5767,17 +5780,17 @@ "resolved": "https://registry.npmjs.org/gulp-sourcemaps/-/gulp-sourcemaps-1.12.1.tgz", "integrity": "sha1-tDfR89mAzyboEYSCNxjOFa5ll7Y=", "requires": { - "@gulp-sourcemaps/map-sources": "1.X", - "acorn": "4.X", - "convert-source-map": "1.X", - "css": "2.X", - "debug-fabulous": "0.0.X", - "detect-newline": "2.X", - "graceful-fs": "4.X", - "source-map": "~0.6.0", - "strip-bom": "2.X", - "through2": "2.X", - "vinyl": "1.X" + "@gulp-sourcemaps/map-sources": "1.0.0", + "acorn": "4.0.13", + "convert-source-map": "1.6.0", + "css": "2.2.4", + "debug-fabulous": "0.0.4", + "detect-newline": "2.1.0", + "graceful-fs": "4.1.11", + "source-map": "0.6.1", + "strip-bom": "2.0.0", + "through2": "2.0.3", + "vinyl": "1.2.0" }, "dependencies": { "acorn": { @@ -5795,8 +5808,8 @@ "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-1.2.0.tgz", "integrity": "sha1-XIgDbPVl5d8FVYv8kR+GVt8hiIQ=", "requires": { - "clone": "^1.0.0", - "clone-stats": "^0.0.1", + "clone": "1.0.4", + "clone-stats": "0.0.1", "replace-ext": "0.0.1" } } @@ -5812,8 +5825,8 @@ "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.0.tgz", "integrity": "sha512-+qnmNjI4OfH2ipQ9VQOw23bBd/ibtfbVdK2fYbY4acTDqKTW/YDp9McimZdDbG8iV9fZizUqQMD5xvriB146TA==", "requires": { - "ajv": "^5.3.0", - "har-schema": "^2.0.0" + "ajv": "5.5.2", + "har-schema": "2.0.0" }, "dependencies": { "ajv": { @@ -5821,10 +5834,10 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", "requires": { - "co": "^4.6.0", - "fast-deep-equal": "^1.0.0", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.3.0" + "co": "4.6.0", + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" } }, "fast-deep-equal": { @@ -5844,7 +5857,7 @@ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "requires": { - "function-bind": "^1.1.1" + "function-bind": "1.1.1" } }, "has-ansi": { @@ -5852,7 +5865,7 @@ "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "has-flag": { @@ -5875,7 +5888,7 @@ "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz", "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==", "requires": { - "has-symbol-support-x": "^1.4.1" + "has-symbol-support-x": "1.4.2" } }, "has-value": { @@ -5883,9 +5896,9 @@ "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", "requires": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" + "get-value": "2.0.6", + "has-values": "1.0.0", + "isobject": "3.0.1" }, "dependencies": { "isobject": { @@ -5900,8 +5913,8 @@ "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", "requires": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" + "is-number": "3.0.0", + "kind-of": "4.0.0" }, "dependencies": { "is-number": { @@ -5909,7 +5922,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -5917,7 +5930,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -5927,7 +5940,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -5937,8 +5950,8 @@ "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz", "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=", "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.3", + "safe-buffer": "5.1.2" } }, "hash.js": { @@ -5946,8 +5959,8 @@ "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.5.tgz", "integrity": "sha512-eWI5HG9Np+eHV1KQhisXWwM+4EPPYe5dFX1UZZH7k/E3JzDEazVH+VGlZi6R94ZqImq+A3D1mCEtrFIfg/E7sA==", "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" + "inherits": "2.0.3", + "minimalistic-assert": "1.0.1" } }, "hdkey": { @@ -5955,8 +5968,8 @@ "resolved": "https://registry.npmjs.org/hdkey/-/hdkey-0.7.1.tgz", "integrity": "sha1-yu5L6BqneSHpCbjSKN0PKayu5jI=", "requires": { - "coinstring": "^2.0.0", - "secp256k1": "^3.0.1" + "coinstring": "2.3.0", + "secp256k1": "3.5.2" } }, "he": { @@ -5969,9 +5982,9 @@ "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", "requires": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" + "hash.js": "1.1.5", + "minimalistic-assert": "1.0.1", + "minimalistic-crypto-utils": "1.0.1" } }, "hoist-non-react-statics": { @@ -5984,8 +5997,8 @@ "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.1" + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" } }, "hosted-git-info": { @@ -6011,7 +6024,7 @@ "depd": "1.1.1", "inherits": "2.0.3", "setprototypeof": "1.0.3", - "statuses": ">= 1.3.1 < 2" + "statuses": "1.5.0" } }, "http-https": { @@ -6024,9 +6037,9 @@ "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" + "assert-plus": "1.0.0", + "jsprim": "1.4.1", + "sshpk": "1.14.2" } }, "http-status": { @@ -6044,7 +6057,7 @@ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "requires": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": "2.1.2" } }, "idna-uts46-hx": { @@ -6092,8 +6105,8 @@ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "requires": { - "once": "^1.3.0", - "wrappy": "1" + "once": "1.4.0", + "wrappy": "1.0.2" } }, "inherits": { @@ -6116,7 +6129,7 @@ "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", "requires": { - "loose-envify": "^1.0.0" + "loose-envify": "1.4.0" } }, "invert-kv": { @@ -6135,11 +6148,11 @@ "integrity": "sha512-7ay355oMN34iXhET1BmCJVsHjOTSItEEIIpOs38qUC23AIhOy+xIPnkrTuEFjeLMrTJ7m8KMXWgWfy/2Vn9sDw==", "requires": { "jsbn": "1.1.0", - "lodash.find": "^4.6.0", - "lodash.max": "^4.0.1", - "lodash.merge": "^4.6.0", - "lodash.padstart": "^4.6.1", - "lodash.repeat": "^4.1.0", + "lodash.find": "4.6.0", + "lodash.max": "4.0.1", + "lodash.merge": "4.6.1", + "lodash.padstart": "4.6.1", + "lodash.repeat": "4.1.0", "sprintf-js": "1.1.0" } }, @@ -6153,42 +6166,42 @@ "resolved": "https://registry.npmjs.org/ipfs-api/-/ipfs-api-23.0.0.tgz", "integrity": "sha512-y7Bbs52DkmuGFYOMV1imPqlRSsbrHrrgoh+RshyiQaiu6zMyVYtOZQA0eCEj4xQDPhJjXdFQ8m4Gi+5goY2RUg==", "requires": { - "async": "^2.6.1", - "big.js": "^5.1.2", - "bs58": "^4.0.1", - "cids": "~0.5.3", - "concat-stream": "^1.6.2", - "debug": "^3.1.0", - "detect-node": "^2.0.3", + "async": "2.6.1", + "big.js": "5.1.2", + "bs58": "4.0.1", + "cids": "0.5.5", + "concat-stream": "1.6.2", + "debug": "3.1.0", + "detect-node": "2.0.4", "flatmap": "0.0.3", - "glob": "^7.1.2", - "ipfs-block": "~0.7.1", - "ipfs-unixfs": "~0.1.15", - "ipld-dag-cbor": "~0.12.1", - "ipld-dag-pb": "~0.14.6", - "is-ipfs": "~0.4.2", + "glob": "7.1.3", + "ipfs-block": "0.7.1", + "ipfs-unixfs": "0.1.15", + "ipld-dag-cbor": "0.12.1", + "ipld-dag-pb": "0.14.10", + "is-ipfs": "0.4.7", "is-pull-stream": "0.0.0", - "is-stream": "^1.1.0", - "libp2p-crypto": "~0.13.0", - "lru-cache": "^4.1.3", - "multiaddr": "^5.0.0", - "multibase": "~0.4.0", - "multihashes": "~0.4.13", - "ndjson": "^1.5.0", - "once": "^1.4.0", - "peer-id": "~0.11.0", - "peer-info": "~0.14.1", - "promisify-es6": "^1.0.3", - "pull-defer": "~0.2.2", - "pull-pushable": "^2.2.0", - "pull-stream-to-stream": "^1.3.4", - "pump": "^3.0.0", - "qs": "^6.5.2", - "readable-stream": "^2.3.6", - "stream-http": "^2.8.3", - "stream-to-pull-stream": "^1.7.2", - "streamifier": "~0.1.1", - "tar-stream": "^1.6.1" + "is-stream": "1.1.0", + "libp2p-crypto": "0.13.0", + "lru-cache": "4.1.3", + "multiaddr": "5.0.0", + "multibase": "0.4.0", + "multihashes": "0.4.14", + "ndjson": "1.5.0", + "once": "1.4.0", + "peer-id": "0.11.0", + "peer-info": "0.14.1", + "promisify-es6": "1.0.3", + "pull-defer": "0.2.3", + "pull-pushable": "2.2.0", + "pull-stream-to-stream": "1.3.4", + "pump": "3.0.0", + "qs": "6.5.2", + "readable-stream": "2.3.6", + "stream-http": "2.8.3", + "stream-to-pull-stream": "1.7.2", + "streamifier": "0.1.1", + "tar-stream": "1.6.2" } }, "ipfs-block": { @@ -6196,8 +6209,8 @@ "resolved": "https://registry.npmjs.org/ipfs-block/-/ipfs-block-0.7.1.tgz", "integrity": "sha512-ABZS9J/+OaDwc10zu6pIVdxWnOD/rkPEravk7FRVuRep7/zKSjffNhO/WuHN7Ex+MOBMz7mty0e+i6xjGnRsRQ==", "requires": { - "cids": "^0.5.3", - "class-is": "^1.1.0" + "cids": "0.5.5", + "class-is": "1.1.0" } }, "ipfs-js": { @@ -6205,10 +6218,10 @@ "resolved": "https://registry.npmjs.org/ipfs-js/-/ipfs-js-0.0.11.tgz", "integrity": "sha1-VIIvKSfOIderRHVvYhrlN91e1HU=", "requires": { - "bitcore": "^0.13.0", - "concat-stream": "^1.5.0", + "bitcore": "0.13.5", + "concat-stream": "1.6.2", "ipfs-api": "git+https://github.com/ckeenan/node-ipfs-api.git#417bf111b179bdb05a030b11ed4e6aa14ac5d549", - "vinyl": "^0.5.1" + "vinyl": "0.5.3" }, "dependencies": { "base-x": { @@ -6221,20 +6234,19 @@ "resolved": "https://registry.npmjs.org/bs58/-/bs58-3.1.0.tgz", "integrity": "sha1-1MJjiL9IBMrHFBQbGUWqR+XrJI4=", "requires": { - "base-x": "^1.1.0" + "base-x": "1.1.0" } }, "ipfs-api": { "version": "git+https://github.com/ckeenan/node-ipfs-api.git#417bf111b179bdb05a030b11ed4e6aa14ac5d549", - "from": "git+https://github.com/ckeenan/node-ipfs-api.git#concat-bin@2.3.2", "requires": { - "brfs": "^1.4.0", - "merge-stream": "^1.0.0", - "multiaddr": "^1.0.0", - "multipart-stream": "^2.0.0", - "vinyl": "^0.5.1", - "vinyl-fs-browser": "^0.1.0", - "vinyl-multipart-stream": "^1.2.5" + "brfs": "1.6.1", + "merge-stream": "1.0.1", + "multiaddr": "1.4.1", + "multipart-stream": "2.0.1", + "vinyl": "0.5.3", + "vinyl-fs-browser": "0.1.0", + "vinyl-multipart-stream": "1.2.6" } }, "multiaddr": { @@ -6242,13 +6254,13 @@ "resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-1.4.1.tgz", "integrity": "sha1-Mo7lULnhduAt0QWw2PTfkDd75hE=", "requires": { - "babel-runtime": "^6.6.1", - "bs58": "^3.0.0", - "ip": "^1.0.2", - "lodash.filter": "^4.2.1", - "lodash.map": "^4.2.1", - "varint": "^4.0.0", - "xtend": "^4.0.1" + "babel-runtime": "6.26.0", + "bs58": "3.1.0", + "ip": "1.1.5", + "lodash.filter": "4.6.0", + "lodash.map": "4.6.0", + "varint": "4.0.1", + "xtend": "4.0.1" } }, "varint": { @@ -6263,7 +6275,7 @@ "resolved": "https://registry.npmjs.org/ipfs-mini/-/ipfs-mini-1.1.2.tgz", "integrity": "sha1-nA+tP6AKgsgsrtGuBLO5ntOz6V0=", "requires": { - "xmlhttprequest": "^1.8.0" + "xmlhttprequest": "1.8.0" } }, "ipfs-unixfs": { @@ -6271,7 +6283,7 @@ "resolved": "https://registry.npmjs.org/ipfs-unixfs/-/ipfs-unixfs-0.1.15.tgz", "integrity": "sha512-fjtwBDsIlNags4btHIdAJtE02K4KqEMOhV9GEFVv1M2JO2STS23v2LAtX5qb1EOU5VrjtKlm/JIBH3XDRdAyGQ==", "requires": { - "protons": "^1.0.0" + "protons": "1.0.1" } }, "ipld-dag-cbor": { @@ -6279,14 +6291,14 @@ "resolved": "https://registry.npmjs.org/ipld-dag-cbor/-/ipld-dag-cbor-0.12.1.tgz", "integrity": "sha512-m0BR/zR9sKIuY/PydppkpwO0S9w7+ob0as7RN3jQmMIpW9m8HW7hLznvtp1xpYZknH7efUhIaMHgaQP43E5IWQ==", "requires": { - "async": "^2.6.0", - "borc": "^2.0.2", - "bs58": "^4.0.1", - "cids": "~0.5.2", - "is-circular": "^1.0.1", - "multihashes": "~0.4.12", - "multihashing-async": "~0.5.1", - "traverse": "~0.6.6" + "async": "2.6.1", + "borc": "2.0.3", + "bs58": "4.0.1", + "cids": "0.5.5", + "is-circular": "1.0.2", + "multihashes": "0.4.14", + "multihashing-async": "0.5.1", + "traverse": "0.6.6" } }, "ipld-dag-pb": { @@ -6294,16 +6306,16 @@ "resolved": "https://registry.npmjs.org/ipld-dag-pb/-/ipld-dag-pb-0.14.10.tgz", "integrity": "sha512-wtdZzLN21fg8JPYzu2gM4bNUDX65G9exXqsMAwnkeJUIeeA8Ot2BxB0ZY0wo5N26IudXNJnb4rAJKmZlsOykuw==", "requires": { - "async": "^2.6.1", - "bs58": "^4.0.1", - "cids": "~0.5.4", - "class-is": "^1.1.0", - "is-ipfs": "~0.4.2", - "multihashing-async": "~0.5.1", - "protons": "^1.0.1", - "pull-stream": "^3.6.9", - "pull-traverse": "^1.0.3", - "stable": "~0.1.8" + "async": "2.6.1", + "bs58": "4.0.1", + "cids": "0.5.5", + "class-is": "1.1.0", + "is-ipfs": "0.4.7", + "multihashing-async": "0.5.1", + "protons": "1.0.1", + "pull-stream": "3.6.9", + "pull-traverse": "1.0.3", + "stable": "0.1.8" } }, "is-accessor-descriptor": { @@ -6311,7 +6323,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" } }, "is-arrayish": { @@ -6324,7 +6336,7 @@ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", "requires": { - "binary-extensions": "^1.0.0" + "binary-extensions": "1.12.0" } }, "is-buffer": { @@ -6334,10 +6346,10 @@ }, "is-builtin-module": { "version": "1.0.0", - "resolved": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", "requires": { - "builtin-modules": "^1.0.0" + "builtin-modules": "1.1.1" } }, "is-callable": { @@ -6355,7 +6367,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" } }, "is-date-object": { @@ -6368,9 +6380,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" }, "dependencies": { "kind-of": { @@ -6390,7 +6402,7 @@ "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", "requires": { - "is-primitive": "^2.0.0" + "is-primitive": "2.0.0" } }, "is-extendable": { @@ -6408,7 +6420,7 @@ "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", "requires": { - "number-is-nan": "^1.0.0" + "number-is-nan": "1.0.1" } }, "is-fn": { @@ -6421,7 +6433,7 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "requires": { - "number-is-nan": "^1.0.0" + "number-is-nan": "1.0.1" } }, "is-function": { @@ -6434,7 +6446,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", "requires": { - "is-extglob": "^2.1.0" + "is-extglob": "2.1.1" } }, "is-hex-prefixed": { @@ -6448,9 +6460,9 @@ "integrity": "sha512-u+LzRRA5s2XMJnQ65R60SvRKb8R04ZITbbRMWBESLyLPlJ+J78zaXZzNZBIf4SQ0pnWioMNCpiIV4hw098MgOQ==", "requires": { "bs58": "4.0.1", - "cids": "~0.5.5", - "multibase": "~0.4.0", - "multihashes": "~0.4.13" + "cids": "0.5.5", + "multibase": "0.4.0", + "multihashes": "0.4.14" } }, "is-natural-number": { @@ -6463,7 +6475,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" } }, "is-object": { @@ -6481,7 +6493,7 @@ "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", "requires": { - "is-path-inside": "^1.0.0" + "is-path-inside": "1.0.1" } }, "is-path-inside": { @@ -6489,7 +6501,7 @@ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", "requires": { - "path-is-inside": "^1.0.1" + "path-is-inside": "1.0.2" } }, "is-plain-obj": { @@ -6502,7 +6514,7 @@ "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "requires": { - "isobject": "^3.0.1" + "isobject": "3.0.1" }, "dependencies": { "isobject": { @@ -6537,7 +6549,7 @@ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", "requires": { - "has": "^1.0.1" + "has": "1.0.3" } }, "is-retry-allowed": { @@ -6555,7 +6567,7 @@ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", "requires": { - "has-symbols": "^1.0.0" + "has-symbols": "1.0.0" } }, "is-typedarray": { @@ -6601,8 +6613,8 @@ "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", "requires": { - "node-fetch": "^1.0.1", - "whatwg-fetch": ">=0.10.0" + "node-fetch": "1.7.3", + "whatwg-fetch": "3.0.0" } }, "isstream": { @@ -6615,8 +6627,8 @@ "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz", "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==", "requires": { - "has-to-string-tag-x": "^1.2.0", - "is-object": "^1.0.1" + "has-to-string-tag-x": "1.4.1", + "is-object": "1.0.1" } }, "jquery": { @@ -6654,12 +6666,12 @@ "resolved": "https://registry.npmjs.org/json-rpc-engine/-/json-rpc-engine-3.8.0.tgz", "integrity": "sha512-6QNcvm2gFuuK4TKU1uwfH0Qd/cOSb9c1lls0gbnIhciktIUQJwz6NQNAW4B1KiGPenv7IKu97V222Yo1bNhGuA==", "requires": { - "async": "^2.0.1", - "babel-preset-env": "^1.7.0", - "babelify": "^7.3.0", - "json-rpc-error": "^2.0.0", - "promise-to-callback": "^1.0.0", - "safe-event-emitter": "^1.0.1" + "async": "2.6.1", + "babel-preset-env": "1.7.0", + "babelify": "7.3.0", + "json-rpc-error": "2.0.0", + "promise-to-callback": "1.0.0", + "safe-event-emitter": "1.0.1" } }, "json-rpc-error": { @@ -6667,7 +6679,7 @@ "resolved": "https://registry.npmjs.org/json-rpc-error/-/json-rpc-error-2.0.0.tgz", "integrity": "sha1-p6+cICg4tekFxyUOVH8a/3cligI=", "requires": { - "inherits": "^2.0.1" + "inherits": "2.0.3" } }, "json-rpc-random-id": { @@ -6690,7 +6702,7 @@ "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", "requires": { - "jsonify": "~0.0.0" + "jsonify": "0.0.0" } }, "json-stringify-safe": { @@ -6708,15 +6720,15 @@ }, "json5": { "version": "0.5.1", - "resolved": "http://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=" }, "jsonfile": { "version": "2.4.0", - "resolved": "http://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", "requires": { - "graceful-fs": "^4.1.6" + "graceful-fs": "4.1.11" }, "dependencies": { "graceful-fs": { @@ -6753,10 +6765,10 @@ "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz", "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==", "requires": { - "bindings": "^1.2.1", - "inherits": "^2.0.3", - "nan": "^2.2.1", - "safe-buffer": "^5.1.0" + "bindings": "1.3.0", + "inherits": "2.0.3", + "nan": "2.11.1", + "safe-buffer": "5.1.2" } }, "keccakjs": { @@ -6764,8 +6776,8 @@ "resolved": "https://registry.npmjs.org/keccakjs/-/keccakjs-0.2.1.tgz", "integrity": "sha1-HWM6+QfvMFu/ny+mFtVsRFYd+k0=", "requires": { - "browserify-sha3": "^0.0.1", - "sha3": "^1.1.0" + "browserify-sha3": "0.0.1", + "sha3": "1.2.2" } }, "keyboard-key": { @@ -6783,7 +6795,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } }, "klaw": { @@ -6791,7 +6803,7 @@ "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", "requires": { - "graceful-fs": "^4.1.9" + "graceful-fs": "4.1.11" }, "dependencies": { "graceful-fs": { @@ -6817,7 +6829,7 @@ "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", "requires": { - "invert-kv": "^1.0.0" + "invert-kv": "1.0.0" } }, "level-codec": { @@ -6830,7 +6842,7 @@ "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-1.0.5.tgz", "integrity": "sha512-/cLUpQduF6bNrWuAC4pwtUKA5t669pCsCi2XbmojG2tFeOr9j6ShtdDCtFFQO1DRt+EVZhx9gPzP9G2bUaG4ig==", "requires": { - "errno": "~0.1.1" + "errno": "0.1.7" } }, "level-iterator-stream": { @@ -6838,10 +6850,10 @@ "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-1.3.1.tgz", "integrity": "sha1-5Dt4sagUPm+pek9IXrjqUwNS8u0=", "requires": { - "inherits": "^2.0.1", - "level-errors": "^1.0.3", - "readable-stream": "^1.0.33", - "xtend": "^4.0.0" + "inherits": "2.0.3", + "level-errors": "1.0.5", + "readable-stream": "1.1.14", + "xtend": "4.0.1" }, "dependencies": { "isarray": { @@ -6851,13 +6863,13 @@ }, "readable-stream": { "version": "1.1.14", - "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", + "core-util-is": "1.0.2", + "inherits": "2.0.3", "isarray": "0.0.1", - "string_decoder": "~0.10.x" + "string_decoder": "0.10.31" } }, "string_decoder": { @@ -6872,8 +6884,8 @@ "resolved": "https://registry.npmjs.org/level-ws/-/level-ws-0.0.0.tgz", "integrity": "sha1-Ny5RIXeSSgBCSwtDrvK7QkltIos=", "requires": { - "readable-stream": "~1.0.15", - "xtend": "~2.1.1" + "readable-stream": "1.0.34", + "xtend": "2.1.2" }, "dependencies": { "isarray": { @@ -6888,13 +6900,13 @@ }, "readable-stream": { "version": "1.0.34", - "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", + "core-util-is": "1.0.2", + "inherits": "2.0.3", "isarray": "0.0.1", - "string_decoder": "~0.10.x" + "string_decoder": "0.10.31" } }, "string_decoder": { @@ -6907,7 +6919,7 @@ "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz", "integrity": "sha1-bv7MKk2tjmlixJAbM3znuoe10os=", "requires": { - "object-keys": "~0.4.0" + "object-keys": "0.4.0" } } } @@ -6917,13 +6929,13 @@ "resolved": "https://registry.npmjs.org/levelup/-/levelup-1.3.9.tgz", "integrity": "sha512-VVGHfKIlmw8w1XqpGOAGwq6sZm2WwWLmlDcULkKWQXEA5EopA8OBNJ2Ck2v6bdk8HeEZSbCSEgzXadyQFm76sQ==", "requires": { - "deferred-leveldown": "~1.2.1", - "level-codec": "~7.0.0", - "level-errors": "~1.0.3", - "level-iterator-stream": "~1.3.0", - "prr": "~1.0.1", - "semver": "~5.4.1", - "xtend": "~4.0.0" + "deferred-leveldown": "1.2.2", + "level-codec": "7.0.1", + "level-errors": "1.0.5", + "level-iterator-stream": "1.3.1", + "prr": "1.0.1", + "semver": "5.4.1", + "xtend": "4.0.1" }, "dependencies": { "semver": { @@ -6938,27 +6950,27 @@ "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", "requires": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" + "prelude-ls": "1.1.2", + "type-check": "0.3.2" } }, "libp2p-crypto": { "version": "0.13.0", - "resolved": "http://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.13.0.tgz", + "resolved": "https://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.13.0.tgz", "integrity": "sha512-i3r1TBec/xYmC5bcpPiIs3OyUAU3iy53OdRdxqawKoWTQPjYB+TyQ4w+otT66Y0sMcw70O0wH3GFAfPmQgFn+g==", "requires": { - "asn1.js": "^5.0.0", - "async": "^2.6.0", - "browserify-aes": "^1.2.0", - "bs58": "^4.0.1", - "keypair": "^1.0.1", - "libp2p-crypto-secp256k1": "~0.2.2", - "multihashing-async": "~0.4.8", - "node-forge": "^0.7.5", - "pem-jwk": "^1.5.1", - "protons": "^1.0.1", - "rsa-pem-to-jwk": "^1.1.3", - "tweetnacl": "^1.0.0", + "asn1.js": "5.0.1", + "async": "2.6.1", + "browserify-aes": "1.2.0", + "bs58": "4.0.1", + "keypair": "1.0.1", + "libp2p-crypto-secp256k1": "0.2.2", + "multihashing-async": "0.4.8", + "node-forge": "0.7.6", + "pem-jwk": "1.5.1", + "protons": "1.0.1", + "rsa-pem-to-jwk": "1.1.3", + "tweetnacl": "1.0.0", "webcrypto-shim": "github:dignifiedquire/webcrypto-shim#190bc9ec341375df6025b17ae12ddb2428ea49c8" }, "dependencies": { @@ -6967,12 +6979,12 @@ "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.4.8.tgz", "integrity": "sha512-LCc4lfxmTJOHKIjZjFNgvmfB6nXS/ErLInT9uwU8udFrRm2PH+aTPk3mfCREKmCiSHOlCWiv2O8rlnBx+OjlMw==", "requires": { - "async": "^2.6.0", - "blakejs": "^1.1.0", - "js-sha3": "^0.7.0", - "multihashes": "~0.4.13", - "murmurhash3js": "^3.0.1", - "nodeify": "^1.0.1" + "async": "2.6.1", + "blakejs": "1.1.0", + "js-sha3": "0.7.0", + "multihashes": "0.4.14", + "murmurhash3js": "3.0.1", + "nodeify": "1.0.1" } } } @@ -6982,11 +6994,11 @@ "resolved": "https://registry.npmjs.org/libp2p-crypto-secp256k1/-/libp2p-crypto-secp256k1-0.2.2.tgz", "integrity": "sha1-DdUh8Yq8TjahUuJOmzYwewrpzwU=", "requires": { - "async": "^2.5.0", - "multihashing-async": "~0.4.6", - "nodeify": "^1.0.1", - "safe-buffer": "^5.1.1", - "secp256k1": "^3.3.0" + "async": "2.6.1", + "multihashing-async": "0.4.8", + "nodeify": "1.0.1", + "safe-buffer": "5.1.2", + "secp256k1": "3.5.2" }, "dependencies": { "multihashing-async": { @@ -6994,25 +7006,25 @@ "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.4.8.tgz", "integrity": "sha512-LCc4lfxmTJOHKIjZjFNgvmfB6nXS/ErLInT9uwU8udFrRm2PH+aTPk3mfCREKmCiSHOlCWiv2O8rlnBx+OjlMw==", "requires": { - "async": "^2.6.0", - "blakejs": "^1.1.0", - "js-sha3": "^0.7.0", - "multihashes": "~0.4.13", - "murmurhash3js": "^3.0.1", - "nodeify": "^1.0.1" + "async": "2.6.1", + "blakejs": "1.1.0", + "js-sha3": "0.7.0", + "multihashes": "0.4.14", + "murmurhash3js": "3.0.1", + "nodeify": "1.0.1" } } } }, "load-json-file": { "version": "2.0.0", - "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "strip-bom": "^3.0.0" + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "strip-bom": "3.0.0" }, "dependencies": { "graceful-fs": { @@ -7042,9 +7054,9 @@ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", "requires": { - "big.js": "^3.1.3", - "emojis-list": "^2.0.0", - "json5": "^0.5.0" + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" }, "dependencies": { "big.js": { @@ -7059,8 +7071,8 @@ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" + "p-locate": "2.0.0", + "path-exists": "3.0.0" } }, "lodash": { @@ -7133,7 +7145,7 @@ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "requires": { - "js-tokens": "^3.0.0 || ^4.0.0" + "js-tokens": "3.0.2" } }, "lowercase-keys": { @@ -7146,8 +7158,8 @@ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", "requires": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" + "pseudomap": "1.0.2", + "yallist": "2.1.2" } }, "ltgt": { @@ -7160,15 +7172,15 @@ "resolved": "https://registry.npmjs.org/mafmt/-/mafmt-6.0.2.tgz", "integrity": "sha512-+ydrVDp/bo2GPTNN0378AFX66IJBlbrIBY0RaILWC9AICr9kviX5fonHeKsZiesEuuYetQeRhnZPL/J2k8vHAA==", "requires": { - "multiaddr": "^5.0.0" + "multiaddr": "5.0.0" } }, "magic-string": { "version": "0.22.5", - "resolved": "http://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", "integrity": "sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w==", "requires": { - "vlq": "^0.2.2" + "vlq": "0.2.3" } }, "make-dir": { @@ -7176,7 +7188,7 @@ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", "requires": { - "pify": "^3.0.0" + "pify": "3.0.0" } }, "map-cache": { @@ -7189,7 +7201,7 @@ "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", "requires": { - "object-visit": "^1.0.0" + "object-visit": "1.0.1" } }, "math-random": { @@ -7202,10 +7214,10 @@ "resolved": "https://registry.npmjs.org/maximatch/-/maximatch-0.1.0.tgz", "integrity": "sha1-hs2NawTJ8wfAWmuUGZBtA2D7E6I=", "requires": { - "array-differ": "^1.0.0", - "array-union": "^1.0.1", - "arrify": "^1.0.0", - "minimatch": "^3.0.0" + "array-differ": "1.0.0", + "array-union": "1.0.2", + "arrify": "1.0.1", + "minimatch": "3.0.4" } }, "md5.js": { @@ -7213,9 +7225,9 @@ "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" + "hash-base": "3.0.4", + "inherits": "2.0.3", + "safe-buffer": "5.1.2" } }, "media-typer": { @@ -7228,7 +7240,7 @@ "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", "requires": { - "mimic-fn": "^1.0.0" + "mimic-fn": "1.2.0" } }, "memdown": { @@ -7236,12 +7248,12 @@ "resolved": "https://registry.npmjs.org/memdown/-/memdown-1.4.1.tgz", "integrity": "sha1-tOThkhdGZP+65BNhqlAPMRnv4hU=", "requires": { - "abstract-leveldown": "~2.7.1", - "functional-red-black-tree": "^1.0.1", - "immediate": "^3.2.3", - "inherits": "~2.0.1", - "ltgt": "~2.2.0", - "safe-buffer": "~5.1.1" + "abstract-leveldown": "2.7.2", + "functional-red-black-tree": "1.0.1", + "immediate": "3.2.3", + "inherits": "2.0.3", + "ltgt": "2.2.1", + "safe-buffer": "5.1.2" }, "dependencies": { "abstract-leveldown": { @@ -7249,7 +7261,7 @@ "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.7.2.tgz", "integrity": "sha512-+OVvxH2rHVEhWLdbudP6p0+dNMXu8JA1CbhP19T8paTYAcX7oJ4OVjT+ZUVpv7mITxXHqDMej+GdqXBmXkw09w==", "requires": { - "xtend": "~4.0.0" + "xtend": "4.0.1" } } } @@ -7259,8 +7271,8 @@ "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", "requires": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" + "errno": "0.1.7", + "readable-stream": "2.3.6" } }, "memorystream": { @@ -7278,7 +7290,7 @@ "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.0.4.tgz", "integrity": "sha1-pd5GU42uhNQRTMXqArR3KmNGcB8=", "requires": { - "source-map": "^0.5.6" + "source-map": "0.5.7" }, "dependencies": { "source-map": { @@ -7293,7 +7305,7 @@ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz", "integrity": "sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE=", "requires": { - "readable-stream": "^2.0.1" + "readable-stream": "2.3.6" } }, "merkle-patricia-tree": { @@ -7301,19 +7313,19 @@ "resolved": "https://registry.npmjs.org/merkle-patricia-tree/-/merkle-patricia-tree-2.3.2.tgz", "integrity": "sha512-81PW5m8oz/pz3GvsAwbauj7Y00rqm81Tzad77tHBwU7pIAtN+TJnMSOJhxBKflSVYhptMMb9RskhqHqrSm1V+g==", "requires": { - "async": "^1.4.2", - "ethereumjs-util": "^5.0.0", + "async": "1.5.2", + "ethereumjs-util": "5.2.0", "level-ws": "0.0.0", - "levelup": "^1.2.1", - "memdown": "^1.0.0", - "readable-stream": "^2.0.0", - "rlp": "^2.0.0", - "semaphore": ">=1.0.1" + "levelup": "1.3.9", + "memdown": "1.4.1", + "readable-stream": "2.3.6", + "rlp": "2.1.0", + "semaphore": "1.1.0" }, "dependencies": { "async": { "version": "1.5.2", - "resolved": "http://registry.npmjs.org/async/-/async-1.5.2.tgz", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=" }, "ethereumjs-util": { @@ -7321,13 +7333,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "^4.11.0", - "create-hash": "^1.1.2", - "ethjs-util": "^0.1.3", - "keccak": "^1.0.2", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1", - "secp256k1": "^3.0.1" + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "ethjs-util": "0.1.6", + "keccak": "1.4.0", + "rlp": "2.1.0", + "safe-buffer": "5.1.2", + "secp256k1": "3.5.2" } } } @@ -7342,19 +7354,19 @@ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", "requires": { - "arr-diff": "^2.0.0", - "array-unique": "^0.2.1", - "braces": "^1.8.2", - "expand-brackets": "^0.1.4", - "extglob": "^0.3.1", - "filename-regex": "^2.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.1", - "kind-of": "^3.0.2", - "normalize-path": "^2.0.1", - "object.omit": "^2.0.0", - "parse-glob": "^3.0.4", - "regex-cache": "^0.4.2" + "arr-diff": "2.0.0", + "array-unique": "0.2.1", + "braces": "1.8.5", + "expand-brackets": "0.1.5", + "extglob": "0.3.2", + "filename-regex": "2.0.1", + "is-extglob": "1.0.0", + "is-glob": "2.0.1", + "kind-of": "3.2.2", + "normalize-path": "2.1.1", + "object.omit": "2.0.1", + "parse-glob": "3.0.4", + "regex-cache": "0.4.4" }, "dependencies": { "is-extglob": { @@ -7367,7 +7379,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", "requires": { - "is-extglob": "^1.0.0" + "is-extglob": "1.0.0" } } } @@ -7377,8 +7389,8 @@ "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", "requires": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" + "bn.js": "4.11.8", + "brorand": "1.1.0" } }, "mime": { @@ -7396,7 +7408,7 @@ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", "requires": { - "mime-db": "~1.36.0" + "mime-db": "1.36.0" } }, "mimic-fn": { @@ -7414,7 +7426,7 @@ "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", "requires": { - "dom-walk": "^0.1.0" + "dom-walk": "0.1.1" } }, "minimalistic-assert": { @@ -7432,12 +7444,12 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "1.1.11" } }, "minimist": { "version": "1.2.0", - "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" }, "mississippi": { @@ -7445,16 +7457,16 @@ "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz", "integrity": "sha512-zHo8v+otD1J10j/tC+VNoGK9keCuByhKovAvdn74dmxJl9+mWHnx6EMsDN4lgRoMI/eYo2nchAxniIbUPb5onw==", "requires": { - "concat-stream": "^1.5.0", - "duplexify": "^3.4.2", - "end-of-stream": "^1.1.0", - "flush-write-stream": "^1.0.0", - "from2": "^2.1.0", - "parallel-transform": "^1.1.0", - "pump": "^2.0.1", - "pumpify": "^1.3.3", - "stream-each": "^1.1.0", - "through2": "^2.0.0" + "concat-stream": "1.6.2", + "duplexify": "3.6.0", + "end-of-stream": "1.4.1", + "flush-write-stream": "1.0.3", + "from2": "2.3.0", + "parallel-transform": "1.1.0", + "pump": "2.0.1", + "pumpify": "1.5.1", + "stream-each": "1.2.3", + "through2": "2.0.3" }, "dependencies": { "pump": { @@ -7462,8 +7474,8 @@ "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" + "end-of-stream": "1.4.1", + "once": "1.4.0" } } } @@ -7473,8 +7485,8 @@ "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", "requires": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" + "for-in": "1.0.2", + "is-extendable": "1.0.1" }, "dependencies": { "is-extendable": { @@ -7482,14 +7494,14 @@ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "requires": { - "is-plain-object": "^2.0.4" + "is-plain-object": "2.0.4" } } } }, "mkdirp": { "version": "0.5.1", - "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "requires": { "minimist": "0.0.8" @@ -7497,7 +7509,7 @@ "dependencies": { "minimist": { "version": "0.0.8", - "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" } } @@ -7507,7 +7519,7 @@ "resolved": "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz", "integrity": "sha1-6bj2jlUsaKnBcTuEiD96HdA5uKE=", "requires": { - "mkdirp": "*" + "mkdirp": "0.5.1" } }, "mkdirp-then": { @@ -7515,8 +7527,8 @@ "resolved": "https://registry.npmjs.org/mkdirp-then/-/mkdirp-then-1.2.0.tgz", "integrity": "sha1-pJLIecpNhz9e5FAI+PVf0BUN48U=", "requires": { - "any-promise": "^1.1.0", - "mkdirp": "^0.5.0" + "any-promise": "1.3.0", + "mkdirp": "0.5.1" } }, "mocha": { @@ -7546,12 +7558,12 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "has-flag": { @@ -7564,7 +7576,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz", "integrity": "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==", "requires": { - "has-flag": "^2.0.0" + "has-flag": "2.0.0" } } } @@ -7589,12 +7601,12 @@ "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", "requires": { - "aproba": "^1.1.1", - "copy-concurrently": "^1.0.0", - "fs-write-stream-atomic": "^1.0.8", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.4", - "run-queue": "^1.0.3" + "aproba": "1.2.0", + "copy-concurrently": "1.0.5", + "fs-write-stream-atomic": "1.0.10", + "mkdirp": "0.5.1", + "rimraf": "2.6.2", + "run-queue": "1.0.3" } }, "ms": { @@ -7607,14 +7619,14 @@ "resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-5.0.0.tgz", "integrity": "sha512-IMEo+iCv53MT8c/6SQWbJpJUEENTYr6qp7o635BKJLQG2nkxOIO9LSEFhF5e56Az+DkmI6HGAAjp69AT7Sjulw==", "requires": { - "bs58": "^4.0.1", - "class-is": "^1.1.0", - "ip": "^1.1.5", - "ip-address": "^5.8.9", - "lodash.filter": "^4.6.0", - "lodash.map": "^4.6.0", - "varint": "^5.0.0", - "xtend": "^4.0.1" + "bs58": "4.0.1", + "class-is": "1.1.0", + "ip": "1.1.5", + "ip-address": "5.8.9", + "lodash.filter": "4.6.0", + "lodash.map": "4.6.0", + "varint": "5.0.0", + "xtend": "4.0.1" } }, "multibase": { @@ -7630,7 +7642,7 @@ "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-0.2.7.tgz", "integrity": "sha512-96xc9zs7bsclMW0Po9ERnRFqcsWHY8OZ8JW/I8DeHG58YYJZy3cBGI00Ze7hz9Ix56DNHMTSxEj9cgoZByruMg==", "requires": { - "varint": "^5.0.0" + "varint": "5.0.0" } }, "multihashes": { @@ -7638,8 +7650,8 @@ "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-0.4.14.tgz", "integrity": "sha512-V/g/EIN6nALXfS/xHUAgtfPP3mn3sPIF/i9beuGKf25QXS2QZYCpeVJbDPEannkz32B2fihzCe2D/KMrbcmefg==", "requires": { - "bs58": "^4.0.1", - "varint": "^5.0.0" + "bs58": "4.0.1", + "varint": "5.0.0" } }, "multihashing-async": { @@ -7647,12 +7659,12 @@ "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.5.1.tgz", "integrity": "sha512-Ft5lQNcJCfsns1QN1TDXqPZrrNwBYqIokprYJR2h2Jj01x0GFcYmJYAqHvme6vJoyI3XptEcmZpdr9g5Oy7q3Q==", "requires": { - "async": "^2.6.1", - "blakejs": "^1.1.0", - "js-sha3": "^0.7.0", - "multihashes": "~0.4.13", - "murmurhash3js": "^3.0.1", - "nodeify": "^1.0.1" + "async": "2.6.1", + "blakejs": "1.1.0", + "js-sha3": "0.7.0", + "multihashes": "0.4.14", + "murmurhash3js": "3.0.1", + "nodeify": "1.0.1" } }, "multipart-stream": { @@ -7660,9 +7672,9 @@ "resolved": "https://registry.npmjs.org/multipart-stream/-/multipart-stream-2.0.1.tgz", "integrity": "sha1-GVyctLLEHnjHKh6POMfQ66HNC6A=", "requires": { - "inherits": "^2.0.1", - "is-stream": "^1.0.1", - "sandwich-stream": "^1.0.0" + "inherits": "2.0.3", + "is-stream": "1.1.0", + "sandwich-stream": "1.0.0" } }, "murmurhash3js": { @@ -7675,9 +7687,9 @@ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", "requires": { - "any-promise": "^1.0.0", - "object-assign": "^4.0.1", - "thenify-all": "^1.0.0" + "any-promise": "1.3.0", + "object-assign": "4.1.1", + "thenify-all": "1.6.0" }, "dependencies": { "object-assign": { @@ -7697,8 +7709,8 @@ "resolved": "https://registry.npmjs.org/nano-ipfs-store/-/nano-ipfs-store-0.1.3.tgz", "integrity": "sha512-QlFPtHXBWzysxVL5HlefyjNpRFfZh24VoQ1XxeHfYc+M9s/y0QBEzsQlWio0GHQaKp1lDJagATwwZfKFq3NwXA==", "requires": { - "nano-sha256": "^0.1.2", - "xmlhttprequest": "^1.8.0" + "nano-sha256": "0.1.2", + "xmlhttprequest": "1.8.0" } }, "nano-json-stream-parser": { @@ -7716,17 +7728,17 @@ "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "fragment-cache": "0.2.1", + "is-windows": "1.0.2", + "kind-of": "6.0.2", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" }, "dependencies": { "arr-diff": { @@ -7744,8 +7756,8 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" + "assign-symbols": "1.0.0", + "is-extendable": "1.0.1" } }, "is-extendable": { @@ -7753,7 +7765,7 @@ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "requires": { - "is-plain-object": "^2.0.4" + "is-plain-object": "2.0.4" } }, "kind-of": { @@ -7768,10 +7780,10 @@ "resolved": "https://registry.npmjs.org/ndjson/-/ndjson-1.5.0.tgz", "integrity": "sha1-rmA7NrE0vOw0e0UkIrC/mNWDLsg=", "requires": { - "json-stringify-safe": "^5.0.1", - "minimist": "^1.2.0", - "split2": "^2.1.0", - "through2": "^2.0.3" + "json-stringify-safe": "5.0.1", + "minimist": "1.2.0", + "split2": "2.2.0", + "through2": "2.0.3" } }, "negotiator": { @@ -7849,12 +7861,12 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "resolve": { @@ -7862,7 +7874,7 @@ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.5.0.tgz", "integrity": "sha512-hgoSGrc3pjzAPHNBg+KnFcK2HwlHTs/YrAGUr6qgTVUZmXv1UEXXl0bZNBKMA9fud6lRYFdPGz0xXxycPzmmiw==", "requires": { - "path-parse": "^1.0.5" + "path-parse": "1.0.6" } }, "source-map": { @@ -7877,7 +7889,7 @@ "resolved": "https://registry.npmjs.org/next-routes/-/next-routes-1.4.2.tgz", "integrity": "sha512-1Ljs0BEV9IGcJLKxC/WZUtmftSvmkY6DlI8fVs8dClCoR82QRzBGRka/L/XB76wE5814MMeP9qVJYQil0FE9QQ==", "requires": { - "path-to-regexp": "^2.1.0" + "path-to-regexp": "2.1.0" } }, "next-tick": { @@ -7890,8 +7902,8 @@ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" + "encoding": "0.1.12", + "is-stream": "1.1.0" } }, "node-forge": { @@ -7904,28 +7916,28 @@ "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.1.0.tgz", "integrity": "sha512-5AzFzdoIMb89hBGMZglEegffzgRg+ZFoUmisQ8HI4j1KDdpx13J0taNp2y9xPbur6W61gepGDDotGBVQ7mfUCg==", "requires": { - "assert": "^1.1.1", - "browserify-zlib": "^0.2.0", - "buffer": "^4.3.0", - "console-browserify": "^1.1.0", - "constants-browserify": "^1.0.0", - "crypto-browserify": "^3.11.0", - "domain-browser": "^1.1.1", - "events": "^1.0.0", - "https-browserify": "^1.0.0", - "os-browserify": "^0.3.0", + "assert": "1.4.1", + "browserify-zlib": "0.2.0", + "buffer": "4.9.1", + "console-browserify": "1.1.0", + "constants-browserify": "1.0.0", + "crypto-browserify": "3.12.0", + "domain-browser": "1.2.0", + "events": "1.1.1", + "https-browserify": "1.0.0", + "os-browserify": "0.3.0", "path-browserify": "0.0.0", - "process": "^0.11.10", - "punycode": "^1.2.4", - "querystring-es3": "^0.2.0", - "readable-stream": "^2.3.3", - "stream-browserify": "^2.0.1", - "stream-http": "^2.7.2", - "string_decoder": "^1.0.0", - "timers-browserify": "^2.0.4", + "process": "0.11.10", + "punycode": "1.4.1", + "querystring-es3": "0.2.1", + "readable-stream": "2.3.6", + "stream-browserify": "2.0.1", + "stream-http": "2.8.3", + "string_decoder": "1.1.1", + "timers-browserify": "2.0.10", "tty-browserify": "0.0.0", - "url": "^0.11.0", - "util": "^0.10.3", + "url": "0.11.0", + "util": "0.10.4", "vm-browserify": "0.0.4" }, "dependencies": { @@ -7941,8 +7953,8 @@ "resolved": "https://registry.npmjs.org/nodeify/-/nodeify-1.0.1.tgz", "integrity": "sha1-ZKtpp7268DzhB7TwM1yHwLnpGx0=", "requires": { - "is-promise": "~1.0.0", - "promise": "~1.3.0" + "is-promise": "1.0.1", + "promise": "1.3.0" } }, "nopt": { @@ -7950,7 +7962,7 @@ "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", "requires": { - "abbrev": "1" + "abbrev": "1.1.1" } }, "normalize-package-data": { @@ -7958,10 +7970,10 @@ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", "requires": { - "hosted-git-info": "^2.1.4", - "is-builtin-module": "^1.0.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" + "hosted-git-info": "2.7.1", + "is-builtin-module": "1.0.0", + "semver": "5.5.1", + "validate-npm-package-license": "3.0.4" } }, "normalize-path": { @@ -7969,7 +7981,7 @@ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", "requires": { - "remove-trailing-separator": "^1.0.1" + "remove-trailing-separator": "1.1.0" } }, "npm-run-path": { @@ -7977,7 +7989,7 @@ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", "requires": { - "path-key": "^2.0.0" + "path-key": "2.0.1" } }, "number-is-nan": { @@ -8016,9 +8028,9 @@ "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", "requires": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" + "copy-descriptor": "0.1.1", + "define-property": "0.2.5", + "kind-of": "3.2.2" }, "dependencies": { "define-property": { @@ -8026,7 +8038,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "requires": { - "is-descriptor": "^0.1.0" + "is-descriptor": "0.1.6" } } } @@ -8046,7 +8058,7 @@ "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", "requires": { - "isobject": "^3.0.0" + "isobject": "3.0.1" }, "dependencies": { "isobject": { @@ -8061,10 +8073,10 @@ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", "requires": { - "define-properties": "^1.1.2", - "function-bind": "^1.1.1", - "has-symbols": "^1.0.0", - "object-keys": "^1.0.11" + "define-properties": "1.1.3", + "function-bind": "1.1.1", + "has-symbols": "1.0.0", + "object-keys": "1.0.12" } }, "object.getownpropertydescriptors": { @@ -8072,8 +8084,8 @@ "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz", "integrity": "sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=", "requires": { - "define-properties": "^1.1.2", - "es-abstract": "^1.5.1" + "define-properties": "1.1.3", + "es-abstract": "1.12.0" } }, "object.omit": { @@ -8081,8 +8093,8 @@ "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", "requires": { - "for-own": "^0.1.4", - "is-extendable": "^0.1.1" + "for-own": "0.1.5", + "is-extendable": "0.1.1" } }, "object.pick": { @@ -8090,7 +8102,7 @@ "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", "requires": { - "isobject": "^3.0.1" + "isobject": "3.0.1" }, "dependencies": { "isobject": { @@ -8105,7 +8117,7 @@ "resolved": "https://registry.npmjs.org/oboe/-/oboe-2.1.3.tgz", "integrity": "sha1-K0hl29Rr6BIlcT9Om/5Lz09oCk8=", "requires": { - "http-https": "^1.0.0" + "http-https": "1.0.0" } }, "on-finished": { @@ -8121,7 +8133,7 @@ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "requires": { - "wrappy": "1" + "wrappy": "1.0.2" } }, "optimist": { @@ -8129,7 +8141,7 @@ "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz", "integrity": "sha1-yQlBrVnkJzMokjB00s8ufLxuwNk=", "requires": { - "wordwrap": "~0.0.2" + "wordwrap": "0.0.3" } }, "optionator": { @@ -8137,12 +8149,12 @@ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", "requires": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.4", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "wordwrap": "~1.0.0" + "deep-is": "0.1.3", + "fast-levenshtein": "2.0.6", + "levn": "0.3.0", + "prelude-ls": "1.1.2", + "type-check": "0.3.2", + "wordwrap": "1.0.0" }, "dependencies": { "wordwrap": { @@ -8157,8 +8169,8 @@ "resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-0.3.0.tgz", "integrity": "sha1-cTfmmzKYuzQiR6G77jiByA4v14s=", "requires": { - "is-stream": "^1.0.1", - "readable-stream": "^2.0.1" + "is-stream": "1.1.0", + "readable-stream": "2.3.6" } }, "original-require": { @@ -8181,9 +8193,9 @@ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", "requires": { - "execa": "^0.7.0", - "lcid": "^1.0.0", - "mem": "^1.1.0" + "execa": "0.7.0", + "lcid": "1.0.0", + "mem": "1.1.0" } }, "os-tmpdir": { @@ -8206,7 +8218,7 @@ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "requires": { - "p-try": "^1.0.0" + "p-try": "1.0.0" } }, "p-locate": { @@ -8214,7 +8226,7 @@ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "requires": { - "p-limit": "^1.1.0" + "p-limit": "1.3.0" } }, "p-map": { @@ -8227,7 +8239,7 @@ "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz", "integrity": "sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y=", "requires": { - "p-finally": "^1.0.0" + "p-finally": "1.0.0" } }, "p-try": { @@ -8245,21 +8257,21 @@ "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz", "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=", "requires": { - "cyclist": "~0.2.2", - "inherits": "^2.0.3", - "readable-stream": "^2.1.5" + "cyclist": "0.2.2", + "inherits": "2.0.3", + "readable-stream": "2.3.6" } }, "parse-asn1": { "version": "5.1.1", - "resolved": "http://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz", "integrity": "sha512-KPx7flKXg775zZpnp9SxJlz00gTd4BmJ2yJufSc44gMCRrRQ7NSzAcSJQfifuOLgW6bEi+ftrALtsgALeB2Adw==", "requires": { - "asn1.js": "^4.0.0", - "browserify-aes": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.0", - "pbkdf2": "^3.0.3" + "asn1.js": "4.10.1", + "browserify-aes": "1.2.0", + "create-hash": "1.2.0", + "evp_bytestokey": "1.0.3", + "pbkdf2": "3.0.17" }, "dependencies": { "asn1.js": { @@ -8267,9 +8279,9 @@ "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", "requires": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "bn.js": "4.11.8", + "inherits": "2.0.3", + "minimalistic-assert": "1.0.1" } } } @@ -8279,10 +8291,10 @@ "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", "requires": { - "glob-base": "^0.3.0", - "is-dotfile": "^1.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.0" + "glob-base": "0.3.0", + "is-dotfile": "1.0.3", + "is-extglob": "1.0.0", + "is-glob": "2.0.1" }, "dependencies": { "is-extglob": { @@ -8295,7 +8307,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", "requires": { - "is-extglob": "^1.0.0" + "is-extglob": "1.0.0" } } } @@ -8305,7 +8317,7 @@ "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.1.tgz", "integrity": "sha1-aug6eqJanZtwCswoaYzR8e1+lTY=", "requires": { - "for-each": "^0.3.2", + "for-each": "0.3.3", "trim": "0.0.1" } }, @@ -8314,7 +8326,7 @@ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "requires": { - "error-ex": "^1.2.0" + "error-ex": "1.3.2" } }, "parseurl": { @@ -8372,7 +8384,7 @@ "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", "requires": { - "pify": "^2.0.0" + "pify": "2.3.0" }, "dependencies": { "pify": { @@ -8387,11 +8399,11 @@ "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz", "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==", "requires": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" + "create-hash": "1.2.0", + "create-hmac": "1.1.7", + "ripemd160": "2.0.2", + "safe-buffer": "5.1.2", + "sha.js": "2.4.11" } }, "peer-id": { @@ -8399,10 +8411,10 @@ "resolved": "https://registry.npmjs.org/peer-id/-/peer-id-0.11.0.tgz", "integrity": "sha512-C/lRJk4CWIgOdKvfO572NvHbPcUwe49I6G0toIhDB5tCohqv/qzy0uBcAK9Ww8TvYI6U4J3C8ACShV9fWjNU4w==", "requires": { - "async": "^2.6.1", - "libp2p-crypto": "~0.13.0", - "lodash": "^4.17.10", - "multihashes": "~0.4.13" + "async": "2.6.1", + "libp2p-crypto": "0.13.0", + "lodash": "4.17.11", + "multihashes": "0.4.14" } }, "peer-info": { @@ -8410,29 +8422,29 @@ "resolved": "https://registry.npmjs.org/peer-info/-/peer-info-0.14.1.tgz", "integrity": "sha512-I9K+q7sisU0gg5ej6ekbhgolwlcm1tc2wDtLmumptoLYx0DkIT8WVHtgoTnupYwRRqcYADtwddFdiXfb8QFqzg==", "requires": { - "lodash.uniqby": "^4.7.0", - "mafmt": "^6.0.0", - "multiaddr": "^4.0.0", - "peer-id": "~0.10.7" + "lodash.uniqby": "4.7.0", + "mafmt": "6.0.2", + "multiaddr": "4.0.0", + "peer-id": "0.10.7" }, "dependencies": { "libp2p-crypto": { "version": "0.12.1", - "resolved": "http://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.12.1.tgz", + "resolved": "https://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.12.1.tgz", "integrity": "sha512-1/z8rxZ0DcQNreZhEsl7PnLr7DWOioSvYbKBLGkRwNRiNh1JJLgh0PdTySBb44wkrOGT+TxcGRd7iq3/X6Wxwg==", "requires": { - "asn1.js": "^5.0.0", - "async": "^2.6.0", - "browserify-aes": "^1.1.1", - "bs58": "^4.0.1", - "keypair": "^1.0.1", - "libp2p-crypto-secp256k1": "~0.2.2", - "multihashing-async": "~0.4.7", - "node-forge": "^0.7.1", - "pem-jwk": "^1.5.1", - "protons": "^1.0.1", - "rsa-pem-to-jwk": "^1.1.3", - "tweetnacl": "^1.0.0", + "asn1.js": "5.0.1", + "async": "2.6.1", + "browserify-aes": "1.2.0", + "bs58": "4.0.1", + "keypair": "1.0.1", + "libp2p-crypto-secp256k1": "0.2.2", + "multihashing-async": "0.4.8", + "node-forge": "0.7.6", + "pem-jwk": "1.5.1", + "protons": "1.0.1", + "rsa-pem-to-jwk": "1.1.3", + "tweetnacl": "1.0.0", "webcrypto-shim": "github:dignifiedquire/webcrypto-shim#190bc9ec341375df6025b17ae12ddb2428ea49c8" } }, @@ -8441,14 +8453,14 @@ "resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-4.0.0.tgz", "integrity": "sha512-zUatrOCfBd/tJNOSoJ10d2EI2FDXB9PyPZhqUMdXE9mOyR3C+HLuOjga2Ga/eChwvEHIpTYRMoIKF2Nv7af2qQ==", "requires": { - "bs58": "^4.0.1", - "class-is": "^1.1.0", - "ip": "^1.1.5", - "ip-address": "^5.8.9", - "lodash.filter": "^4.6.0", - "lodash.map": "^4.6.0", - "varint": "^5.0.0", - "xtend": "^4.0.1" + "bs58": "4.0.1", + "class-is": "1.1.0", + "ip": "1.1.5", + "ip-address": "5.8.9", + "lodash.filter": "4.6.0", + "lodash.map": "4.6.0", + "varint": "5.0.0", + "xtend": "4.0.1" } }, "multihashing-async": { @@ -8456,12 +8468,12 @@ "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-0.4.8.tgz", "integrity": "sha512-LCc4lfxmTJOHKIjZjFNgvmfB6nXS/ErLInT9uwU8udFrRm2PH+aTPk3mfCREKmCiSHOlCWiv2O8rlnBx+OjlMw==", "requires": { - "async": "^2.6.0", - "blakejs": "^1.1.0", - "js-sha3": "^0.7.0", - "multihashes": "~0.4.13", - "murmurhash3js": "^3.0.1", - "nodeify": "^1.0.1" + "async": "2.6.1", + "blakejs": "1.1.0", + "js-sha3": "0.7.0", + "multihashes": "0.4.14", + "murmurhash3js": "3.0.1", + "nodeify": "1.0.1" } }, "peer-id": { @@ -8469,10 +8481,10 @@ "resolved": "https://registry.npmjs.org/peer-id/-/peer-id-0.10.7.tgz", "integrity": "sha512-VEpMFcL9q0NQijmR0jsj38OGbY4yzaWMEareVkDahopmlNT+Cpsot8btPgsgBBApP9NiZj2Enwvh8rZN30ocQw==", "requires": { - "async": "^2.6.0", - "libp2p-crypto": "~0.12.1", - "lodash": "^4.17.5", - "multihashes": "~0.4.13" + "async": "2.6.1", + "libp2p-crypto": "0.12.1", + "lodash": "4.17.11", + "multihashes": "0.4.14" } } } @@ -8490,9 +8502,9 @@ "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-1.0.3.tgz", "integrity": "sha1-KBuj7B8kSP52X5Kk7s+IP+E2S1Q=", "requires": { - "bn.js": "^1.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "bn.js": "1.3.0", + "inherits": "2.0.3", + "minimalistic-assert": "1.0.1" } }, "bn.js": { @@ -8528,7 +8540,7 @@ "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", "requires": { - "pinkie": "^2.0.0" + "pinkie": "2.0.4" } }, "pkg-dir": { @@ -8536,7 +8548,7 @@ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", "requires": { - "find-up": "^2.1.0" + "find-up": "2.1.0" } }, "posix-character-classes": { @@ -8584,7 +8596,7 @@ "resolved": "http://registry.npmjs.org/promise/-/promise-1.3.0.tgz", "integrity": "sha1-5cyaTIJ45GZP/twBx9qEhCsEAXU=", "requires": { - "is-promise": "~1" + "is-promise": "1.0.1" } }, "promise-inflight": { @@ -8597,8 +8609,8 @@ "resolved": "https://registry.npmjs.org/promise-to-callback/-/promise-to-callback-1.0.0.tgz", "integrity": "sha1-XSp0kBC/tn2WNZj805YHRqaP7vc=", "requires": { - "is-fn": "^1.0.0", - "set-immediate-shim": "^1.0.1" + "is-fn": "1.0.0", + "set-immediate-shim": "1.0.1" } }, "promisify-es6": { @@ -8611,9 +8623,9 @@ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.0.tgz", "integrity": "sha1-zq8IMCL8RrSjX2nhPvda7Q1jmFY=", "requires": { - "fbjs": "^0.8.16", - "loose-envify": "^1.3.1", - "object-assign": "^4.1.1" + "fbjs": "0.8.17", + "loose-envify": "1.4.0", + "object-assign": "4.1.1" }, "dependencies": { "object-assign": { @@ -8628,8 +8640,8 @@ "resolved": "https://registry.npmjs.org/prop-types-exact/-/prop-types-exact-1.1.1.tgz", "integrity": "sha512-VrFC2QoIt7oj9bxVTAYDfDMBYV3u+VHQUOWJWk9OURT7uwPEenH879MQoAQ/reY2GZ55il6p/eCqHRs2nqm8wA==", "requires": { - "has": "^1.0.1", - "object.assign": "^4.0.4" + "has": "1.0.3", + "object.assign": "4.1.0" } }, "protocol-buffers-schema": { @@ -8642,10 +8654,10 @@ "resolved": "https://registry.npmjs.org/protons/-/protons-1.0.1.tgz", "integrity": "sha512-+0ZKnfVs+4c43tbAQ5j0Mck8wPcLnlxUYzKQoB4iDW4ocdXGnN4P+0dDbgX1FTpoY9+7P2Tn2scJyHHqj+S/lQ==", "requires": { - "protocol-buffers-schema": "^3.3.1", - "safe-buffer": "^5.1.1", - "signed-varint": "^2.0.1", - "varint": "^5.0.0" + "protocol-buffers-schema": "3.3.2", + "safe-buffer": "5.1.2", + "signed-varint": "2.0.1", + "varint": "5.0.0" } }, "proxy-addr": { @@ -8653,7 +8665,7 @@ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz", "integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==", "requires": { - "forwarded": "~0.1.2", + "forwarded": "0.1.2", "ipaddr.js": "1.8.0" } }, @@ -8677,12 +8689,12 @@ "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", "requires": { - "bn.js": "^4.1.0", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1", - "safe-buffer": "^5.1.2" + "bn.js": "4.11.8", + "browserify-rsa": "4.0.1", + "create-hash": "1.2.0", + "parse-asn1": "5.1.1", + "randombytes": "2.0.6", + "safe-buffer": "5.1.2" } }, "pull-defer": { @@ -8715,8 +8727,8 @@ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" + "end-of-stream": "1.4.1", + "once": "1.4.0" } }, "pumpify": { @@ -8724,9 +8736,9 @@ "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", "requires": { - "duplexify": "^3.6.0", - "inherits": "^2.0.3", - "pump": "^2.0.0" + "duplexify": "3.6.0", + "inherits": "2.0.3", + "pump": "2.0.1" }, "dependencies": { "pump": { @@ -8734,8 +8746,8 @@ "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" + "end-of-stream": "1.4.1", + "once": "1.4.0" } } } @@ -8752,12 +8764,12 @@ }, "query-string": { "version": "5.1.1", - "resolved": "http://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz", + "resolved": "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz", "integrity": "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==", "requires": { - "decode-uri-component": "^0.2.0", - "object-assign": "^4.1.0", - "strict-uri-encode": "^1.0.0" + "decode-uri-component": "0.2.0", + "object-assign": "4.1.1", + "strict-uri-encode": "1.1.0" }, "dependencies": { "object-assign": { @@ -8783,8 +8795,8 @@ "integrity": "sha1-hJY/jJwmuULhU/7rU6rnRlK34LI=", "requires": { "buffer-equal": "0.0.1", - "minimist": "^1.1.3", - "through2": "^2.0.0" + "minimist": "1.2.0", + "through2": "2.0.3" } }, "randomatic": { @@ -8792,9 +8804,9 @@ "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.0.tgz", "integrity": "sha512-KnGPVE0lo2WoXxIZ7cPR8YBpiol4gsSuOwDSg410oHh80ZMp5EiypNqL2K4Z77vJn6lB5rap7IkAmcUlalcnBQ==", "requires": { - "is-number": "^4.0.0", - "kind-of": "^6.0.0", - "math-random": "^1.0.1" + "is-number": "4.0.0", + "kind-of": "6.0.2", + "math-random": "1.0.1" }, "dependencies": { "is-number": { @@ -8814,7 +8826,7 @@ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz", "integrity": "sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A==", "requires": { - "safe-buffer": "^5.1.0" + "safe-buffer": "5.1.2" } }, "randomfill": { @@ -8822,8 +8834,8 @@ "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", "requires": { - "randombytes": "^2.0.5", - "safe-buffer": "^5.1.0" + "randombytes": "2.0.6", + "safe-buffer": "5.1.2" } }, "randomhex": { @@ -8854,13 +8866,13 @@ }, "http-errors": { "version": "1.6.3", - "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", "requires": { - "depd": "~1.1.2", + "depd": "1.1.2", "inherits": "2.0.3", "setprototypeof": "1.1.0", - "statuses": ">= 1.4.0 < 2" + "statuses": "1.5.0" } }, "iconv-lite": { @@ -8868,7 +8880,7 @@ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", "requires": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": "2.1.2" } }, "setprototypeof": { @@ -8883,10 +8895,10 @@ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" + "deep-extend": "0.6.0", + "ini": "1.3.5", + "minimist": "1.2.0", + "strip-json-comments": "2.0.1" } }, "react": { @@ -8894,10 +8906,10 @@ "resolved": "https://registry.npmjs.org/react/-/react-16.5.2.tgz", "integrity": "sha512-FDCSVd3DjVTmbEAjUNX6FgfAmQ+ypJfHUsqUJOYNCBUp1h8lqmtC+0mXJ+JjsWx4KAVTkk1vKd1hLQPvEviSuw==", "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "schedule": "^0.5.0" + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "prop-types": "15.6.2", + "schedule": "0.5.0" }, "dependencies": { "object-assign": { @@ -8910,8 +8922,8 @@ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", "requires": { - "loose-envify": "^1.3.1", - "object-assign": "^4.1.1" + "loose-envify": "1.4.0", + "object-assign": "4.1.1" } } } @@ -8921,10 +8933,10 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.5.2.tgz", "integrity": "sha512-RC8LDw8feuZOHVgzEf7f+cxBr/DnKdqp56VU0lAs1f4UfKc4cU8wU4fTq/mgnvynLQo8OtlPC19NUFh/zjZPuA==", "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "schedule": "^0.5.0" + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "prop-types": "15.6.2", + "schedule": "0.5.0" }, "dependencies": { "object-assign": { @@ -8937,8 +8949,8 @@ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", "requires": { - "loose-envify": "^1.3.1", - "object-assign": "^4.1.1" + "loose-envify": "1.4.0", + "object-assign": "4.1.1" } } } @@ -8953,9 +8965,9 @@ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", "requires": { - "load-json-file": "^2.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^2.0.0" + "load-json-file": "2.0.0", + "normalize-package-data": "2.4.0", + "path-type": "2.0.0" } }, "read-pkg-up": { @@ -8963,22 +8975,22 @@ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", "requires": { - "find-up": "^2.0.0", - "read-pkg": "^2.0.0" + "find-up": "2.1.0", + "read-pkg": "2.0.0" } }, "readable-stream": { "version": "2.3.6", - "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" } }, "readdirp": { @@ -8986,9 +8998,9 @@ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", "requires": { - "graceful-fs": "^4.1.11", - "micromatch": "^3.1.10", - "readable-stream": "^2.0.2" + "graceful-fs": "4.1.11", + "micromatch": "3.1.10", + "readable-stream": "2.3.6" }, "dependencies": { "arr-diff": { @@ -9006,16 +9018,16 @@ "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" + "arr-flatten": "1.1.0", + "array-unique": "0.3.2", + "extend-shallow": "2.0.1", + "fill-range": "4.0.0", + "isobject": "3.0.1", + "repeat-element": "1.1.3", + "snapdragon": "0.8.2", + "snapdragon-node": "2.1.1", + "split-string": "3.1.0", + "to-regex": "3.0.2" }, "dependencies": { "extend-shallow": { @@ -9023,7 +9035,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } } } @@ -9041,13 +9053,13 @@ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "posix-character-classes": "0.1.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" }, "dependencies": { "define-property": { @@ -9055,7 +9067,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "requires": { - "is-descriptor": "^0.1.0" + "is-descriptor": "0.1.6" } }, "extend-shallow": { @@ -9063,7 +9075,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } }, "is-accessor-descriptor": { @@ -9071,7 +9083,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -9079,7 +9091,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -9089,7 +9101,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -9097,7 +9109,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -9107,9 +9119,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" } }, "kind-of": { @@ -9124,8 +9136,8 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" + "assign-symbols": "1.0.0", + "is-extendable": "1.0.1" }, "dependencies": { "is-extendable": { @@ -9133,7 +9145,7 @@ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "requires": { - "is-plain-object": "^2.0.4" + "is-plain-object": "2.0.4" } } } @@ -9143,14 +9155,14 @@ "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "array-unique": "0.3.2", + "define-property": "1.0.0", + "expand-brackets": "2.1.4", + "extend-shallow": "2.0.1", + "fragment-cache": "0.2.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" }, "dependencies": { "define-property": { @@ -9158,7 +9170,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "requires": { - "is-descriptor": "^1.0.0" + "is-descriptor": "1.0.2" } }, "extend-shallow": { @@ -9166,7 +9178,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } } } @@ -9176,10 +9188,10 @@ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" + "extend-shallow": "2.0.1", + "is-number": "3.0.0", + "repeat-string": "1.6.1", + "to-regex-range": "2.1.1" }, "dependencies": { "extend-shallow": { @@ -9187,7 +9199,7 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } } } @@ -9202,7 +9214,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-data-descriptor": { @@ -9210,7 +9222,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-descriptor": { @@ -9218,9 +9230,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" } }, "is-number": { @@ -9228,7 +9240,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -9236,7 +9248,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -9256,19 +9268,19 @@ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "braces": "2.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "extglob": "2.0.4", + "fragment-cache": "0.2.1", + "kind-of": "6.0.2", + "nanomatch": "1.2.13", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" } } } @@ -9278,16 +9290,16 @@ "resolved": "https://registry.npmjs.org/recursive-copy/-/recursive-copy-2.0.6.tgz", "integrity": "sha1-1ZD5618WW5ahuAvI+cvLXG+ciek=", "requires": { - "del": "^2.2.0", + "del": "2.2.2", "emitter-mixin": "0.0.3", - "errno": "^0.1.2", - "graceful-fs": "^4.1.4", - "junk": "^1.0.1", - "maximatch": "^0.1.0", - "mkdirp": "^0.5.1", - "pify": "^2.3.0", - "promise": "^7.0.1", - "slash": "^1.0.0" + "errno": "0.1.7", + "graceful-fs": "4.1.11", + "junk": "1.0.3", + "maximatch": "0.1.0", + "mkdirp": "0.5.1", + "pify": "2.3.0", + "promise": "7.3.1", + "slash": "1.0.0" }, "dependencies": { "del": { @@ -9295,13 +9307,13 @@ "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", "requires": { - "globby": "^5.0.0", - "is-path-cwd": "^1.0.0", - "is-path-in-cwd": "^1.0.0", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "rimraf": "^2.2.8" + "globby": "5.0.0", + "is-path-cwd": "1.0.0", + "is-path-in-cwd": "1.0.1", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "rimraf": "2.6.2" } }, "globby": { @@ -9309,12 +9321,12 @@ "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", "requires": { - "array-union": "^1.0.1", - "arrify": "^1.0.0", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" + "array-union": "1.0.2", + "arrify": "1.0.1", + "glob": "7.1.3", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" } }, "graceful-fs": { @@ -9337,7 +9349,7 @@ "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", "requires": { - "asap": "~2.0.3" + "asap": "2.0.6" } } } @@ -9352,7 +9364,7 @@ "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-7.0.0.tgz", "integrity": "sha512-s5NGghCE4itSlUS+0WUj88G6cfMVMmH8boTPNvABf8od+2dhT9WDlWu8n01raQAJZMOK8Ch6jSexaRO7swd6aw==", "requires": { - "regenerate": "^1.4.0" + "regenerate": "1.4.0" } }, "regenerator-runtime": { @@ -9365,7 +9377,7 @@ "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.12.4.tgz", "integrity": "sha512-p2I0fY+TbSLD2/VFTFb/ypEHxs3e3AjU0DzttdPqk2bSmDhfSh5E54b86Yc6XhUa5KykK1tgbvZ4Nr82oCJWkQ==", "requires": { - "private": "^0.1.6" + "private": "0.1.8" } }, "regex-cache": { @@ -9373,7 +9385,7 @@ "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", "requires": { - "is-equal-shallow": "^0.1.3" + "is-equal-shallow": "0.1.3" } }, "regex-not": { @@ -9381,8 +9393,8 @@ "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", "requires": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" + "extend-shallow": "3.0.2", + "safe-regex": "1.1.0" }, "dependencies": { "extend-shallow": { @@ -9390,8 +9402,8 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" + "assign-symbols": "1.0.0", + "is-extendable": "1.0.1" } }, "is-extendable": { @@ -9399,7 +9411,7 @@ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "requires": { - "is-plain-object": "^2.0.4" + "is-plain-object": "2.0.4" } } } @@ -9409,12 +9421,12 @@ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.2.0.tgz", "integrity": "sha512-Z835VSnJJ46CNBttalHD/dB+Sj2ezmY6Xp38npwU87peK6mqOzOpV8eYktdkLTEkzzD+JsTcxd84ozd8I14+rw==", "requires": { - "regenerate": "^1.4.0", - "regenerate-unicode-properties": "^7.0.0", - "regjsgen": "^0.4.0", - "regjsparser": "^0.3.0", - "unicode-match-property-ecmascript": "^1.0.4", - "unicode-match-property-value-ecmascript": "^1.0.2" + "regenerate": "1.4.0", + "regenerate-unicode-properties": "7.0.0", + "regjsgen": "0.4.0", + "regjsparser": "0.3.0", + "unicode-match-property-ecmascript": "1.0.4", + "unicode-match-property-value-ecmascript": "1.0.2" } }, "registry-auth-token": { @@ -9422,8 +9434,8 @@ "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz", "integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==", "requires": { - "rc": "^1.1.6", - "safe-buffer": "^5.0.1" + "rc": "1.2.8", + "safe-buffer": "5.1.2" } }, "registry-url": { @@ -9431,7 +9443,7 @@ "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=", "requires": { - "rc": "^1.0.1" + "rc": "1.2.8" } }, "regjsgen": { @@ -9444,7 +9456,7 @@ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.3.0.tgz", "integrity": "sha512-zza72oZBBHzt64G7DxdqrOo/30bhHkwMUoT0WqfGu98XLd7N+1tsy5MJ96Bk4MD0y74n629RhmrGW6XlnLLwCA==", "requires": { - "jsesc": "~0.5.0" + "jsesc": "0.5.0" }, "dependencies": { "jsesc": { @@ -9474,7 +9486,7 @@ "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", "requires": { - "is-finite": "^1.0.0" + "is-finite": "1.0.2" } }, "replace-ext": { @@ -9487,26 +9499,26 @@ "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.0", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" + "aws-sign2": "0.7.0", + "aws4": "1.8.0", + "caseless": "0.12.0", + "combined-stream": "1.0.7", + "extend": "3.0.2", + "forever-agent": "0.6.1", + "form-data": "2.3.2", + "har-validator": "5.1.0", + "http-signature": "1.2.0", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.20", + "oauth-sign": "0.9.0", + "performance-now": "2.1.0", + "qs": "6.5.2", + "safe-buffer": "5.1.2", + "tough-cookie": "2.4.3", + "tunnel-agent": "0.6.0", + "uuid": "3.3.2" }, "dependencies": { "uuid": { @@ -9536,7 +9548,7 @@ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", "requires": { - "path-parse": "^1.0.5" + "path-parse": "1.0.6" } }, "resolve-url": { @@ -9549,7 +9561,7 @@ "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", "requires": { - "through": "~2.3.4" + "through": "2.3.8" } }, "ret": { @@ -9562,7 +9574,7 @@ "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", "requires": { - "align-text": "^0.1.1" + "align-text": "0.1.4" } }, "rimraf": { @@ -9570,7 +9582,7 @@ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", "requires": { - "glob": "^7.0.5" + "glob": "7.1.3" } }, "ripemd160": { @@ -9578,8 +9590,8 @@ "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" + "hash-base": "3.0.4", + "inherits": "2.0.3" } }, "rlp": { @@ -9587,7 +9599,7 @@ "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.1.0.tgz", "integrity": "sha512-93U7IKH5j7nmXFVg19MeNBGzQW5uXW1pmCuKY8veeKIhYTE32C2d0mOegfiIAfXcHOKJjjPlJisn8iHDF5AezA==", "requires": { - "safe-buffer": "^5.1.1" + "safe-buffer": "5.1.2" } }, "rsa-pem-to-jwk": { @@ -9595,7 +9607,7 @@ "resolved": "https://registry.npmjs.org/rsa-pem-to-jwk/-/rsa-pem-to-jwk-1.1.3.tgz", "integrity": "sha1-JF52vbfnI0z+58oDLTG1TDj6uY4=", "requires": { - "object-assign": "^2.0.0", + "object-assign": "2.1.1", "rsa-unpack": "0.0.6" } }, @@ -9604,7 +9616,7 @@ "resolved": "https://registry.npmjs.org/rsa-unpack/-/rsa-unpack-0.0.6.tgz", "integrity": "sha1-9Q69VqYoN45jHylxYQJs6atO3bo=", "requires": { - "optimist": "~0.3.5" + "optimist": "0.3.7" } }, "run-queue": { @@ -9612,7 +9624,7 @@ "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", "requires": { - "aproba": "^1.1.1" + "aproba": "1.2.0" } }, "rustbn.js": { @@ -9630,7 +9642,7 @@ "resolved": "https://registry.npmjs.org/safe-event-emitter/-/safe-event-emitter-1.0.1.tgz", "integrity": "sha512-e1wFe99A91XYYxoQbcq2ZJUWurxEyP8vfz7A7vuUe1s95q8r5ebraVaA1BukYJcpM6V16ugWoD9vngi8Ccu5fg==", "requires": { - "events": "^3.0.0" + "events": "3.0.0" }, "dependencies": { "events": { @@ -9645,7 +9657,7 @@ "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", "requires": { - "ret": "~0.1.10" + "ret": "0.1.15" } }, "safer-buffer": { @@ -9663,7 +9675,7 @@ "resolved": "https://registry.npmjs.org/schedule/-/schedule-0.5.0.tgz", "integrity": "sha512-HUcJicG5Ou8xfR//c2rPT0lPIRR09vVvN81T9fqfVgBmhERUbDEQoYKjpBxbueJnCPpSu2ujXzOnRQt6x9o/jw==", "requires": { - "object-assign": "^4.1.1" + "object-assign": "4.1.1" }, "dependencies": { "object-assign": { @@ -9678,8 +9690,8 @@ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", "requires": { - "ajv": "^6.1.0", - "ajv-keywords": "^3.1.0" + "ajv": "6.5.4", + "ajv-keywords": "3.2.0" } }, "scrypt": { @@ -9687,7 +9699,7 @@ "resolved": "https://registry.npmjs.org/scrypt/-/scrypt-6.0.3.tgz", "integrity": "sha1-BOAUpWgrU/pQwtXM4WfXGcBthw0=", "requires": { - "nan": "^2.0.8" + "nan": "2.11.1" } }, "scrypt-js": { @@ -9700,8 +9712,8 @@ "resolved": "https://registry.npmjs.org/scrypt.js/-/scrypt.js-0.2.0.tgz", "integrity": "sha1-r40UZbcemZARC+38WTuUeeA6ito=", "requires": { - "scrypt": "^6.0.2", - "scryptsy": "^1.2.1" + "scrypt": "6.0.3", + "scryptsy": "1.2.1" } }, "scryptsy": { @@ -9709,7 +9721,7 @@ "resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-1.2.1.tgz", "integrity": "sha1-oyJfpLJST4AnAHYeKFW987LZIWM=", "requires": { - "pbkdf2": "^3.0.3" + "pbkdf2": "3.0.17" } }, "secp256k1": { @@ -9717,14 +9729,14 @@ "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.5.2.tgz", "integrity": "sha512-iin3kojdybY6NArd+UFsoTuapOF7bnJNf2UbcWXaY3z+E1sJDipl60vtzB5hbO/uquBu7z0fd4VC4Irp+xoFVQ==", "requires": { - "bindings": "^1.2.1", - "bip66": "^1.1.3", - "bn.js": "^4.11.3", - "create-hash": "^1.1.2", - "drbg.js": "^1.0.1", - "elliptic": "^6.2.3", - "nan": "^2.2.1", - "safe-buffer": "^5.1.0" + "bindings": "1.3.0", + "bip66": "1.1.5", + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "drbg.js": "1.0.1", + "elliptic": "6.4.1", + "nan": "2.11.1", + "safe-buffer": "5.1.2" } }, "seek-bzip": { @@ -9732,15 +9744,15 @@ "resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.5.tgz", "integrity": "sha1-z+kXyz0nS8/6x5J1ivUxc+sfq9w=", "requires": { - "commander": "~2.8.1" + "commander": "2.8.1" }, "dependencies": { "commander": { "version": "2.8.1", - "resolved": "http://registry.npmjs.org/commander/-/commander-2.8.1.tgz", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz", "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=", "requires": { - "graceful-readlink": ">= 1.0.0" + "graceful-readlink": "1.0.1" } } } @@ -9750,7 +9762,7 @@ "resolved": "https://registry.npmjs.org/semantic-ui-css/-/semantic-ui-css-2.4.0.tgz", "integrity": "sha512-R5fmNOWSKhRrkLeVC0n47Q1wGMs838VHWolfdeJPSKQ811j7s2jGy+9FbMEmb8u0I3Zdh92HhTEPMNlxZj5sOg==", "requires": { - "jquery": "x.*" + "jquery": "3.3.1" } }, "semantic-ui-react": { @@ -9758,12 +9770,12 @@ "resolved": "https://registry.npmjs.org/semantic-ui-react/-/semantic-ui-react-0.80.2.tgz", "integrity": "sha512-1sQ8NkxoDrd2c8wM+kdZ7mz3QMEYsbM1dV7uNe4b8D9VEaHdp640Ktp9DhmyCgXIo5BqdigJcZtb0jcWWGFfQg==", "requires": { - "@babel/runtime": "^7.0.0-beta.48", - "classnames": "^2.2.5", - "fbjs": "^0.8.16", - "keyboard-key": "^1.0.1", - "lodash": "^4.17.10", - "prop-types": "^15.6.1" + "@babel/runtime": "7.1.2", + "classnames": "2.2.6", + "fbjs": "0.8.17", + "keyboard-key": "1.0.2", + "lodash": "4.17.11", + "prop-types": "15.6.2" }, "dependencies": { "@babel/runtime": { @@ -9771,7 +9783,7 @@ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.1.2.tgz", "integrity": "sha512-Y3SCjmhSupzFB6wcv1KmmFucH6gDVnI30WjOcicV10ju0cZjak3Jcs67YLIXBrmZYw1xCrVeJPbycFwrqNyxpg==", "requires": { - "regenerator-runtime": "^0.12.0" + "regenerator-runtime": "0.12.1" } }, "object-assign": { @@ -9784,8 +9796,8 @@ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", "requires": { - "loose-envify": "^1.3.1", - "object-assign": "^4.1.1" + "loose-envify": "1.4.0", + "object-assign": "4.1.1" } }, "regenerator-runtime": { @@ -9811,18 +9823,18 @@ "integrity": "sha512-ElCLJdJIKPk6ux/Hocwhk7NFHpI3pVm/IZOYWqUmoxcgeyM+MpxHHKhb8QmlJDX1pU6WrgaHBkVNm73Sv7uc2A==", "requires": { "debug": "2.6.9", - "depd": "~1.1.1", - "destroy": "~1.0.4", - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "etag": "~1.8.1", + "depd": "1.1.1", + "destroy": "1.0.4", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", "fresh": "0.5.2", - "http-errors": "~1.6.2", + "http-errors": "1.6.2", "mime": "1.4.1", "ms": "2.0.0", - "on-finished": "~2.3.0", - "range-parser": "~1.2.0", - "statuses": "~1.3.1" + "on-finished": "2.3.0", + "range-parser": "1.2.0", + "statuses": "1.3.1" }, "dependencies": { "debug": { @@ -9850,9 +9862,9 @@ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz", "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==", "requires": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.2", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "parseurl": "1.3.2", "send": "0.16.2" }, "dependencies": { @@ -9875,18 +9887,18 @@ "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", "requires": { "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", + "depd": "1.1.2", + "destroy": "1.0.4", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", "fresh": "0.5.2", - "http-errors": "~1.6.2", + "http-errors": "1.6.2", "mime": "1.4.1", "ms": "2.0.0", - "on-finished": "~2.3.0", - "range-parser": "~1.2.0", - "statuses": "~1.4.0" + "on-finished": "2.3.0", + "range-parser": "1.2.0", + "statuses": "1.4.0" } }, "statuses": { @@ -9901,11 +9913,11 @@ "resolved": "https://registry.npmjs.org/servify/-/servify-0.1.12.tgz", "integrity": "sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw==", "requires": { - "body-parser": "^1.16.0", - "cors": "^2.8.1", - "express": "^4.14.0", - "request": "^2.79.0", - "xhr": "^2.3.3" + "body-parser": "1.18.3", + "cors": "2.8.4", + "express": "4.16.3", + "request": "2.88.0", + "xhr": "2.5.0" } }, "set-blocking": { @@ -9923,10 +9935,10 @@ "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" + "extend-shallow": "2.0.1", + "is-extendable": "0.1.1", + "is-plain-object": "2.0.4", + "split-string": "3.1.0" } }, "setimmediate": { @@ -9941,11 +9953,11 @@ }, "sha.js": { "version": "2.4.11", - "resolved": "http://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.3", + "safe-buffer": "5.1.2" } }, "sha3": { @@ -9973,7 +9985,7 @@ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", "requires": { - "shebang-regex": "^1.0.0" + "shebang-regex": "1.0.0" } }, "shebang-regex": { @@ -9996,7 +10008,7 @@ "resolved": "https://registry.npmjs.org/signed-varint/-/signed-varint-2.0.1.tgz", "integrity": "sha1-UKmYnafJjCxh2tEZvJdHDvhSgSk=", "requires": { - "varint": "~5.0.0" + "varint": "5.0.0" } }, "simple-concat": { @@ -10009,9 +10021,9 @@ "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-2.8.1.tgz", "integrity": "sha512-lSSHRSw3mQNUGPAYRqo7xy9dhKmxFXIjLjp4KHpf99GEH2VH7C3AM+Qfx6du6jhfUi6Vm7XnbEVEf7Wb6N8jRw==", "requires": { - "decompress-response": "^3.3.0", - "once": "^1.3.1", - "simple-concat": "^1.0.0" + "decompress-response": "3.3.0", + "once": "1.4.0", + "simple-concat": "1.0.0" } }, "slash": { @@ -10024,14 +10036,14 @@ "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", "requires": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" + "base": "0.11.2", + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "map-cache": "0.2.2", + "source-map": "0.5.7", + "source-map-resolve": "0.5.2", + "use": "3.1.1" }, "dependencies": { "debug": { @@ -10047,7 +10059,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "requires": { - "is-descriptor": "^0.1.0" + "is-descriptor": "0.1.6" } }, "source-map": { @@ -10062,9 +10074,9 @@ "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", "requires": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" + "define-property": "1.0.0", + "isobject": "3.0.1", + "snapdragon-util": "3.0.1" }, "dependencies": { "define-property": { @@ -10072,7 +10084,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "requires": { - "is-descriptor": "^1.0.0" + "is-descriptor": "1.0.2" } }, "is-accessor-descriptor": { @@ -10080,7 +10092,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-data-descriptor": { @@ -10088,7 +10100,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-descriptor": { @@ -10096,9 +10108,9 @@ "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" } }, "isobject": { @@ -10118,7 +10130,7 @@ "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", "requires": { - "kind-of": "^3.2.0" + "kind-of": "3.2.2" } }, "solc": { @@ -10126,11 +10138,11 @@ "resolved": "https://registry.npmjs.org/solc/-/solc-0.4.24.tgz", "integrity": "sha512-2xd7Cf1HeVwrIb6Bu1cwY2/TaLRodrppCq3l7rhLimFQgmxptXhTC3+/wesVLpB09F1A2kZgvbMOgH7wvhFnBQ==", "requires": { - "fs-extra": "^0.30.0", - "memorystream": "^0.3.1", - "require-from-string": "^1.1.0", - "semver": "^5.3.0", - "yargs": "^4.7.1" + "fs-extra": "0.30.0", + "memorystream": "0.3.1", + "require-from-string": "1.2.1", + "semver": "5.5.1", + "yargs": "4.8.1" }, "dependencies": { "camelcase": { @@ -10143,9 +10155,9 @@ "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wrap-ansi": "^2.0.0" + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wrap-ansi": "2.1.0" } }, "find-up": { @@ -10153,8 +10165,8 @@ "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", "requires": { - "path-exists": "^2.0.0", - "pinkie-promise": "^2.0.0" + "path-exists": "2.1.0", + "pinkie-promise": "2.0.1" } }, "graceful-fs": { @@ -10164,22 +10176,22 @@ }, "load-json-file": { "version": "1.1.0", - "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "strip-bom": "^2.0.0" + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "strip-bom": "2.0.0" } }, "os-locale": { "version": "1.4.0", - "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", "requires": { - "lcid": "^1.0.0" + "lcid": "1.0.0" } }, "path-exists": { @@ -10187,7 +10199,7 @@ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", "requires": { - "pinkie-promise": "^2.0.0" + "pinkie-promise": "2.0.1" } }, "path-type": { @@ -10195,9 +10207,9 @@ "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", "requires": { - "graceful-fs": "^4.1.2", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" } }, "pify": { @@ -10210,9 +10222,9 @@ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", "requires": { - "load-json-file": "^1.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^1.0.0" + "load-json-file": "1.1.0", + "normalize-package-data": "2.4.0", + "path-type": "1.1.0" } }, "read-pkg-up": { @@ -10220,8 +10232,8 @@ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", "requires": { - "find-up": "^1.0.0", - "read-pkg": "^1.0.0" + "find-up": "1.1.2", + "read-pkg": "1.1.0" } }, "string-width": { @@ -10229,9 +10241,9 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" } }, "which-module": { @@ -10251,23 +10263,23 @@ }, "yargs": { "version": "4.8.1", - "resolved": "http://registry.npmjs.org/yargs/-/yargs-4.8.1.tgz", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-4.8.1.tgz", "integrity": "sha1-wMQpJMpKqmsObaFznfshZDn53cA=", "requires": { - "cliui": "^3.2.0", - "decamelize": "^1.1.1", - "get-caller-file": "^1.0.1", - "lodash.assign": "^4.0.3", - "os-locale": "^1.4.0", - "read-pkg-up": "^1.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^1.0.1", - "which-module": "^1.0.0", - "window-size": "^0.2.0", - "y18n": "^3.2.1", - "yargs-parser": "^2.4.1" + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.3", + "lodash.assign": "4.2.0", + "os-locale": "1.4.0", + "read-pkg-up": "1.0.1", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "1.0.2", + "which-module": "1.0.0", + "window-size": "0.2.0", + "y18n": "3.2.1", + "yargs-parser": "2.4.1" } }, "yargs-parser": { @@ -10275,8 +10287,8 @@ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz", "integrity": "sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ=", "requires": { - "camelcase": "^3.0.0", - "lodash.assign": "^4.0.6" + "camelcase": "3.0.0", + "lodash.assign": "4.2.0" } } } @@ -10296,11 +10308,11 @@ "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", "requires": { - "atob": "^2.1.1", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" + "atob": "2.1.2", + "decode-uri-component": "0.2.0", + "resolve-url": "0.2.1", + "source-map-url": "0.4.0", + "urix": "0.1.0" } }, "source-map-support": { @@ -10308,7 +10320,7 @@ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", "requires": { - "source-map": "^0.5.6" + "source-map": "0.5.7" }, "dependencies": { "source-map": { @@ -10328,8 +10340,8 @@ "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.2.tgz", "integrity": "sha512-q9hedtzyXHr5S0A1vEPoK/7l8NpfkFYTq6iCY+Pno2ZbdZR6WexZFtqeVGkGxW3TEJMN914Z55EnAGMmenlIQQ==", "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" + "spdx-expression-parse": "3.0.0", + "spdx-license-ids": "3.0.1" } }, "spdx-exceptions": { @@ -10342,8 +10354,8 @@ "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" + "spdx-exceptions": "2.2.0", + "spdx-license-ids": "3.0.1" } }, "spdx-license-ids": { @@ -10356,7 +10368,7 @@ "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", "requires": { - "extend-shallow": "^3.0.0" + "extend-shallow": "3.0.2" }, "dependencies": { "extend-shallow": { @@ -10364,8 +10376,8 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" + "assign-symbols": "1.0.0", + "is-extendable": "1.0.1" } }, "is-extendable": { @@ -10373,7 +10385,7 @@ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "requires": { - "is-plain-object": "^2.0.4" + "is-plain-object": "2.0.4" } } } @@ -10383,7 +10395,7 @@ "resolved": "https://registry.npmjs.org/split2/-/split2-2.2.0.tgz", "integrity": "sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw==", "requires": { - "through2": "^2.0.2" + "through2": "2.0.3" } }, "sprintf-js": { @@ -10396,15 +10408,15 @@ "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz", "integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=", "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" + "asn1": "0.2.4", + "assert-plus": "1.0.0", + "bcrypt-pbkdf": "1.0.2", + "dashdash": "1.14.1", + "ecc-jsbn": "0.1.2", + "getpass": "0.1.7", + "jsbn": "0.1.1", + "safer-buffer": "2.1.2", + "tweetnacl": "0.14.5" }, "dependencies": { "jsbn": { @@ -10426,7 +10438,7 @@ "resolved": "https://registry.npmjs.org/ssri/-/ssri-5.3.0.tgz", "integrity": "sha512-XRSIPqLij52MtgoQavH/x/dU1qVKtWUAAZeOHsR9c2Ddi4XerFy3mc1alf+dLJKl9EUIm/Ht+EowFkTUOA6GAQ==", "requires": { - "safe-buffer": "^5.1.1" + "safe-buffer": "5.1.2" } }, "stable": { @@ -10444,7 +10456,7 @@ "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.0.0.tgz", "integrity": "sha512-6flshd3F1Gwm+Ksxq463LtFd1liC77N/PX1FVVc3OzL3hAmo2fwHFbuArkcfi7s9rTNsLEhcRmXGFZhlgy40uw==", "requires": { - "escodegen": "^1.8.1" + "escodegen": "1.9.1" } }, "static-extend": { @@ -10452,8 +10464,8 @@ "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", "requires": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" + "define-property": "0.2.5", + "object-copy": "0.1.0" }, "dependencies": { "define-property": { @@ -10461,7 +10473,7 @@ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "requires": { - "is-descriptor": "^0.1.0" + "is-descriptor": "0.1.6" } } } @@ -10471,20 +10483,20 @@ "resolved": "https://registry.npmjs.org/static-module/-/static-module-2.2.5.tgz", "integrity": "sha512-D8vv82E/Kpmz3TXHKG8PPsCPg+RAX6cbCOyvjM6x04qZtQ47EtJFVwRsdov3n5d6/6ynrOY9XB4JkaZwB2xoRQ==", "requires": { - "concat-stream": "~1.6.0", - "convert-source-map": "^1.5.1", - "duplexer2": "~0.1.4", - "escodegen": "~1.9.0", - "falafel": "^2.1.0", - "has": "^1.0.1", - "magic-string": "^0.22.4", + "concat-stream": "1.6.2", + "convert-source-map": "1.6.0", + "duplexer2": "0.1.4", + "escodegen": "1.9.1", + "falafel": "2.1.0", + "has": "1.0.3", + "magic-string": "0.22.5", "merge-source-map": "1.0.4", - "object-inspect": "~1.4.0", - "quote-stream": "~1.0.2", - "readable-stream": "~2.3.3", - "shallow-copy": "~0.0.1", - "static-eval": "^2.0.0", - "through2": "~2.0.3" + "object-inspect": "1.4.1", + "quote-stream": "1.0.2", + "readable-stream": "2.3.6", + "shallow-copy": "0.0.1", + "static-eval": "2.0.0", + "through2": "2.0.3" } }, "statuses": { @@ -10497,8 +10509,8 @@ "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", "requires": { - "inherits": "~2.0.1", - "readable-stream": "^2.0.2" + "inherits": "2.0.3", + "readable-stream": "2.3.6" } }, "stream-each": { @@ -10506,8 +10518,8 @@ "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", "requires": { - "end-of-stream": "^1.1.0", - "stream-shift": "^1.0.0" + "end-of-stream": "1.4.1", + "stream-shift": "1.0.0" } }, "stream-http": { @@ -10515,11 +10527,11 @@ "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", "requires": { - "builtin-status-codes": "^3.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.3.6", - "to-arraybuffer": "^1.0.0", - "xtend": "^4.0.0" + "builtin-status-codes": "3.0.0", + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "to-arraybuffer": "1.0.1", + "xtend": "4.0.1" } }, "stream-shift": { @@ -10532,8 +10544,8 @@ "resolved": "https://registry.npmjs.org/stream-to-pull-stream/-/stream-to-pull-stream-1.7.2.tgz", "integrity": "sha1-dXYJrhzr0zx0MtSvvjH/eGULnd4=", "requires": { - "looper": "^3.0.0", - "pull-stream": "^3.2.3" + "looper": "3.0.0", + "pull-stream": "3.6.9" } }, "streamifier": { @@ -10556,7 +10568,7 @@ "resolved": "https://registry.npmjs.org/string-length/-/string-length-1.0.1.tgz", "integrity": "sha1-VpcPscOFWOnnC3KL894mmsRa36w=", "requires": { - "strip-ansi": "^3.0.0" + "strip-ansi": "3.0.1" } }, "string-width": { @@ -10564,8 +10576,8 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" }, "dependencies": { "ansi-regex": { @@ -10583,7 +10595,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "requires": { - "ansi-regex": "^3.0.0" + "ansi-regex": "3.0.0" } } } @@ -10593,9 +10605,9 @@ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz", "integrity": "sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=", "requires": { - "define-properties": "^1.1.2", - "es-abstract": "^1.5.0", - "function-bind": "^1.0.2" + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1" } }, "string_decoder": { @@ -10603,15 +10615,15 @@ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "requires": { - "safe-buffer": "~5.1.0" + "safe-buffer": "5.1.2" } }, "strip-ansi": { "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "strip-bom": { @@ -10619,7 +10631,7 @@ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", "requires": { - "is-utf8": "^0.2.0" + "is-utf8": "0.2.1" } }, "strip-dirs": { @@ -10627,7 +10639,7 @@ "resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.1.0.tgz", "integrity": "sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g==", "requires": { - "is-natural-number": "^4.0.1" + "is-natural-number": "4.0.1" } }, "strip-eof": { @@ -10650,7 +10662,7 @@ }, "styled-jsx": { "version": "2.2.6", - "resolved": "http://registry.npmjs.org/styled-jsx/-/styled-jsx-2.2.6.tgz", + "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-2.2.6.tgz", "integrity": "sha512-lx678TbNf56I7W4JezJqbLdSiTOpuKvixaZTCjHapFbuJQV3b3dByza6u8+cPRtG/PAmBHeA61croO77rp5auw==", "requires": { "babel-plugin-syntax-jsx": "6.18.0", @@ -10684,7 +10696,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { - "has-flag": "^3.0.0" + "has-flag": "3.0.0" } }, "swarm-js": { @@ -10692,19 +10704,19 @@ "resolved": "https://registry.npmjs.org/swarm-js/-/swarm-js-0.1.37.tgz", "integrity": "sha512-G8gi5fcXP/2upwiuOShJ258sIufBVztekgobr3cVgYXObZwJ5AXLqZn52AI+/ffft29pJexF9WNdUxjlkVehoQ==", "requires": { - "bluebird": "^3.5.0", - "buffer": "^5.0.5", - "decompress": "^4.0.0", - "eth-lib": "^0.1.26", - "fs-extra": "^2.1.2", - "fs-promise": "^2.0.0", - "got": "^7.1.0", - "mime-types": "^2.1.16", - "mkdirp-promise": "^5.0.1", - "mock-fs": "^4.1.0", - "setimmediate": "^1.0.5", - "tar.gz": "^1.0.5", - "xhr-request-promise": "^0.1.2" + "bluebird": "3.5.2", + "buffer": "5.2.1", + "decompress": "4.2.0", + "eth-lib": "0.1.27", + "fs-extra": "2.1.2", + "fs-promise": "2.0.3", + "got": "7.1.0", + "mime-types": "2.1.20", + "mkdirp-promise": "5.0.1", + "mock-fs": "4.7.0", + "setimmediate": "1.0.5", + "tar.gz": "1.0.7", + "xhr-request-promise": "0.1.2" }, "dependencies": { "buffer": { @@ -10712,8 +10724,8 @@ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz", "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==", "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4" + "base64-js": "1.3.0", + "ieee754": "1.1.12" } }, "fs-extra": { @@ -10721,8 +10733,8 @@ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz", "integrity": "sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU=", "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^2.1.0" + "graceful-fs": "4.1.11", + "jsonfile": "2.4.0" } }, "graceful-fs": { @@ -10742,19 +10754,19 @@ "resolved": "https://registry.npmjs.org/tape/-/tape-4.9.1.tgz", "integrity": "sha512-6fKIXknLpoe/Jp4rzHKFPpJUHDHDqn8jus99IfPnHIjyz78HYlefTGD3b5EkbQzuLfaEvmfPK3IolLgq2xT3kw==", "requires": { - "deep-equal": "~1.0.1", - "defined": "~1.0.0", - "for-each": "~0.3.3", - "function-bind": "~1.1.1", - "glob": "~7.1.2", - "has": "~1.0.3", - "inherits": "~2.0.3", - "minimist": "~1.2.0", - "object-inspect": "~1.6.0", - "resolve": "~1.7.1", - "resumer": "~0.0.0", - "string.prototype.trim": "~1.1.2", - "through": "~2.3.8" + "deep-equal": "1.0.1", + "defined": "1.0.0", + "for-each": "0.3.3", + "function-bind": "1.1.1", + "glob": "7.1.3", + "has": "1.0.3", + "inherits": "2.0.3", + "minimist": "1.2.0", + "object-inspect": "1.6.0", + "resolve": "1.7.1", + "resumer": "0.0.0", + "string.prototype.trim": "1.1.2", + "through": "2.3.8" }, "dependencies": { "object-inspect": { @@ -10767,7 +10779,7 @@ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz", "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==", "requires": { - "path-parse": "^1.0.5" + "path-parse": "1.0.6" } } } @@ -10777,9 +10789,9 @@ "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", "requires": { - "block-stream": "*", - "fstream": "^1.0.2", - "inherits": "2" + "block-stream": "0.0.9", + "fstream": "1.0.11", + "inherits": "2.0.3" } }, "tar-stream": { @@ -10787,13 +10799,13 @@ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.2.tgz", "integrity": "sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A==", "requires": { - "bl": "^1.0.0", - "buffer-alloc": "^1.2.0", - "end-of-stream": "^1.0.0", - "fs-constants": "^1.0.0", - "readable-stream": "^2.3.0", - "to-buffer": "^1.1.1", - "xtend": "^4.0.0" + "bl": "1.2.2", + "buffer-alloc": "1.2.0", + "end-of-stream": "1.4.1", + "fs-constants": "1.0.0", + "readable-stream": "2.3.6", + "to-buffer": "1.1.1", + "xtend": "4.0.1" } }, "tar.gz": { @@ -10801,16 +10813,16 @@ "resolved": "https://registry.npmjs.org/tar.gz/-/tar.gz-1.0.7.tgz", "integrity": "sha512-uhGatJvds/3diZrETqMj4RxBR779LKlIE74SsMcn5JProZsfs9j0QBwWO1RW+IWNJxS2x8Zzra1+AW6OQHWphg==", "requires": { - "bluebird": "^2.9.34", - "commander": "^2.8.1", - "fstream": "^1.0.8", - "mout": "^0.11.0", - "tar": "^2.1.1" + "bluebird": "2.11.0", + "commander": "2.18.0", + "fstream": "1.0.11", + "mout": "0.11.1", + "tar": "2.2.1" }, "dependencies": { "bluebird": { "version": "2.11.0", - "resolved": "http://registry.npmjs.org/bluebird/-/bluebird-2.11.0.tgz", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-2.11.0.tgz", "integrity": "sha1-U0uQM8AiyVecVro7Plpcqvu2UOE=" } } @@ -10820,7 +10832,7 @@ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.0.tgz", "integrity": "sha1-5p44obq+lpsBCCB5eLn2K4hgSDk=", "requires": { - "any-promise": "^1.0.0" + "any-promise": "1.3.0" } }, "thenify-all": { @@ -10828,12 +10840,12 @@ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", "integrity": "sha1-GhkY1ALY/D+Y+/I02wvMjMEOlyY=", "requires": { - "thenify": ">= 3.1.0 < 4" + "thenify": "3.3.0" } }, "through": { "version": "2.3.8", - "resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" }, "through2": { @@ -10841,8 +10853,8 @@ "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", "requires": { - "readable-stream": "^2.1.5", - "xtend": "~4.0.1" + "readable-stream": "2.3.6", + "xtend": "4.0.1" } }, "through2-filter": { @@ -10850,8 +10862,8 @@ "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-2.0.0.tgz", "integrity": "sha1-YLxVoNrLdghdsfna6Zq0P4PWIuw=", "requires": { - "through2": "~2.0.0", - "xtend": "~4.0.0" + "through2": "2.0.3", + "xtend": "4.0.1" } }, "time-stamp": { @@ -10869,7 +10881,7 @@ "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.10.tgz", "integrity": "sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg==", "requires": { - "setimmediate": "^1.0.4" + "setimmediate": "1.0.5" } }, "to-absolute-glob": { @@ -10877,7 +10889,7 @@ "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz", "integrity": "sha1-HN+kcqnvUMI57maZm2YsoOs5k38=", "requires": { - "extend-shallow": "^2.0.1" + "extend-shallow": "2.0.1" } }, "to-arraybuffer": { @@ -10900,7 +10912,7 @@ "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" } }, "to-regex": { @@ -10908,10 +10920,10 @@ "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", "requires": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "regex-not": "1.0.2", + "safe-regex": "1.1.0" }, "dependencies": { "extend-shallow": { @@ -10919,8 +10931,8 @@ "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" + "assign-symbols": "1.0.0", + "is-extendable": "1.0.1" } }, "is-extendable": { @@ -10928,7 +10940,7 @@ "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "requires": { - "is-plain-object": "^2.0.4" + "is-plain-object": "2.0.4" } } } @@ -10938,8 +10950,8 @@ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" + "is-number": "3.0.0", + "repeat-string": "1.6.1" }, "dependencies": { "is-number": { @@ -10947,7 +10959,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" } } } @@ -10957,7 +10969,7 @@ "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", "requires": { - "nopt": "~1.0.10" + "nopt": "1.0.10" } }, "tough-cookie": { @@ -10965,8 +10977,8 @@ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", "requires": { - "psl": "^1.1.24", - "punycode": "^1.4.1" + "psl": "1.1.29", + "punycode": "1.4.1" }, "dependencies": { "punycode": { @@ -11001,7 +11013,7 @@ "resolved": "https://registry.npmjs.org/truffle/-/truffle-4.1.14.tgz", "integrity": "sha512-e7tTLvKP3bN9dE7MagfWyFjy4ZgoEGbeujECy1me1ENBzbj/aO/+45gs72qsL3+3IkCNNcWNOJjjrm8BYZZNNg==", "requires": { - "mocha": "^4.1.0", + "mocha": "4.1.0", "original-require": "1.0.1", "solc": "0.4.24" } @@ -11011,15 +11023,14 @@ "resolved": "https://registry.npmjs.org/truffle-hdwallet-provider/-/truffle-hdwallet-provider-0.0.6.tgz", "integrity": "sha512-vh1nCk9+COz9Z1BnDYjrZEc8Z4KCWeoThAX6U13SpHMuSL7gX40ZDWszlVmovPLEwHSJBh/OaFmaduKfeXT9rA==", "requires": { - "bip39": "^2.2.0", + "bip39": "2.5.0", "ethereumjs-wallet": "0.6.0", - "web3": "^0.18.2", - "web3-provider-engine": "^14.0.5" + "web3": "0.18.4", + "web3-provider-engine": "14.1.0" }, "dependencies": { "bignumber.js": { - "version": "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2", - "from": "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2" + "version": "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2" }, "web3": { "version": "0.18.4", @@ -11027,10 +11038,10 @@ "integrity": "sha1-gewXhBRUkfLqqJVbMcBgSeB8Xn0=", "requires": { "bignumber.js": "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2", - "crypto-js": "^3.1.4", - "utf8": "^2.1.1", - "xhr2": "*", - "xmlhttprequest": "*" + "crypto-js": "3.1.8", + "utf8": "2.1.2", + "xhr2": "0.1.4", + "xmlhttprequest": "1.8.0" } } } @@ -11045,7 +11056,7 @@ "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", "requires": { - "safe-buffer": "^5.0.1" + "safe-buffer": "5.1.2" } }, "tweetnacl": { @@ -11058,7 +11069,7 @@ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", "requires": { - "prelude-ls": "~1.1.2" + "prelude-ls": "1.1.2" } }, "type-is": { @@ -11067,7 +11078,7 @@ "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==", "requires": { "media-typer": "0.3.0", - "mime-types": "~2.1.18" + "mime-types": "2.1.20" } }, "typedarray": { @@ -11080,7 +11091,7 @@ "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", "requires": { - "is-typedarray": "^1.0.0" + "is-typedarray": "1.0.0" } }, "ua-parser-js": { @@ -11093,8 +11104,8 @@ "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.9.tgz", "integrity": "sha512-r+MU0rfv4L/0eeW3xZrd16t4NZfK8Ld4SWVglYBb7ez5uXFWHuVRs6xCTrf1yirs9a4j4Y27nn7SRfO6v67XsQ==", "requires": { - "commander": "~2.13.0", - "source-map": "~0.6.1" + "commander": "2.13.0", + "source-map": "0.6.1" }, "dependencies": { "commander": { @@ -11115,14 +11126,14 @@ "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.1.6.tgz", "integrity": "sha512-VUja+7rYbznEvUaeb8IxOCTUrq4BCb1ml0vffa+mfwKtrAwlqnU0ENF14DtYltV1cxd/HSuK51CCA/D/8kMQVw==", "requires": { - "cacache": "^10.0.1", - "find-cache-dir": "^1.0.0", - "schema-utils": "^0.4.2", - "serialize-javascript": "^1.4.0", - "source-map": "^0.6.1", - "uglify-es": "^3.3.4", - "webpack-sources": "^1.1.0", - "worker-farm": "^1.5.2" + "cacache": "10.0.4", + "find-cache-dir": "1.0.0", + "schema-utils": "0.4.7", + "serialize-javascript": "1.5.0", + "source-map": "0.6.1", + "uglify-es": "3.3.9", + "webpack-sources": "1.1.0", + "worker-farm": "1.6.0" } }, "ultron": { @@ -11135,8 +11146,8 @@ "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.3.0.tgz", "integrity": "sha512-kE2WkurNnPUMcryNioS68DDbhoPB8Qxsd8btHSj+sd5Pjh2GsjmeHLzMSqV9HHziAo8FzVxVCJl9ZYhk7yY1pA==", "requires": { - "buffer": "^3.0.1", - "through": "^2.3.6" + "buffer": "3.6.0", + "through": "2.3.8" }, "dependencies": { "base64-js": { @@ -11146,12 +11157,12 @@ }, "buffer": { "version": "3.6.0", - "resolved": "http://registry.npmjs.org/buffer/-/buffer-3.6.0.tgz", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-3.6.0.tgz", "integrity": "sha1-pyyTb3e5a/UvX357RnGAYoVR3vs=", "requires": { "base64-js": "0.0.8", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" + "ieee754": "1.1.12", + "isarray": "1.0.0" } } } @@ -11176,8 +11187,8 @@ "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz", "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", "requires": { - "unicode-canonical-property-names-ecmascript": "^1.0.4", - "unicode-property-aliases-ecmascript": "^1.0.4" + "unicode-canonical-property-names-ecmascript": "1.0.4", + "unicode-property-aliases-ecmascript": "1.0.4" } }, "unicode-match-property-value-ecmascript": { @@ -11195,10 +11206,10 @@ "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", "requires": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^0.4.3" + "arr-union": "3.1.0", + "get-value": "2.0.6", + "is-extendable": "0.1.1", + "set-value": "0.4.3" }, "dependencies": { "set-value": { @@ -11206,10 +11217,10 @@ "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.1", - "to-object-path": "^0.3.0" + "extend-shallow": "2.0.1", + "is-extendable": "0.1.1", + "is-plain-object": "2.0.4", + "to-object-path": "0.3.0" } } } @@ -11219,7 +11230,7 @@ "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", "requires": { - "unique-slug": "^2.0.0" + "unique-slug": "2.0.1" } }, "unique-slug": { @@ -11227,7 +11238,7 @@ "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.1.tgz", "integrity": "sha512-n9cU6+gITaVu7VGj1Z8feKMmfAjEAQGhwD9fE3zvpRRa0wEIx8ODYkVGfSc94M2OX00tUFV8wH3zYbm1I8mxFg==", "requires": { - "imurmurhash": "^0.1.4" + "imurmurhash": "0.1.4" } }, "unique-stream": { @@ -11235,8 +11246,8 @@ "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.2.1.tgz", "integrity": "sha1-WqADz76Uxf+GbE59ZouxxNuts2k=", "requires": { - "json-stable-stringify": "^1.0.0", - "through2-filter": "^2.0.0" + "json-stable-stringify": "1.0.1", + "through2-filter": "2.0.0" } }, "unorm": { @@ -11254,8 +11265,8 @@ "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", "requires": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" + "has-value": "0.3.1", + "isobject": "3.0.1" }, "dependencies": { "has-value": { @@ -11263,9 +11274,9 @@ "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", "requires": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" + "get-value": "2.0.6", + "has-values": "0.1.4", + "isobject": "2.1.0" }, "dependencies": { "isobject": { @@ -11309,7 +11320,7 @@ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", "requires": { - "punycode": "^2.1.0" + "punycode": "2.1.1" } }, "urix": { @@ -11338,7 +11349,7 @@ "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", "requires": { - "prepend-http": "^1.0.1" + "prepend-http": "1.0.4" } }, "url-set-query": { @@ -11379,8 +11390,8 @@ "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz", "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==", "requires": { - "define-properties": "^1.1.2", - "object.getownpropertydescriptors": "^2.0.3" + "define-properties": "1.1.3", + "object.getownpropertydescriptors": "2.0.3" } }, "utils-merge": { @@ -11398,8 +11409,8 @@ "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" + "spdx-correct": "3.0.2", + "spdx-expression-parse": "3.0.0" } }, "varint": { @@ -11417,9 +11428,9 @@ "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", "requires": { - "assert-plus": "^1.0.0", + "assert-plus": "1.0.0", "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" + "extsprintf": "1.3.0" } }, "vinyl": { @@ -11427,8 +11438,8 @@ "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.5.3.tgz", "integrity": "sha1-sEVbOPxeDPMNQyUTLkYZcMIJHN4=", "requires": { - "clone": "^1.0.0", - "clone-stats": "^0.0.1", + "clone": "1.0.4", + "clone-stats": "0.0.1", "replace-ext": "0.0.1" } }, @@ -11437,17 +11448,17 @@ "resolved": "https://registry.npmjs.org/vinyl-fs-browser/-/vinyl-fs-browser-0.1.0.tgz", "integrity": "sha1-mYVwWhzmE0HGoj/5G3gRt0/Ysz0=", "requires": { - "brfs": "^1.4.1", - "duplexify": "^3.2.0", - "glob-stream": "^5.0.0", - "glob-watcher": "^2.0.0", - "is-valid-glob": "^0.3.0", - "merge-stream": "^0.1.7", - "mkdirp": "^0.5.0", - "object-assign": "^3.0.0", - "through2": "^2.0.0", - "through2-filter": "^2.0.0", - "vinyl": "^0.5.0" + "brfs": "1.6.1", + "duplexify": "3.6.0", + "glob-stream": "5.3.5", + "glob-watcher": "2.0.0", + "is-valid-glob": "0.3.0", + "merge-stream": "0.1.8", + "mkdirp": "0.5.1", + "object-assign": "3.0.0", + "through2": "2.0.3", + "through2-filter": "2.0.0", + "vinyl": "0.5.3" }, "dependencies": { "isarray": { @@ -11460,7 +11471,7 @@ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-0.1.8.tgz", "integrity": "sha1-SKB7O0oSHXSj7b/c20sIrb8CQLE=", "requires": { - "through2": "^0.6.1" + "through2": "0.6.5" }, "dependencies": { "through2": { @@ -11468,8 +11479,8 @@ "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=", "requires": { - "readable-stream": ">=1.0.33-1 <1.1.0-0", - "xtend": ">=4.0.0 <4.1.0-0" + "readable-stream": "1.0.34", + "xtend": "4.0.1" } } } @@ -11481,13 +11492,13 @@ }, "readable-stream": { "version": "1.0.34", - "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", + "core-util-is": "1.0.2", + "inherits": "2.0.3", "isarray": "0.0.1", - "string_decoder": "~0.10.x" + "string_decoder": "0.10.31" } }, "string_decoder": { @@ -11502,19 +11513,19 @@ "resolved": "https://registry.npmjs.org/vinyl-fs-that-respects-files/-/vinyl-fs-that-respects-files-1.0.2.tgz", "integrity": "sha1-rdpVsNlABBYTCa2pDrD95ubtvmI=", "requires": { - "brfs": "^1.4.1", - "duplexify": "^3.2.0", - "glob-stream": "^5.0.0", - "glob-watcher": "^2.0.0", - "graceful-fs": "^4.0.0", - "gulp-sourcemaps": "^1.5.2", - "is-valid-glob": "^0.3.0", - "merge-stream": "^0.1.7", - "mkdirp": "^0.5.0", - "object-assign": "^3.0.0", - "through2": "^2.0.0", - "through2-filter": "^2.0.0", - "vinyl": "^0.5.0" + "brfs": "1.6.1", + "duplexify": "3.6.0", + "glob-stream": "5.3.5", + "glob-watcher": "2.0.0", + "graceful-fs": "4.1.11", + "gulp-sourcemaps": "1.12.1", + "is-valid-glob": "0.3.0", + "merge-stream": "0.1.8", + "mkdirp": "0.5.1", + "object-assign": "3.0.0", + "through2": "2.0.3", + "through2-filter": "2.0.0", + "vinyl": "0.5.3" }, "dependencies": { "graceful-fs": { @@ -11532,7 +11543,7 @@ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-0.1.8.tgz", "integrity": "sha1-SKB7O0oSHXSj7b/c20sIrb8CQLE=", "requires": { - "through2": "^0.6.1" + "through2": "0.6.5" }, "dependencies": { "through2": { @@ -11540,8 +11551,8 @@ "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=", "requires": { - "readable-stream": ">=1.0.33-1 <1.1.0-0", - "xtend": ">=4.0.0 <4.1.0-0" + "readable-stream": "1.0.34", + "xtend": "4.0.1" } } } @@ -11553,13 +11564,13 @@ }, "readable-stream": { "version": "1.0.34", - "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", + "core-util-is": "1.0.2", + "inherits": "2.0.3", "isarray": "0.0.1", - "string_decoder": "~0.10.x" + "string_decoder": "0.10.31" } }, "string_decoder": { @@ -11574,9 +11585,9 @@ "resolved": "https://registry.npmjs.org/vinyl-multipart-stream/-/vinyl-multipart-stream-1.2.6.tgz", "integrity": "sha1-m+LitzQPePWXJYJ9yvw9XSCh8E8=", "requires": { - "duplexify": "^3.4.2", - "multipart-stream": "^2.0.0", - "vinyl-fs-that-respects-files": "^1.0.1" + "duplexify": "3.6.0", + "multipart-stream": "2.0.1", + "vinyl-fs-that-respects-files": "1.0.2" } }, "vlq": { @@ -11597,7 +11608,7 @@ "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.9.tgz", "integrity": "sha1-MbTbZnjyrgHDnqn7hyWpAx5Vins=", "requires": { - "foreachasync": "^3.0.0" + "foreachasync": "3.0.0" } }, "watchpack": { @@ -11605,9 +11616,9 @@ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.6.0.tgz", "integrity": "sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA==", "requires": { - "chokidar": "^2.0.2", - "graceful-fs": "^4.1.2", - "neo-async": "^2.5.0" + "chokidar": "2.0.4", + "graceful-fs": "4.1.11", + "neo-async": "2.5.2" }, "dependencies": { "graceful-fs": { @@ -11757,14 +11768,14 @@ "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.7.tgz", "integrity": "sha1-L5Pxex4jrsN1nNSj/iDBKGo/wco=", "requires": { - "bn.js": "^4.11.6", - "elliptic": "^6.4.0", - "xhr-request-promise": "^0.1.2" + "bn.js": "4.11.8", + "elliptic": "6.4.1", + "xhr-request-promise": "0.1.2" } }, "uuid": { "version": "2.0.1", - "resolved": "http://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=" } } @@ -11842,26 +11853,26 @@ "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-14.1.0.tgz", "integrity": "sha512-vGZtqhSUzGTiMGhJXNnB/aRDlrPZLhLnBZ2NPArkZtr8XSrwg9m08tw4+PuWg5za0TJuoE/vuPQc501HddZZWw==", "requires": { - "async": "^2.5.0", - "backoff": "^2.5.0", - "clone": "^2.0.0", - "cross-fetch": "^2.1.0", - "eth-block-tracker": "^3.0.0", - "eth-json-rpc-infura": "^3.1.0", - "eth-sig-util": "^1.4.2", - "ethereumjs-block": "^1.2.2", - "ethereumjs-tx": "^1.2.0", - "ethereumjs-util": "^5.1.5", - "ethereumjs-vm": "^2.3.4", - "json-rpc-error": "^2.0.0", - "json-stable-stringify": "^1.0.1", - "promise-to-callback": "^1.0.0", - "readable-stream": "^2.2.9", - "request": "^2.85.0", - "semaphore": "^1.0.3", - "ws": "^5.1.1", - "xhr": "^2.2.0", - "xtend": "^4.0.1" + "async": "2.6.1", + "backoff": "2.5.0", + "clone": "2.1.2", + "cross-fetch": "2.2.2", + "eth-block-tracker": "3.0.1", + "eth-json-rpc-infura": "3.1.2", + "eth-sig-util": "1.4.2", + "ethereumjs-block": "1.7.1", + "ethereumjs-tx": "1.3.7", + "ethereumjs-util": "5.2.0", + "ethereumjs-vm": "2.4.0", + "json-rpc-error": "2.0.0", + "json-stable-stringify": "1.0.1", + "promise-to-callback": "1.0.0", + "readable-stream": "2.3.6", + "request": "2.88.0", + "semaphore": "1.1.0", + "ws": "5.2.2", + "xhr": "2.5.0", + "xtend": "4.0.1" }, "dependencies": { "clone": { @@ -11874,13 +11885,13 @@ "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", "requires": { - "bn.js": "^4.11.0", - "create-hash": "^1.1.2", - "ethjs-util": "^0.1.3", - "keccak": "^1.0.2", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1", - "secp256k1": "^3.0.1" + "bn.js": "4.11.8", + "create-hash": "1.2.0", + "ethjs-util": "0.1.6", + "keccak": "1.4.0", + "rlp": "2.1.0", + "safe-buffer": "5.1.2", + "secp256k1": "3.5.2" } } } @@ -11952,36 +11963,35 @@ } }, "webcrypto-shim": { - "version": "github:dignifiedquire/webcrypto-shim#190bc9ec341375df6025b17ae12ddb2428ea49c8", - "from": "github:dignifiedquire/webcrypto-shim#master" + "version": "github:dignifiedquire/webcrypto-shim#190bc9ec341375df6025b17ae12ddb2428ea49c8" }, "webpack": { "version": "3.10.0", "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.10.0.tgz", "integrity": "sha512-fxxKXoicjdXNUMY7LIdY89tkJJJ0m1Oo8PQutZ5rLgWbV5QVKI15Cn7+/IHnRTd3vfKfiwBx6SBqlorAuNA8LA==", "requires": { - "acorn": "^5.0.0", - "acorn-dynamic-import": "^2.0.0", - "ajv": "^5.1.5", - "ajv-keywords": "^2.0.0", - "async": "^2.1.2", - "enhanced-resolve": "^3.4.0", - "escope": "^3.6.0", - "interpret": "^1.0.0", - "json-loader": "^0.5.4", - "json5": "^0.5.1", - "loader-runner": "^2.3.0", - "loader-utils": "^1.1.0", - "memory-fs": "~0.4.1", - "mkdirp": "~0.5.0", - "node-libs-browser": "^2.0.0", - "source-map": "^0.5.3", - "supports-color": "^4.2.1", - "tapable": "^0.2.7", - "uglifyjs-webpack-plugin": "^0.4.6", - "watchpack": "^1.4.0", - "webpack-sources": "^1.0.1", - "yargs": "^8.0.2" + "acorn": "5.7.3", + "acorn-dynamic-import": "2.0.2", + "ajv": "5.5.2", + "ajv-keywords": "2.1.1", + "async": "2.6.1", + "enhanced-resolve": "3.4.1", + "escope": "3.6.0", + "interpret": "1.1.0", + "json-loader": "0.5.7", + "json5": "0.5.1", + "loader-runner": "2.3.1", + "loader-utils": "1.1.0", + "memory-fs": "0.4.1", + "mkdirp": "0.5.1", + "node-libs-browser": "2.1.0", + "source-map": "0.5.7", + "supports-color": "4.5.0", + "tapable": "0.2.8", + "uglifyjs-webpack-plugin": "0.4.6", + "watchpack": "1.6.0", + "webpack-sources": "1.1.0", + "yargs": "8.0.2" }, "dependencies": { "ajv": { @@ -11989,10 +11999,10 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", "requires": { - "co": "^4.6.0", - "fast-deep-equal": "^1.0.0", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.3.0" + "co": "4.6.0", + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" } }, "ajv-keywords": { @@ -12025,7 +12035,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", "requires": { - "has-flag": "^2.0.0" + "has-flag": "2.0.0" } }, "uglify-js": { @@ -12033,19 +12043,19 @@ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", "requires": { - "source-map": "~0.5.1", - "uglify-to-browserify": "~1.0.0", - "yargs": "~3.10.0" + "source-map": "0.5.7", + "uglify-to-browserify": "1.0.2", + "yargs": "3.10.0" }, "dependencies": { "yargs": { "version": "3.10.0", - "resolved": "http://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", "requires": { - "camelcase": "^1.0.2", - "cliui": "^2.1.0", - "decamelize": "^1.0.0", + "camelcase": "1.2.1", + "cliui": "2.1.0", + "decamelize": "1.2.0", "window-size": "0.1.0" } } @@ -12056,9 +12066,9 @@ "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-0.4.6.tgz", "integrity": "sha1-uVH0q7a9YX5m9j64kUmOORdj4wk=", "requires": { - "source-map": "^0.5.6", - "uglify-js": "^2.8.29", - "webpack-sources": "^1.0.1" + "source-map": "0.5.7", + "uglify-js": "2.8.29", + "webpack-sources": "1.1.0" } } } @@ -12068,11 +12078,11 @@ "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-1.12.0.tgz", "integrity": "sha1-007++y7dp+HTtdvgcolRMhllFwk=", "requires": { - "memory-fs": "~0.4.1", - "mime": "^1.3.4", - "path-is-absolute": "^1.0.0", - "range-parser": "^1.0.3", - "time-stamp": "^2.0.0" + "memory-fs": "0.4.1", + "mime": "1.4.1", + "path-is-absolute": "1.0.1", + "range-parser": "1.2.0", + "time-stamp": "2.1.0" } }, "webpack-hot-middleware": { @@ -12081,9 +12091,9 @@ "integrity": "sha512-2x60xmz7XBCNN/Drol+7i85E/5RrNrf+ivOPCgrxhP1F3q3WxpVjjvj8n8fOS1bS9oTRKEDfBYVAtkxqsG7LwQ==", "requires": { "ansi-html": "0.0.7", - "html-entities": "^1.2.0", - "querystring": "^0.2.0", - "strip-ansi": "^3.0.0" + "html-entities": "1.2.1", + "querystring": "0.2.0", + "strip-ansi": "3.0.1" } }, "webpack-sources": { @@ -12091,18 +12101,17 @@ "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.1.0.tgz", "integrity": "sha512-aqYp18kPphgoO5c/+NaUvEeACtZjMESmDChuD3NBciVpah3XpMEU9VAAtIaB1BsfJWWTSdv8Vv1m3T0aRk2dUw==", "requires": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" + "source-list-map": "2.0.0", + "source-map": "0.6.1" } }, "websocket": { "version": "git://github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2", - "from": "git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible", "requires": { - "debug": "^2.2.0", - "nan": "^2.3.3", - "typedarray-to-buffer": "^3.1.2", - "yaeti": "^0.0.6" + "debug": "2.6.9", + "nan": "2.11.1", + "typedarray-to-buffer": "3.1.5", + "yaeti": "0.0.6" }, "dependencies": { "debug": { @@ -12125,7 +12134,7 @@ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "requires": { - "isexe": "^2.0.0" + "isexe": "2.0.0" } }, "which-module": { @@ -12148,16 +12157,16 @@ "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.6.0.tgz", "integrity": "sha512-6w+3tHbM87WnSWnENBUvA2pxJPLhQUg5LKwUQHq3r+XPhIM+Gh2R5ycbwPCyuGbNg+lPgdcnQUhuC02kJCvffQ==", "requires": { - "errno": "~0.1.7" + "errno": "0.1.7" } }, "wrap-ansi": { "version": "2.1.0", - "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" + "string-width": "1.0.2", + "strip-ansi": "3.0.1" }, "dependencies": { "string-width": { @@ -12165,9 +12174,9 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" } } } @@ -12182,12 +12191,12 @@ "resolved": "https://registry.npmjs.org/write-file-webpack-plugin/-/write-file-webpack-plugin-4.2.0.tgz", "integrity": "sha512-sIjfV+M1Ia8p/lVcLjvM2I0Lq/40tCMZe+k0Pxg2TG6TKjUgHGwQeM42QdYLiHAIAITGQK1HEQA3YknFubzfDQ==", "requires": { - "chalk": "^1.1.1", - "debug": "^2.6.8", - "filesize": "^3.2.1", - "lodash": "^4.5.1", - "mkdirp": "^0.5.1", - "moment": "^2.11.2" + "chalk": "1.1.3", + "debug": "2.6.9", + "filesize": "3.6.1", + "lodash": "4.17.11", + "mkdirp": "0.5.1", + "moment": "2.22.2" }, "dependencies": { "ansi-styles": { @@ -12197,14 +12206,14 @@ }, "chalk": { "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" } }, "debug": { @@ -12227,7 +12236,7 @@ "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", "requires": { - "async-limiter": "~1.0.0" + "async-limiter": "1.0.0" } }, "xhr": { @@ -12235,10 +12244,10 @@ "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.5.0.tgz", "integrity": "sha512-4nlO/14t3BNUZRXIXfXe+3N6w3s1KoxcJUUURctd64BLRe67E4gRwp4PjywtDY72fXpZ1y6Ch0VZQRY/gMPzzQ==", "requires": { - "global": "~4.3.0", - "is-function": "^1.0.1", - "parse-headers": "^2.0.0", - "xtend": "^4.0.0" + "global": "4.3.2", + "is-function": "1.0.1", + "parse-headers": "2.0.1", + "xtend": "4.0.1" } }, "xhr-request": { @@ -12246,13 +12255,13 @@ "resolved": "https://registry.npmjs.org/xhr-request/-/xhr-request-1.1.0.tgz", "integrity": "sha512-Y7qzEaR3FDtL3fP30k9wO/e+FBnBByZeybKOhASsGP30NIkRAAkKD/sCnLvgEfAIEC1rcmK7YG8f4oEnIrrWzA==", "requires": { - "buffer-to-arraybuffer": "^0.0.5", - "object-assign": "^4.1.1", - "query-string": "^5.0.1", - "simple-get": "^2.7.0", - "timed-out": "^4.0.1", - "url-set-query": "^1.0.0", - "xhr": "^2.0.4" + "buffer-to-arraybuffer": "0.0.5", + "object-assign": "4.1.1", + "query-string": "5.1.1", + "simple-get": "2.8.1", + "timed-out": "4.0.1", + "url-set-query": "1.0.0", + "xhr": "2.5.0" }, "dependencies": { "object-assign": { @@ -12267,7 +12276,7 @@ "resolved": "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.2.tgz", "integrity": "sha1-NDxE0e53JrhkgGloLQ+EDIO0Jh0=", "requires": { - "xhr-request": "^1.0.1" + "xhr-request": "1.1.0" } }, "xhr2": { @@ -12280,7 +12289,7 @@ "resolved": "https://registry.npmjs.org/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz", "integrity": "sha1-fXdEnQmZGX8VXLc7I99yUF7YnUg=", "requires": { - "cookiejar": "^2.1.1" + "cookiejar": "2.1.2" } }, "xmlhttprequest": { @@ -12313,19 +12322,19 @@ "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz", "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=", "requires": { - "camelcase": "^4.1.0", - "cliui": "^3.2.0", - "decamelize": "^1.1.1", - "get-caller-file": "^1.0.1", - "os-locale": "^2.0.0", - "read-pkg-up": "^2.0.0", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^2.0.0", - "which-module": "^2.0.0", - "y18n": "^3.2.1", - "yargs-parser": "^7.0.0" + "camelcase": "4.1.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.3", + "os-locale": "2.1.0", + "read-pkg-up": "2.0.0", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "2.1.1", + "which-module": "2.0.0", + "y18n": "3.2.1", + "yargs-parser": "7.0.0" }, "dependencies": { "camelcase": { @@ -12338,9 +12347,9 @@ "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wrap-ansi": "^2.0.0" + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wrap-ansi": "2.1.0" }, "dependencies": { "string-width": { @@ -12348,9 +12357,9 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" } } } @@ -12367,7 +12376,7 @@ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", "requires": { - "camelcase": "^4.1.0" + "camelcase": "4.1.0" }, "dependencies": { "camelcase": { @@ -12382,8 +12391,8 @@ "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", "requires": { - "buffer-crc32": "~0.2.3", - "fd-slicer": "~1.1.0" + "buffer-crc32": "0.2.13", + "fd-slicer": "1.1.0" } } } diff --git a/package.json b/package.json index 37a9019..45bb3b2 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "", "main": "index.js", "scripts": { - "test": "mocha", + "test": "mocha ethereum/test/*.js", "dev": "node server.js" }, "author": "", @@ -12,6 +12,7 @@ "dependencies": { "axios": "^0.18.0", "bs58": "^4.0.1", + "ganache-cli": "^6.1.8", "ipfs-api": "^23.0.0", "ipfs-js": "0.0.11", "ipfs-mini": "^1.1.2", From deebde1278f471657ced30fbef32f565192015cd Mon Sep 17 00:00:00 2001 From: vrajasekaran Date: Thu, 18 Oct 2018 11:14:56 -0400 Subject: [PATCH 10/16] changeStatus --- ethereum/contracts/MasterAuditCondition.sol | 39 ++++++++++--- ethereum/test/TestMasterAuditCondition.js | 62 ++++++++++++++++++++- 2 files changed, 93 insertions(+), 8 deletions(-) diff --git a/ethereum/contracts/MasterAuditCondition.sol b/ethereum/contracts/MasterAuditCondition.sol index b646bcc..64eda2e 100644 --- a/ethereum/contracts/MasterAuditCondition.sol +++ b/ethereum/contracts/MasterAuditCondition.sol @@ -13,6 +13,15 @@ contract MasterAuditCondition { mapping(uint256 => MasterAuditConditionStruct) private MasterAuditConditionStructs; uint256[] private Index; + function isExists(uint256 indexExists) + public + view + returns(bool isExist) { + if (Index.length == 0) return false; + + return (Index[MasterAuditConditionStructs[indexExists].index] == indexExists); + } + function insert( string conditionText, string compare, @@ -20,8 +29,7 @@ contract MasterAuditCondition { bool isActive ) public - returns(uint256 index) - { + returns(uint256 index){ uint256 currentIndex = getCount(); MasterAuditConditionStruct memory newMasterAuditConditionStruct = MasterAuditConditionStruct(currentIndex, conditionText, compare, value, isActive); @@ -30,16 +38,25 @@ contract MasterAuditCondition { return currentIndex; } + function changeStatus(uint256 index, bool status) + public + returns(bool success) { + if (!isExists(index)) revert(); + + MasterAuditConditionStructs[index].isActive = status; + return true; + } + function getCount() public - constant + view returns(uint256 count) { return Index.length; } function getAtIndex(uint256 index) public - constant + view returns(MasterAuditConditionStruct masterAuditConditionStruct) { return MasterAuditConditionStructs[index]; @@ -47,7 +64,7 @@ contract MasterAuditCondition { function getConditionTextAtIndex(uint256 index) public - constant + view returns(string conditionText) { return MasterAuditConditionStructs[index].conditionText; @@ -55,7 +72,7 @@ contract MasterAuditCondition { function getCompareAtIndex(uint256 index) public - constant + view returns(string compare) { return MasterAuditConditionStructs[index].compare; @@ -63,9 +80,17 @@ contract MasterAuditCondition { function getValueAtIndex(uint256 index) public - constant + view returns(uint256 value) { return MasterAuditConditionStructs[index].value; } + + function getStatusAtIndex(uint256 index) + public + view + returns(bool isActive) + { + return MasterAuditConditionStructs[index].isActive; + } } \ No newline at end of file diff --git a/ethereum/test/TestMasterAuditCondition.js b/ethereum/test/TestMasterAuditCondition.js index 97ba1d7..2a64826 100644 --- a/ethereum/test/TestMasterAuditCondition.js +++ b/ethereum/test/TestMasterAuditCondition.js @@ -31,7 +31,7 @@ contract('TestMasterAuditCondition.js', async (accounts) => { let instance = await MasterAuditCondition.deployed(); let count = await instance.getCount.call(); assert.equal(count.valueOf(), 1); - }) + }); it("inserted values should match input after the second insert", async () => { let instance = await MasterAuditCondition.deployed(); @@ -51,4 +51,64 @@ contract('TestMasterAuditCondition.js', async (accounts) => { assert.equal(insertedValue, 101); }); + it("isExists should return true for existing index", async () => { + let instance = await MasterAuditCondition.deployed(); + let isExists = await instance.isExists.call(1); + assert.equal(isExists, true); + }); + + it("isExists should return false for non-existing index", async () => { + let instance = await MasterAuditCondition.deployed(); + let isExists = await instance.isExists.call(10); + assert.equal(isExists, false); + }); + + it("changeStatus to Inactive", async () => { + let instance = await MasterAuditCondition.deployed(); + //Change as Transaction + let transaction = await instance.changeStatus(1, false, { + from: accounts[0], + gas: '1000000' + }); + //Get the Value back to test + let changedStatus = await instance.getStatusAtIndex.call(1); + + //Assert the Values + assert.equal(changedStatus, false); + }); + + it("changeStatus to Active", async () => { + let instance = await MasterAuditCondition.deployed(); + //Change as Transaction + let transaction = await instance.changeStatus(1, true, { + from: accounts[0], + gas: '1000000' + }); + //Get the Value back to test + let changedStatus = await instance.getStatusAtIndex.call(1); + + //Assert the Values + assert.equal(changedStatus, true); + }); + + it("changeStatus on non-existing record", async () => { + let instance = await MasterAuditCondition.deployed(); + //Change as Transaction + try { + let transaction = await instance.changeStatus(10, true, { + from: accounts[0], + gas: '1000000' + }); + + } catch (error) { + //TODO: Need to pass the right message from revert() and handle it accordingly + // console.log('err', error); + assert(true); + // if (error ==="Index does not Exists"){ + // assert(true); + // }else{ + // assert(false); + // } + } + }); }) \ No newline at end of file From 53f59faa914445f73faf4e0bb8f2f69168e93398 Mon Sep 17 00:00:00 2001 From: vrajasekaran Date: Thu, 18 Oct 2018 11:22:42 -0400 Subject: [PATCH 11/16] update --- ethereum/contracts/MasterAuditCondition.sol | 12 +++++++ ethereum/test/TestMasterAuditCondition.js | 39 +++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/ethereum/contracts/MasterAuditCondition.sol b/ethereum/contracts/MasterAuditCondition.sol index 64eda2e..73bbaea 100644 --- a/ethereum/contracts/MasterAuditCondition.sol +++ b/ethereum/contracts/MasterAuditCondition.sol @@ -47,6 +47,18 @@ contract MasterAuditCondition { return true; } + function update(uint256 index, string conditionText, string compare, uint256 value) + public + returns(bool success) { + if (!isExists(index)) revert(); + + MasterAuditConditionStructs[index].conditionText = conditionText; + MasterAuditConditionStructs[index].compare = compare; + MasterAuditConditionStructs[index].value = value; + + return true; + } + function getCount() public view diff --git a/ethereum/test/TestMasterAuditCondition.js b/ethereum/test/TestMasterAuditCondition.js index 2a64826..ec5c76b 100644 --- a/ethereum/test/TestMasterAuditCondition.js +++ b/ethereum/test/TestMasterAuditCondition.js @@ -111,4 +111,43 @@ contract('TestMasterAuditCondition.js', async (accounts) => { // } } }); + + it("updated values should match input", async () => { + let instance = await MasterAuditCondition.deployed(); + //Insert as Transaction + let transaction = await instance.update(1, 'Updated Test Condition Text 2', 'Updated Test Compare 2', 202, { + from: accounts[0], + gas: '1000000' + }); + //Get the Value back to test + let updatedConditionText = await instance.getConditionTextAtIndex.call(1); + let updatedCompare = await instance.getCompareAtIndex.call(1); + let updatedValue = await instance.getValueAtIndex.call(1); + + //Assert the Values + assert.equal(updatedConditionText, 'Updated Test Condition Text 2'); + assert.equal(updatedCompare, 'Updated Test Compare 2'); + assert.equal(updatedValue, 202); + }); + + it("update on non-existing record", async () => { + let instance = await MasterAuditCondition.deployed(); + //Change as Transaction + try { + let transaction = await instance.update(1, 'Updated Test Condition Text 2', 'Updated Test Compare 2', 202, { + from: accounts[0], + gas: '1000000' + }); + + } catch (error) { + //TODO: Need to pass the right message from revert() and handle it accordingly + // console.log('err', error); + assert(true); + // if (error ==="Index does not Exists"){ + // assert(true); + // }else{ + // assert(false); + // } + } + }); }) \ No newline at end of file From a2b391c196c3c35e53b534b45fd4b16cecc0cebc Mon Sep 17 00:00:00 2001 From: vrajasekaran Date: Sat, 20 Oct 2018 07:42:13 -0400 Subject: [PATCH 12/16] ++delete --- ethereum/contracts/MasterAuditCondition.sol | 33 +++++ ethereum/test/TestMasterAuditCondition.js | 145 ++++++++++++++++++++ 2 files changed, 178 insertions(+) diff --git a/ethereum/contracts/MasterAuditCondition.sol b/ethereum/contracts/MasterAuditCondition.sol index 73bbaea..112f574 100644 --- a/ethereum/contracts/MasterAuditCondition.sol +++ b/ethereum/contracts/MasterAuditCondition.sol @@ -59,6 +59,29 @@ contract MasterAuditCondition { return true; } + function deleteMasterAuditCondition(uint256 deleteIndex) + public + returns(uint256 index){ + if (!(isExists(deleteIndex))) revert(); + + //important since deleteIndex <> MasterAuditConditionStructs[deleteIndex].index + uint256 rowToDeleteIndex = MasterAuditConditionStructs[deleteIndex].index; + //Get the Last index/key + uint256 keyToMoveIndex = Index[Index.length - 1]; + //Set the rowToDelete index as Last Index + Index[rowToDeleteIndex] = keyToMoveIndex; + //Set the moved struct's index as rowToDelete Index + MasterAuditConditionStructs[keyToMoveIndex].index = rowToDeleteIndex; + Index.length--; + + return rowToDeleteIndex; + } + + function deleteAll() + public{ + delete Index; + } + function getCount() public view @@ -71,6 +94,8 @@ contract MasterAuditCondition { view returns(MasterAuditConditionStruct masterAuditConditionStruct) { + if (!(isExists(index))) revert(); + return MasterAuditConditionStructs[index]; } @@ -79,6 +104,8 @@ contract MasterAuditCondition { view returns(string conditionText) { + if (!(isExists(index))) revert(); + return MasterAuditConditionStructs[index].conditionText; } @@ -87,6 +114,8 @@ contract MasterAuditCondition { view returns(string compare) { + if (!(isExists(index))) revert(); + return MasterAuditConditionStructs[index].compare; } @@ -95,6 +124,8 @@ contract MasterAuditCondition { view returns(uint256 value) { + if (!(isExists(index))) revert(); + return MasterAuditConditionStructs[index].value; } @@ -103,6 +134,8 @@ contract MasterAuditCondition { view returns(bool isActive) { + if (!(isExists(index))) revert(); + return MasterAuditConditionStructs[index].isActive; } } \ No newline at end of file diff --git a/ethereum/test/TestMasterAuditCondition.js b/ethereum/test/TestMasterAuditCondition.js index ec5c76b..993bb02 100644 --- a/ethereum/test/TestMasterAuditCondition.js +++ b/ethereum/test/TestMasterAuditCondition.js @@ -150,4 +150,149 @@ contract('TestMasterAuditCondition.js', async (accounts) => { // } } }); + + it("deleteMasterAuditCondition should delete", async () => { + let instance = await MasterAuditCondition.deployed(); + //Insert as Transaction + let transaction = await instance.deleteMasterAuditCondition(1, { + from: accounts[0], + gas: '1000000' + }); + + let count = await instance.getCount.call(); + try { + await instance.getAtIndex.call(count); + + } catch (error) { + //TODO: Need to pass the right message from revert() and handle it accordingly + // console.log('err', error); + assert(true); + // if (error ==="Index does not Exists"){ + // assert(true); + // }else{ + // assert(false); + // } + } + }); + + it("deleteMasterAuditCondition on non-existing record", async () => { + let instance = await MasterAuditCondition.deployed(); + //Change as Transaction + try { + let transaction = await instance.deleteMasterAuditCondition(21, { + from: accounts[0], + gas: '1000000' + }); + + } catch (error) { + //TODO: Need to pass the right message from revert() and handle it accordingly + // console.log('err', error); + assert(true); + // if (error ==="Index does not Exists"){ + // assert(true); + // }else{ + // assert(false); + // } + } + }); + + it("deleteAll should delete all and getCount = 0", async () => { + let instance = await MasterAuditCondition.deployed(); + //Insert as Transaction + let transaction = await instance.deleteAll({ + from: accounts[0], + gas: '1000000' + }); + //Get the Value back to test + let value = await instance.getCount.call(); + + //Assert the Values + assert.equal(value, 0); + }); + + + it("getAtIndex on non-existing record", async () => { + let instance = await MasterAuditCondition.deployed(); + try { + await instance.getAtIndex.call(33); + + } catch (error) { + //TODO: Need to pass the right message from revert() and handle it accordingly + // console.log('err', error); + assert(true); + // if (error ==="Index does not Exists"){ + // assert(true); + // }else{ + // assert(false); + // } + } + }); + + it("getConditionTextAtIndex on non-existing record should throw error", async () => { + let instance = await MasterAuditCondition.deployed(); + try { + await instance.getConditionTextAtIndex.call(33); + + } catch (error) { + //TODO: Need to pass the right message from revert() and handle it accordingly + // console.log('err', error); + assert(true); + // if (error ==="Index does not Exists"){ + // assert(true); + // }else{ + // assert(false); + // } + } + }); + + it("getCompareAtIndex on non-existing record should throw error", async () => { + let instance = await MasterAuditCondition.deployed(); + try { + await instance.getCompareAtIndex.call(33); + + } catch (error) { + //TODO: Need to pass the right message from revert() and handle it accordingly + // console.log('err', error); + assert(true); + // if (error ==="Index does not Exists"){ + // assert(true); + // }else{ + // assert(false); + // } + } + }); + + it("getValueAtIndex on non-existing record should throw error", async () => { + let instance = await MasterAuditCondition.deployed(); + try { + await instance.getValueAtIndex.call(33); + + } catch (error) { + //TODO: Need to pass the right message from revert() and handle it accordingly + // console.log('err', error); + assert(true); + // if (error ==="Index does not Exists"){ + // assert(true); + // }else{ + // assert(false); + // } + } + }); + + it("getStatusAtIndex on non-existing record should throw error", async () => { + let instance = await MasterAuditCondition.deployed(); + try { + await instance.getStatusAtIndex.call(33); + + } catch (error) { + //TODO: Need to pass the right message from revert() and handle it accordingly + // console.log('err', error); + assert(true); + // if (error ==="Index does not Exists"){ + // assert(true); + // }else{ + // assert(false); + // } + } + }); }) \ No newline at end of file From 4f719dc894816f946a627fbafe2be46193442cb0 Mon Sep 17 00:00:00 2001 From: vrajasekaran Date: Sat, 20 Oct 2018 08:28:20 -0400 Subject: [PATCH 13/16] ++events --- ethereum/contracts/MasterAuditCondition.sol | 22 +++++++++++++++++++-- ethereum/test/TestMasterAuditCondition.js | 10 +++++----- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/ethereum/contracts/MasterAuditCondition.sol b/ethereum/contracts/MasterAuditCondition.sol index 112f574..2c3e6cc 100644 --- a/ethereum/contracts/MasterAuditCondition.sol +++ b/ethereum/contracts/MasterAuditCondition.sol @@ -13,6 +13,12 @@ contract MasterAuditCondition { mapping(uint256 => MasterAuditConditionStruct) private MasterAuditConditionStructs; uint256[] private Index; + event LogInsertMasterAuditCondition(uint256 indexed currentIndex, string conditionText, string compare, uint256 value, bool isActive); + event LogUpdateMasterAuditCondition(uint256 indexed currentIndex, string conditionText, string compare, uint256 value, bool isActive); + event LogDeleteMasterAuditCondition(uint256 indexed currentIndex); + event LogChangeStatusMasterAuditCondition(uint256 indexed currentIndex, bool isActive); + + function isExists(uint256 indexExists) public view @@ -32,9 +38,11 @@ contract MasterAuditCondition { returns(uint256 index){ uint256 currentIndex = getCount(); - MasterAuditConditionStruct memory newMasterAuditConditionStruct = MasterAuditConditionStruct(currentIndex, conditionText, compare, value, isActive); + uint256 pushedIndex = Index.push(currentIndex) - 1; + MasterAuditConditionStruct memory newMasterAuditConditionStruct = MasterAuditConditionStruct(pushedIndex, conditionText, compare, value, isActive); MasterAuditConditionStructs[currentIndex] = newMasterAuditConditionStruct; - Index.push(currentIndex); + + emit LogInsertMasterAuditCondition(currentIndex, conditionText, compare, value, isActive); return currentIndex; } @@ -44,6 +52,8 @@ contract MasterAuditCondition { if (!isExists(index)) revert(); MasterAuditConditionStructs[index].isActive = status; + + emit LogChangeStatusMasterAuditCondition(index, MasterAuditConditionStructs[index].isActive); return true; } @@ -56,6 +66,13 @@ contract MasterAuditCondition { MasterAuditConditionStructs[index].compare = compare; MasterAuditConditionStructs[index].value = value; + emit LogUpdateMasterAuditCondition( + MasterAuditConditionStructs[index].index, + MasterAuditConditionStructs[index].conditionText, + MasterAuditConditionStructs[index].compare, + MasterAuditConditionStructs[index].value, + MasterAuditConditionStructs[index].isActive); + return true; } @@ -74,6 +91,7 @@ contract MasterAuditCondition { MasterAuditConditionStructs[keyToMoveIndex].index = rowToDeleteIndex; Index.length--; + emit LogDeleteMasterAuditCondition(rowToDeleteIndex); return rowToDeleteIndex; } diff --git a/ethereum/test/TestMasterAuditCondition.js b/ethereum/test/TestMasterAuditCondition.js index 993bb02..bd56cd1 100644 --- a/ethereum/test/TestMasterAuditCondition.js +++ b/ethereum/test/TestMasterAuditCondition.js @@ -9,7 +9,7 @@ contract('TestMasterAuditCondition.js', async (accounts) => { assert.equal(count.valueOf(), 0); }) - it("inserted values should match input after the first insert", async () => { + it("inserted values should match input", async () => { let instance = await MasterAuditCondition.deployed(); //Insert as Transaction let transaction = await instance.insert('Test Condition Text', 'Test Compare', 100, true, { @@ -91,7 +91,7 @@ contract('TestMasterAuditCondition.js', async (accounts) => { assert.equal(changedStatus, true); }); - it("changeStatus on non-existing record", async () => { + it("changeStatus on non-existing record should throw error", async () => { let instance = await MasterAuditCondition.deployed(); //Change as Transaction try { @@ -130,7 +130,7 @@ contract('TestMasterAuditCondition.js', async (accounts) => { assert.equal(updatedValue, 202); }); - it("update on non-existing record", async () => { + it("update on non-existing record should throw error", async () => { let instance = await MasterAuditCondition.deployed(); //Change as Transaction try { @@ -175,7 +175,7 @@ contract('TestMasterAuditCondition.js', async (accounts) => { } }); - it("deleteMasterAuditCondition on non-existing record", async () => { + it("deleteMasterAuditCondition on non-existing record should throw error", async () => { let instance = await MasterAuditCondition.deployed(); //Change as Transaction try { @@ -211,7 +211,7 @@ contract('TestMasterAuditCondition.js', async (accounts) => { }); - it("getAtIndex on non-existing record", async () => { + it("getAtIndex on non-existing record should throw error", async () => { let instance = await MasterAuditCondition.deployed(); try { await instance.getAtIndex.call(33); From 3ac847ed6a8137da617f9c484a0243733d8ff34a Mon Sep 17 00:00:00 2001 From: vrajasekaran Date: Sat, 20 Oct 2018 10:28:27 -0400 Subject: [PATCH 14/16] truffleAssert, assert events --- ethereum/test/TestMasterAuditCondition.js | 65 ++++++-- package-lock.json | 182 +++++++++++++++++++++- package.json | 3 +- 3 files changed, 235 insertions(+), 15 deletions(-) diff --git a/ethereum/test/TestMasterAuditCondition.js b/ethereum/test/TestMasterAuditCondition.js index bd56cd1..905199e 100644 --- a/ethereum/test/TestMasterAuditCondition.js +++ b/ethereum/test/TestMasterAuditCondition.js @@ -1,4 +1,5 @@ const MasterAuditCondition = artifacts.require("MasterAuditCondition"); +const truffleAssert = require('truffle-assertions'); contract('TestMasterAuditCondition.js', async (accounts) => { @@ -16,6 +17,15 @@ contract('TestMasterAuditCondition.js', async (accounts) => { from: accounts[0], gas: '1000000' }); + + //assert the event emitted + truffleAssert.eventEmitted(transaction, 'LogInsertMasterAuditCondition', (ev) => { + return ev.currentIndex == 0 && + ev.conditionText == 'Test Condition Text' && + ev.compare == 'Test Compare' && + ev.value == 100; + }); + //Get the Value back to test let insertedConditionText = await instance.getConditionTextAtIndex.call(0); let insertedCompare = await instance.getCompareAtIndex.call(0); @@ -65,13 +75,22 @@ contract('TestMasterAuditCondition.js', async (accounts) => { it("changeStatus to Inactive", async () => { let instance = await MasterAuditCondition.deployed(); + + let indexUnderTest = 1; //Change as Transaction - let transaction = await instance.changeStatus(1, false, { + let transaction = await instance.changeStatus(indexUnderTest, false, { from: accounts[0], gas: '1000000' }); + + //assert the event emitted + truffleAssert.eventEmitted(transaction, 'LogChangeStatusMasterAuditCondition', (ev) => { + return ev.currentIndex == indexUnderTest && + ev.isActive == false; + }); + //Get the Value back to test - let changedStatus = await instance.getStatusAtIndex.call(1); + let changedStatus = await instance.getStatusAtIndex.call(indexUnderTest); //Assert the Values assert.equal(changedStatus, false); @@ -79,13 +98,22 @@ contract('TestMasterAuditCondition.js', async (accounts) => { it("changeStatus to Active", async () => { let instance = await MasterAuditCondition.deployed(); + let indexUnderTest = 1; + //Change as Transaction - let transaction = await instance.changeStatus(1, true, { + let transaction = await instance.changeStatus(indexUnderTest, true, { from: accounts[0], gas: '1000000' }); + + //assert the event emitted + truffleAssert.eventEmitted(transaction, 'LogChangeStatusMasterAuditCondition', (ev) => { + return ev.currentIndex == indexUnderTest && + ev.isActive == true; + }); + //Get the Value back to test - let changedStatus = await instance.getStatusAtIndex.call(1); + let changedStatus = await instance.getStatusAtIndex.call(indexUnderTest); //Assert the Values assert.equal(changedStatus, true); @@ -114,15 +142,26 @@ contract('TestMasterAuditCondition.js', async (accounts) => { it("updated values should match input", async () => { let instance = await MasterAuditCondition.deployed(); - //Insert as Transaction - let transaction = await instance.update(1, 'Updated Test Condition Text 2', 'Updated Test Compare 2', 202, { + let indexUnderTest = 1; + + //Update as Transaction + let transaction = await instance.update(indexUnderTest, 'Updated Test Condition Text 2', 'Updated Test Compare 2', 202, { from: accounts[0], gas: '1000000' }); + + //assert the event emitted + truffleAssert.eventEmitted(transaction, 'LogUpdateMasterAuditCondition', (ev) => { + return ev.currentIndex == indexUnderTest && + ev.conditionText == 'Updated Test Condition Text 2' && + ev.compare == 'Updated Test Compare 2' && + ev.value == 202; + }); + //Get the Value back to test - let updatedConditionText = await instance.getConditionTextAtIndex.call(1); - let updatedCompare = await instance.getCompareAtIndex.call(1); - let updatedValue = await instance.getValueAtIndex.call(1); + let updatedConditionText = await instance.getConditionTextAtIndex.call(indexUnderTest); + let updatedCompare = await instance.getCompareAtIndex.call(indexUnderTest); + let updatedValue = await instance.getValueAtIndex.call(indexUnderTest); //Assert the Values assert.equal(updatedConditionText, 'Updated Test Condition Text 2'); @@ -153,12 +192,18 @@ contract('TestMasterAuditCondition.js', async (accounts) => { it("deleteMasterAuditCondition should delete", async () => { let instance = await MasterAuditCondition.deployed(); + let indexUnderTest = 1; //Insert as Transaction - let transaction = await instance.deleteMasterAuditCondition(1, { + let transaction = await instance.deleteMasterAuditCondition(indexUnderTest, { from: accounts[0], gas: '1000000' }); + //assert the event emitted + truffleAssert.eventEmitted(transaction, 'LogDeleteMasterAuditCondition', (ev) => { + return ev.currentIndex == indexUnderTest; + }); + let count = await instance.getCount.call(); try { await instance.getAtIndex.call(count); diff --git a/package-lock.json b/package-lock.json index c563021..7f056f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1248,6 +1248,11 @@ "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" + }, "assign-symbols": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", @@ -11009,13 +11014,182 @@ "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=" }, "truffle": { - "version": "4.1.14", - "resolved": "https://registry.npmjs.org/truffle/-/truffle-4.1.14.tgz", - "integrity": "sha512-e7tTLvKP3bN9dE7MagfWyFjy4ZgoEGbeujECy1me1ENBzbj/aO/+45gs72qsL3+3IkCNNcWNOJjjrm8BYZZNNg==", + "version": "5.0.0-beta.1", + "resolved": "https://registry.npmjs.org/truffle/-/truffle-5.0.0-beta.1.tgz", + "integrity": "sha512-U9vNwUAX0kb+pgpUWsWDFQeU2XeCHYm4swVxQdRi37mDQCOedEVgiE+Lr87LNQMAIuAY+8sG/9KF7HwVks0ncQ==", "requires": { "mocha": "4.1.0", "original-require": "1.0.1", - "solc": "0.4.24" + "solc": "0.4.25" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "requires": { + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wrap-ansi": "2.1.0" + } + }, + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "requires": { + "path-exists": "2.1.0", + "pinkie-promise": "2.0.1" + } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "strip-bom": "2.0.0" + } + }, + "os-locale": { + "version": "1.4.0", + "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "requires": { + "lcid": "1.0.0" + } + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "requires": { + "pinkie-promise": "2.0.1" + } + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "requires": { + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "requires": { + "load-json-file": "1.1.0", + "normalize-package-data": "2.4.0", + "path-type": "1.1.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "requires": { + "find-up": "1.1.2", + "read-pkg": "1.1.0" + } + }, + "solc": { + "version": "0.4.25", + "resolved": "https://registry.npmjs.org/solc/-/solc-0.4.25.tgz", + "integrity": "sha512-jU1YygRVy6zatgXrLY2rRm7HW1d7a8CkkEgNJwvH2VLpWhMFsMdWcJn6kUqZwcSz/Vm+w89dy7Z/aB5p6AFTrg==", + "requires": { + "fs-extra": "0.30.0", + "memorystream": "0.3.1", + "require-from-string": "1.2.1", + "semver": "5.5.1", + "yargs": "4.8.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=" + }, + "window-size": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.2.0.tgz", + "integrity": "sha1-tDFbtCFKPXBY6+7okuE/ok2YsHU=" + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=" + }, + "yargs": { + "version": "4.8.1", + "resolved": "http://registry.npmjs.org/yargs/-/yargs-4.8.1.tgz", + "integrity": "sha1-wMQpJMpKqmsObaFznfshZDn53cA=", + "requires": { + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.3", + "lodash.assign": "4.2.0", + "os-locale": "1.4.0", + "read-pkg-up": "1.0.1", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "1.0.2", + "which-module": "1.0.0", + "window-size": "0.2.0", + "y18n": "3.2.1", + "yargs-parser": "2.4.1" + } + }, + "yargs-parser": { + "version": "2.4.1", + "resolved": "http://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz", + "integrity": "sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ=", + "requires": { + "camelcase": "3.0.0", + "lodash.assign": "4.2.0" + } + } + } + }, + "truffle-assertions": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/truffle-assertions/-/truffle-assertions-0.6.2.tgz", + "integrity": "sha512-jK/uh8WEq7qNtSSmzujfjQkOE0C1h3NBOjy4nUjo57jckdxxComJ5TnrMxSb9jhXCk44jl98OxoT9zIXHIA97Q==", + "requires": { + "assertion-error": "1.1.0", + "web3": "1.0.0-beta.36" } }, "truffle-hdwallet-provider": { diff --git a/package.json b/package.json index 45bb3b2..1a0648b 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "react-dom": "^16.4.0", "semantic-ui-css": "^2.3.1", "semantic-ui-react": "^0.80.2", - "truffle": "^4.1.13", + "truffle": "^5.0.0-beta.1", + "truffle-assertions": "^0.6.2", "truffle-hdwallet-provider": "0.0.6", "web3": "^1.0.0-beta.36" } From 19a72d506a69f000f3e50de7893564c39db4ba35 Mon Sep 17 00:00:00 2001 From: vrajasekaran Date: Sat, 20 Oct 2018 10:48:58 -0400 Subject: [PATCH 15/16] use truffleAssert.revert, cleanup --- ethereum/contracts/MasterAuditCondition.sol | 16 +- ethereum/test/TestMasterAuditCondition.js | 204 ++++++-------------- 2 files changed, 71 insertions(+), 149 deletions(-) diff --git a/ethereum/contracts/MasterAuditCondition.sol b/ethereum/contracts/MasterAuditCondition.sol index 2c3e6cc..9b0f223 100644 --- a/ethereum/contracts/MasterAuditCondition.sol +++ b/ethereum/contracts/MasterAuditCondition.sol @@ -107,14 +107,22 @@ contract MasterAuditCondition { return Index.length; } - function getAtIndex(uint256 index) + function getAtIndex(uint256 getIndex) public view - returns(MasterAuditConditionStruct masterAuditConditionStruct) + returns(uint256 index, + string conditionText, + string compare, + uint value, + bool isActive) { - if (!(isExists(index))) revert(); + if (!(isExists(getIndex))) revert(); - return MasterAuditConditionStructs[index]; + return ( MasterAuditConditionStructs[getIndex].index, + MasterAuditConditionStructs[getIndex].conditionText, + MasterAuditConditionStructs[getIndex].compare, + MasterAuditConditionStructs[getIndex].value, + MasterAuditConditionStructs[getIndex].isActive); } function getConditionTextAtIndex(uint256 index) diff --git a/ethereum/test/TestMasterAuditCondition.js b/ethereum/test/TestMasterAuditCondition.js index 905199e..92d3af5 100644 --- a/ethereum/test/TestMasterAuditCondition.js +++ b/ethereum/test/TestMasterAuditCondition.js @@ -14,8 +14,7 @@ contract('TestMasterAuditCondition.js', async (accounts) => { let instance = await MasterAuditCondition.deployed(); //Insert as Transaction let transaction = await instance.insert('Test Condition Text', 'Test Compare', 100, true, { - from: accounts[0], - gas: '1000000' + from: accounts[0] }); //assert the event emitted @@ -47,8 +46,7 @@ contract('TestMasterAuditCondition.js', async (accounts) => { let instance = await MasterAuditCondition.deployed(); //Insert as Transaction let transaction = await instance.insert('Test Condition Text 2', 'Test Compare 2', 101, true, { - from: accounts[0], - gas: '1000000' + from: accounts[0] }); //Get the Value back to test let insertedConditionText = await instance.getConditionTextAtIndex.call(1); @@ -79,8 +77,7 @@ contract('TestMasterAuditCondition.js', async (accounts) => { let indexUnderTest = 1; //Change as Transaction let transaction = await instance.changeStatus(indexUnderTest, false, { - from: accounts[0], - gas: '1000000' + from: accounts[0] }); //assert the event emitted @@ -102,8 +99,7 @@ contract('TestMasterAuditCondition.js', async (accounts) => { //Change as Transaction let transaction = await instance.changeStatus(indexUnderTest, true, { - from: accounts[0], - gas: '1000000' + from: accounts[0] }); //assert the event emitted @@ -121,23 +117,13 @@ contract('TestMasterAuditCondition.js', async (accounts) => { it("changeStatus on non-existing record should throw error", async () => { let instance = await MasterAuditCondition.deployed(); - //Change as Transaction - try { - let transaction = await instance.changeStatus(10, true, { - from: accounts[0], - gas: '1000000' - }); - - } catch (error) { - //TODO: Need to pass the right message from revert() and handle it accordingly - // console.log('err', error); - assert(true); - // if (error ==="Index does not Exists"){ - // assert(true); - // }else{ - // assert(false); - // } - } + + //assert the revert + await truffleAssert.reverts( + instance.changeStatus(10, true, { + from: accounts[0] + }) + ); }); it("updated values should match input", async () => { @@ -146,8 +132,7 @@ contract('TestMasterAuditCondition.js', async (accounts) => { //Update as Transaction let transaction = await instance.update(indexUnderTest, 'Updated Test Condition Text 2', 'Updated Test Compare 2', 202, { - from: accounts[0], - gas: '1000000' + from: accounts[0] }); //assert the event emitted @@ -171,32 +156,24 @@ contract('TestMasterAuditCondition.js', async (accounts) => { it("update on non-existing record should throw error", async () => { let instance = await MasterAuditCondition.deployed(); - //Change as Transaction - try { - let transaction = await instance.update(1, 'Updated Test Condition Text 2', 'Updated Test Compare 2', 202, { - from: accounts[0], - gas: '1000000' - }); - - } catch (error) { - //TODO: Need to pass the right message from revert() and handle it accordingly - // console.log('err', error); - assert(true); - // if (error ==="Index does not Exists"){ - // assert(true); - // }else{ - // assert(false); - // } - } + + //assert the revert + await truffleAssert.reverts( + instance.update(99, 'Updated Test Condition Text 2', 'Updated Test Compare 2', 202, { + from: accounts[0] + }) + ); }); it("deleteMasterAuditCondition should delete", async () => { let instance = await MasterAuditCondition.deployed(); - let indexUnderTest = 1; + let indexUnderTest = 0; + + let countBeforeDelete = await instance.getCount.call(); + //Insert as Transaction let transaction = await instance.deleteMasterAuditCondition(indexUnderTest, { - from: accounts[0], - gas: '1000000' + from: accounts[0] }); //assert the event emitted @@ -204,49 +181,28 @@ contract('TestMasterAuditCondition.js', async (accounts) => { return ev.currentIndex == indexUnderTest; }); - let count = await instance.getCount.call(); - try { - await instance.getAtIndex.call(count); - - } catch (error) { - //TODO: Need to pass the right message from revert() and handle it accordingly - // console.log('err', error); - assert(true); - // if (error ==="Index does not Exists"){ - // assert(true); - // }else{ - // assert(false); - // } - } + //assert the revert + await truffleAssert.reverts( + instance.getAtIndex.call(countBeforeDelete) + ); }); it("deleteMasterAuditCondition on non-existing record should throw error", async () => { let instance = await MasterAuditCondition.deployed(); - //Change as Transaction - try { - let transaction = await instance.deleteMasterAuditCondition(21, { - from: accounts[0], - gas: '1000000' - }); - - } catch (error) { - //TODO: Need to pass the right message from revert() and handle it accordingly - // console.log('err', error); - assert(true); - // if (error ==="Index does not Exists"){ - // assert(true); - // }else{ - // assert(false); - // } - } + + //assert the revert + await truffleAssert.reverts( + instance.deleteMasterAuditCondition(21, { + from: accounts[0] + }) + ); }); it("deleteAll should delete all and getCount = 0", async () => { let instance = await MasterAuditCondition.deployed(); //Insert as Transaction let transaction = await instance.deleteAll({ - from: accounts[0], - gas: '1000000' + from: accounts[0] }); //Get the Value back to test let value = await instance.getCount.call(); @@ -258,86 +214,44 @@ contract('TestMasterAuditCondition.js', async (accounts) => { it("getAtIndex on non-existing record should throw error", async () => { let instance = await MasterAuditCondition.deployed(); - try { - await instance.getAtIndex.call(33); - - } catch (error) { - //TODO: Need to pass the right message from revert() and handle it accordingly - // console.log('err', error); - assert(true); - // if (error ==="Index does not Exists"){ - // assert(true); - // }else{ - // assert(false); - // } - } + + //assert the revert + await truffleAssert.reverts( + instance.getAtIndex.call(33) + ); }); it("getConditionTextAtIndex on non-existing record should throw error", async () => { let instance = await MasterAuditCondition.deployed(); - try { - await instance.getConditionTextAtIndex.call(33); - - } catch (error) { - //TODO: Need to pass the right message from revert() and handle it accordingly - // console.log('err', error); - assert(true); - // if (error ==="Index does not Exists"){ - // assert(true); - // }else{ - // assert(false); - // } - } + + //assert the revert + await truffleAssert.reverts( + instance.getConditionTextAtIndex.call(33) + ); }); it("getCompareAtIndex on non-existing record should throw error", async () => { let instance = await MasterAuditCondition.deployed(); - try { - await instance.getCompareAtIndex.call(33); - - } catch (error) { - //TODO: Need to pass the right message from revert() and handle it accordingly - // console.log('err', error); - assert(true); - // if (error ==="Index does not Exists"){ - // assert(true); - // }else{ - // assert(false); - // } - } + + //assert the revert + await truffleAssert.reverts( + instance.getCompareAtIndex.call(33) + ); }); it("getValueAtIndex on non-existing record should throw error", async () => { let instance = await MasterAuditCondition.deployed(); - try { - await instance.getValueAtIndex.call(33); - - } catch (error) { - //TODO: Need to pass the right message from revert() and handle it accordingly - // console.log('err', error); - assert(true); - // if (error ==="Index does not Exists"){ - // assert(true); - // }else{ - // assert(false); - // } - } + //assert the revert + await truffleAssert.reverts( + instance.getValueAtIndex.call(33) + ); }); it("getStatusAtIndex on non-existing record should throw error", async () => { let instance = await MasterAuditCondition.deployed(); - try { - await instance.getStatusAtIndex.call(33); - - } catch (error) { - //TODO: Need to pass the right message from revert() and handle it accordingly - // console.log('err', error); - assert(true); - // if (error ==="Index does not Exists"){ - // assert(true); - // }else{ - // assert(false); - // } - } + //assert the revert + await truffleAssert.reverts( + instance.getStatusAtIndex.call(33) + ); }); }) \ No newline at end of file From 86723aa26fcfb93dd73ba4f25ecf18ae446af7af Mon Sep 17 00:00:00 2001 From: vrajasekaran Date: Sat, 20 Oct 2018 12:19:50 -0400 Subject: [PATCH 16/16] ++masterlistingcondition contract + test -clone of masterauditcondition --- ethereum/contracts/MasterListingCondition.sol | 166 +++++++++++ ethereum/migrations/2_deploy_contracts.js | 2 + ethereum/test/TestMasterAuditCondition.js | 2 +- ethereum/test/TestMasterListingCondition.js | 257 ++++++++++++++++++ 4 files changed, 426 insertions(+), 1 deletion(-) create mode 100644 ethereum/contracts/MasterListingCondition.sol create mode 100644 ethereum/test/TestMasterListingCondition.js diff --git a/ethereum/contracts/MasterListingCondition.sol b/ethereum/contracts/MasterListingCondition.sol new file mode 100644 index 0000000..5ef6904 --- /dev/null +++ b/ethereum/contracts/MasterListingCondition.sol @@ -0,0 +1,166 @@ +pragma solidity ^0.4.24; + +contract MasterListingCondition { + struct MasterListingConditionStruct{ + uint256 index; + string conditionText; + string compare; + uint value; + bool isActive; + } + + mapping(uint256 => MasterListingConditionStruct) private MasterListingConditionStructs; + uint256[] private Index; + + event LogInsertMasterListingCondition(uint256 indexed currentIndex, string conditionText, string compare, uint256 value, bool isActive); + event LogUpdateMasterListingCondition(uint256 indexed currentIndex, string conditionText, string compare, uint256 value, bool isActive); + event LogDeleteMasterListingCondition(uint256 indexed currentIndex); + event LogChangeStatusMasterListingCondition(uint256 indexed currentIndex, bool isActive); + + + function isExists(uint256 indexExists) + public + view + returns(bool isExist) { + if (Index.length == 0) return false; + + return (Index[MasterListingConditionStructs[indexExists].index] == indexExists); + } + + function insert( + string conditionText, + string compare, + uint value, + bool isActive + ) + public + returns(uint256 index){ + uint256 currentIndex = getCount(); + + uint256 pushedIndex = Index.push(currentIndex) - 1; + MasterListingConditionStruct memory newMasterListingConditionStruct = MasterListingConditionStruct(pushedIndex, conditionText, compare, value, isActive); + MasterListingConditionStructs[currentIndex] = newMasterListingConditionStruct; + + emit LogInsertMasterListingCondition(currentIndex, conditionText, compare, value, isActive); + return currentIndex; + } + + function changeStatus(uint256 index, bool status) + public + returns(bool success) { + if (!isExists(index)) revert(); + + MasterListingConditionStructs[index].isActive = status; + + emit LogChangeStatusMasterListingCondition(index, MasterListingConditionStructs[index].isActive); + return true; + } + + function update(uint256 index, string conditionText, string compare, uint256 value) + public + returns(bool success) { + if (!isExists(index)) revert(); + + MasterListingConditionStructs[index].conditionText = conditionText; + MasterListingConditionStructs[index].compare = compare; + MasterListingConditionStructs[index].value = value; + + emit LogUpdateMasterListingCondition( + MasterListingConditionStructs[index].index, + MasterListingConditionStructs[index].conditionText, + MasterListingConditionStructs[index].compare, + MasterListingConditionStructs[index].value, + MasterListingConditionStructs[index].isActive); + + return true; + } + + function deleteMasterListingCondition(uint256 deleteIndex) + public + returns(uint256 index){ + if (!(isExists(deleteIndex))) revert(); + + //important since deleteIndex <> MasterListingConditionStructs[deleteIndex].index + uint256 rowToDeleteIndex = MasterListingConditionStructs[deleteIndex].index; + //Get the Last index/key + uint256 keyToMoveIndex = Index[Index.length - 1]; + //Set the rowToDelete index as Last Index + Index[rowToDeleteIndex] = keyToMoveIndex; + //Set the moved struct's index as rowToDelete Index + MasterListingConditionStructs[keyToMoveIndex].index = rowToDeleteIndex; + Index.length--; + + emit LogDeleteMasterListingCondition(rowToDeleteIndex); + return rowToDeleteIndex; + } + + function deleteAll() + public{ + delete Index; + } + + function getCount() + public + view + returns(uint256 count) { + return Index.length; + } + + function getAtIndex(uint256 getIndex) + public + view + returns(uint256 index, + string conditionText, + string compare, + uint value, + bool isActive) + { + if (!(isExists(getIndex))) revert(); + + return ( MasterListingConditionStructs[getIndex].index, + MasterListingConditionStructs[getIndex].conditionText, + MasterListingConditionStructs[getIndex].compare, + MasterListingConditionStructs[getIndex].value, + MasterListingConditionStructs[getIndex].isActive); + } + + function getConditionTextAtIndex(uint256 index) + public + view + returns(string conditionText) + { + if (!(isExists(index))) revert(); + + return MasterListingConditionStructs[index].conditionText; + } + + function getCompareAtIndex(uint256 index) + public + view + returns(string compare) + { + if (!(isExists(index))) revert(); + + return MasterListingConditionStructs[index].compare; + } + + function getValueAtIndex(uint256 index) + public + view + returns(uint256 value) + { + if (!(isExists(index))) revert(); + + return MasterListingConditionStructs[index].value; + } + + function getStatusAtIndex(uint256 index) + public + view + returns(bool isActive) + { + if (!(isExists(index))) revert(); + + return MasterListingConditionStructs[index].isActive; + } +} \ No newline at end of file diff --git a/ethereum/migrations/2_deploy_contracts.js b/ethereum/migrations/2_deploy_contracts.js index 1212a9d..2fead20 100644 --- a/ethereum/migrations/2_deploy_contracts.js +++ b/ethereum/migrations/2_deploy_contracts.js @@ -6,6 +6,7 @@ var JobApplicantLibrary = artifacts.require("JobApplicationLibrary") var AuditCriteriaManager = artifacts.require("AuditCriteriaManager") var Company = artifacts.require("Company") var MasterAuditCondition = artifacts.require("MasterAuditCondition"); +var MasterListingCondition = artifacts.require("MasterListingCondition"); module.exports = function(deployer, network) { @@ -22,4 +23,5 @@ async function deployContracts(deployer) { await deployer.deploy(ListingsRegistry); await deployer.deploy(AuditCriteriaManager); await deployer.deploy(MasterAuditCondition); + await deployer.deploy(MasterListingCondition); } diff --git a/ethereum/test/TestMasterAuditCondition.js b/ethereum/test/TestMasterAuditCondition.js index 92d3af5..39e72fc 100644 --- a/ethereum/test/TestMasterAuditCondition.js +++ b/ethereum/test/TestMasterAuditCondition.js @@ -1,7 +1,7 @@ const MasterAuditCondition = artifacts.require("MasterAuditCondition"); const truffleAssert = require('truffle-assertions'); -contract('TestMasterAuditCondition.js', async (accounts) => { +contract('MasterAuditCondition.js', async (accounts) => { it("getCount should return 0 initially", async () => { let instance = await MasterAuditCondition.deployed(); diff --git a/ethereum/test/TestMasterListingCondition.js b/ethereum/test/TestMasterListingCondition.js new file mode 100644 index 0000000..ec777ac --- /dev/null +++ b/ethereum/test/TestMasterListingCondition.js @@ -0,0 +1,257 @@ +const MasterListingCondition = artifacts.require("MasterListingCondition"); +const truffleAssert = require('truffle-assertions'); + +contract('MasterListingCondition', async (accounts) => { + + it("getCount should return 0 initially", async () => { + let instance = await MasterListingCondition.deployed(); + let count = await instance.getCount.call(); + //let count = await instance.methods.getCount().call(); + assert.equal(count.valueOf(), 0); + }) + + it("inserted values should match input", async () => { + let instance = await MasterListingCondition.deployed(); + //Insert as Transaction + let transaction = await instance.insert('Test Condition Text', 'Test Compare', 100, true, { + from: accounts[0] + }); + + //assert the event emitted + truffleAssert.eventEmitted(transaction, 'LogInsertMasterListingCondition', (ev) => { + return ev.currentIndex == 0 && + ev.conditionText == 'Test Condition Text' && + ev.compare == 'Test Compare' && + ev.value == 100; + }); + + //Get the Value back to test + let insertedConditionText = await instance.getConditionTextAtIndex.call(0); + let insertedCompare = await instance.getCompareAtIndex.call(0); + let insertedValue = await instance.getValueAtIndex.call(0); + + //Assert the Values + assert.equal(insertedConditionText, 'Test Condition Text'); + assert.equal(insertedCompare, 'Test Compare'); + assert.equal(insertedValue, 100); + }); + + it("getCount should return 1 after the first insert", async () => { + let instance = await MasterListingCondition.deployed(); + let count = await instance.getCount.call(); + assert.equal(count.valueOf(), 1); + }); + + it("inserted values should match input after the second insert", async () => { + let instance = await MasterListingCondition.deployed(); + //Insert as Transaction + let transaction = await instance.insert('Test Condition Text 2', 'Test Compare 2', 101, true, { + from: accounts[0] + }); + //Get the Value back to test + let insertedConditionText = await instance.getConditionTextAtIndex.call(1); + let insertedCompare = await instance.getCompareAtIndex.call(1); + let insertedValue = await instance.getValueAtIndex.call(1); + + //Assert the Values + assert.equal(insertedConditionText, 'Test Condition Text 2'); + assert.equal(insertedCompare, 'Test Compare 2'); + assert.equal(insertedValue, 101); + }); + + it("isExists should return true for existing index", async () => { + let instance = await MasterListingCondition.deployed(); + let isExists = await instance.isExists.call(1); + assert.equal(isExists, true); + }); + + it("isExists should return false for non-existing index", async () => { + let instance = await MasterListingCondition.deployed(); + let isExists = await instance.isExists.call(10); + assert.equal(isExists, false); + }); + + it("changeStatus to Inactive", async () => { + let instance = await MasterListingCondition.deployed(); + + let indexUnderTest = 1; + //Change as Transaction + let transaction = await instance.changeStatus(indexUnderTest, false, { + from: accounts[0] + }); + + //assert the event emitted + truffleAssert.eventEmitted(transaction, 'LogChangeStatusMasterListingCondition', (ev) => { + return ev.currentIndex == indexUnderTest && + ev.isActive == false; + }); + + //Get the Value back to test + let changedStatus = await instance.getStatusAtIndex.call(indexUnderTest); + + //Assert the Values + assert.equal(changedStatus, false); + }); + + it("changeStatus to Active", async () => { + let instance = await MasterListingCondition.deployed(); + let indexUnderTest = 1; + + //Change as Transaction + let transaction = await instance.changeStatus(indexUnderTest, true, { + from: accounts[0] + }); + + //assert the event emitted + truffleAssert.eventEmitted(transaction, 'LogChangeStatusMasterListingCondition', (ev) => { + return ev.currentIndex == indexUnderTest && + ev.isActive == true; + }); + + //Get the Value back to test + let changedStatus = await instance.getStatusAtIndex.call(indexUnderTest); + + //Assert the Values + assert.equal(changedStatus, true); + }); + + it("changeStatus on non-existing record should throw error", async () => { + let instance = await MasterListingCondition.deployed(); + + //assert the revert + await truffleAssert.reverts( + instance.changeStatus(10, true, { + from: accounts[0] + }) + ); + }); + + it("updated values should match input", async () => { + let instance = await MasterListingCondition.deployed(); + let indexUnderTest = 1; + + //Update as Transaction + let transaction = await instance.update(indexUnderTest, 'Updated Test Condition Text 2', 'Updated Test Compare 2', 202, { + from: accounts[0] + }); + + //assert the event emitted + truffleAssert.eventEmitted(transaction, 'LogUpdateMasterListingCondition', (ev) => { + return ev.currentIndex == indexUnderTest && + ev.conditionText == 'Updated Test Condition Text 2' && + ev.compare == 'Updated Test Compare 2' && + ev.value == 202; + }); + + //Get the Value back to test + let updatedConditionText = await instance.getConditionTextAtIndex.call(indexUnderTest); + let updatedCompare = await instance.getCompareAtIndex.call(indexUnderTest); + let updatedValue = await instance.getValueAtIndex.call(indexUnderTest); + + //Assert the Values + assert.equal(updatedConditionText, 'Updated Test Condition Text 2'); + assert.equal(updatedCompare, 'Updated Test Compare 2'); + assert.equal(updatedValue, 202); + }); + + it("update on non-existing record should throw error", async () => { + let instance = await MasterListingCondition.deployed(); + + //assert the revert + await truffleAssert.reverts( + instance.update(99, 'Updated Test Condition Text 2', 'Updated Test Compare 2', 202, { + from: accounts[0] + }) + ); + }); + + it("deleteMasterListingCondition should delete", async () => { + let instance = await MasterListingCondition.deployed(); + let indexUnderTest = 0; + + let countBeforeDelete = await instance.getCount.call(); + + //Insert as Transaction + let transaction = await instance.deleteMasterListingCondition(indexUnderTest, { + from: accounts[0] + }); + + //assert the event emitted + truffleAssert.eventEmitted(transaction, 'LogDeleteMasterListingCondition', (ev) => { + return ev.currentIndex == indexUnderTest; + }); + + //assert the revert + await truffleAssert.reverts( + instance.getAtIndex.call(countBeforeDelete) + ); + }); + + it("deleteMasterListingCondition on non-existing record should throw error", async () => { + let instance = await MasterListingCondition.deployed(); + + //assert the revert + await truffleAssert.reverts( + instance.deleteMasterListingCondition(21, { + from: accounts[0] + }) + ); + }); + + it("deleteAll should delete all and getCount = 0", async () => { + let instance = await MasterListingCondition.deployed(); + //Insert as Transaction + let transaction = await instance.deleteAll({ + from: accounts[0] + }); + //Get the Value back to test + let value = await instance.getCount.call(); + + //Assert the Values + assert.equal(value, 0); + }); + + + it("getAtIndex on non-existing record should throw error", async () => { + let instance = await MasterListingCondition.deployed(); + + //assert the revert + await truffleAssert.reverts( + instance.getAtIndex.call(33) + ); + }); + + it("getConditionTextAtIndex on non-existing record should throw error", async () => { + let instance = await MasterListingCondition.deployed(); + + //assert the revert + await truffleAssert.reverts( + instance.getConditionTextAtIndex.call(33) + ); + }); + + it("getCompareAtIndex on non-existing record should throw error", async () => { + let instance = await MasterListingCondition.deployed(); + + //assert the revert + await truffleAssert.reverts( + instance.getCompareAtIndex.call(33) + ); + }); + + it("getValueAtIndex on non-existing record should throw error", async () => { + let instance = await MasterListingCondition.deployed(); + //assert the revert + await truffleAssert.reverts( + instance.getValueAtIndex.call(33) + ); + }); + + it("getStatusAtIndex on non-existing record should throw error", async () => { + let instance = await MasterListingCondition.deployed(); + //assert the revert + await truffleAssert.reverts( + instance.getStatusAtIndex.call(33) + ); + }); +}) \ No newline at end of file