-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
base: main
Are you sure you want to change the base?
Conversation
Trusted tokens on corn is not very clear at the moment: Using this query to initiate: |
FROM | ||
( | ||
VALUES | ||
('wbtc-wrapped-bitcoin', 'wBTCN', 0xda5ddd7270381a7c2717ad10d1c0ecb19e3cdfb2, 18) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I use wbtc price feed for wBTCN?
https://cornscan.io/token/0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2?chainid=21000000
There was a problem hiding this comment.
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 🤔
There was a problem hiding this comment.
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.
FROM | ||
( | ||
VALUES | ||
('wbtc-wrapped-bitcoin', 'wBTCN', 0xda5ddd7270381a7c2717ad10d1c0ecb19e3cdfb2, 18) |
There was a problem hiding this comment.
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 🤔
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. |
Initiate corn in spellbook