-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Defillama as its own project (#459)
- Loading branch information
1 parent
57c897a
commit f03ca3e
Showing
3 changed files
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ CREAL | |
CUSD | ||
DAI | ||
DEXALOT | ||
DEFILLAMA | ||
DFK | ||
EIGENPIE | ||
ETHEREUM | ||
|
17 changes: 17 additions & 0 deletions
17
models/projects/defillama/core/ez_defillama_metrics_by_chains.sql
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,17 @@ | ||
{{ | ||
config( | ||
materialized="table", | ||
snowflake_warehouse="defillama", | ||
database="defillama", | ||
schema="core", | ||
alias="ez_defillama_metrics_by_chains", | ||
) | ||
}} | ||
|
||
select | ||
date, | ||
defillama_chain_name as chain, | ||
dex_volumes, | ||
tvl | ||
from {{ref("agg_defillama_chain_fees_rev_tvl_dex_vol")}} | ||
where date is not null |
17 changes: 17 additions & 0 deletions
17
models/projects/defillama/core/ez_defillama_metrics_by_protocols.sql
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,17 @@ | ||
{{ | ||
config( | ||
materialized="table", | ||
snowflake_warehouse="defillama", | ||
database="defillama", | ||
schema="core", | ||
alias="ez_defillama_metrics_by_protocols", | ||
) | ||
}} | ||
|
||
select | ||
date, | ||
name, | ||
dex_volumes, | ||
tvl | ||
from {{ref("agg_defillama_protocol_fees_rev_tvl_dex_vol")}} | ||
where date is not null |