decode_sync#

API documentation for tradingstrategy.direct_feed.uniswap_v2.decode_sync Python function.

decode_sync(log)[source]#

Process sync event.

This function does manually optimised high speed decoding of the event.

The event signature is:

event Sync(uint112 reserve0, uint112 reserve1);
Parameters:

log (LogResult) –

Return type:

dict