mediumLogic errorEVM-Solidity
Rubicon: Calling `Position._marketBuy` and `Position._marketSell` functions that calculate `_fee` by dividing by `10000` can cause incorrect calculations
- Payout
- $0
- Protocol
- Rubicon
- Disclosed
- Feb 17, 2025
- Source
- code4rena
Rubicon's Position helper contract computes expected trading fees using 10000 as the divisor in `_marketBuy` and `_marketSell`, while the underlying `RubiconMarket.buy` engine levies its fee by dividing by 100_000. Because the two denominators disagree by a fa …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2023-04-rubicon-findings/issues/903
- https://github.com/code-423n4/2023-04-rubicon-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.