Currently there is no functioning pool with stable coins on Ref or in NEAR Ecosystem.
This is a proposal to add a stable coin pool, that follows Stable Coin Swap paper by Curve.
There are few design choices need to be made.
- Multi pool or a pair pools:
- to implement directly N-pool or more specifically 3-pool for DAI/USDC/USDT
- or to implement 2 token pool
Curve supports withdrawing single coin vs pair of coins. Implementing this will mean that
withdraw_liquiditywill have different semantics vs
There is also separate consideration if this should be a separate project, though creation and maintainance of community, frontend and other import parts make that not as valuable. Though code will be open source, so anyone adventures enough can take it and spin up a separate project.
The benefit of doing a separate contract vs adding a new pool type into Ref would actually be in the fact that can immediately get the c token for this pool that works with current standards. Compared if it’s inside Ref, the support of multi tokens standard is still in progress.