Dodoexchange PMM: DODO's Price Curves
DODO's Proactive Market Maker (PMM) prices assets through curves that can respond to token inventory. The guide price provides a reference, while curve settings govern how prices change as liquidity is consumed. The pool model and contract version determine which pricing rules apply.
- PMM contract families
- DODO V1, V2, and V3 use PMM. DODO AMM V2 and AMM V3 are separate AMM-based contract families.
Guide price and inventory
-
Guide price (
i) - The reference price used to position a pool's pricing curve. Its source and update rules depend on the pool model.
-
Slippage coefficient (
k) - A parameter that controls the curve's price sensitivity. For the pegged, single-token, and private setup options described in DODO's pool-creation tutorial, smaller values produce lower slippage and greater market depth, with other settings held constant.
DODO V2 can quote a constant price at k = 0 while the guide price is unchanged and liquidity remains available. With a nonzero slippage coefficient and other curve settings unchanged, purchases that reduce an asset's inventory raise its quoted pool price. A purchase that consumes liquidity at progressively higher prices can therefore have an average execution price above the price at which it began.
The guide price and slippage coefficient describe different parts of that behavior. Changing the reference price changes where the curve is positioned; changing its sensitivity affects how strongly prices respond as inventory is consumed.
Price controls by pool model
- Standard-pool model
-
DODO's pool-creation tutorial describes an oracle-driven midpoint maintained through Chainlink, with the curve resetting when the oracle price changes. That description also says DODO's multisignature administrator can modify
kand the trading fee rate in the standard model. - Pegged pools
-
The curve concentrates liquidity at a configured exchange ratio. The setup allows a manually entered ratio when
Fixed ratio at current priceis unchecked. The tutorial states that pegged-pool parameters cannot be changed once set. - Single-token pools
-
The model can begin with only the sell-side token. Its initial price is the minimum price of that model's curve, and purchases move along the curve to higher prices when the slippage coefficient is nonzero. The documented combination of
k = 1and a very small guide priceimakes the single-token curve behave approximately like a conventional AMM. - Private pools
- Only the pool creator can provide liquidity, and the creator can modify pool parameters after creation. The initial settings therefore do not establish a permanently fixed curve.
How does a deposit ratio set the starting price?
DODO's documented standard-pool setup determines the initial price from the buy-side and sell-side liquidity when
Fixed ratio at current price
is unchecked.
For a hypothetical setup with that option unchecked, assume sell-side liquidity of 1848 DODO and buy-side liquidity of 462 USDC. These amounts are illustrative deposits.
Initial price = buy-side liquidity / sell-side liquidity = 462 USDC / 1848 DODO = 0.25 USDC per DODO.
The result is an initial price reference expressed in USDC per DODO. Increasing the hypothetical USDC deposit while keeping the DODO deposit fixed raises that starting ratio; increasing the DODO deposit while keeping USDC fixed lowers it.
The ratio does not determine the average execution price for every later trade size, because trading moves through the pool's curve. An opening price that differs from the prevailing market price also exposes the pool to arbitrage.
V3 bid and ask curves
DODO V3 separates its bid and ask curves. Consuming liquidity on one side does not automatically move the opposite curve to replenish it; each side follows PMM independently.
A strategy provider can also set a truncated price, allowing the curve to operate within a chosen price range, with no liquidity beyond that range. The multi-asset model uses VUSD, a virtual USD intermediary, to connect the bid and ask curves of actual tokens. This permits exchanges between tokens within the pool.
These mechanisms belong to PMM-based DODO V3. DODO AMM V3 uses a separate concentrated-liquidity AMM design, so the version number alone does not identify a pool's pricing mechanism.
Pool prices, routing, and liquidity exposure
SmartTrade handles route selection across liquidity sources on the same network. Its routes can involve DODO pools and other protocols, so a routed swap quote can reflect more than one pool's pricing mechanism. PMM explains pricing within a pool; it does not describe the entire aggregation process.
PMM is designed to improve capital use and reduce asset-rebalancing losses. Liquidity providers still face market risk as asset prices and pool inventories change. A curve configuration does not establish a fixed return for a liquidity position.