# Deposit

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

{% hint style="success" %}
Depositing collateral will increase your [health factor](https://kopio.gitbook.io/kopio-docs/fundamentals/glossary).
{% endhint %}

In order to [mint](https://kopio.gitbook.io/kopio-docs/fundamentals/cdps/icdp/minting-borrowing) any [Kopio Asset](https://kopio.gitbook.io/kopio-docs/fundamentals/kresko-assets), account must have collateral value to back them. The value is gained by depositing any of the whitelisted [Collateral Assets](https://kopio.gitbook.io/kopio-docs/fundamentals/collateral-assets) into the protocol.

This requires the user to give [Approval](https://kopio.gitbook.io/kopio-docs/fundamentals/glossary) for the protocol to transfer the tokens from the users wallet into the main protocol contract where they reside until the user [withdraws](https://kopio.gitbook.io/kopio-docs/fundamentals/cdps/icdp/withdraw) them or gets [liquidated](https://kopio.gitbook.io/kopio-docs/fundamentals/cdps/icdp/liquidations).

Unlike in minting, [burning](https://kopio.gitbook.io/kopio-docs/fundamentals/cdps/icdp/burn-repay) or withdrawals - *anyone* can deposit collateral for another account. Note that this is equal to **donation** if you are **not** controlling the account receiving the collateral.

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

```solidity
/**
 * @notice Emitted when an account deposits collateral.
 * @param account The address of the account depositing collateral.
 * @param collateralAsset The address of the collateral asset.
 * @param amount The amount of the collateral asset that was deposited.
 */
event CollateralDeposited(address indexed account, address indexed collateralAsset, uint256 indexed amount);
```

{% endhint %}

## Conditions Preventing Depositing

### Safety State: Pause

In an emergency situation the [Safety Council](https://kopio.gitbook.io/kopio-docs/fundamentals/glossary) multisig can pause the depositing of a Collateral Asset to prevent possible negative impact it would have.

### Kopio Asset Minimum Collateral Amount

For [Kopio Asset](https://kopio.gitbook.io/kopio-docs/kresko-assets#overview) [collaterals](https://kopio.gitbook.io/kopio-docs/collateral-assets#overview) the minimum deposit amount is 1e12 or 0.000001. Accounts must have collateral deposits greater than this amount if the collateral asset is a Kopio Asset.


---

# 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://kopio.gitbook.io/kopio-docs/fundamentals/cdps/icdp/deposit.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.
