All reports
highLogic errorOther

Opus: `convert_to_yang_helper()` loss precision

Payout
$0
Protocol
Opus
Disclosed
Mar 8, 2024
Source
code4rena

Opus's Cairo gate contract computes user deposit shares in `convert_to_yang_helper()` by multiplying the raw (non-18-decimal) asset amount by `total_yang` inside an 18-decimal Wad normalization before the final division by total assets. For assets with fewer t …

Similar reports

  • No close matches yet.

References

This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.