mediumInteger overflow/underflowEVM-Solidity
TraitForge: Imprecise token age calculation results in an incorrect nuke factor, causing users to claim the wrong amount
- Payout
- $0
- Protocol
- TraitForge
- Disclosed
- Sep 13, 2024
- Source
- code4rena
TraitForge's NukeFund.calculateAge() computes a token's age by integer-dividing the elapsed lifetime by seconds-per-day before multiplying by the performance factor and age multiplier. Because Solidity division truncates to whole days, tokens younger than a da …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-07-traitforge-findings/issues/223
- https://github.com/code-423n4/2024-07-traitforge-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.