Core Contracts

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

Fee-on-Transfer tokens cause accounting errors in the Treasury.sol.

Summary

Fee-on-Transfer tokens cause accounting errors in the Treasury.sol.

Vulnerability Details

Fee-on-Transfer tokens cause accounting errors in the Treasury contract.

For example, in deposit(), the actual received token amount is not verified, leading to a situation where the received amount is less than the specified amount.

https://github.com/Cyfrin/2025-02-raac/blob/main/contracts/core/collectors/Treasury.sol#L46

Updates

Lead Judging Commences

inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Treasury::deposit increments _balances[token] with amount, not taking FoT or rebasing into account

Support

FAQs

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

Give us feedback!