Rebasing Token and Fee on Transfer Issues in Sablier Flow
A rebasing token is one where the token supply (and thus user balances) automatically adjusts (increases or decreases) periodically. Common examples include:
Ampleforth (AMPL): Rebases every 24 hours
OHM: Rebases every 8 hours
AAVE staking tokens: Continuous positive rebase.
Balance Tracking Discrepancy
// What happens during a positive rebase:
Initial deposit: 100 tokens
After 10%
rebase: Contract has 110 tokens
Tracked balance: Still shows 100 tokens
// Result: 10 tokens unaccounted for or lost
Similar argument can be made for fee on transfer tokens like safemoon, RFI tokens and even USDT on some chains.
Incorrect accounting tracking and states for rebase tokens and fee on transfer tokens.
Manual Review
Track nominal and actual balances separately. Implement rebase detection mechanisms. Use safety margins for withdrawals
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.