- Endorsements
- Segmenter Registry
- Dynamic Fees
Endorsements
Endorsements are signatures on swap transactions that reflect a claim of non-toxicity. Endorsements are provided by Segmenters that segment order flow based on its toxicity. Segmenters can be the frontend applications that originate the order flow.Order Flow Monetization
DFlow Swap API allows wallets to monetize order flow by capturing the relative tightening of the market to their specific order flow in the form of a dynamic platform fee.Segmenter Registry
The Segmenter Registry is a list of all segmenters that give out endorsements. The Segmenter Registry is used to track the performance of segmenters, and serve as a central point program for DEXs to discover segmenters.Dynamic Fees
Today, DEXs broadcast a single spread that swappers must pay when trading. The magnitude of the spread is proportional to the tolerance of adverse selection risk. The tighter the spread, the more order flow the DEX is asking for, and the more risk-tolerant the DEX is. The wider the spread, the more risk-averse at the expense of volume of order flow executed. Different types of order flow have different probabilities of adversely selecting the DEX. Order flow that is more likely to adversely select the DEX is known as toxic order flow, and order flow that is less likely to adversely select the DEX is known as non-toxic order flow. Conditional liquidity simply allows DEXs to charge a gradient of spreads for different types of order flow through introducing third party actors, known as segmenters.DEXs can get started with the Conditional Liquidity framework today by using the
Solana Conditional Liquidity crate.