# How to Deposit/Repay Base Assets

After connecting your wallet, deposits/repayments become possible when you own base assets.

Click on the base asset row on the pool detail page.

<figure><img src="https://3990862584-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKP6SsdesCFe6jfgBhMAY%2Fuploads%2FBrUKZuqrXFMdIqPWDuGz%2Fimage.png?alt=media&#x26;token=391a8f3e-9d12-4377-8aeb-d121ee659aaf" alt=""><figcaption></figcaption></figure>

Click on the "Deposit (or Repay)" tab in the popup screen.

<figure><img src="https://3990862584-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKP6SsdesCFe6jfgBhMAY%2Fuploads%2FXXDcuAIiQx5LK4hgrWb6%2F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202024-10-13%2021.51.30.png?alt=media&#x26;token=12de4887-abeb-4929-8bd3-5b123ebaa272" alt=""><figcaption></figcaption></figure>

Enter the amount of tokens you want to deposit or repay in the input field.

If you want to repay in full, press the "Repay All" button on the right.

If you want to deposit all base assets you have, press the "MAX" button on the right.

For deposits, after checking the deposit APR, press the "Submit" button.

<figure><img src="/files/9uMGhYsqQG0InkpkRpyQ" alt=""><figcaption></figcaption></figure>

Please enter the number of tokens to allow the contract to operate in the input field (for MetaMask, the custom spending cap in the image below).

After entering, press the "Next" button.

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

On the next screen, check the estimated fee (gas fee) and press the "Approve" button at an appropriate time.

Please note that fees must be paid in ETH.

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

After waiting a while for the request to complete, the following screen will be displayed.

This is the screen to actually withdraw/repay the tokens you just approved.

Check the estimated fee (gas fee) and press the "Confirm" button at an appropriate time.

Paying higher fees allows faster execution.

Adjust the fee if necessary.

ETH is also required here as a fee.

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

If the correct values are displayed in the designated location on the pool detail page, the base asset deposit/repayment is complete! 🎉

<figure><img src="https://3990862584-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKP6SsdesCFe6jfgBhMAY%2Fuploads%2FR57lJaDaZViSKNALvTzS%2FGroup%2033b.png?alt=media&#x26;token=8b573aac-c7b6-4875-b6f1-693ac6a65773" 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://pnd-docs.defigeek.xyz/punodwo-dokyumento/english/user-guide/how-to-deposit-repay-base-assets.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.
