Open code423n4 opened 3 years ago
@cmichelio
Some events have no index:
BasicFDT.PointsCorrectionUpdated
BasicFDT.LossesCorrectionUpdated
ExtendedFDT.LossesCorrectionUpdated
StakeLocker.StakeDateUpdated
MapleTreasury.FundsTokenModified
Off-chain scripts that rely on these events are unable to filter them efficiently.
Add the missing indexes on the events or remove the events if they are not needed on the backend.
Informational, will address
Handle
@cmichelio
Vulnerability details
Vulnerability Details
Some events have no index:
BasicFDT.PointsCorrectionUpdated
BasicFDT.PointsCorrectionUpdated
BasicFDT.LossesCorrectionUpdated
ExtendedFDT.LossesCorrectionUpdated
StakeLocker.StakeDateUpdated
MapleTreasury.FundsTokenModified
is never usedImpact
Off-chain scripts that rely on these events are unable to filter them efficiently.
Recommended Mitigation Steps
Add the missing indexes on the events or remove the events if they are not needed on the backend.