# Cork Protocol Docs

## Cork Docs

- [What is Cork?](https://docs.cork.tech/overview/readme.md)
- [Cork Pool](https://docs.cork.tech/core-concepts/cork-pool.md): The core primitive — how Cork Pools work, the dual token system, exercise and repurchase mechanics
- [Swap Token](https://docs.cork.tech/core-concepts/swap-token.md): Cork Swap Token (cST) — the tokenized risk instrument for pricing, hedging, and trading onchain risk
- [Principal Token](https://docs.cork.tech/core-concepts/principal-token.md): Cork Principal Token (cPT) — underwriting exposure with yield from premiums and Collateral Asset accrual
- [Reference Asset](https://docs.cork.tech/core-concepts/reference-asset.md)
- [Collateral Asset](https://docs.cork.tech/core-concepts/collateral-asset.md)
- [Fees](https://docs.cork.tech/core-concepts/fees.md): How fees work in Cork Pools — types, calculation, and configuration
- [Target Assets & Use Cases](https://docs.cork.tech/core-concepts/target-assets-and-use-cases.md): Key use cases for Cork Pools — vault liquidity, RWA looping, lending integration, and asset hedging
- [Whitelist Functionality](https://docs.cork.tech/core-concepts/whitelist-functionality.md): How whitelist access control works in Cork Pools
- [Exercise Swaps](https://docs.cork.tech/user-guides/exercise-swaps.md): How to Swap reference assets for collateral assets using Cork Swap Tokens
- [Provide Liquidity](https://docs.cork.tech/user-guides/provide-liquidity.md): How to earn yield on Cork Protocol by underwriting risk as a liquidity provider
- [Mint Tokens](https://docs.cork.tech/user-guides/provide-liquidity/mint-tokens.md): How to Mint Swap Token and Principal Token to earn a premium or yield
- [Mint Tokens (without dApp)](https://docs.cork.tech/user-guides/provide-liquidity/mint-tokens-without-dapp.md): How to Mint Swap Token and Principal Token using an atomic EIP-5792 capable wallet
- [Mint Tokens (without dApp or Batch-Capable Wallet)](https://docs.cork.tech/user-guides/provide-liquidity/mint-tokens-without-dapp-or-batch-capable-wallet.md): How to Mint Swap Token and Principal Token using a wallet that does not support atomic batch transactions
- [Unwind Tokens (without dApp)](https://docs.cork.tech/user-guides/provide-liquidity/unwind-tokens-without-dapp.md): How to Withdraw Collateral Assets early using an atomic EIP-5792 capable wallet
- [OTC trading of Swap Tokens](https://docs.cork.tech/user-guides/otc-trading-of-swap-tokens.md)
- [Frequently Asked Questions](https://docs.cork.tech/faq/frequently-asked-questions.md): Common questions about Cork Protocol — how it works, key mechanics, and getting started
- [Audits](https://docs.cork.tech/smart-contracts/audits.md): Information on smart contract risk and audits
- [Phoenix Deployments](https://docs.cork.tech/smart-contracts/phoenix-deployments.md): Official Cork Phoenix deployment addresses on Ethereum Mainnet
- [Quick Start](https://docs.cork.tech/developers/quick-start.md): Query Cork Protocol data and simulate operations in minutes
- [Contract Reference](https://docs.cork.tech/developers/contract-reference.md): Cork Phoenix contract addresses, architecture overview, and detailed interface documentation
- [CorkAdapter](https://docs.cork.tech/developers/contract-reference/cork-adapter.md): Slippage-protected write operations for Cork Protocol integration
- [CorkPoolManager](https://docs.cork.tech/developers/contract-reference/cork-pool-manager.md): Singleton pool manager — all pool state, queries, previews, and raw operations
- [Admin & Governance](https://docs.cork.tech/developers/contract-reference/admin-and-governance.md): Governance, access control, rate protection, and token factory contracts
- [API Reference](https://docs.cork.tech/developers/api-reference.md): Cork Protocol REST API for market discovery, transaction history, and limit orders
- [AI Context](https://docs.cork.tech/developers/ai-context.md): Structured protocol reference optimized for AI assistants and LLM consumption


---

# 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, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://docs.cork.tech/overview/readme.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.
