Drop
Methods
claim
function claim(address _receiver, uint256 _quantity, address _currency, uint256 _pricePerToken, IDrop.AllowlistProof _allowlistProof, bytes _data) external payableParameters
_receiver
address
undefined
_quantity
uint256
undefined
_currency
address
undefined
_pricePerToken
uint256
undefined
_allowlistProof
IDrop.AllowlistProof
undefined
_data
bytes
undefined
claimCondition
function claimCondition() external view returns (uint256 currentStartId, uint256 count)The active conditions for claiming tokens.
Returns
currentStartId
uint256
undefined
count
uint256
undefined
getActiveClaimConditionId
At any given moment, returns the uid for the active claim condition.
Returns
_0
uint256
undefined
getClaimConditionById
Returns the claim condition at the given uid.
Parameters
_conditionId
uint256
undefined
Returns
condition
IClaimCondition.ClaimCondition
undefined
getSupplyClaimedByWallet
Returns the supply claimed by claimer for a given conditionId.
Parameters
_conditionId
uint256
undefined
_claimer
address
undefined
Returns
supplyClaimedByWallet
uint256
undefined
setClaimConditions
Parameters
_conditions
IClaimCondition.ClaimCondition[]
undefined
_resetClaimEligibility
bool
undefined
verifyClaim
Parameters
_conditionId
uint256
undefined
_claimer
address
undefined
_quantity
uint256
undefined
_currency
address
undefined
_pricePerToken
uint256
undefined
_allowlistProof
IDrop.AllowlistProof
undefined
Returns
isOverride
bool
undefined
Events
ClaimConditionsUpdated
Emitted when the contract's claim conditions are updated.
Parameters
claimConditions
IClaimCondition.ClaimCondition[]
undefined
resetEligibility
bool
undefined
TokensClaimed
Emitted when tokens are claimed via claim.
Parameters
claimConditionIndex indexed
uint256
undefined
claimer indexed
address
undefined
receiver indexed
address
undefined
startTokenId
uint256
undefined
quantityClaimed
uint256
undefined
Last updated