Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migration of version v0.26.0-alpha [ci skip]
LOG: Compiling ./contracts/Migrations.sol... Compiling ./contracts/W12Lister.sol... Compiling ./contracts/W12ListerStub.sol... Compiling ./contracts/crowdsale/IW12Crowdsale.sol... Compiling ./contracts/crowdsale/IW12Fund.sol... Compiling ./contracts/crowdsale/W12Crowdsale.sol... Compiling ./contracts/crowdsale/W12Fund.sol... Compiling ./contracts/crowdsale/factories/IW12CrowdsaleFactory.sol... Compiling ./contracts/crowdsale/factories/IW12FundFactory.sol... Compiling ./contracts/crowdsale/factories/W12CrowdsaleFactory.sol... Compiling ./contracts/crowdsale/factories/W12FundFactory.sol... Compiling ./contracts/libs/FundAccount.sol... Compiling ./contracts/libs/PaymentMethods.sol... Compiling ./contracts/libs/Percent.sol... Compiling ./contracts/libs/PercentMock.sol... Compiling ./contracts/libs/PurchaseProcessing.sol... Compiling ./contracts/libs/Utils.sol... Compiling ./contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol... Compiling ./contracts/mocks/crowdsale/W12CrowdsaleStub.sol... Compiling ./contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol... Compiling ./contracts/mocks/crowdsale/W12FundStub.sol... Compiling ./contracts/mocks/libs/PurchaseProcessing.sol... Compiling ./contracts/mocks/libs/Utils.sol... Compiling ./contracts/rates/IRates.sol... Compiling ./contracts/rates/ISymbols.sol... Compiling ./contracts/rates/Rates.sol... Compiling ./contracts/rates/Symbols.sol... Compiling ./contracts/rates/roles/IPricer.sol... Compiling ./contracts/rates/roles/Pricer.sol... Compiling ./contracts/token/IWToken.sol... Compiling ./contracts/token/WToken.sol... Compiling ./contracts/token/WTokenStub.sol... Compiling ./contracts/token/WTokenTestHelper.sol... Compiling ./contracts/token/exchanger/ITokenExchange.sol... Compiling ./contracts/token/exchanger/ITokenExchanger.sol... Compiling ./contracts/token/exchanger/ITokenLedger.sol... Compiling ./contracts/token/exchanger/TokenExchanger.sol... Compiling ./contracts/versioning/Versionable.sol... Compiling ./contracts/versioning/VersionsLedger.sol... Compiling ./contracts/wallets/IWallets.sol... Compiling ./contracts/wallets/Wallets.sol... Compiling openzeppelin-solidity/contracts/ReentrancyGuard.sol... Compiling openzeppelin-solidity/contracts/access/rbac/RBAC.sol... Compiling openzeppelin-solidity/contracts/access/rbac/Roles.sol... Compiling openzeppelin-solidity/contracts/math/SafeMath.sol... Compiling openzeppelin-solidity/contracts/ownership/Ownable.sol... Compiling openzeppelin-solidity/contracts/token/ERC20/DetailedERC20.sol... Compiling openzeppelin-solidity/contracts/token/ERC20/ERC20.sol... Compiling openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol... Compiling openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol... Compiling solidity-bytes-utils/contracts/BytesLib.sol... Compilation warnings encountered: /home/circleci/code/contracts/wallets/IWallets.sol:6:5: Warning: No visibility specified. Defaulting to "public". function setWallet(uint8 ID, address wallet); ^-------------------------------------------^ ,/home/circleci/code/contracts/token/WToken.sol:179:28: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function _addToVesting(address _from, address _to, uint256 _vestingTime, uint256 _amount) internal { ^-----------^ ,/home/circleci/code/contracts/libs/FundAccount.sol:35:5: Warning: No visibility specified. Defaulting to "public". function symbolsList(Account storage _account) view returns(bytes32[]) { ^ (Relevant source part starts here and spans across multiple lines). ,/home/circleci/code/contracts/crowdsale/W12Fund.sol:162:14: Warning: Unused local variable. (,,, uint32 lastWithdrawalWindow,,) = crowdsale.getMilestone(lastIndex); ^-------------------------^ ,/home/circleci/code/contracts/crowdsale/W12Fund.sol:167:36: Warning: Unused local variable. ( , uint tranchePercent, , uint32 withdrawalWindow, , ) = crowdsale.getMilestone(index); ^---------------------^ ,/home/circleci/code/contracts/crowdsale/W12Fund.sol:333:22: Warning: Unused local variable. (uint index, bool found) = crowdsale.getCurrentMilestoneIndex(); ^--------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:11:27: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setCrowdsale(IW12Crowdsale _crowdsale) external {} ^----------------------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:13:31: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setServiceWallet(address _serviceWallet) external {} ^--------------------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:15:22: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setSwap(address _swap) external {} ^-----------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:17:32: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function transferOwnership(address newOwner) external {} ^--------------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:33:28: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setParameters(uint price) external {} ^--------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:36:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint[6][] parametersOfStages, ^--------------------------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:37:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint[] bonusConditionsOfStages, ^----------------------------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:38:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint[4][] parametersOfMilestones, ^------------------------------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:39:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint32[] nameAndDescriptionsOffsetOfMilestones, ^--------------------------------------------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:40:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. bytes nameAndDescriptionsOfMilestones, ^-----------------------------------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:41:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. bytes32[] paymentMethodsList ^--------------------------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:74:23: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getStage(uint index) external view returns (uint32, uint32, uint, uint32, uint[], uint[]) {} ^--------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:96:60: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getCurrentStageIndex() external view returns (uint index, bool found) {} ^--------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:96:72: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getCurrentStageIndex() external view returns (uint index, bool found) {} ^--------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:98:33: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getSaleVolumeBonus(uint value) external view returns (uint bonus) {} ^--------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:98:68: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getSaleVolumeBonus(uint value) external view returns (uint bonus) {} ^--------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:106:24: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function buyTokens(bytes32 method, uint amount) payable external {} ^------------^ ,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:106:40: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function buyTokens(bytes32 method, uint amount) payable external {} ^---------^ ,/home/circleci/code/contracts/wallets/Wallets.sol:16:5: Warning: No visibility specified. Defaulting to "public". function setWallet(uint8 ID, address wallet) onlyOwner { ^ (Relevant source part starts here and spans across multiple lines). ,/home/circleci/code/contracts/libs/PurchaseProcessing.sol:204:5: Warning: Function state mutability can be restricted to pure function getBonus(uint value, uint[] volumeBoundaries, uint[] volumeBonuses) internal view returns(uint bonus) { ^ (Relevant source part starts here and spans across multiple lines). ,/home/circleci/code/contracts/mocks/libs/PurchaseProcessing.sol:7:5: Warning: Function state mutability can be restricted to pure function checkInvoiceInput( ^ (Relevant source part starts here and spans across multiple lines). ,/home/circleci/code/contracts/mocks/libs/PurchaseProcessing.sol:55:5: Warning: Function state mutability can be restricted to pure function fee(uint tokenAmount, uint cost, uint tokenFee, uint purchaseFee) public view returns(uint[2]) { ^ (Relevant source part starts here and spans across multiple lines). Writing artifacts to ./build/contracts Using network 'test'. Running migration: 1_migration_manager.js Running step... Didn't deploy VersionsLedger; using 0x1bfac5dc3c39af592cad1c19579354961ffa85ce deployed versions: 0.20.5, 0.21.3, 0.23.2 Replacing Migrations... ... 0xbf3f22108899a0baa2766dbf9c3d13ca2ef3e5dbf089d3c70fc11f3bdc4519e9 Migrations: 0x27d0e7fd32ad935fdc95bb9fb64c9ea462c7fbda Deploying Wallets... ... 0x9186c3e4f138bc2fc619fdc42381275172b77b72856809fc516974bd66ea8cb6 Wallets: 0x9fa6140daae59eb93e02ca0972ebb375efe803fb Saving successful migration to network... ... 0x30c6740548262a3ccec006aa6e38b21bd320493199eca6b656db4229baa2f415 Saving artifacts... Running migration: 2_token.js Running step... Replacing WTokenStub... ... 0xe3f9d9c314f1ed7d0914324449def7b6481eea19667a295f7e8de379fae52cbf WTokenStub: 0x9344c375dce0b91a30465b3df41ddd423a86f313 Didn't deploy WTokenTestHelper; using 0xd29d17008b9f032d5c758fbe70301ff7b0b3f796 Saving successful migration to network... ... 0xd17d05fe209e1422c07be08ccf5766680e018cdef4d8178811938c54e36bcfd5 Saving artifacts... Running migration: 3_rates.js Running step... Deploying Rates... ... 0x98db79c97d80475faa4d1b963277c8c64d3657e63b9fbf822bce06884569fdf8 Rates: 0x8c7aee0da71e31241e537c8d68a878a65d27e386 Saving successful migration to network... ... 0xd5ea2d62cb968a134861acdb21251acbaaf436b2fde28fdb2b7979a7d597481e Saving artifacts... Running migration: 4_factory.js Running step... Replacing Percent... ... 0xab2d0134fe33f3627d7a5f45db27eaa6e23c63e4e8c9a7c0697d9277e5b9a09a Percent: 0xd6429c58c604e696d68544add46d2c7bcdfdcae4 Deploying Utils... ... 0x48022b6f03dbd38fea064a209fa3b36f27248d619c9d004eb1d865f6cab41194 Utils: 0xff9744d4a6369c1c737a10ab912fd1b7d22018f9 Deploying FundAccount... ... 0xe639a68f9994c15d003388ed2fa5ea265164ddde4937cbcdc5d82fbf627e88a0 FundAccount: 0x4adffa67c9560ecb80b9016527c9529992c3870b Running step... Replacing W12FundFactory... ... 0x837dd0b911a3f534db9d4e8ebef8dc2f95f1f75351bd467a9778b99afe0beed8 W12FundFactory: 0xa1b22be5b855d51f7db442ade4f95bd1c2c9619a Replacing W12CrowdsaleFactory... ... 0xf4831e2ef72122dc437f8feeaa1850e4551c465d2e842f4f0a27943763738082 W12CrowdsaleFactory: 0x1af5e4791c17a6475576274ac45930100fbbf5d2 Saving successful migration to network... ... 0xf930f1aaf7959bcdbe185e9d5c18b93881bbccedc57ff1e69e0a24069ad5d0ef Saving artifacts... Running migration: 5_lister.js Running step... Replacing TokenExchanger... ... 0x671f357ae4681d682e96b7335bb52277f422ab257d6cdb6bb092cfd9112d85e3 TokenExchanger: 0x1a0bf4758906e9233347d8e98f5ae3368f1e6a47 Deploying W12Lister... ... 0xb330575a6cd8890193ab290c7148ca912f739d818ab8d180f9042639766661b1 W12Lister: 0x8adb10b4877052d03d8ac37c6a69ba5c316cee99 ... 0x8b4add13d5b6b818ee415be09c1ce93057cbefe7d9fed1596bc595cb80487534 ... 0x72feca2c4d499e6dd157b48a3fc496da22bc437370317847a2a4398c1cef347c Saving successful migration to network... ... 0xe751c7736cf143373acf934f02c13f9a7021f104b94fa58436b05f59c0596232 Saving artifacts... MIGRATION: Network Rinkeby VersionsLedger - 0x1bfac5dc3c39af592cad1c19579354961ffa85ce Migrations - 0x27d0e7fd32ad935fdc95bb9fb64c9ea462c7fbda Wallets - 0x9fa6140daae59eb93e02ca0972ebb375efe803fb WTokenStub - 0x9344c375dce0b91a30465b3df41ddd423a86f313 WTokenTestHelper - 0xd29d17008b9f032d5c758fbe70301ff7b0b3f796 Percent - 0xd6429c58c604e696d68544add46d2c7bcdfdcae4 W12FundFactory - 0xa1b22be5b855d51f7db442ade4f95bd1c2c9619a W12CrowdsaleFactory - 0x1af5e4791c17a6475576274ac45930100fbbf5d2 TokenExchanger - 0x1a0bf4758906e9233347d8e98f5ae3368f1e6a47 W12Lister - 0x8adb10b4877052d03d8ac37c6a69ba5c316cee99 Owner - 0x0360d0068f30f8952eccde246ab2a96fac889ffd Service wallet - 0x0360d0068f30f8952eccde246ab2a96fac889ffd
- Loading branch information