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

# Core Fee

## Fee Breakdown

[Direct link to heading](#fee-breakdown)

UdonFi applies a flat **0.1% fee** on specific actions to support protocol sustainability and treasury growth. These fees are transparently applied and enforced on-chain.

Only the following actions incur a fee:

| Action       | What Happens                                                                              | Example                                                                                          |
| ------------ | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| **Supply**   | No fee applied. You deposit the full amount.                                              | You supply **100 CHR** → receive **100 CHR** in protocol.                                        |
| **Withdraw** | **0.1% fee** deducted from the amount you withdraw.                                       | You withdraw **100 CHR** → receive **99.9 CHR**, **0.1 CHR** goes to **UdonFi treasury**.        |
| **Borrow**   | **0.1% fee** taken upfront; debt reflects full amount.                                    | You borrow **100 CHR** → receive **99.9 CHR**, debt shows **100 CHR**.                           |
| **Repay**    | **0.1% fee** applied to what you repay. Only **99.9%** of the repaid amount reduces debt. | You repay **100 CHR** → only **99.9 CHR** counts. To repay **100 CHR** debt, send **100.1 CHR**. |

{% hint style="info" %}
Formula for full debt repayment:

To fully repay a debt of `X`:

Repay amount = X × 100 / (100 − fee percentage)

At the current fee of **0.1%**, this simplifies to:

Repay amount = X × 100 / 99.9
{% endhint %}

***

## Why It Matters

[Direct link to heading](#why-it-matters)

These fees:

* Prevent spam and misuse of protocol functions
* Grow the treasury for future incentives and upgrades
* Keep UdonFi lean, sustainable, and community-aligned

Only three actions are charged: **withdraw**, **borrow**, and **repay**. **Supplying is always fee-free.**

Last updated 2 months ago

[Direct link to Fee Breakdown](#fee-breakdown)
