Increasing Price Crowdsale

Good evening

The contract (IncreasingPriceCrowdsale.sol) allows to have the functionality of a gradual price increase. My question is: is there a way to increase the price on certain dates? for example, every 5 days the price increases. Can this be done? Could you share an example with me?

Thank you very much.

1 Like

Hi @jeissoni,

Yes you can create price increases on certain dates.

You could take the ideas from IncreasingPriceCrowdsale, extend Crowdsale and in a getCurrentRate function specify the rate after specific times.

The Crowdsales documentation can be found here: https://docs.openzeppelin.com/contracts/2.x/crowdsales

Hi @jeissoni,

Let me know if you have any questions.