Skip to content

Commit

Permalink
assethub xcm delivery fees
Browse files Browse the repository at this point in the history
  • Loading branch information
nohaapav committed Mar 14, 2024
1 parent ebd69d4 commit 5df1dbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/xcm-cfg/src/configs/assethub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import { dot, usdc, usdt } from '../assets';
import { assetHub, hydraDX } from '../chains';
import { ExtrinsicBuilderV2 } from '../builders';

const xcmDeliveryFeeAmount = 0.036;

const toHydraDX: AssetConfig[] = [
new AssetConfig({
asset: usdt,
Expand All @@ -30,6 +32,7 @@ const toHydraDX: AssetConfig[] = [
fee: {
asset: dot,
balance: BalanceBuilder().substrate().system().account(),
xcmDeliveryFeeAmount,
},
min: AssetMinBuilder().assets().asset(),
}),
Expand All @@ -49,6 +52,7 @@ const toHydraDX: AssetConfig[] = [
fee: {
asset: dot,
balance: BalanceBuilder().substrate().system().account(),
xcmDeliveryFeeAmount,
},
min: AssetMinBuilder().assets().asset(),
}),
Expand All @@ -71,6 +75,7 @@ const toPolkadot: AssetConfig[] = [
fee: {
asset: dot,
balance: BalanceBuilder().substrate().system().account(),
xcmDeliveryFeeAmount,
},
min: AssetMinBuilder().assets().asset(),
}),
Expand Down

0 comments on commit 5df1dbd

Please sign in to comment.