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

Init flare chain #7222

Merged
merged 15 commits into from
Dec 4, 2024
Merged

Init flare chain #7222

merged 15 commits into from
Dec 4, 2024

Conversation

Hosuke
Copy link
Collaborator

@Hosuke Hosuke commented Dec 2, 2024

Init flare chain

@Hosuke Hosuke added the ready-for-review this PR development is complete, please review label Dec 2, 2024
@jeff-dude jeff-dude self-assigned this Dec 2, 2024
@jeff-dude jeff-dude added in review Assignee is currently reviewing the PR dbt: daily covers the Daily dbt subproject dbt: tokens covers the Tokens dbt subproject and removed ready-for-review this PR development is complete, please review labels Dec 2, 2024
@jeff-dude jeff-dude mentioned this pull request Dec 2, 2024
@Yakuf
Copy link
Contributor

Yakuf commented Dec 3, 2024

Check out this list of tokens from flare chain. May you find it useful. (my work)
(0x1D80c49BbBCd1C0911346656B529DF9E5c2F783d, 'WFLR', 18),
(0xE6505f92583103AF7ed9974DEC451A7Af4e3A3bE, 'JOULE', 18),
(0x12e605bc104e93B45e1aD99F9e555f659051c2BB, 'sFLR', 18),
(0xfF56Eb5b1a7FAa972291117E5E9565dA29bc808d, 'APS', 18),
(0x4A771Cc1a39FDd8AA08B8EA51F7Fd412e73B3d2B, 'USDX', 6),
(0x140D8d3649Ec605CF69018C627fB44cCC76eC89f, 'HLN', 18),
(0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6, 'USDC.e', 6),
(0x0B38e83B86d491735fEaa0a791F65c2B99535396, 'USDT', 6),
(0x22757fb83836e3F9F0F353126cACD3B1Dc82a387, 'FLX', 18),
(0xC18f99CE6DD6278BE2D3f1e738Ed11623444aE33, 'POODLE', 18),
(0x96B41289D90444B8adD57e6F265DB5aE8651DF29, 'eUSDT', 6),
(0x932E691aA8c8306C4bB0b19F3f00a284371be8Ba, 'PHIL', 18),
(0xB5010D5Eb31AA8776b52C7394B76D6d627501C73, 'PFL', 18),
(0x908BB3E15040801fd29E542221A31Baaa7A4bE19, 'FODO', 18),
(0xe2bBf70A52Ee84837E9E2e245E5aFc560E259249, 'ZOINK', 18),
(0x1aa5282692398c078e71Fb3e4A85660d1BF8F586, 'BUNNY', 18),
(0xc6B19B06A92B337Cbca5f7334d29d45ec4d5E532, 'Moon', 18)

@jeff-dude
Copy link
Member

Check out this list of tokens from flare chain. May you find it useful. (my work) (0x1D80c49BbBCd1C0911346656B529DF9E5c2F783d, 'WFLR', 18), (0xE6505f92583103AF7ed9974DEC451A7Af4e3A3bE, 'JOULE', 18), (0x12e605bc104e93B45e1aD99F9e555f659051c2BB, 'sFLR', 18), (0xfF56Eb5b1a7FAa972291117E5E9565dA29bc808d, 'APS', 18), (0x4A771Cc1a39FDd8AA08B8EA51F7Fd412e73B3d2B, 'USDX', 6), (0x140D8d3649Ec605CF69018C627fB44cCC76eC89f, 'HLN', 18), (0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6, 'USDC.e', 6), (0x0B38e83B86d491735fEaa0a791F65c2B99535396, 'USDT', 6), (0x22757fb83836e3F9F0F353126cACD3B1Dc82a387, 'FLX', 18), (0xC18f99CE6DD6278BE2D3f1e738Ed11623444aE33, 'POODLE', 18), (0x96B41289D90444B8adD57e6F265DB5aE8651DF29, 'eUSDT', 6), (0x932E691aA8c8306C4bB0b19F3f00a284371be8Ba, 'PHIL', 18), (0xB5010D5Eb31AA8776b52C7394B76D6d627501C73, 'PFL', 18), (0x908BB3E15040801fd29E542221A31Baaa7A4bE19, 'FODO', 18), (0xe2bBf70A52Ee84837E9E2e245E5aFc560E259249, 'ZOINK', 18), (0x1aa5282692398c078e71Fb3e4A85660d1BF8F586, 'BUNNY', 18), (0xc6B19B06A92B337Cbca5f7334d29d45ec4d5E532, 'Moon', 18)

thanks for sharing!
for consideration @Hosuke

@Yakuf
Copy link
Contributor

Yakuf commented Dec 4, 2024

For concidereation: @Hosuke

prices_flare_tokens.sql

{{ config(
schema='prices_flare',
alias = 'tokens',
materialized='table',
file_format = 'delta',
tags = ['static']
)
}}
SELECT
token_id
, blockchain
, symbol
, contract_address
, decimals
FROM
(
VALUES
('flr-flare-network', 'WFLR', 0x1D80c49BbBCd1C0911346656B529DF9E5c2F783d, 18),
('joule-kinetic','flare','JOULE',0xE6505f92583103AF7ed9974DEC451A7Af4e3A3bE,18),
('usdc.e-usd-coin.e','flare','USDC.e',0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6,6),
('usdt-tether','flare','USDT',0x0B38e83B86d491735fEaa0a791F65c2B99535396,6)
) as temp (token_id, blockchain, symbol, contract_address, decimals)

@Hosuke
Copy link
Collaborator Author

Hosuke commented Dec 4, 2024

For concidereation: @Hosuke

prices_flare_tokens.sql

{{ config( schema='prices_flare', alias = 'tokens', materialized='table', file_format = 'delta', tags = ['static'] ) }} SELECT token_id , blockchain , symbol , contract_address , decimals FROM ( VALUES ('flr-flare-network', 'WFLR', 0x1D80c49BbBCd1C0911346656B529DF9E5c2F783d, 18), ('joule-kinetic','flare','JOULE',0xE6505f92583103AF7ed9974DEC451A7Af4e3A3bE,18), ('usdc.e-usd-coin.e','flare','USDC.e',0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6,6), ('usdt-tether','flare','USDT',0x0B38e83B86d491735fEaa0a791F65c2B99535396,6) ) as temp (token_id, blockchain, symbol, contract_address, decimals)

Updated. Thank you!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Schema checked and matched.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to expand the docs block a bit, may not be accurate enough though.

Copy link
Member

@jeff-dude jeff-dude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you @Hosuke for the build, and @Yakuf for the assist!

we can iterate and add more as needed after it goes live

@jeff-dude jeff-dude removed the in review Assignee is currently reviewing the PR label Dec 4, 2024
@jeff-dude jeff-dude merged commit 527c41e into duneanalytics:main Dec 4, 2024
3 of 4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2024
@Hosuke Hosuke deleted the 1202-init-flare branch December 5, 2024 15:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dbt: daily covers the Daily dbt subproject dbt: tokens covers the Tokens dbt subproject
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants