Skip to content

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

@bjartek

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

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