IRenderController

Git Source

Functions

setRenderer

function used to set the renderer contract adress

only the owner can do it.

function setRenderer(address renderer_) external;

Parameters

NameTypeDescription
renderer_addressaddress of the contract that will render the tokenUri for the svg of the nft.

isNFTSVG

for knowning if renderer is a NFTSVG contract.

function isNFTSVG(address renderer_) external view returns (bool);

renderer

NFTSVG contract that will generate the tokenURI.

function renderer() external view returns (address);

Events

LogSetRenderer

event LogSetRenderer(address newRenderer);

Errors

InvalidRenderer

error InvalidRenderer();

AddressZero

error AddressZero();