// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.16; /** * The interface `IClaimCondition` is written for thirdweb's 'Drop' contracts, which are distribution mechanisms for tokens. * * A claim condition defines criteria under which accounts can mint tokens. Claim conditions can be overwritten * or added to by the contract admin. At any moment, there is only one active claim condition. * * @dev Modified Thirdweb's interface without currency. Only ETH supported. */ interface IClaimCondition { /** * @notice The criteria that make up a claim condition. * * @param startsAt The unix timestamp after which the claim condition applies. * * @param endsAt The unix timestamp after which the claim condition no longer applies. * * @param maxClaimableSupply The maximum total number of tokens that can be claimed under * the claim condition. * * @param supplyClaimed At any given point, the number of tokens that have been claimed * under the claim condition. * * @param quantityLimitPerTransaction The maximum number of tokens that can be claimed in transaction. * * @param waitTimeInSecondsBetweenClaims The minimum number of seconds that must pass between two claims * * @param merkleRoot The allowlist of addresses that can claim tokens under the claim * condition. * * @param pricePerToken The price required to pay per token claimed. * * @param metadata Claim condition metadata. */ struct ClaimCondition { uint256 startsAt; uint256 endsAt; uint256 maxClaimableSupply; uint256 supplyClaimed; uint256 quantityLimitPerTransaction; uint256 waitTimeInSecondsBetweenClaims; bytes32 merkleRoot; uint256 pricePerToken; string metadata; } }