When the LiquidityAdded
event is emitted in the TSwapPool::_addLiquidityMintAndTransfer
function, it logs values in an incorrect order. The poolTokensToDeposit
value should go in the third parameter position, whereas the wethToDeposit
value should go second.
Event emission is incorrect, leading to off-chain function potentially malfunctioning.
Manual review
Make the following changes in TSwapPool
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.