Skip to content

Commit 5b70169

Browse files
chore: add go account support
Ticket: WIN-8147
1 parent 71f892a commit 5b70169

File tree

2 files changed

+52
-1
lines changed

2 files changed

+52
-1
lines changed

modules/abstract-eth/src/abstractEthLikeNewCoins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3189,7 +3189,7 @@ export abstract class AbstractEthLikeNewCoins extends AbstractEthLikeCoin {
31893189
}
31903190

31913191
if (txJson.to.toLowerCase() !== baseAddress.toLowerCase()) {
3192-
throwRecipientMismatch('Consolidation transaction recipient does not match wallet base address', [
3192+
await throwRecipientMismatch('Consolidation transaction recipient does not match wallet base address', [
31933193
{ address: txJson.to, amount: txJson.value },
31943194
]);
31953195
}

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4597,6 +4597,57 @@ export const tOfcErc20Coins = [
45974597
ofcerc20('10c41a70-8bd2-4415-af52-fefe3af01132', 'ofceth:wxm', 'WeatherXM', 18, UnderlyingAsset['eth:wxm']),
45984598
ofcerc20('c574d2de-42be-488f-afc0-71e2691eb900', 'ofceth:jpyc', 'JPY Coin', 18, UnderlyingAsset['eth:jpyc']),
45994599
ofcerc20('8465f646-73f8-4818-b890-c953f4423c89', 'ofceth:ten', 'TEN', 18, UnderlyingAsset['eth:ten']),
4600+
4601+
// MON Network tokens
4602+
ofcerc20(
4603+
'1458bca6-e0d3-455e-81c7-55862dc5af52',
4604+
'ofcmon:usdc',
4605+
'USDC:MON',
4606+
6,
4607+
underlyingAssetForSymbol('mon:usdc'),
4608+
undefined,
4609+
[CoinFeature.STABLECOIN]
4610+
),
4611+
ofcerc20(
4612+
'7a8631a5-deed-43c5-92a0-13e3322429ba',
4613+
'ofcmon:wmon',
4614+
'Wrapped MON',
4615+
18,
4616+
underlyingAssetForSymbol('mon:wmon')
4617+
),
4618+
4619+
// XDC Network tokens
4620+
ofcerc20(
4621+
'517ca4d1-a2c4-4606-914f-4c4b5b4943ff',
4622+
'ofcxdc:usdc',
4623+
'USD Coin (XDC)',
4624+
6,
4625+
underlyingAssetForSymbol('xdc:usdc'),
4626+
undefined,
4627+
[CoinFeature.STABLECOIN]
4628+
),
4629+
ofcerc20(
4630+
'b4666353-81d0-491b-a554-bdd8e677be24',
4631+
'ofcxdc:lbt',
4632+
'Law Block Token',
4633+
18,
4634+
underlyingAssetForSymbol('xdc:lbt')
4635+
),
4636+
ofcerc20(
4637+
'086883c7-f7e9-458e-a0a1-ed3ec525f9c6',
4638+
'ofcxdc:gama',
4639+
'Gama Token',
4640+
18,
4641+
underlyingAssetForSymbol('xdc:gama')
4642+
),
4643+
ofcerc20('0c8b533c-1929-4de8-af36-9cf4b4409c0d', 'ofcxdc:srx', 'STORX', 18, underlyingAssetForSymbol('xdc:srx')),
4644+
ofcerc20(
4645+
'3c7ec48a-ba51-47c9-9044-f29d9c0daf35',
4646+
'ofcxdc:weth',
4647+
'Wrapped Ether (XDC)',
4648+
18,
4649+
underlyingAssetForSymbol('xdc:weth')
4650+
),
46004651
];
46014652

46024653
function underlyingAssetForSymbol(underlyingAssetValue: string): UnderlyingAsset {

0 commit comments

Comments
 (0)