0x4a78ef4e…ca76sent to0x467d66b9…4bf7·#24,901,344·view on Etherscan
Implement anti-snipe launch protection. For the first 50 blocks after liquidity is added to the DEX pair, apply a 99% buy tax that decays by 2% per block until reaching the normal rate. This prevents bot sniping at launch. After block 50, normal tax rates apply. Additionally, for the first 200 blocks, cap max buy per transaction at 0.5% of total supply and max wallet holding at 1.5% of total supply. After block 200, increase max wallet to 3% of total supply permanently. Any transfer that would push a wallet above the cap reverts (exclude LP pair and contract addresses). Track deployBlock in COMMUNITY_STATE set once when liquidity is first added. Add views: getCurrentBuyTax(), getMaxWalletCap(), getMaxBuyAmount(), blocksUntilFullOpen(). Emit AntiSnipeActive(uint256 currentTax, uint256 blockNumber) on each protected buy. This ensures fair distribution at launch.