RialtoRialto
Trade
Overview

Rialto Docs | What Is a propAMM

A programmable onchain market maker that owns its pricing logic, inventory and execution risk.

Rialto DocsRobinhood ChainUpdated for current routing model

Definition

A propAMM is an onchain proprietary automated market maker. Instead of deriving every price from a passive reserve curve, the market maker can use its own pricing model and inventory policy, expose an executable quote onchain and settle the trade atomically if its route is selected.

For Rialto, a propAMM behaves as one candidate liquidity source among the sources the router can evaluate. The router does not need to understand the market maker’s internal model; it only needs a quote that can be executed consistently.

Quote vs. Settlement

1. QuoteThe router asks the pair for an exact-input output amount.
→
2. CompeteThe quote is compared with other routes, including gas cost.
→
3. SettleIf selected, the pair receives the exact input and must deliver the minimum output.

The quote step is read-only. Settlement is state-changing and must actually transfer the promised output to the router. A quote that cannot be executed should not be advertised as available liquidity.

How It Differs from a Passive AMM

AreapropAMMPassive pool
PricingCustom, programmable modelPool invariant or fixed AMM logic
InventoryManaged by the market makerProvided by LP positions
Risk controlsCan vary by size, inventory, spread or policyPrimarily determined by pool design
Rialto integrationQuote + atomic settle interfaceStandard DEX route integration

Operational Requirements

  • Return an executable exact-input quote for the requested size.
  • Return zero or revert when a size or direction cannot be filled safely.
  • Keep quote logic consistent with settlement logic.
  • Maintain sufficient output inventory for accepted trades.
  • Enforce any required freshness, spread and inventory protections inside the market maker.

Risk and Failure Cases

Programmability does not eliminate execution risk. A stale price source, depleted output inventory, inconsistent quote and settlement logic, or a sudden market move can cause a route to fail or become uncompetitive. Rialto’s routing model treats an unavailable or failing source as a candidate that should not win the order.

Rialto Docs · Onchain spot trading, propAMMs and best-execution routing. Open Rialto.