When the LiquidityAdded
event is emitted in the TSwapPool::_addLiquidityMintAndTransfer
function, it returns values in an incorrect order. The poolTokensToDeposit
value and the wethToDeposit
value should be swapped.
The event information is incorrect, this leads to wrong off-chain information being output and any off-chain services relying on this information to potentially break.
--Foundry
It is recommended to swap the order of the poolTokensToDeposit
and wethToDeposit
parameters.
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.