Skip to main content

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

NameTypeDescription
phaseIClaimCondition.ClaimConditionundefined
resetClaimEligibilityboolundefined

Events

ClaimConditionUpdated

event ClaimConditionUpdated(IClaimCondition.ClaimCondition claimConditions, bool resetClaimEligibility)

Parameters

NameTypeDescription
claimConditionsIClaimCondition.ClaimConditionundefined
resetClaimEligibilityboolundefined