SignatureMintERC721Upgradeable
Methods
mintWithSignature
function mintWithSignature(ISignatureMintERC721.MintRequest req, bytes signature) external payable returns (address signer)
Parameters
Name | Type | Description |
---|---|---|
req | ISignatureMintERC721.MintRequest | undefined |
signature | bytes | undefined |
Returns
Name | Type | Description |
---|---|---|
signer | address | undefined |
verify
function verify(ISignatureMintERC721.MintRequest _req, bytes _signature) external view returns (bool success, address signer)
Parameters
Name | Type | Description |
---|---|---|
_req | ISignatureMintERC721.MintRequest | undefined |
_signature | bytes | undefined |
Returns
Name | Type | Description |
---|---|---|
success | bool | undefined |
signer | address | undefined |
Events
TokensMintedWithSignature
event TokensMintedWithSignature(address indexed signer, address indexed mintedTo, uint256 indexed tokenIdMinted, ISignatureMintERC721.MintRequest mintRequest)
Parameters
Name | Type | Description |
---|---|---|
signer indexed | address | undefined |
mintedTo indexed | address | undefined |
tokenIdMinted indexed | uint256 | undefined |
mintRequest | ISignatureMintERC721.MintRequest | undefined |