Parameters of the bonding curves
Last updated
Last updated
© 2023 Collection. All rights reserved
We maintain four parameters for the bonding curve.
Do note that the difference between props and state is just a convention for the curves that we have, and is not enforced for custom curves - someone could easily make props the stateful variable and state the static variable.
Variables | Intent of variable usage | DataType | Limited Data Storage? |
---|---|---|---|
Delta
Static - Changed by user only when you want to change the hyperparameters of pricing function
uint128
Limited
SpotPrice
Stateful - Changed by the pool automatically on each trade
uint128
Limited
Props
Static - Changed by user only when you want to change the hyperparameters of pricing function
bytes
Unlimited
State
Stateful - Changed by the pool automatically on each trade
bytes
Unlimited