Comments (2)
I just checked, tokens.transfers only contains native and erc20 data, not NFT?
Balances do include both tokens and erc20s in 1 schema. We had some discussions about splitting them but decided against it to keep it more maintainable (and the performance gain with splitting was negligible due to the low amount of NFT data in those tables)
tokens.transfers
should aim to serve whatever you wanted to do with fungible.transfers
, so if there are other shortcomings, we definitely want to know!
from spellbook.
Yeah we planned on putting nft transfers in token.transfers but decided never actually did it, and sounds like we shouldn't.
The same can be done with balances tables but i don't use balances tables really anyways since they're more accurate if I make them myself in query (they're missing staking withdrawals, block rewards, uncle rewards, rebase events)
Our balances are not sums of transfers, they are the actual values you'd get from doing eth_call/getBalance
against a node. So if there's a value for a block number it should be the correct value. However, there needs to be an event we track so that we can get the value. ETH withdrawals are tracked but not rebase events for specific tokens for example.
from spellbook.
Related Issues (20)
- Contract mapping
- No records in dex_aggregator.trades HOT 4
- [BUG] bonkbot_solana.trades spellbook stopped indexing new records HOT 4
- [BUG] naming issue, we named "transfers.eth" for just scroll HOT 1
- Database Error in model depin_revenue on local dbt compile HOT 3
- spell that starts from the hash HOT 2
- tokens_optimism.balances does not account for WETH redemption HOT 1
- [BUG]
- [BUG]
- [BUG]
- [BUG]Token amount decimals are off in dex_solana.trades for some Phoenix transactions HOT 7
- [BUG] Validator Index wrong in ethereum_staking.flows HOT 2
- end
- [BUG] tokens_solana.transfers not showing all transfers inside a transaction HOT 6
- [Enhancement] Refactor `amount_usd` Calculation in `dex_aggregators.trades`
- [Feature] Adding new dexes for blast chain HOT 3
- [BUG] blast chain contract balance issue HOT 1
- Problem executing dbt build HOT 3
- Discrepancies in USD volume outputs HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spellbook.