Lif3
Lif3.comLif3 Info
  • Introduction
  • Swap
    • About
    • Modes
      • Simple Mode
      • Advanced Mode
    • Available Tokens
  • Liquidity
    • V3
      • Add liquidity to Swap v3
      • Remove liquidity from Swap v3
      • How to collect fees from a liquidity pool on Swap v3
      • Inactive positions and Ratio
      • Change the price range of my LP
      • Fee Tiers
      • Want to provide liquidity on a Full Range?
      • LP Ownership represented by NFTs
      • Contracts Swap v3
    • v2
      • Providing Liquidity
      • APR
      • Adding/Removing Liquidity
        • Adding Liquidity
        • Removing Liquidity
  • Garden (Yield Farms)
    • About
    • Pools
    • Rewards
    • Depositing LPs
    • Withdrawing LPs
  • Terrace
    • About
    • Markets
    • Lending Pools
      • Borrowing
    • Interest Rate Model
    • Fees
    • Risks
      • Borrowing
      • Lending
    • Liquidation
    • Collateralization Model
    • User Guide
      • Lending
        • How to supply tokens for lending
        • How to withdraw supplied tokens
      • Borrowing
        • How to deposit LP tokens
        • How to leverage LP tokens
        • How to deleverage LP tokens
        • How to withdraw LP tokens
        • How to borrow tokens using LP tokens as collateral
        • How to repay borrowed tokens
      • Dashboard
  • Greenhouse
    • About
    • Pools
      • Tomb Chain
      • Fantom
      • BNB Chain
      • Polygon
    • User Guide
  • Fountain
    • About
    • Expansion
    • Conditions
    • How To
      • Staking
      • Withdrawing
      • Claiming Rewards
      • Terms
  • Nursery (Ended)
    • About
    • Pools
    • Staking
  • Lif3 Trade
    • About
    • Staking
    • Rewards
      • Compounding vs Claiming
      • Escrowed LIF3
      • Vesting
      • Multiplier Points
      • Distribution Rate
    • LLP
      • Minting and Redeeming
      • Rebalancing
    • Trading
      • Swaps
      • Opening a position
      • Managing Positions
      • Closing a Position
      • Stop-Loss / Take-Profit Orders
      • Partial Liquidations
      • Pricing
      • Fees
      • Stablecoin Pricing
    • Referrals
      • How it works
      • Tiers
  • Bridge
    • About
    • How to Bridge
  • L3 Reserve
    • About
  • L3USD
    • About
  • Contracts
    • Ethereum
      • Tokens
      • Protocol Contracts
    • Fantom Opera
      • Tokens
      • Liquidity Pools
      • Protocol Contracts
    • Polygon
      • Tokens
      • Liquidity Pools
      • Protocol Contracts
    • BNB Chain
      • Tokens
      • Liquidity Pools
      • Protocol Contracts
    • Tomb Chain
      • Tokens
      • Liquidity Pools
      • Protocol Contracts
  • Tokenomics
    • Supply Breakdown
  • Roadmap
    • Roadmap
  • Guides
    • Connecting to Lif3.com
      • Metamask
        • Tomb Chain
        • Fantom Opera
        • BNB Chain
        • Polygon
      • Edge Wallet
        • Creating a Wallet
        • Connecting to Lif3
        • Adding Tokens
      • Lif3 Wallet (Coming Soon)
    • How to buy LIF3
    • Buy Crypto with Ramp
  • Terms and Conditions
    • Risks
  • Brand Assets
  • SOCIAL
  • Telegram
  • Twitter
  • Instagram
  • Discord
  • Contact us
    • Email
Powered by GitBook
On this page
  1. Liquidity
  2. V3

LP Ownership represented by NFTs

Swap v3 represents liquidity positions using an NFT, in order to store all of the liquidity position data. This NFT is deposited in your wallet when you add v3 liquidity.

The full data that is stored in this NFT is:

  • Nonce (used for tracking permit nonces)

  • The operator (normally a 0 address, unless you have given permission to another to manage the liquidity)

  • Token0 address (address of the first token in the pool)

  • Token1 address (address of the second token in the pool)

  • The pools fee tier (the chosen fee tier of your pool)

  • The Lower Tick (the low price boundary of the position)

  • The Upper Tick (the upper price boundary of the position)

  • Your liquidity value (the value of the liquidity in the position)

  • feeGrowthInside0LastX128 (used for Fee tracking on token0)

  • feeGrowthInside1LastX128 (used for Fee tracking on token1)

  • tokensOwed0 (only used as a temporary value)

  • tokensOwed1 (only used as a temporary value)

PreviousWant to provide liquidity on a Full Range?NextContracts Swap v3

Last updated 1 year ago