DropClaimConditions class
Manages claim conditions for NFT Drop contracts
Signature:
export declare class DropClaimConditions<TContract extends PrebuiltNFTDrop | PrebuiltTokenDrop | BaseClaimConditionERC721 | BaseDropERC20>
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(contractWrapper, metadata, storage) | Constructs a new instance of the DropClaimConditions class |
Methods
| Method | Modifiers | Description |
|---|---|---|
| canClaim(quantity, addressToCheck) | Can Claim | |
| getActive(options) | Get the currently active claim condition | |
| getAll(options) | Get all the claim conditions | |
| getClaimArguments(destinationAddress, quantity, claimVerification) | ||
| getClaimerProofs(claimerAddress, claimConditionId) | Returns allow list information and merkle proofs for the given address. | |
| getClaimIneligibilityReasons(quantity, addressToCheck) | For any claim conditions that a particular wallet is violating, this function returns human readable information about the breaks in the condition that can be used to inform the user. | |
| getClaimTransaction(destinationAddress, quantity, options) | Construct a claim transaction without executing it. This is useful for estimating the gas cost of a claim transaction, overriding transaction options and having fine grained control over the transaction execution. | |
| isLegacyMultiPhaseDrop(contractWrapper) | ||
| isLegacySinglePhaseDrop(contractWrapper) | ||
| isNewMultiphaseDrop(contractWrapper) | ||
| isNewSinglePhaseDrop(contractWrapper) | ||
| set(claimConditionInputs, resetClaimEligibilityForAll) | Set public mint conditions | |
| update(index, claimConditionInput) | Update a single claim condition with new data. |