Closed vbaranov closed 6 years ago
For the 2nd tier. If I enable whiteliste, Continue
button remains disabled. It's checking minCap
validity:
Also, if 1st tier minCap
has a value, after enabling whitelist for the second tier... first tier minCap is set to 0
(zero)
Field minCap is always empty. Possible cause could be that getCurrentTierInfo().tier_min returns value in tokens, not in wei.
Parameters: 1 tier, minCap, no whitelist, not modifiable. I used lastest .env
https://github.com/poanetwork/token-wizard/blob/874209ae06233b4c1de4b54c44717ca557795013/.env.example#L1
Manage page: whitelist container presents if duration_is_modifiable = true, whitelist_enabled = false
Parameters: 1 tier, minCap, no whitelist, modifiable. I used lastest .env
https://github.com/poanetwork/token-wizard/blob/874209ae06233b4c1de4b54c44717ca557795013/.env.example#L1
@dennis00010011b the PR is for deployment step mainly. @fernandomg will continue changes for management page in frames of https://github.com/poanetwork/token-wizard/issues/961
@fernandomg fixed. Please take a look.
@dennis00010011b nevertheless I fixed this
Field minCap is always empty. Possible cause could be that getCurrentTierInfo().tier_min returns value in tokens, not in wei.
@dennis00010011b @fernandomg are there any issues except problems with management page? there are a lot of changes in this PR. Next PRs will depend on it. I suggest to adjust management page for new interface of Auth-os in a separate PR.
@vbaranov
@vbaranov
@vbaranov 1 .I created crowdsale with 2 tiers, 3 tiers were initializated . Extra tier is created.
Reverted transactions https://ropsten.etherscan.io/tx/0xdc540591c97bb7e1649266203cf80c6a781e04880cfa33cb44b329105b7b9738
https://ropsten.etherscan.io/tx/0x5f6cdc875c1517e079d4f057a3394a67eaa4fb32da24f41788bc26369caa5864
https://ropsten.etherscan.io/tx/0x3c96a1dea47e45117df1f960094f207b91b2e4aa8c94c9aca2b7a19bde814bed
https://ropsten.etherscan.io/tx/0x98f4ec93e595b51ff2d55d44237b3aaaeabf41906081c79691af5b3c55af07f0
ExecID 0x8d7046af0a7b8d23d3c71a45ddda222621610146f0c097aa2269420941e2d53e, Ropsten
@dennis00010011b
- I can’t create multitier crowdsale. Transaction failed during deployment.
- minCap initialization incorrect: if mincap=12 on Step3 then minCap =12 in contracts and minCap =0,000000000000000012 tokens for investors
- If allowModify is enabled (duration_is_modifiable=true) then any address is not allowed to buy
Fixed
1 .I created crowdsale with 2 tiers, 3 tiers were initializated . Extra tier is created.
Please post exec-id here.
- I still can't create crowdsale with 3 and more tiers.
I can't reproduce this. Is any error in Chrome dev console? Could you post the link to failed tx?
1 .I created crowdsale with 2 tiers, 3 tiers were initializated . Extra tier is created.
- I still can't create crowdsale with 3 and more tiers.
I reproduced both. It is not broken with this PR. These are issues with Auth-os.
- I created crowdsale with 2 tiers, 3 tiers were initializated . Extra tier is created.
This is also fixed. Function logic to add tiers was changed from Auth-os side.
- I still can't create crowdsale with 3 and more tiers.
It looks like a bug from Auth-os side.
I will merge this PR.
Closes https://github.com/poanetwork/token-wizard/issues/962