Files
tycho-execution/src/encoding/mod.rs
Diana Carvalho 4991883fc8 feat: ApprovalsManager trait
Make Permit2 and TokenApprovalsManager implement it.
This way in the RouternEncoder we can use either one (I'm not exactly sure what this would mean in the contract though)

I'm not sure I like this generalisation. The TokenApprovalsManager was made with a different purpose: to approve token allowances for the pools (like balancer and curve) for our router
2025-01-16 17:18:09 +00:00

8 lines
121 B
Rust

mod approvals;
mod models;
mod router_encoder;
mod strategy_encoder;
mod strategy_selector;
mod swap_encoder;
mod utils;