memoscan
← all memos

Memo 0x0777a3ed…ae48d7 on Ethereum

Add a 2% sell fee in _update on transfers to the LP pair address (within 10% total cap). Split the fee: 50% burned to address(0), 50% held in contract as reward pool. Add a permissionless distributeRewards() callable every 48 hours. It distributes the reward pool proportionally to all holders with balance > 10000 CMD. Use a simple snapshot: iterate top holders from an EnumerableSet updated on transfers. Cap eligible set at 500 addresses for gas safety. Emit RewardDistributed(uint256 totalAmount, uint256 holders). Add views: getRewardPool(), getNextDistributionTime(). Owner sets LP pair via setLPPair(address).