The old contract's code: https://bscscan.com/address/0x40B165Fd5dDc75ad0bDDc9ADd0adAbff5431a975#code
- Ownership Module - transferable ownership, renouncable, owner only calls
- Reward holders (redistribution of fee) - ExcludeFromReward / IncludeInReward / ExcludeFromFee / IncludeInFee
- Receive ETH & ERC20 tokens
- Total supply 100 millions instead of 100 trillions (remove 6 zeros from price -> allows readable price and conversion with other cryptos on exchanges)
- 18 decimals instead of 9 (allows us to not decrease the granularity of our token while decreasing its supply)
- Transfer funds stuck in contract to owner address instead. (withdrawERC20, withdrawETH)
- MaxFeeVariable (we should cap the fee because dextools show an ugly warning telling users "Looks like the owner can set a high fee like 100%", and no need to be able to do that imo, so I set it to 15%)
- Function to claim $MEMES from old contract
- Pausable transfers feature (This will ONLY be used during an emergency or future migration to protect holders. Giving a new layer of protection in some cases)
- Removed unused code (dev fee)
- Removed liquidity fee feature
- Removed SafeMath (obsolete library in 0.8 solidity)
- Removed deliver function
- Fixed require message in includeInReward function
- Fixed syntax inconsistencies (a lot of random tabs/spaces + different use of syntax all over the code + functions defined in random order)
- Updated allowances functions to their lastest implementation
- Updated to latest version of Solidity (0.8.13)
- Added documentation