IClaimConditionsSinglePhase
Thirdweb's 'Drop' contracts are distribution mechanisms for tokens. A contract admin (i.e. a holder of DEFAULT_ADMIN_ROLE
) can set a series of claim conditions, ordered by their respective startTimestamp
. 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.
Methods
setClaimConditions
function setClaimConditions(IClaimCondition.ClaimCondition phase, bool resetClaimEligibility) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
phase | IClaimCondition.ClaimCondition | undefined |
resetClaimEligibility | bool | undefined |
Events
ClaimConditionUpdated
event ClaimConditionUpdated(IClaimCondition.ClaimCondition claimConditions, bool resetClaimEligibility)
Parameters
Name | Type | Description |
---|---|---|
claimConditions | IClaimCondition.ClaimCondition | undefined |
resetClaimEligibility | bool | undefined |