decode_swap Documentation for eth_defi.uniswap_v3.events.decode_swap function. decode_swap(log)[source] Process swap event. The event signature is: event Swap( address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick ); Parameters log (eth_defi.event_reader.logresult.LogResult) – Return type dict