mediumLogic errorEVM-Solidity
Gondi: Function `addNewTranche()` should use `protocolFee` from `Loan` struct
- Payout
- $0
- Protocol
- Gondi
- Disclosed
- Jul 25, 2024
- Source
- code4rena
Gondi's addNewTranche() renegotiation-fee path computed the fee using the global, admin-updatable protocolFee.fraction, whereas the same fee had been snapshotted into the Loan struct at origination. Whenever the protocol fee changed between loan inception and …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-04-gondi-findings/issues/65
- https://github.com/code-423n4/2024-04-gondi-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.