Skip to main content

SignatureMintERC1155Upgradeable

Methods

mintWithSignature

function mintWithSignature(ISignatureMintERC1155.MintRequest req, bytes signature) external payable returns (address signer)

Parameters

NameTypeDescription
reqISignatureMintERC1155.MintRequestundefined
signaturebytesundefined

Returns

NameTypeDescription
signeraddressundefined

verify

function verify(ISignatureMintERC1155.MintRequest _req, bytes _signature) external view returns (bool success, address signer)

Parameters

NameTypeDescription
_reqISignatureMintERC1155.MintRequestundefined
_signaturebytesundefined

Returns

NameTypeDescription
successboolundefined
signeraddressundefined

Events

Initialized

event Initialized(uint8 version)

Parameters

NameTypeDescription
versionuint8undefined

TokensMintedWithSignature

event TokensMintedWithSignature(address indexed signer, address indexed mintedTo, uint256 indexed tokenIdMinted, ISignatureMintERC1155.MintRequest mintRequest)

Parameters

NameTypeDescription
signer indexedaddressundefined
mintedTo indexedaddressundefined
tokenIdMinted indexeduint256undefined
mintRequestISignatureMintERC1155.MintRequestundefined