Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: medium
Invalid

No Checks in place for zero setTaxRateIncrement

Summary

Failure to check for zero setTaxRateIncrementLimit

Vulnerability Details

The function setTaxRateIncrementLimit takes in limit argument. There are checks in place to ensure that the setTaxRateIncrementLimit is not set above BASE_INCREMENT_LIMIT, BUT there is no check in place to prevent setTaxRateIncrementLimit from being set to zero.

Impact

If the setTaxRateIncrementLimit is set to zero, the protocol will generate no fees on token transfers and burns

Tools Used

Manual Review

Recommendations

There should be checks in place to prevent setting the setTaxRateIncrementLimit from being to zero

Updates

Lead Judging Commences

inallhonesty Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.