Skip to content

Commit

Permalink
Add tokens.erc20
Browse files Browse the repository at this point in the history
  • Loading branch information
Hosuke committed Dec 2, 2024
1 parent 47524d5 commit 1ed5702
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions dbt_subprojects/tokens/models/tokens/flare/_schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2

models:
- name: tokens_flare_erc20
meta:
blockchain: flare
sector: tokens
project: erc20
contributors: hosuke
config:
tags: ['table', 'erc20', 'flare']
description: "ERC20 Token Addresses, Symbols and Decimals on flare Network"
columns:
- name: contract_address
description: "ERC20 token contract address"
data_tests:
- unique
- name: symbol
description: "ERC20 token symbol"
- name: decimals
description: "Number of decimals, refers to how divisible an ERC20 token can be"
1 change: 1 addition & 0 deletions dbt_subprojects/tokens/models/tokens/tokens_erc20.sql
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
,'tokens_tron': {'blockchain': 'tron', 'model': ref('tokens_tron_erc20')}
,'tokens_ronin': {'blockchain': 'ronin', 'model': ref('tokens_ronin_erc20')}
,'tokens_bob': {'blockchain': 'bob', 'model': ref('tokens_bob_erc20')}
,'tokens_flare': {'blockchain': 'flare', 'model': ref('tokens_flare_erc20')}
} %}

with automated_source as (
Expand Down

0 comments on commit 1ed5702

Please sign in to comment.