Altitude Docs
Launch App
  • GENERAL
    • Protocol Overview
      • Optimizing Borrowing Rates
      • Actively Managing Idle Capital
      • How do users interact with a vault?
        • Deposit
        • Borrow
        • Withdraw
        • Repay
        • Claim Rewards
        • Other user functions
      • Vault Health
      • Ingress Control
    • Yield Generation Process
      • What is a vault?
      • How much is deployed into yield farms?
      • When do we interact with Yield Farms?
        • Migrations
        • Liquidation of vault
      • How are yields recognised?
      • How are yields distributed?
      • How do we determine which Yield Farms to use?
    • The ALTI Token
    • FAQ
      • Early Rewards Program
      • About Altitude
      • What milestones have been hit so far by the Altitude Team?
      • What are the advantages of using Altitude?
      • How does it work?
      • What Oracles is Altitude using to determine the health of the vault?
      • When will Altitude enable more vaults?
      • How are yields generated?
      • How do my rewards change when I interact with the vault?
      • Who determines where unutilized assets are deployed?
      • How will Altitude work at times of high volatility?
  • Integrations
    • Lenders
  • Yield generation
  • Decentralized Exchanges
  • Smart Contracts
    • Vaults & Contracts
    • Audits
    • Security
    • Governance
  • Oracles
  • Resources
    • Risks
    • Terms of Service
    • Disclaimer
  • Contacts
Powered by GitBook
On this page

Was this helpful?

  1. GENERAL
  2. Protocol Overview
  3. How do users interact with a vault?

Withdraw

User transfers supplyTokens and receives the vault supply assets in return

withdraw(uint256 amount, address to)

  • amount - amount the user wants to withdraw

  • to - address to which the funds should be sent

The user can withdraw up a loan-to-value ratio of the specified supplyThreshold.

Withdraw fee

There is a withdrawal fee applied for the users depositing and withdrawing within a short period of time. The fee is charged in the supply asset and is distributed among the other users.

The reason for having such a fee is that when one deposits, the vault will do a rebalance to borrow more and deposit it into the farm provider for generating more yield. This can incur fees and slippage. With the time the fee is covered by the yield rewards. But without enough time, this is a cost to the vault.

The fee is currently configured to be 1% for withdraws within 50,400 blocks (~7 days).

PreviousBorrowNextRepay

Last updated 1 month ago

Was this helpful?