Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICO example on Ethereum

MyToken properties

  • initial supply 1mil
  • ERC20 token
  • owner of contract will own the entire supply

Crowdsale properties

  • has a rate of 1 token / 1 ETH
  • capped at 100 eth (non-zero value transactions will be reverted if cap is exceeded)
  • only accepts whitelisted addresses (must invoke addToWhitelist)
  • the funds are stored in a separate wallet and allocations are stored in a mapping
  • the owner can manually invoke finalize() and finish the sale when the cap is practically reached.
  • once finalized, the users can call the claimTokens function to withdraw their tokens.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages