Holdr Protocol Overview
  • Protocol Overview
  • Developer Docs
  • Product
    • Overview
    • The Vault
    • Pools
      • Weighted Pools
      • Composable Stable Pools
      • Liquidity Bootstrapping Pools (LBPs)
    • Smart Order Router
  • Concepts
    • Math
      • Weighted Math
      • Stable Math
    • Fees
  • Ecosystem
    • Governance
    • veHLDR and Gauges
      • veHLDR
        • How veHLDR Works
        • How To Use veHLDR
        • How veHLDR Boosting Works
          • Working Supply
          • Calculating My Boost
          • Minimum veHLDR for Max Boost
      • Gauges
        • How Gauges Work
  • Developers
    • Deployment Addresses
  • Getting Started
    • FAQs
      • Swapping
      • Liquidity
      • Liquidity Mining with the veHLDR and Gauge System
      • Fees
      • The Vault
      • Pools and LBPs
Powered by GitBook
On this page
  • What is the Vault?
  • How does the Vault work?
  • What are Internal User Balances?
  1. Getting Started
  2. FAQs

The Vault

What is the Vault?

It is a single contract that holds and manages all the assets added by all Holdr pools. This allows Holdr to take full advantage of its multi-pool trading routing in order to offer the best trade routing options.

How does the Vault work?

Holdr separates the Automated Market Maker (AMM) logic from the token management and accounting. Token management/accounting is done by the Vault while the AMM logic is individual to each pool.

Because pools are contracts external to the Vault, they can implement any arbitrary, customized AMM logic.

What are Internal User Balances?

Important: DO NOT blindly transfer tokens to the Vault expecting to get a User Balance. They must be added through the UserBalance smart contract. Any tokens sent directly to the Vault or a pool contract will be irretrievably lost.

Internal user token balances are tokens that belong to you that are kept inside the Vault. They are useful for high-frequency trading since they require no external token transfers. The only ERC20 token transfers you need to perform are when you're initially putting your tokens in the Vault and withdrawing them later. (This feature is available at the contract level.)

PreviousFeesNextPools and LBPs

Last updated 2 years ago