Incorrect order of logged value in an event, can affect offchain functionality of protocol.
TSwapPool
has an event LiquidityAdded
, But it's used incorrectly at the moment. Currently the value that should be in the second position (wethToDeposit) is being used at third position, While the value that should be used in third position (poolTokensToDeposit) is being used at second position.
Emitting events in wrong order, can heavily impact the off chain setup if used by dapps.
Manual Review
Reverse the position of 2nd and 3rd value to make it accurate.
Example is given below -
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.