# Polymarket CTF Exchange ## Docs - [CTFExchange](https://mintlify.wiki/Polymarket/ctf-exchange/api/ctf-exchange.md): Core binary limit order exchange contract for trading CTF assets - [CalculatorHelper](https://mintlify.wiki/Polymarket/ctf-exchange/api/libraries/calculator-helper.md): Helper functions for order calculations, pricing, and fee computation - [OrderStructs](https://mintlify.wiki/Polymarket/ctf-exchange/api/libraries/order-structs.md): Order data structures, enums, and type definitions - [AssetOperations](https://mintlify.wiki/Polymarket/ctf-exchange/api/mixins/asset-operations.md): Handles balance queries, transfers, minting, and merging of CTF tokens and collateral - [Assets](https://mintlify.wiki/Polymarket/ctf-exchange/api/mixins/assets.md): Stores addresses of ERC20 collateral and ERC1155 CTF tokens - [Auth](https://mintlify.wiki/Polymarket/ctf-exchange/api/mixins/auth.md): Provides admin and operator roles with access control - [Fees](https://mintlify.wiki/Polymarket/ctf-exchange/api/mixins/fees.md): Provides utilities for fee rate management - [Hashing](https://mintlify.wiki/Polymarket/ctf-exchange/api/mixins/hashing.md): EIP712 typed structured data hashing for orders - [NonceManager](https://mintlify.wiki/Polymarket/ctf-exchange/api/mixins/nonce-manager.md): Manages account nonces for order validation and cancellation - [Pausable](https://mintlify.wiki/Polymarket/ctf-exchange/api/mixins/pausable.md): Provides a trading kill switch to pause and unpause exchange operations - [Registry](https://mintlify.wiki/Polymarket/ctf-exchange/api/mixins/registry.md): Maps token IDs to complements and condition IDs for binary outcome matching - [Signatures](https://mintlify.wiki/Polymarket/ctf-exchange/api/mixins/signatures.md): Validates multiple signature types for order authentication - [Cancel Orders](https://mintlify.wiki/Polymarket/ctf-exchange/api/trading/cancel-orders.md): Cancel one or multiple orders on the CTF Exchange - [fillOrder](https://mintlify.wiki/Polymarket/ctf-exchange/api/trading/fill-order.md): Fill a single order on the CTF Exchange - [fillOrders](https://mintlify.wiki/Polymarket/ctf-exchange/api/trading/fill-orders.md): Fill multiple orders in a single transaction - [matchOrders](https://mintlify.wiki/Polymarket/ctf-exchange/api/trading/match-orders.md): Match a taker order against multiple maker orders - [Fee Structure](https://mintlify.wiki/Polymarket/ctf-exchange/concepts/fee-structure.md): Understand the symmetric fee structure and fee calculation formulas in the CTF Exchange - [Matching Scenarios](https://mintlify.wiki/Polymarket/ctf-exchange/concepts/matching-scenarios.md): Learn about the three matching scenarios in the CTF Exchange - NORMAL, MINT, and MERGE - [Order Structure](https://mintlify.wiki/Polymarket/ctf-exchange/concepts/order-structure.md): Detailed documentation of the Order struct fields and their purposes in the CTF Exchange - [Signature Types](https://mintlify.wiki/Polymarket/ctf-exchange/concepts/signature-types.md): Learn about the different signature types supported by the CTF Exchange - EOA, POLY_PROXY, POLY_GNOSIS_SAFE, and POLY_1271 - [Configuration](https://mintlify.wiki/Polymarket/ctf-exchange/deployment/configuration.md): Configure environment variables, deployment scripts, and contract parameters for the CTF Exchange - [Setup](https://mintlify.wiki/Polymarket/ctf-exchange/deployment/setup.md): Install Foundry, clone the repository, and set up dependencies for the Polymarket CTF Exchange - [Testing](https://mintlify.wiki/Polymarket/ctf-exchange/deployment/testing.md): Run tests, understand test patterns, and generate gas snapshots for the CTF Exchange - [Deployments](https://mintlify.wiki/Polymarket/ctf-exchange/deployments.md): Production deployments of the Polymarket CTF Exchange - [How It Works](https://mintlify.wiki/Polymarket/ctf-exchange/how-it-works.md): Understanding the hybrid-decentralized exchange model and atomic swap mechanics - [Introduction](https://mintlify.wiki/Polymarket/ctf-exchange/introduction.md): Polymarket CTF Exchange - A hybrid-decentralized exchange protocol for Conditional Token Framework assets - [Admin Controls](https://mintlify.wiki/Polymarket/ctf-exchange/security/admin-controls.md): Administrative functions and access control in the CTF Exchange - [Security Audit](https://mintlify.wiki/Polymarket/ctf-exchange/security/audit.md): ChainSecurity audit report for Polymarket CTF Exchange - [Security Best Practices](https://mintlify.wiki/Polymarket/ctf-exchange/security/best-practices.md): Security guidelines for integrators and operators of the Polymarket CTF Exchange