From 1656de8f8ca05cb2c0889942c7328019978f67c8 Mon Sep 17 00:00:00 2001 From: Eric Zhong Date: Fri, 23 Aug 2024 11:16:18 -0400 Subject: [PATCH] remove shared impl resolve --- crates/uniswapx-rs/src/order.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/crates/uniswapx-rs/src/order.rs b/crates/uniswapx-rs/src/order.rs index 9ec702e..e611479 100644 --- a/crates/uniswapx-rs/src/order.rs +++ b/crates/uniswapx-rs/src/order.rs @@ -93,13 +93,6 @@ pub enum Order { } impl Order { - pub fn resolve(&self, block_number: u64, timestamp: u64, priority_fee: Uint<256, 4>) -> OrderResolution { - match self { - Order::V2DutchOrder(order) => order.resolve(timestamp), - Order::PriorityOrder(order) => order.resolve(block_number, timestamp, priority_fee), - } - } - pub fn encode(&self) -> Vec { match self { Order::V2DutchOrder(order) => order.encode_inner(),