Creating a Crypto Factory Pool
The v2 Curve Factory now supports pools of assets with volatile prices, with no expectation of price stability.

Creating a Pool

The factory can be used to create a pool between any two ERC20 tokens. Based on trading activity in the pool, the v2 pools update an internal price oracle that the pool uses to rebalance itself.
If the pool is using wrapped Ethereum as one of the two assets, the pool will also support depositing raw ETH.


Crypto v2 pools contain a lot of parameters. If you are uncertain of which parameters to use, you may want to ask for help in any Curve channel before deploying. You can use this interactive tool to see how some of the parameters interact. Parameters can be tuned after the fact.
  • Amplification Parameter (A): [4,000 to 4,000,000,000] Larger value of A make the curve better resemble a straight line in the center (when pool is near balance). Highly volatile assets should use a lower value, while assets that are closer together may be best with a higher value.
  • Gamma: [.00000001 to .02] The gamma parameter can further adjust the shape of the curve. Default values recommend .000145 for volatile assets and .0001 for less volatile assets.
  • Mid Fee: [.005 to 100] Percentage. Fee when the pool is maximally balanced. This is the minimum fee. The fee is calculated as mid_fee * f + out_fee * (10^18 - f) as displayed above
  • Out Fee: [Mid Fee to 100] Fee when the pool is imbalanced. Must be larger than the Mid Fee and represents the maximum fee.
  • Allowed Extra Profit: [0 to .01] As the pool takes profit, the allowed extra profit parameter allows for greater values. Recommended 0.000002 for volatile assets and 0.00000001 for less volatile assets.
  • Fee Gamma: [0 to 1] Adjusts how fast the fee increases from Mid Fee to Out Fee. Lower values cause fees to increase faster with imbalance. Recommended value of .0023 for volatile assets and .005 for less volatile assets.
  • Adjustment Step: [0 to 1] As the pool rebalances, it will must do so in units larger than the adjustment step size. Volatile assets are suggested to use larger values (0.000146), while less volatile assets do not move as frequently and may use smaller step sizes (default 0.0000055)
  • Admin Fee: [0 to 100] A percentage, the fees that go to veCRV holders
  • MA Half Time [0 to 604,800] In seconds -- the price oracle uses an exponential moving average to dampen the effect of changes. This parameter adjusts the half life used.
  • Initial Price: [.000000000001 to 1,000,000,000,000] At time of deployment, divide price of token 1 by token 2
A more thorough reader on the parameters can be found here.
After deployment, make sure to create a gauge just like regular factory pools.
Copy link