Skip to content

Commit

Permalink
nft tokens (#1099)
Browse files Browse the repository at this point in the history
* nft tokens

* replace empty standard by superrare, add superrare to test

* move file from nft to tokens folder, add to table_properties, change schema and remove solana references

Co-authored-by: soispoke <[email protected]>
  • Loading branch information
dot2dotseurat and soispoke authored Jun 2, 2022
1 parent 0d9922c commit 107b4d1
Show file tree
Hide file tree
Showing 3 changed files with 106,112 additions and 1 deletion.
10 changes: 10 additions & 0 deletions spellbook/macros/alter_table_properties.sql
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,15 @@ ALTER VIEW transfers_ethereum.erc20 SET TBLPROPERTIES('dune.public'='true',
'dune.data_explorer.contributors'='["soispoke","dot2dotseurat"]');
{% endset %}

{% set tokens_ethereum_nft %}
ALTER VIEW tokens_ethereum.nft SET TBLPROPERTIES('dune.public'='true',
'dune.data_explorer.blockchains'='["ethereum"]',
'dune.data_explorer.category'='abstraction',
'dune.data_explorer.abstraction.type'='sector',
'dune.data_explorer.abstraction.name'='tokens',
'dune.data_explorer.contributors'='["dot2dotseurat","soispoke"]');
{% endset %}

{% do run_query(balances_ethereum_erc20_hour) %}
{% do run_query(balances_ethereum_erc20_latest) %}
{% do run_query(magiceden_trades) %}
Expand All @@ -110,6 +119,7 @@ ALTER VIEW transfers_ethereum.erc20 SET TBLPROPERTIES('dune.public'='true',
{% do run_query(opensea_volume_day) %}
{% do run_query(tokens_ethereum_erc20) %}
{% do run_query(transfers_ethereum_erc20) %}
{% do run_query(tokens_ethereum_nft) %}

{% do log("Tables generated", info=True) %}
{%- else -%}
Expand Down
Loading

0 comments on commit 107b4d1

Please sign in to comment.