Skip to main content
Version: 1.0.0

AllowlistMinter

bitbeckers

Interface for hypercert token interactions

This interface declares the required functionality for a hypercert tokenThis interface does not specify the underlying token type (e.g. 721 or 1155)

Methods

hasBeenClaimed

function hasBeenClaimed(uint256, bytes32) external view returns (bool)

Parameters

NameTypeDescription
_0uint256undefined
_1bytes32undefined

Returns

NameTypeDescription
_0boolundefined

isAllowedToClaim

function isAllowedToClaim(bytes32[] proof, uint256 claimID, bytes32 leaf) external view returns (bool isAllowed)

Parameters

NameTypeDescription
proofbytes32[]undefined
claimIDuint256undefined
leafbytes32undefined

Returns

NameTypeDescription
isAllowedboolundefined

Events

AllowlistCreated

event AllowlistCreated(uint256 tokenID, bytes32 root)

Parameters

NameTypeDescription
tokenIDuint256undefined
rootbytes32undefined

LeafClaimed

event LeafClaimed(uint256 tokenID, bytes32 leaf)

Parameters

NameTypeDescription
tokenIDuint256undefined
leafbytes32undefined

Errors

DoesNotExist

error DoesNotExist()