> For the complete documentation index, see [llms.txt](https://docs.pancakeswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pancakeswap.finance/japanese/qu-yin/pancakeswap-infinity/pool-types/infinity-clamm-and-lbamm.md).

# Infinity CLAMM & LBAMM

#### 🔷 CLAMM（Concentrated Liquidity AMM）

CLAMMにより、流動性プロバイダーは**特定の価格範囲**内に資本を配分できます。これにより以下のメリットがあります：

* **高い資本効率**：アクティブな取引価格でより多くの流動性。
* **より深い流動性**：トレーダーにとってより良い約定。
* **アクティブなLP管理**：価格変動に合わせてポジションを調整する必要があります。
* レンジ外ポジションの**インパーマネントロスが高くなる**可能性があります。

{% hint style="info" %}
CLAMMは定積公式（X \* Y = K）で動作します。各流動性ポジションは非代替性でNFTとして表されます。
{% endhint %}

#### 🔷 LBAMM（Liquidity Book AMM または「ビンプール」）

LBAMMは**離散的な価格ビン**を実装し、各ビンは特定の価格レベルで流動性を保持します。LBAMMは\*\*定和公式（X + Y = K）\*\*に従います。

**主な特徴：**

* ビン内の取引での**価格インパクト0**。
* **代替可能な流動性**（各ビン内の流動性はERC-20トークン）。
* LPポジション調整の**低いガスコスト**。
* **異なる流動性形状**のサポート（例：偏り型、均一型）。
* ビンごとのフラットな価格曲線により、**低ボラティリティ**ペアに適しています。

> 🥞 **PancakeSwapはhooksを備えたLBAMMプールを提供する最初のプロトコルです。**

{% hint style="success" %}
CLAMMとLBAMMのどちらのプールも**hooks**をサポートしており、開発者がプールの動作をカスタマイズできます。プールタイプは新しいPool Managerを通じて拡張可能で、プロトコルの再デプロイなしに追加できます。
{% endhint %}

<table data-header-hidden><thead><tr><th width="170.94921875"></th><th width="284.57421875"></th><th></th></tr></thead><tbody><tr><td>機能</td><td><strong>CLAMM</strong></td><td><strong>LBAMM</strong></td></tr><tr><td><strong>価格曲線</strong></td><td>定積公式（X * Y = K）</td><td>定和公式（X + Y = K）</td></tr><tr><td><strong>流動性トークン</strong></td><td>非代替性（NFT）</td><td>代替可能（ビンごとのERC-20）</td></tr><tr><td><strong>適している用途</strong></td><td>高・低ボラティリティの両方のペア</td><td>低ボラティリティのペア</td></tr><tr><td><strong>優位点</strong></td><td><ol><li>資本効率</li><li>広い・全レンジでのガス効率</li><li>広く採用されている</li></ol></td><td><ol><li>ビン内での価格インパクト0</li><li>より安価なLP管理</li><li>柔軟な流動性形状</li></ol></td></tr><tr><td><strong>Hookサポート</strong></td><td>✅</td><td>✅</td></tr></tbody></table>

***

### 🧮 手数料

PancakeSwap Infinityは、静的・動的手数料設定を通じた柔軟で拡張性の高い手数料システムをサポートしています。この設定により、プール作成者とLPの両方に、異なるトレーディング戦略とリスクプロファイルに最適化するための強力なツールを提供します。

#### 🔁 動的手数料

* 動的手数料はhookコントラクトを通じてリアルタイムで決定されます。
* これらの手数料は、ボラティリティ、取引量、ユーザーのステータス（例：CAKE保有量）、またはhook内にコード化されたカスタムロジックなどの外部要因に基づいて変動する場合があります。
* 動的手数料を使用するプールは、プール作成時にその設定を有効にし、`beforeSwap`を通じて手数料を変更できるhookをアタッチする必要があります。
* プールが初期化されると、手数料タイプ（動的または静的）は変更できません。

動的手数料は最大の柔軟性を提供し、市場状況に基づいてLPとスワッパーの両方のために手数料構造を最適化します。

#### 📌 静的手数料

* 静的手数料プールはプール作成時に固定手数料が設定されます。
* これらの手数料はプールが初期化された後に変更できません。
* よりシンプルなユースケースや、手数料構造の予測可能性が重要な場合に適しています。<br>

**🔒 最大手数料上限：**

* CLAMMプール：最大100%（主に特殊または実験的なユースケース向け）
* LBAMMプール：10%が上限<br>

**🏛 プロトコル手数料（静的手数料プールの場合）：**

* PancakeSwapはInfinityプールにプロトコル手数料を適用します
* LP手数料の33%、最大0.4%

| **LP手数料** | **プロトコル手数料** |
| --------- | ------------ |
| 1%        | 0.33%        |
| 2%        | 0.4%（上限）     |
| 動的手数料プール  | 0%           |

#### 🛠️ プール作成者向けの設定事項

* PoolManagerを通じてプールを初期化する際、作成者は以下を選択する必要があります：
  * プールが静的手数料か動的手数料かを使用するか
  * hookコントラクトをアタッチするかどうか（動的手数料には必須）

これらの設定は恒久的であり、プールのライフタイム全体を通じた動作を定義します。


---

# 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.pancakeswap.finance/japanese/qu-yin/pancakeswap-infinity/pool-types/infinity-clamm-and-lbamm.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.
