OUSD inherits from ERC20, but redefines the allowances
and _totalSupply
state variables.
As a result, access to these variables can lead to returning different values.
Remove the shadowed variables (_allowances
and _totalSupply
) in OUSD.
- ToB Audit Origin Dollar Finding 16
- Undefined Behavior
- Inheritance
- Variable Shaodwing
- Remove Shadowed Variables