Freee Docs
  • Guide
  • Getting Started
    • How do I connect my wallet to Freee?
    • How do I mint on Freee?
    • Gas Fees
  • Freee Create
    • What can I create on Freee?
    • Single-Edition (ERC-721)
      • How to create a Edition
      • Managing your Edition (ERC-721)
    • Drop (ERC-721)
      • How to create a Drop (ERC-721)
      • How to set up the artwork folder for your Drops collection
      • How to set up the .csv file in your Drops collection
      • Managing your Drop (ERC-721)
    • Collection (ERC-721)
      • How to create a collection (ERC721)
      • How to upload collection artworks?
      • Managing your Collection (ERC721)
        • Manage Sale Stages
        • Manage Pre-reveal & Reveal
        • General Settings
      • Others
        • In depth outline of collection artworks folder
        • In-depth Outline of collection metadata CSV
    • Multi-Edition (ERC-1155)
      • How to Create a Multi-Edition
      • Managing your Collection (Onchain)
    • More Features
      • How can I create an Airdrop?
      • How can I create an Allowlist?
      • Receive blast rewards
    • Create FAQs
      • Can I connect a multi-sig wallet?
      • How do I use a split contract with my collection?
      • How do I withdraw my earnings?
      • Do I have to pay a fee to collect my earnings?
      • Can I add a custom payout address to my collection?
  • Smart Contracts
    • Deployed Contract Addresses
      • Mainnets
      • Testnets
    • Smart Contracts Event-based Overview
    • 1155 Contracts
      • Creating a Contract
      • Creating a Token
      • Selling a Token
      • Minting Tokens
      • Permissions
    • 721 Contracts
      • NFT Creator Factory
      • NFT Implementation
      • Edition Metadata Renderer
      • Drop Metadata Renderer
      • Collection Metadata Renderer
  • Freee Platform Fees
  • Create, share, and collect to earn
    • Understanding Rewards on Freee
    • How to create to earn
    • How to share to earn
    • How to collect to earn
    • Diamond Rewards Chart
  • Freee FAQs
    • Why can't I mint from a collection ?
    • Why can't I see my minted NFT(s) ?
    • Why did my mint transaction fail ?
  • Legal
    • Privacy Policy
    • Terms of Service
Powered by GitBook
On this page
  • updateMediaURIs
  • updateDescription
  1. Smart Contracts
  2. 721 Contracts

Edition Metadata Renderer

Metadata rendering contract for NFTs with all the same media assets.

PreviousNFT ImplementationNextDrop Metadata Renderer

Last updated 1 year ago

This contract is in charge of managing and rendering the metadata for 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 list of deployed contract addresses .

updateMediaURIs

Updates the media asset for the edition.

  • target: The contract address to update metadata for

  • imageURI: The new media uri

  • animationURI: 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 for

  • newDescription: The new description

function updateDescription(address target, string memory newDescription)
here