Openzeppelin-contracts: Pre sale contract

Created on 24 Jan 2018  路  6Comments  路  Source: OpenZeppelin/openzeppelin-contracts

How can we create a pre sale contract using openZeppelin and it will be very helpful if any example is available on github ?

feature

Most helpful comment

@frangio any progress on this issue?

Is it reasonable to add CrowdsaleStage.sol? Crowdsale should include one or many CrowdsaleStages

All 6 comments

Hi @agri9394!

A pre-sale contract sounds like a good fit for OpenZeppelin. I think we should reformulate it more generically as a Crowdsale with different stages.

I agree with @frangio on this one. Setting up as multi-round crowdsale is probably the best option. The only downside is that you will need to know the allocation percentages for the presale round and the general round at time of deployment

@frangio any progress on this issue?

Is it reasonable to add CrowdsaleStage.sol? Crowdsale should include one or many CrowdsaleStages

No one has started development of this yet AFAIK.

Naive version of the CrowdsaleWithPresale contract: https://gist.github.com/troggy/8287b1c714f951e0da7fd27ebf842e5b

There was some discussion about a Crowdsale that had multiple stages with different rates in https://github.com/OpenZeppelin/openzeppelin-solidity/pull/1072, but it ended up abandoned due to a lack of interest. Closing this for similar reasons.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LogvinovLeon picture LogvinovLeon  路  4Comments

mswezey23 picture mswezey23  路  4Comments

xiaoyao1991 picture xiaoyao1991  路  3Comments

shrugs picture shrugs  路  4Comments

spalladino picture spalladino  路  4Comments