Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solana stablecoin balances #7134

Merged
merged 6 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion dbt_subprojects/solana/models/tokens/solana/_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,29 @@ models:
- name: call_tx_id
- name: call_block_time
- name: call_block_slot
- name: call_tx_signer
- name: call_tx_signer

- name: tokens_solana_stablecoins
meta:
blockchain: solana
sector: tokens
project: stablecoins
contributors: synthquest
config:
tags: ['table', 'metadata', 'stablecoins', 'solana']
description: "Stablecoins on Solana blockchain with their details"
columns:
- name: blockchain
description: "The blockchain on which the stablecoin is issued"
- name: symbol
description: "The symbol of the stablecoin"
- name: address
description: "The address of the stablecoin on the Solana blockchain"
data_tests:
- unique
- name: decimals
description: "The number of decimal places the stablecoin can be divided into"
- name: backing
description: "The type of backing for the stablecoin (e.g., Fiat Stablecoin, Dollar-Pegged)"
- name: name
description: "The name of the issuer or protocol of the stablecoin"
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{{ config(
schema = 'tokens_solana'
, alias = 'stablecoins'
, tags=['static']
, post_hook='{{ expose_spells(\'["solana"]\',
"sector",
"tokens_solana",
\'["synthquest"]\') }}'
)
}}

select blockchain, symbol, address, decimals, backing, name
from (Values
('solana', 'USDC','EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v', 6, 'Fiat Stablecoin', 'Circle')
, ('solana', 'USDT','Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB', 6,'Fiat Stablecoin', 'Tether')
, ('solana', 'PYUSD','2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo', 6,'Fiat Stablecoin', 'Paxos')
, ('solana', 'USDH','USDH1SM1ojwWUga67PGrgFWUHibbjqMvuMaDkRJTgkX', 6,'Crypto Stablecoin', 'Hubble')
, ('solana', 'UXD','7kbnvuGBxxj8AG9qp8Scn56muWGaRaFqxg1FsRp3PaFT', 6,'Dollar-Pegged', 'UXD Protocol')
, ('solana', 'sUSDe','Eh6XEPhSwoLv5wFApukmnaVSHQ6sAnoD9BmgmwQoN2sN', 9,'Dollar-Pegged', 'Ethena')
, ('solana', 'USDe','DEkqHyPN7GMRJ5cArtQFAWefqbZb33Hyf6s5iCwjEonT', 9,'Dollar-Pegged', 'Ethena')
, ('solana', 'USDY','A1KLoBrKBde8Ty9qtNQUtq3C2ortoC3u7twggz7sEto6', 6,'Dollar-Pegged', 'Ondo')
, ('solana', 'ZUSD','FrBfWJ4qE5sCzKm3k3JaAtqZcXUh4LvJygDeketsrsH4', 6,'Dollar-Pegged','GMO-Z')
, ('solana', 'PAI', 'Ea5SjE2Y6yvCeW5dYTn7PYMuW5ikXkvbGdcmSnXeaLjS', 6,'Crypto Stablecoin', 'Parrot')
) as t(blockchain, symbol, address, decimals, backing, name)
Loading