poanetwork / token-wizard

(Discontinued) TokenWizard is an DApp to create and manage crowdsale and token contracts using a simple UI
MIT License
386 stars 215 forks source link

(Fix) Make tiers duration continuous #898

Closed fernandomg closed 6 years ago

fernandomg commented 6 years ago

Closes #873

This change will prevent startTime edition for the second and following tiers in stepThree

Also manage page preserve tiers durations after endTime modification. As a result, if one endTime is modified all the following tiers will have theirs start/endTime modified accordingly, and only one tx will be required for the change.

Actually, this can be summarized as one tx per ~endTime~ tier's duration modified

dennis00010011b commented 6 years ago

@fernandomg @vbaranov

screen shot 2018-05-22 at 08 35 00

Crowdsale parameters: 1 tier, duration 5 min, mincap=5, supply = 20, rate =1000, 2 reserved, no whitelist, decimals =18

fernandomg commented 6 years ago

I can't finalize crowdsale after end time. Button 'Finalize' is disabled. Exec ID: 0xa7879f1b0884ed5168b9f0a2c509798aa774c45b09eadd329e921f780b6f783e Network: Ropsten

@dennis00010011b great catch! fixed.