constructor | Initializes the contract with parameters for name, symbol, metadata URI, owner, modules, and module data. |
name | Returns the name of the NFT Collection. |
symbol | Returns the symbol of the NFT Collection. |
contractURI | Returns the contract metadata URI. |
totalSupply | Returns the total supply of a tokenId of the NFT collection. |
uri | Returns the token metadata of an NFT. |
supportsInterface | Checks if the contract implements an interface with the given interface ID. |
getSupportedCallbackFunctions | Returns the supported callback functions. |
setContractURI | Sets the contract metadata URI. Callable only by the contract admin. |
mint | Mints tokens with a given tokenId to a specified address, calling the beforeMint hook. |
batchMint | Batch mints tokens to a specified address, calling the beforeBatchMint hook. |
burn | Burns a specified amount of tokens, calling the beforeBurn hook if it exists. |
safeTransferFrom | Transfers ownership of an NFT, calling the beforeTransfer hook if it exists. |
safeBatchTransferFrom | Batch transfers ownership of NFTs, calling the beforeBatchTransfer hook if it exists. |
setApprovalForAll | Approves or revokes approval from an operator to transfer all NFTs. Calls the beforeApproveForAll hook if it exists. |