Skip to content

Commit

Permalink
change asset names
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaurello committed Sep 22, 2023
1 parent 196eb72 commit 97be293
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
18 changes: 9 additions & 9 deletions packages/config/src/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export const unit = new Asset({
});

export const usdc = new Asset({
key: 'usdc',
key: 'usdcwh',
originSymbol: 'USDC.Wh',
});

Expand All @@ -231,32 +231,32 @@ export const wftm = new Asset({
});

export const vbnc = new Asset({
key: 'xcvbnc',
key: 'vbnc',
originSymbol: 'vBNC',
});

export const vDOT = new Asset({
key: 'xcvdot',
export const vdot = new Asset({
key: 'vdot',
originSymbol: 'vDOT',
});

export const vfil = new Asset({
key: 'xcvfil',
key: 'vfil',
originSymbol: 'vFIL',
});

export const vglmr = new Asset({
key: 'xcvglmr',
key: 'vglmr',
originSymbol: 'vGLMR',
});

export const vksm = new Asset({
key: 'xcvksm',
key: 'vksm',
originSymbol: 'vKSM',
});

export const vmovr = new Asset({
key: 'xcvmovr',
key: 'vmovr',
originSymbol: 'vMOVR',
});

Expand Down Expand Up @@ -309,7 +309,7 @@ export const assetsList: Asset[] = [
usdc,
usdt,
vbnc,
vDOT,
vdot,
vfil,
vglmr,
vksm,
Expand Down
6 changes: 3 additions & 3 deletions packages/config/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ import {
unit,
usdc,
usdt,
vDOT,
vbnc,
vdot,
vfil,
vglmr,
vksm,
Expand Down Expand Up @@ -192,7 +192,7 @@ export const bifrostPolkadot = new Parachain({
id: { Native: bnc.originSymbol },
},
{
asset: vDOT,
asset: vdot,
id: { VToken2: 0 },
},
{
Expand Down Expand Up @@ -839,7 +839,7 @@ export const moonbeam = new EvmParachain({
id: '311091173110107856861649819128533077277',
},
{
asset: vDOT,
asset: vdot,
id: '0xFFFfffFf15e1b7E3dF971DD813Bc394deB899aBf',
metadataId: 0, // no metadata for ERC20 tokens
},
Expand Down
4 changes: 2 additions & 2 deletions packages/config/src/configs/bifrostPolkadot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
ExtrinsicBuilder,
FeeBuilder,
} from '@moonbeam-network/xcm-builder';
import { bnc, glmr, vDOT, vfil, vglmr } from '../assets';
import { bnc, glmr, vdot, vfil, vglmr } from '../assets';
import { bifrostPolkadot, moonbeam } from '../chains';
import { AssetConfig } from '../types/AssetConfig';
import { ChainConfig } from '../types/ChainConfig';
Expand Down Expand Up @@ -39,7 +39,7 @@ export const bifrostPolkadotConfig = new ChainConfig({
min: AssetMinBuilder().assetRegistry().currencyMetadatas(),
}),
new AssetConfig({
asset: vDOT,
asset: vdot,
balance: BalanceBuilder().substrate().tokens().accounts(),
destination: moonbeam,
destinationFee: {
Expand Down
6 changes: 3 additions & 3 deletions packages/config/src/configs/moonbeam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
ring,
usdc,
usdt,
vDOT,
vdot,
vfil,
vglmr,
wbtc,
Expand Down Expand Up @@ -394,13 +394,13 @@ export const moonbeamConfig = new ChainConfig({
},
}),
new AssetConfig({
asset: vDOT,
asset: vdot,
balance: BalanceBuilder().evm().erc20(),
contract: ContractBuilder().Xtokens().transfer(),
destination: bifrostPolkadot,
destinationFee: {
amount: 0.0000001,
asset: vDOT,
asset: vdot,
balance: BalanceBuilder().evm().erc20(),
},
fee: {
Expand Down

0 comments on commit 97be293

Please sign in to comment.