# Cap Documentation

## Key Features

* **Permissionless trading on Ethereum with DAI**
* **Shared Liquidity Pool for all listed assets**
* **Censorship resistant Oracle network**
* **Decentralized Governance (DAO)**
* **Thousands of different assets**
* **Leverage up to 100x**

## Introduction

CAP is a synthetic trading protocol built on Ethereum. Traders submit orders that are priced by an Oracle Dark Feed network. A Treasury receives trader losses and pays out their profits.\
CAP is Cap's Governance token. CAP holders vote on system upgrades and how to use Treasury funds. CAP's supply is fixed at 120,000.

![Cap ecosystem overview](https://1747790964-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRtQnFAx-iTDBQjJ3Av%2F-MSgNJHAeUexOkWDKnMY%2F-MSgNpAqPLYxI2UIs2G_%2FIMG_0591.jpeg?alt=media\&token=3661c94c-e8af-4aea-bbbf-6135e3b7a762)

## Mainnet contracts

#### Governance

Receives staked CAP and keeps track of votes and proposals. A proposal can be executed once enough "*for"*  votes are reached by the end of the voting period. More info on Cap's governance apparatus can be found in the [Governance](https://github.com/capfina/protocol#governance-1) section.

#### Treasury

Holds system and trader assets. These include trader deposits and assets bought by governance. Trader deposits are segregated from funds available for use by governance. Check out the [treasury balance](https://etherscan.io/tokenholdings?a=0x6eB80143761ddfE75D5EA87D913EBc1ebd68DE81).

#### Products

Used to register and keep track of products available to trade. Maximum leverage, spread, and funding rate per block can be set by governance for each individual product.

#### Trading

Receives orders from clients. These can be of two types: new position or position close.

#### Queue

Queues orders for processing by the oracle network. Once a price is provided, the order is sent back to the trading contract for execution.

### Networks

The Cap protocol is deployed on Mainnet:

|  Contract  |                                                        Address                                                        |
| :--------: | :-------------------------------------------------------------------------------------------------------------------: |
| Governance | [0x16F8637360e88a8C2fDA90dAD68a3dE816eF0162](https://etherscan.io/address/0x16F8637360e88a8C2fDA90dAD68a3dE816eF0162) |
|  Treasury  | [0x6eB80143761ddfE75D5EA87D913EBc1ebd68DE81](https://etherscan.io/address/0x6eB80143761ddfE75D5EA87D913EBc1ebd68DE81) |
|  Products  | [0x5777dc3Cc06D55104C63ECDd48CC88908B6ca3d9](https://etherscan.io/address/0x5777dc3Cc06D55104C63ECDd48CC88908B6ca3d9) |
|   Trading  | [0x5e4974ca44830f6418c286b4117cf2cee5ce3e47](https://etherscan.io/address/0x5e4974ca44830f6418c286b4117cf2cee5ce3e47) |
|    Queue   | [0x80334765d437e8e6eac5377FB37a0028D71e0167](https://etherscan.io/address/0x80334765d437e8e6eac5377FB37a0028D71e0167) |
|   Oracle   | [0x54A5675B467aB765F12609d4E95AcF0e3e893676](https://etherscan.io/address/0x54A5675B467aB765F12609d4E95AcF0e3e893676) |

## *Volunteer contributors*

*Strategic Reserve (@StrategicReserve)*\
*I. (@lyngg)*\
*Pink Noise (@gumbercules)*\
*Wagie (@wagie)*\
*Ulysse (@ulydev)*

##


---

# Agent Instructions: 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:

```
GET https://docs.cap.exchange/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
