-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Spaceharpoon Polygon Nft Trades #6708
Added Spaceharpoon Polygon Nft Trades #6708
Conversation
Workflow run id 10820842183 approved. |
Workflow run id 10820842347 approved. |
Workflow run id 10821231099 approved. |
Workflow run id 10821231297 approved. |
Workflow run id 10864453706 approved. |
Workflow run id 10864453785 approved. |
Workflow run id 10864599312 approved. |
Workflow run id 10864599336 approved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not directly clear what you are trying to achieve in this PR.
If you want to integrate a new NFT marketplace into nft.trades you can take a look at this example PR #6559 where I added new marketplaces on Arbitrum Nova.
In short you should look to:
- build out the
base_trades
model for the marketplace - integrate it with in the polygon base_trades model
All of this is done in thenft
dbt subproject (instead of the daily one)
Let me know if you have further questions or need assistance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is added by accident to this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. It was a mistake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you remove it?
|
||
spaceharpoon: | ||
+schema: spaceharpoon | ||
polygon: | ||
+schema: spaceharpoon_polygon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these lines are not needed (as we define the schema in the inline config in the models)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does not look like you are using any events or calls that are specific to spaceharpoon, can you expand a bit on what you are trying to achieve in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you expand on your reasoning?
I don't think it is correct to just aggregate all token transfers from a transaction and use them to determine the price of an NFT transfer.
While I like the idea of a generic approach, a lot more work and testing would need to be done to make sure this is accurate.
The problem I am trying to solve with this spell is that some nft sales are not being captured on the nft trades spell for polygon so I used a different methodology which solves the problem by capturing all the nft sales |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you expand on your reasoning?
I don't think it is correct to just aggregate all token transfers from a transaction and use them to determine the price of an NFT transfer.
While I like the idea of a generic approach, a lot more work and testing would need to be done to make sure this is accurate.
Due to a dbt version change, you need to merge main into your branch before the Github action runner runs successfully again. |
Thank you for contributing to Spellbook 🪄
Update!
Please build spells in the proper subproject directory. For more information, please see the main readme, which also links to a GH discussion with the option to ask questions.
Contribution type
Please check the type of contribution this pull request is for:
Note: You can safely discard any section below which doesn't apply based on selection above
For new spell(s)
If you are building new spell(s), please provide the following information:
For adding to existing spell lineage
If you are adding to an existing spell lineage, please provide the following information:
For bug fixes
If you are fixing a bug, please provide the following information:
Additional information
Please provide any additional information that might help us review your pull request:
Thank you for your contribution!