0

I have successfully created my token and I have an automatic burn fee but I would like the burn fee to be automatically set to 0 once the minimum total supply has been reached and also prevent any further manual burn as the token is a very low supply token and I need only the minimum total supply in circulation after burning the allocation for burn.

1 Answer 1

1

Asssuming you’re programming one solidity, your burn function should use a require to ensure currentTotalSupply !<= minimumTotalSupply

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.