Skip to content

Commit

Permalink
add tokens to config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rihyx committed Mar 20, 2024
1 parent c6f30e1 commit 736d6ed
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion packages/config/src/configs/moonbaseBeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
BalanceBuilder,
ExtrinsicBuilder,
} from '@moonbeam-network/xcm-builder';
import { alan, betaDEV, dev } from '../assets';
import { alan, betaDEV, dev, ftmwh, usdcwh } from '../assets';
import { moonbaseAlpha, moonbaseBeta } from '../chains';
import { AssetConfig } from '../types/AssetConfig';
import { ChainConfig } from '../types/ChainConfig';
Expand Down Expand Up @@ -39,6 +39,36 @@ export const moonbaseBetaConfig = new ChainConfig({
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: usdcwh,
balance: BalanceBuilder().substrate().assets().account(),
destination: moonbaseAlpha,
destinationFee: {
amount: 0.002,
asset: dev,
balance: BalanceBuilder().substrate().system().account(),
},
extrinsic: ExtrinsicBuilder().xTokens().transferMultiCurrencies(),
fee: {
asset: betaDEV,
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: ftmwh,
balance: BalanceBuilder().substrate().assets().account(),
destination: moonbaseAlpha,
destinationFee: {
amount: 0.002,
asset: dev,
balance: BalanceBuilder().substrate().system().account(),
},
extrinsic: ExtrinsicBuilder().xTokens().transferMultiCurrencies(),
fee: {
asset: betaDEV,
balance: BalanceBuilder().substrate().system().account(),
},
}),
],
chain: moonbaseBeta,
});

0 comments on commit 736d6ed

Please sign in to comment.