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?

Borrow

User borrows the specified amount of borrow assets from the vault and receives borrowTokens in exchange to represent their debt.

borrow(uint256 amount)

  • amount - the amount the user wants to borrow

Upon receiving a request for a borrow the vault will check how this request would affect the users position and if within specified margins will borrow the required amount from the active lending provider.

borrowToken A borrow token is issued to represent the debt owed by the user. This is an interest bearing token and therefore the users debt can go up over time, where this increase will be in line with interest charged on our lender debt.

When calling the balanceOf function on a borrow token any loan reductions will be calculated also.

As debt is non-transferrable, borrow tokens can not be transferred to other users.

Thresholds There are several thresholds that impact the user position:

supplyThreshold → users can actively borrow and withdraw but their loan-to-value should stay below this value

liquidationThreshold → the user position can be liquidated if their loan-to-value is higher than this value

PreviousDepositNextWithdraw

Last updated 1 year ago

Was this helpful?