Skip to content

A complete Solidity implementation of Curve Finance's StableSwap v1 AMM (3Pool: DAI/USDC/USDT) built with Foundry. Features the full StableSwap invariant, Newton's method solvers, dynamic amplification parameter, and comprehensive liquidity management with anti-bypass fee protection.

Notifications You must be signed in to change notification settings

Trynax/stableswap-3pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StableSwap 3Pool

A Solidity implementation of Curve Finance's StableSwap AMM with dynamic A parameter ramping, supporting DAI/USDC/USDT liquidity pools optimized for stablecoin trading with minimal slippage.

Features

  • StableSwap invariant for efficient stablecoin trading
  • Dynamic A parameter ramping for pool optimization
  • Multi-token liquidity provision (add/remove balanced, imbalanced, single-token)
  • Admin fee collection and management
  • Comprehensive view functions for UI integration

About

A complete Solidity implementation of Curve Finance's StableSwap v1 AMM (3Pool: DAI/USDC/USDT) built with Foundry. Features the full StableSwap invariant, Newton's method solvers, dynamic amplification parameter, and comprehensive liquidity management with anti-bypass fee protection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published