# User Guide

## How to Lend ?

Visit [cSigma Edge DApp](https://app.csigma.finance/portal/sign-in).

Click on Connect Wallet. It will prompt the lender to connect a wallet of their choice.&#x20;

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

In order to access the cSigma Edge DApp, lenders will be prompted to accept the [terms of service.](/csigma-protocol/legal/terms-of-service.md)&#x20;

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

After accepting the terms the terms of service, lenders will able to access different [csUSD Vaults](https://csigma-edge.gitbook.io/csigma-edge/~/revisions/1YbbanLlhTuZpYjCJbDL/technical-resources/csusd-architecture), [csLYD vaults](https://csigma-edge.gitbook.io/csigma-edge/~/revisions/PEx7t0Z4epYroF8sy2tn/technical-resources/cslyd-architecture) and [Master Pools](https://csigma-edge.gitbook.io/csigma-edge/technical-resources/protocol-overview#master-pools) on available chains on the platform .&#x20;

<figure><img src="/files/64XFblPZSKosBCEiztts" alt=""><figcaption><p>Yield Bearing Token Vault </p></figcaption></figure>

Lenders can also find more details about the individual Vaults by clicking the `View Details` button

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

Lenders can begin lending by selecting any csUSD or csLYD vault and clicking the `Mint` button under the Earn tab on their chosen network. They can then enter the desired amount and proceed with Mint

The lender will asked to approve the stable coins to the selected Vault. After approving, the lender needs to confirm the Mint transaction.

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

For Edge pools, Lenders can select any of the master pool to start lending by clicking against the `Transact` button of the desired Master Pool.

This will open a pop-up window. Each pool has it's own minimum and maximum supply limit. Lenders can provide a value in between the given range and click on `Deposit`.

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

The lender will asked to approve the stable coins to the selected Master Pool. After approving, the lender needs to confirm the deposit transaction.&#x20;

Lenders can see their investments in the portfolio section of cSigma Edge DApp.

<figure><img src="/files/50pJLYTf6pHFTlCaFWKd" alt=""><figcaption></figcaption></figure>

## How to Withdraw ?

Visit the cSigma Edge DApp.

After connecting the wallet, click on the `Transact` button against the Edge Master Pool or `Redeem` button on the csUSD/csLYD vaults under the earn tab, from which the lender wants to withdraw.&#x20;

<figure><img src="/files/2oRb4JGzt6K2vrjTJPku" alt=""><figcaption></figcaption></figure>

After clicking on the bi-directional arrow, lenders can provide the amount of stable coins they want to withdraw or the amount of LP tokens they want to burn.

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

Click on `Withdraw` button.&#x20;

This will prompt the lender to accept the withdrawal transaction. Once the transaction is complete, the lender can find the stable coins in their wallet.

In a pool where queue based withdrawals are enabled, your withdrawal request can be either completely or partially fulfilled, or the the protocol takes custody of your LP tokens and returns you your position in the queue.

If the request is going in the queue you see a message in `Redeem` window as shown below:

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

As we can see user is trying to withdraw 800 USD of which 200 is immediately given to the user and remaining will be added to queue as shown below:

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

Users can claim their request once the request if fulfilled. Users can also the last fulfilled position to note how far is their position from last fulfilled position.

Once the position is fulfilled, a `Claim` button appears against the respective queue position which when triggered claims the queue position.

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

## How to Stake ?

After completing the deposit functionality, lenders receive LP tokens which earn a certain APY. cSigma Edge also provides another [earning opportunity](/csigma-protocol/about-edge/sigma-rewards.md) on top of this APY which they can earn in the form of [SIGMA](/csigma-protocol/sigma/launch.md) tokens.

To earn SIGMA rewards, lenders need to lock their LP tokens inside a staking vault. Lenders need to select the LP token of a Master Pool which they want to lock.

Click on `Transact` button. Switch to `Stakes` in the pop-up window. Fill in the amount and select the lock-in period.

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

Depending on the dollar value of LP tokens and the commitment period, the vault calculated the SIGMA rewards which will be credited to lender's wallet once they unstake.

## How to unstake ?

Once the commitment period for LP tokens is over. Lenders can `Transact` against the same Master Pool. They need to switch to `Stakes` tab of the pop-up window.&#x20;

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

If the commitment period is over, click on `Unstake` button to unstake.

###


---

# 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://csigma-edge.gitbook.io/csigma-protocol/troubleshooting-and-support/user-guide.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.
