# 清算とは

## 清算閾値

ユーザーが担保資産をプロトコルに預け入れると、以下の式により、清算閾値が算出されます。

{% hint style="info" %}
清算閾値 = 担保価値 × 清算掛目\
清算掛目は各プール各担保資産に設定されており、プール詳細ページでご確認頂けます。\
![](/files/AeUGjm2eaa35JGmjBzer)
{% endhint %}

例えば、清算掛目が90%の担保を100ドル分預け入れた場合、\
清算閾値は、100 × 0.90 = 90（ドル）となります。

借り手のベース資産の借入は、この清算閾値以下である必要があります。

{% hint style="info" %}
清算閾値は、以下のプール詳細ページの赤枠の箇所に表示されています。\
![](/files/dqcBY2cfR5y0sShG98Fd)
{% endhint %}

## 清算の発生条件

しかし、担保価値の下落、または、ベース資産価値の上昇により、\
ベース資産の借入が清算閾値を上回ってしまうことがあります。

{% hint style="info" %}
担保価値、ベース資産価値は常時変動しているので、清算閾値も常に上下しています。
{% endhint %}

## 清算の実行

この時、誰でもこの借り手のポジションを清算することができます。

{% hint style="info" %}
清算を実行する第三者を、清算者と呼びます。\
清算者は、主にbot、ユーザー、コントラクトが該当します。
{% endhint %}

清算が実行されると、借り手の担保は没収され、代わりにベース資産の借入を返済します。

借り手に残るのは、ベース資産と清算ペナルティを差し引いた残りの担保資産です。

清算ペナルティは清算者とプロトコルで折半します。

徴収された担保資産は、割引価格で購入できることがあります。


---

# 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://pnd-docs.defigeek.xyz/shi-yang/qing-suan/toha.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.
