TSwapPool::_addLiquidityMintAndTransfer
is emitting event incorrectly and swap the order of parameters in event.
The function _addLiquidityMintAndTransfer
is emitting event LiquidityAdded
with the wrong order of parameters. The event is emitted with the order of parameters as msg.sender, poolTokensToDeposit, wethToDeposit
but the correct order should be msg.sender, wethToDeposit, poolTokensToDeposit
.
This can lead to give the data wrong in off-chain systems
The event LiquidityAdded
is emitted with the wrong order of parameters. This can cause confusion for users and developers.
This can lead to give the data wrong in off-chain systems.
Manual review
Change the code by updating the order of parameters in event.
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.