feat: resolve pr comments

This commit is contained in:
royvardhan
2025-01-30 18:07:07 +05:30
parent a50c31203b
commit 1b8bf56c75
5 changed files with 18 additions and 18 deletions

View File

@@ -1,10 +1,10 @@
use alloy_primitives::Address;
use tycho_core::Bytes;
use crate::encoding::{errors::EncodingError, models::Solution};
#[allow(dead_code)]
pub trait StrategyEncoder {
fn encode_strategy(&self, to_encode: Solution) -> Result<(Vec<u8>, Address), EncodingError>;
fn encode_strategy(&self, to_encode: Solution) -> Result<(Vec<u8>, Bytes), EncodingError>;
fn selector(&self, exact_out: bool) -> &str;
}