Skip to content

Commit 713050c

Browse files
committed
feat(config): support imx and imxv2 both
Ticket: GO-1074
1 parent c08f48c commit 713050c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

modules/statics/src/coins/ofcErc20Coins.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ export const ofcErc20Coins = [
8080
ofcerc20('c9ae628a-55e2-41b8-945a-dc297badc2ac', 'ofcgtc', 'Gitcoin', 18, UnderlyingAsset.GTC),
8181
ofcerc20('35bd0f1e-ca2c-4bba-9541-7d9f5d1b0a92', 'ofchum', 'HumanScape', 18, UnderlyingAsset.HUM),
8282
ofcerc20('dfd3425a-f8c8-47f9-896c-9f2fa8dd5a7c', 'ofchxro', 'Hxro', 18, UnderlyingAsset.HXRO),
83-
ofcerc20('dd29dc35-a569-4c20-a116-e70bfaaa8619', 'ofcimx', 'Immutable X', 18, UnderlyingAsset.IMXV2),
83+
ofcerc20('dd29dc35-a569-4c20-a116-e70bfaaa8619', 'ofcimx', 'Immutable X', 18, UnderlyingAsset.IMX),
84+
ofcerc20('3b4082ef-4061-495a-95f9-c405e3cb9866', 'ofcimxv2', 'Immutable X', 18, UnderlyingAsset.IMXV2),
8485
ofcerc20('9a412bff-2dc2-43a0-bde3-bf6df401f16b', 'ofcinj', 'Injective Token', 18, UnderlyingAsset.INJV2),
8586
ofcerc20('e1997001-ae6a-4ef4-8dc5-708d06b360e9', 'ofckeep', 'Keep', 18, UnderlyingAsset.KEEP),
8687
ofcerc20('c7196c54-a262-49dd-9690-839ad1d14d9d', 'ofcknc', 'Kyber Network', 18, UnderlyingAsset.KNC2),

modules/statics/test/unit/coins.ts

+1
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
396396
ftm: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
397397
gala: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
398398
imx: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
399+
imxv2: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
399400
inj: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
400401
knc: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
401402
lrc: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },

modules/statics/test/unit/ofcCoinParity.ts

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const EXCLUDED_ASSETS = new Set<string>([
88
'erc721', // not erc20
99
'erc1155', // not erc20
1010
'nonstandard', // not erc20
11-
'imx', // replaced by a v2
1211
'inj', // replaced by a v2
1312
'knc', // replaced by a v2
1413
'tgbp', // confusion with the fiat version

0 commit comments

Comments
 (0)