# Lending In Edge

## Lending in Edge

Edge provides two ways for users to lend into the cSigma institutional lending ecosystem:

1. **Edge Pools (ERC-4626)** – single-asset vaults with pool-specific LP tokens.
2. **csUSD Vault (ERC-7575)** – a multi-asset vault with a single yield-bearing token, **csUSD**.

Both options share the same lending backend and cross-chain infrastructure, giving users flexibility while keeping yield generation consistent.

> **ℹ️ Launch Timing**<br>
>
> * The csUSD Vault launched in September 2025.
> * The csLYD Vault is scheduled to launch in November 2025. At launch, the Edge Home page will feature the csLYD swap widget, and a new "Liquid Yield" tab will be introduced

***

### 1. Lending via Edge Pools (ERC-4626)

**Getting Started**

1. Connect your crypto wallet.
2. Choose a pool for the stablecoin you want to deposit (e.g., USDC Pool or USDT Pool).
3. Deposit your funds and receive LP tokens representing your stake.
4. Track your position in the **Portfolio** page.

**Approvals**

* Approve the pool smart contract for the exact amount you wish to **mint** each time. This approval defines the spending limit for that specific transaction.
* We also supports **ERC-7702**, allowing you to **approve and mint/redeem** in a single transaction for a smoother experience.

**Technical Flow**

1. Deposit stablecoins into the chosen pool.
2. Pool contract mints LP tokens to your wallet.
3. LP token value grows as borrowers repay loans.

**Cross-Chain Deposits** *(Powered by Stargate + LayerZero)*

* Deposit from any supported chain into an Edge Pool.
* Assets are bridged to the chain where the pool resides.
* LP tokens are minted directly to your wallet on the destination chain.

**Supported Networks** Ethereum, BNB Chain, Avalanche, Polygon, Arbitrum, Optimism, Mantle, Base, Kava, Core, Sonic, Gnosis.

**Bridging Fees & Slippage Protection**

* Router estimates your output before bridging.
* If expected amount falls below a safe minimum due to slippage, transaction is blocked.
* Full bridging and messaging fees are displayed upfront.

***

### 2. Lending via csUSD Vault (ERC-7575)

**Overview** The csUSD Vault allows you to deposit USDC or USDT into a single multi-asset vault. In return, you receive **csUSD**, a yield-bearing ERC-20 token backed by multiple stablecoins.

**Key Benefits**

* One deposit = diversified exposure.
* No need to manage multiple LP tokens.
* Yield is automatically reflected in csUSD’s exchange rate.
* Swapping in/out of csUSD directly from the Home page via **CowSwap integration**.

**Ways to Acquire csUSD**

1. **Direct Deposits**:
   * USDC
   * USDT
2. **Swapping via CowSwap Integration**):
   * WETH
   * DAI
   * wstETH
   * USDS
   * cbBTC
   * WBTC
   * USDe
   * PYUSD
   * USD0++

**Getting Started**

1. Connect your wallet.
2. On the Home page, use the csUSD swap widget to deposit USDC or USDT into the vault.
3. Receive csUSD in your wallet — your single yield-bearing token.
4. Track your holdings on the **Portfolio** page.

**Approvals**

* Approve the csUSD Vault to spend your USDC or USDT.
* This approval is only needed once per asset.

**Technical Flow**

1. Deposit USDC or USDT into the csUSD Vault.
2. Deposit is routed into the corresponding ERC-7575 sub-vault for that stablecoin.
3. csUSD is minted to your wallet, representing your proportional share of the entire vault.
4. Yield accrues as the vault’s assets grow.

**Cross-Chain Deposits** *(Powered by Stargate + LayerZero)*

* Bridge deposits from any supported chain to the csUSD Vault’s main chain.
* csUSD is minted directly to your wallet on the destination chain.

***

### 3. Lending via csLYD Vault (ERC-7575)

### Summary Table

| Feature                 | **Edge Pools (ERC-4626)**  | **csUSD/csLYD Vault (ERC-7575)** |
| ----------------------- | -------------------------- | -------------------------------- |
| **Deposit Token**       | Single stablecoin per pool | USDC or USDT                     |
| **Share Token**         | Pool-specific LP token     | Unified csUSD/csLYD token        |
| **Diversification**     | No                         | Yes                              |
| **Cross-Chain Support** | Yes                        | Yes                              |
| **Trading via CowSwap** | No                         | Yes – from Home page             |
| **UI Location**         | "Pools" tab                | Home page swap widget            |


---

# 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/about-edge/lending-in-edge.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.
