```\\nfunction checkSaleType() external view returns (SaleType activeSale) {\\n    if (block.timestamp < defaultSaleStartTime) {\\n        return SaleType.NotStarted;\\n    } else if (\\n        (block.timestamp >= defaultSaleStartTime) &&\\n        (block.timestamp <\\n            defaultSaleStartTime + DEFAULT_INITIAL_PUBLIC_SALE)\\n    ) {\\n        return SaleType.FirstPublicMint;\\n    } else if (\\n        (block.timestamp >=\\n            defaultSaleStartTime + DEFAULT_INITIAL_PUBLIC_SALE) &&\\n        (block.timestamp < defaultSaleStartTime + DEFAULT_PIXELMINT_SALE)\\n    ) {\\n        return SaleType.PixelMint;\\n    } else if (\\n        (block.timestamp >=\\n            defaultSaleStartTime + DEFAULT_PIXELMINT_SALE) &&\\n        (block.timestamp < defaultSaleStartTime + DEFAULT_PILLMINT_SALE)\\n    ) {\\n        return SaleType.PillMint;\\n    } else if (\\n        (block.timestamp >= defaultSaleStartTime + DEFAULT_PILLMINT_SALE) &&\\n        (block.timestamp < defaultSaleStartTime + DEFAULT_TEAMMINT_SALE)\\n    ) {\\n        return SaleType.TeamMint;\\n    } else if (\\n        (block.timestamp >= defaultSaleStartTime + DEFAULT_TEAMMINT_SALE)\\n    ) {\\n        return SaleType.LastPublicMint;\\n    }\\n}\\n```\\n