> For the complete documentation index, see [llms.txt](https://docs.zircofi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zircofi.com/protocol/overview.md).

# Protocol overview

ZircoFi is three mechanisms behind one entry point: oracle-anchored vaults for standard size, RFQ for block size, and a router that checks eligibility and settles whichever venue prices the trade better.

## The path of a swap

1. **Quote.** The trader asks for a price on, say, 2,000 USDG of tokenized NVDA. The quote service simulates the router: it reads the guarded Chainlink mid from `OracleRouter`, the current [regime](/protocol/trading-regimes.md), and the [anchor vault's](/protocol/anchor-vaults.md) inventory, and in parallel collects signed [RFQ quotes](/protocol/rfq.md) from makers if the size warrants it. The trader sees one price, itemised into mid, spread and fee.
2. **Sign.** The trader signs a single transaction: a `SwapRouter` call carrying the swap parameters, a slippage bound, a deadline, and a Permit2 pull for the input asset.
3. **Verify.** On-chain, the router checks the trader's `TRADER` attestation, re-derives the vault quote from the oracle and vault state (or verifies the maker's EIP-712 signature), and confirms the fill respects the trader's bound and the protocol's oracle band.
4. **Settle.** Assets move atomically: input from the trader, output from the vault or the maker, fee to the `FeeCollector`. One transaction, one fill event, visible on Blockscout seconds later.

There is no order book to maintain, no deposit step and no withdrawal step. Custody exists for the duration of one transaction, in immutable contracts.

## Multi-asset swaps

Every market is quoted against USDG. A swap between two listed assets (tokenized AAPL into tokenized SPY, a Stock Token into tokenized gold once listed) is two legs through USDG executed atomically in one router call. The trader sees a single price; the fill event records both legs. If either leg cannot clear inside its band, the whole swap reverts.

## The division of labour

| Size                         | Venue        | Why                                                                                    |
| ---------------------------- | ------------ | -------------------------------------------------------------------------------------- |
| Up to the vault clip         | Anchor vault | Instant, no counterparty coordination, spread set by formula                           |
| Above the clip               | RFQ          | Makers can hedge on the underlying market and price size better than a formula         |
| Any size, maker quote better | RFQ          | The router always settles the better price; makers compete with the vault tick by tick |

The clip is a per-market parameter, not a hard split: makers may quote inside the clip and win retail flow whenever they beat the vault.

## What is deliberately absent

* **No pooled cross-asset exposure.** Each vault holds one asset against USDG. LPs choose their exposure per market.
* **No protocol discretion at fill time.** The quote is a formula over public state; the RFQ path is a signature check. Nobody at ZircoFi can improve, worsen or block an individual fill.
* **No netting or deferred settlement.** Every fill is final at inclusion.

## Reading order

The mechanics are documented inside-out: [Anchor vaults](/protocol/anchor-vaults.md) for the inventory model, [Pricing and spreads](/protocol/pricing-and-spreads.md) for the quote formula, [Trading regimes](/protocol/trading-regimes.md) for sessions and halts, [RFQ settlement](/protocol/rfq.md) for block flow, [Routing](/protocol/routing.md) for how they compose, [Liquidity provision](/protocol/liquidity-provision.md) for the LP side, [Corporate actions](/protocol/corporate-actions.md) for events, and [Fees](/protocol/fees.md) for what the protocol charges.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.zircofi.com/protocol/overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
