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
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
_1 | bytes32 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
isAllowedToClaim
function isAllowedToClaim(bytes32[] proof, uint256 claimID, bytes32 leaf) external view returns (bool isAllowed)
Parameters
Name | Type | Description |
---|---|---|
proof | bytes32[] | undefined |
claimID | uint256 | undefined |
leaf | bytes32 | undefined |
Returns
Name | Type | Description |
---|---|---|
isAllowed | bool | undefined |
Events
AllowlistCreated
event AllowlistCreated(uint256 tokenID, bytes32 root)
Parameters
Name | Type | Description |
---|---|---|
tokenID | uint256 | undefined |
root | bytes32 | undefined |
LeafClaimed
event LeafClaimed(uint256 tokenID, bytes32 leaf)
Parameters
Name | Type | Description |
---|---|---|
tokenID | uint256 | undefined |
leaf | bytes32 | undefined |
Errors
DoesNotExist
error DoesNotExist()