Hey everyone, does anyone have an example contract where there is a max capacity per wallet (a wallet cant buy or hold above certain amount) or is that not possible to impose via solidity?

May 24, 2021, 7:30 PM
Sure it is. You need to calculate whether the buy amount is >= totalSupply / 100 and check the current balance of the user and calculate it again with an if else on both totalUpply and difference.
This is basic programming lol
May 25, 2021, 6:11 AM

© 2024 Draquery.com All rights reserved.