The DexSwapStrategy library lacks event emissions for swap executions in the executeSwapExactInputSingle function. This omission makes it difficult to track and monitor DEX swap transactions off-chain.
In DexSwapStrategy.sol, the executeSwapExactInputSingle function executes critical DEX swaps but does not emit any events to log these operations:
No on-chain logging of swap executions
Difficulty in tracking individual swap operations
Limited ability to monitor swap amounts and tokens involved
Challenges in building effective swap monitoring tools and dashboards
Reduced transparency for auditing purposes
The function performs a critical swap operation through a DEX adapter:
Takes a SwapExactInputSinglePayload with swap parameters
Executes the swap through the DEX adapter
Returns the output amount
No events are emitted to track this operation
Manual review
Add an event to track swap executions:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.