Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

something strange with PAY_ROYALTY event #115

Open
roiLeo opened this issue Oct 31, 2022 · 2 comments
Open

something strange with PAY_ROYALTY event #115

roiLeo opened this issue Oct 31, 2022 · 2 comments

Comments

@roiLeo
Copy link
Contributor

roiLeo commented Oct 31, 2022

Looks like royalty doesn't work as excepted on bsx

  • first query return only one element
  • second query has BUY interaction but not PAY_ROYALTY
query MyQuery {
  ALL_ROYALTIES: events(where: {interaction_eq: PAY_ROYALTY}) {
    id
    meta
  }
  events(where: {nft: {id_eq: "945672150-19"}}) {
    nft {
      id
      royalty
      updatedAt
    }
    interaction
    id
    blockNumber
  }
}
@roiLeo
Copy link
Contributor Author

roiLeo commented Jan 4, 2023

Check /bsx/gallery/3813476019-42

2 BUY event but only 1 PAY_ROYALTY

@roiLeo roiLeo changed the title is RoyaltyPaid working? something strange with PAY_ROYALTY event Jan 4, 2023
@vikiival
Copy link
Member

vikiival commented Jan 6, 2023

That Is correct

Screenshot 2023-01-06 at 16 33 17

first buy is from issuer to person 1 (full price sent to issuer, therefore no royalty paid)
second is from person 1 to cl0w (person 1 != issuer, royalty paid)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants