Skip to content

Commit

Permalink
chore: comment out USDC route between interlay and hydradx for the ti…
Browse files Browse the repository at this point in the history
…me being
  • Loading branch information
bvotteler committed Feb 22, 2024
1 parent 7e1d9c0 commit 8ac98b0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
32 changes: 16 additions & 16 deletions src/adapters/hydradx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ export const hydraRoutersConfig: Omit<CrossChainRouterConfigs, "from">[] = [
weightLimit: DEST_WEIGHT,
},
},
{
to: "interlay",
token: "USDC",
// currently unknown until registered, assume similar to USDT for now
xcm: {
fee: { token: "USDC", amount: "25000" },
weightLimit: DEST_WEIGHT,
},
},
// {
// to: "interlay",
// token: "USDC",
// // currently unknown until registered, assume similar to USDT for now
// xcm: {
// fee: { token: "USDC", amount: "25000" },
// weightLimit: DEST_WEIGHT,
// },
// },
];

export const hydraTokensConfig: Record<string, ExtendedToken> = {
Expand All @@ -72,13 +72,13 @@ export const hydraTokensConfig: Record<string, ExtendedToken> = {
ed: "6164274209",
toRaw: () => 17,
},
USDC: {
name: "USDC",
symbol: "USDC",
decimals: 6,
ed: "10000",
toRaw: () => 22,
},
// USDC: {
// name: "USDC",
// symbol: "USDC",
// decimals: 6,
// ed: "10000",
// toRaw: () => 22,
// },
};

// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
Expand Down
18 changes: 9 additions & 9 deletions src/adapters/interlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ export const interlayRoutersConfig: Omit<CrossChainRouterConfigs, "from">[] = [
weightLimit: DEST_WEIGHT,
},
},
{
to: "hydra",
token: "USDC",
xcm: {
// seen on subscan: 2_732 atomic units, need a minimum of 2x as buffer
fee: { token: "USDC", amount: "10000" },
weightLimit: DEST_WEIGHT,
},
},
// {
// to: "hydra",
// token: "USDC",
// xcm: {
// // seen on subscan: 2_732 atomic units, need a minimum of 2x as buffer
// fee: { token: "USDC", amount: "10000" },
// weightLimit: DEST_WEIGHT,
// },
// },
{
to: "bifrost_polkadot",
token: "VDOT",
Expand Down

0 comments on commit 8ac98b0

Please sign in to comment.