pat0contracttoken
market
price
market cap
fully diluted
liquidity
volume 24h
trades 24h
holders
change 24h
docs3 of 14
pat0the machine
the marginal price

the price of the next token is the reciprocal of the slope of the supply function:

p(e) = (S + e)³ / ( 2 × K × S² )

at position zero this is 7 629 394 531 250 wei per token. at position S it is eight times that. at 3S it is sixty four times. the price grows with the cube of depth, so the second half of supply is far more expensive than the first, and the last sixteenth is more expensive than everything before it combined.

price by the cube
02125121 0241 5362 0483 0724 09664×512×e = 512e = 1536p(0) = 7 629 394 531 250 weip(512) = 8 p(0)p(1536) = 64 p(0)p(3584) = 512 p(0)
marginal price against position, ruled in multiples of the opening price. the marker shows the live curve price.

the contract's form

the contract does not evaluate p. it evaluates q twice, before and after the curve entry, and issues the difference. the difference is exact to the base unit because the two evaluations each round down once. the view function state returns a curve price for display, computed as the cube of S plus position over twice 33 554 432 times S squared, in wei per whole token.

worked mint
v= 1 000 000 000 000 000 000pressure= 0c= 1 000 000 000 000 000 000r= 0E= 0S + E= 512 000 000 000 000 000 000before= 0S + E + c= 513 000 000 000 000 000 000(S+E+c)²= 263 169 000 000 000 000 000 000 000 000 000 000 000 000K × S²= 8 796 093 022 208 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000after= 130 688 997 564 302 786 422 413issued= 130 688 997 564 302 786 422 413
one eth at the opening, exact to the base unit.