Skip to content

Commit

Permalink
Test add optimism airdrop addresses (#1516)
Browse files Browse the repository at this point in the history
* test build airdrop optimism addresses

* expose on dune app

* Update alter_table_properties.sql

* table as default in dbt_project file
  • Loading branch information
soispoke authored Sep 6, 2022
1 parent 21d8e7e commit 553c8cf
Show file tree
Hide file tree
Showing 3 changed files with 248,719 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ models:
ens:
+schema: ens
+materialized: view
airdrop:
+schema: airdrop
+materialized: table
optimism:
+schema: airdrop_optimism
+materialized: table
dex:
+schema: dex
+materialized: view
Expand Down
9 changes: 9 additions & 0 deletions macros/alter_table_properties.sql
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,15 @@ ALTER TABLE seaport_ethereum.transfers SET TBLPROPERTIES('dune.public'='true',
'dune.data_explorer.contributors'='["sohawk","soispoke"]');
{% endset %}

{% set airdrop_optimism_addresses_1 %}
ALTER TABLE airdrop_optimism.addresses_1 SET TBLPROPERTIES('dune.public'='true',
'dune.data_explorer.blockchains'='["optimism"]',
'dune.data_explorer.category'='abstraction',
'dune.data_explorer.abstraction.type'='sector',
'dune.data_explorer.abstraction.name'='airdrop',
'dune.data_explorer.contributors'='["soispoke"]');
{% endset %}

{% set ens_view_expirations %}
ALTER VIEW ens.view_expirations SET TBLPROPERTIES('dune.public'='true',
'dune.data_explorer.blockchains'='["ethereum"]',
Expand Down
Loading

0 comments on commit 553c8cf

Please sign in to comment.