Now I'm creating an ICO contract according to the ERC standard and I need to create several sales periods. For example. The first period. Duration - 2 weeks. The cost of the token is (N) ETH. The second period. 3 days. The cost of the token N ether. Etc. How can this be done? Or give a link to a ready-made contract. Thanks.