LogoLogo
Launch App
  • ⚡Get Started
    • 1️⃣Step 1: Connect Your Wallet
      • 💳Wallets: Best Web3 Options
      • 💰FOUR Ways to Get Funds onto the Shade App
      • 💰How to move tokens from a CEX to Shade
    • 2️⃣Step 2: Create a Viewing Key
    • 3️⃣Step 3a: Hit The Button -> Buy SHD in >30 seconds
    • 3️⃣Step 3b: Bridge
      • How to bridge to Secret Network
      • How to bridge assets from Secret Network to another chain
    • 4️⃣Step 4: Swap Assets
    • 5️⃣Step 5: Use our Features
      • 💲Bonds Feature
        • How to Claim Bond Rewards
        • How to Purchase a Bond
      • 🏦Borrow Feature
        • Borrow (Silk): How to take out and repay a loan
        • Borrow (Silk Earn): How to Deposit and Withdraw
        • Borrow FAQ
      • 📈Derivatives Feature
      • 📖History Feature
        • What is a transaction hash
        • How to view transaction history
      • 💧Pools Feature
        • How to Enter and Exit Liquidity Pools
        • How to Stake and Unstake
        • How to Claim Rewards
        • 'Mint LP Shares and Stake' vs. 'Mint LP Shares'
        • Liquidity Pool FAQ
      • 💹Portfolio Feature
      • ➡️Send Feature
      • 🔵SILK Feature
        • How to Buy Silk
        • SILK's Peg
        • SILK FAQ
      • 📍Stake Feature
        • How to Stake and Unstake
        • What is stkd-SCRT
      • ⚙️Utilities Feature
      • 🔁Wrap Feature
      • 💠NFTs
        • How to Purchase a Shade NFT
        • How to Verify NFT Ownership
        • How to Sell an NFT
        • How to Bid on an NFT
    • 6️⃣Step 6: Connect with Community
    • 📚Beginner Resources
      • What is SCRT
      • Convert SCRT <> sSCRT
      • ⛽Gas Fees
        • How to Increase Gas Fees:
  • 🌑Advanced Topics: Shade Metaengine
    • 🌑What is SHD
    • 🖥️Tech Stack
    • ✍️Principles
    • ⚕️Ethos
    • 🏛️Governance
    • 🏦ShadeDAO
    • 💰Tokenomics
    • 🌀SHD
    • ✔️Brand
    • 📜Tutorials
  • 🌑Advanced Topics: Apps
    • 🔵SILK
      • Minting & Redemption
        • Overcollateralized Minting
        • Collateral Redemptions
        • Bonds
      • Basket Composition
      • Peg Migration
      • Governance
      • Tutorials
    • 🌉Bridge
    • 💱ShadeSwap
      • Trading
      • Liquidity Providing
      • LP Staking
      • Asymmetric, Concentrated Liquidity
      • Shade Swap Contracts
    • 🦅Lend
      • Stability Mechanisms
      • Risks and Fees
    • 📓Bonds
      • Bond Types
      • Collateral Types
      • Illiquid Markets
      • Issuance Policy
      • Bond Tokenomics
      • Tutorials
    • ♟️stkd-SCRT
      • Feautures
      • User Stories
      • Governance & Validators
      • Tutorials
      • FAQ
    • 💱ShadeX - Money Market
      • Liquidations
      • Logs and Transparency
      • Risk Management
      • Configurations and Restrictions
      • Fees
      • Contracts
  • 💳Wallets
    • Keplr
      • Install Keplr
      • Create Keplr Wallet
      • Import a Keplr Account
      • Import a Ledger Account
    • Fina Mobile
  • Research
    • Audit Log
    • Stablecoins
Powered by GitBook
On this page

Was this helpful?

  1. Advanced Topics: Apps

ShadeX - Money Market

Fully Encrypted Money Market On Chain

ShadeX is an encrypted borrowing and lending protocol that ensures all contract interactions, including borrowing, lending, collateral management, and yield generation, are private by default. The platform enables cross-margin borrowing positions with robust features for lenders and borrowers, providing flexibility and security for users and the protocol.

Key Features

Lenders

  • Supply and Withdraw: Lenders can supply assets into a vault and withdraw their supply when needed. Upon supplying, lenders receive yield-bearing “x” tokens (lent tokens). Lenders earn interest from the utilization of their lent assets by borrowers.

    • Tokens available to Lend are required to be whitelisted. All Lent tokens accept all whitelisted collateral for borrowing.

    • When users lend tokens, they have the option to receive “x” tokens or to “Donate” the funds being lent to the lending pool (only used to compensate for bad debt)

  • Native Use Cases of x-Tokens:

    • Optional Staking: “x” tokens can be deposited into a staking contract to earn additional rewards (supply-side rewards). These rewards can be claimed in a traditional fashion similar to LP rewards or staking rewards on the Shade app.

    • Provide Liquidity: “x” tokens can be provided along with their corresponding base asset (the asset being lent out) to earn swap fees and potential LP rewards.

Borrowers

  • Provide Collateral and Borrow:

    • Users can provide whitelisted collateral to borrow any lent asset in a particular market up to the Max LTV of the respective collateral provided. For multiple collateral assets backing a debt position, the Max LTV will be the average Max LTV of the collateral assets. The liquidations

    • Users have the opportunity to earn borrowing rewards on their loan’s principal (when configured). These borrowing rewards effectively act as a subsidy to borrowers for the interest paid to lenders and help stimulate borrowing activity.

    • Each whitelisted collateral has a configured Max LTV and Liquidation LTV. The Max LTV represents the maximum value that can be borrowed relative to the value of an individual or group of collateral. The Liquidation LTV represents the maximum value a loan can be at relative to its collateral value before it is subject to liquidations, where Liquidation LTV > Max LTV.

  • Collateral Swaps:

    • ShadeX offers a unique functionality called “Collateral Swap”, which allows for borrowers to swap the collateral they have backing their loans using pre-configured routes using ShadeSwap

    • Before a collateral swap can happen, the health of the users position is checked. A position is considered healthy if the position is not above Max LTV or flagged for liquidation (above Liquidation LTV). The user can swap collateral so long as the post swap LTV of the position is not above Liquidation LTV for a particular collateral. A position is considered unhealthy if it is at or above the Max LTV for its collateral backing. For unhealthy positions, users can only perform collateral swaps that increase the help of their position.

    • Slippage constraints are user-restricted.

  • LP Tokens as Collateral:

    • ShadeX allows for the use of LP tokens as collateral and borrowable/lendable tokens. [feature complete but not live with current version, will be launched with new pools later]

    • For LP tokens provided as collateral, users have the ability to “stake” their LP tokens provided as collateral to earn LP rewards (effectively increasing the yield generated by the LP token). If users stake their LP tokens while providing as collateral, any changes to collateral (including depositing/withdrawing collateral) trigger claiming of LP rewards in a master contract that manages LP rewards on behalf of all borrowers providing LP tokens and staking them.[feature complete but not in scope for mainnet launch]

Flash Loans

  • ShadeX allows users to perform flash loans, which allows for borrowing from any market without collateral, provided the entire debt and configured interest are repaid in the same transaction.

PreviousFAQNextLiquidations

Last updated 2 months ago

Was this helpful?

🌑
💱