I am developing an ICO contract that has a presale and main crowdsale event and I'm really new to this having experience of building only basic ICOs. I wanted to know what the best way would be to differentiate between those two because the investors would have different authorities based on when they invested on tokens.
During my google search I landed to the link below.
However, it was closed with no answer and I couldn't figure out what the best way to deal with it would be. Or How the contracts generally handle such events. Would it be by creating two different contracts or using different start and end times.