feat: Simplify StrategyEncoders and RouterEncoder

No more SingleSwapStrategyEncoder or SequentialStrategyEncoder
No more batch routing (so no need for batch permits as well). If multiple solutions are found, return multiple Transactions

--- don't change below this line ---
ENG-4076 <#DTT#>
This commit is contained in:
Diana Carvalho
2025-01-17 16:21:26 +00:00
parent b07cb9bc76
commit 38b8bb0e78
9 changed files with 26 additions and 186 deletions

View File

@@ -78,12 +78,3 @@ pub struct EncodingContext {
pub exact_out: bool,
pub address_for_approvals: Bytes,
}
#[allow(dead_code)]
pub enum ActionType {
SingleExactIn = 1,
SingleExactOut = 2,
SequentialExactIn = 3,
SequentialExactOut = 4,
SplitIn = 5,
}