IDropClaimCondition

Interface for a claim condition that can be used to determine if a user can claim a drop

IDropClaimCondition Contract

This interface defines the methods that a claim condition must implement to be used with the Drop contract.

Methods

  • canClaim: Checks if a given address can claim the drop based on the claim condition.
  • maxClaimableSupply: Returns the maximum number of tokens that can be claimed based on the claim condition.
  • currentClaimedSupply: Returns the number of tokens that have already been claimed based on the claim condition.
  • availableSupply: Returns the number of tokens that are still available to be claimed based on the claim condition.

Usage

The Drop contract uses this interface to determine if a user is eligible to claim a drop. You can create your own claim conditions that implement this interface to customize the drop claiming process.