-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create static labels cex on ethereum * Update static_labels_ethereum_cex.sql * add labels in dbt_project yml file * Update static_labels_ethereum_cex.sql * Update static_labels_ethereum_cex.sql * update static labels cex * Build safe, cex and nft traders labels * partition and limit nft traders labels * Update query_labels_nft_traders_volume_usd.sql * add decoded contracts, improve overall quality * add funds labels * add tornado cash labels * fix blockchain type tornado cash * nft users improvement * move to unique "labels" schema * improve tornado cash labels * fix nft traders sign ambiguity * fix tornado cash and = signs * Update dbt_project.yml * add balances labels * Revert "add balances labels" This reverts commit c9a0942. * remove ? * Update dbt_project.yml * add balances * Revert "add balances" This reverts commit 76bc61e. * fix indent on dbt project yaml * add suggested changes * expose labels.all in Dune App * add uniqueness test on labels all table * add labels to optimize macro Co-authored-by: jeff-dude <[email protected]>
- Loading branch information
Showing
17 changed files
with
476 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{{config(alias='funds')}} | ||
|
||
SELECT * FROM {{ ref('labels_funds_ethereum') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{{config(alias='funds_ethereum')}} | ||
|
||
SELECT blockchain, address, name, category, contributor, source, created_at, updated_at | ||
FROM (VALUES | ||
(array('ethereum'),'0x2B1Ad6184a6B0fac06bD225ed37C2AbC04415fF4', 'a16z', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x05e793ce0c6027323ac150f6d45c2344d28b6019', 'a16z', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0xa294cca691e4c83b1fc0c8d63d9a3eef0a196de1', 'Alameda', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0xc5ed2333f8a2c351fca35e5ebadb2a82f5d254c3', 'Alameda Research', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x84d34f4f83a87596cd3fb6887cff8f17bf5a7b83', 'Alameda Research', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x4c8cfe078a5b989cea4b330197246ced82764c63', 'Alameda Research', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x712d0f306956a6a4b4f9319ad9b9de48c5345996', 'Alameda Research', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0xafa64cca337efee0ad827f6c2684e69275226e90', 'CMS Holdings', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x9b5ea8c719e29a5bd0959faf79c9e5c8206d0499', 'DeFiance Capital', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0xf584f8728b874a6a5c7a8d4d387c9aae9172d621', 'Jump Capital', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x112b69178d416cd03222de9e6dd6b3adf36412aa', 'Kirin Fund', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0xc8d328b21f476a4b6e0681f6e4e41693a220347d', 'Multicoin Capital', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x66b870ddf78c975af5cd8edc6de25eca81791de1', 'Oapital', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0xd9b012a168fb6c1b71c24db8cee1a256b3caa2a2', 'ParaFi Capital', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x4655b7ad0b5f5bacb9cf960bbffceb3f0e51f363', 'Scary Chain Capital', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x80c2c1ceb335e39b7021c646fd3ec159faf9099d', 'Signum Capital', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x4862733b5fddfd35f35ea8ccf08f5045e57388b3', 'Three Arrows Capital', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x085af684acdb1220d111fee971b733c5e5ae6ccd', 'Three Arrows Capital', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x8e04af7f7c76daa9ab429b1340e0327b5b835748', 'Three Arrows Capital', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
, (array('ethereum'), '0x0000006daea1723962647b7e189d311d757fb793', 'Wintermute Trading', 'funds', 'soispoke', 'static', timestamp('2022-09-03'), now()) | ||
) AS x (blockchain, address, name, category, contributor, source, created_at, updated_at) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: labels_funds | ||
meta: | ||
blockchain: ethereum | ||
sector: labels | ||
project: funds | ||
contibutors: soispoke | ||
config: | ||
tags: ['labels', 'ethereum', 'funds'] | ||
description: "Known funds addresses across chains" | ||
columns: | ||
- &blockchain | ||
name: blockchain | ||
description: "Blockchain" | ||
- &address | ||
name: address | ||
description: "Address of known Funds" | ||
- &name | ||
name: name | ||
description: "Label name for funds" | ||
- &category | ||
name: category | ||
description: "Label category" | ||
- &contributor | ||
name: contributor | ||
description: "Wizard(s) contributing to labels" | ||
- &source | ||
name: source | ||
description: "How were labels generated (could be static or query)" | ||
- &created_at | ||
name: created_at | ||
description: "When were labels created" | ||
- &updated_at | ||
name: updated_at | ||
description: "When were labels updated for the last time" | ||
|
||
- name: labels_funds_ethereum | ||
meta: | ||
blockchain: ethereum | ||
sector: labels | ||
project: funds | ||
contibutors: hildobby, soispoke | ||
config: | ||
tags: ['labels', 'ethereum', 'funds'] | ||
description: "Known funds addresses on Ethereum" | ||
columns: | ||
- *blockchain | ||
- *address | ||
- *name | ||
- *category | ||
- *contributor | ||
- *source | ||
- *created_at | ||
- *updated_at |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{{config(alias='safe_ethereum')}} | ||
|
||
SELECT | ||
array('ethereum') as blockchain, | ||
address, | ||
'Safe' || ' version ' || creation_version AS name, | ||
'safe' AS category, | ||
'soispoke' AS contributor, | ||
'query' AS source, | ||
timestamp('2022-09-01') as created_at, | ||
now() as updated_at | ||
FROM {{ ref('safe_ethereum_safes') }} |
Oops, something went wrong.