When the LiquidtyAdded
event is emitted in the TSwapPool::_addLiquidityMintAndTransfer
, it logs values in the incorrect order. The poolTokensToDeposit
value should go to the 3rd parameter position, whereas the wethToDeposit
should go to 2nd.
The emit emission is incorrect, causing off-chain functions potentially malfunctioning.
Manual review, Foundry.
Perform the following modifications:
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.