📚 DODO Contracts

DODO V1, V2 and V3 are all built based on the PMM algorithm. DODO AMM V2 and AMM V3 are based on AMM algorithm and are forked from Uniswap AMM.

DODO V1/V2#

  • Capital-efficient liquidity pool: DODO V1/V2 enables capital-efficient liquidity pooling through the PMM algorithm, which supports liquidity provision for unilateral tokens, reduces impermanent losses, and minimizes slippage during trading.
  • Smart Aggregate Trading: DODO V1/V2 provides SmartTrade, which finds and intelligently routes to various liquidity sources to quote the optimal price between any two tokens.
  • Efficient and Flexible Market Making Strategies: DODO V1/V2 removes the various constraints of creating new asset liquidity pools, allowing for the free definition and real-time adjustment of asset ratios, liquidity depths, commission rates, etc.
  • Low-cost New Asset Issuance: DODO V1/V2 develops crowdfunding pooling, allowing anyone to issue new assets at low cost through crowdfunding pooling and create a better liquidity pool. Restrictions on the ratio of funds to tokens and on the starting price are lifted.

DODO V3#

  • Multi-Asset Pools: In DODO V3, a single pool can hold many different tokens that are interchangeable. This helps to save market makers money and achieve the same level of liquidity with less money.
  • Separation of buy and sell liquidity: In order to help strategy providers, DODO V3 separates buy and sell liquidity, enabling operators of hedging strategies to hedge, eliminate impermanent losses and realize stable profits.
  • Saving gas fee: DODO V3 has carefully designed smart contracts for rebalancing operations, reducing gas consumption by more than 90% compared to UniV3. This significantly reduces the cost of executing market making strategies and makes some strategies profitable that cannot be run on UniV3.

DODO AMM V2#

  • Optimization based on AMM V2: DODO AMM V2 improves upon the AMM V2 framework by introducing an adjustable feeRate parameter, breaking the original fixed 0.3% fee limit, and providing greater flexibility in fee strategies for liquidity providers and protocol developers.
  • Flexible multi-pool deployment: Multiple pools with different fee rates can be created for the same token pair, adapting to various trading needs and helping users balance between low slippage and maximum returns.
  • Balancing compatibility and upgradability: While retaining the stability and broad compatibility of the original AMM V2, DODO AMM V2 enhances market-making logic configuration capabilities, laying the foundation for introducing more advanced strategies and aggregation mechanisms in future versions.

DODO AMM V3#

  • Integrating concentrated liquidity mechanism: DODO AMM V3 optimizes and extends AMM V3 by introducing a concentrated liquidity design, allowing liquidity providers to supply funds within custom price ranges, significantly improving capital efficiency.
  • Flexible multi-tier fee settings: V3 adds support for multiple feeRate tiers, including ultra-low rates as low as 0.01%, enabling the deployment of multiple pools with different fee rates for the same token pair, providing more refined fee options for various trading strategies and user needs.
  • Composable efficient path optimization: Combined with DODO’s proprietary SmartTrade routing system, V3 supports intelligent pricing and path optimization across multiple pools, dynamically selecting the optimal path to reduce trading costs and slippage.
  • Emphasizing compatibility and scalability: DODO AMM V3 maintains compatibility with the AMM V3 architecture while strengthening the protocol’s capabilities in aggregated trading, parameter customization, and asset expansion, supporting richer DeFi application building and integration.