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. Technical Reference
  2. Airdrop Compatibility

Can Collection.xyz handle airdrops?

PreviousAirdrop CompatibilityNextPool Types

Last updated 2 years ago

Yes, can handle airdrops. So long as the airdops are sent to the smart contract, users will be able to withdraw the airdrops at a later date. We have specific ERC20, ERC721, and ERC1155 rescue functions for the owner of each CollectionPool’s LP token. With these functions, you can rescue arbitrary ERC20, 721 and 1155 tokens from these pools.

However, in the case where non-tokenized perks (e.g. whitelists) are given to the NFT holder, the liquidity pool smart contract will be the recipient. In these cases, projects will need to work with to specifically pass these benefits to the ultimate owner of the NFTs. This is possible through either

(A) querying ownerOf() on the LPToken, or if you have the poolAddress

(B) calling the tokenId function if you want to tie it to ownership at a particular blockheight, or

(C) the owner() function to directly get the current tokenID owner, or , and passing on the benefits to that address instead.

If you are a project developer and need help working with us on this, please reach out on our discord.

Collection.xyz
collection.xyz