# 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**\
> The csUSD Vault is scheduled to launch in the **first week of September 2025**. At launch, the Edge **Home page** will feature the csUSD swap widget, while the existing Edge Pools will be moved into a new **"Pools" tab**.

***

### 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’s smart contract to spend your stablecoins.
* This is a standard, one-time transaction per asset.

**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.

***

### Summary Table

| Feature                 | **Edge Pools (ERC-4626)**  | **csUSD Vault (ERC-7575)** |
| ----------------------- | -------------------------- | -------------------------- |
| **Deposit Token**       | Single stablecoin per pool | USDC or USDT               |
| **Share Token**         | Pool-specific LP token     | Unified csUSD 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      |
