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

Initiate corn in spellbook #7394

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Conversation

Hosuke
Copy link
Collaborator

@Hosuke Hosuke commented Dec 27, 2024

Initiate corn in spellbook

@github-actions github-actions bot added WIP work in progress dbt: daily covers the Daily dbt subproject labels Dec 27, 2024
@Hosuke
Copy link
Collaborator Author

Hosuke commented Jan 3, 2025

Trusted tokens on corn is not very clear at the moment:
https://cornscan.io/tokens

Using this query to initiate:
https://dune.com/queries/4514448

@github-actions github-actions bot added the dbt: tokens covers the Tokens dbt subproject label Jan 3, 2025
FROM
(
VALUES
('wbtc-wrapped-bitcoin', 'wBTCN', 0xda5ddd7270381a7c2717ad10d1c0ecb19e3cdfb2, 18)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

good question, let me ask 🤔

Copy link
Member

Choose a reason for hiding this comment

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

okay, we should be good to use bitcoin pricing for this. here is answer from corn team:

As per BTCN's pricing, it is designed to be pegged to the price of BTC indeed. It accomplishes this by introducing 1:1 backing to wBTC and cbBTC (both tightly pegged to BTC) and, hence, efficient arbitraging. BTCN's liquidity is starting to build up on Corn and hasn't met the standards for price trackers and Oracles. For this reason, assuming a 1:1 peg to BTC should be accurate enough for analytics/visualization purposes. Eventually, as it gets listed by Oracles and trackers, we should switch to its true market value.

@Hosuke Hosuke marked this pull request as ready for review January 3, 2025 08:02
@github-actions github-actions bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels Jan 3, 2025
@Hosuke Hosuke requested a review from jeff-dude January 3, 2025 08:08
dbt_subprojects/daily_spellbook/models/evms/evms_info.sql Outdated Show resolved Hide resolved
FROM
(
VALUES
('wbtc-wrapped-bitcoin', 'wBTCN', 0xda5ddd7270381a7c2717ad10d1c0ecb19e3cdfb2, 18)
Copy link
Member

Choose a reason for hiding this comment

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

good question, let me ask 🤔

@jeff-dude
Copy link
Member

Trusted tokens on corn is not very clear at the moment: https://cornscan.io/tokens

Using this query to initiate: https://dune.com/queries/4514448

this is a fine approach for now, it seems clear the pattern is to add this way initially & then revisit to add/modify based on adding DEXs and seeing top pools / swapped tokens.

@jeff-dude jeff-dude self-assigned this Jan 3, 2025
@jeff-dude jeff-dude added in review Assignee is currently reviewing the PR and removed ready-for-review this PR development is complete, please review labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dbt: daily covers the Daily dbt subproject dbt: tokens covers the Tokens dbt subproject in review Assignee is currently reviewing the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants