---
description: Repaying borrowed Kresko Assets of an ICDP
---

# Burn / Repay

{% hint style="warning" %}
**This documentation is a work in progress!**
{% endhint %}

{% hint style="success" %}
Repaying debt is the most effective way to increase your [health factor](../../glossary).
{% endhint %}

As with [minting](minting-borrowing), the term burn comes from the ERC-20 standard and it refers to the process of decreasing the supply of a token.&#x20;

Repayment of debt in the [protocol](../../../developers/contracts-overview) is done by a function which burns the amount repaid from the repaying accounts balance. This decreases the total supply of the Kresko Asset and decreases the protocol debt amount for the repaying account.&#x20;

Because the debt value for the asset within the protocol is reduced, the account is now able to [withdraw](withdraw) any collateral that was backing it.

{% hint style="info" %}
Each burn will emit an event with relevant information

<pre class="language-solidity"><code class="lang-solidity">/**
 * @notice Emitted when an account burns a Kresko asset.
<strong> * @param account The address of the account burning the Kresko asset.
</strong> * @param kreskoAsset The address of the Kresko asset.
 * @param amount The amount of the Kresko asset that was burned.
 */
event KreskoAssetBurned(address indexed account, address indexed kreskoAsset, uint256 indexed amount);
</code></pre>
{% endhint %}

## Conditions Preventing Repayments

Unlike minting, repayment of debt is not limited by the market status of the underlying asset but two situations exist where users wont be able to do so.

### Minimum Debt Value

Protocol has a USD-denominated lower limit that forbids tiny debt positions. This prevents spamming and ensures no dust positions form which could get annoying for the users themselves and troublesome for liquidators to process.

This means if the Minimum Debt Value is $10 and debt owed is valued $300, repaying $290.01 will not work. Repaying any amount less or equal to $290 or the full $300 will work.

### Safety State: Pause

In an emergency situation the [Safety Council](../../glossary) multisig can pause repayments for a Kresko Asset to prevent possible negative impact it would have.&#x20;

