if (currentEra < firstPublicEra) {
    require(nft.balanceOf(msg.sender) > 0, "You need NFT to participate in the sale.");
}
