# Supply

#### The supply function transfers an asset to the protocol and adds it to the account’s balance. This function can be used to supply collateral, supply the base asset, or repay an open borrow of the base asset.

#### If the base asset is supplied resulting in the account has a balance greater than zero, the base asset earns interest based on the current supply rate. Collateral assets that are supplied do not earn interest.&#x20;

#### There are three separate methods to supply an asset to Lenen Protocol. The first is on behalf of the caller, the second is to a separate account, and the third is for a manager on behalf of an account.&#x20;

#### Before supplying an asset to Lenen Protocol, the caller must first execute the asset’s VRC-20 approve of the Comet contract.


---

# 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://lenen-protocol.gitbook.io/lenen-protocol/core-function/supply.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.
