๐Ÿ““
Notional Finance
  • ๐Ÿ—’๏ธTo-Do List [Notional]
  • ๐ŸงตTwitter Threads
    • fCash Overview
    • AMM Overview and Trades
    • fCash Valuation 1
    • Liquidity Fees
    • Lenders trade (fCash)
    • Lender Trade 2
    • Borrower trade (fCash)
    • What happens at maturity?
    • Page 2
  • Experiment
    • DUNE & Dashboard
    • Docs & Topics
      • Interest Rate Risk
      • Inverse Interest Rate Risk
      • AMM Curve Comparison
      • Understanding Risk adjusted TVL
      • How Notional stays solvent
      • Liquidation!?
      • Prime Cash
    • Excel & Numbers
      • Duration Risk
      • 200% CR rate comparison
    • Trades
  • Weekly Reproducible Vault
    • 29 May - 4 June
      • Activity
      • IR Compare
    • 5 June - 11 June
    • 12 June - 18 June
  • ๐Ÿ’ธfCash
    • What & Why fCash?
    • fCash Use-case
    • fCash maturity
  • โš—๏ธCounterparty liquidity pool
    • Liquidity pool
    • AMM
    • Liquidity pool interactions
      • Lending Trade
      • Borrow Trade
      • Liquidity provisioning trade
  • ๐Ÿ’นfCash Finances
    • Valuing fCash
    • Risks subject to the change in Rates
      • The upside of the change in Rates
  • ๐ŸšฐLiquidity providers
    • Liquidity provisioning
    • Liquidity provider's portfolio
      • Net Lending Position for an LP
      • Net Borrowing Position for an LP
    • Yield earning (v1)
    • Risks (v1)
  • ๐ŸฅBorrower Resources
    • Collateralization
    • Free Collateral Computations
  • ๐Ÿช™nTokens
    • Automated liquidity provisioning for LPs
    • Mechanics
      • Minting nTokens
      • Redeeming nTokens
    • fCash position for nToken holders
    • Yield earning (v2)
    • Risks (v2)
  • โŒ›Tenor Maturity
    • Maturity
    • fCash maturity
    • Quarterly Rolls
  • ๐Ÿ”Leverage vaults
    • Leveraged yield opportunities
    • Vault mechanics
      • Entering
      • Exiting
    • Collateralization & liquidations
    • Balancer/Aura wstETH/WETH Strategy
      • Entering in Bal/Aura wstETH/WETH strategy
      • Exiting from Bal/Aura wstETH/WETH strategy
  • ๐Ÿ›๏ธV3
    • Page 1
Powered by GitBook
On this page
  1. Leverage vaults
  2. Vault mechanics

Exiting

PreviousEnteringNextCollateralization & liquidations

Last updated 2 years ago

Exit

Users can exit a vault at any time, either before or after their debt matures. If the user exits before the maturity of their debt, Notional will redeem the user's vault shares, pay off their debt by lending to the specified liquidity pool at the current market rate, and return the excess capital to the user.

If the user waits until after maturity, their position will be settled for them. This involves their vault shares being redeemed and used to pay off their debt as part of the vault-wide settlement process. The capital that remains after the user pays their debts will stay invested in the vault strategy on an un-levered basis and the user can re-lever or withdraw that capital as they please.

Example Walkthrough

Here is the flow of funds when a user makes a withdrawal request. ETH is taken as an example for explanation.

  1. Notional tracks the user account by querying the address info. When a user makes a withdrawal request, Notional looks up the user's portfolio which consists of vault shares (reflecting the investment position) and -ve fCash (reflecting the borrowed funds).

  1. Notional redeems the vault shares for the user.

  1. Redeeming vault shares would grant tokens based on the strategy in use (ETH is taken as an example). The token received by the Notional account would include the principal, borrowed funds, interest and the remaining will be the yields.

  1. Notional account will now convert the tokens received from the vault to cTokens (cETH here), this is done to repay the loan by balancing the -ve fETH in the portfolio.

  1. +fETH is required as a repayment of the borrowed funds + interest. Naturally, the cETH spent to buy +fETH equals the borrowed funds + interest. Thus, an adequate amount of cETH is swapped for +50 fETH. Here the exchange rate between cETH/fETH will be based on the current interest rate and the time left to maturity for that particular fETH.

  1. Surplus ETH is sent back to the user.

๐Ÿ”