-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
See https://github.com/sparkdotfi/spark-alm-controller/blob/dev/src/MainnetController.sol and e.g. https://github.com/sparkdotfi/spark-alm-controller/blob/dev/src/libraries/CurveLib.sol.
The ALM proxy holds the funds and can batch arbitrary calls as seen in CurveLib
.
Our equivalent would be interacting with AggregatorRouter
, settling debts first and then calling swap / add (or approve BPT and remove).
We have:
- simple hop swaps
- multi hop swaps (this category includes wrapping / unwrapping to trade through boosted pools using underlying tokens for example)
- simple add / remove
- boosted add / remove (i.e. add / remove to a boosted pool with underlying liquidity)
We can start working on simple and multi hop swaps using the current aggregator router (it will be refactored with #1424 and #1425, but the interface should be the same).
Metadata
Metadata
Assignees
Labels
No labels