Submitted by 0xRajeev
The Deposit event uses the function parameter amount instead of the convertedWadAmount which is what is used to update the users position and TVL because it prevents any dust deposited in amount. This will also make it consistent with the emit event in the withdraw function.
The impact is that theDeposit event amount reflects the value with dust while the user position does not. This may lead to confusion.
Recommend using uint256(convertedWadAmount) instead of amount in Deposit event.
raymogg (Tracer) confirmed
