Skip to content

Make storefront and all listing/offer type contracts expose in a standard way that they are a listing #82

Description

@bjartek

In order to make sense of the ever increasing premutations of listings/offers/swaps etc I propose that we introduce a new view called Listing and that said view is exposed from NFTStorefront collections, Offers and similar contracts.

This would make it trivial to know everything that a person has listed everywhere on flow since you can just use storage iteration, fetch everything that epoxe that. view and resolve it.

What would need to happen to make it so:

  • we need to agree on the fields that it should contain, these should leave room for context or other vendor specific details, allthough said implementations could also be in aditional views for the same resolver i guess
  • the listing collection would have to include Metadata.ViewResolver in its contracts

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions