Edition Metadata Renderer
Metadata rendering contract for NFTs with all the same media assets
This contract is in charge of managing and rendering the metadata for Zora editions. An edition is an NFT collection where all the NFTs share the same media asset (video, image, etc).
Whenever a tokenURI
is called on the NFT contract, the call is forwarded to this contract to get metadata for a specific NFT.
View the source contract code here and the list of deployed contract addresses here.
updateMediaURIs
Updates the media asset for the edition.
target
: The contract address to update metadata forimageURI
: The new media urianimationURI
: The new animation uri
The imageURI
is the resource for the main piece of media and animationURI
is used for the thumbnail if a video.
function updateMediaURIs(
address target,
string memory imageURI,
string memory animationURI
)
updateDescription
Updates the description for the edition.
target
: The contract address to update the description fornewDescription
: The new description
function updateDescription(address target, string memory newDescription)