Skip to content

serbyy/presale-pool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

To start the presale pool send a transaction to deploy the contract.

Once the contract is live, anyone can send eth to the contract address and they will be included in the pool. As long as the pool remains open anyone can decide to take their funds out of the pool by sending 0 eth to the contract address. You must send the eth from the same address you deposited the funds originally.

Only the contract creator can close the pool. The pool can be closed in two ways:

  1. Allow all deposits in the pool to go through
  2. Allow only deposits from a vetted list of addresses to go through

To close the pool you will also need to supply the address of the pre-sale ICO wallet where the funds will be delivered.

After the ICO is finished, I assume the tokens will be payed out to the address of the contract. At this point the contract creator needs to set the address of the new token contract. Once the address is set, everyone who participated in the pool will be able to withdraw their tokens by sending 0 eth to the contract address.

About

A smart contract for ICO presales

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%