ethhub-io / ethhub

The essential Ethereum information hub.
https://www.ethhub.io
Other
865 stars 582 forks source link

How to add a max limit on the burn function with solidity? #514

Open descartes2100 opened 3 years ago

descartes2100 commented 3 years ago

How to add a max limit on the burn function with solidity? Actually accumulating the max amount of tokens and triggering the burn function as soon as the max amount reaches? That is, the fee is paid by the end user who reaches the limit. We don't want this situation to happen, what can we do alternatively? Can you help me? Thank you.