loom_strategy_backrun::affected_pools_code

Function is_pool_code

Source
pub fn is_pool_code(state_update: &GethStateUpdateVec) -> bool
Expand description

Check if the state update code contains code for a UniswapV2 pair or UniswapV3 pool by looking for method signatures.