Skip to main content

ISMCooldownReceipt

Git Source

Inherits: IERC721

Functions

nextTokenId

ID of the next token to be minted.

function nextTokenId() external view returns (uint256);

mint

Mints a new cooldown receipt NFT to the specified address.

function mint(address to) external returns (uint256 tokenId);

Parameters

NameTypeDescription
toaddressThe receiver of the minted NFT.

Returns

NameTypeDescription
tokenIduint256The ID of the minted NFT.

burn

Burns the specified cooldown receipt NFT.

function burn(uint256 tokenId) external;

Parameters

NameTypeDescription
tokenIduint256The ID of the NFT to burn.