Bonding Curves

Math behind the curve.

y=a(xbc+(xb)2+1)y = a*(\cfrac{x-b}{\sqrt{c + (x-b)^2}} +1)
uint256 private a = 150000000000000;     // a = fix_price / 2
uint256 private b = 400000000;           // b = 0
uint256 private c = 20000000000000000;   // c = 0
The Nth Token
Price(ETH)

1

0.0000085786438

100000

0.0000085825734

1000000

0.0000086180587

10000000

0.0000089849613

100000000

0.00001431989494

400000000

0.00015

800000000

0.00029142135623

Last updated