mediumLogic errorEVM-Solidity
Coded Estate: Use of `u64` for `price_per_day` and `price_per_month` limits handling tokens with 18 decimals
- Payout
- $0
- Protocol
- Coded Estate
- Disclosed
- Dec 4, 2024
- Source
- code4rena
Coded Estate stores the daily and monthly rental prices for listed properties as u64 in both the message enums and the handler functions. Because u64 maxes out around 1.84e19, any pricing in an 18-decimal token is capped at roughly 18 whole tokens, whereas tok …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-10-coded-estate-findings/issues/29
- https://github.com/code-423n4/2024-10-coded-estate-findings
This report is already public and closed. CoinBuggie never publishes active or unpatched vulnerability data.