Skip to content

Commit 77702c9

Browse files
committed
feat(statics): ungate coins and tokens for Germany
JIRA: COIN-6422 TICKET: COIN-6422
1 parent fcaa7e4 commit 77702c9

File tree

5 files changed

+27
-19
lines changed

5 files changed

+27
-19
lines changed

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3563,7 +3563,7 @@ export const allCoinsAndTokens = [
35633563
18,
35643564
'0x912ce59144191c1204e64559fe8253a0e49e6548',
35653565
UnderlyingAsset['arbeth:arb'],
3566-
TOKEN_FEATURES_WITH_FRANKFURT
3566+
[...TOKEN_FEATURES_WITH_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY]
35673567
),
35683568
arbethErc20(
35693569
'65668b2e-6560-4749-a965-4d03eaeffaec',

modules/statics/src/coinFeatures.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ export const SUI_FEATURES = [
366366
CoinFeature.BULK_STAKING_TRANSACTION,
367367
CoinFeature.SUPPORTS_TOKENS,
368368
CoinFeature.CUSTODY_BITGO_FRANKFURT,
369+
CoinFeature.CUSTODY_BITGO_GERMANY,
369370
CoinFeature.CUSTODY_BULK_TRANSACTION,
370371
];
371372
export const SUI_TOKEN_FEATURES = [
@@ -443,6 +444,7 @@ export const TON_FEATURES = [
443444
CoinFeature.STAKING,
444445
CoinFeature.REBUILD_ON_CUSTODY_SIGNING,
445446
CoinFeature.CUSTODY_BITGO_FRANKFURT,
447+
CoinFeature.CUSTODY_BITGO_GERMANY,
446448
CoinFeature.ALPHANUMERIC_MEMO_ID,
447449
CoinFeature.SUPPORTS_TOKENS,
448450
];
@@ -463,6 +465,7 @@ export const ARBETH_FEATURES = [
463465
CoinFeature.USES_NON_PACKED_ENCODING_FOR_TXDATA,
464466
CoinFeature.ETH_ROLLUP_CHAIN,
465467
CoinFeature.CUSTODY_BITGO_FRANKFURT,
468+
CoinFeature.CUSTODY_BITGO_GERMANY,
466469
CoinFeature.EIP1559,
467470
CoinFeature.WALLET_CONNECT_DEFI,
468471
CoinFeature.MULTISIG,

modules/statics/src/coins/erc20Coins.ts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2269,7 +2269,8 @@ export const erc20Coins = [
22692269
'Ethena',
22702270
18,
22712271
'0x57e114b691db790c35207b2e685d4a43181e6061',
2272-
UnderlyingAsset.ENA
2272+
UnderlyingAsset.ENA,
2273+
ETH_FEATURES_WITH_FRANKFURT_GERMANY
22732274
),
22742275
erc20(
22752276
'44c90df7-cdb9-4a7e-a5fa-33f3e12e42d1',
@@ -3315,7 +3316,8 @@ export const erc20Coins = [
33153316
'Immutable X',
33163317
18,
33173318
'0xf57e7e7c23978c3caec3c3548e3d615c346e79ff',
3318-
UnderlyingAsset.IMXV2
3319+
UnderlyingAsset.IMXV2,
3320+
ETH_FEATURES_WITH_FRANKFURT_GERMANY
33193321
),
33203322
erc20(
33213323
'b86f9330-7c00-4e1a-9432-ec965e3c14d4',
@@ -3374,7 +3376,7 @@ export const erc20Coins = [
33743376
18,
33753377
'0xe28b3b32b6c345a34ff64674606124dd5aceca30',
33763378
UnderlyingAsset.INJV2,
3377-
TOKEN_FEATURES_WITH_SWISS
3379+
[...TOKEN_FEATURES_WITH_SWISS, CoinFeature.CUSTODY_BITGO_GERMANY]
33783380
),
33793381
erc20(
33803382
'108a64ac-9be8-4bf9-a683-3f30d49708de',
@@ -3661,7 +3663,7 @@ export const erc20Coins = [
36613663
18,
36623664
'0x5a98fcbea516cf06857215779fd812ca3bef1b32',
36633665
UnderlyingAsset.LDO,
3664-
ETH_FEATURES_WITH_FRANKFURT
3666+
ETH_FEATURES_WITH_FRANKFURT_GERMANY
36653667
),
36663668
erc20(
36673669
'5a44ae9e-c002-46cd-af8a-7e5fc91f3492',
@@ -4453,7 +4455,7 @@ export const erc20Coins = [
44534455
18,
44544456
'0xfaba6f8e4a5e8ab82f62fe7c39859fa577269be3',
44554457
UnderlyingAsset.ONDO,
4456-
ETH_FEATURES_WITH_FRANKFURT
4458+
ETH_FEATURES_WITH_FRANKFURT_GERMANY
44574459
),
44584460
erc20(
44594461
'fa692f6a-3491-4c7a-b512-927e6fcdd3f0',
@@ -5042,7 +5044,7 @@ export const erc20Coins = [
50425044
18,
50435045
'0x4a220e6096b25eadb88358cb44068a3248254675',
50445046
UnderlyingAsset.QNT,
5045-
ETH_FEATURES_WITH_FRANKFURT
5047+
ETH_FEATURES_WITH_FRANKFURT_GERMANY
50465048
),
50475049
erc20(
50485050
'c3961c7d-6788-45d0-9630-f413ce6e0889',
@@ -11324,7 +11326,8 @@ export const erc20Coins = [
1132411326
'Morpho Token',
1132511327
18,
1132611328
'0x58d97b57bb95320f9a05dc918aef65434969c2b2',
11327-
UnderlyingAsset['eth:morpho']
11329+
UnderlyingAsset['eth:morpho'],
11330+
ETH_FEATURES_WITH_FRANKFURT_GERMANY
1132811331
),
1132911332
erc20(
1133011333
'784858c8-c97d-490b-b035-7d22b8a4afb6',

modules/statics/src/coins/solTokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1820,7 +1820,7 @@ export const solTokens = [
18201820
'DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263',
18211821
'DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263',
18221822
UnderlyingAsset['sol:bonk'],
1823-
SOL_TOKEN_FEATURES_WITH_FRANKFURT
1823+
SOL_TOKEN_FEATURES_WITH_FRANKFURT_GERMANY
18241824
),
18251825
solToken(
18261826
'7457400a-dbce-4e33-a50a-356c9a1eca3e',

modules/statics/test/unit/coins.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
4949
CoinFeature.CUSTODY_BITGO_FRANKFURT,
5050
],
5151
},
52-
arbeth: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
52+
arbeth: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
5353
'arbeth:usdcv2': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
5454
avaxc: {
5555
features: [
@@ -171,7 +171,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
171171
omni: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
172172
oxt: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
173173
poly: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
174-
qnt: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
174+
qnt: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
175175
snt: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
176176
tel: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
177177
wld: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
@@ -217,8 +217,8 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
217217
features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.BULK_TRANSACTION],
218218
},
219219
stx: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] },
220-
sui: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
221-
ton: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
220+
sui: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
221+
ton: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
222222
xlm: {
223223
features: [
224224
CoinFeature.CUSTODY_BITGO_GERMANY,
@@ -242,7 +242,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
242242
CoinFeature.CUSTODY_BITGO_FRANKFURT,
243243
],
244244
},
245-
injv2: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] },
245+
injv2: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND, CoinFeature.CUSTODY_BITGO_GERMANY] },
246246
zeta: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
247247
tzeta: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
248248
moca: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
@@ -254,12 +254,13 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
254254
boba: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
255255
dai: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
256256
ens: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
257+
ena: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
257258
floki: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
258259
gods: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
259-
ldo: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
260+
ldo: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
260261
lmwr: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
261262
mpl: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
262-
ondo: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
263+
ondo: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
263264
pepe: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
264265
trac: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
265266
truf: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
@@ -280,9 +281,10 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
280281
mnt: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
281282
pyusd: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
282283
'eth:spx': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
284+
'eth:morpho': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
283285
'eth:sky': { features: [CoinFeature.CUSTODY_BITGO_GERMANY] },
284286
'sol:pyth': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
285-
'sol:bonk': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
287+
'sol:bonk': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
286288
'sol:jup': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
287289
'sol:wif': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
288290
'sol:render': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
@@ -340,7 +342,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
340342
'xlm:AUDD-GDC7X2MXTYSAKUUGAIQ7J7RPEIM7GXSAIWFYWWH4GLNFECQVJJLB2EEU': {
341343
features: [CoinFeature.CUSTODY_BITGO_FRANKFURT],
342344
},
343-
'arbeth:arb': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
345+
'arbeth:arb': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
344346
'sol:usdc': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
345347
'xlm:USDC-GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN': {
346348
features: [CoinFeature.CUSTODY_BITGO_FRANKFURT],
@@ -381,7 +383,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
381383
ftm: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
382384
gala: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
383385
imx: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
384-
imxv2: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
386+
imxv2: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
385387
inj: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
386388
knc: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
387389
lrc: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },

0 commit comments

Comments
 (0)