Skip to content

Commit ea8e4da

Browse files
committed
chore: migration of version v0.27.1-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:289: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, 0.26.0, 0.27.0 Replacing Migrations... ... 0x90bc47f4be7b44f1c552166960157dd272075bff3e01d2f65f1a7d2835a6f0a1 Migrations: 0xf340d2dc37779b35a30ab5b604ed455226c10637 Didn't deploy Wallets; using 0x9fa6140daae59eb93e02ca0972ebb375efe803fb Saving successful migration to network... ... 0x39175a3b00263543cfd90b2658796fac9a32873823f6dbac4f65c050b3fa03df Saving artifacts... Running migration: 2_token.js Running step... Replacing WTokenStub... ... 0xf552c17e174471118ca6df27a99df4797d5a6c9e4b085c9983ee726143d9483f WTokenStub: 0xd81220c55421bd1f539ae4520c54b1b7e7ca9d7e Didn't deploy WTokenTestHelper; using 0xd29d17008b9f032d5c758fbe70301ff7b0b3f796 Saving successful migration to network... ... 0xcedcf0afdcc0496925302c3c1d7bf7ebbae54b08b837eac2ec45e9ecc1e1ba6e Saving artifacts... Running migration: 3_rates.js Running step... skip deploying Rates.sol, deployed address: 0x8c7aee0da71e31241e537c8d68a878a65d27e386 Saving successful migration to network... ... 0xb5171725fdeb84dbfa19af656ae4f94e10c3d11ea76230b9fc051acbde857b96 Saving artifacts... Running migration: 4_factory.js Running step... Replacing Percent... ... 0x63e8b33eaffc2bb32baa346e6dac785e6962a36590f59f183de1481232f82f1a Percent: 0x0b4828a3e62b5ae0029d86d76fa68887ea9748ec Replacing Utils... ... 0xdf70226c98727d7e1fc7f0096fac4039bac814817334ff263a66d60b218ae97c Utils: 0x3a1732ce8e94619c9daf43a86323077ce770b9f4 Replacing FundAccount... ... 0x6c8fa13dd3731658d0dd8a0c57156579052352399b98c94279b3e6104206c087 FundAccount: 0x2fe4ce4bcaf46c1fd0772f6ec0f13b5eff901a89 Running step... Replacing W12FundFactory... ... 0x45f31ef61ed213e97d4be32194919e05fa6889d66d30217e29335e5821538dae W12FundFactory: 0x0b198991e51e68eb29ff2111e0cb3485792e3eb0 Replacing W12CrowdsaleFactory... ... 0xc68f95c26c76c873536d950998173327030df5afb53cbcd17e1959a14c0c2657 W12CrowdsaleFactory: 0x126386a647851d6419bd5afae5cd563f66b99f10 Saving successful migration to network... ... 0x0dfd3bb667625179d66edb22a7102a15c8da07000879015cc0c8cfa3fecdb4bb Saving artifacts... Running migration: 5_lister.js Running step... Replacing TokenExchanger... ... 0x46849dfc7b185deae38a4c0f342bb57c9ac0d48c6326f6d74108fe070cffab7a TokenExchanger: 0xf4310692eb32aa42b9ed180a115787c20b219ac2 Replacing W12ListerStub... ... 0xb5bd608233aef72ab00f4780c13286a1e862ca0fdd7fcbf568c39fc76539532a W12ListerStub: 0x45cef5dca9b7c5e25abd9879409a71cedb1a81f9 ... 0xf504ca51b628874ec47849927f7b2500c5fbfef4492b310708c66d8ae21c6d86 ... 0x11673881b941cf126feaee36cb86757668d62bf6775035aa3f505aca33c2a38c Saving successful migration to network... ... 0x5a3a4a8b3fb44a0fa3f9a917aaaa4ab842138bd7764520a7571e29a59074c086 Saving artifacts... MIGRATION: Network Rinkeby VersionsLedger - 0x1bfac5dc3c39af592cad1c19579354961ffa85ce Migrations - 0xf340d2dc37779b35a30ab5b604ed455226c10637 Wallets - 0x9fa6140daae59eb93e02ca0972ebb375efe803fb WTokenStub - 0xd81220c55421bd1f539ae4520c54b1b7e7ca9d7e WTokenTestHelper - 0xd29d17008b9f032d5c758fbe70301ff7b0b3f796 Percent - 0x0b4828a3e62b5ae0029d86d76fa68887ea9748ec W12FundFactory - 0x0b198991e51e68eb29ff2111e0cb3485792e3eb0 W12CrowdsaleFactory - 0x126386a647851d6419bd5afae5cd563f66b99f10 TokenExchanger - 0xf4310692eb32aa42b9ed180a115787c20b219ac2 W12ListerStub - 0x45cef5dca9b7c5e25abd9879409a71cedb1a81f9 Owner - 0x0360d0068f30f8952eccde246ab2a96fac889ffd Service wallet - 0x0360d0068f30f8952eccde246ab2a96fac889ffd
1 parent 1adc331 commit ea8e4da

File tree

106 files changed

+69873
-45617
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

+69873
-45617
lines changed

abi/0.27.1/BytesLib.json

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

abi/0.27.1/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)