feat: Tycho encoder validation

Validates:
- Proper sequence of input, output, and first/last swap tokens for wrap/unwrap cases
- All solutions contain at least one swap
- Only exact in solutions are inputted (since we don't yet support exact out)
This commit is contained in:
TAMARA LIPOWSKI
2025-01-31 17:21:18 -05:00
parent 9d32291c97
commit 4bc615913e
4 changed files with 289 additions and 14 deletions

View File

@@ -1,4 +1,5 @@
pub mod approvals;
mod constants;
mod models;
mod strategy_encoder;
mod swap_encoder;