๐Ÿช™IZNSDomainToken

DefaultRoyaltySet

event DefaultRoyaltySet(uint96 defaultRoyalty)

Emitted when a Default Royalty (for all tokens) is set.

TokenRoyaltySet

event TokenRoyaltySet(uint256 tokenId, uint96 royalty)

Emitted when Token Royalty is set for individual tokens per tokenID.

BaseURISet

event BaseURISet(string baseURI)

Emitted when a Base URI is set for all tokens.

TokenURISet

event TokenURISet(uint256 tokenId, string tokenURI)

Emitted when a Token URI is set for individual tokens per tokenID.

Note that this event is fired ONLY when the tokenURI is set externally through an external setter and NOT during the registration.

initialize

function initialize(address accessController, string tokenName, string tokenSymbol, address defaultRoyaltyReceiver, uint96 defaultRoyaltyFraction) external

register

function register(address to, uint256 tokenId, string _tokenURI) external

revoke

function revoke(uint256 tokenId) external

tokenURI

function tokenURI(uint256 tokenId) external view returns (string)

setBaseURI

function setBaseURI(string baseURI_) external

setTokenURI

function setTokenURI(uint256 tokenId, string _tokenURI) external

setDefaultRoyalty

function setDefaultRoyalty(address receiver, uint96 royaltyFraction) external

setTokenRoyalty

function setTokenRoyalty(uint256 tokenId, address receiver, uint96 royaltyFraction) external

supportsInterface

function supportsInterface(bytes4 interfaceId) external view returns (bool)

Returns true if this contract implements the interface defined by interfaceId. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created.

This function call must use less than 30 000 gas.