# DEX fleet — agent map > Non-custodial payment rails on Base (chainId 8453). Every contract below is live mainnet; every selector is keccak-derived from the signature shown. > An agent pays by sending the ONE call named per product. No API key, no account, no server. ## How an agent pays 1. Read the product page (URL below) for the full flow and a live check. 2. Send the call to the CONTRACT address, with ERC20 args in base units (USDC here is 6 dp: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). 3. Fees go to the treasury 0x5c0fc0917260A0656D253f1625053e3E6Dd2Ef3c; every fee-bearing page reads its bps LIVE (owner-mutable). 4. Nothing is custodial: funds move payer -> vault/escrow, never into a server. - USDC on Base: `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` (6 dp) - treasury: `0x5c0fc0917260A0656D253f1625053e3E6Dd2Ef3c` - explorer: https://basescan.org ## Products ### miniapp — Pay in-feed (Farcaster / Base mini app) - page: https://dngr2.github.io/dex-products/miniapp/ - what: A pay link inside a Farcaster cast or Base mini app: tap, pay USDC on Base, receipt in the thread. The deposit address is derived live from the P2 Registry's predict(), and the fee is read live on-chain. - contract (P2 Registry (the mini app derives its deposit address)): `0x417c41d406c61E09958032Cd77338fc1F1ac7D45` - fee: 500 bps on each forwarded payment (the P2 Registry's fee, paid by the forwarder the link derives) — live value in the check below ### p2-forwarder — Micro-payment forwarder - page: https://dngr2.github.io/dex-products/p2-forwarder/ - what: Register once, get a personal deposit address. Anything sent there auto-forwards to YOUR destination within ~1 block. - contract (Registry (integrator entry point)): `0x417c41d406c61E09958032Cd77338fc1F1ac7D45` - call: `register(address)` selector `0x4420e486` - call: `forward(address,address)` selector `0x95ccf8bf` - payment verb: register(address destination) -> your deposit address; then anyone sends ERC20 to it and it auto-forwards - fee: 500 bps on each forwarded payment — live value in the check below ### g2b-escrow — Escrow as a service - page: https://dngr2.github.io/dex-products/g2b-escrow/ - what: Lock a token amount against a hashlock or a nominated arbiter, share the escrow address, counterparty releases it — or the payer refunds after the timeout. Funds sit in the escrow contract, never a server. - contract (EscrowFactory (the only contract a user calls)): `0x4B05fA6aD0Ba0D0120Dce19Ce34dde6d1316C237` - call: `create(address,address,uint256,bytes32,uint64)` selector `0xa083c5e1` - payment verb: create(address counterparty, address token, uint256 amount, bytes32 hashlock, uint64 timeout) -> escrow; release with the preimage, refund after timeout, or arbiter release/refund - fee: 500 bps on release only, nothing on refund — live value in the check below ### g4b-receipts — Receipt NFT (proof-of-payment) - page: https://dngr2.github.io/dex-products/g4b-receipts/ - what: When a g2b escrow settles, anyone may mint exactly one on-chain receipt NFT to the payer. Fully on-chain tokenURI (base64 JSON) — no server, no IPFS. - contract (ReceiptNFT (ERC-721)): `0xAE5951d25FEDD06aB7e124e91Dac3AC20f5e7cAF` - call: `mintForEscrow(address)` selector `0xa98aeecb` - payment verb: mintForEscrow(address escrow) — mint the one proof-of-payment NFT for a SETTLED escrow - fee: mintFeeWei = 50000000000000 wei (0.00005 ETH) live; free at deploy — live value in the check below ### p3-router — Slippage-bounded swap router - page: https://dngr2.github.io/dex-products/p3-router/ - what: An on-chain router that aggregates existing Uniswap V3 + Aerodrome pools (holds no liquidity of its own). Quotes are chosen off-chain; the contract executes the hops it is handed. - contract (Router (Base mainnet)): `0x036645cA607Dc8075Ae9B12A3474C00A82c306e6` - call: `swapExactTokensForTokens((uint256,uint256,(uint8,address,address,uint24,bool,address,address)[],address,uint256))` selector `0xd3bd0b52` - payment verb: swapExactTokensForTokens(ExactInputParams) — executable hops handed in; quotes are chosen off-chain - fee: 500 bps (5%) on input, to the treasury — immutable in the contract ### f1c-duster — Dust funnel (dust -> USDC) - page: https://dngr2.github.io/dex-products/f1c-duster/ - what: Connect a wallet, see scattered dust balances, one click sweeps them to USDC on Base. Non-custodial, stateless contract. - contract (DustSweeper): `0x8c38c2bbECa7575c24ACEf1d907Aa1F4f43CbFB9` - call: `sweep(address[],(uint8,address,address,uint24,address)[],uint256[])` selector `0xe7ea3ccb` - payment verb: sweep(address[] tokens, HopInput[] hops, uint256[] minOut) — one tx funnels scattered dust to USDC - fee: ZERO fee by design (acquisition funnel) ### g2a-streams — Payment streams - page: https://dngr2.github.io/dex-products/g2a-streams/ - what: Create a streaming payment: a vault drips a token to a recipient over time; the recipient withdraws whatever has vested, permissionlessly. - contract (StreamFactory (Base mainnet)): `0x3882A049ee99B96Ea68DF317713ed76008b9A075` - call: `approve(address,uint256)` selector `0x095ea7b3` - call: `createStream(address,address,uint256,uint64,uint64)` selector `0x88379c90` - call: `withdraw()` selector `0x3ccfd60b` - payment verb: approve(factory, amount) then createStream(recipient, token, amount, start, end); the recipient (or anyone) calls withdraw() on the vault as it vests - fee: 500 bps, charged only on withdraw — live value in the check below ### g2a-subscriptions — Subscriptions (recurring toll) - page: https://dngr2.github.io/dex-products/subscribe/ - what: Recurring payments on the SAME factory — no new contract. A payer pre-approves a small allowance; each period a fresh vault is minted for the next window and pulled. A missed period is a HOLE, not a debt. - contract (StreamFactory (reused)): `0x3882A049ee99B96Ea68DF317713ed76008b9A075` - call: `approve(address,uint256)` selector `0x095ea7b3` - call: `createStreamFor(address,address,address,uint256,uint64,uint64)` selector `0x2f7a1c66` - payment verb: approve(factory, ticket * periods) — ONE signature, bounded (not max-uint); a keeper then calls createStreamFor once per period from that allowance. Revoke anytime with approve(factory, 0). - fee: per-period fee to the merchant (live bps read from the factory) ### f1a-payment-links — Payment links - page: https://dngr2.github.io/dex-products/f1a-payment-links/ - what: Create a payment request; you get a URL carrying a deposit address that auto-forwards to you. No account, no wallet, no code. The link is minted by the RequestRegistry and pays a forwarder derived from it. - contract (RequestRegistry): `0xeD395024Bba719564bec617b6b42CF6fDC8a252c` - call: `request(address,address,uint256,bytes32)` selector `0xdc0edd60` - payment verb: request(address destination, address token, uint256 amount, bytes32 memo) -> a request id; the link hands over a deposit address that auto-forwards to the destination - fee: 500 bps on each forwarded payment (the P2 Registry's fee, paid by the forwarder it derives) — live value in the check below ### sdk — TypeScript SDK (@fleet/sdk) - what: A tree-shakeable viem client: pure {to,data,value} calldata builders for every rail (quote/pay/createLink/createEscrow/release/setMandate/executeLap/swap/sweep/verify402) plus an EIP-712 signing seam. No state at import; addresses are data you pass in. - contract (TypeScript client (no contract)): **none — source only, not deployed** - source: products/sdk/README.md · listed on the landing at https://dngr2.github.io/dex-products/#build - payment verb: pure {to,data,value} builders for every surface (pay/quote/createEscrow/release/setMandate/executeLap/swap/sweep/verify402) + an EIP-712 seam — no state, no RPC at import - fee: none of its own — the rail it calls charges the fee ### mcp-server — MCP server (agent tools) - what: One line of config gives an agent live, non-custodial rails on Base: one tool per product returns the calldata for the ONE money call and simulates it (dry-run by default) before anything is signed. No API key, no account. - contract (MCP server (no contract)): **none — source only, not deployed** - source: products/mcp-server/README.md · listed on the landing at https://dngr2.github.io/dex-products/#build - payment verb: one MCP tool per product: returns the calldata for the product's ONE money call and simulates it (dry-run) before anything is signed - fee: none of its own — the rail it calls charges the fee ### x402 — x402 facilitator (on-chain 402 gate) - listed on the landing at https://dngr2.github.io/dex-products/#build - what: The on-chain half of an HTTP-402 flow: a server returns 402, the client pays a rail, a gated writer records the settlement, and the server verifies it with a VIEW call then serves the resource. Nothing holds funds. - contract (x402Facilitator): `0x5849eF6f21fDC21d5194c24ED6c824965A613739` - call: `verify(bytes32,address,address,uint256)` selector `0x796e926d` - payment verb: verify(paymentId, to, token, minAmount) — a VIEW a server calls to gate a resource; a gated writer feeds markPaid from the rail's Paid event - fee: none — the rail that settled the payment charged its fee ### settlement — Settlement registry (read-side paid()) - listed on the landing at https://dngr2.github.io/dex-products/#build - what: A read-side mirror of a rail's settlement: a gated writer records paymentId -> (amount, at); anyone reads paid()/isPaid(). markPaid is idempotent, so an id can never silently change meaning. - contract (SettlementRegistry): `0xdDA0728Ff635B555D2Af471E2821055bE08F9127` - call: `paid(bytes32)` selector `0xadd89bb2` - call: `isPaid(bytes32)` selector `0xfeef6640` - payment verb: paid(paymentId) -> (amount, at) and isPaid(paymentId) — a read-side mirror; a gated writer calls markPaid(bytes32,uint256) - fee: none — read-side only ### fleet-executor — Fleet executor (EIP-7702 batch delegate) - page: https://dngr2.github.io/dex-products/fleet-executor/ - what: One installed EIP-7702 delegate drives every fleet surface from a single off-chain EIP-712 signature over a whole batch of (target,value,data) — so the user's own code runs in the user's frame, and any relayer can carry it. - contract (FleetExecutor): `0x410396662089a26C801c54818CCd59640eFCaf77` - call: `execute((address,uint256,bytes)[],uint256,uint256,bytes)` selector `0x74b506ec` - payment verb: execute(calls, nonce, deadline, sig) — an EIP-712 signed BATCH of (target,value,data) run in the delegating EOA's frame; any relayer carries it - fee: none — per-sponsored-tx billing is the paymaster's, next door ### fleet-paymaster — Fleet paymaster (ERC-4337 sponsorship) - listed on the landing at https://dngr2.github.io/dex-products/#build - what: An ERC-4337 v0.7 verifying paymaster that sponsors UserOps calling a fleet contract and charges the sponsorship back as a small additive surcharge on the rail fee (sponsorBps, default 10) — not in ETH. Allow-list + per-sender rate limit. The allow-list is a DECLARATION gate: word 0 of the op's callData is trusted, so a sponsored op can still call a non-listed contract. Rate limit is OFF by default (maxOpsPerWindow == 0 = unlimited). - contract (FleetPaymaster): `0x70A615dDc4cd013Cf4D569Ae3394bF4465229B95` - call: `previewSponsorFee(uint256)` selector `0x23202bee` - payment verb: previewSponsorFee(base) then deposit(); validatePaymasterUserOp sponsors allow-listed UserOps and accrues a surcharge on the rail fee - fee: sponsorBps default 10 bps, additive to the rail fee, paid in the RAIL TOKEN not ETH. Owner-settable up to a compiled-in MAX_SPONSOR_BPS = 1000 (10%); lowering it needs a redeploy (constant, no setter). COMBINED worst case = rail fee (<=500 bps) + sponsorBps (<=1000 bps) = 1500 bps (15%); at defaults = 500+10 = 510 bps (5.1%). ### g4c-toll-registry — Toll registry (per-product toll lookup) - listed on the landing at https://dngr2.github.io/dex-products/#build - what: A constructor-set, per-chain lookup: product -> (recipient, feeBps, live) in ONE call, so a new product's toll is registered rather than re-derived. A consumer pins the registry's codehash; live=false reverts rather than falling back to a compiled default. - contract (TollRegistry): `0xc8319D6fbc0A8f1685Df9c567557141A289b7A1b` - call: `toll(bytes32)` selector `0x71a41241` - call: `isLive(bytes32)` selector `0xcedd3a0e` - payment verb: toll(product) -> (recipient, feeBps, live) in one call; a consumer pins the registry codehash and divides by the literal 10_000 - fee: none — it reports other products' tolls ## Files - catalog: https://dngr2.github.io/dex-products/PRODUCTS.json - this map: https://dngr2.github.io/dex-products/llms.txt - sitemap: https://dngr2.github.io/dex-products/sitemap.xml ## Drive it from an agent (MCP) Every call above is also a tool on the `dex-fleet` MCP server (one tool per product), which returns the calldata for the ONE call and simulates it (dry-run by default) before anything is signed — no npm, no account. One line of config: ```json { "mcpServers": { "dex-fleet": { "command": "python3", "args": ["products/mcp-server/server.py"] } } } ``` Tools: create_pay_link · pay · escrow_create · escrow_release · stream_create · subscribe · swap · sweep_dust · sponsored_call · mint_receipt · read_fee (live bps per contract). Build: `products/mcp-server/` (README + selftest).