Skip to main content

IDropSinglePhase

Methods

claim

function claim(address receiver, uint256 quantity, address currency, uint256 pricePerToken, IDropSinglePhase.AllowlistProof allowlistProof, bytes data) external payable

Parameters

NameTypeDescription
receiveraddressundefined
quantityuint256undefined
currencyaddressundefined
pricePerTokenuint256undefined
allowlistProofIDropSinglePhase.AllowlistProofundefined
databytesundefined

setClaimConditions

function setClaimConditions(IClaimCondition.ClaimCondition phase, bool resetClaimEligibility) external nonpayable

Parameters

NameTypeDescription
phaseIClaimCondition.ClaimConditionundefined
resetClaimEligibilityboolundefined

Events

ClaimConditionUpdated

event ClaimConditionUpdated(IClaimCondition.ClaimCondition condition, bool resetEligibility)

Emitted when the contract's claim conditions are updated.

Parameters

NameTypeDescription
conditionIClaimCondition.ClaimConditionundefined
resetEligibilityboolundefined

TokensClaimed

event TokensClaimed(address indexed claimer, address indexed receiver, uint256 indexed startTokenId, uint256 quantityClaimed)

Emitted when tokens are claimed via claim.

Parameters

NameTypeDescription
claimer indexedaddressundefined
receiver indexedaddressundefined
startTokenId indexeduint256undefined
quantityClaimeduint256undefined