Jellyverse Docs
WebsiteApp
English
English
  • Overview
    • How to Connect to SEI
    • How to get SEI Devnet Funds
    • How to make your first Swap
  • Protocol Library
    • JellySwap
      • Liquidity Management
        • Swaps
      • Pools
        • Weighted Pools
        • Stable Pools
          • Composable Stable Pools
        • Setting up a Pool Configuration
      • Impermanent Loss
        • 50/50 Pools
        • 80/20 Pools
        • Multitoken Pools
      • Preminted JPT
      • Relayers
      • Smart Order Router (SOR)
    • JellyStake
      • Staking Chests
      • Voting power
    • jAssets by BLKSWN
      • Liquidation and the Stability Pool
      • Liquidation Logic
      • Recovery Mode
      • jUSD Redemption
      • Expected User Behaviors
      • Core Smart Contracts
      • PriceFeed and Oracle
      • Contract Ownership and Function Permissions
      • Keeping a sorted list of Vaults ordered by LACR
      • Supplying Hints to Vault operations
      • Gas compensation
      • The Stability Pool
      • Swap Pools
      • Protocol System Fees
      • Governance
      • Audits
  • Jellyverse Architecture
    • Governance
    • Rewards
    • Reward Distributor
    • Tokenomics
    • Whitepaper
    • Contract Addresses
  • Audit
  • Community
    • Socials
  • COMMUNITY PROTOCOLS
    • Introduction
Powered by GitBook
On this page
  1. Protocol Library
  2. JellySwap

Liquidity Management

Vaults

At the heart of JellySwap is the Vault, a smart contract that manages the tokens in each JellySwap pool. It handles important tasks like swaps, joins, and exits, making it a central part of the JellySwap system.

The vault separates the responsibility for keeping track of tokens from the pool's operational logic. This separation simplifies the complexity of the pool contracts. Instead of burdening the pools with active asset management, they can focus on performing accurate calculations for swaps, joins, and exits.

This approach not only brings together different pool designs but also makes the Vault neutral, not favoring any specific pool's calculations. This flexibility allows the Vault to adapt to various systems that meet certain requirements.

Creative thinkers who come up with new swapping methods can easily integrate their custom pools into JellySwap's existing liquidity system. This saves them the effort of building an entire decentralized exchange from scratch.

Last updated 1 year ago