Skip to main content

IDropSinglePhase_V1

Methods

claim

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

Parameters

NameTypeDescription
receiveraddressundefined
quantityuint256undefined
currencyaddressundefined
pricePerTokenuint256undefined
allowlistProofIDropSinglePhase_V1.AllowlistProofundefined
databytesundefined

setClaimConditions

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

Parameters

NameTypeDescription
phaseIClaimCondition_V1.ClaimConditionundefined
resetClaimEligibilityboolundefined

Events

ClaimConditionUpdated

event ClaimConditionUpdated(IClaimCondition_V1.ClaimCondition condition, bool resetEligibility)

Emitted when the contract's claim conditions are updated.

Parameters

NameTypeDescription
conditionIClaimCondition_V1.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