The protocol allows the owner to burn an amount of tokens, however, during the flow it moves the whole protocol balance to the owner.
When the amount to burn is a subset of the total balance, the protocol is left without funds to distribute to users.
Likelihood: High
The issue occurs every time the owner burns an amount.
Impact: Medium
The protocol transfers the funds to the admin account so funds are recoverable, however, users will experience service unavailable until it is noticed.
The following test proves the issue:
The scenario tries to burn half of the contracts balance with the rest remaining in the contract, however, the requested amount is burned and the rest are transferred to the owner.
It is recommended to transfer the amount to burn instead of the whole amount.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.