# Using vault markets

Using vault markets is a seamless experience while all the actions are completed in 1 transaction.&#x20;

## Supplying and Withdrawing

When a user supplies the base asset, for example, USDC, it is wrapped into yvUSDC and sent to the Vault Market. While the USDC is in yvUSDC form, it continues to generate yield. Upon withdrawal, the Vault Market unwraps yvUSDC back into USDC, which is then sent to the user.

<figure><img src="/files/lgHPWxZG8j3QLi46gxR8" alt=""><figcaption></figcaption></figure>

## Borrowing and Repaying

During the borrowing process, the borrowed asset is initially taken out in the form of vault shares. It is then unwrapped into the target asset. For instance, yvUSDC is unwrapped to become USDC. Upon repayment, the USDC is wrapped back into yvUSDC and repaid to the market.

<figure><img src="/files/lDw861buZNpcrMFvGOju" alt=""><figcaption></figcaption></figure>


---

# 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://docs.drops.co/lending-pools/positions-lending-pool/using-vault-markets.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.
