Skip to content

Commit

Permalink
change usdc variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaurello committed Oct 31, 2023
1 parent 1583df5 commit 1f1e81f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions packages/config/src/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export const unit = new Asset({
originSymbol: 'Unit',
});

export const usdc = new Asset({
export const usdcwh = new Asset({
key: 'usdcwh',
originSymbol: 'USDC.Wh',
});
Expand Down Expand Up @@ -329,7 +329,7 @@ export const assetsList: Asset[] = [
tt1,
tur,
unit,
usdc,
usdcwh,
usdt,
usdtwh,
vbnc,
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 @@ -49,7 +49,7 @@ import {
tt1,
tur,
unit,
usdc,
usdcwh,
usdt,
usdtwh,
vbnc,
Expand Down Expand Up @@ -434,7 +434,7 @@ export const hydraDX = new Parachain({
id: 18,
},
{
asset: usdc,
asset: usdcwh,
id: 21,
},
{
Expand Down Expand Up @@ -860,7 +860,7 @@ export const moonbeam = new EvmParachain({
id: '125699734534028342599692732320197985871',
},
{
asset: usdc,
asset: usdcwh,
id: '0x931715FEE2d06333043d11F658C8CE934aC61D0c',
metadataId: 0, // no metadata for ERC20 tokens
},
Expand Down
4 changes: 2 additions & 2 deletions packages/config/src/configs/hydraDX.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
ExtrinsicBuilder,
FeeBuilder,
} from '@moonbeam-network/xcm-builder';
import { dai, glmr, hdx, usdc, usdtwh, wbtc, weth } from '../assets';
import { dai, glmr, hdx, usdcwh, usdtwh, wbtc, weth } from '../assets';
import { hydraDX, moonbeam } from '../chains';
import { AssetConfig } from '../types/AssetConfig';
import { ChainConfig } from '../types/ChainConfig';
Expand Down Expand Up @@ -48,7 +48,7 @@ export const hydraDxConfig = new ChainConfig({
},
}),
new AssetConfig({
asset: usdc,
asset: usdcwh,
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 {
para,
pha,
ring,
usdc,
usdcwh,
usdt,
usdtwh,
vdot,
Expand Down Expand Up @@ -409,13 +409,13 @@ export const moonbeamConfig = new ChainConfig({
},
}),
new AssetConfig({
asset: usdc,
asset: usdcwh,
balance: BalanceBuilder().evm().erc20(),
contract: ContractBuilder().Xtokens().transfer(),
destination: hydraDX,
destinationFee: {
amount: 0.004,
asset: usdc,
asset: usdcwh,
balance: BalanceBuilder().evm().erc20(),
},
fee: {
Expand Down

0 comments on commit 1f1e81f

Please sign in to comment.