IRenderer

Git Source

Author: fx(hash)

Interface for FxGenArt721 tokens to interact with renderers

Functions

contractRegistry

Returns address of the FxContractRegistry contract

function contractRegistry() external view returns (address);

contractURI

Gets the contact-level metadata for the project

function contractURI() external view returns (string memory);

Returns

NameTypeDescription
<none>stringURI of the contract metadata

tokenURI

Gets the metadata for a token

function tokenURI(uint256 _tokenId, bytes calldata _data) external view returns (string memory);

Parameters

NameTypeDescription
_tokenIduint256ID of the token
_databytesAdditional data used to construct metadata

Returns

NameTypeDescription
<none>stringURI of the token metadata