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

add USDC/T, WETH, WBTC to UNIT0 #12996

Closed
wants to merge 1 commit into from
Closed
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
6 changes: 6 additions & 0 deletions projects/helper/tokenMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ const fixBalancesTokens = {
water: {
'0xC807C5FfFf748eF435Ddb99b181846Edd1e70041': { coingeckoId: "water-3", decimals: 18 },
},
unit0: {
'0xEb19000D90f17FFbd3AD9CDB8915D928F4980fD1': { coingeckoId: 'usd-coin', decimals: 6 },
'0xb303d80db8415FD1d3C9FED68A52EEAc9a052671': { coingeckoId: 'tether', decimals: 6 },
Copy link
Member

Choose a reason for hiding this comment

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

how are these tokens bridged to unit0? I remember tokens bridged to waves being depegged

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

all pegged

Copy link
Member

Choose a reason for hiding this comment

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

but crosscurve is not a bridge?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is actually, crosscurve allows bridging, swapping and crosschain swapping.

Team behind is Eywa - Curve’s Official Aggregated Bridge, from: https://docs.eywa.fi/eywa-ecosystem/products/eywa-v2/consensus-bridge

Also see - CrossCurve is a cross-chain trading and yield protocol built on Curve, creating a unified cross-chain liquidity market by aggregating existing Curve pools, from: https://defillama.com/protocol/crosscurve-(by-eywa)#information

Cross-chain trading is only possible with a bridge.

Swop on UNIT0 is using these 4 assets in their AMM pools: https://defillama.com/protocol/swop#information

Copy link
Member

Choose a reason for hiding this comment

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

crosscurve allows cross chain trading, I am well aware of that. But, where are the tokens backing ETH/USDC/etc locked, in which chain & contract. I am confused because, eywa relies on Layerzero, alexar and such, but none of these bridges are acting on unit0

image

Copy link
Contributor 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.

ah, thanks for the clarification

'0x1B100DE3F13E3f8Bb2f66FE58c1949c32E71248B': { coingeckoId: 'weth', decimals: 18 },
'0x9CE808657ba90C65a2700b1cA5D943eC72834B52': { coingeckoId: 'wbtc', decimals: 8 },
},
kopi: {
'uasusdc': { coingeckoId: 'usd-coin', decimals: 6 },
'ucusdc': { coingeckoId: 'usd-coin', decimals: 6 },
Expand Down
Loading