feat: Add clone to EVMTychoEncoder
--- don't change below this line --- ENG-4088 Took 4 minutes Took 8 seconds Took 48 seconds
This commit is contained in:
@@ -16,6 +16,7 @@ pub trait StrategyEncoder {
|
||||
|
||||
#[allow(clippy::borrowed_box)]
|
||||
fn get_swap_encoder(&self, protocol_system: &str) -> Option<&Box<dyn SwapEncoder>>;
|
||||
fn clone_box(&self) -> Box<dyn StrategyEncoder>;
|
||||
}
|
||||
|
||||
/// Contains the supported strategies to encode a solution, and chooses the best strategy to encode
|
||||
|
||||
Reference in New Issue
Block a user