Collection.xyz Documentation
Collection.xyz
  • What is Collection.xyz?
  • Collection Concepts
    • Liquidity Pool
      • Advanced Pool
      • Basic Pool
    • Bonding Curve and Delta
    • Fee
    • Buy / Sell
    • APR
    • The Collection Whitepaper
    • Collection 1.00: Patch Notes
  • User Guides
    • Create a Trade Pool
    • Create a Buy Pool
    • Create a Sell Pool
    • Buy & Sell NFTs instantly
    • LP Strategy Guide
  • Technical Reference
    • NFT AMM
      • What Is A CollectionPool?
      • Differences Between Individual And Communal Liquidity Pool Model
      • How do I determine if a pool has sufficient liquidity to fulfil an order?
    • Fee Structure
      • Overview of the Fee Structure in NFT AMMs
      • Calculation and Collection of Fees
    • Royalties
      • How are royalties implemented?
      • Relation between Royalties and Fees in the AMMs
      • All Possible Royalty Scenarios
    • Airdrop Compatibility
      • Can Collection.xyz handle airdrops?
    • Pool Types
      • Definition of Pool Types In NFT AMMs
      • Comparison of Different Pool Types
    • Bonding Curves
      • Parameters of the bonding curves
      • Type of bonding curves
        • Linear Curve
        • Exponential Curve
        • Sigmoid Curve
      • How are the parameters used in each of the bonding curves?
      • Customizable spread curves
    • Github Repos & Addresses
    • Audit Reports
    • Technical User Flows
      • Technical Architecture
      • Create Pool
      • Swapping and Trading: User Buying NFT
      • Swapping and Trading: User Selling NFT
      • Bonding Curves and Pricing
Powered by GitBook
LogoLogo

Collection.xyz

  • Main Website
  • NFT DEX Testnet

Connect with us

  • Discord
  • Twitter
  • Blog

© 2023 Collection. All rights reserved

On this page
  1. Collection Concepts
  2. Liquidity Pool

Advanced Pool

PreviousLiquidity PoolNextBasic Pool

Last updated 2 years ago

Liquidity providers can now specify the group of NFTs they want to trade against — the pool filter.

  • User will interact with filtering functions (by traits, or other attributes) on Collection’s interface.

  • The list of corresponding NFT tokenIDs will be hashed using our opensource library into a Merkle Root filter. (This list of NFTs (the allowedSet) is different from the NFTs put into the pool (the actualSet). The actualSet is a subset of the allowedSet.)

  • After depositing their assets, they can proceed to set parameters such as fees, bonding curve, delta and royalty.

  • Traders who want to trade against the liquidity in the pool will need to provide a proof (again from our opensource library, which we automatically calculate in our frontend) to buy or sell against the pool. The proofs guarantee only NFTs meeting the specific sub-criteria can enter the pool through the buy or sell functions.

For example, Alex decides to create an Advanced Pool for Golden Azuki. Using Collection.xyz, he filters all Golden Azukis for the pool he wants to trade against. He then proceeds to deposit his own Golden Azuki into the pool and set the parameters accordingly.

The pool is now live, and other traders can buy the Azuki at the set-price. For traders who own a Azukis, only Golden Azukis can be sold into the pool (based on requirements created when setting up the pool).

The example above is used specifically for 2-sided Advanced Pool.

It is pivotal to understand the concept that the group of NFTs you select in the UI at the point of pool creation, and hence trading against, is not the same as the NFTs you have to deposit into the pool. After customizing the pool, you have to choose which NFTs to deposit.

Note: Currently the DApp interface will help you add the tokenIDs into the pool filter if you happen to choose any tokenIDs from your wallet that you did not add into the filter earlier in the customization process.

Create an advanced pool