epam / mintgate

1 stars 2 forks source link

F11: As a User, I want to see all items listed on Mintgate marketplace #58

Closed zahhar closed 3 years ago

zahhar commented 3 years ago
  1. View method that returns all TokenIds listed on the Marketplace
  2. View method that returns all TokenIds listed on the Marketplace by GateId
  3. View method that returns all TokenIds listed on the Marketplace by OwnerAccountId
  4. View method that returns all TokenIds listed on the Marketplace by CreatorAccountId

NB! Pagination for this method is Out of Scope of Milestone 2. It might be implemented in Milestone 3 after finishing discussion in the NEP-181 (https://github.com/near/NEPs/discussions/181) about ordered list of Tokens. As of know list of Tokens is unordered, that makes Pagination not that easy.

Jshanks21 commented 3 years ago
  1. Sounds great

The following are fine as part of M3 after discussions on NET-181 are finished.

  1. Yes, GateId is our primary key, so being able to use it as a lookup will be useful in nearly all cases.
  2. Not required, but preferred to have for convenience.
  3. Yes, required to easily display creator collections from specific creator for sale.
zahhar commented 3 years ago

We will implement all 1-4 points in Milestone 2. Pagination is already captured as an extension to Milestone 3: #47