Documentation

How it
works.

01

Maker signs a quote

Off-chain, the maker's engine reads pool state, computes route cost, adds a margin, and produces a signed EIP-712 order: exact WETH out, exact USDC in, expiry, nonce, adapter, route hash.

02

One transaction fills it

Taker submits. RFQExecutor validates — sig, expiry, nonce, approved tokens, policy version — then sends USDC to the adapter and calls PoolManager.unlock(). Inside the unlock session, exact-output swaps pull WETH from LP liquidity to the taker. Net USDC debt is settled to the pools. Spread goes to the maker.

03

Settled or fully reverted

Uniswap v4 nets everything at the end of one transaction. Deferred settlement, not a loan. Every currency delta must be zero. If any check fails — bad sig, stale policy, shallow pool, insufficient proceeds — the entire transaction reverts. Nothing is partially applied.

CRE Fee Update Flow

Chainlink CRE workflow→
Signed report→
KeystoneForwarder→
CREPolicyConsumer→
StrategyPolicy.fee updated→
Hook applies on next swap

Plain language

A maker is like a currency exchange booth. Normally it needs to stock both currencies. CAPITLESS removes that: the maker only needs to know the price. Swap happens through Uniswap v4 pools — LPs supply the WETH, the taker's USDC pays, maker earns the difference.

Settlement is deferred netting inside a single transaction. Uniswap v4 keeps a running balance sheet. At the end, every line must be zero. Not a flash loan — nothing is borrowed. Tokens move directly: USDC from taker to pools, WETH from pools to taker, spread to maker.

What this proves.
What it doesn't.

Proves

✓

Atomic zero-inventory settlement in a single transaction

✓

Bounded and pluggable pricing engines (any adapter that passes the delta check)

✓

A CRE-driven fee change on a live Uniswap v4 hook

✓

Nonce replay protection and signer revocation

✓

policyVersion binding: stale quotes revert on-chain

Doesn't prove

—

A durable market edge — the margin is a parameter, not a moat

—

Organic liquidity — pools are seeded with test tokens

—

Order flow — no matching engine or public RFQ API yet

—

Margins that survive competition