> For the complete documentation index, see [llms.txt](https://allblue-docs.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://allblue-docs.gitbook.io/docs/en/allblue-v3/core-contracts.md).

# Core Contracts

AllBlue V3 is built around five core contracts: MasterDeployer, MiningPoolFactory, MiningPoolManager, PoolRouter, and MiningPool.

* **MasterDeployer**\
  Provides the deployment infrastructure used by the V3 protocol.
* **MiningPoolFactory**\
  Creates and registers new V3 Pools with the required Pool configuration.
* **MiningPoolManager**\
  Manages liquidity positions, including position creation, liquidity removal, and fee collection.
* **PoolRouter**\
  Executes token Swaps and supports both single-hop and multi-hop routing.
* **MiningPool**\
  Holds Pool liquidity and processes tick-based Concentrated Liquidity and Swap operations.
