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

Preminted JPT

Preminted JPT in JellySwap: A Simplified Look

Understanding Preminted JPT: JellySwap pools have evolved and a new concept called "Preminted JPT" has emerged. Why? Well, as more complex pool setups (like nested pools) became popular, there was a need for easier transitions from a token in a pool directly to its JPT (JellySwap Pool Token). Normally, this transition is called a "join", and it can be complex and costly in gas when part of a multi-hop batch swap.

What Does preminted JPT Do?

  • When the pool is created, it mints the maximum amount of JPT possible (2**(111)) right away.

  • This JPT is then treated as a regular token within the pool.

  • However, the pool's calculations act as if this JPT isn't there, making the total JPT supply not that meaningful.

  • Instead, what matters is the "virtual supply" – which is the JPT amount actually held by users outside the Vault.

What's the Benefit?

  • With pools having Preminted JPTs, like the Composable Stable Pools, users can directly swap from a token in the pool to its JPT.

  • Before Preminted JPT, this kind of swap needed a separate "join" process.


In simpler terms: Preminted JPT is like a pre-loaded gift card for JellySwap pools. Instead of minting new JPT tokens every time a user adds liquidity to a pool, the maximum JPT balance is minted upfront, making entrances into the pool cheaper.

Last updated 1 year ago