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

feat: update kusama & asset_hub xcm fee config #135

Merged
merged 2 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
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
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
Loading