Curve V1 notes

Curve V1 equation a curve that is in between constant sum and constant product A parameter controls how flat this curve B1 curb is. Use Newton's method to find x,y,D all of the stable swap contracts will have five functions that are common: exchange add_liquidity remove_liquidity remove_liquidity_imbalance remove liquidity_one_coin

Mar 15, 2025 - 16:16
 0
Curve V1 notes

Curve V1 equation

Image description

a curve that is in between constant sum and constant product

A parameter controls how flat this curve B1 curb is.

Use Newton's method to find x,y,D

all of the stable swap contracts will have five functions that are common:

  1. exchange
  2. add_liquidity
  3. remove_liquidity
  4. remove_liquidity_imbalance
  5. remove liquidity_one_coin