From becc2b4dad3e7e8796d910e648d0c17820113336 Mon Sep 17 00:00:00 2001 From: qwer951123 Date: Fri, 5 Jul 2024 21:08:11 +0800 Subject: [PATCH] fix: fix polkadot_asset_hub config --- package.json | 2 +- src/adapters/assethub.ts | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index c5cf67a..01f7fe0 100644 --- a/package.json +++ b/package.json @@ -55,5 +55,5 @@ "jest": "^28.1.1", "typescript": "^4.7.4" }, - "stableVersion": "0.1.7-8" + "stableVersion": "0.1.7-9" } diff --git a/src/adapters/assethub.ts b/src/adapters/assethub.ts index 646b8b5..1439858 100644 --- a/src/adapters/assethub.ts +++ b/src/adapters/assethub.ts @@ -25,7 +25,7 @@ export const assetHubPolkadotRouteConfigs = createRouteConfigs( to: "polkadot", token: "DOT", xcm: { - deliveryFee: { token: "KSM", amount: "309700000" }, + deliveryFee: { token: "DOT", amount: "309700000" }, fee: { token: "DOT", amount: "421500000" }, weightLimit: "Unlimited", }, @@ -34,7 +34,7 @@ export const assetHubPolkadotRouteConfigs = createRouteConfigs( to: "hydradx", token: "USDT", xcm: { - deliveryFee: { token: "KSM", amount: "311100000" }, + deliveryFee: { token: "DOT", amount: "311100000" }, fee: { token: "USDT", amount: "2200" }, weightLimit: "Unlimited", }, @@ -43,7 +43,7 @@ export const assetHubPolkadotRouteConfigs = createRouteConfigs( to: "acala", token: "USDT", xcm: { - deliveryFee: { token: "KSM", amount: "311100000" }, + deliveryFee: { token: "DOT", amount: "311100000" }, fee: { token: "USDT", amount: "808" }, weightLimit: "Unlimited", }, @@ -52,7 +52,7 @@ export const assetHubPolkadotRouteConfigs = createRouteConfigs( to: "acala", token: "USDC", xcm: { - deliveryFee: { token: "KSM", amount: "311100000" }, + deliveryFee: { token: "DOT", amount: "311100000" }, fee: { token: "USDC", amount: "803" }, weightLimit: "Unlimited", }, @@ -61,7 +61,7 @@ export const assetHubPolkadotRouteConfigs = createRouteConfigs( to: "acala", token: "PINK", xcm: { - deliveryFee: { token: "KSM", amount: "311100000" }, + deliveryFee: { token: "DOT", amount: "311100000" }, fee: { token: "PINK", amount: "80370000" }, weightLimit: "Unlimited", }, @@ -70,7 +70,7 @@ export const assetHubPolkadotRouteConfigs = createRouteConfigs( to: "astar", token: "USDT", xcm: { - deliveryFee: { token: "KSM", amount: "311100000" }, + deliveryFee: { token: "DOT", amount: "311100000" }, fee: { token: "USDT", amount: "808" }, weightLimit: "Unlimited", }, @@ -79,7 +79,7 @@ export const assetHubPolkadotRouteConfigs = createRouteConfigs( to: "interlay", token: "USDT", xcm: { - deliveryFee: { token: "KSM", amount: "311100000" }, + deliveryFee: { token: "DOT", amount: "311100000" }, fee: { token: "USDT", amount: "25000" }, weightLimit: "Unlimited", }, @@ -88,7 +88,7 @@ export const assetHubPolkadotRouteConfigs = createRouteConfigs( to: "interlay", token: "USDC", xcm: { - deliveryFee: { token: "KSM", amount: "311100000" }, + deliveryFee: { token: "DOT", amount: "311100000" }, fee: { token: "USDC", amount: "25000" }, weightLimit: "Unlimited", }, @@ -97,7 +97,7 @@ export const assetHubPolkadotRouteConfigs = createRouteConfigs( to: "moonbeam", token: "USDT", xcm: { - deliveryFee: { token: "KSM", amount: "311100000" }, + deliveryFee: { token: "DOT", amount: "311100000" }, fee: { token: "USDT", amount: "808" }, weightLimit: "Unlimited", }, @@ -106,7 +106,7 @@ export const assetHubPolkadotRouteConfigs = createRouteConfigs( to: "parallel", token: "USDT", xcm: { - deliveryFee: { token: "KSM", amount: "311100000" }, + deliveryFee: { token: "DOT", amount: "311100000" }, fee: { token: "USDT", amount: "808" }, weightLimit: "Unlimited", },