When creating a multicurve auction, users should specify a tail position from maxCurve to infinity.
We should go through all of the examples in the repository and ensure they're up to date.
eg. https://github.com/whetstoneresearch/doppler-sdk/blob/main/examples/multicurve-rehype-by-marketcap.ts
.withCurves({
numerairePrice: ethPriceUsd,
curves: [
{
marketCap: { start: 500_000, end: 1_500_000 }, // $500k - $1.5M
numPositions: 10,
shares: parseEther('0.3'), // 30%
},
{
marketCap: { start: 1_000_000, end: 5_000_000 }, // $1M - $5M
numPositions: 15,
shares: parseEther('0.4'), // 40%
},
{
marketCap: { start: 4_000_000, end: 50_000_000 }, // $4M - $50M
numPositions: 10,
shares: parseEther('0.3'), // 30%
},
],
Should be
.withCurves({
numerairePrice: ethPriceUsd,
curves: [
{
marketCap: { start: 500_000, end: 1_500_000 }, // $500k - $1.5M
numPositions: 10,
shares: parseEther('0.3'), // 30%
},
{
marketCap: { start: 1_000_000, end: 5_000_000 }, // $1M - $5M
numPositions: 15,
shares: parseEther('0.4'), // 40%
},
{
marketCap: { start: 4_000_000, end: 50_000_000 }, // $4M - $50M
numPositions: 10,
shares: parseEther('0.3'), // 29%
},
{
marketCap: { start: 50_000_000, end: infinity }, // <--- replace with the appropriate keyword
numPositions: 10,
shares: parseEther('0.01'), // 1%
},
],
When creating a multicurve auction, users should specify a tail position from maxCurve to infinity.
We should go through all of the examples in the repository and ensure they're up to date.
eg. https://github.com/whetstoneresearch/doppler-sdk/blob/main/examples/multicurve-rehype-by-marketcap.ts
Should be