Proactive Market Maker
DODO's oracle-informed AMM design that concentrates liquidity around external market prices for capital efficiency.
Proactive Market Maker (PMM) is DODO's innovative AMM algorithm that uses external price oracles (primarily Chainlink) to dynamically concentrate liquidity around current market prices rather than spreading it across infinite price ranges like traditional constant product formulas. By querying oracles for real-time prices and adjusting liquidity concentration accordingly, PMM achieves extremely high capital efficiency and minimal slippage for traders, but at the cost of introducing oracle dependency and reducing protocol decentralization.
The design represents a fundamental departure from pure AMM architectures like Uniswap where prices emerge organically from supply/demand within the pool itself. PMM acknowledges that external markets (centralized exchanges, other AMMs) establish price consensus, and rather than fighting this reality with math-only price discovery, leverages it to optimize liquidity placement. This pragmatic approach dramatically improves capital efficiency but creates the security tradeoff the article emphasizes: "efficiency versus trustlessness."
PMM Algorithm and Mechanics
The PMM bonding curve is dynamically centered around the oracle price. Unlike Uniswap's hyperbolic x*y=k curve or Curve's StableSwap that are fixed at deployment, PMM's curve continuously repositions as oracle prices update. If Chainlink reports ETH at $5,000, the PMM algorithm concentrates liquidity tightly around that price. When the oracle updates to $5,100, the curve shifts to center on the new price, maintaining capital efficiency.
The liquidity concentration parameter determines curve steepness. Higher concentration (more aggressive) creates flatter curves around the oracle price, enabling larger trades with minimal slippage but providing less protection against price movements. Lower concentration (more conservative) spreads liquidity wider, trading some slippage efficiency for better price range coverage. DODO allows pool creators to configure this parameter based on asset volatility and risk tolerance.
Price deviation handling becomes critical when oracle and pool prices diverge. If the pool's price differs significantly from the oracle (due to trading activity or oracle lag), PMM adjusts the curve to guide prices back toward the oracle value. This self-correcting mechanism works through asymmetric slippage—trades toward the oracle price experience lower slippage than trades away from it, incentivizing arbitrageurs to rebalance the pool toward oracle consensus.
PMM uses a flexible pricing formula rather than enforcing constant product: Price = Oracle_Price * (1 + k * (R_base / B_base - 1)), where k is the concentration parameter, R_base is current base token reserve, and B_base is the target base token amount at oracle price. This formula creates price movements proportional to how far the pool deviates from the oracle-implied ratio, with the k parameter controlling sensitivity.
Capital Efficiency Advantages
PMM achieves 10-100x capital efficiency compared to constant product AMMs for assets with reliable oracles. Because liquidity concentrates where trading actually occurs (around current market prices) rather than spreading from zero to infinity, the same capital provides much deeper liquidity for realistic trades. A $1M PMM pool can provide liquidity comparable to a $10-100M constant product pool, depending on concentration parameters.
This efficiency benefits both liquidity providers and traders. LPs earn fees on a higher percentage of their capital since most of it sits in active price ranges. Traders experience lower slippage on large orders since liquidity is concentrated rather than spread thin. The win-win scenario makes PMM attractive for assets where oracle reliability can be assured—primarily major cryptocurrencies and stablecoins.
Just-in-time liquidity becomes viable with PMM efficiency. LPs can provide liquidity to earn fees from anticipated large trades, then withdraw afterward without tying up capital long-term. The oracle-centered concentration means LPs face reduced impermanent loss risk compared to wide-range positions, as the pool tracks market prices closely rather than maintaining fixed ratios that lag during volatility.
Oracle Dependency and Security Risks
Price oracle manipulation represents PMM's fundamental vulnerability. If an attacker can manipulate the oracle, they control the PMM curve's center point, enabling extraction of all pool liquidity at favorable rates. Unlike pure AMMs where manipulation requires trading against the pool itself (expensive and detectable), oracle manipulation can instantly shift PMM pricing without any on-chain activity in the pool.
The article emphasizes this tradeoff: "DODO's security is inherently dependent on the integrity and reliability of the external oracle." Chainlink's decentralized oracle networks provide substantial security through aggregation of multiple data sources and cryptoeconomic guarantees, but they're not invulnerable. Historical incidents like the Venus Protocol exploit demonstrated how oracle manipulation can drain protocols, though Venus used different oracle infrastructure.
Stale oracle data creates arbitrage opportunities against PMM pools. If the oracle lags behind real market movements (due to update frequency, network congestion, or oracle node issues), the PMM pool's prices become outdated. Arbitrageurs exploit this by trading against the pool using current market prices while the pool operates on stale data. While not a permanent loss (the oracle eventually updates), this creates value leakage from LPs to arbitrageurs.
Oracle failure scenarios must be handled gracefully. If Chainlink feeds stop updating (due to network issues, node failures, or economic attacks on oracle infrastructure), PMM pools could freeze or operate on increasingly stale prices. Robust implementations include staleness checks that pause trading if oracle data is too old, but this introduces liveness failures—the pool becomes unusable exactly when market volatility is highest and oracles might struggle.
Comparing PMM to Other AMM Models
PMM occupies a middle ground between pure AMMs and centralized exchanges. Pure AMMs (Uniswap V1/V2) require no external inputs and derive prices purely from internal state, maximizing trustlessness but sacrificing capital efficiency. Centralized exchanges achieve maximum efficiency through order books but require complete trust. PMM splits the difference—retaining non-custodial, on-chain execution but depending on oracle infrastructure for pricing.
Uniswap V3's concentrated liquidity achieves similar capital efficiency to PMM but requires LPs to actively manage price ranges. PMM automates this management through oracle following, reducing LP complexity but introducing oracle risk. V3 LPs might achieve higher returns through skillful range selection, but PMM provides more passive, autopilot-like liquidity provision for LPs uncomfortable with active management.
Curve's StableSwap similarly achieves high capital efficiency but for a specific use case (pegged assets) without oracle dependency. Curve's amplification parameter creates efficient curves for assets expected at 1:1 prices through pure math, not oracle feeds. This makes Curve more trustless than PMM but limits it to correlated assets. PMM's flexibility enables efficient trading for any asset pair with reliable oracles.
Use Cases and Integration Patterns
New token launches benefit from PMM's capital efficiency. Projects can provide thin liquidity (e.g., $50k) that performs like much deeper pools, reducing capital requirements while enabling decent trading experiences. However, this requires reliable oracles for the new token—chicken-and-egg problem since oracles need sufficient liquidity to function reliably. DODO addresses this through partnerships with oracle providers to establish feeds for new assets.
Stablecoin swaps on PMM can compete with Curve despite Curve's specialization. PMM's oracle-centered approach provides comparably low slippage while supporting more asset pairs. If Chainlink provides reliable $1 price feeds for various stablecoins, PMM can efficiently swap between any of them. This challenges Curve's dominance in stable asset trading, though Curve's proven track record and trustlessness advantage maintain its market position.
Cross-chain trading integrates well with PMM architecture. Oracle feeds work across chains, so PMM pools on different networks can maintain consistent pricing. Projects can deploy PMM pools on Ethereum, Polygon, BSC, etc., with all pools following the same oracle feeds, creating coherent cross-chain liquidity without complex synchronization mechanisms.
Risk Mitigation and Best Practices
Diverse oracle sourcing is critical for PMM security. Relying on a single oracle provider creates single points of failure. DODO primarily uses Chainlink but could integrate multiple oracle sources (Chainlink, Band Protocol, API3) and use median pricing or trigger warnings when oracles disagree significantly. This redundancy increases implementation complexity but reduces oracle manipulation and failure risks.
Circuit breakers that pause trading when detecting anomalous conditions provide defense-in-depth. If the oracle price deviates more than X% from recent averages within Y time, or if the oracle hasn't updated in Z minutes, the pool could automatically pause trading pending manual review. This prevents the worst-case scenarios where massive oracle failures or attacks lead to complete pool drainage.
Conservative concentration parameters reduce exposure to oracle issues. Less aggressive concentration (wider curves) means the pool can tolerate more oracle lag or small manipulation attempts without becoming completely vulnerable. This trades some capital efficiency for robustness—accepting slightly higher slippage to gain better resilience against oracle problems.
Understanding PMM is essential for protocols integrating with DODO or considering oracle-dependent AMM designs. The article's characterization of PMM introducing "fundamental trade-off: efficiency versus trustlessness" captures the core tension. PMM offers superior capital efficiency and user experience compared to pure AMMs but requires trusting oracle infrastructure that pure AMMs don't need. For well-established asset pairs with robust Chainlink feeds, this tradeoff is reasonable. For new tokens, exotic pairs, or scenarios where trustlessness is paramount, pure AMM designs remain preferable despite their capital inefficiency. Security analysis of PMM must extend beyond smart contract code to encompass oracle reliability, update frequency, manipulation resistance, and failure mode handling—a broader scope than traditional AMM audits.
Articles Using This Term
Learn more about Proactive Market Maker in these articles:
Related Terms
Automated Market Maker (AMM)
A decentralized exchange protocol that uses mathematical formulas to price assets instead of order books.
Capital Efficiency
Measure of how effectively liquidity generates fees relative to capital deployed, improved by concentrated liquidity.
Price Oracle Manipulation
An attack where an attacker artificially skews the price reported by a price oracle to exploit protocols that rely on it.
Need expert guidance on Proactive Market Maker?
Our team at Zealynx has deep expertise in blockchain security and DeFi protocols. Whether you need an audit or consultation, we're here to help.
Get a Quote

