| position | supply q(e) | share of K | curve price | multiple of p(0) |
|---|---|---|---|---|
| 0 eth | 0.00 | 0.00% | 7 629 394 531 250 | 1.000× |
| 64 eth | 7 042 288 | 20.98% | 10 862 946 510 314 | 1.424× |
| 128 eth | 12 079 595 | 36.00% | 14 901 161 193 847 | 1.953× |
| 212 eth | 16 773 631 | 49.98% | 21 572 272 089 542 | 2.828× |
| 256 eth | 18 641 351 | 55.55% | 25 749 206 542 968 | 3.375× |
| 512 eth | 25 165 824 | 75.00% | 61 035 156 250 000 | 8.000× |
| 768 eth | 28 185 722 | 84.00% | 119 209 289 550 781 | 15.625× |
| 1 024 eth | 29 826 161 | 88.88% | 205 993 652 343 750 | 27.000× |
| 1 536 eth | 31 457 280 | 93.75% | 488 281 250 000 000 | 64.000× |
| 2 048 eth | 32 212 254 | 96.00% | 953 674 316 406 250 | 125.000× |
| 3 072 eth | 32 869 647 | 97.95% | 2 616 882 324 218 750 | 343.000× |
| 4 096 eth | 33 140 179 | 98.76% | 5 561 828 613 281 250 | 729.000× |
supply is a function of position. position is the running total of eth that has ever entered the curve. the function is K times one minus S squared over the square of S plus position. K is 33 554 432 tokens. S is 512 eth. the function starts at zero, reaches half of K a little past 212 eth, three quarters of K at exactly 512 eth, and fifteen sixteenths at 1 536 eth. it never reaches K.
differentiate supply with respect to position and invert it and you get the marginal price: the cube of S plus position, over twice K times S squared. at position zero that is 7 629 394 531 250 wei per token. at 512 eth it is eight times that. at 1 536 eth it is sixty four times. the price of the next token is a cubic in the depth of the curve, which is a steeper law than the square used by most curves of this shape and a much steeper law than a constant product pool.
the contract never evaluates a square root, a logarithm, or an exponential. a mint computes supply before and supply after with one full precision multiply and divide each, rounded down, and issues the difference. the site reproduces that arithmetic in bigint and the worked mint plate prints every intermediate. the twelve positions table is the same code evaluated at twelve points.
book is the cistern divided by supply. with zero pressure and no burns, book at a position is that position's eth over that position's supply, and it always sits under the marginal price because the marginal price is the price of the last token while book averages every token that came before it. pressure pushes book up further, because surcharge eth enters the cistern without tokens. burns push book up further still, because the fee stays. the gap between the amber line and the blue line on the plate is the region a burn can never reach into.