I was reading this article about Crowdsale.
Simply, 100 Tokens are to be minted. The author set 60% of tokens are distributed as public sale. To be more specific, 20 out of 60 tokens will be sold during
PreICO and 40 out of 60 will be sold during
As per rate,
PreICO, 1 ETH can buy 5 tokens, and
ICO, 1 ETH can buy 2 tokens.
PreICO has limit up to 4 ETH (4 ETH * 5 tokens = 20 tokens), and
ICO has limit up to 20 ETH (20 ETH * 2 tokens = 40 tokens).
So in total public sale will be capped at 24 ETH, which means investors should not be able to purchase more tokens when the
weiRaised reached 24 ETH.
However, the author set its hard cap at 500 ETH, but isn't it supposed to be capped at 24 ETH instead?