(&self)
| 271 | } |
| 272 | |
| 273 | pub fn default_pool_code(&self) -> B256 { |
| 274 | match self.chain_id { |
| 275 | 100 => B256::new(liquidity_sources::uniswap_v2::HONEYSWAP_INIT), |
| 276 | _ => B256::new(liquidity_sources::uniswap_v2::UNISWAP_INIT), |
| 277 | } |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | /// Resolve a router with the canonical UniswapV2 ABI for the current chain. |