Skip to content

📊 Token Sale smart contracts for exchange any ERC20 token to stored ERC20. With the ability to specify a white list and several tokens for which the sale is carried out.

License

Notifications You must be signed in to change notification settings

galtproject/whitelisted-tokensale

Repository files navigation

Whitelisted ERC20 TokenSale Contracts (@whitelisted-tokensale)

@whitelisted-tokensale is a set of Ethereum smart contracts for the sale of ERC20 tokens for others ERC20 tokens with specific rates.

Smart contracts have Administrators and Managers roles. These roles are designed to:

  • manage the whitelist of customers;
  • add and remove ERC20 tokens for which sale is carried out;
  • define exchange rates;
  • set a wallet where tokens received from the sale will be sent;
  • pause tokens sale if necessary.

🚧 @whitelisted-tokensale stage: 🎉Ethereum Mainnet🎉

💣 Security review status: At the moment, @whitelisted-tokensale contracts are deployed on the Ethereum mainnet. Nonetheless it is still experimental software that has not yet been publicly audited. Use it on your own risk!

Features

  • many Tokensale can use one Registry smart contract to check customers to be in whitelist;
  • rates settings with possibility to define 1/1, 2/1, 1/2 or any other value;
  • instant sending received fund to defined wallet;
  • admins and Managers roles for parameter management of Tokensale and Registry;
  • ability to pause Tokensale by admins;
  • simple and flexible onchain customers and tokens lists logic by using EnumerableSet by OpenZeppelin.

Usage

  • make cleanup - remove solidity build artifacts
  • make compile - compile solidity files, executes make cleanup before compilation
  • make test - run tests
  • make lint - run solidity and javascript linters

For more information check out Makefile

About

📊 Token Sale smart contracts for exchange any ERC20 token to stored ERC20. With the ability to specify a white list and several tokens for which the sale is carried out.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published