Skip to content

Commit

Permalink
feat: update kusama & asset_hub xcm fee config (#135)
Browse files Browse the repository at this point in the history
* feat: update kusama & asset_hub xcm fee config

* feat: update release version
  • Loading branch information
qwer951123 committed Jul 4, 2024
1 parent b5bd996 commit c31e84d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@
"jest": "^28.1.1",
"typescript": "^4.7.4"
},
"stableVersion": "0.1.7-5"
"stableVersion": "0.1.7-6"
}
10 changes: 9 additions & 1 deletion src/adapters/assethub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,15 @@ export const assetHubKusamaRouteConfigs = createRouteConfigs("assetHubKusama", [
token: "KSM",
xcm: {
fee: { token: "KSM", amount: "90049287" },
deliveryFee: { token: "KSM", amount: "1032333300" },
weightLimit: "Unlimited",
},
},
{
to: "karura",
token: "RMRK",
xcm: {
deliveryFee: { token: "KSM", amount: "1036333296" },
fee: { token: "RMRK", amount: "9918117" },
weightLimit: "Unlimited",
},
Expand All @@ -126,19 +128,25 @@ export const assetHubKusamaRouteConfigs = createRouteConfigs("assetHubKusama", [
token: "ARIS",
xcm: {
fee: { token: "ARIS", amount: "6400000" },
deliveryFee: { token: "KSM", amount: "1036333296" },
weightLimit: "Unlimited",
},
},
{
to: "karura",
token: "USDT",
xcm: { fee: { token: "USDT", amount: "808" }, weightLimit: "Unlimited" },
xcm: {
fee: { token: "USDT", amount: "808" },
deliveryFee: { token: "KSM", amount: "1036333296" },
weightLimit: "Unlimited",
},
},
{
to: "kintsugi",
token: "USDT",
xcm: {
fee: { token: "USDT", amount: "20000" },
deliveryFee: { token: "KSM", amount: "1036333296" },
weightLimit: "Unlimited",
},
},
Expand Down
5 changes: 4 additions & 1 deletion src/adapters/polkadot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const kusamaRouteConfigs = createRouteConfigs("kusama", [
token: "KSM",
xcm: {
fee: { token: "KSM", amount: "44163610" },
deliveryFee: { token: "KSM", amount: "1336666329" },
deliveryFee: { token: "KSM", amount: "1323333009" },
weightLimit: "Unlimited",
},
},
Expand All @@ -68,6 +68,7 @@ export const kusamaRouteConfigs = createRouteConfigs("kusama", [
token: "KSM",
xcm: {
fee: { token: "KSM", amount: "72711796" },
deliveryFee: { token: "KSM", amount: "1323333009" },
weightLimit: "Unlimited",
},
},
Expand All @@ -76,6 +77,7 @@ export const kusamaRouteConfigs = createRouteConfigs("kusama", [
token: "KSM",
xcm: {
fee: { token: "KSM", amount: "34368318" },
deliveryFee: { token: "KSM", amount: "1323333009" },
weightLimit: "Unlimited",
},
},
Expand All @@ -84,6 +86,7 @@ export const kusamaRouteConfigs = createRouteConfigs("kusama", [
token: "KSM",
xcm: {
fee: { token: "KSM", amount: "250000000" },
deliveryFee: { token: "KSM", amount: "1323333009" },
weightLimit: "Unlimited",
},
},
Expand Down

0 comments on commit c31e84d

Please sign in to comment.