Skip to content

Commit 06d921e

Browse files
committed
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
1 parent b334c49 commit 06d921e

File tree

106 files changed

+146842
-59138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+146842
-59138
lines changed

abi/0.26.0/BytesLib.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"contractName": "BytesLib",
3+
"abi": []
4+
}

abi/0.26.0/DetailedERC20.json

+239
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,239 @@
1+
{
2+
"contractName": "DetailedERC20",
3+
"abi": [
4+
{
5+
"constant": true,
6+
"inputs": [],
7+
"name": "name",
8+
"outputs": [
9+
{
10+
"name": "",
11+
"type": "string"
12+
}
13+
],
14+
"payable": false,
15+
"stateMutability": "view",
16+
"type": "function"
17+
},
18+
{
19+
"constant": false,
20+
"inputs": [
21+
{
22+
"name": "_spender",
23+
"type": "address"
24+
},
25+
{
26+
"name": "_value",
27+
"type": "uint256"
28+
}
29+
],
30+
"name": "approve",
31+
"outputs": [
32+
{
33+
"name": "",
34+
"type": "bool"
35+
}
36+
],
37+
"payable": false,
38+
"stateMutability": "nonpayable",
39+
"type": "function"
40+
},
41+
{
42+
"constant": true,
43+
"inputs": [],
44+
"name": "totalSupply",
45+
"outputs": [
46+
{
47+
"name": "",
48+
"type": "uint256"
49+
}
50+
],
51+
"payable": false,
52+
"stateMutability": "view",
53+
"type": "function"
54+
},
55+
{
56+
"constant": false,
57+
"inputs": [
58+
{
59+
"name": "_from",
60+
"type": "address"
61+
},
62+
{
63+
"name": "_to",
64+
"type": "address"
65+
},
66+
{
67+
"name": "_value",
68+
"type": "uint256"
69+
}
70+
],
71+
"name": "transferFrom",
72+
"outputs": [
73+
{
74+
"name": "",
75+
"type": "bool"
76+
}
77+
],
78+
"payable": false,
79+
"stateMutability": "nonpayable",
80+
"type": "function"
81+
},
82+
{
83+
"constant": true,
84+
"inputs": [],
85+
"name": "decimals",
86+
"outputs": [
87+
{
88+
"name": "",
89+
"type": "uint8"
90+
}
91+
],
92+
"payable": false,
93+
"stateMutability": "view",
94+
"type": "function"
95+
},
96+
{
97+
"constant": true,
98+
"inputs": [
99+
{
100+
"name": "_who",
101+
"type": "address"
102+
}
103+
],
104+
"name": "balanceOf",
105+
"outputs": [
106+
{
107+
"name": "",
108+
"type": "uint256"
109+
}
110+
],
111+
"payable": false,
112+
"stateMutability": "view",
113+
"type": "function"
114+
},
115+
{
116+
"constant": true,
117+
"inputs": [],
118+
"name": "symbol",
119+
"outputs": [
120+
{
121+
"name": "",
122+
"type": "string"
123+
}
124+
],
125+
"payable": false,
126+
"stateMutability": "view",
127+
"type": "function"
128+
},
129+
{
130+
"constant": false,
131+
"inputs": [
132+
{
133+
"name": "_to",
134+
"type": "address"
135+
},
136+
{
137+
"name": "_value",
138+
"type": "uint256"
139+
}
140+
],
141+
"name": "transfer",
142+
"outputs": [
143+
{
144+
"name": "",
145+
"type": "bool"
146+
}
147+
],
148+
"payable": false,
149+
"stateMutability": "nonpayable",
150+
"type": "function"
151+
},
152+
{
153+
"constant": true,
154+
"inputs": [
155+
{
156+
"name": "_owner",
157+
"type": "address"
158+
},
159+
{
160+
"name": "_spender",
161+
"type": "address"
162+
}
163+
],
164+
"name": "allowance",
165+
"outputs": [
166+
{
167+
"name": "",
168+
"type": "uint256"
169+
}
170+
],
171+
"payable": false,
172+
"stateMutability": "view",
173+
"type": "function"
174+
},
175+
{
176+
"inputs": [
177+
{
178+
"name": "_name",
179+
"type": "string"
180+
},
181+
{
182+
"name": "_symbol",
183+
"type": "string"
184+
},
185+
{
186+
"name": "_decimals",
187+
"type": "uint8"
188+
}
189+
],
190+
"payable": false,
191+
"stateMutability": "nonpayable",
192+
"type": "constructor"
193+
},
194+
{
195+
"anonymous": false,
196+
"inputs": [
197+
{
198+
"indexed": true,
199+
"name": "owner",
200+
"type": "address"
201+
},
202+
{
203+
"indexed": true,
204+
"name": "spender",
205+
"type": "address"
206+
},
207+
{
208+
"indexed": false,
209+
"name": "value",
210+
"type": "uint256"
211+
}
212+
],
213+
"name": "Approval",
214+
"type": "event"
215+
},
216+
{
217+
"anonymous": false,
218+
"inputs": [
219+
{
220+
"indexed": true,
221+
"name": "from",
222+
"type": "address"
223+
},
224+
{
225+
"indexed": true,
226+
"name": "to",
227+
"type": "address"
228+
},
229+
{
230+
"indexed": false,
231+
"name": "value",
232+
"type": "uint256"
233+
}
234+
],
235+
"name": "Transfer",
236+
"type": "event"
237+
}
238+
]
239+
}

0 commit comments

Comments
 (0)