IMintModule4Note

Git Source

Functions

initializeMintModule

Initialize the MintModule for a specific note.

function initializeMintModule(uint256 characterId, uint256 noteId, bytes calldata data)
    external
    returns (bytes memory);

Parameters

NameTypeDescription
characterIduint256The character ID of the note to initialize.
noteIduint256The note ID to initialize.
databytesThe data passed from the user to be decoded.

Returns

NameTypeDescription
<none>bytesbytes The returned data of calling initializeMintModule.

processMint

Processes the mint logic.
Triggered when the mintNote of web3Entry is called, if mint module of note is set.

function processMint(address to, uint256 characterId, uint256 noteId, bytes calldata data) external;

Parameters

NameTypeDescription
toaddressThe receive address of the NFT.
characterIduint256The character ID of the note owner.
noteIduint256The note ID.
databytesThe data passed from the user to be decoded.