Commit Graph

161 Commits

Author SHA1 Message Date
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
Diana Carvalho
6e67875821 feat: Add StrategySelector
This way the user could be able to extend this easily
2025-01-16 17:17:52 +00:00
Diana Carvalho
647f697ea2 chore: Refactor models:
- Delete min_checked_amount and use check_amount instead
- Use Bytes and not Address in interfaces
- Move router_address from Solution to Order
2025-01-16 17:17:52 +00:00
Diana Carvalho
5d79da44f3 feat: Add permit2 draft 2025-01-16 17:17:52 +00:00
Diana Carvalho
fa462ee9f3 feat: Handle native actions 2025-01-16 17:17:52 +00:00
Diana Carvalho
36fe8f4b76 feat: Initial draft of encoding module 2025-01-16 17:17:50 +00:00
semantic-release-bot
4711794e4d chore(release): 1.0.0 [skip ci]
## 1.0.0 (2025-01-16)

### Features

* Add Cargo files, CI, configs and README ([c27b253](c27b253ef5))

### Bug Fixes

* Add temporary main function to lib.rs ([1e54ea0](1e54ea045e))
2025-01-16 17:14:10 +00:00
dianacarvalho1
ab5e830da0 Merge pull request #2 from propeller-heads/dc/setup-repo
feat: Add Cargo files, CI, configs and README
2025-01-16 17:10:32 +00:00
Diana Carvalho
1e54ea045e fix: Add temporary main function to lib.rs 2025-01-16 14:47:55 +00:00
Diana Carvalho
c27b253ef5 feat: Add Cargo files, CI, configs and README 2025-01-16 12:53:28 +00:00
dianacarvalho1
a2784be122 Initial commit 2025-01-13 11:28:27 +00:00