nft.trades
redesign open discussion
#3317
Closed
jeff-dude
started this conversation in
Sector: NFT
Replies: 3 comments 7 replies
-
Makes sense. I think pushing token and price metadata to the final table should be replicated for dex.trades and perpetual.trades as well! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Very cool guys, ty for the rework! In order to avoid the need for those reworks going forward, it might be worth defining some guidelines when submitting PRs for spellbook to get tables that are consistent across the board, no? some examples:
I've contributed to spellbook a decent amount and still find myself clueless extremely often on the structure that I should use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
who
efforts led by resident wizard @0xRobin with support from dune team & community members. anyone is welcome to participate in the design discussions here 🫂
what
redesign
nft.trades
to be more efficient operationally & easier for wizards to contribute new code.when
actively happening now, under the
_beta
naming standards, to keep separate fromnft.trades
while under development and testing.where
right here in the spellbook repo!
initial PR: #3129
plenty of info between the PR description & various comments, along with the migration markdown file included -- and of course, plenty in the code itself.
there are various follow-up PRs to continually fit more marketplaces into the structure, such as:
... more to come!
why
there are a variety of reasons for the redesign. to name a few:
tokens_ethereum.erc20
, since all base models join to it and pull metadata columns, a full refresh is required on historical trades. this leads to long run times and heavy compute. this is an unneccessary step, as we can keep the base models to just base source tables (decoded & base tables), then join to metadata tables once in the sector-wide spell1
vs.v1
), accepted values per column test(s), and moretl;dr
with all the above said, we'd like to open up discussion here for wizards to help us shape the future of
nft.trades
initial tags: @0xRobin @Hosuke @0xBoxer @andrewhong5297 @augustog @couralex6 @MSilb7 @chuxinh @hildobby
feel free to bring more in on the conversation
thanks again to rob for kicking this off 🧙
Beta Was this translation helpful? Give feedback.
All reactions