mediumInteger overflow/underflowEVM-Solidity
Canto: Loss of precission when calculating the accumulated CANTO per share
- Payout
- $0
- Protocol
- Canto
- Disclosed
- Feb 7, 2024
- Source
- code4rena
Canto's LendingLedger.update_market accumulates per-share CANTO rewards for each lending market, but the reward accumulation expression divides by 1e18 in the cantoReward computation and then multiplies by 1e18 again in the accCantoPerShare update, causing int …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-01-canto-findings/issues/8
- https://github.com/code-423n4/2024-01-canto-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.