PropAMMVenue merges every maker’s ladder, best price first. Integrate it like a pool. No API, no signatures, no per-trade requests.
1
Discover pairs
Re-read
getPairs() on PairAdded.2
Quote
Segment output is
floor(take * price / 1e18). Per-block caps are already applied in all three.3
Swap
Push payment: transfer exactly
amountIn to the venue, then call swap in the same transaction.A short push reverts. An over-push stays in the venue.
4
Refresh
Ladders can reprice every block, and per-block caps reset each block. Re-read each block, or on
AnchorCommitted, LadderCommitted, OffsetsCommitted, ControlsCommitted and MMFillExecuted from the executor 0x000000fFA5f8Ae192Ab65204f9B7E062CbF4e05D.Fees
Reverts
Event
Selectors
Test on Base Sepolia
Pairs:
MockWETH/MockUSDC, MockDAI/MockUSDC. Anyone can call mint(address,uint256).