onflow / nft-catalog

https://www.flow-nft-catalog.com/
The Unlicense
36 stars 13 forks source link

Use metadata standard views in catalog #7

Closed bshahid331 closed 2 years ago

bshahid331 commented 2 years ago

Summary We want to be able to retrieve all collection level data defined in the standard from the catalog. We also don't want to redefine structs if we don't have too. This PR

  1. Adds the standard collection display
  2. Adds fields from standard collection data to catalogs struct NOTE: I can't use the same struct because it has a function and that can't be stored at contract level
  3. Update relevant transactions to grab this data from a sample NFT
  4. Update tests to support new changes
  5. Rename a few variables so it's more clear what is what
  6. Import latest Metadata and Example NFT contracts from flownft repo

Test Plan Ran the test suite and confirmed everything passes still.