What does the amount0In log mean in this case?
In addition, there is sometimes a mismatch between the AmounOut in the log, and the amount of token that is transferred to the next step in the route. In example 2, the amount transferred is 8755596609890 (log_index 146), while the amount_out is 9216417484093 (log_index 148).
In a lot of cases (over 6 million since inception), the UniswapV2Pair swap event is emitted with both Amount0In and Amount0Out greater than zero.
Examples:
What does the amount0In log mean in this case? In addition, there is sometimes a mismatch between the AmounOut in the log, and the amount of token that is transferred to the next step in the route. In example 2, the amount transferred is 8755596609890 (log_index 146), while the amount_out is 9216417484093 (log_index 148).
Is there a bug in the logging mechanism?