Shprd
  • Shprd
    • 📒Introduction
    • 📜Whitepaper
  • UNDERSTAND SHPRD
    • 📚Protocol Overview
    • 📈Vault Rebalancing
    • 🛡️Security
      • ⏯️Pause procedure
      • 🆘Emergency Contact
    • 💸Protocol Fees
    • 🕸️Networks
  • Guides
    • 👷Create and manage a vault
      • ⛏️Create a vault
      • ⚙️Manage a vault
    • 💰Investing in a vault
      • 🤝Choose a vault
      • 📥Deposit in a vault
      • 📤Redeem in vault
    • 🏎️RPC
      • 🔁Change RPC
      • 🔧Create your own RPC
    • 🔑Cold Wallet
  • Technical Reference
    • 🧠Core Contracts
      • 📓VLib
      • 🏭Factory
      • 💎Vault
      • 💰FeesManager
      • ⛔AccessManager
      • 🛂KYCToken
    • 📌Contracts Addresses
      • 🪙BNB Chain
      • 🚀Arbitrum
    • 📊Subgraphs
  • Other websites
    • 🔗Linktree
    • 🆔Authentication
    • 🏛️Trading Signals
  • Find Us
    • 🎮Discord
  • Help
    • 📢Issues
Powered by GitBook
On this page
  1. Guides
  2. Investing in a vault

Redeem in vault

Guide to redeem in a vault.

PreviousDeposit in a vaultNextRPC

Last updated 2 years ago

Redemption is the reverse process of deposit. The user burns his shares. If the vault has an exposure to the traded assets (i.e. it is not within 10000,0,...,0 exposures/positions), then swaps are required to redeem the user. These swap transactions are also quoted by the DEX Aggregator API and provided as call data to the function.

There is also a function redeemEach that can be used to redeem each assets in proportion to the vault positions. It might be useful if the DEX Aggregator API is down.

How to redeem

Like for a deposit you have to indicate the amount you want to redeem. Then you have to approve the amount.

After the approval you can click on redeem. After the transaction is confirmed by the blockchain you will see your funds in your wallet .

In case of an issue with the DEX aggregator, the redeem function may not work anymore. This is why you can use the redeemEach function which will allow you to redeem each asset of the vault separately.

💰
📤
Redeem window
Redeem after approval