Closed sherlock-admin2 closed 2 days ago
Merry Glass Kitten
Low/Info
LoanTokenStatusUpdated
The IPredictDotLoan::LoanTokenStatusUpdated event is declared but it is not emitted by any function.
IPredictDotLoan::LoanTokenStatusUpdated
In IPredictDotLoan.sol:123 declared an event called LoanTokenStatusUpdated but it is not emitted by any function in any contracts.
IPredictDotLoan.sol:123
https://github.com/sherlock-audit/2024-09-predict-fun/blob/main/predict-dot-loan/contracts/interfaces/IPredictDotLoan.sol#L123
No response
Check whether these events should be used and if not remove them
The protocol team fixed this issue in the following PRs/commits: https://github.com/PredictDotFun/predict-dot-loan/pull/31
Merry Glass Kitten
Low/Info
Unused event
LoanTokenStatusUpdated
Summary
The
IPredictDotLoan::LoanTokenStatusUpdated
event is declared but it is not emitted by any function.Root Cause
In
IPredictDotLoan.sol:123
declared an event calledLoanTokenStatusUpdated
but it is not emitted by any function in any contracts.https://github.com/sherlock-audit/2024-09-predict-fun/blob/main/predict-dot-loan/contracts/interfaces/IPredictDotLoan.sol#L123
Internal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
No response
PoC
No response
Mitigation
Check whether these events should be used and if not remove them