Skip to main content

SignatureMintERC20Upgradeable

Methods

mintWithSignature

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

Parameters

NameTypeDescription
reqISignatureMintERC20.MintRequestundefined
signaturebytesundefined

Returns

NameTypeDescription
signeraddressundefined

verify

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

Parameters

NameTypeDescription
_reqISignatureMintERC20.MintRequestundefined
_signaturebytesundefined

Returns

NameTypeDescription
successboolundefined
signeraddressundefined

Events

Initialized

event Initialized(uint8 version)

Parameters

NameTypeDescription
versionuint8undefined

TokensMintedWithSignature

event TokensMintedWithSignature(address indexed signer, address indexed mintedTo, ISignatureMintERC20.MintRequest mintRequest)

Parameters

NameTypeDescription
signer indexedaddressundefined
mintedTo indexedaddressundefined
mintRequestISignatureMintERC20.MintRequestundefined