CFMM Rediscovery
Coincidence?
Last updated
Coincidence?
Last updated
If we view the Derivio's aforementioned model in another way, by denoting the final long payout as x, the final short payout as y, and rearranging our formula, we would have:
Surprisingly, this is a constant-function market maker (CFMM) hidden behind the scene! Notice that which is a constant.
A CFMM is a market maker with the property that the amount of any asset held in its inventory is completely described by a well-defined function of the amounts of the other assets in its inventory. Its variants are commonly used as a price discovery tool in numerous on-chain exchange models. By giving traders the right to move the price on the curve through trading activities, the model could guarantee instant liquidity without distorting the price feed.
The regularization constant , can be thought of as the initial liquidity added to both sides of the CFMM curve. When , the pool has no liquidity, meaning any open orders can push the price to either 0 or infinity. By introducing , the pool can provide some liquidity into the model at a fair price of 0.5, to be adjusted by traders. Similar to the vanilla CFMM model, the higher the value of , the less market impact traders will have.
Ultimately, the integral / Riemann sum, representing the Time-Weighted Average Payout discovered over the entire trading period in the CFMM model, mitigates any adverse impact on user experience from rapid fluctuations. This ensures a fair execution environment for all traders, and could also reduce the harm of any potential oracle manipulation events.
The long-short ratio floor value is depicted in the figure above as the flattened section of the CFMM curve beyond the green normal range. As you can see, the curve deviates from the hyperbola and becomes linear beyond the green ranges, and the impact of trader is thus slightly reduced. By capping the payout curve within reasonable ranges, traders are able to determine the fair pricing of options without any unexpected fluctuations.