Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.07 KB

OUSD total supply can be arbitrary, even smaller than user balances.md

File metadata and controls

27 lines (23 loc) · 1.07 KB

The OUSD token contract allows users to opt out of rebasing effects.

At that point, their exchange rate is “fixed”, and further rebases will not have an impact on token balances (until the user opts in).

Recommendation:

Short term, we would advise making clear all common invariant violations for users and other stakeholders. Long term, we would recommend designing the system in such a way to preserve as many commonplace invariants as possible.


Slide Screenshot

041.jpg


Slide Text

  • ToB Audit Origin Dollar Finding 23
  • Data Validation
  • High Severity
  • Total Supply < Balances
  • Optional Rebasing
  • Specify Invariants
  • Prevent Violations

References


Tags